Commit Graph

8919 Commits

Author SHA1 Message Date
Github-actions
73841a181d Automatic linting 2026-05-08 13:21:35 +00:00
Roland Geider
023efdd7d1 Update codeQL workflow 2026-05-08 15:21:19 +02:00
Roland Geider
f1a4a65ce6 Set explicit permissions for all workflows 2026-05-08 15:21:19 +02:00
Roland Geider
a33f47a1a7 Refactor and improve jwt and regular api key handling 2026-05-08 15:21:19 +02:00
Roland Geider
b76a0d3103 Merge pull request #2313 from wger-project/dependabot/uv/packaging-26.2
Bump packaging from 26.1 to 26.2
2026-05-08 12:48:59 +02:00
Roland Geider
415007165f Require POST on trainer_login to enforce CSRF protection 2026-05-08 12:44:56 +02:00
Roland Geider
b29cf17865 Check slot_entry, next_log and day ownership on workout log/session APIs 2026-05-08 12:44:56 +02:00
Github-actions
67fbf067a6 Automatic linting 2026-05-08 09:51:18 +00:00
Roland Geider
9be2d5f2b4 Prevent gym trainers from (de)activating other gym staff 2026-05-08 11:41:54 +02:00
Roland Geider
635d1dc400 Properly (hopefully) check for all gym permission checks with helper function
This is necessary to correctly handle the gym=None case
2026-05-08 11:31:39 +02:00
Roland Geider
5f07a4473e Move routine validation to the serializer
This also now checks for a maximum duration, something that was previously done
only in the client validation
2026-05-08 11:22:46 +02:00
dependabot[bot]
f7b1326284 Bump packaging from 26.1 to 26.2
Bumps [packaging](https://github.com/pypa/packaging) from 26.1 to 26.2.
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/packaging/compare/26.1...26.2)

---
updated-dependencies:
- dependency-name: packaging
  dependency-version: '26.2'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-08 09:02:35 +00:00
Roland Geider
393126ac8c Commit 512 pixel logo 2026-05-08 10:46:57 +02:00
Roland Geider
838c571bf5 Merge pull request #2331 from wger-project/dependabot/uv/markdown-it-py-4.2.0
Bump markdown-it-py from 4.1.0 to 4.2.0
2026-05-08 10:45:55 +02:00
dependabot[bot]
10c3f8ec59 Bump markdown-it-py from 4.1.0 to 4.2.0
Bumps [markdown-it-py](https://github.com/executablebooks/markdown-it-py) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/executablebooks/markdown-it-py/releases)
- [Changelog](https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/markdown-it-py/compare/v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: markdown-it-py
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-07 23:24:28 +00:00
Roland Geider
543e83abbb Merge pull request #2330 from wger-project/dependabot/uv/markdown-it-py-4.1.0
Bump markdown-it-py from 4.0.0 to 4.1.0
2026-05-07 10:50:01 +02:00
dependabot[bot]
2f371aa7a7 Bump markdown-it-py from 4.0.0 to 4.1.0
Bumps [markdown-it-py](https://github.com/executablebooks/markdown-it-py) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/executablebooks/markdown-it-py/releases)
- [Changelog](https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/markdown-it-py/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: markdown-it-py
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-06 23:25:44 +00:00
Roland Geider
b8f7c9229f Merge pull request #2325 from wger-project/dependabot/uv/gunicorn-26.0.0
Bump gunicorn from 25.3.0 to 26.0.0
2026-05-06 12:17:35 +02:00
Roland Geider
dd4336f9c4 Improve test suite speed and remove unused code 2026-05-06 10:37:35 +02:00
Roland Geider
3eace2bf18 Merge pull request #2327 from birjd002/fix/preferences-email-validation
Fix/preferences email validation
2026-05-06 09:45:28 +02:00
Roland Geider
4d56033c12 Also test for email erro handling 2026-05-06 09:33:03 +02:00
bigjimmy333
8361cae762 Add test for duplicate email validation on preferences page 2026-05-06 15:38:59 +09:30
bigjimmy333
36fa7306be Fix failure on preferences page when email validation fails 2026-05-06 15:18:43 +09:30
dependabot[bot]
0678a1bfd7 Bump gunicorn from 25.3.0 to 26.0.0
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 25.3.0 to 26.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/25.3.0...26.0.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-version: 26.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-05 23:24:33 +00:00
Roland Geider
05cc51922c Merge pull request #2323 from wger-project/dependabot/uv/boto3-1.43.2
Bump boto3 from 1.42.94 to 1.43.2
2026-05-05 15:55:16 +02:00
Roland Geider
e6e25dce1b Merge pull request #2324 from wger-project/dependabot/uv/icalendar-7.1.0
Bump icalendar from 7.0.3 to 7.1.0
2026-05-05 15:50:35 +02:00
Roland Geider
237dcbc0a5 Merge pull request #2320 from wger-project/dependabot/uv/reportlab-4.5.0
Bump reportlab from 4.4.10 to 4.5.0
2026-05-05 15:49:08 +02:00
Emil
0409bba184 Translated using Weblate (German)
Currently translated at 89.7% (541 of 603 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/de/
2026-05-05 10:11:33 +00:00
Milo Ivir
cb1c812048 Translated using Weblate (Croatian)
Currently translated at 100.0% (603 of 603 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/hr/
2026-05-05 10:11:32 +00:00
Roland Geider
7ff9bfa069 Don't create unnecessary routines in the test 2026-05-04 20:40:19 +02:00
Github-actions
4bb2252572 Automatic linting 2026-05-04 11:47:28 +00:00
Roland Geider
23e0c646ae Properly handle read-only fields for the exercise translation 2026-05-04 13:47:06 +02:00
Roland Geider
67741607c4 Improve exercise deletion logic
Now it's possible to also transfer the translations and media to the replacement
2026-05-04 13:18:49 +02:00
Roland Geider
d68579306d Properly handle locally known deletion logs
When an exercise, translation, etc was deleted locally and later re-imported
via sync, deleting it again raised an IntegrityError on the deletion-log, which
has a uuid unique constraint.

Closes #1601
2026-05-04 10:40:10 +02:00
Roland Geider
5dd5c26799 Add missing description source field to ingredient info endpoint 2026-05-04 09:37:39 +02:00
dependabot[bot]
33216005cb Bump icalendar from 7.0.3 to 7.1.0
Bumps [icalendar](https://github.com/collective/icalendar) from 7.0.3 to 7.1.0.
- [Release notes](https://github.com/collective/icalendar/releases)
- [Changelog](https://github.com/collective/icalendar/blob/main/CHANGES.rst)
- [Commits](https://github.com/collective/icalendar/compare/v7.0.3...v7.1.0)

---
updated-dependencies:
- dependency-name: icalendar
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-02 02:50:22 +00:00
dependabot[bot]
bf3ff11f06 Bump boto3 from 1.42.94 to 1.43.2
Bumps [boto3](https://github.com/boto/boto3) from 1.42.94 to 1.43.2.
- [Release notes](https://github.com/boto/boto3/releases)
- [Commits](https://github.com/boto/boto3/compare/1.42.94...1.43.2)

---
updated-dependencies:
- dependency-name: boto3
  dependency-version: 1.43.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-02 02:50:04 +00:00
dependabot[bot]
455fce4862 Bump reportlab from 4.4.10 to 4.5.0
Bumps [reportlab](https://www.reportlab.com/) from 4.4.10 to 4.5.0.

---
updated-dependencies:
- dependency-name: reportlab
  dependency-version: 4.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-29 23:24:55 +00:00
Roland Geider
e1aac78363 Bump version 2026-04-28 17:20:57 +02:00
Roland Geider
72abb103b4 Set default URL for SYNC_INGREDIENTS_DUMP_URL in settings
This is more robust since currently the sync URL is made from a local setting
which can be changed (this is a todo for another day)
2026-04-28 17:20:48 +02:00
Roland Geider
80ac521dea Use cursor-based api pagination for ingredients
This is more efficient and makes more sense for sync-operations, which
will follow the "next" links anyway and don't need to jump to a specific
page.
2026-04-28 16:08:58 +02:00
Roland Geider
fbe554c01c Use cursor-based pagination for the ingredient overview 2026-04-28 16:08:58 +02:00
Github-actions
022e2ce92f Automatic linting 2026-04-28 11:01:52 +00:00
Roland Geider
8f3b062b01 Fix imports 2026-04-28 13:01:37 +02:00
Github-actions
517c6efa1b Automatic linting 2026-04-28 10:53:45 +00:00
Roland Geider
81a7768366 Update @wger-project/react-components to 26.4.28 2026-04-28 12:53:22 +02:00
Roland Geider
00eb981945 Add throttling for ingredient endpoints to protect against high load 2026-04-28 11:59:18 +02:00
Roland Geider
b1572bee18 Add server version check to sync_all_ingredients_chunked_task 2026-04-28 11:08:10 +02:00
Roland Geider
537f274679 Add test to check session invalidation on password change 2026-04-28 09:46:58 +02:00
Roland Geider
4f534c2d14 Merge pull request #2314 from wger-project/dependabot/uv/tzdata-2026.2
Bump tzdata from 2026.1 to 2026.2
2026-04-27 12:47:50 +02:00