Commit Graph

34 Commits

Author SHA1 Message Date
4c53d6ce08 feat: add club selection support and improve mobile API integration 2025-08-18 11:26:56 +02:00
3ce916f5c4 fix: update get_login return type to allow None values 2025-08-18 09:56:11 +02:00
ea696ed361 refactor: simplify AgeGroup enum and enhance normalization
Remove redundant ELIT variants from AgeGroup enum and implement case/spelling tolerant normalization function. The new normalize_age_group function handles case-insensitive matching and spelling variations (Elite/ELIT/Elit) while mapping to canonical enum values.

This reduces the enum from 15 to 13 entries while maintaining full backward compatibility.
2025-08-15 07:50:26 +02:00
6b09a95a45 docs: add and format AGENTS.md file
Adding documentation file for agentic coding agents with proper markdown formatting to pass linting checks.
2025-08-14 12:56:32 +02:00
b11f875756 feat: update AgeGroup class to include all age groups from schedule.json
Added missing age group enums based on the schedule.json file to ensure proper parsing of all scheduled events.
2025-08-14 12:54:29 +02:00
5b5b593a3b refactor: improve JSON handling and API reliability
- Add robust JSON sanitization function to handle malformed API responses
- Select club after login for proper session initialization
- Enhance API request headers for better compatibility
- Add JSON parsing fallback with sanitization for malformed files
- Add poetry plugin requirement for export functionality
2025-08-14 12:50:13 +02:00
03d33f2e03 feat: add healthcheck 2025-03-13 11:29:30 +01:00
2bd10409a1 chore: change title and aligment 2025-03-13 08:51:18 +01:00
f1955238c5 fix: sort players by number 2025-03-12 11:59:22 +01:00
8af989f372 fix: add favicon to docker and load events immediately 2025-03-12 11:53:55 +01:00
28b34d8281 fix: webapi schedule uses mobile api endpoint 2025-03-12 11:46:20 +01:00
251e2b1452 fix: favicon and some stuff 2025-03-12 11:15:45 +01:00
4c5867c19f feat: add webapi, lower python version requirement and add a Dockerfile 2025-03-12 10:52:11 +01:00
75074991af chore: poetry 2.0.0 2025-01-13 09:13:53 +01:00
0ac1659db2 feat: add mobile methods 2025-01-13 09:06:39 +01:00
b5c3164f96 feat: extract players from pdf 2025-01-08 14:06:35 +01:00
91d8824e9c chore: v0.3.0 2024-11-27 14:33:50 +01:00
6b37e0fcc2 feat: add new category and days to schedule argument
🛠️ myice.py -> Added new enum value 'u111' to AgeGroup, modified get_schedule function to accept num_days parameter, added num_days option to schedule function.
2024-11-27 14:32:51 +01:00
5bf970ed26 Here is a brief summary of the changes:
🛠️ poetry.lock -> Updated rl-ai-tools version from 1.10.0 to 1.10.1
🛠️ pyproject.toml -> Updated myice version from v0.2.4 to v0.2.5
2024-11-04 14:46:10 +01:00
37005c5ff0 doc: update 2024-11-04 08:41:01 +01:00
2bf6b62ba4 Here is a brief summary of the changes:
🛠️ myice.py -> Modified get_schedule function and updated AI system prompt
🛠️ poetry.lock -> Updated rich package version from 13.9.3 to 13.9.4 and rl-ai-tools package version from 1.9.0 to 1.10.0
🛠️ pyproject.toml -> Updated project version from v0.2.0 to v0.2.4
2024-11-04 08:37:56 +01:00
275f1d09ca 🛠️ pyproject.toml -> Updated version from v0.1.6 to v0.2.0 2024-11-01 15:24:14 +01:00
e8e6f09e0a 🛠️ myice/myice.py -> Added new AI functionality using Infomaniak LLM API
🛠️ poetry.lock -> Added rl-ai-tools package dependency
🛠️ pyproject.toml -> Updated dependencies and added rl-ai-tools source
2024-11-01 15:23:51 +01:00
f9bc440c1b chore: myice.py -> Added file parameter to save_cookies function and used Path object for file handling. 2024-11-01 14:02:10 +01:00
324397fe27 🟢 pyproject.toml: Added Poetry project configuration file
🛠️ pyproject.toml -> Updated version from 'v0.1.5' to 'v0.1.6'
2024-11-01 13:18:38 +01:00
c1ad2ac9e0 🟢 README.md -> added installation instructions and introduction section
🛠️ .mdlrc -> set style path
🛠️ mdl.rb -> created a new ruby script
🔴 RECUPE\_SCHEDULE.sh -> removed shell script
2024-11-01 13:15:35 +01:00
49f72ef22e 🛠️ myice.py -> updated error messages to redirect to stderr
🛠️ myice.py -> changed login and get\_userid prints to write to stderr
🔴 pyproject.toml -> removed version v0.1.3
🟢 pyproject.toml -> added version v0.1.5
2024-11-01 11:23:05 +01:00
bce52d2462 🛠️ myice/myice.py -> updated function get_login by simplifying config reading; renamed functions open, get_game_pdf, get_practice_pdf to os_open, get_game_pdf_os, get_practice_pdf_os respectively
🔴 pyproject.toml -> removed version 'v0.1.2', now at 'v0.1.3'
2024-11-01 11:17:26 +01:00
c93c9fadd9 🛠️ myice/myice.py -> added EventType enum and updated search command to support optional event type filtering
- Added `EventType` enum with two values: 'game' and 'practice'.
- Updated `parse_schedule` function to accept an optional `event_type_filter` argument which filters displayed events based on their type.
- Changed `age_group` parameter in `parse_schedule` to allow `None`.
2024-11-01 11:06:10 +01:00
0346346a23 🛠️ pyproject.toml -> updated project dependencies and version number from 0.1.0 to v0.1.1
🛠️ poetry.lock -> content-hash changed from e11a99... to 32eb77...
2024-11-01 10:53:58 +01:00
6ad0587246 🟢 LICENSE.txt (New MIT license added)
🛠️ pyproject.toml -> Updated poetry dependencies, authors email changed, added license info
v0.1.0
2024-11-01 10:41:39 +01:00
7a19f9acb7 🟢 README.md: Updated command to retrieve schedule and added new commands for searching events by age group and retrieving match details
🛠️ myice/myice.py: Implemented a function to parse the schedule JSON file based on given age groups, improved error handling, enhanced formatting when printing results, added a new command `myice search`
2024-11-01 10:38:43 +01:00
6c502f94f1 chore: add from Python.gitignore 2024-11-01 10:07:04 +01:00
e102cfa9c8 initial import 2024-11-01 09:59:45 +01:00