Roland Geider
65eb06ace4
Remove null constraint from the order field in SlotEntry and add some tests
2026-01-29 20:06:42 +01:00
ndimoro
677da4427b
Fix: Auto-calculate SlotEntry.order when not provided via API
...
The SlotEntry model's `order` field was defined with `blank=True` but no
default value, causing 500 Internal Server Error when creating entries
via /api/v2/slot-entry/ without specifying an order.
Changes:
- Add `null=True` to allow Python None value before save
- Auto-calculate order in save() method as max(existing_orders) + 1
This matches the behavior of similar models (Day, Slot) which have
default=1 for their order fields.
Fixes: IntegrityError "null value in column 'order' violates not-null constraint"
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-23 13:39:39 -07:00
E. Ta.
9262550a04
Translated using Weblate (Arabic (Saudi Arabia))
...
Currently translated at 38.6% (227 of 588 strings)
Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ar_SA/
2026-01-23 00:48:42 +01:00
E. Ta.
cf4edfdad6
Translated using Weblate (Arabic (Saudi Arabia))
...
Currently translated at 36.9% (217 of 588 strings)
Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ar_SA/
2026-01-22 03:01:59 +01:00
heppocogne
f792f65a6f
Translated using Weblate (Japanese)
...
Currently translated at 18.0% (106 of 588 strings)
Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ja/
2026-01-22 03:01:58 +01:00
Github-actions
e18ea0036b
Automatic linting
2026-01-21 06:32:57 +00:00
Roland Geider
6715b849c4
Revert minimum flutter app version
...
Bumping this was probably a mistake, since the only changes was the new trophy
APIs and older app versions can simply ignore them
2026-01-21 07:32:30 +01:00
Roland Geider
bbfc0c1e20
Bump app version
2026-01-21 07:32:03 +01:00
Ninguém Mesmo
05f83da601
Translated using Weblate (Portuguese)
...
Currently translated at 97.1% (571 of 588 strings)
Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/pt/
2026-01-20 20:01:53 +00:00
E. Ta.
4a49326938
Translated using Weblate (Arabic (Saudi Arabia))
...
Currently translated at 29.5% (174 of 588 strings)
Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ar_SA/
2026-01-20 20:01:51 +00:00
E. Ta.
bd4c2c246b
Translated using Weblate (Arabic (Saudi Arabia))
...
Currently translated at 13.2% (78 of 588 strings)
Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ar_SA/
2026-01-19 14:01:52 +01:00
Максим Горпиніч
32cfa473c8
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (588 of 588 strings)
Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/uk/
2026-01-19 14:01:49 +01:00
Github-actions
57e6923f2c
Automatic linting
2026-01-18 12:06:40 +00:00
Roland Geider
9f76bde20c
Update authors and translators list
2.4
2026-01-18 13:04:46 +01:00
Roland Geider
89adaf6921
Remove... unnecessary break statement
2026-01-18 13:04:27 +01:00
Roland Geider
d054712639
Bump wger version and min flutter app version
2026-01-18 12:44:18 +01:00
Roland Geider
839f5163e2
Bump wger react components version
2026-01-18 12:42:57 +01:00
Roland Geider
c5281d2665
Formatting
2026-01-18 12:27:22 +01:00
Github-actions
bc061acfdc
Automatic linting
2026-01-18 11:22:18 +00:00
Roland Geider
421ea60d1d
Merge pull request #2147 from justin-pinheiro/pr-trophies
...
PR trophies
2026-01-18 12:22:06 +01:00
Roland Geider
f8578f4349
Fix duplicated trophy name
2026-01-17 15:04:08 +01:00
Roland Geider
613c4ca9aa
Merge branch 'master' into fork/justin-pinheiro/pr-trophies
...
# Conflicts:
# wger/locale/ar_SA/LC_MESSAGES/django.po
2026-01-17 14:54:33 +01:00
Roland Geider
fc1381e8f7
Remove unnecessarily translated strings
...
These made sense when we were using django forms, but not with the mobile app and
the react one, which use their own translation systems. This just makes way more
work for all the translations, so it's better to just cull everything not needed.
2026-01-17 14:51:21 +01:00
Roland Geider
5367fde51b
Extract trophy data so it can be translated
2026-01-17 14:20:06 +01:00
E. Ta.
5a6213c477
Translated using Weblate (Arabic (Saudi Arabia))
...
Currently translated at 12.4% (75 of 603 strings)
Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ar_SA/
2026-01-16 01:01:54 +01:00
Roland Geider
290faf0a80
Prettify the output of the statistics calculation
2026-01-15 16:37:15 +01:00
Roland Geider
c673caba7f
Merge branch 'master' into fork/justin-pinheiro/pr-trophies
...
# Conflicts:
# settings/settings_global.py
2026-01-15 11:09:39 +01:00
Github-actions
ea626844af
Automatic linting
2026-01-11 20:29:13 +00:00
Roland Geider
136b24d520
Merge pull request #2162 from wger-project/feature/remove-compressor
...
Remove django compressor
2026-01-11 21:29:00 +01:00
Roland Geider
6405b10755
Remove django compressor
...
Our react components' main.js could not be added in the compression, so sometimes users
would get outdated files served. The LenientManifestStaticFilesStorage now makes sure
that the static files get a hash in the filename. Django compressor was removed since
most of the js and css files are already minified and modern http versions can handle
files better.
2026-01-11 17:42:44 +01:00
Github-actions
4f7e61f735
Automatic linting
2026-01-11 11:13:23 +00:00
Roland Geider
ab981a3db1
Merge pull request #2153 from wger-project/feature/refactor-settings
...
Refactor application settings
2026-01-11 12:13:12 +01:00
Roland Geider
3ad2310a41
Fix trophy urls
2026-01-10 23:24:36 +01:00
Roland Geider
65a0108657
Use rir in the 1 RM calculation, if available
2026-01-10 12:42:51 +01:00
Roland Geider
db362bf94d
Commit trophy icons
2026-01-10 12:20:00 +01:00
Roland Geider
dd2ecbd32e
Add admin trophy overview.
...
This is mainly to check that the descriptions, images, etc. are correct without having
to earn them. Adding this as an API endpoint would be a bit more work, specially for things
like the times a trophy has been earned.
2026-01-10 12:13:29 +01:00
Roland Geider
ec9e8149ab
Add general formatting helper to base trophy checker
2026-01-09 22:50:27 +01:00
Roland Geider
10bec7544c
Cleanup
2026-01-09 19:55:56 +01:00
Roland Geider
1c276ed3d7
Set PYTHONPATH
2026-01-09 16:03:50 +01:00
Roland Geider
2b03ac7864
Delete settings.py file from docker folder, this is not needed anymore
2026-01-09 14:28:34 +01:00
Roland Geider
b04e7b34cd
Add django compressor's COMPRESS_OFFLINE option for offline compression
2026-01-09 13:41:38 +01:00
Gevorg Danielyan
95c94df7a5
Translated using Weblate (Russian)
...
Currently translated at 97.8% (590 of 603 strings)
Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ru/
2026-01-03 23:01:52 +00:00
MR
8810cc5016
Translated using Weblate (Arabic (Saudi Arabia))
...
Currently translated at 11.4% (69 of 603 strings)
Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ar_SA/
2025-12-31 22:36:28 +01:00
Roland Geider
03c6251bcb
Merge pull request #2151 from wger-project/dependabot/npm_and_yarn/datatables.net-bs5-2.3.6
...
Bump datatables.net-bs5 from 2.3.5 to 2.3.6
2025-12-29 13:56:24 +01:00
Roland Geider
a8ba6fe2d6
Refactor the way the settings are handled.
...
Instead of a "create-settings" command, which didn't contain all the options
and was a bit awkward, we now have specific settings used for different things.
2025-12-28 21:32:44 +01:00
dependabot[bot]
552484cc77
Bump datatables.net-bs5 from 2.3.5 to 2.3.6
...
Bumps [datatables.net-bs5](https://github.com/DataTables/Dist-DataTables-Bootstrap5 ) from 2.3.5 to 2.3.6.
- [Release notes](https://github.com/DataTables/Dist-DataTables-Bootstrap5/releases )
- [Commits](https://github.com/DataTables/Dist-DataTables-Bootstrap5/compare/2.3.5...2.3.6 )
---
updated-dependencies:
- dependency-name: datatables.net-bs5
dependency-version: 2.3.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-12-23 23:00:58 +00:00
Roland Geider
f580865f0d
Rename workflows
2025-12-23 20:37:16 +01:00
Roland Geider
3b7423e337
Bump dependencies
2025-12-23 20:37:16 +01:00
Roland Geider
6a97d8b1a7
Rename checker class and configure more trophies
2025-12-22 20:47:10 +01:00
Roland Geider
4dfa712b91
Start refining the trophy values
2025-12-22 16:43:09 +01:00