Commit Graph

2214 Commits

Author SHA1 Message Date
Dieter Plaetinck
cc39b692b2 cleanup/simplify existing code 2024-04-15 12:21:31 +02:00
Dieter Plaetinck
0951561456 add myself as author 2024-04-15 10:59:17 +02:00
Dieter Plaetinck
eaf968c3cd hide 'add meal' button when in only logging mode 2024-04-15 10:52:37 +02:00
Dieter Plaetinck
93cd21f33f fixes 2024-04-14 22:46:43 +02:00
Dieter Plaetinck
6dbfe88ac1 cleanups 2024-04-14 22:38:56 +02:00
Dieter Plaetinck
0a695ecc35 bugfix 2024-04-14 22:14:36 +02:00
Dieter Plaetinck
6cfd2e34e2 bug fixes 2024-04-14 22:08:54 +02:00
Dieter Plaetinck
a3232f7428 simplify some code 2024-04-14 21:48:04 +02:00
Dieter Plaetinck
389caf5dda make nutrition plan form work 2024-04-13 00:08:09 +02:00
Roland Geider
a50c625114 Fix test 2024-02-24 12:29:50 +01:00
Roland Geider
a69612f4a4 Add some needed paddings 2024-02-24 12:28:03 +01:00
Roland Geider
432ac8bbc6 More refactorings, extracting widgets and polishing 2024-02-24 12:19:36 +01:00
Roland Geider
7100fcf992 Extract table to own widget 2024-02-23 20:41:07 +01:00
Roland Geider
84c9fe888e Some renamings 2024-02-23 20:37:10 +01:00
Roland Geider
222442cccb Use same colors and ordering as in the web application 2024-02-23 20:18:25 +01:00
Roland Geider
ef51431e62 Fix provider test 2024-02-23 19:22:00 +01:00
Roland Geider
9b0985fbf3 Add chart for percentage of logged nutritional values for meals 2024-02-23 19:19:13 +01:00
Roland Geider
4b6a0a8875 Merge branch 'master' into feature/nutrition-goals 2024-02-18 11:48:58 +01:00
Roland Geider
36c4f19371 Bump used flutter version to 3.19 2024-02-18 11:48:15 +01:00
Roland Geider
6ad549251f Merge pull request #512 from mutairibassam/test/colors-file
test: add unit test for generateChartColors() function in colors.dart…
2024-02-17 18:59:02 +01:00
Roland Geider
11a3e6de8f Merge pull request #515 from wger-project/dependabot/pub/sqlite3_flutter_libs-0.5.20
Bump sqlite3_flutter_libs from 0.5.19+1 to 0.5.20
2024-02-17 18:58:00 +01:00
Roland Geider
f5b202e981 Merge pull request #519 from wger-project/dependabot/pub/flutter_typeahead-5.2.0
Bump flutter_typeahead from 5.1.0 to 5.2.0
2024-02-17 18:57:46 +01:00
Roland Geider
69d4ac7893 Merge pull request #516 from wger-project/dependabot/pub/freezed-2.4.7
Bump freezed from 2.4.6 to 2.4.7
2024-02-17 18:57:35 +01:00
Roland Geider
6fbc817fcd Merge pull request #514 from wger-project/dependabot/pub/cider-0.2.6
Bump cider from 0.2.5 to 0.2.6
2024-02-17 18:57:17 +01:00
Roland Geider
4e6a677cfb Merge pull request #518 from wger-project/dependabot/pub/fl_chart-0.66.2
Bump fl_chart from 0.66.1 to 0.66.2
2024-02-17 18:57:01 +01:00
Roland Geider
78f3a01929 Merge pull request #520 from wger-project/feature/quick-increment-weight
Feature/quick increment weight
2024-02-17 18:56:04 +01:00
Roland Geider
0153fcc691 Also pass the last known weight in the dashboard 2024-02-17 18:52:36 +01:00
Roland Geider
9c7b65bc49 Allow users to quickly increment the body weight 2024-02-17 18:48:48 +01:00
Roland Geider
3aa92338fb Merge pull request #513 from wger-project/feature/weblate
Translations update from Hosted Weblate
2024-02-15 14:36:18 +01:00
Fjuro
cc574589a9 Translated using Weblate (Czech)
Currently translated at 72.1% (176 of 244 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/cs/
2024-02-14 11:02:03 +01:00
dependabot[bot]
d150520bcb Bump flutter_typeahead from 5.1.0 to 5.2.0
Bumps [flutter_typeahead](https://github.com/AbdulRahmanAlHamali/flutter_typeahead) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/AbdulRahmanAlHamali/flutter_typeahead/releases)
- [Changelog](https://github.com/AbdulRahmanAlHamali/flutter_typeahead/blob/master/CHANGELOG.md)
- [Commits](https://github.com/AbdulRahmanAlHamali/flutter_typeahead/compare/5.1.0...5.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 01:13:43 +00:00
dependabot[bot]
150257923f Bump fl_chart from 0.66.1 to 0.66.2
Bumps [fl_chart](https://github.com/imaNNeo/fl_chart) from 0.66.1 to 0.66.2.
- [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.66.1...0.66.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 01:13:28 +00:00
Nao interessa
82cc90ec26 Translated using Weblate (Portuguese (Brazil))
Currently translated at 74.1% (181 of 244 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2024-02-11 02:02:28 +01:00
dependabot[bot]
fe6bdb3122 Bump freezed from 2.4.6 to 2.4.7
Bumps [freezed](https://github.com/rrousselGit/freezed) from 2.4.6 to 2.4.7.
- [Commits](https://github.com/rrousselGit/freezed/compare/freezed-v2.4.6...freezed-v2.4.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 00:11:00 +00:00
dependabot[bot]
99c24ac01f Bump sqlite3_flutter_libs from 0.5.19+1 to 0.5.20
Bumps [sqlite3_flutter_libs](https://github.com/simolus3/sqlite3.dart) from 0.5.19+1 to 0.5.20.
- [Release notes](https://github.com/simolus3/sqlite3.dart/releases)
- [Commits](https://github.com/simolus3/sqlite3.dart/compare/sqlite3_flutter_libs-0.5.19...sqlite3_flutter_libs-0.5.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 00:10:37 +00:00
dependabot[bot]
a8f6389047 Bump cider from 0.2.5 to 0.2.6
Bumps [cider](https://github.com/f3ath/cider) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/f3ath/cider/releases)
- [Changelog](https://github.com/f3ath/cider/blob/master/CHANGELOG.md)
- [Commits](https://github.com/f3ath/cider/compare/0.2.5...0.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-05 00:10:12 +00:00
Bogdan Bujor
852160407c Translated using Weblate (Romanian)
Currently translated at 38.9% (95 of 244 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ro/
2024-02-04 05:36:56 +01:00
Bassam A
36f9d1651e modify generateChartColors() test cases to use _iterator_ instead of toList() since it's been used in the original code. 2024-02-03 11:55:33 +03:00
Bassam A
1764147c18 test: add unit test for generateChartColors() function in colors.dart file 2024-02-03 11:38:46 +03:00
Roland Geider
3753b150f0 Merge pull request #511 from wger-project/feature/weblate
Translations update from Hosted Weblate
2024-02-01 21:38:54 +01:00
Lucas Mezêncio
6689819d94 Translated using Weblate (Portuguese (Brazil))
Currently translated at 66.3% (162 of 244 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt_BR/
2024-02-01 18:01:49 +01:00
Roland Geider
9ef0c10896 Add common widget for macronutritional goals 2024-02-01 15:18:44 +01:00
Roland Geider
6f9a07159e Format generated files 2024-02-01 14:17:59 +01:00
Roland Geider
3c749855d5 Merge branch 'master' into feature/nutrition-goals
# Conflicts:
#	lib/models/exercises/exercise.g.dart
#	lib/models/user/profile.g.dart
#	test/gallery/gallery_form_test.mocks.dart
#	test/gallery/gallery_screen_test.mocks.dart
#	test/measurements/measurement_provider_test.mocks.dart
#	test/nutrition/nutritional_plan_screen_test.mocks.dart
#	test/nutrition/nutritional_plans_screen_test.mocks.dart
#	test/user/provider_test.mocks.dart
#	test/weight/weight_provider_test.mocks.dart
#	test/workout/gym_mode_screen_test.mocks.dart
#	test/workout/workout_plan_screen_test.mocks.dart
#	test/workout/workout_plans_screen_test.mocks.dart
#	test/workout/workout_provider_test.mocks.dart
#	test/workout/workout_set_form_test.mocks.dart
2024-02-01 14:16:53 +01:00
Roland Geider
ec47f9b46b Merge pull request #510 from mutairibassam/test/json-file
test: add unit test for all json.dart file functions
2024-01-30 21:08:22 +01:00
Bassam A
6012075658 test: add unit test for all json.dart file functions 2024-01-30 18:41:00 +03:00
Roland Geider
9a728d36bb Merge pull request #509 from wger-project/dependabot/pub/flutter_typeahead-5.0.2
Dependabot/pub/flutter typeahead 5.1.0
2024-01-30 09:54:54 +01:00
Roland Geider
34d134335b Merge branch 'master' into dependabot/pub/flutter_typeahead-5.0.2 2024-01-30 09:46:52 +01:00
Roland Geider
b2a111b196 Update iOS related files 2024-01-30 09:42:05 +01:00
Roland Geider
1c9336bf7f Manually bump version 2024-01-30 09:42:05 +01:00