Commit Graph
100 Commits
Author SHA1 Message Date
Your Name a89d6e1a63 feat(ui): add new sponsor and quote image
Add a new sponsor link to index and o-nas pages with corresponding logo, and include a new quote image.
2026-06-01 15:56:16 +02:00
Your Name 60a4b82931 feat(ui): add new sponsor and update text content
Add a new sponsor logo and link for NSA to the index and o-nas pages.
Update the header text in o-nas.html to reflect winner status.
2026-05-30 09:33:58 +02:00
Your Name efa35518ab feat(ui): update sponsor logos and links
Replace the alpacar.pl sponsor with kovosteel.cz and gracla.cz in index.html and o-nas.html, and add new sponsor image assets.
2026-05-25 17:41:17 +02:00
Tomas Dvorak cc6841e723 feat(backend): implement fallback API for club data retrieval
Add a fallback mechanism to use an alternative base URL and club ID
when the primary API request fails. This ensures data resilience by
attempting to fetch club details and standings from a secondary source
using a slug-based lookup.

The implementation also updates the logic to use the active club ID
(either primary or fallback) when overriding logo URLs in match
details and table standings.
2026-05-13 12:05:20 +02:00
Tomas Dvorak 4c904a1546 fix(backend): improve video resilience and add blog ordering validation
Implement fallback mechanisms for YouTube video data and add startup
validation for blog post ordering.

- Add `loadVideosJSON` to persist and reload video data from disk.
- Update `refreshVideos` to retain existing local videos if the YouTube
  API returns an empty response.
- Add `validateBlogOrdering` to perform a health check on blog post
  sequence during startup.
- Call video loading and blog validation in `main`.
2026-05-11 15:30:24 +02:00
Tomas Dvorak 76c447a395 fix(ui): add defensive sorting for blog posts
Implement client-side sorting for blog post lists to ensure they are
displayed in descending order by numeric ID. This prevents issues
where API response ordering or file modification timestamps might
cause older posts to appear newer than recent ones.

Also add backend tests to verify blog ordering logic.
2026-05-11 13:03:04 +02:00
Tomas Dvorak a6b47de1a4 refactor(backend): improve blog canonical ID resolution
Refactor the blog listing logic to use a canonical numeric ID when available. This ensures consistent identity and deduplication between numeric and slug-based filenames, and ensures image path resolution uses the correct identifier.
2026-05-11 12:33:26 +02:00
Tomas Dvorak 4f3164956a Add slug-to-numeric resolution for blog URLs
- Modified blog handler to resolve slugs to numeric files when slug files don't exist
- This allows slug URLs to work without creating duplicate slug files
- Fixes sorting issues while maintaining slug URL compatibility
2026-03-14 11:27:08 +01:00
Tomas Dvorak f8a6abf391 Fix blog sorting to show newest first
- When files have recent timestamps (from setup script), sort by numeric ID
- Higher numeric IDs represent newer blogs
- This ensures proper chronological ordering in admin interface
2026-03-14 11:21:31 +01:00
Tomas Dvorak 45facf7aa0 Fix image paths and remove duplicate slug files
- Remove duplicate slug files that were causing duplicate entries
- Add logic to find corresponding numeric ID for image paths
- This fixes broken images in admin interface for slug-based blogs
2026-03-14 11:19:09 +01:00
Tomas Dvorak c9c322ff95 Fix duplicate blog entries and image paths
- Add deduplication logic to avoid showing same blog twice
- Add extractBlogID function to get correct numeric ID from meta tags
- Use blogID for image paths instead of filename ID
- This fixes duplicate entries in admin interface and broken images
2026-03-14 11:17:49 +01:00
Tomas Dvorak 3a7c1bbcba Fix blog API endpoints and path issues
- Fix listLatestBlogs function to use correct blog directory path
- Add /data/blog-list.json endpoint for frontend blog listing
- Update remoteBlogDir references to use blogDir
- Resolve blog listing and admin interface loading issues
2026-03-14 11:12:40 +01:00
Tomas Dvorak 03b9abd32d fix 2026-03-14 10:52:14 +01:00
Tomas Dvorak 21574a8b30 Add slug support and new admin features 2026-03-14 10:40:04 +01:00
Tomas Dvorak 4773e4cab1 update 2026-02-22 13:09:22 +01:00
Tomas Dvorak 362f55e28a update 2026-02-22 13:01:34 +01:00
Tomas Dvorak 516161c1b3 contact 2026-01-13 21:52:29 +01:00
Tomas Dvorak 02b8479178 push 2025-11-23 12:31:39 +01:00
Tomas Dvorak 581b51fa09 translate 2025-09-27 17:28:48 +02:00
Tomas Dvorak 09cb946da5 fix 2025-09-27 16:00:34 +02:00
Tomáš Dvořák 71942e45b9 update 2025-09-23 20:15:36 +02:00
Tomas Dvorak b8891c8a38 fefe 2025-09-20 15:36:51 +02:00
Tomas Dvorak 9641dc9283 efe 2025-09-20 15:33:31 +02:00
Tomas Dvorak f93502a96f ff 2025-09-20 15:24:26 +02:00
Tomas Dvorak 422975ac6b grgfgdg 2025-09-19 08:48:00 +02:00
Tomas Dvorak 76c55aed58 dw 2025-09-19 08:23:18 +02:00
Tomas Dvorak 7bbc8271e4 fix matches 2025-09-13 00:47:17 +02:00
Tomas Dvorak 4a463346cf Merge branch 'main' of https://github.com/Dvorinka/bizoni 2025-09-08 17:13:04 +02:00
Tomas Dvorak 91947a53b5 efe 2025-09-08 17:13:01 +02:00
Tomas Dvorak 0e70f4e36b gr 2025-09-05 18:07:24 +02:00
Tomas Dvorak e8ff61e41e efe 2025-09-03 21:08:56 +02:00
Tomas Dvorak 64bd762e3c fef 2025-09-03 20:05:11 +02:00
Tomas Dvorak afff9d9b5e sponzor 2025-08-31 16:35:18 +02:00
Tomáš Dvořák 4cf6a5375a sponsor 2025-08-29 13:35:54 +02:00
Tomas Dvorak 9ea49f957e fef 2025-08-28 18:20:15 +02:00
Tomas Dvorak 985e918e1b dd 2025-08-28 17:57:20 +02:00
Tomas Dvorak 8bd8b1cf7d gsge 2025-08-28 17:54:59 +02:00
Tomáš Dvořák ed53a6c631 ww 2025-08-28 11:50:15 +02:00
Tomáš Dvořák cd8da17ed0 r 2025-08-28 08:57:35 +02:00
Tomáš Dvořák eddc96b49b optimize media 2025-08-28 08:41:04 +02:00
Tomáš Dvořák b549b4ba59 ef 2025-08-28 08:37:57 +02:00
Tomáš Dvořák 0b4638529f ddd 2025-08-28 08:28:31 +02:00
Tomáš Dvořák 3e6aec1236 women 2025-08-28 08:03:57 +02:00
Tomas Dvorak 6a9873d774 ff 2025-08-27 20:45:45 +02:00
Tomas Dvorak 36b709a556 sefes 2025-08-27 20:45:18 +02:00
Tomáš Dvořák fcb9f2d60c automated 2025-08-26 09:18:40 +02:00
Dvorinka a67731dec8 fix 2025-07-24 07:32:17 +02:00
Dvorinka 4ae3738d90 sponzori 2025-07-24 07:29:11 +02:00
Tomas Dvorak 44de0a8906 esfs 2025-07-17 21:31:17 +02:00
Tomas Dvorak bf08fcd296 dresy 2025-07-17 19:15:54 +02:00
Tomas Dvorak 2e91e3df4e sefse 2025-07-16 21:04:41 +02:00
Tomas Dvorak fb783a7927 esf 2025-07-16 21:03:37 +02:00
Tomas Dvorak 8917972b55 vložení fotogalerie do menu 2025-06-17 17:47:52 +02:00
Tomas Dvorak 442be1f25f sponsor 2025-06-17 17:29:43 +02:00
Tomas Dvorak 2df9b64708 improved 2025-05-28 21:46:30 +02:00
Tomas Dvorak 2650357a47 Implement code changes to enhance functionality and improve performance 2025-05-25 21:48:03 +02:00
Tomas Dvorak 76c170809b Update video links, titles, and durations in blog articles 2025-04-02 11:51:55 +02:00
Tomas Dvorak 32fac7db07 Update match scores and add new blog article thumbnail for FC Bizoni 2025-03-17 08:58:10 +01:00
Tomas Dvorak 01101350e0 Update match scores and modify blog articles with new content and thumbnails 2025-02-25 16:29:38 +01:00
Tomas Dvorak 2f5235e023 Update match scores and add new blog articles with thumbnails 2025-02-19 23:45:00 +01:00
Tomas Dvorak 966ee049ef Add new blog article thumbnail for DOHRÁVKA 13. KOLA PRO BIZONY! 2025-02-10 08:55:54 +01:00
Tomas Dvorak 55b5f8c2fc Update blog article images and modify match details 2025-02-04 17:26:35 +01:00
Tomas Dvorak 7d5870686b Update match scores and add new blog article thumbnail 2025-01-21 16:22:11 +01:00
Tomas Dvorak 329a35312a Add new blog article and update match details with scores 2025-01-13 09:08:45 +01:00
Tomas Dvorak 40ea53816c s 2025-01-06 15:11:53 +01:00
Tomas Dvorak 5668b8ab54 Update blog entries and add new article thumbnails 2025-01-06 15:11:36 +01:00
Tomas Dvorak fc85cbd9bb Update index.html and o-nas.html to modify club ratings and add a new sponsor 2024-12-25 10:01:35 +01:00
Tomas Dvorak d73154e6e6 5 2024-12-17 13:53:40 +01:00
Tomas Dvorak 2428a5982e l 2024-12-17 13:44:46 +01:00
Tomas Dvorak 2a275b763d added new 2024-12-11 10:53:34 +01:00
Tomas Dvorak d4de0d762b added new match 2024-12-02 12:02:14 +01:00
Tomas Dvorak ed3f302ca6 k 2024-12-02 11:51:59 +01:00
Tomas Dvorak 84c30c6429 added new player 2024-11-25 14:06:15 +01:00
Tomas Dvorak 0928b9c3a0 fixed 2024-11-25 11:55:50 +01:00
Tomas Dvorak a0aaed9cd5 fixed score and date 2024-11-25 10:47:04 +01:00
Tomas Dvorak dbb5e0f1dc added 3 blog posts 2024-11-25 09:03:08 +01:00
Tomas Dvorak 1064c1ad78 added next match 2024-11-25 08:39:08 +01:00
Tomas Dvorak 5e62559821 0px 2024-11-18 14:27:40 +01:00
Tomas Dvorak f77e0b2e25 added badge 2024-11-18 14:25:08 +01:00
Tomas Dvorak 3566b778c9 f 2024-11-18 08:59:11 +01:00
Tomas Dvorak b2da03bdf1 added new match 2024-11-18 08:19:18 +01:00
Tomas Dvorak 19d642ca1a Merge branch 'main' of https://github.com/Dvorinka/bizoni 2024-11-16 12:06:22 +01:00
Tomas Dvorak 0e4bd32add changed url 2024-11-16 11:38:58 +01:00
Tomas Dvorak 402a66b67b fixed http link 2024-11-15 00:36:05 +01:00
Tomas Dvorak 24037e878a f 2024-11-13 18:29:35 +01:00
Tomas Dvorak fc79465996 change order of players 2024-11-13 18:27:47 +01:00
Tomas Dvorak c524508834 small tweaks 2024-11-13 18:00:45 +01:00
Tomas Dvorak e931ba7571 change the order of names 2024-11-13 11:59:40 +01:00
Tomas Dvorak d9449a1208 added sitemap 2024-11-13 10:27:17 +01:00
Tomas Dvorak 5a28b16c9e meta 2024-11-13 10:03:00 +01:00
Tomas Dvorak 689961a2bb added info 2024-11-12 20:06:17 +01:00
Tomas Dvorak 769af360f3 og img 2024-11-12 18:02:25 +01:00
Tomas Dvorak ab47d13474 added meta data 2024-11-12 18:00:37 +01:00
Tomas Dvorak b960940220 ok now 2024-11-12 17:50:35 +01:00
Tomas Dvorak 34072b580f trying to fix the 404 styling 2024-11-12 17:48:56 +01:00
Tomas Dvorak 4614086545 added team dresses 2024-11-12 17:39:29 +01:00
Tomas Dvorak 856d24bf4c added dresses 2024-11-12 12:20:02 +01:00
Tomas Dvorak abfb8e24f7 added sponsor 2024-11-12 00:22:05 +01:00
Tomas Dvorak 5ec1353136 fixed links, added blogs 2024-11-11 21:01:39 +01:00
Tomas Dvorak 6d23ae7480 added video 2024-11-04 20:32:48 +01:00