188 Commits

Author SHA1 Message Date
lovasoa 5a54cf33b9 v0.4.1
docker / docker (push) Has been cancelled
Create Release / build (target/release/sqlpage, macos-latest) (push) Has been cancelled
Create Release / build (target/release/sqlpage, ubuntu-18.04) (push) Has been cancelled
Create Release / build (target/release/sqlpage.exe, windows-latest) (push) Has been cancelled
Create Release / Create Release (push) Has been cancelled
v0.4.1
2023-01-23 01:18:05 +01:00
lovasoa c056dd440c add dockerfile 2023-01-23 01:13:46 +01:00
lovasoa 3d7539848a Add the official sqlpage website as an example 2023-01-23 01:03:05 +01:00
lovasoa 60923b131f add font sizes and paragraph breaks to the text component 2023-01-23 01:02:38 +01:00
lovasoa d89f9bc740 add new template helpers 2023-01-23 01:02:01 +01:00
lovasoa ee2a7ec4dd add proper logging of migrations 2023-01-23 01:01:34 +01:00
lovasoa 79c7527466 update dependencies 2023-01-19 23:43:19 +01:00
lovasoa 1e8d49763f allow serving static files from the database
serve static files from the virtual filesystem
2023-01-19 23:42:49 +01:00
lovasoa e1c5d8048d bytes instead of strings in file-system interface
also adds a test
2023-01-19 22:36:53 +01:00
lovasoa 18968d8070 update dependencies 2023-01-19 00:14:03 +01:00
lovasoa 590f020ca4 v0.4.0
updated dependencies
2023-01-15 22:31:59 +01:00
lovasoa 3208d25e6f fix file loading from database 2023-01-15 17:21:42 +01:00
lovasoa 3c3cff4779 in-database embedded file-system for true serverless usage 2023-01-15 16:16:03 +01:00
lovasoa 800b6a1cf3 better error handling in file cache 2023-01-14 23:03:44 +01:00
lovasoa 7d139a671b Rune filesystem operations asynchronously 2023-01-14 22:51:09 +01:00
lovasoa 74a50cdc22 use a concurrent hashmap instead of an RwLock<HashMap>
this makes the code more readable, and will make it easier to implement sql files stored in the database itself
2023-01-14 21:08:49 +01:00
lovasoa 88800f615f update dependencies 2023-01-14 20:08:44 +01:00
lovasoa 709b9a0727 update dependencies 2023-01-10 20:52:54 +01:00
lovasoa 83ed35f4f6 fix clippy 2023-01-10 10:42:18 +01:00
lovasoa 228f2d35d3 default headers: add a CSP and compress responses 2023-01-10 01:08:01 +01:00
lovasoa c71cfb5124 split application creation and actual server launch 2023-01-10 00:40:21 +01:00
lovasoa 908b4cfe4c improve documentation 2023-01-09 23:59:36 +01:00
lovasoa b4ce69f764 clarify README.md 2023-01-09 22:40:05 +01:00
lovasoa b1e78b840f push to sqlpage on docker hub 2023-01-09 22:37:29 +01:00
lovasoa 1f6173af2e update dependencies 2023-01-09 22:36:15 +01:00
lovasoa bdc8ecfdec add license to Cargo.toml 2023-01-02 21:08:25 +01:00
lovasoa 21db15932a gitignore idea folder 2023-01-02 21:02:03 +01:00
lovasoa fdc0ed039b add Cargo.toml metadata 2023-01-02 21:00:16 +01:00
lovasoa ee62052019 add metadata and license to cargo toml 2023-01-02 20:56:55 +01:00
lovasoa 9b834c72e5 Update to upstream sqlparser
sqlparser has finally merged my mutable statement visitor, so we can use the official sqlparser

We don't have any git dependencies anymore
2023-01-02 20:23:59 +01:00
lovasoa 1166cddef6 Update dependencies 2022-12-04 19:11:01 +01:00
lovasoa 144328e833 downgrade apex charts
see https://github.com/apexcharts/apexcharts.js/issues/3501
2022-11-20 14:41:54 +01:00
lovasoa 821cf230d8 remove clippy and rustfmt from docker image 2022-11-20 14:24:43 +01:00
lovasoa c2e1993bf5 update documentation page to match latest changes in parameter bindings 2022-11-20 12:22:47 +01:00
lovasoa 790bcddda8 fmt 2022-11-20 12:16:31 +01:00
lovasoa 43d082daba documentation: workaround unsupported sql parser feature
See: https://github.com/sqlparser-rs/sqlparser-rs/issues/719
2022-11-20 12:16:01 +01:00
lovasoa d1f4b8c980 better static asset caching 2022-11-20 12:14:55 +01:00
lovasoa 47d78497ed more descriptive SQL syntax error messages 2022-11-20 11:18:56 +01:00
lovasoa 026e0df046 fix documentation.sql 2022-11-20 10:20:03 +01:00
lovasoa dfbaad774d better top-level error display 2022-11-20 10:15:10 +01:00
lovasoa cf78588723 update web dependencies 2022-11-20 10:05:03 +01:00
lovasoa cc9c5b1c2f make all js defer 2022-11-20 09:53:30 +01:00
lovasoa ed2d3f679c update rust dependencies 2022-11-20 09:39:57 +01:00
lovasoa da989b1006 fmt 2022-11-20 09:39:02 +01:00
lovasoa e98132a3e9 update http headers definition 2022-11-20 09:38:33 +01:00
lovasoa e0c2527b44 new feature: HTTP headers
This gives the SQL files control over the HTTP headers with which the request is served.
This also changes the convention for personalizing the page context, the global page options such as the page title can now be used as a normal component called 'shell'
2022-11-19 22:22:28 +01:00
lovasoa c634ac4e41 replace low-level tokio primitives with ones from actix web 2022-11-14 01:12:41 +01:00
lovasoa 5bd4bfe391 architecture changes to allow future dynamic headers 2022-11-14 01:00:56 +01:00
lovasoa ef48bb91d3 improve logging during page rendering 2022-11-13 15:39:55 +01:00
lovasoa cd5f40689b improve logging of statements preparation 2022-11-13 15:32:57 +01:00