Commit Graph

1530 Commits

Author SHA1 Message Date
Dieter Plaetinck
51ec089d76 progress reading data, using ivm tables 2024-10-16 22:32:59 +03:00
Roland Geider
99e4961301 Merge branch 'refs/heads/master' into powersync 2024-09-29 14:29:19 +02:00
Roland Geider
906fa7257a Rename function 2024-09-29 11:45:31 +02:00
Roland Geider
72a68b4f59 Allow resetting the ingredient cache from the settings page 2024-09-29 11:25:14 +02:00
Roland Geider
dbdec5c9dd Add tests for db cache 2024-09-27 11:11:35 +02:00
Roland Geider
b1a49218ad Fix tests 2024-09-27 10:25:55 +02:00
Roland Geider
26491bb8b9 Remove cache version handling from provider
This now happens as a database migration
2024-09-27 10:25:36 +02:00
Roland Geider
188dcddf23 Rename field to "lastFetched" and add migration class 2024-09-26 23:37:50 +02:00
Roland Geider
8ce9029459 Start migrating the ingredient cache to a local sqlite database 2024-09-26 21:18:54 +02:00
Roland Geider
15b6eb19b0 Update carousel_slider and used flutter version 2024-09-26 20:00:55 +02:00
Dieter Plaetinck
f90609f147 various dcm cleanups 2024-09-18 21:52:21 +03:00
Dieter Plaetinck
7e6c78c5e3 dart fix --apply 2024-09-18 21:29:22 +03:00
Dieter Plaetinck
25ad580a38 disable prefer-match-file-name for now.. 2024-09-18 21:23:18 +03:00
Dieter Plaetinck
85c245d67d dcm fix --only-rules=unnecessary-trailing-comma lib test test_data 2024-09-18 16:01:10 +03:00
Dieter Plaetinck
a589d87fad dcm fix --only-rules=avoid-redundant-async 2024-09-18 15:52:55 +03:00
Dieter Plaetinck
dfd18d1158 Merge pull request #634 from wger-project/chart-weight-since-plan
better weight and measurements visualisation
2024-09-18 14:29:05 +03:00
szalas
2ca22321ff Added translation using Weblate (Hungarian) 2024-09-18 10:56:26 +00:00
Piotr Strebski
809a48cca3 Translated using Weblate (Polish)
Currently translated at 100.0% (262 of 262 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2024-09-18 10:56:24 +00:00
Dieter Plaetinck
bf9e614f8b make it work for measurements + couple fixes 2024-09-18 13:33:57 +03:00
Dieter Plaetinck
ea60e18f18 WIP fixes 2024-09-18 10:33:06 +03:00
Dieter Plaetinck
96b164f612 powersync based nutrition 2024-09-15 23:22:42 +03:00
Dieter Plaetinck
e02bf6b31f powersync based muscles 2024-09-15 19:37:21 +03:00
Dieter Plaetinck
4fef0b052d figure out django/powersync url's from authProvider 2024-09-15 12:26:33 +03:00
Dieter Plaetinck
770ea64a23 fix tablename 2024-09-15 12:25:54 +03:00
Dieter Plaetinck
bb679754b9 fix/refactor/simplify powersync auth setup 2024-09-15 12:25:10 +03:00
Dieter Plaetinck
9332bb1bb2 wip 2024-09-14 10:00:34 +03:00
Dieter Plaetinck
3dc1c4e79e fix tests 2024-09-11 23:00:04 +03:00
Dieter Plaetinck
161444b32f weight visualisation improvements
* show weight entries during this nutrition plan and last 30 days
* show moving average of last 7 days
* show aggregate changes below chart
* fix unit displays in a few cases
* improv color scheme and other layout tweaks
* various small code cleanups
2024-09-11 16:03:43 +03:00
Dieter Plaetinck
a1295e5649 wip logitem 2024-09-10 22:06:24 +03:00
Dieter Plaetinck
c3b213e2d0 auth debug 2024-09-10 21:47:58 +03:00
Dieter Plaetinck
cea3ae15a6 wip 2024-09-10 21:08:45 +03:00
Roland Geider
6faba1f188 Fetch powersync keys 2024-09-08 20:57:05 +02:00
Dieter Plaetinck
14bd370503 solve the date fix in a cleaner way 2024-09-07 19:44:50 +03:00
dan
ffeaad6f0c Use current DateTime when copying WeightEntry instead of previous.
Increment weight by 0.1 and round to one decimal place to prevent floating point accuracy (rounding) issues.
2024-09-05 01:16:31 +01:00
aryakdaniswara
52ef6224a9 Translated using Weblate (Indonesian)
Currently translated at 64.8% (170 of 262 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/id/
2024-08-27 07:09:11 +00:00
Dawid Panyło
95b4f244bb Translated using Weblate (Polish)
Currently translated at 96.9% (254 of 262 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/pl/
2024-08-15 15:09:11 +00:00
Zixu Sun
2c39b91ad7 Translated using Weblate (Catalan)
Currently translated at 100.0% (262 of 262 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/ca/
2024-08-05 00:09:21 +02:00
Dieter Plaetinck
fe48597b16 powersync prototype (WIP) 2024-08-02 23:46:36 +03:00
纪颖志
615988622c Translated using Weblate (Chinese (Simplified))
Currently translated at 72.9% (191 of 262 strings)

Translation: wger Workout Manager/Mobile App
Translate-URL: https://hosted.weblate.org/projects/wger/mobile/zh_Hans/
2024-08-02 11:09:18 +00:00
Dieter Plaetinck
fee0e632af Merge pull request #624 from Denpeer/feature/remove-info-button
remove info button and viewmode logic
2024-07-18 17:41:35 +02:00
DVPeer
323f4bfc6b remove info button and viewmode logic 2024-07-18 01:36:17 +07:00
Dieter Plaetinck
dc1f220292 refactor
ingredient details dialog:
 - give it close/continue buttons to load into selection
 - always use image property from loaded ingredient
   this is a bit slower, but:
   * more consistent (no need to support absolute vs relative URL's
     separately)
   * cleaner (no need to pass it thru explicitly)
   * more future proof: we will get rid of the dedicated
     /ingredient/search endpoint which gives us images before we load
     the full ingredient. in the future we will simply load the
     ingredients, completely, all at once.
   * allows for easier code reuse with barcode scan result dialog

barcode scan result dialog:
 - show image and detailed nutrition table
 - support a loading spinner
 - simplify error handling
 - deduplicate code between found & not found
 - share code with ingredient details dialog
2024-07-16 11:34:11 +03:00
Dieter Plaetinck
47a5f4a07f ingredient popup: scroll and shrink image when appropriate 2024-07-12 18:48:42 +03:00
Dieter Plaetinck
4a87c0b5f1 put popup button also in preview section 2024-07-12 18:48:42 +03:00
Dieter Plaetinck
1ae3f33edd use ingredient.license_object_url to link to human readable page 2024-07-12 14:26:09 +03:00
Dieter Plaetinck
d99ca4160f ingredient popup: fix image rendering 2024-07-12 14:26:09 +03:00
Dieter Plaetinck
fea019f51c show source name and link to source, when possible in popup 2024-07-12 14:11:07 +03:00
Dieter Plaetinck
2ef68ce24d cleanup 2024-07-12 14:11:07 +03:00
Dieter Plaetinck
7e7fa387d5 todo's 2024-07-12 14:11:07 +03:00
Dieter Plaetinck
d06ecabadf use ingredientinfo api, for image + new source and remote id fields
also update fixtures accordingly
2024-07-12 13:50:04 +03:00