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
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
Roland Geider
6ef1b5e61a
Update @wger-project/react-components to 26.4.14
2026-04-14 21:01:23 +02:00
Roland Geider
9ff01c349e
Add vegan, vegetarian, and nutri-score values to import test mocks
2026-04-14 16:55:33 +02:00
Roland Geider
9a1687ca1f
Make tests more robust
2026-04-14 16:55:09 +02:00
Roland Geider
4b1a1f14e0
Also limit the license name length to 200 characters
...
This is the limit as defined in the db as well
2026-04-14 16:40:48 +02:00
Roland Geider
30671932fa
Delete the models in the correct order
...
Postgres only checks that the foreign key constraints are met at the end of
the migration, while mysql needs them to always be set.
Fixes #926
2026-04-14 15:47:30 +02:00
Roland Geider
ffe173436d
Remove the deprecated exercise search endpoint
2026-04-14 13:44:16 +02:00
Roland Geider
a407b8341d
Make nutri-score badge more consistent
2026-04-14 11:57:43 +02:00
Roland Geider
eda1bb7fd5
Properly split all language codes
2026-04-14 00:16:51 +02:00
Roland Geider
c48d5beb7f
Improve display of vegetarian, vegan and nutri-score values
2026-04-13 22:28:51 +02:00
Roland Geider
830859dc10
Set missing fields to test ingredients
2026-04-13 21:34:14 +02:00
Roland Geider
a449e0cb90
Set the description source in test exercise data
2026-04-13 21:28:36 +02:00
Roland Geider
c079b9287b
Update initial exercise fixtures
2026-04-13 21:01:02 +02:00
Roland Geider
9f8e0a02d9
Make the description source non-nullable
...
This makes handling this down the road easy, since we don't need to do any
null checks or so and has the same behaviour as the compiled "description"
field
2026-04-13 20:59:06 +02:00
Roland Geider
ebf67c903d
Split migrations so that each can run in its own transaction
2026-04-13 18:42:27 +02:00
Roland Geider
3a033ae8e8
Cleanup and fixes
2026-04-13 17:04:39 +02:00
Roland Geider
473b5c5185
Merge branch 'feature/sync-variations' into feature/version-2.5
...
# Conflicts:
# CHANGELOG.md
# wger/exercises/fixtures/exercise-base-data.json
2026-04-13 16:30:01 +02:00
Roland Geider
0dc3ec105e
Cleanup
2026-04-13 15:43:13 +02:00
Roland Geider
ae870e8c2a
Improve overview cache test
...
This was failing on some of the overviews that accessed the session, like
the ingredient one
2026-04-13 15:11:51 +02:00
Roland Geider
6fecb13259
Add PR link to variations group blurb in changelog
2026-04-13 13:05:29 +02:00
Roland Geider
b6b9914beb
Cleanup the ci settings
2026-04-13 13:04:13 +02:00
Roland Geider
e5e2bda624
Move the exercise variation to a field in the exercise table
...
This makes it now trivial to sync them to local instances
2026-04-13 13:02:18 +02:00
Roland Geider
e5bc2d2c92
Add orphan variation handling to exercises health check command
2026-04-12 16:16:26 +02:00
Roland Geider
7a4b7e25c0
Make tests more robusts
...
Previously these were failing on postgres, but passed on sqlite
2026-04-12 15:46:04 +02:00
Roland Geider
5cb269d5cf
Sync exercise variations as well
...
For this, a new UUID field is added.
2026-04-12 15:37:16 +02:00
Roland Geider
4d1649fff9
Allow filtering by variations
...
This was probably removed by mistake in the past and was causing the exercise view
to always show the wrong grouped exercises
2026-04-12 14:31:09 +02:00
Roland Geider
1c8335cb1f
Fix bug that wasn't properly replacing exercises
...
When deleting an exercise with a replacement, this was causing the exercise
to simply being deleted in the current wger instance (syncs did indeed work
via the deletion log)
2026-04-12 11:47:07 +02:00
Roland Geider
0eeb149b2e
Remove unused exercise management commands
...
These were used some time ago when the database was reworked more or less
as one-off scripts
2026-04-12 00:15:28 +02:00
Roland Geider
2451480fbc
Refactor and simplify the intensity calculations and add some tests
2026-04-11 23:27:41 +02:00
Roland Geider
6c8b29e32b
Use correct variable for weeks
...
This was working correctly before by chance only
2026-04-11 23:27:41 +02:00
Roland Geider
43f780b7b7
Ignore patch-versions when dependencies change
2026-04-11 23:27:41 +02:00
Roland Geider
c890308e2b
Make test for cached overview more robust
2026-04-11 23:27:41 +02:00
Roland Geider
bc1168d453
Better handling of timezone aware datetimes
...
This was also causing warnings to be written to the console
2026-04-11 23:27:41 +02:00
Roland Geider
6a9b6c75ca
Merge pull request #2224 from wger-project/dependabot/github_actions/actions/upload-artifact-7
...
Bump actions/upload-artifact from 6 to 7
2026-04-11 17:01:55 +02:00
Roland Geider
41ac45d5ad
Dump server version
2026-04-11 16:37:19 +02:00
Github-actions
3d107d8dbe
Automatic linting
2026-04-11 14:37:06 +00:00
Roland Geider
cfba264a2b
Watch for default keys
...
To prevent local instances using default keys in production, server running
with these will warn and generate random ones
2026-04-11 16:31:59 +02:00
Roland Geider
aa9f03d834
Mark the session as a read-only field
...
The session is always set by the server in the save method, so this better
describes to the clients what actually happens. Sending it doesn't cause
any problems, so this is backwards compatible.
2026-04-11 16:10:36 +02:00
Roland Geider
b9a262b0d0
Properly escape generated HTML
2026-04-11 16:02:05 +02:00
Roland Geider
47ee5af93b
Properly protect the gym config view
2026-04-11 15:55:44 +02:00
Roland Geider
0c407bda38
Merge branch 'feature/rework-nutrition-units' into feature/version-2.5
2026-04-11 15:35:49 +02:00