Compare commits
2 Commits
fefedef338
...
7e88da3d31
Author | SHA1 | Date | |
---|---|---|---|
7e88da3d31 | |||
01205d6a1f |
@ -68,6 +68,7 @@ on my local git server until I deleted it when I was done with 6.0. This website
|
|||||||
|
|
||||||
- **v4.0 (2023 november - 2024 october)**: In this version the frontend was still similar to 3.0, the big changes are in
|
- **v4.0 (2023 november - 2024 october)**: In this version the frontend was still similar to 3.0, the big changes are in
|
||||||
the API. I rewrote the API with Fiber. This version was the first version hosted on `ngn.tf` which is my new domain name.
|
the API. I rewrote the API with Fiber. This version was the first version hosted on `ngn.tf` which is my new domain name.
|
||||||
|
Here is a [picture of the index](assets/4.0_index.png) and the [blog page](assets/4.0_blog.png).
|
||||||
|
|
||||||
- **v5.0 (2024 october - 2025 january)**: This version just had simple frontend UI changes compared to 4.0, at this
|
- **v5.0 (2024 october - 2025 january)**: This version just had simple frontend UI changes compared to 4.0, at this
|
||||||
point I was thinking about doing a massive rework (which I did with 6.0), however I was working on some other shit at
|
point I was thinking about doing a massive rework (which I did with 6.0), however I was working on some other shit at
|
||||||
@ -81,6 +82,6 @@ and Turkish, which was something I wanted to do for the longest time ever.
|
|||||||
|
|
||||||
Damn it has been 4 years since I wrote that shit HTML page huh? Time flies...
|
Damn it has been 4 years since I wrote that shit HTML page huh? Time flies...
|
||||||
|
|
||||||
## Screenshots (from v4.0)
|
## Screenshots (from v6.0)
|
||||||

|

|
||||||

|

|
||||||
|
@ -218,6 +218,7 @@ class AdminScript:
|
|||||||
"logs": self.get_logs,
|
"logs": self.get_logs,
|
||||||
}
|
}
|
||||||
self.api_url_env = "API_URL"
|
self.api_url_env = "API_URL"
|
||||||
|
self.password_env = "API_PASSWORD"
|
||||||
|
|
||||||
def __format_time(self, ts: int) -> str:
|
def __format_time(self, ts: int) -> str:
|
||||||
return datetime.fromtimestamp(ts, UTC).strftime("%H:%M:%S %d/%m/%Y")
|
return datetime.fromtimestamp(ts, UTC).strftime("%H:%M:%S %d/%m/%Y")
|
||||||
@ -264,7 +265,10 @@ class AdminScript:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
password = self.log.password("Please enter the admin password")
|
password = getenv(self.password_env)
|
||||||
|
if password is None:
|
||||||
|
password = self.log.password("Please enter the admin password")
|
||||||
|
|
||||||
self.api = AdminAPI(url, password)
|
self.api = AdminAPI(url, password)
|
||||||
|
|
||||||
if len(argv) == 2:
|
if len(argv) == 2:
|
||||||
|
26
app/package-lock.json
generated
26
app/package-lock.json
generated
@ -8,7 +8,6 @@
|
|||||||
"name": "website",
|
"name": "website",
|
||||||
"version": "6.0",
|
"version": "6.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/dompurify": "^3.2.0",
|
|
||||||
"dompurify": "^3.2.3",
|
"dompurify": "^3.2.3",
|
||||||
"marked": "^15.0.6",
|
"marked": "^15.0.6",
|
||||||
"svelte-i18n": "^4.0.1"
|
"svelte-i18n": "^4.0.1"
|
||||||
@ -936,15 +935,6 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@types/dompurify": {
|
|
||||||
"version": "3.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/dompurify/-/dompurify-3.2.0.tgz",
|
|
||||||
"integrity": "sha512-Fgg31wv9QbLDA0SpTOXO3MaxySc4DKGLi8sna4/Utjo4r3ZRPdCt4UQee8BWr+Q5z21yifghREPJGYaEOEIACg==",
|
|
||||||
"deprecated": "This is a stub types definition. dompurify provides its own type definitions, so you do not need this installed.",
|
|
||||||
"dependencies": {
|
|
||||||
"dompurify": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@types/estree": {
|
"node_modules/@types/estree": {
|
||||||
"version": "1.0.5",
|
"version": "1.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
|
||||||
@ -1209,9 +1199,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/esrap": {
|
"node_modules/esrap": {
|
||||||
"version": "1.3.2",
|
"version": "1.4.3",
|
||||||
"resolved": "https://registry.npmjs.org/esrap/-/esrap-1.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/esrap/-/esrap-1.4.3.tgz",
|
||||||
"integrity": "sha512-C4PXusxYhFT98GjLSmb20k9PREuUdporer50dhzGuJu9IJXktbMddVCMLAERl5dAHyAi73GWWCE4FVHGP1794g==",
|
"integrity": "sha512-Xddc1RsoFJ4z9nR7W7BFaEPIp4UXoeQ0+077UdWLxbafMQFyU79sQJMk7kxNgRwQ9/aVgaKacCHC2pUACGwmYw==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@jridgewell/sourcemap-codec": "^1.4.15"
|
"@jridgewell/sourcemap-codec": "^1.4.15"
|
||||||
}
|
}
|
||||||
@ -1665,9 +1656,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/svelte": {
|
"node_modules/svelte": {
|
||||||
"version": "5.16.0",
|
"version": "5.19.0",
|
||||||
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.16.0.tgz",
|
"resolved": "https://registry.npmjs.org/svelte/-/svelte-5.19.0.tgz",
|
||||||
"integrity": "sha512-Ygqsiac6UogVED2ruKclU+pOeMThxWtp9LG+li7BXeDKC2paVIsRTMkNmcON4Zejerd1s5sZHWx6ZtU85xklVg==",
|
"integrity": "sha512-qvd2GvvYnJxS/MteQKFSMyq8cQrAAut28QZ39ySv9k3ggmhw4Au4Rfcsqva74i0xMys//OhbhVCNfXPrDzL/Bg==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ampproject/remapping": "^2.3.0",
|
"@ampproject/remapping": "^2.3.0",
|
||||||
"@jridgewell/sourcemap-codec": "^1.5.0",
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
||||||
@ -1678,7 +1670,7 @@
|
|||||||
"axobject-query": "^4.1.0",
|
"axobject-query": "^4.1.0",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"esm-env": "^1.2.1",
|
"esm-env": "^1.2.1",
|
||||||
"esrap": "^1.3.2",
|
"esrap": "^1.4.3",
|
||||||
"is-reference": "^3.0.3",
|
"is-reference": "^3.0.3",
|
||||||
"locate-character": "^3.0.0",
|
"locate-character": "^3.0.0",
|
||||||
"magic-string": "^0.30.11",
|
"magic-string": "^0.30.11",
|
||||||
|
BIN
assets/6.0_index.png
Normal file
BIN
assets/6.0_index.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 156 KiB |
BIN
assets/6.0_services.png
Normal file
BIN
assets/6.0_services.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 111 KiB |
Loading…
x
Reference in New Issue
Block a user