499 Commits

Author SHA1 Message Date
lovasoa 2c461fb08a improve page load speed
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
split the charts javascript code from the rest of the frontend code,
and load it only when necessary.

This greatly diminishes the amount of js loaded by default, and achieves very good performance scores by default.
v0.9.3
2023-08-03 12:24:22 +02:00
lovasoa e999079aa4 swicth to a forked list.js with bug fixes
Fixes https://github.com/lovasoa/SQLpage/issues/46
2023-08-03 03:00:15 +02:00
lovasoa ba10247a64 fix searching in tables that are not sorted 2023-08-02 20:17:51 +02:00
lovasoa 009d9bde12 fix broken link on getting started page 2023-08-02 17:38:01 +02:00
lovasoa 71af44eae3 cache the "get started" tutorial 2023-08-02 17:28:10 +02:00
lovasoa 0a6dbf8b92 clippy fixes 2023-08-02 17:09:46 +02:00
lovasoa 695dc6d548 fmt 2023-08-02 17:07:54 +02:00
lovasoa 92aa89746b improve sqlpage binary size by compressing assets 2023-08-02 17:07:41 +02:00
lovasoa 7b66c90ceb fix icons in tables 2023-08-02 16:46:58 +02:00
lovasoa 03b0885ca5 inline svg icons in the SQLPage binary
icons are now loaded directly from the sqlpage binary instead of loading them from a CDN

This makes it possible to host a SQLPage website on an intranet without access to the internet.

Fixes https://github.com/lovasoa/SQLpage/issues/37
2023-08-02 16:20:11 +02:00
lovasoa 3126410a2f update build.rs 2023-08-02 13:08:12 +02:00
lovasoa d273ec304a switch to awc to download build deps 2023-08-02 12:55:39 +02:00
lovasoa d775a6f77b 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.9.2
2023-08-01 13:02:51 +02:00
lovasoa 5469b429d4 clippy 2023-08-01 12:58:22 +02:00
lovasoa ccac77c1e1 fmt 2023-08-01 12:52:00 +02:00
lovasoa e4252f552f add support for displaying date time and datetime objects natively
Before, one used to have to cast them to text on the database,
which wasn't practical for use with the table component, for instance.

Fixes #41
2023-08-01 12:51:32 +02:00
lovasoa 6a79f9fdbe fmt 2023-08-01 01:16:23 +02:00
lovasoa 1b8ecc2460 v0.9.1: mssql fixes
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.9.1
2023-08-01 01:07:30 +02:00
lovasoa 3b5c4be081 fix link to hosted.sql 2023-07-31 11:47:21 +02:00
lovasoa 8536f0cd9a remove ambiguity in changelog 2023-07-30 23:53:43 +02:00
lovasoa 28184fa726 fix some cross-database compatibility issues
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.9.0
2023-07-30 23:24:53 +02:00
lovasoa 49f997d7e1 mssql: fix infinite recursion in parameter replacement, add tests, remove some duplication 2023-07-30 22:52:51 +02:00
lovasoa 7c04f4c70a remove recursive query from default index 2023-07-30 13:07:01 +02:00
lovasoa f76c9dd071 fix param binding for mssql 2023-07-30 13:06:23 +02:00
lovasoa f7c584e6b8 fix docker compose for mssql 2023-07-30 12:42:04 +02:00
lovasoa 203c51f7c1 update docker compose 2023-07-30 12:00:14 +02:00
lovasoa 64dcb3d3c2 fix mssql setup 2023-07-30 12:00:04 +02:00
lovasoa 04db4e00ed Add support for ms sql server in docker-compose 2023-07-30 11:49:41 +02:00
lovasoa d69ec081bc add experimental support for Microsoft SQL Server 2023-07-30 10:32:22 +02:00
lovasoa a39f9d0773 add an example for forms with a variable number of fields
See https://github.com/lovasoa/SQLpage/discussions/38
2023-07-29 02:00:23 +02:00
lovasoa 9c781dc593 update sqlx 2023-07-27 14:16:35 +02:00
lovasoa cfb2c75024 better cargo caching on ci 2023-07-27 13:15:53 +02:00
lovasoa a9b41ad5f7 avoid folder redirects for .SQL files (in capital letters) 2023-07-26 22:58:19 +02:00
lovasoa 18cdb6326b fix infinite error stream issue
It was possible for an SQL error to trigger an infinite loop where SQLPage would stream error messages to the browsers forever
2023-07-26 18:32:04 +02:00
lovasoa dea7485bc5 update changelog 2023-07-26 18:30:45 +02:00
lovasoa cbe9b2308a update sqlx 2023-07-26 18:03:17 +02:00
lovasoa d6e538e343 Redirect index pages without a trailing slash to the same page with the trailing slash. 2023-07-25 17:48:35 +02:00
Ophir LOJKINE 250c0bf18f Merge pull request #36 from llagerlof/main
Fix broken link to Master-Detail Form example
2023-07-25 17:45:39 +03:00
lovasoa 2ca311d18a avoid taking a db connection fromthe pool before it is necessary 2023-07-25 16:21:13 +02:00
lovasoa c5f9c91058 avoid database roundtrips for simple static select statements 2023-07-25 15:48:20 +02:00
Lawrence Lagerlof d8a0a1f6af Fix broken link to Master-Detail Form example 2023-07-25 10:05:15 -03:00
lovasoa 1d4b2b32bb update dependencies 2023-07-25 13:15:22 +02:00
lovasoa 14898042b6 fix link 2023-07-23 00:15:12 +02:00
lovasoa 3b6e9197fd push the right commit 2023-07-23 00:12:39 +02:00
lovasoa 71bcc32fd5 list files 2023-07-23 00:03:08 +02:00
lovasoa 50b1252e84 prevent concurrency 2023-07-23 00:01:24 +02:00
lovasoa 37a7115b52 add all files 2023-07-22 23:53:14 +02:00
lovasoa 5971c43a21 main branch 2023-07-22 23:51:41 +02:00
lovasoa 93e3e509b8 ip change 2023-07-22 23:48:20 +02:00
lovasoa 589dcab2a3 add ssh host key 2023-07-22 23:31:56 +02:00