-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Rewrite using askama and htmx (#179)
Combine workspace into a single project and use a combination of askama, htmx and hyperfine to render the webpage. Drop sycamore and the whole web assembly bit. I believe this will simplify the project and make it easier to maintain and add features.
- Loading branch information
1 parent
f649d25
commit c8aa488
Showing
100 changed files
with
2,135 additions
and
2,962 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
[advisories] | ||
ignore = [ | ||
"RUSTSEC-2024-0003", # Resource exhaustion vulnerability in h2 may lead to Denial of Service | ||
"RUSTSEC-2023-0074", # zerocopy: Some Ref methods are unsound with some type parameters | ||
"RUSTSEC-2023-0071", # Marvin Attack: potential key recovery through timing sidechannels | ||
"RUSTSEC-2023-0061", # libwebp: OOB write in BuildHuffmanTable | ||
"RUSTSEC-2020-0071", # Potential segfault in the time crate | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# Ignore everything | ||
* | ||
|
||
# Except these | ||
!docker | ||
!release | ||
!release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
# direnv will read this file | ||
#!/usr/bin/env bash | ||
|
||
export RUST_LOG=warning,spis_server=info | ||
export RUST_LOG=warning,spis=info | ||
|
||
export NGINX_PORT=8080 | ||
|
||
export DATABASE_URL=sqlite:data/spis.db | ||
|
||
export SPIS_MEDIA_DIR=${PWD}/data/media | ||
export SPIS_DATA_DIR=${PWD}/data | ||
|
||
export SPIS_PROCESSING_RUN_ON_START=true | ||
export SPIS_PROCESSING_SCHEDULE="0 0 2 * * *" | ||
|
||
export SPIS_API_MEDIA_PATH=/assets/media | ||
export SPIS_API_THUMBNAIL_PATH=/assets/thumbnails | ||
export SPIS_SERVER_SOCKET=/tmp/spis.sock | ||
|
||
export SPIS_FEATURE_FAVORITE="true" | ||
export SPIS_FEATURE_ARCHIVE="true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
.vscode | ||
dev/api | ||
dist | ||
release | ||
data | ||
target | ||
|
||
cobertura.xml | ||
release |
Oops, something went wrong.