Commit Graph

9319 Commits

Author SHA1 Message Date
Roland Geider
19c9782249 Restrict trainer login access 2026-04-26 14:25:50 +02:00
Roland Geider
c1144533bf Formatting 2026-04-26 14:02:52 +02:00
Roland Geider
47d646c241 Restrict access to routine logs and stats to owners only 2026-04-26 14:02:34 +02:00
Roland Geider
85e12a6137 Enforce email uniqueness validation
This now uses django-allauth's helper
2026-04-26 13:49:31 +02:00
Roland Geider
da22adbe5d Use POST for generating new API keys 2026-04-26 12:43:09 +02:00
Roland Geider
0ba371bbb5 Validate the host and protocol when redirecting 2026-04-26 12:34:34 +02:00
Roland Geider
d30e85b23f Sanitize CSV cell values to neutralize formula triggers 2026-04-26 12:19:53 +02:00
Roland Geider
b51f472ab2 Implement better gym membership checks 2026-04-26 12:11:52 +02:00
Roland Geider
e1d329ff4e Implement better gym membership checks 2026-04-26 11:58:35 +02:00
Roland Geider
c806a58f13 Return error codes to the client 2026-04-26 11:45:46 +02:00
dependabot[bot]
5e803565e3 Bump tzdata from 2026.1 to 2026.2
Bumps [tzdata](https://github.com/python/tzdata) from 2026.1 to 2026.2.
- [Release notes](https://github.com/python/tzdata/releases)
- [Changelog](https://github.com/python/tzdata/blob/master/NEWS.md)
- [Commits](https://github.com/python/tzdata/compare/2026.1...2026.2)

---
updated-dependencies:
- dependency-name: tzdata
  dependency-version: '2026.2'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-24 23:24:34 +00:00
Roland Geider
bd0bcd9134 Change measurement entry default to be timezone-aware 2026-04-24 10:26:57 +02:00
Roland Geider
0091ab43d8 Upgrade dependencies 2026-04-23 16:27:28 +02:00
Roland Geider
ac04518ddb Cleanup 2026-04-23 15:48:32 +02:00
Roland Geider
d6726acf9e Merge pull request #2309 from pankaj-basnet/fix/core-urls-typo--and-serializers
Fix/core url typo  and serializer fields
2026-04-23 15:48:19 +02:00
Pankaj Basnet
470b632af3 fix(core): typo in weight unit URL string. Update urls.py . 2026-04-23 02:14:12 +05:45
Pankaj Basnet
9efc68cbaf fix(api): use correct DRF field types in wger/core.api.serializers.py 2026-04-23 02:11:11 +05:45
Roland Geider
72a19a13c3 Fix tests 2026-04-22 14:34:38 +02:00
Roland Geider
3ec321c34d Add new POWERSYNC_URL_PATH config option
This will be the default for mostly everyone since the powersync service
will be behind a reverse proxy. For other settings (or during development)
POWERSYNC_URL is still available.
2026-04-22 12:38:01 +02:00
Roland Geider
5d029ac31c Cast the userId as a string
Otherwise, the type mismatch can cause the sync logic in powersync to not
find the user's data
2026-04-21 21:59:56 +02:00
Ninguém Mesmo
4ee844dd41 Translated using Weblate (Portuguese)
Currently translated at 100.0% (603 of 603 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/pt/
2026-04-21 20:09:50 +02:00
Roland Geider
5b26a0650b Add management command to prepare the powersync storage 2026-04-21 14:37:57 +02:00
Roland Geider
50682d0b7e Add check for default powersync keys 2026-04-21 13:17:26 +02:00
Roland Geider
cf9a41fd7a Add powersync JWT key generator 2026-04-21 12:49:59 +02:00
Roland Geider
c98ab1b1c1 Refactor and simplify the exercise filterset
It is now possible to search for exercise names with an exact match instead of
always using the fuzzy fulltext one.

Needed for https://github.com/wger-project/react/pull/1235
2026-04-20 21:20:53 +02:00
Laurent Rousseau
d02e5714f6 Translated using Weblate (French)
Currently translated at 89.2% (538 of 603 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/fr/
2026-04-20 14:09:51 +00:00
Github-actions
87c0185840 Automatic linting 2026-04-20 09:49:26 +00:00
Roland Geider
d06180e4f4 Properly register postgres-specific behaviour
Fixes #2304
2026-04-20 11:49:12 +02:00
Roland Geider
bcfdde1a96 Prevent duplicates of ingredient weight units on OFF import 2026-04-20 11:49:12 +02:00
Roland Geider
b28f1a2faf Properly filter out PR trophies 2026-04-20 11:49:12 +02:00
Roland Geider
d57901b39c Add caps for progression calculations to prevent overflow 2026-04-20 11:49:12 +02:00
Roland Geider
13d2688fc6 Simplify generation of JWT keys for powersync 2026-04-20 11:34:36 +02:00
Roland Geider
e213974c85 Merge pull request #2305 from kiranannadatha8/feature/2295-nutriscore-range-filters
feat(nutrition): allow range lookups on nutriscore ingredient filter
2026-04-19 12:43:45 +02:00
kiranannadatha8
374b8e8aaf feat: allow range lookups on nutriscore ingredient filter
Extend IngredientFilterSet to accept gt/gte/lt/lte lookups on the
nutriscore field in addition to the existing exact/in lookups. This
enables range queries from the API, e.g. "better than C"
(?nutriscore__lt=c) needed by the ingredient autocompleter UIs.

Refs #2295
2026-04-19 00:49:47 -04:00
Roland Geider
4f7cfb62e8 Also migrate the data stored in the json field for context data 2026-04-18 19:33:12 +02:00
Roland Geider
907115fc06 Split migrations so they run in individual transactions 2026-04-18 19:28:21 +02:00
Roland Geider
ffde1e5538 Merge branch 'master' into powersync 2026-04-17 13:06:16 +02:00
Roland Geider
78b511aa72 Add caps for progression calculations to prevent overflow 2026-04-17 11:54:00 +02:00
Roland Geider
7f52a341b1 Centralize owner checking logic 2026-04-16 17:45:49 +02:00
Roland Geider
dd9a1231fb Fix migrations 2026-04-16 17:27:15 +02:00
Roland Geider
7ddb168da1 Return errors to the powersync client 2026-04-16 16:59:58 +02:00
Roland Geider
e76e0784ed Merge branch 'master' into powersync
# Conflicts:
#	CHANGELOG.md
#	pyproject.toml
#	settings/main.py
#	uv.lock
#	wger/manager/models/log.py
2026-04-16 13:03:29 +02:00
Roland Geider
00d7a5df5c Improve indices used for the ingredient full text search 2026-04-16 12:36:05 +02:00
Roland Geider
839cafb9d4 Reset changelog 2026-04-16 12:15:05 +02:00
Roland Geider
9599fbd1f6 Add command to find deleted OFF products
See #1676
2026-04-16 12:03:27 +02:00
Roland Geider
f8470cc8ae After the release is before the release 2026-04-16 11:55:19 +02:00
Github-actions
c1fca6bdf7 Automatic linting 2.5 2026-04-15 20:06:12 +00:00
Roland Geider
f270e5781e Merge pull request #2286 from wger-project/feature/version-2.5
Version 2.5
2026-04-15 22:05:53 +02:00
Roland Geider
3b2ab21c4b Update test fixtures 2026-04-14 23:14:26 +02:00
Roland Geider
e76d9c4545 Merge branch 'fork/sg172003/feature/measurement-datetime-field' into feature/version-2.5 2026-04-14 23:10:25 +02:00