Commit graph

28 commits

Author SHA1 Message Date
d973ad24e9 Use nixos-25.05, update, cleanup 2025-05-23 23:29:19 +02:00
925867aedd Update & slim down backend 2025-05-06 22:14:38 +02:00
5088a25329 Update and remove unused 2025-04-27 20:02:13 +02:00
17e755f5c5 [padel] Allow deleting a user 2025-01-21 23:11:15 +01:00
69920ce0d2 [padel] Add number of times played in ranking table 2025-01-21 23:11:15 +01:00
bad3bcd039 [padel] Add player renaming 2025-01-20 23:12:27 +01:00
e3f7709fe8 Add PadelStats 2025-01-20 22:43:43 +01:00
cc97142146 Update dependencies 2025-01-04 18:20:07 +01:00
f63a113781 Add debug info for why a section has been filtered out
Also change the filter order to be more coherent and reduce logs
2024-12-19 18:32:23 +01:00
8d6fed1f1c Update packages, Replace nix frontend hash with lockfile import 2024-12-19 17:57:09 +01:00
44632e2647 Add password obfuscated cards
Currently, the cards are only encrypted on the frontend,
which means that an attacker could easily analyze the
javascript data and get the card contents.

This is however good enough for obfuscating a card's content
to the common folks.
2024-12-19 17:57:01 +01:00
ec648bc406 dashboard: Add priority to sections, Improve card CSS
- Add 'priority' to the backend sections configuration
  - This allows for multiple sections to have the same title
    and only showing the one with the highest priority
  - This can be useful in cases where the same section is
    defined in multiple sources, with one having more priority
    over the other

- Improve the card CSS
  - Better handle long titles (center text & add gaps)
  - Better handle long descriptions (center text & add gaps)

- Add clippy to nix devshell

- Reduce the size of the backend state and avoid some cloning
2024-11-24 17:24:28 +01:00
d7f51a4935 frontend: Change astro config to allow for better caching & security
- DNS-prefetch the config sources
- Do not inline assets to make them cacheable immutable
- Remove astro-compress as it throws an exception with new assets
  configuration
2024-11-19 18:14:49 +01:00
a83d3521fb frontend: Add noscript & spinner on private section 2024-11-10 10:54:01 +01:00
8f5f520ba2 frontend: Add public static section read from config 2024-11-06 13:19:09 +01:00
99f9fec65d frontend: Catch potential fetch exception 2024-11-06 12:53:21 +01:00
202200fedf nix: Use native buildRustPackage instead of crane for backend 2024-11-03 21:50:35 +01:00
d2283bec03 backend: Add logs to indicate what the user has access to 2024-11-03 21:29:11 +01:00
5ee4934379 backend: Add debug log to indicate user host 2024-10-31 18:54:38 +01:00
f497b0f2b4 frontend: Fix remove duplicates 2024-10-30 22:46:43 +01:00
6ac7070832 backend: Fix filters config not optional 2024-10-30 19:34:50 +01:00
4862e854b7 frontend: Get sections from multiple sources 2024-10-30 19:01:15 +01:00
061c9602d1 backend: Add CORS layer 2024-10-30 18:40:15 +01:00
f0f1f8e2a5 backend: Add filter by host 2024-10-28 20:04:45 +01:00
f28f366d7b Change groups filters config to allow for IP filters 2024-10-27 20:27:45 +01:00
3aa62eeb91 Add favicon 2024-10-20 12:20:44 +02:00
6c45f4a1ee Small fixes 2024-10-19 19:03:54 +02:00
b0dc4f7370 Add dynamic dashboard
- Initial commit
- Create the frontend and backend
- Read the dashboard sections from config and return those the user has
  access to based on the Trusted SSO headers
2024-10-19 17:30:11 +02:00