Commit Graph

8153 Commits

Author SHA1 Message Date
Roland Geider
c509e045aa Also compile the react application
This makes sure the frontend and its translations are always up to date.
2025-06-25 17:22:15 +02:00
Roland Geider
3b9615a904 Compile django translations on build time
This makes sure that the .mo files are always up to date in (most?) deployments.
Manual steps that commit these changes can still happen once in a while, like they
currently do.

Fixes #699
2025-06-25 17:21:29 +02:00
Roland Geider
b678b0c275 Add exercise video permissions to the exercise admin group 2025-06-25 16:55:57 +02:00
dependabot[bot]
30518e4ea0 Bump htmx.org from 2.0.4 to 2.0.5
Bumps [htmx.org](https://github.com/bigskysoftware/htmx) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/bigskysoftware/htmx/releases)
- [Changelog](https://github.com/bigskysoftware/htmx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bigskysoftware/htmx/compare/v2.0.4...v2.0.5)

---
updated-dependencies:
- dependency-name: htmx.org
  dependency-version: 2.0.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-25 16:52:28 +02:00
Roland Geider
61deed53c0 Splot exercise permission group
The existing "exercises_editor" can only edit "basic" things related to the
exercises, while the new "exercises_admin" can also edit equipment, muscles, etc.
2025-06-25 16:21:27 +02:00
Ninguém Mesmo
3cbb261231 Translated using Weblate (Portuguese)
Currently translated at 94.7% (575 of 607 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/pt/
2025-06-24 13:01:48 +02:00
Roland Geider
0d16a954e9 Also install gettext in the base image 2025-06-19 11:14:10 +02:00
Roland Geider
1eaabf3fe8 Recreate avif files from their PNG counterparts
It seems some conversion somehow broke them in the past
2025-06-18 21:21:08 +02:00
Roland Geider
960e66e9d5 Update .mo files 2025-06-18 21:09:02 +02:00
Roland Geider
c585289be1 Update react code 2025-06-18 21:09:02 +02:00
Roland Geider
2573ff7975 Merge pull request #1988 from wger-project/dependabot/npm_and_yarn/bootstrap-5.3.7
Bump bootstrap from 5.3.6 to 5.3.7
2025-06-18 17:03:20 +02:00
dependabot[bot]
6b5b4a7218 Bump bootstrap from 5.3.6 to 5.3.7
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.3.6 to 5.3.7.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v5.3.6...v5.3.7)

---
updated-dependencies:
- dependency-name: bootstrap
  dependency-version: 5.3.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-17 23:28:50 +00:00
Roland Geider
313eda5fc9 Bump some dependencies 2025-06-17 13:31:06 +02:00
Kilian
b2d5b2a784 Translated using Weblate (French)
Currently translated at 100.0% (607 of 607 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/fr/
2025-06-12 17:01:53 +02:00
Oscar González
0cde4d06ce Translated using Weblate (Spanish)
Currently translated at 100.0% (607 of 607 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/es/
2025-06-03 11:01:46 +02:00
DR
441b181ad8 Translated using Weblate (Hebrew)
Currently translated at 0.8% (5 of 607 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/he/
2025-06-01 13:35:29 +02:00
kobo
ac75f7e39b Translated using Weblate (Korean)
Currently translated at 100.0% (607 of 607 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/ko/
2025-05-29 07:01:52 +00:00
Roland Geider
7620b09cd6 Merge pull request #1978 from hangy/optimize-landing-page-images
perf: Optimize landing page images
2025-05-27 12:03:41 +02:00
Roland Geider
23a6523857 Merge pull request #1976 from hangy/patch-1
docs: Fix demo container name
2025-05-27 12:03:01 +02:00
hangy
5bb2f9fe4e Add lazy loading to images in features template for improved performance 2025-05-26 01:26:55 +02:00
hangy
9e1ef3ba15 Add AVIF images for landing page and update HTML to use them as sources 2025-05-26 01:15:30 +02:00
hangy
81aff98c2c docs: Fix demo container name 2025-05-25 11:47:47 +02:00
Christijan Mulder
34c60249fa Translated using Weblate (Dutch)
Currently translated at 89.4% (543 of 607 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/nl/
2025-05-24 16:02:59 +00:00
Roland Geider
1b2fa3af05 Bump dependency versions 2025-05-22 14:16:18 +02:00
Github-actions
14979faeed Automatic linting 2025-05-22 10:05:45 +00:00
Roland Geider
8f1f3e5770 Merge pull request #1975 from wger-project/feature/ingredient-sync-log
Improve logging for ingredient sync operations
2025-05-22 12:05:26 +02:00
dependabot[bot]
9d5951f6f7 Bump datatables.net-bs5 from 2.3.0 to 2.3.1
Bumps [datatables.net-bs5](https://github.com/DataTables/Dist-DataTables-Bootstrap5) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/DataTables/Dist-DataTables-Bootstrap5/releases)
- [Commits](https://github.com/DataTables/Dist-DataTables-Bootstrap5/compare/2.3.0...2.3.1)

---
updated-dependencies:
- dependency-name: datatables.net-bs5
  dependency-version: 2.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-22 11:43:15 +02:00
Roland Geider
a93fb944b9 Merge pull request #1967 from perrito666/horacio/make_trainer_templates_visible_on_impersonation
Ensure trainers see their templates impersonating.
2025-05-22 11:43:02 +02:00
Roland Geider
a596bc0fa1 Add some simple tests to check correct filtering of routines 2025-05-22 11:17:12 +02:00
Github-actions
25cb353869 Automatic linting 2025-05-21 14:56:43 +00:00
Roland Geider
874daa7abb Don't show every single updated ingredient
We now use tqdm to show a nice progress bar when calling this via the command
line, and a more general "page x of y" when using the async method
2025-05-21 16:56:09 +02:00
Roland Geider
5469a1f64f Don't do sanity checks from other wger instances, this is not really needed 2025-05-21 15:01:09 +02:00
Roland Geider
b08c874800 Don't always check for OFF sources
When fetching images from a wger instance, we don't need to check the source, since
there can be (in theory) manually uploaded images.
2025-05-21 14:58:25 +02:00
Roland Geider
c47885f07e Small refactoring of ingredient and image import logic
We had a small bug that didn't correctly set the source for the ingredients (OFF,
USDA, etc.), which in turn was preventing the individual ingredient image sync from
working, since we were filtering out the ones that were not from OFF.
2025-05-21 14:54:27 +02:00
Roland Geider
f3c4aa6c06 Don't continue if there are no results... 2025-05-18 13:57:28 +02:00
Richard Mrosk
1b5c922841 Translated using Weblate (German)
Currently translated at 100.0% (607 of 607 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/de/
2025-05-17 19:01:44 +02:00
Максим Горпиніч
8e39c2d452 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (607 of 607 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/uk/
2025-05-16 18:27:08 +02:00
Richard Mrosk
8201b41a93 Translated using Weblate (German)
Currently translated at 100.0% (607 of 607 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/de/
2025-05-16 18:27:08 +02:00
Roland Geider
6d1eac71fa Merge pull request #1970 from wbonicki/feature/1956-handling-special-charactect-in-OFF-product-import
Handle special characters in OFF product import #1956
2025-05-16 16:08:55 +02:00
Bonicki Wojciech
bca2332d7b characters_groups_to_remove deleted and chracters_to_remove changed to set 2025-05-16 15:45:24 +02:00
Roland Geider
c58b3c690f Fix markdown linting errors 2025-05-16 15:39:25 +02:00
Github-actions
f94d393b4c Automatic linting 2025-05-16 13:26:55 +00:00
Roland Geider
bbb7251c12 Add resistance bands as available equipment 2025-05-16 15:26:36 +02:00
Roland Geider
f9cbe557bb Update react code 2025-05-16 15:25:11 +02:00
Roland Geider
5806f2a555 Properly duplicate routine data... 2025-05-16 15:23:54 +02:00
Roland Geider
88f8262b11 Fix URL schema 2025-05-16 15:23:54 +02:00
Roland Geider
4ed567a579 Remove comment, auto_add_now is available on the model 2025-05-16 15:23:54 +02:00
Roland Geider
bb35625f99 Add "trimmed" attribute to blocktranslate
This makes the extracted translation strings easier to handle
2025-05-16 15:23:54 +02:00
Github-actions
5eadca877d Automatic linting 2025-05-11 16:02:55 +00:00
Roland Geider
bce70be447 Merge pull request #1859 from eyJhb/proxyauthheader
adds support for auth proxy header
2025-05-11 18:02:43 +02:00