Commit Graph

9047 Commits

Author SHA1 Message Date
dependabot[bot]
c85a8ea2e1 Bump tornado from 6.5.5 to 6.5.7
Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.5.5 to 6.5.7.
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](https://github.com/tornadoweb/tornado/compare/v6.5.5...v6.5.7)

---
updated-dependencies:
- dependency-name: tornado
  dependency-version: 6.5.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-17 00:50:06 +00:00
Roland Geider
326ebb5337 Merge pull request #2349 from wger-project/dependabot/uv/gevent-26.5.0
Bump gevent from 26.4.0 to 26.5.0
2026-06-16 15:43:24 +02:00
Roland Geider
c1e1fc59cc Merge pull request #2382 from wger-project/dependabot/uv/pyjwt-2.13.0
Bump pyjwt from 2.12.1 to 2.13.0
2026-06-16 15:35:20 +02:00
dependabot[bot]
283d14b7bf Bump pyjwt from 2.12.1 to 2.13.0
Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.12.1 to 2.13.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.12.1...2.13.0)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-version: 2.13.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-16 03:29:27 +00:00
Roland Geider
c68b3e958c Remove unsued settings 2026-06-14 22:12:41 +02:00
Roland Geider
9421e90b04 Set a maximum limit for pagination sizes 2026-06-14 22:12:41 +02:00
Roland Geider
168e50c7e6 Don't cache routines that have a need_logs_to_advance set
Otherwise, the wrong calculated values would be shown to the user
2026-06-14 22:12:41 +02:00
Roland Geider
74f4493ae8 Don't cache routines that have a need_logs_to_advance set
Otherwise, the wrong calculated values would be shown to the user
2026-06-14 22:12:41 +02:00
Roland Geider
cfa27a7fc7 Properly check request with url_has_allowed_host_and_scheme before redirecting 2026-06-14 22:12:41 +02:00
Roland Geider
c55c2a06cf Fix filtering for base configs (even if this wasn't being used) 2026-06-14 22:12:41 +02:00
Roland Geider
a78548c07e Fix config cache for progressions starting after iteration 1 2026-06-14 22:12:41 +02:00
Roland Geider
08fe8eb3c0 Properly handle the max-* values when calculating progression rules 2026-06-14 22:12:41 +02:00
Roland Geider
898443af17 Merge pull request #2370 from wger-project/dependabot/uv/tqdm-4.68.1
Bump tqdm from 4.67.3 to 4.68.1
2026-06-14 13:37:50 +02:00
Github-actions
a5874e8fee Automatic linting 2026-06-14 11:20:39 +00:00
Roland Geider
0ff2e5d9ea Add throttling for exercise creation 2026-06-14 12:44:14 +02:00
Roland Geider
6ffb22768b Put the validator in the correct field
"description" is simply the rendered HTML from "description_source"
2026-06-13 15:24:26 +02:00
dependabot[bot]
112d3b3b00 Bump tqdm from 4.67.3 to 4.68.1
Bumps [tqdm](https://github.com/tqdm/tqdm) from 4.67.3 to 4.68.1.
- [Release notes](https://github.com/tqdm/tqdm/releases)
- [Commits](https://github.com/tqdm/tqdm/compare/v4.67.3...v4.68.1)

---
updated-dependencies:
- dependency-name: tqdm
  dependency-version: 4.68.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-05 23:23:09 +00:00
Roland Geider
ea7844731f Merge pull request #2367 from wger-project/dependabot/uv/django-redis-7.0.0
Bump django-redis from 6.0.0 to 7.0.0
2026-06-04 10:24:20 +02:00
Roland Geider
f36704da97 Small improvement to deletion log handling
When an exercise was replaced by another upstream, the sync would correctly update
existing routines and logs, but would not update the cache, causing the structure
data to point at stale exercise data.

Closes https://github.com/wger-project/react/issues/1253
2026-06-03 20:30:20 +02:00
dependabot[bot]
d5a316eb69 Bump django-redis from 6.0.0 to 7.0.0
Bumps [django-redis](https://github.com/jazzband/django-redis) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/jazzband/django-redis/releases)
- [Changelog](https://github.com/jazzband/django-redis/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/jazzband/django-redis/compare/6.0.0...7.0.0)

---
updated-dependencies:
- dependency-name: django-redis
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-03 16:16:28 +00:00
Roland Geider
2ee51f1dbb Make the extract extract_info_from_wger_api more robust
The API returns nested objects, while the bulk dump doesn't, this commit
makes sure the logic can work with both. Ideally we would probably want
to commit to one format for both but for now that's not necessary.
2026-06-02 20:41:43 +02:00
Github-actions
6fd8e29a5d Automatic linting 2026-06-02 17:31:52 +00:00
Roland Geider
ac570fda97 Fix ingredient sync
The API returns the sub-objects as well
2026-06-02 19:31:19 +02:00
Roland Geider
f0fd2fb9b9 Merge pull request #2363 from wger-project/dependabot/uv/openfoodfacts-5.1.0
Bump openfoodfacts from 5.0.1 to 5.1.0
2026-06-02 15:11:35 +02:00
dependabot[bot]
55e2c0e451 Bump openfoodfacts from 5.0.1 to 5.1.0
Bumps [openfoodfacts](https://github.com/openfoodfacts/openfoodfacts-python) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/openfoodfacts/openfoodfacts-python/releases)
- [Changelog](https://github.com/openfoodfacts/openfoodfacts-python/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/openfoodfacts/openfoodfacts-python/compare/v5.0.1...v5.1.0)

---
updated-dependencies:
- dependency-name: openfoodfacts
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-30 00:38:12 +00:00
Roland Geider
28118d2486 Fix test_search_new_code mock returning MagicMock instead of None 2026-05-27 17:02:45 +02:00
Roland Geider
9fe528d8c1 Merge pull request #2356 from anjakDev/fix/unknown-language-code-bug
fix: unknown language code is ignored instead of defaulted to english
2026-05-26 14:09:53 +02:00
Roland Geider
612321226e Merge pull request #2351 from Ewin7/fix/barcode-search
feat: trigger Open Food Facts lookup on manual barcode text search
2026-05-26 14:07:23 +02:00
Roland Geider
4078b96658 Merge pull request #2355 from anjakDev/fix/barcode-fetch-result-never-returned
fix: barcode fetch result was never returned
2026-05-26 13:02:52 +02:00
Roland Geider
8ac9e9dc4b Merge pull request #2354 from Marcelluxx/fix/docker-doc-link-2353
docs: fix broken Docker documentation link in README.md (#2353)
2026-05-26 12:55:33 +02:00
Roland Geider
e50551a417 Use correct serializer for nutritional values 2026-05-26 12:16:43 +02:00
Anja Klipic
d15a5a646c fix: unknown language code is ignored instead of defaulted to english 2026-05-25 21:44:19 +02:00
Anja Klipic
8483c7c566 fix: barcode fetch result was never returned 2026-05-25 16:29:08 +02:00
Marcello Mendo
c37745bd3c docs: fix broken Docker documentation link in README.md (#2353) 2026-05-24 21:45:16 +02:00
Dario Coltri
a6cddb94d4 Translated using Weblate (Italian)
Currently translated at 100.0% (603 of 603 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/it/
2026-05-24 00:11:34 +02:00
Ewin7
f6b2bdb528 test: mock search_barcode in search API tests
- Mock the search_barcode function instead of fetch_ingredient_from_off.
- Assert barcode search is called with expected arguments
- Added a test ensuring a barcode match is returned directly
2026-05-23 14:34:09 +02:00
Roland Geider
0732612836 Add translation files for Uzbek and Vietnamese
These already exist in the react component
2026-05-22 11:23:44 +02:00
Roland Geider
aa51ff64e7 Add Catalan to (db) list of languages 2026-05-22 11:23:44 +02:00
Roland Geider
2ad2dec5a1 Add translation file for Macedonian
There is already some translation made for the frontend
2026-05-22 11:23:44 +02:00
Roland Geider
4bb74414c8 Add Romanian to language fixture
The translation already existed...
2026-05-22 11:23:44 +02:00
Roland Geider
5f03b31ce0 Merge pull request #2348 from wger-project/dependabot/uv/django-allauth-65.17.0
Bump django-allauth from 65.16.1 to 65.17.0
2026-05-22 09:32:12 +02:00
Ewin7
fcb14a8ecb style: clarify docs and adjust long-number test input 2026-05-22 01:41:46 +02:00
Ewin7
e8b02d0348 feat: trigger Open Food Facts lookup on barcode text search
- Added logic to `search_name_fulltext` to detect 8,12,13,14 digit numeric strings
- Searches through the existing `search_barcode` method
- Fallback to standard full-text search if no barcode match is found
- Added unit tests
2026-05-22 01:31:01 +02:00
Roland Geider
bd825e2558 Properly check the validity of the "next" parameter in the login view 2026-05-21 09:30:36 +02:00
Roland Geider
48a9aa18dd Always generate the absolute urls for exercise images and videos
When pre-warming the exercise cache via celery, we have no request to build the
absolute url from. In these cases, fall back to the SITE_URL settings, or just
return the relative path otherwise

See https://github.com/wger-project/flutter/issues/1193
2026-05-21 09:30:36 +02:00
dependabot[bot]
4de7138437 Bump gevent from 26.4.0 to 26.5.0
Bumps [gevent](https://github.com/gevent/gevent) from 26.4.0 to 26.5.0.
- [Release notes](https://github.com/gevent/gevent/releases)
- [Changelog](https://github.com/gevent/gevent/blob/master/docs/changelog_pre.rst)
- [Commits](https://github.com/gevent/gevent/compare/26.4.0...26.5.0)

---
updated-dependencies:
- dependency-name: gevent
  dependency-version: 26.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-21 00:53:06 +00:00
dependabot[bot]
0823c65379 Bump django-allauth from 65.16.1 to 65.17.0
Bumps [django-allauth](https://github.com/sponsors/pennersr) from 65.16.1 to 65.17.0.
- [Commits](https://github.com/sponsors/pennersr/commits)

---
updated-dependencies:
- dependency-name: django-allauth
  dependency-version: 65.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-21 00:52:45 +00:00
Roland Geider
c7142915cb Merge pull request #2347 from wger-project/dependabot/uv/idna-3.15
Bump idna from 3.13 to 3.15
2026-05-20 20:48:50 +02:00
Roland Geider
a4d631a82d Merge pull request #2346 from wger-project/dependabot/uv/django-formtools-2.6.1
Bump django-formtools from 2.5.1 to 2.6.1
2026-05-20 20:45:46 +02:00
Roland Geider
f31bf0c86f Test the app on python 3.14
Still leaving 3.10 as it's the version found e.g. in ubuntu 22.04
2026-05-20 20:42:38 +02:00