Commit Graph

3096 Commits

Author SHA1 Message Date
Roland Geider
1ecbfa88d1 Correctly set the start and end time to null, if this is what comes from the API 2025-04-18 00:40:05 +02:00
Roland Geider
bc0672d81b Correctly initialize the data in form from existing session
Also, add some simple tests for this
2025-04-17 17:30:01 +02:00
Roland Geider
8acde9adaa Add startTime to GymState and update GymMode to use it
This keeps the start time, even if the user leaves the gym mode and returns
later, which is what we want anyway.
2025-04-17 16:34:42 +02:00
Roland Geider
8294d66b32 Merge pull request #791 from wger-project/fix/delete-workout-logs
Properly update the UI when deleting workout logs
2025-04-17 15:27:21 +02:00
Roland Geider
9d05c9e297 Update goldens 2025-04-17 15:20:34 +02:00
Roland Geider
c673fa0ea6 Add test for the workout log deletion dialog 2025-04-17 15:18:49 +02:00
Roland Geider
c2280aa57c Bump flutter version 2025-04-17 10:44:59 +02:00
Roland Geider
4d0936706c Update goldens 2025-04-17 10:35:31 +02:00
Roland Geider
88d66b336c Properly update the UI when deleting workout logs
The problem was that we were passing the exercises and session from the
calendar events, which wasn't being reloaded when the logs were deleted. Now
we only pass the selected date and fetch the logs from the routine.
2025-04-17 10:26:44 +02:00
dependabot[bot]
8591edafae Bump freezed from 3.0.4 to 3.0.6
Bumps [freezed](https://github.com/rrousselGit/freezed) from 3.0.4 to 3.0.6.
- [Commits](https://github.com/rrousselGit/freezed/compare/freezed-v3.0.4...freezed-v3.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-12 21:13:58 +02:00
Roland Geider
98580890ba Merge pull request #762 from yashas-hm/yhm/issue-732
golden_toolkit to flutter_test Migration: #732
2025-04-12 20:37:27 +02:00
Roland Geider
edc432de9e Merge remote-tracking branch 'yashas-hm/yhm/issue-732' into fork/yashas-hm/yhm/issue-732 2025-04-12 20:30:41 +02:00
Roland Geider
686c3857a1 Update goldens 2025-04-12 20:30:07 +02:00
Roland Geider
1da7100374 Update goldens 2025-04-12 18:27:49 +02:00
Roland Geider
67ee79b54b Seems the rendering is not that equal after all...
Also add a constant device size for all goldens
2025-04-12 18:16:07 +02:00
Roland Geider
4920c2a091 Fix overflow bug in meal.dart
This should also fix the problem when generating the goldens. The loadAppFonts
and the check for Linux was removed as well, if the pseudo-font helps with a
constant rendering among all platforms we don't need those.
2025-04-12 17:57:24 +02:00
Roland Geider
a62ef074db Merge branch 'master' into fork/yashas-hm/yhm/issue-732
# Conflicts:
#	AUTHORS.md
#	pubspec.yaml
#	test/workout/goldens/routine_logs_screen_detail.png
#	test/workout/routine_logs_screen_test.dart
2025-04-12 16:54:07 +02:00
Roland Geider
1cd0cab87d Upload the exe artifact to the release as well 2025-04-05 19:51:19 +02:00
Github-Actions
05f1d9b5cd Bump version to 1.8.1+60 1.8.1 2025-04-05 17:01:45 +00:00
Roland Geider
fde147370a Run the Github and Flathub release jobs 2025-04-05 18:58:21 +02:00
Github-Actions
3185fedb00 Bump version to 1.8.1+60 2025-04-05 16:54:19 +00:00
Roland Geider
6587d1874a Tag the correct commit 2025-04-05 18:45:44 +02:00
Roland Geider
a23da30e88 Allow manually triggering the CI workflow 2025-04-05 18:26:29 +02:00
Roland Geider
952a11a98d Don't need to remove folders from coverage twice 2025-04-05 18:25:38 +02:00
Roland Geider
50a6b420f1 Add missing title 2025-04-05 18:11:38 +02:00
Roland Geider
cad57d1986 Also push tags to master 2025-04-05 17:34:46 +02:00
Roland Geider
17a50231cc Merge pull request #757 from wger-project/feature/weblate
Translations update from Hosted Weblate
2025-04-05 15:45:25 +02:00
Greg
5b1b096422 Translated using Weblate (Hungarian)
Currently translated at 7.7% (23 of 295 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/hu/
2025-04-05 13:11:33 +00:00
Wen QI
dfeff86fca Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.3% (293 of 295 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2025-04-05 13:11:32 +00:00
The_Quintino
3a1ba8a573 Translated using Weblate (Portuguese)
Currently translated at 92.8% (274 of 295 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pt/
2025-04-05 13:11:32 +00:00
தமிழ்நேரம்
8becfdac37 Translated using Weblate (Tamil)
Currently translated at 100.0% (295 of 295 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ta/
2025-04-05 13:11:31 +00:00
தமிழ்நேரம்
ef10ababc9 Translated using Weblate (Tamil)
Currently translated at 100.0% (3 of 3 strings)

Translation: wger Workout Manager/Play Store
Translate-URL: https://hosted.weblate.org/projects/wger/play-store/ta/
2025-04-05 13:11:30 +00:00
Anonymous
d378d37fa3 Translated using Weblate (Serbian)
Currently translated at 66.6% (2 of 3 strings)

Translation: wger Workout Manager/Play Store
Translate-URL: https://hosted.weblate.org/projects/wger/play-store/sr/
2025-04-05 13:11:30 +00:00
Максим Горпиніч
cbd8ad29e6 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (295 of 295 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/uk/
2025-04-05 13:11:29 +00:00
Roland Geider
539cb00f40 Exclude some files from the coverage report 2025-04-05 13:11:28 +00:00
Roland Geider
db7c37e8d0 Add explicit names to the workflows 2025-04-05 15:11:20 +02:00
Roland Geider
2e8f3017d0 Merge pull request #776 from wger-project/feature/build-process
Refactor the way the releases are built
2025-04-05 15:09:17 +02:00
Roland Geider
b10e698913 Refactor the way the releases are built
This workflow is not manually triggered and can create automatically the appropriate
tag. The build number is not increase to the next multiple of ten, to stay in sync with
the iOS releases, which seem to cause more trouble and often need reuploads.

The individual steps have been moved out to their own files, for better readability.

We also now build the app for all supported platforms.
2025-04-05 14:54:39 +02:00
Roland Geider
ffb3008ffa Add devtools_options.yaml 2025-04-05 00:52:30 +02:00
Roland Geider
4effd5af5a Show server side validation errors 2025-04-04 19:22:21 +02:00
Roland Geider
2d6a892e1d Merge pull request #773 from wger-project/feature/improve-min-app-version
Refactor min app version handling
2025-04-04 18:53:54 +02:00
Roland Geider
59ea2d93e7 Set the authentication state, just to be sure 2025-04-01 21:48:26 +02:00
Roland Geider
9055514dec Migrate models to work with freezed 3.0.0 2025-04-01 21:48:00 +02:00
Roland Geider
6742c8091a Return the actions enum directly, no need for a dict here 2025-04-01 21:39:45 +02:00
Roland Geider
1af416c87e Merge branch 'master' into feature/improve-min-app-version 2025-04-01 21:24:58 +02:00
Roland Geider
6ee7dd048b Write result to coverage/lcov.info 2025-04-01 21:24:11 +02:00
dependabot[bot]
6d97ef7a2b Bump freezed and freezed_annotation
Bumps [freezed](https://github.com/rrousselGit/freezed) and [freezed_annotation](https://github.com/rrousselGit/freezed). These dependencies needed to be updated together.

Updates `freezed` from 2.5.8 to 3.0.4
- [Commits](https://github.com/rrousselGit/freezed/compare/freezed-v2.5.8...freezed-v3.0.4)

Updates `freezed_annotation` from 2.4.4 to 3.0.0
- [Commits](https://github.com/rrousselGit/freezed/compare/freezed_annotation-v2.4.4...freezed_annotation-v3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-01 21:23:51 +02:00
dependabot[bot]
b1c25e82bb Bump provider from 6.1.2 to 6.1.4
Bumps [provider](https://github.com/rrousselGit/provider) from 6.1.2 to 6.1.4.
- [Commits](https://github.com/rrousselGit/provider/compare/provider-v6.1.2...provider-v6.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-01 21:22:17 +02:00
Roland Geider
6ce57af131 Exclude some files from the coverage report 2025-03-31 12:24:21 +02:00
dependabot[bot]
45d671f4f9 Bump video_player from 2.9.3 to 2.9.5
Bumps [video_player](https://github.com/flutter/packages/tree/main/packages/video_player) from 2.9.3 to 2.9.5.
- [Release notes](https://github.com/flutter/packages/releases)
- [Commits](https://github.com/flutter/packages/commits/video_player-v2.9.5/packages/video_player)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-31 10:29:25 +02:00