Commit Graph

35 Commits

Author SHA1 Message Date
Ophir LOJKINE 2c89bd04f7 Update remaining dependency pins 2026-05-29 22:24:53 +02:00
Ophir LOJKINE 4a28658a34 Fix Rust 1.95 CI warnings
Update Rust code for new Clippy lints introduced by the CI toolchain, including Duration unit constructors, loop counter handling, Option checks, and trailing commas.

Stop routine frontend asset downloads from being emitted as Cargo warnings during builds.

Move checkout and rust-cache GitHub Actions to Node 24-compatible releases to avoid runner deprecation warnings.

User-level behavior is unchanged; the only observable change is quieter build logs.
2026-05-16 00:43:04 +02:00
lovasoa 5c41f16481 Simlplify icon generation in build.rs 2025-11-04 16:46:42 +01:00
lovasoa bb3e75615b build.rs: raise on missing icon id 2025-11-04 16:07:27 +01:00
lovasoa e7726b53fb Refactor icon extraction logic in build.rs to improve performance and memory usage. The download_tabler_icons function now directly processes sprite content in memory, eliminating the need for temporary file storage. Updated extract_icons_from_sprite to handle byte slices instead of strings, enhancing efficiency. 2025-11-04 15:09:28 +01:00
lovasoa 1db0868d77 Update tabler icons to version 3.35 and refactor icon extraction logic for improved performance 2025-11-04 13:51:35 +01:00
lovasoa 52e11df5b6 Implement faster icon loading by inlining icons from the Tabler sprite. The previous method required downloading and parsing a large file, causing delays in icon rendering. Now, icons are generated and cached, improving page load times. Update the icon helper to utilize the new inline method. 2025-11-04 13:38:05 +01:00
lovasoa afde9e1f09 fmt 2025-10-27 15:12:39 +01:00
lovasoa 4dba824727 Enhance ODBC support for Debian-based systems by setting the library search path in build.rs. Update CI configuration to use the correct PostgreSQL driver name. Document changes in CHANGELOG.md. 2025-10-27 14:56:17 +01:00
lovasoa 698b0f5932 fmt 2025-05-21 22:06:35 +02:00
lovasoa 335a0a9181 bump dependencies 2025-05-20 18:49:22 +02:00
lovasoa c00446ca21 clippy 2025-05-06 22:47:12 +02: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 ac2c7e9712 docs.rs build 2024-08-10 10:59:25 +02:00
lovasoa c9c029259d Build on docs.rs without downloading deps 2024-08-10 10:59:25 +02:00
lovasoa e99e386a5f include a default favicon in sqlpage
this fixes the Unable to read file "favicon.ico" error that was displayed by default in the console when opening a page in a browser
2024-06-23 18:19:21 +02:00
lovasoa e582fc9759 better static artefact caching
this should speedup hot builds and ci builds

improves cache usage
2024-06-23 16:34:30 +02:00
lovasoa ad03e0021f improve build script error messages 2024-05-30 10:39:14 +02:00
lovasoa 7ea57559fd cache frontend dependencies individually locally and warn when re-downloading 2024-05-28 23:40:46 +02:00
lovasoa 81962a59f4 build script download improvements 2024-05-28 10:44:20 +02:00
lovasoa fe268f45ed bundle tomselect with sqlpage 2024-04-14 18:52:59 +02:00
lovasoa 269709ff86 async download of frontend dependencies at build time 2023-09-17 13:12:14 +02:00
lovasoa cc49791e48 async stream of frontend dependencies when downloading them at build time 2023-09-17 13:08:18 +02:00
lovasoa 27984a0400 fix table sorting 2023-08-23 02:19:09 +02:00
lovasoa d7aa1fd634 improve page load speed
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.
2023-08-03 12:24:22 +02:00
lovasoa 672426ea16 fmt 2023-08-02 17:07:54 +02:00
lovasoa 4ea1d49e15 improve sqlpage binary size by compressing assets 2023-08-02 17:07:41 +02:00
lovasoa 1207d2a5bb update build.rs 2023-08-02 13:08:12 +02:00
lovasoa 87b8614552 switch to awc to download build deps 2023-08-02 12:55:39 +02:00
lovasoa bbbcc9ccdd fmt 2023-08-01 01:16:23 +02:00
lovasoa 0fdc0b5982 v0.9.1: mssql fixes 2023-08-01 01:07:30 +02:00
lovasoa a3b21e0f89 add a new "sqlpage.header" function and improve error handling in functions 2023-07-09 22:56:35 +02:00
lovasoa 57f10cd693 bugfix: generated js and css filenames were incorrect
The resource hashes were computed before closing the resource files themselves, creating invalid hashes

That, in turn, caused incorrect file caching, and prevented resource updates in browsers
2023-06-30 16:28:27 +02:00
lovasoa f0d0cf9c4b clippy fixes 2023-06-04 12:49:46 +02:00
lovasoa f1690e8421 embed external js and css resources in the distributed binary 2023-06-01 03:46:39 +02:00