Commit Graph

4253 Commits

Author SHA1 Message Date
Roland Geider
2c8164fbed Update Podfile.lock 2026-05-04 09:29:41 +02:00
Roland Geider
c39c418d37 Merge master 2026-05-03 19:15:21 +02:00
Roland Geider
8830c6fbb2 Merge pull request #1188 from wger-project/sanity-clean
Add sanity check for server configuration
2026-05-03 18:32:23 +02:00
Roland Geider
390dadcdf0 Cleanup 2026-05-03 18:21:54 +02:00
AlexisBirling3
7fb64b2925 shortens the displayed error message and adds link to doc 2026-05-03 18:12:33 +02:00
AlexisBirling3
1cde7f3c81 adds tests for the sanity check helper 2026-05-03 18:12:33 +02:00
AlexisBirling3
67f1569148 adds i18n for the new widget 2026-05-03 18:12:33 +02:00
AlexisBirling3
7d2b842f1a adds a helper class to check sanity and implements widget to display sanity after auth 2026-05-03 18:12:33 +02:00
dependabot[bot]
8a32962320 Bump build_runner from 2.14.0 to 2.14.1
Bumps [build_runner](https://github.com/dart-lang/build) from 2.14.0 to 2.14.1.
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](https://github.com/dart-lang/build/compare/build_runner-v2.14.0...build_runner-v2.14.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-03 17:57:17 +02:00
Roland Geider
164d553fde Improve the exercise search autocompleter
Closes #1182
Co-authored-by: Pankaj Basnet <165250380+pankaj-basnet@users.noreply.github.com>
2026-05-03 17:54:07 +02:00
Roland Geider
2ce3cc223c Cleanup 2026-05-03 12:37:16 +02:00
Roland Geider
0fb660dcd2 Move access to nutritional plans to the nutrition state 2026-05-03 12:37:06 +02:00
Roland Geider
1249036cce Properly update routine data
Since this happens in the backend only, we need to refetch everything, when
the user edits one of the routine's models
2026-05-03 12:17:23 +02:00
Roland Geider
1ec921faf3 Consistent usage of uuid IDs
Now these fields are always nullable on the model and get a value once they
are persisted to the (local) database.
2026-05-03 12:17:23 +02:00
Roland Geider
c1dccbd822 Make the "impression" in workout session an enum
This is cleaner and simplifies a handful of places
2026-05-03 12:17:23 +02:00
Roland Geider
050258b2d8 Merge pull request #1187 from pankaj-basnet/fix/offline-mode--providers-drift-ui
fix(routine): resolve in-place state mutation in GymStateNotifier and enable Routine immutability
2026-05-03 12:17:09 +02:00
pankaj-basnet
11a83932d3 fix(gym): resolve in-place routine mutation in replaceExercises 2026-05-03 02:30:38 +05:45
pankaj-basnet
f578938655 refactor(models): add copyWith to Routine and make replaceExercise immutable 2026-05-03 02:29:39 +05:45
pankaj-basnet
1a9ab581a5 refactor: improve image error handling with pattern matching and URI parsing 2026-05-03 02:26:58 +05:45
Roland Geider
d6affe4036 Sync the rest of the nutrition tables with powersync 2026-05-02 12:36:08 +02:00
Roland Geider
cf13af1740 Sync the rest of the nutrition tables to powersync 2026-05-01 20:24:26 +02:00
Roland Geider
a63cce2478 Test the powersync communications with the outer world 2026-05-01 19:22:44 +02:00
Roland Geider
35789cfb99 Remove validateLanguage, this wasn't used 2026-05-01 19:12:07 +02:00
Roland Geider
df9a69d0ff Create a new id for when setting new logs 2026-05-01 19:03:47 +02:00
Roland Geider
e56d5a8861 Add missing tests for the new repositories and states 2026-05-01 19:03:28 +02:00
Roland Geider
2cb40612b1 Cleanup providers and use consistent naming 2026-05-01 16:58:08 +02:00
Roland Geider
5d30a1ca79 Cleanup providers and use consistent naming 2026-05-01 16:50:15 +02:00
Roland Geider
2f2c7812cb Cleanup providers and use consistent naming 2026-05-01 16:18:29 +02:00
Roland Geider
16ffafeb28 Remove unused methods 2026-05-01 15:36:15 +02:00
Roland Geider
209ab7cbbe Add gallery sync tables 2026-05-01 15:25:31 +02:00
Roland Geider
35404372f9 Refactor exercise repository online/offline search
This behaves now similarly to what the ingredients do as well
2026-05-01 13:22:47 +02:00
Roland Geider
9226b06454 Rename for more consistency 2026-05-01 13:10:39 +02:00
Roland Geider
09f020226e Merge remote-tracking branch 'origin/feature/offline-mode' into feature/offline-mode 2026-05-01 12:28:16 +02:00
Roland Geider
9f365f8069 Consolidate ingredient search methods into the ingredient repo 2026-05-01 12:27:49 +02:00
Roland Geider
5fea670ba3 Merge master 2026-04-30 19:41:17 +02:00
Roland Geider
d1f6fc2dfe Sync nutritional logs 2026-04-30 18:10:02 +02:00
Roland Geider
73e1621e6f Updated goldens 2026-04-30 16:12:27 +02:00
Roland Geider
445063b1a9 Properly fake network connectivity in the tests 2026-04-30 16:10:11 +02:00
Roland Geider
a1722f18f8 Open ingredient info dialog from the nutritional plan list 2026-04-30 15:54:38 +02:00
Roland Geider
97c4a5b07e Refactor ingredient weight unit handling and remove unused methods 2026-04-30 14:33:32 +02:00
Roland Geider
d152031633 Refactor ingredient weight unit handling and remove unused methods 2026-04-30 14:11:56 +02:00
Roland Geider
5ee653bbf8 Improve error logging 2026-04-30 13:47:56 +02:00
Roland Geider
d6e652f2c9 Sync the ingredient weight units to the local sqlite db 2026-04-30 13:41:58 +02:00
Roland Geider
a9644ab383 Refactor ingredient handling to use direct object references 2026-04-30 12:58:35 +02:00
Roland Geider
c5ac06309b Properly mark columns as nullable 2026-04-30 12:00:05 +02:00
Roland Geider
350561101b Be a bit smarter about contructing the absolute URL for images 2026-04-30 10:49:26 +02:00
Roland Geider
4751b2ddc3 Delete old images from the device older than approx. 3 months 2026-04-30 10:48:57 +02:00
Roland Geider
d135e81d4f Cache ingredient and exercise images on device 2026-04-30 10:48:20 +02:00
Roland Geider
5bf2dd22ee Properly load the ingredient images 2026-04-29 20:53:50 +02:00
Roland Geider
3fbdaac4b3 Consolidate routine hydration logic 2026-04-29 19:58:22 +02:00