Commit Graph
6314 Commits
Author SHA1 Message Date
Roland Geider 177e3e2bc0 Save beat database to its own folder 2023-03-15 22:23:59 +01:00
Roland Geider a9e204c614 Move actual sync logic to celery tasks 2023-03-06 14:52:02 +01:00
Roland Geider 5fbd58bd78 Add stubs to sync images and videos with celery 2023-03-05 20:52:12 +01:00
Roland Geider c8bf068e13 Sort options alphabetically 2023-03-05 17:46:34 +01:00
Roland Geider 7aab43d3b9 Add configuration option to sync the exercises with celery 2023-03-05 17:44:50 +01:00
Roland Geider 722d2b66a6 Refactor some sync scripts
Common logic is extracted to a sync file which can be called from the regular
manage.py management scripts or added as a scheduled celery task.
2023-03-05 14:49:42 +01:00
Roland Geider 71036c9c5c Rename celery configuration file 2023-03-05 12:45:52 +01:00
Roland Geider 67dcd0627f Move celery start scripts to folder where the Dockerfile is
This makes more sense and makes the path cleaner
2023-03-04 13:51:34 +01:00
Roland Geider ebb43c5b11 Refactor options used for downloading product images 2023-03-04 13:03:58 +01:00
Roland Geider 9f78e9a789 Fix migration 2023-03-03 15:32:42 +01:00
Roland Geider 6a3250b948 Set a general wger instance from which to sync and download data 2023-02-28 15:54:32 +01:00
Roland Geider dda73ec2fa Merge branch 'master' into feature/ingredient-images
# Conflicts:
#	extras/docker/development/settings.py
#	requirements.txt
#	wger/exercises/management/commands/sync-exercises.py
#	wger/settings.tpl
2023-02-14 13:45:50 +01:00
Roland Geider 0ae546b4c3 Update react code
This fixes an issue where the translations for the exercise overview
where not being loaded
2023-02-13 16:52:16 +01:00
Roland Geider 17ac0b05f3 Use specific does-not-exist exception 2023-02-13 11:51:33 +01:00
Roland Geider 67642d6bd6 Set all sender emails to value from environmental variable 2023-02-13 11:51:33 +01:00
Roland Geider 1935e3c029 Take full email from environmental variable 2023-02-13 11:51:33 +01:00
Roland Geider 9fd5b9052a No need to save the image to a variable
If it exists, we continue anyway
2023-02-13 11:51:33 +01:00
Roland Geider 351ac9ed7f Add type hinting to parameter 2023-02-13 11:51:33 +01:00
Roman Kalivoda dbfb7cfc7d Translated using Weblate (Czech)
Currently translated at 94.4% (698 of 739 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/cs/
2023-02-13 11:39:56 +01:00
Roland Geider 7995c28b36 Use function to return complete header object 2023-02-08 16:21:44 +01:00
Roland Geider 865292dbf3 Bump version 2023-02-08 14:57:17 +01:00
Github-actions 51d4052630 Automatic linting 2023-02-08 13:57:03 +00:00
Roland Geider 7c9b0bfdeb No need to set the status for images anymore 2023-02-08 13:04:25 +01:00
Roland Geider 22a83d93db Merge pull request #1251 from wger-project/dependabot/github_actions/docker/setup-buildx-action-2.4.1
Bump docker/setup-buildx-action from 2.2.1 to 2.4.1
2023-02-08 13:00:58 +01:00
Roland Geider d896fa0123 Merge pull request #1244 from wger-project/dependabot/github_actions/docker/build-push-action-4.0.0
Bump docker/build-push-action from 3.3.0 to 4.0.0
2023-02-08 12:17:07 +01:00
Roland Geider 9bd63564ad Merge pull request #1252 from wger-project/dependabot/pip/fontawesomefree-approx-eq-6.3.0
Update fontawesomefree requirement from ~=6.2.1 to ~=6.3.0
2023-02-08 12:14:11 +01:00
dependabot[bot] 19be433aaf Update fontawesomefree requirement from ~=6.2.1 to ~=6.3.0
Updates the requirements on [fontawesomefree](https://github.com/FortAwesome/Font-Awesome) to permit the latest version.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.2.1...6.3.0)

---
updated-dependencies:
- dependency-name: fontawesomefree
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-07 23:00:48 +00:00
dependabot[bot] 535fa4ceb9 Bump docker/setup-buildx-action from 2.2.1 to 2.4.1
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.2.1 to 2.4.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.2.1...v2.4.1)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 23:00:43 +00:00
Roland Geider 4fc8f07320 Update initial exercise fixtures
This contains the imported exercises from Feeel! 🙌🏻
2023-02-05 21:01:30 +01:00
Roland Geider 17e5cd5653 Formatting 2023-02-05 21:01:30 +01:00
Github-actions 0dd0fc26e2 Automatic linting 2023-02-05 14:27:10 +00:00
Roland Geider ba7406dbc1 Filter empty license author entries 2023-02-05 15:25:13 +01:00
Roland Geider 41caeb9a52 Increase author field max length to 60
This is needed to import some entries from the feeel database
2023-02-05 15:25:13 +01:00
Roland Geider f4cf4c9904 Sort strings alphabetically
This makes the resulting diffs in the other apps smaller
2023-02-05 15:25:13 +01:00
Github-actions 15b5dce51a Automatic linting 2023-02-04 16:54:54 +00:00
Roland Geider 4307f9feb5 Update available languages
This is in preparation for importing the exercises from the feeel database
2023-02-04 17:44:40 +01:00
Oğuz Ersen eeb5b086ec Translated using Weblate (Turkish)
Currently translated at 100.0% (739 of 739 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/tr/
2023-02-02 16:38:20 +01:00
Dieter Verbeken 688f02ec8e Translated using Weblate (Dutch)
Currently translated at 88.4% (654 of 739 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/nl/
2023-02-02 16:38:20 +01:00
gallegonovato 3142a791ca Translated using Weblate (Spanish)
Currently translated at 100.0% (739 of 739 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/es/
2023-02-02 16:38:20 +01:00
Roland Geider 820290c655 Merge pull request #1242 from wger-project/dependabot/pip/isort-5.12.0
Bump isort from 5.11.4 to 5.12.0
2023-01-31 12:09:02 +01:00
dependabot[bot] 402339089c Bump docker/build-push-action from 3.3.0 to 4.0.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.3.0 to 4.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.3.0...v4.0.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 23:00:47 +00:00
dependabot[bot] faa2b245b7 Bump isort from 5.11.4 to 5.12.0
Bumps [isort](https://github.com/pycqa/isort) from 5.11.4 to 5.12.0.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.11.4...5.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 23:00:34 +00:00
Roland Geider ac5b968001 Update react app and translations 2023-01-30 21:08:15 +01:00
Roland Geider 204b3e91a4 Correctly output exercise name in the weight logs 2023-01-30 16:34:33 +01:00
Roland Geider 37b81f8cf9 Formatting 2023-01-30 16:34:33 +01:00
clafalco aadda0399d Translated using Weblate (Italian)
Currently translated at 95.1% (703 of 739 strings)

Translation: wger Workout Manager/Web App
Translate-URL: https://hosted.weblate.org/projects/wger/web/it/
2023-01-28 08:51:52 +01:00
Roland Geider 9c77646133 Use the site url instead of localhost for verification emails
Closes wger-project/docker/issues/47
2023-01-27 16:09:14 +01:00
Github-actions fc094fb43f Automatic linting 2023-01-26 21:40:40 +00:00
Roland Geider 29562b066f Refactor the exercise sync script
We use django's convenience get_or_create function and use the exercisebaseinfo
endpoint, so we can process all bases and then all corresponding translations
2023-01-26 22:38:58 +01:00
Roland Geider 18d3cab3b9 Set a default value for FROM_EMAIL
See wger-project/docker/issues/35
2023-01-26 19:58:20 +01:00