Commit Graph

2090 Commits

Author SHA1 Message Date
Roland Geider
ecbed70810 Use a better icon 2024-01-11 22:16:54 +01:00
Roland Geider
fbc4f163c9 Commit missing mocks file 2024-01-11 22:16:21 +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
Roland Geider
cf1beddb75 Add translated exercises for the screenshots 2024-01-10 22:42:49 +01:00
Roland Geider
c91263adea Manually bump version string 2024-01-10 20:46:59 +01:00
Roland Geider
d7e394b050 Fix git commands... 2024-01-10 20:46:19 +01:00
Roland Geider
c3582a6616 Manually call "bundle", the action seems to have problems 1.6.4 2024-01-10 19:59:17 +01:00
Roland Geider
f408fc7f2a Pin Ruby version to 3.2 2024-01-10 19:28:48 +01:00
Roland Geider
48576f0ff8 Re-add distribution to setup java 2024-01-10 19:06:31 +01:00
Roland Geider
5d1da07808 Merge pull request #484 from 12people/flatpak
Flatpak updates
2024-01-10 19:01:16 +01:00
Miroslav Mazel
988304ff55 Flatpak script updates 2024-01-10 18:53:04 +01:00
Github-actions
0bc5e8e9e6 Automatic linting 2024-01-10 14:45:21 +00:00
Roland Geider
7887f7f91c Add distribution to setup java 2024-01-09 16:50:58 +01:00
Roland Geider
9a1a31c248 Update screenshots 2024-01-09 16:47:46 +01: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
Roland Geider
6d32b06c9d Merge pull request #483 from wger-project/feature/weblate
Feature/weblate
2024-01-09 13:51:43 +01:00
Roland Geider
1668c10537 Merge pull request #482 from wger-project/dependabot/pub/image_picker-1.0.6
Bump image_picker from 1.0.4 to 1.0.6
2024-01-08 12:35:15 +01:00
dependabot[bot]
2aa40578f7 Bump image_picker from 1.0.4 to 1.0.6
Bumps [image_picker](https://github.com/flutter/packages/tree/main/packages/image_picker) from 1.0.4 to 1.0.6.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/image_picker-v1.0.6/packages/image_picker)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 11:28:43 +00:00
Roland Geider
25ff756278 Merge pull request #468 from wger-project/dependabot/pub/http-1.1.2
Bump http from 1.1.0 to 1.1.2
2024-01-08 12:19:28 +01:00
Roland Geider
4874687eec Merge pull request #480 from wger-project/dependabot/pub/mockito-5.4.4
Bump mockito from 5.4.3 to 5.4.4
2024-01-08 12:19:11 +01:00
Roland Geider
0961c68048 Merge pull request #481 from wger-project/dependabot/pub/flutter_zxing-1.5.2
Bump flutter_zxing from 1.4.1 to 1.5.2
2024-01-08 12:18:56 +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
dependabot[bot]
41145c2e1c Bump flutter_zxing from 1.4.1 to 1.5.2
Bumps [flutter_zxing](https://github.com/khoren93/flutter_zxing) from 1.4.1 to 1.5.2.
- [Changelog](https://github.com/khoren93/flutter_zxing/blob/main/CHANGELOG.md)
- [Commits](https://github.com/khoren93/flutter_zxing/commits)

---
updated-dependencies:
- dependency-name: flutter_zxing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 00:57:27 +00:00
dependabot[bot]
4dbdaf6826 Bump mockito from 5.4.3 to 5.4.4
Bumps [mockito](https://github.com/dart-lang/mockito) from 5.4.3 to 5.4.4.
- [Release notes](https://github.com/dart-lang/mockito/releases)
- [Changelog](https://github.com/dart-lang/mockito/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dart-lang/mockito/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 00:57:15 +00:00
dependabot[bot]
8beec0f411 Bump http from 1.1.0 to 1.1.2
Bumps [http](https://github.com/dart-lang/http/tree/master/pkgs) from 1.1.0 to 1.1.2.
- [Release notes](https://github.com/dart-lang/http/releases)
- [Commits](https://github.com/dart-lang/http/commits/http-v1.1.2/pkgs)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-07 16:59:29 +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
Roland Geider
206e153ca9 Merge pull request #463 from wger-project/dependabot/pub/package_info_plus-5.0.1
Bump package_info_plus from 4.2.0 to 5.0.1
2024-01-06 12:28:28 +01:00
Roland Geider
0716c0b594 Merge pull request #477 from wger-project/dependabot/pub/fl_chart-0.66.0
Bump fl_chart from 0.64.0 to 0.66.0
2024-01-06 12:28:06 +01:00
Roland Geider
fc97552108 Merge pull request #479 from Milksheyke/feature/contribue-exercise-suggestion
Feature - contribue exercise suggestion button when no exercises can be found.
2024-01-06 12:27:16 +01:00
Milksheyke
7fe9b645fd Remove unnecessary comment 2024-01-06 00:59:54 -05:00
Milksheyke
4b2c5b838f Added myself 2024-01-06 00:55:42 -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
dependabot[bot]
99d6c5b6d4 Bump fl_chart from 0.64.0 to 0.66.0
Bumps [fl_chart](https://github.com/imaNNeo/fl_chart) from 0.64.0 to 0.66.0.
- [Release notes](https://github.com/imaNNeo/fl_chart/releases)
- [Changelog](https://github.com/imaNNeo/fl_chart/blob/main/CHANGELOG.md)
- [Commits](https://github.com/imaNNeo/fl_chart/compare/0.64.0...0.66.0)

---
updated-dependencies:
- dependency-name: fl_chart
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 01:10:37 +00: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