567 Commits

Author SHA1 Message Date
lovasoa 8294e20dc0 update dependencies
docker / docker (push) Has been cancelled
Create Release / build (target/superoptimized/sqlpage, macos-latest) (push) Has been cancelled
Create Release / build (target/superoptimized/sqlpage, ubuntu-20.04) (push) Has been cancelled
Create Release / build (target/superoptimized/sqlpage.exe, windows-latest) (push) Has been cancelled
Create Release / build-aws (push) Has been cancelled
Create Release / Create Release (push) Has been cancelled
v0.10.2
2023-09-04 00:06:51 +02:00
lovasoa 09f90e4903 fix hosted page 2023-09-01 10:27:06 +02:00
lovasoa ced8610931 update tutorial 2023-09-01 01:30:00 +02:00
lovasoa e819872db2 update dependencies 2023-09-01 00:40:21 +02:00
lovasoa 7231347676 edit descriptions in the postgis example 2023-09-01 00:37:36 +02:00
lovasoa a39b9520b6 use insecure cookies in the authentication example
closes https://github.com/lovasoa/SQLpage/issues/79
2023-09-01 00:36:58 +02:00
lovasoa b0cd496593 fix error in cookie documentation
see https://github.com/lovasoa/SQLpage/issues/79
2023-09-01 00:36:15 +02:00
lovasoa 17fabec526 fix html nesting error in map component 2023-08-28 22:08:31 +02:00
lovasoa 46f1abd3f9 add basic map example 2023-08-28 22:03:38 +02:00
lovasoa 55cbe6e771 add postgis example 2023-08-28 21:59:02 +02:00
lovasoa 62bd001e93 add integration test, and expose more as library
docker / docker (push) Has been cancelled
Create Release / build (target/superoptimized/sqlpage, macos-latest) (push) Has been cancelled
Create Release / build (target/superoptimized/sqlpage, ubuntu-20.04) (push) Has been cancelled
Create Release / build (target/superoptimized/sqlpage.exe, windows-latest) (push) Has been cancelled
Create Release / build-aws (push) Has been cancelled
Create Release / Create Release (push) Has been cancelled
v0.10.1
2023-08-27 21:56:59 +02:00
Ophir LOJKINE b409e08509 Merge pull request #72 from edgrip/main
Fix ErrorWithStatus bubbling
2023-08-27 13:37:57 +02:00
Emmanuel DESGRIPPES e100ff014a fmt 2023-08-27 13:14:40 +02:00
Emmanuel DESGRIPPES 43f5758846 Fix ErrorWithStatus bubbling
Since 0.10.0 ErrorWithStatus show as html error rendering.
This leads to breaking Basic Auth mechanism for instance.
The fix considers every ErrorWithStatus must not show details as html.
2023-08-27 11:32:32 +02:00
Ophir LOJKINE 7912bfbf62 Merge pull request #71 from maaxleq/main
Fix broken search in shell template
2023-08-23 12:28:07 +02:00
Maxence Lequeux e5d9ac1472 Fix broken search in shell template
The shell template was using a "target" attribute on the search <form> element, instead of an "action" attribute
2023-08-23 11:58:45 +02:00
lovasoa 5fc00bda0c fix table sorting 2023-08-23 02:19:09 +02:00
lovasoa a6334ab9dd fix https://github.com/lovasoa/SQLpage/issues/67 2023-08-23 02:18:59 +02:00
lovasoa 4aa029e82e blog post update 2023-08-23 00:23:11 +02:00
lovasoa 404d93971d dependencies update 2023-08-22 23:51:19 +02:00
lovasoa 295eb81220 update dashmap 2023-08-22 23:50:08 +02:00
lovasoa 88a96cf697 in the debug component, display top-level pareameters as well as row-level ones.
This also fixes a surprising behavior when starting a file without a component selection.
2023-08-22 23:47:44 +02:00
lovasoa 93283529f2 update sql parser
fixes #31 (cannot use CURRENT_TIMESTAMP in sqlite)
fixes transaction handling on databases with a "BEGIN TRANSACTION" syntax (instead of START TRANSACTION) such as SQLite

See https://github.com/sqlparser-rs/sqlparser-rs/blob/main/CHANGELOG.md#0370-2023-08-22
2023-08-22 23:43:34 +02:00
Ophir LOJKINE d82d83b436 Merge pull request #68 from lovasoa/dependabot/cargo/rustls-webpki-0.101.4
Bump rustls-webpki from 0.101.3 to 0.101.4
2023-08-22 22:26:59 +02:00
dependabot[bot] d1a607f23d Bump rustls-webpki from 0.101.3 to 0.101.4
Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.101.3 to 0.101.4.
- [Release notes](https://github.com/rustls/webpki/releases)
- [Commits](https://github.com/rustls/webpki/compare/v/0.101.3...v/0.101.4)

---
updated-dependencies:
- dependency-name: rustls-webpki
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-22 18:12:00 +00:00
lovasoa c0fe40a0e9 tests 2023-08-21 08:52:51 +02:00
lovasoa 8cb743df15 changelog
Create Release / build (target/superoptimized/sqlpage, macos-latest) (push) Has been cancelled
docker / docker (push) Has been cancelled
Create Release / build (target/superoptimized/sqlpage, ubuntu-20.04) (push) Has been cancelled
Create Release / build (target/superoptimized/sqlpage.exe, windows-latest) (push) Has been cancelled
Create Release / build-aws (push) Has been cancelled
Create Release / Create Release (push) Has been cancelled
v0.10.0
2023-08-20 23:50:19 +02:00
lovasoa a61e590a29 new config option: database_connection_acquire_timeout_seconds 2023-08-20 23:48:38 +02:00
lovasoa 729bf58b5b Add the ability to prefix env var name with SQLPAGE_
Fixes #44
2023-08-20 23:37:56 +02:00
lovasoa fdaaf4bf4b changelog 2023-08-20 23:25:28 +02:00
lovasoa cf61cce9dc add the ability to retry database connections when they fail 2023-08-20 23:23:33 +02:00
lovasoa edb987eaaf v0.10.0 2023-08-20 22:57:16 +02:00
lovasoa 6263f8498a fix handling of "not found" errors
HTTP 500 were returned instead of HTTP 404
2023-08-20 22:52:11 +02:00
lovasoa 02261f492d improve top-level error handling 2023-08-20 22:47:12 +02:00
lovasoa 5e95a31f01 display data with the "debug" component by default 2023-08-20 14:47:10 +02:00
lovasoa fa5aef6549 avoid instanciating the default component when not needed 2023-08-20 14:40:18 +02:00
lovasoa 9d4c8c1a8d changelog 2023-08-20 13:38:34 +02:00
lovasoa 95ba9f0651 create a single in-memory sqlite db connection by default 2023-08-20 13:35:45 +02:00
lovasoa 0328665766 $parameter handling in sqlite 2023-08-20 12:49:51 +02:00
lovasoa 9827addfb0 update dependencies 2023-08-20 12:08:58 +02:00
lovasoa 10b127f731 add a test for #64 2023-08-20 09:56:36 +02:00
lovasoa 901e97f472 add new db-specific dialect change to changelog 2023-08-20 09:27:36 +02:00
lovasoa 0a4fe93d10 parse sql files in the dialect of the current database 2023-08-20 09:23:45 +02:00
lovasoa f2064aea54 Fix invisible scrollbars
Fixes https://github.com/lovasoa/SQLpage/discussions/17
2023-08-19 11:23:59 +02:00
lovasoa c442f3a018 compile with older rust 2023-08-19 09:42:54 +02:00
lovasoa 6be67e4bcf Added the ability to download chart data as SVG, PNG, and **CSV**
Closes https://github.com/lovasoa/SQLpage/issues/65
2023-08-19 09:37:28 +02:00
lovasoa 7823533c86 Add a dark theme !
Closes https://github.com/lovasoa/SQLpage/issues/50
2023-08-19 09:25:22 +02:00
lovasoa ed46576456 changelog 2023-08-19 08:54:37 +02:00
lovasoa d2030072a7 fix error not being displayed when loading index.sql failed 2023-08-19 00:50:46 +02:00
lovasoa 463b5595c4 Update the map example to use the new map component 2023-08-16 22:21:01 +02:00