132 Commits

Author SHA1 Message Date
lovasoa 34cf367bda update dependencies
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.1.0
2022-09-26 23:06:19 +02:00
lovasoa 2470cae412 Remove now unnecessary files from docker image 2022-09-25 00:30:15 +02:00
lovasoa dbf1065170 Fix delayed rendering and add a test for it 2022-09-24 23:23:00 +02:00
lovasoa 4da05d68ae Fix access to top-level variables 2022-09-24 23:03:54 +02:00
lovasoa 667ba0bae9 fmt 2022-09-24 21:41:00 +02:00
lovasoa 32f796266f remove unsafe and use new handlebars features instead 2022-09-24 21:40:34 +02:00
lovasoa 2d312a9bc9 correct db file name in README.md 2022-09-17 11:33:57 +04:00
lovasoa f72b0bc07b Embed template files in the executable in order to be able to distribute a single binary 2022-09-17 11:29:08 +04:00
lovasoa 48e7daa0c6 fmt 2022-09-14 13:00:16 +04:00
lovasoa ebc4861cfa Re-integrate external js as static file 2022-09-14 12:58:41 +04:00
lovasoa eaf7e02c22 Flix tests 2022-09-14 12:01:05 +04:00
lovasoa 7ba2004266 Temporary solution for dynamic template loading 2022-09-14 00:46:33 +04:00
lovasoa 4563d05afb implement AsyncFromStrWithState for SplitTemplate 2022-09-12 02:29:15 +04:00
lovasoa b30701d463 Make the file cache generic 2022-09-12 02:01:39 +04:00
lovasoa ca967f1ffd start moving the template-loading logic to the templates module 2022-09-12 00:37:44 +04:00
lovasoa b4523a4e8e Rework sql statement preparation for better error handling
sql syntax errors are handled much better now
2022-09-09 03:47:31 +04:00
lovasoa 1f18949049 Improve demo example 2022-09-09 01:29:28 +04:00
lovasoa f03f34f5cd format 2022-09-09 01:28:20 +04:00
lovasoa bfa20fc3a9 finalize sql parsed statement cache 2022-09-08 01:50:32 +02:00
lovasoa 0c3efffbd1 Re-add missing files 2022-09-07 22:09:02 +02:00
lovasoa 3d3e478af3 format 2022-09-07 22:08:44 +02:00
lovasoa 43f6156ee3 Refactor http server for easier sql caching integration 2022-09-07 22:08:30 +02:00
lovasoa 474f2db5c3 Improve parameter handling 2022-09-06 18:26:03 +02:00
lovasoa cd89ef4b35 format 2022-09-06 14:45:43 +02:00
lovasoa fa672de897 wiser DATABASE_URL defaults 2022-09-06 14:44:50 +02:00
lovasoa 8af80cda43 Fix tests and formatting 2022-09-05 23:30:18 +02:00
lovasoa 80faa0f2ce Add the syntax :xxx to extract an HTTP POST variable named xxx 2022-09-05 23:27:21 +02:00
lovasoa c245dca0df Adapt example index.sql to latest changes 2022-09-05 23:10:26 +02:00
lovasoa 6ffaced6b0 Improve sql parser 2022-09-05 23:09:45 +02:00
lovasoa 425f343179 Improve error handling and cross-database compatibility 2022-09-05 23:09:15 +02:00
lovasoa bb500efaab Improve error component 2022-09-05 23:07:55 +02:00
lovasoa a05384c0ba fix warnings 2022-09-05 08:26:33 +02:00
lovasoa 872404de8a start new parameter extraction syntax implementation 2022-09-04 23:21:28 +02:00
lovasoa 1363cf0887 Add support for building docker image faster without running integrity checks 2022-09-03 14:36:16 +02:00
lovasoa a98b868a35 add support for testing with mysql in docker-compose.yml 2022-09-03 14:35:42 +02:00
lovasoa f6cc668e3f format 2022-09-03 13:55:36 +02:00
lovasoa bbdbf637c5 Improve error handling 2022-09-03 13:49:19 +02:00
lovasoa d1a932fb90 Add support for postgres
The current implementation is quite inefficient.
Parse the SQL on the rust side
Prepare statements and execute them one by one.
2022-09-02 23:58:30 +02:00
lovasoa dc93cb4d1d create a docker compose 2022-09-01 22:55:15 +02:00
lovasoa 37faeeaced fix sql syntax in README.md 2022-09-01 22:31:44 +02:00
lovasoa 59b64c3bba add missing image to readme 2022-09-01 22:28:45 +02:00
lovasoa 8639d609b4 add missing files to lambda dockerfile 2022-09-01 22:28:00 +02:00
lovasoa 4eb63c827e remove french from example 2022-09-01 22:27:38 +02:00
lovasoa 0629092330 Add a separate dockerfile for AWS lambda serverless deployments 2022-09-01 20:40:13 +02:00
lovasoa 28a7657fd7 Improve README 2022-09-01 20:39:39 +02:00
lovasoa 2df11f5cf3 Add index.sql to docker image 2022-09-01 20:31:21 +02:00
lovasoa 0a0ef64312 Remove lambda from main docker image 2022-09-01 20:16:39 +02:00
lovasoa 8aea7e2da0 Better separation of database logic
Allow the use of a PORT env variable
2022-09-01 19:32:55 +02:00
lovasoa 3ac056d447 fix dockerfile 2022-09-01 18:50:29 +02:00
lovasoa 43a13a2e72 Add lambda serverless compile target 2022-08-31 23:55:12 +02:00