lovasoa
74447eaee7
hide dotfiles
2025-03-22 17:48:20 +01:00
Gus Power
261f76c2bc
Add unsafe_contents_md to text component, add related file tests, add documentation parameters
2025-03-17 11:08:36 +00:00
lovasoa
913f45b2ea
fix tests
2025-02-27 21:43:42 +01:00
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
2025-02-24 22:22:03 +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
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
2aac5f3aa2
docs and tests
2025-02-17 14:31:41 +01:00
lovasoa
3ab42fced6
new function: sqlpage.headers()
...
closes https://github.com/sqlpage/SQLPage/discussions/810
2025-02-13 17:33:02 +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
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
8a7682fe4d
increase test timeout
2025-02-03 03:34:10 +01:00
lovasoa
13eecc843a
fix test with mem db
2025-02-03 03:26:12 +01:00
lovasoa
32cc65b7fd
normalize paths in testing routing
2025-02-03 03:04:07 +01:00
lovasoa
9bb20ade5a
test on-db file hosting
2025-02-03 02:42:58 +01:00
lovasoa
a2412c37ae
fix mssql test
2025-02-03 02:32:17 +01:00
lovasoa
40c702ee4e
fix handling of special characters in file names
2025-02-03 02:27:05 +01:00
lovasoa
e9ce54fc9c
fmt
2025-02-03 01:41:50 +01:00
lovasoa
80164ddcb5
properly propagate errors while routing and properly handle routing with on-db filesystem
2025-02-03 01:14:37 +01:00
lovasoa
d5b3d1221c
Fix a bug where subsequent requests would fail after a failed CSV import on postgres
...
fixes https://github.com/sqlpage/SQLPage/issues/788
2025-01-24 15:36:50 +01:00
lovasoa
b75e007050
fix official site tests
2025-01-11 15:01:06 +01:00
lovasoa
4887fa9e0a
fmt
2025-01-06 09:28:10 +01:00
lovasoa
6651a1b2cd
Fix a bug where the table component would not add the right css classes to table cells
...
fixes https://github.com/sqlpage/SQLPage/issues/762
2025-01-05 23:39:01 +01:00
lovasoa
be2a976a29
longer req timeout
2024-12-31 11:47:16 +01:00
lovasoa
5e257deb5a
fmt
2024-12-30 21:32:09 +01:00
lovasoa
68fb7dc9de
add a timeout to each individual request in tests
2024-12-30 21:26:05 +01:00
lovasoa
bc701eabd5
fix formatting
2024-12-30 13:34:15 +01:00
lovasoa
521328f678
Fix an issue with radio buttons default state
...
fixes https://github.com/sqlpage/SQLPage/issues/751
2024-12-30 13:26:42 +01:00
lovasoa
0d7c91ed59
add support for coalesce in function calls
2024-12-24 22:24:23 +01:00
lovasoa
7dc8683b6e
sqlpage.environment_variable('inexistant') = null
...
fixes https://github.com/sqlpage/SQLPage/issues/746
2024-12-20 16:30:17 +01:00
lovasoa
a8f6d338bb
fmt
2024-12-15 19:02:15 +01:00
lovasoa
bce6a82a5a
fix tests on dbs without json
2024-12-15 17:17:08 +01:00
lovasoa
b40e35636b
Fix a bug where the results of the JSON function in sqlite would be interpreted as a string instead of a json object.
...
fixes #738
Thank you to @SebastiendOrnano who reported the issue
2024-12-15 17:07:24 +01:00
lovasoa
0d51d52393
not on a personal repo anymore
2024-12-06 21:42:55 +01:00
lovasoa
a6c7a3f7bd
mssql rollback after end req test
...
remove double rollback
2024-11-26 00:08:09 +01:00
lovasoa
a1def13f48
allow explicit transactions in mysql
2024-11-26 00:00:50 +01:00
lovasoa
e82f9931a7
fix test_transaction_error for postgres
2024-11-25 23:00:08 +01:00
lovasoa
3e62cafb1a
fix https://github.com/sqlpage/SQLPage/issues/711
2024-11-25 22:55:42 +01:00
lovasoa
b29899e01e
add support for large form submissions
...
fixes https://github.com/sqlpage/SQLPage/issues/705
2024-11-22 00:51:58 +01:00
lovasoa
1f30d4dbb1
Use live db for tests
2024-11-20 12:17:31 +01:00
lovasoa
4f8d21c3a7
fix https://github.com/sqlpage/SQLPage/issues/701
2024-11-18 21:42:22 +01:00
lovasoa
1c5fb16f27
add a native sqlpage implementation of json_array, which allows passing json arrays to nested sqlpage functions
2024-11-18 16:32:29 +01:00
lovasoa
e438109c8e
e2e tests
2024-11-14 09:46:17 +01:00
lovasoa
c1705a86a7
fix table test
2024-11-11 19:41:48 +01:00
lovasoa
741f479cd3
add package json
2024-11-11 19:41:40 +01:00
lovasoa
7bb9c74292
e2e format
2024-11-05 22:43:12 +01:00
lovasoa
b783c6e52a
check for chart errors
2024-11-05 22:38:25 +01:00
lovasoa
6081c9ff9f
add biome linting and formatting for a consistent style and easier contributions
...
this should prevent useless conflicts
2024-11-05 21:03:20 +01:00
lovasoa
ebf19aa7fe
add linting and formatting in CI
2024-11-05 18:33:55 +01:00
lovasoa
67ddf944f0
disable varchar test on mysql
2024-11-01 22:37:22 +01:00