897 Commits

Author SHA1 Message Date
lovasoa 987fb59a7a docs: mention that the id and class attributes are new in v0.18
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
fixes https://github.com/lovasoa/SQLpage/discussions/203
v0.18.0
2024-01-28 20:51:19 +01:00
lovasoa 5c751ad5c2 update changelog 2024-01-28 20:48:37 +01:00
lovasoa abb5d2a53c add support for unicode in the lower and upper functions in the built-in sqlite
closes https://github.com/lovasoa/SQLpage/issues/155
2024-01-28 20:46:47 +01:00
lovasoa f259d76691 add support for unicode NOCASE comparisons with the built-in SQLite
see https://github.com/lovasoa/SQLpage/issues/155
2024-01-28 20:38:20 +01:00
lovasoa 9089e6413b v0.18.0 2024-01-28 20:26:41 +01:00
lovasoa 8b2964e13c update dependencies 2024-01-28 17:43:59 +01:00
lovasoa bb4c9fd024 clippy 2024-01-26 18:42:29 +01:00
lovasoa 7c38f7abc0 implement sqlpage.uploaded_file_mime_type
fixes https://github.com/lovasoa/SQLpage/discussions/204
2024-01-26 18:37:34 +01:00
Greg Gaughan 3798078509 Fix typos (#205) 2024-01-26 14:09:52 +01:00
Greg Gaughan bf40f33386 An user -> a user (#206) 2024-01-26 12:35:16 +01:00
lovasoa c760ecc396 Fix problematic intra-page links wirh the text component
see https://github.com/lovasoa/SQLpage/discussions/203
2024-01-24 23:05:08 +01:00
Lorefnon 49fd4f07d4 Support iframe embed mode (#188) 2024-01-19 17:29:42 +01:00
dependabot[bot] 21407bc54d Bump h2 from 0.3.22 to 0.3.24 (#196)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.22 to 0.3.24.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.24/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.22...v0.3.24)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-19 17:27:36 +01:00
lovasoa 8d8b4e455c remove double quote syntax error from docs
forgot to remove the sql quote escapes when moving to a separate markdown file

fixes https://github.com/lovasoa/SQLpage/issues/192
2024-01-19 13:38:49 +01:00
Lorefnon b8c6ab8a9c Replace dashmap usage with RwLock to avoid deadlock during cache access (#193) 2024-01-19 13:32:11 +01:00
Ophir LOJKINE 8854b287e8 Merge pull request #190 from Kitsune-Kuro/patch-1
Update 03_alert_component.sql
2024-01-17 00:40:14 +01:00
Kuro ea6c77716f Update 03_alert_component.sql
dismissible is a BOOLEAN not a TEXT
2024-01-16 18:23:06 +01:00
lovasoa 173152c08b add a link to the cookie component from the sqlpage.cookie function
closes https://github.com/lovasoa/SQLpage/discussions/187
2024-01-12 23:19:55 +01:00
Lorefnon 1fa4f9364a Add id/class to the components (#182) 2024-01-12 23:05:38 +01:00
lovasoa 41c1318dfb better trace logging 2024-01-09 23:01:39 +01:00
lovasoa ae9467d277 update logging format of queries and parameters
closes https://github.com/lovasoa/SQLpage/discussions/180
2024-01-09 22:56:28 +01:00
olivierauverlot f6b78222f2 New 'center' parameter to whether to center the tracking component. (#178)
* New 'center' parameter to whether to center the trakcing component.

* Merge of documentation files about tracking component

---------

Co-authored-by: Olivier Auverlot <oauv@duck.com>
2024-01-08 22:48:37 +01:00
lovasoa 33b4dba52d add embed to changelog 2024-01-05 22:20:15 +01:00
lovasoa e010692749 document postgres-specific syntax 2024-01-05 22:18:29 +01:00
Lorefnon 99c7e02499 Support lazy-loaded content fragments in card component (#175)
* Add support for embed parameter that skips the shell layout

* Add support for cards with remote content

* Adapt js to support lazy-loaded fragments

* Add example

* Reformat & Fix lint errors

* Update query param name and add docs

* Add example

* squash migrations

---------

Co-authored-by: lovasoa <pere.jobs@gmail.com>
2024-01-05 22:17:33 +01:00
lovasoa a165e9dbc2 chart component fixes & improvements 2024-01-05 09:47:24 +01:00
lovasoa 202ebdd655 fix card component and update example 2024-01-01 15:12:37 +01:00
lovasoa c8c6b05b58 remove unnecessary whitespaces 2024-01-01 14:52:35 +01:00
lovasoa 2d40e246c0 update example for the breadcrumb component to avoid broken links 2024-01-01 14:40:26 +01:00
lovasoa b7f2200e00 fix identation and reduce margin in breadcrumb 2024-01-01 14:35:45 +01:00
lovasoa 96803c5825 change breadcrumb icon 2024-01-01 14:35:24 +01:00
lovasoa 4e4e32e2c1 changelog 2024-01-01 14:35:08 +01:00
lovasoa 6cdaea3f53 add margin to breadcrumb 2024-01-01 14:31:21 +01:00
lovasoa bb9fe51de1 add breadcrump to changelog 2024-01-01 14:31:09 +01:00
lovasoa 1a32ae8697 remove extra whitespace 2024-01-01 14:29:22 +01:00
Olivier Auverlot d41f50436a Breadcrumb component 2023-12-31 18:20:24 +01:00
olivierauverlot ead3350177 Add tracking component (#162)
* Add tracking component

* Add divider component

* Update examples/official-site/sqlpage/migrations/28_tracking_component.sql

Co-authored-by: Ophir LOJKINE <contact@ophir.dev>

* Many improvements (color and title attributes, width of the component, spacing between items)

* New example with no optional parameters

* Empty lines removed

* Refactoring

* add newcomponents to changelog

* reduce margin in tracking component

---------

Co-authored-by: Olivier Auverlot <oauv@duck.com>
Co-authored-by: Ophir LOJKINE <contact@ophir.dev>
2023-12-29 22:54:43 +01:00
Ophir LOJKINE 1923af0d86 Update README.md 2023-12-29 11:10:49 +01:00
lovasoa 6250e390d5 change link 2023-12-16 17:22:41 +01:00
lovasoa e78b24f881 improve dynamic component docs 2023-12-16 16:19:04 +01:00
lovasoa cbba28f254 fix bug in example form usage in documentation 2023-12-16 11:02:18 +01:00
lovasoa fcf702136f uploaded_file_path docs: avoid annoying debug output in example 2023-12-15 18:57:25 +01:00
lovasoa 5ab6e123bf Merge remote-tracking branch 'https/main' 2023-12-15 18:51:43 +01:00
lovasoa e50366a105 add an example to the multiselect documentation
(thanks David for the feedback)
2023-12-15 18:49:48 +01:00
dependabot[bot] 68dbf06f69 Bump zerocopy from 0.7.30 to 0.7.31 (#154)
Bumps [zerocopy](https://github.com/google/zerocopy) from 0.7.30 to 0.7.31.
- [Release notes](https://github.com/google/zerocopy/releases)
- [Changelog](https://github.com/google/zerocopy/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/zerocopy/compare/v0.7.30...v0.7.31)

---
updated-dependencies:
- dependency-name: zerocopy
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 08:28:45 +01:00
Alexander b47f7036ad Improve configuration documentaition (#153)
* Fix typo

* Add default values for different RDBMS

I optimized for a nicer looking rendered table, but the not rendered
one looks slightly less beautiful now.
2023-12-14 17:11:15 +01:00
lovasoa cb39986c7c add the tiny-twitter example from pgconf.eu 2023 2023-12-14 16:32:23 +01:00
lovasoa 2b6b981dfe Use fewer SQLite-specific syntax in the "master-detail-forms" example
and specify that this is a SQLite example in the README

https://github.com/lovasoa/SQLpage/issues/152
2023-12-14 16:26:25 +01:00
lovasoa 7175d2c0d2 split out pgconf slides script 2023-12-14 14:19:50 +01:00
lovasoa d1652f40cd add pgconf code 2023-12-14 14:08:37 +01:00