Commit Graph

8556 Commits

Author SHA1 Message Date
cryptbrn
114cc85bf5 add brand and common name on ingredientinfo serializer 2026-01-31 19:53:09 +07:00
Roland Geider
c14c8ec2e0 Merge pull request #2169 from wger-project/dependabot/npm_and_yarn/jquery-4.0.0
Bump jquery from 3.7.1 to 4.0.0
2026-01-30 14:56:44 +01:00
dependabot[bot]
b3a4033ed0 Bump jquery from 3.7.1 to 4.0.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.7.1 to 4.0.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Changelog](https://github.com/jquery/jquery/blob/main/changelog.md)
- [Commits](https://github.com/jquery/jquery/compare/3.7.1...4.0.0)

---
updated-dependencies:
- dependency-name: jquery
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-30 13:53:44 +00:00
Github-actions
3916504172 Automatic linting 2026-01-30 13:52:45 +00:00
Roland Geider
028b55a2e0 Cleanup js dependencies
jQuery is currently only used for the datatables and after removing the django-compressor
app, it's now better to only link it when needed. "autocomplete" and "masonry-layout" were
not used.
2026-01-30 14:42:24 +01:00
Roland Geider
6708829db7 Switch to using the binary package of psycopg
This should be a bit more efficient than the pure python implementation
2026-01-30 14:37:28 +01:00
Roland Geider
f599e967be Also test that the first slot entry gets a correct order 2026-01-30 14:37:28 +01:00
Roland Geider
03630e5b31 Merge pull request #2160 from franchsli/feature/set_ui_language
Feature: set UI language
2026-01-30 14:37:01 +01:00
Francisco
7f20ef70b9 refactor: remove unused i18n_path variable from language_select 2026-01-29 15:41:31 -05:00
Francisco
c55c935698 refactor: remove unused i18n_path variable from context processor 2026-01-29 15:31:30 -05:00
Francisco
dbf747ef06 feature: set ui language in features.html 2026-01-29 15:28:20 -05:00
Roland Geider
60e925fe36 Merge pull request #2181 from ndimoro/fix/api-improvements
Fix: Auto-calculate SlotEntry.order when not provided via API
2026-01-29 20:28:22 +01:00
Roland Geider
2b57e2ea80 Merge pull request #2177 from wger-project/dependabot/uv/wheel-0.46.3
Bump wheel from 0.45.1 to 0.46.3
2026-01-29 20:10:06 +01:00
Roland Geider
65eb06ace4 Remove null constraint from the order field in SlotEntry and add some tests 2026-01-29 20:06:42 +01:00
dependabot[bot]
4f8e5bf508 Bump wheel from 0.45.1 to 0.46.3
Bumps [wheel](https://github.com/pypa/wheel) from 0.45.1 to 0.46.3.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.45.1...0.46.3)

---
updated-dependencies:
- dependency-name: wheel
  dependency-version: 0.46.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-29 17:32:40 +00:00
Roland Geider
b5e6a0a06d Merge pull request #2178 from wger-project/dependabot/uv/packaging-26.0
Bump packaging from 25.0 to 26.0
2026-01-29 18:31:27 +01:00
Roland Geider
dbadd83f62 Merge pull request #2179 from wger-project/dependabot/uv/django-axes-ipware--approx-eq-8.1.0
Update django-axes[ipware] requirement from ~=8.0.0 to ~=8.1.0
2026-01-29 18:22:33 +01:00
Roland Geider
249a659b37 Merge pull request #2180 from wger-project/dependabot/uv/faker-40.1.2
Bump faker from 38.2.0 to 40.1.2
2026-01-29 18:14:28 +01:00
Roland Geider
9e1556d228 Improved readability by putting the ampersand always at the start of the line 2026-01-29 17:35:23 +01:00
Roland Geider
a9864baeb8 Merge pull request #2168 from yontank/master
Docker image not running
2026-01-29 17:08:51 +01:00
Milo Ivir
5bf6cd5134 Translated using Weblate (Croatian)
Currently translated at 100.0% (588 of 588 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/hr/
2026-01-28 11:47:17 +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
dependabot[bot]
11e3cab094 Bump faker from 38.2.0 to 40.1.2
Bumps [faker](https://github.com/joke2k/faker) from 38.2.0 to 40.1.2.
- [Release notes](https://github.com/joke2k/faker/releases)
- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/joke2k/faker/compare/v38.2.0...v40.1.2)

---
updated-dependencies:
- dependency-name: faker
  dependency-version: 40.1.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 23:25:07 +00:00
dependabot[bot]
076cc1baa1 Update django-axes[ipware] requirement from ~=8.0.0 to ~=8.1.0
Updates the requirements on [django-axes[ipware]](https://github.com/jazzband/django-axes) to permit the latest version.
- [Release notes](https://github.com/jazzband/django-axes/releases)
- [Changelog](https://github.com/jazzband/django-axes/blob/master/CHANGES.rst)
- [Commits](https://github.com/jazzband/django-axes/compare/8.0.0...8.1.0)

---
updated-dependencies:
- dependency-name: django-axes[ipware]
  dependency-version: 8.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 23:24:58 +00:00
dependabot[bot]
4f8baca216 Bump packaging from 25.0 to 26.0
Bumps [packaging](https://github.com/pypa/packaging) from 25.0 to 26.0.
- [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/25.0...26.0)

---
updated-dependencies:
- dependency-name: packaging
  dependency-version: '26.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 23:24:46 +00: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
Francisco
7d32624f5c Merge branch 'master' into feature/set_ui_language 2026-01-21 15:55:57 -05:00
Francisco
8a9dd0cf69 chore: remove compress tag to fix conflict 2026-01-21 15:51:11 -05: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
yontank
a5f479a882 Docker image not running
Fixes #2167
2026-01-18 21:31:13 +02: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