Commit Graph

1231 Commits

Author SHA1 Message Date
Roland Geider
ecbed70810 Use a better icon 2024-01-11 22:16:54 +01:00
Roland Geider
e67d992385 Add (for now) simple settings page to reset the exercise cache
This should be expanded later to allow to re-fetch all available exercises, etc.
2024-01-11 22:13:11 +01:00
Roland Geider
95eed706fb Remove unused locator 2024-01-11 21:22:51 +01:00
Roland Geider
2c9a001f1c Save the database to the application cache folder
The documents folder is suggested for files that can't be generated by the
application itself
2024-01-11 21:14:41 +01:00
Roland Geider
802da6aa1c Don't use ExerciseBase anymore... 2024-01-11 11:28:25 +01:00
Roland Geider
396c98dbd9 Merge branch 'master' into feat/data-persistence
# Conflicts:
#	lib/widgets/add_exercise/steps/step2variations.dart
#	pubspec.lock
2024-01-11 11:20:31 +01:00
Roland Geider
b9b51dbad3 Rename constant to make it more clear what they are 2024-01-11 11:17:36 +01:00
Roland Geider
a87c0e7063 Add link to buymeacoffee for donations 2024-01-11 11:16:49 +01:00
Roland Geider
f4185efa37 Add AboutEntry widget 2024-01-11 11:02:33 +01:00
null
4d90b8fc13 Fix bugs (#476)
* #454 issue, prefill only on debug mode

* #454 issue, prefill only on debug mode

* added myself <3

* -

* -

* fix #478 LateInitializationError

* add consts, make the funcs private

* latest update, change the name of prod, adding test server in debug mode

* -

---------

Co-authored-by: allohibihanaa <digitalhanaa@gmail.com>
Co-authored-by: Roland Geider <roland@geider.net>
2024-01-11 10:42:24 +01:00
Github-actions
0bc5e8e9e6 Automatic linting 2024-01-10 14:45:21 +00:00
Roland Geider
cd1caa0126 Fix merge problems 2024-01-09 15:56:57 +01:00
Roland Geider
d51b6d7d87 Merge branch 'master' into feat/data-persistence
# Conflicts:
#	lib/main.dart
#	lib/providers/exercises.dart
#	lib/widgets/workouts/day.dart
#	pubspec.lock
#	pubspec.yaml
2024-01-09 15:37:48 +01:00
Roland Geider
24e031d595 Finally fix the tests
We now dependency inject the database for the whole exercise provider,
this makes our lives a bit easier
2024-01-09 15:00:36 +01:00
David Olewski
6cbd575b13 Translated using Weblate (French)
Currently translated at 99.1% (233 of 235 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2024-01-08 11:06:23 +00:00
oarion
b9c61d9913 Translated using Weblate (Italian)
Currently translated at 100.0% (235 of 235 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2024-01-08 11:06:22 +00:00
Roland Geider
729e3cee48 Translated using Weblate (German)
Currently translated at 96.1% (226 of 235 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/de/
2024-01-08 11:06:10 +00:00
Roland Geider
dd29126acb Uncomment setLogEnabled
This was making problems when running the application as a flatpak under linux

See #424
2024-01-07 17:28:25 +01:00
Milksheyke
7fe9b645fd Remove unnecessary comment 2024-01-06 00:59:54 -05:00
Milksheyke
d0bc72fdef Add "Contribute an exercise" to "No matching exercise" suggestion
Created noItemsFoundBuilder callback for typeAheadFormField in exercise search form.
2024-01-06 00:41:57 -05:00
Milksheyke
0164cef968 Add noMatchingExersieFound message entry
This message is to be displayed when no exercise items are found.

Fixed typo
2024-01-06 00:20:48 -05:00
Roland Geider
89229a20cc Remove variation list
This wasn't really needed, we can just filter exercises by their variationID
2023-12-30 18:15:00 +01:00
Roland Geider
acbee49100 Simplify generating translation objects 2023-12-30 17:55:52 +01:00
Roland Geider
f951b6117a Try to generate ExerciseApiData objects only within the exercises model 2023-12-28 22:32:28 +01:00
Roland Geider
c4577ca5d7 Further tweaking exercise cache handling
handleUpdateExerciseFromApi should now be faster and save up on some requests.
Ideally we would pre-populate the database with all exercises on first run, or
even just ship it pre-filled
2023-12-28 17:48:15 +01:00
Hanaa
9faacfca9c Translated using Weblate (Arabic)
Currently translated at 100.0% (234 of 234 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ar/
2023-12-28 08:24:13 +01:00
sasukeiscool
071466ca68 Translated using Weblate (Japanese)
Currently translated at 67.0% (157 of 234 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ja/
2023-12-28 08:24:12 +01:00
Roland Geider
35a9dc046f Add test for force initializing the cache dates 2023-12-27 13:41:50 +01:00
Roland Geider
b64458603f Rename further occurrences of "exercise base" to just "exercise" 2023-12-26 21:38:07 +01:00
Roland Geider
c5cbb4f851 Rework exercise database
This is now separated into individual tables and methods so that they can be
tested separately
2023-12-26 17:03:20 +01:00
Milo Ivir
c46b09e46a Translated using Weblate (Croatian)
Currently translated at 100.0% (234 of 234 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2023-12-24 21:06:33 +01:00
Roland Geider
65ba2275ae Run "dart format --line-length=100 ." to make the diff smaller 2023-12-23 16:40:05 +01:00
Abhishek Saini
c69c639fac fix(drift): built a model for exercise and fixes in fromSql type converter 2023-12-23 14:28:38 +05:30
Alessandro Faucci
3e50d0bc6d Translated using Weblate (Italian)
Currently translated at 83.3% (195 of 234 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/it/
2023-12-21 20:10:16 +00:00
Debi Maulana Ahsan Halla
9ee839fe30 Translated using Weblate (Indonesian)
Currently translated at 67.5% (158 of 234 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/id/
2023-12-18 10:08:12 +00:00
Oğuz Ersen
6ff79440b8 Translated using Weblate (Turkish)
Currently translated at 100.0% (234 of 234 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/tr/
2023-12-10 14:05:15 +01:00
Milo Ivir
5f8a4222e1 Translated using Weblate (Croatian)
Currently translated at 100.0% (234 of 234 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hr/
2023-12-02 19:02:53 +01:00
yoyomax80400
44b7259195 Translated using Weblate (French)
Currently translated at 98.7% (231 of 234 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/fr/
2023-12-01 14:01:46 +01:00
dimii27
63163418c9 Translated using Weblate (Romanian)
Currently translated at 20.9% (49 of 234 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ro/
2023-11-24 02:09:57 +01:00
dimii27
af1c826069 Added translation using Weblate (Romanian) 2023-11-22 15:41:18 +01:00
Roland Geider
9802a52be7 Update year in about us dialog 2023-11-20 21:25:25 +01:00
Roland Geider
29a6839a61 Run dart fix on the code base 2023-11-19 18:49:35 +01:00
Roland Geider
afba3a8cc9 Add link to mastodon in the about us widgets 2023-11-19 13:46:02 +01:00
Abhishek Saini
c21b278e36 test cases fixes 2023-11-19 16:56:49 +05:30
Roland Geider
bcbfa8ed5e Show exercise names instead of their UUIDs
closes #297
closes #300
2023-11-19 11:08:42 +01:00
Abhishek Saini
82a49f6cac Merge branch 'master' into feat/data-persistence 2023-11-18 23:23:30 +05:30
Roland Geider
c514842b59 Lint the code with a line length of 100
This makes it easier to understand the diffs
2023-11-16 21:36:21 +01:00
Abhishek Saini
582bc611a4 feat(drift-database): Shifted from shared prefs to drift for Exercises 2023-11-16 22:34:40 +05:30
Roland Geider
ab669e0dc2 Make dark theme more readable 2023-11-15 21:04:34 +01:00
Roland Geider
a33065f590 Make the top navigation blue again 2023-11-15 18:35:46 +01:00