-
-
Notifications
You must be signed in to change notification settings - Fork 159
Comparing changes
Open a pull request
base repository: sqlpage/SQLPage
base: main
head repository: antler5/SQLPage
compare: main
- 8 commits
- 8 files changed
- 1 contributor
Commits on Apr 5, 2025
-
app_config.rs: Add config option
extra-web-roots* configuration.md: Add config option `extra-web-roots` * src/app_config.rs: Add config option `extra-web-roots`
Configuration menu - View commit details
-
Copy full SHA for 82cde66 - Browse repository at this point
Copy the full SHA 82cde66View commit details -
filesystem: Initialize
extra_web_rootfilesystems* src/filesystem.rs: Make FS database optional (primary web-root only). * src/lib.rs: Initialize extra filesystems into `AppState.extra_file_systems`.
Configuration menu - View commit details
-
Copy full SHA for 9c5cbd9 - Browse repository at this point
Copy the full SHA 9c5cbd9View commit details -
filesystem: Load from fs-local-root instead of config-dir
* src/filesystem.rs: Load from fs-local-root instead of config-dir
Configuration menu - View commit details
-
Copy full SHA for 14bfa5f - Browse repository at this point
Copy the full SHA 14bfa5fView commit details -
file_cache: Load templates from any web-root/filesystem
I think the ideally we'd check modification time first, check that the first valid file matches the _source filesystem_ of the cache entry (which we'd have to store), otherwise load the higher priority file, and have a config option for whether or not to fall-through to a lower priority filesystem if the highest-priority non-missing modification time (or the file backing it) errors on-read. Tests would also be great. But since this meets my needs for the time being, and (IIUC) matches the functionality of existing filesystem -> database -> cache layers, I'll have to put a pin in it for now. * src/file_cache.rs: Load templates from any web-root/filesystem
Configuration menu - View commit details
-
Copy full SHA for 22476c9 - Browse repository at this point
Copy the full SHA 22476c9View commit details -
Routing/FS: Move
extra_web_rootlogic into primary filesystemThis is in response to the development of `http_routing`, which otherwise checked the cache and primary FS and would 404. Covering `modified_since` means the file_cache semantics are probably better like this anyway. * src/file_cache.rs: Remove `extra_web_root` logic. * src/filesystem.rs(file_exists): Add `extra_web_root` logic. * src/filesystem.rs(read_file): Add `extra_web_root` logic. * src/filesystem.rs(modified_since): Add `extra_web_root` logic.
Configuration menu - View commit details
-
Copy full SHA for 7af6e4f - Browse repository at this point
Copy the full SHA 7af6e4fView commit details -
Add
extra-migration-directories* configuration.md: Add `extra-migration-directories` * src/app_config.rs: Add `extra-migration-directories` * src/webserver/database/migrations.rs: Add `extra-migration-directories`
Configuration menu - View commit details
-
Copy full SHA for 25a114b - Browse repository at this point
Copy the full SHA 25a114bView commit details -
csp: Add
extra_csp_termsconfig optionI want to append `unsafe-eval`, but don't want to lose the non-static nonce by setting CPS to a static header. * src/app_config.rs: Add `extra_csp_terms` config option * src/render.rs: Append `extra_csp_terms` to default CSP header * src/webserver/http.rs: `extra_csp_terms` to configured CSP header
Configuration menu - View commit details
-
Copy full SHA for 9f31f2a - Browse repository at this point
Copy the full SHA 9f31f2aView commit details -
Check for
.hbswhen.handlebarsdoes not exist* src/templates.rs: Check for `.hbs` when `.handlebars` does not exist.
Configuration menu - View commit details
-
Copy full SHA for 222413e - Browse repository at this point
Copy the full SHA 222413eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main