lovasoa
e75fc22d7f
fix tests on mssql
...
CI / compile_and_lint (push) Has been cancelled
CI / test (mssql) (push) Has been cancelled
CI / test (mysql) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / windows_test (push) Has been cancelled
CI / docker_build (linux/amd64) (push) Has been cancelled
CI / docker_build (linux/arm/v7) (push) Has been cancelled
CI / docker_build (linux/arm64) (push) Has been cancelled
CI / docker_push (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage, macos-latest) (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage, ubuntu-20.04) (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage.exe, windows-latest) (push) Has been cancelled
Create Release / Build AWS Lambda Serverless zip image (push) Has been cancelled
Create Release / Create Github Release (push) Has been cancelled
Create Release / Publish to crates.io (push) Has been cancelled
no json_extract
v0.33.1
2025-02-24 22:22:03 +01:00
lovasoa
f3be3854b6
update CHANGELOG
2025-02-24 22:18:26 +01:00
lovasoa
6785ab9c0a
fail silently when fetching version is impossible
2025-02-24 22:16:26 +01:00
lovasoa
433162a9f2
error handling
2025-02-24 22:11:45 +01:00
Kuro
e766a7fb14
Insert the newest sqlpage version ( #826 )
...
Co-authored-by: Kuro <kuro@kurokitsune.de >
2025-02-24 22:10:41 +01:00
Ophir LOJKINE
5fd1c83df1
new function: fetch_with_meta ( #827 )
...
* new function: fetch_with_meta
closes https://github.com/sqlpage/SQLPage/issues/792
* fmt
* clippy auto
* test fetch_with_meta
* fix tests
* update deps
* retry failed deps downloads
* better json serializing
* test fetch_with_meta error handling
* add logging
* fix tests
closes #792
2025-02-24 22:01:30 +01:00
lovasoa
b11136a591
update dependencies
...
fixes https://github.com/sqlpage/SQLPage/issues/797
2025-02-22 14:47:20 +01:00
lovasoa
a10a77794d
fix navbar muted color
...
fixes https://github.com/sqlpage/SQLPage/issues/822
2025-02-22 14:36:29 +01:00
Ophir LOJKINE
668a87764f
fix parameter binding order ( #825 )
...
* use numbered parameters in sqlite
* implement parameter deduplication
* implement parameter re-duplication for mysql
* Improve error messages on invalid sqlpage function calls. The messages now contain actionable advice.
* simplify extract_set_variable
2025-02-22 14:13:45 +01:00
lovasoa
0041cb0171
update deps
2025-02-20 13:32:27 +01:00
lovasoa
c57a96d87d
document disabling recursion
2025-02-19 09:48:18 +01:00
lovasoa
c677023e6a
center table descriptions
2025-02-19 09:41:00 +01:00
lovasoa
aa3149d546
fix date sorting
2025-02-18 23:39:56 +01:00
lovasoa
a9f02161e9
fix missing space between attrs
2025-02-18 23:26:11 +01:00
lovasoa
f83fdee729
fix NaN displayed for empty cells in number columns
2025-02-18 23:24:44 +01:00
lovasoa
e96048b075
Merge remote-tracking branch 'refs/remotes/origin/main'
2025-02-18 23:15:08 +01:00
Ophir LOJKINE
d8740811e1
Remove dependency to stacker, which crashes sqlpage ( #815 )
...
* update deps
* Disable stack growing in sqlparser
Fixes https://github.com/sqlpage/SQLPage/issues/814 ?
2025-02-18 23:14:26 +01:00
lovasoa
d9bed6d8eb
update deps
2025-02-18 10:53:45 +01:00
lovasoa
2aac5f3aa2
docs and tests
2025-02-17 14:31:41 +01:00
lovasoa
63385f6234
fix https://github.com/sqlpage/SQLPage/issues/812
2025-02-16 17:40:03 +01:00
lovasoa
5b86aa6496
changelog
2025-02-15 00:23:30 +01:00
lovasoa
28d0beec90
changelog
2025-02-15 00:06:31 +01:00
Ophir LOJKINE
1c5883ddd9
Update CHANGELOG.md
2025-02-14 23:54:43 +01:00
Ophir LOJKINE
29f4ff79df
Update CHANGELOG.md
2025-02-14 23:52:12 +01:00
lovasoa
60183b129a
v0.33
CI / compile_and_lint (push) Has been cancelled
CI / test (mssql) (push) Has been cancelled
CI / test (mysql) (push) Has been cancelled
CI / test (postgres) (push) Has been cancelled
CI / windows_test (push) Has been cancelled
CI / docker_build (linux/amd64) (push) Has been cancelled
CI / docker_build (linux/arm/v7) (push) Has been cancelled
CI / docker_build (linux/arm64) (push) Has been cancelled
CI / docker_push (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage, macos-latest) (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage, ubuntu-20.04) (push) Has been cancelled
Create Release / Build sqlpage binaries (target/superoptimized/sqlpage.exe, windows-latest) (push) Has been cancelled
Create Release / Build AWS Lambda Serverless zip image (push) Has been cancelled
Create Release / Create Github Release (push) Has been cancelled
Create Release / Publish to crates.io (push) Has been cancelled
v0.33.0
2025-02-14 23:38:12 +01:00
lovasoa
9804a662bd
update rand
2025-02-14 23:36:28 +01:00
lovasoa
436ca17e20
update sql parser
2025-02-14 23:26:39 +01:00
lovasoa
389bad3d36
lint
2025-02-13 21:14:14 +01:00
lovasoa
3ab42fced6
new function: sqlpage.headers()
...
closes https://github.com/sqlpage/SQLPage/discussions/810
2025-02-13 17:33:02 +01:00
lovasoa
a6a872ef88
Improve the error message
...
when a header component (e.g. status_code, json, cookie) is used in the wrong place (after data has already been sent to the client).
2025-02-13 14:35:01 +01:00
lovasoa
0bef7e1764
changelog
2025-02-12 00:00:49 +01:00
francesco-cattoglio
c57d82c12a
Added an option to format numbers using toLocaleString() for table columns ( #807 )
...
* Added an option to format numbers using `toLocaleString()` for table columns
* format numbers in tables
---------
Co-authored-by: lovasoa <contact@ophir.dev >
2025-02-11 23:57:18 +01:00
lovasoa
92790048bd
fix markdown rendering in form
...
@theochr72
2025-02-11 23:56:35 +01:00
theochr72
3a03b92ffc
feature/add_markdown_to_forms ( #809 )
...
add description_md to the form component
---------
Co-authored-by: Theo Cochereau <tcochereau@cosium.com >
Co-authored-by: Théo Cochereau <theotheboss@MacBook-Air-de-Theo.local >
2025-02-11 22:23:03 +01:00
lovasoa
b892a72257
tablerupdate tabler
2025-02-10 23:27:39 +01:00
lovasoa
5a79514d14
make page embedding and custom layouts easier and less error prone
...
- The `embed` property now automatically adds the `_sqlpage_embed` parameter to the embedded page URL to render it as an embeddable fragment.
- When an embedded page is rendered, the `shell` component is automatically replaced by a `shell-empty` component, to avoid displaying a duplicate shell and creating invalid duplicated page metadata in the response.
see https://github.com/sqlpage/SQLPage/issues/799
2025-02-10 23:04:53 +01:00
lovasoa
817fd97476
new sqlpage functions to read HTTP request body
...
sqlpage.request_body and sqlpage.request_body_base64
closes https://github.com/sqlpage/SQLPage/issues/316
2025-02-10 16:53:24 +01:00
lovasoa
5a7ca66c03
forbid invalid fields in sqlpage.fetch http request definitions
2025-02-10 10:18:41 +01:00
lovasoa
4c88bd7974
make the headers field in sqlpage.fetch optional
...
fixes https://github.com/sqlpage/SQLPage/discussions/805
2025-02-10 10:11:36 +01:00
lovasoa
828406792b
fix truncated sqlpage function error traces
2025-02-10 09:44:20 +01:00
lovasoa
564f6613b5
update dependencies
2025-02-10 09:43:46 +01:00
lovasoa
49f696de6f
map component: support pins with description but no title
2025-02-08 23:09:56 +01:00
lovasoa
725c896603
fmt
2025-02-05 21:18:31 +01:00
lovasoa
8ba15fdcc5
form select
2025-02-05 18:06:32 +01:00
lovasoa
69b3207f04
new auto_submit parameter in the form component
2025-02-05 13:54:25 +01:00
lovasoa
f58befe2b7
update dependencies
2025-02-05 13:11:44 +01:00
lovasoa
be8b67b159
build instructions
2025-02-05 13:10:02 +01:00
lovasoa
c6e512da99
update docs
2025-02-04 09:10:47 +01:00
lovasoa
8a7682fe4d
increase test timeout
2025-02-03 03:34:10 +01:00
lovasoa
8a85d07e52
remove mssql-incompatible query
2025-02-03 03:29:35 +01:00