Commit Graph

981 Commits

Author SHA1 Message Date
Brandon Presley 288ae1ae0c Disable timers if rest time is set to zero - 1.134 2023-03-24 19:16:35 +13:00
Brandon Presley 0e7920bde9 Show a toast when EACCESS from backing up - 1.133
I don't like having a bunch of backups saying
massive (x).db. Also this masks the issue of permissions,
which is easily fixed by deleting/moving the old massive.db.
2023-03-24 17:51:16 +13:00
Brandon Presley d2a1c432bb Handle EACCESS in BackupModule 2023-03-24 17:43:28 +13:00
Brandon Presley 5dd569ef72 Upgrade to react-native 0.70.2 - 1.132 2023-03-21 17:09:24 +13:00
Brandon Presley dfc4f73ca4 Upgrade react-native to 0.70.6 2023-03-21 16:59:21 +13:00
Brandon Presley 79a48b1e47 Run automatic backups after database imports - 1.131 2023-03-09 18:48:32 +13:00
Brandon Presley 13b340f5be Add setting to automatically backup - 1.130
Every day at 6am (also immediately when toggled)
we will copy the massive.db file to the Download
directory.
2023-03-09 17:16:08 +13:00
Brandon Presley 4db820f10a Remove DownloadModule
This was no longer in use
2023-03-07 18:23:38 +13:00
Brandon Presley 7b401388b5 Get last now excludes todays sets - 1.129
Otherwise the minute you enter something it
becomes the last set. Much more useful to be
showing yesterdays working set instead.
2023-03-06 18:32:32 +13:00
Brandon Presley a1643c349d Revert "Update timer page screenshot"
This reverts commit 640a25a0f4.
2023-03-02 19:15:26 +13:00
Brandon Presley 640a25a0f4 Update timer page screenshot 2023-03-02 19:14:45 +13:00
Brandon Presley c9b1ab1f9d Change default reps/weight for starting a plan - 1.128
Previously we used the globally best reps+weight
set by default. More commonly we build up to our
last best working set. People can still check out
their best sets on the best page.

Closes #153
2023-03-02 19:11:24 +13:00
Brandon Presley 00d4edcfc3 Request FOREGROUND_SERVICE permission - 1.127
Related to #142
2023-02-24 19:30:48 +13:00
Brandon Presley 8dd8f786ef Round graphs to 2dp - 1.126
Closes #152
2023-02-22 19:44:23 +13:00
Brandon Presley a84cab6bbf Optimize batteries after importing database - 1.125
Closes #151
2023-02-14 16:50:14 +13:00
Brandon Presley f4db61aeec Fix unit tests - 1.124 2023-02-14 16:41:30 +13:00
Brandon Presley 3af3e1faf2 Order plan workouts alphabetically
Closes #150
2023-02-14 16:37:09 +13:00
Brandon Presley 7bc9c00a63 Merge branch 'master' of gitea.presley.nz:brandon.presley/Massive 2023-02-13 11:05:32 +13:00
Brandon a03731c6ff Prevent empty flicker on best view - 1.122 - 1.123
Closes #148
2023-02-13 10:43:03 +13:00
Brandon f1e0911488 Prevent empty flicker on best view - 1.122
Closes #148
2023-02-04 15:15:34 -07:00
Brandon 1a75d8897d Skip deploy checks for -n flag - 1.119 2023-02-04 14:16:31 -07:00
Brandon 9f7cbba80a Add -n flag to deploy.sh 2023-02-04 14:14:29 -07:00
Brandon de2aa67e6e Version 1.118 2023-01-26 20:04:53 -07:00
Brandon 28ec021258 Fix copying sets - 1.117
Related to #143
2023-01-17 10:22:21 -07:00
Brandon Presley 04ef72e48b Fix unit tests - 1.116 2023-01-08 18:10:24 +13:00
Brandon Presley 467df629b0 Change edit headers to add when adding 2023-01-08 18:05:59 +13:00
Brandon Presley e7f85a9954 Add date/time picker to EditSet - 1.115 2023-01-08 18:02:17 +13:00
Brandon Presley 5e6896eaba Ignore coverage directory for linting 2023-01-08 14:01:43 +13:00
Brandon Presley 6438a9c48a Use the same colors as switch for timer page - 1.114 2023-01-08 14:00:27 +13:00
Brandon Presley 8e8961419c Add plan list unit tests 2023-01-05 17:15:16 +13:00
Brandon Presley b0696d1d58 Add view best unit tests 2023-01-05 17:07:06 +13:00
Brandon Presley 73d9b1c617 Remove duplicate git push from deploy.sh - 1.113
We already do a git push at the end.
2023-01-05 16:43:56 +13:00
Brandon Presley a6130b3a10 Merge branch 'master' of gitea.presley.nz:brandon.presley/Massive 2023-01-05 16:41:47 +13:00
Brandon Presley 7bee8ae732 Try amending last commit for deployment script - 1.112
By including the version name in the last commit,
if that commit references an issue users now know
what version number to expect the fix in.
2023-01-05 16:40:10 +13:00
Brandon Presley 6c8731c17a Try amending last commit for deployment script
By including the version name in the last commit,
if that commit references an issue users now know
what version number to expect the fix in.
2023-01-05 16:35:53 +13:00
Brandon Presley 6fa2bbb506 Add versionName to commit message for deployment - 1.102
Users are seeing the version name the version code so we should
try to use it as much as possible.
2023-01-05 16:33:48 +13:00
Brandon Presley 069f770c96 Set versionCode=36137 2023-01-04 13:47:22 +13:00
Brandon Presley b41c30d886 Replace it with test for jest files
Test explains what it is we are writing, whereas it
doesn't.
2023-01-04 13:44:28 +13:00
Brandon Presley 495b89fba3 Add unit to save set test 2023-01-04 13:27:17 +13:00
Brandon Presley 42912040ff Simplify getNow 2023-01-04 13:24:49 +13:00
Brandon Presley c7952738b5 Add selected title for plans + sets
Inspired by the stock Files app in Android.
2023-01-03 17:21:51 +13:00
Brandon Presley cffc458338 Start alarms as a foreground service
Related to #142.
Can't be sure this fixed anything because I can't replicate the error
on my emulators running android 13. I need to install android 13
on a real device and try replicate + see if this fixes it.
2023-01-03 17:04:51 +13:00
Brandon Presley 05237fc293 Set versionCode=36136 2023-01-03 15:15:33 +13:00
Brandon Presley 5fd7e75908 Fix settings persistence issues 2023-01-03 14:59:19 +13:00
Brandon Presley 705052f1b4 Set versionCode=36135 2023-01-03 11:33:43 +13:00
Brandon Presley efc97bdf47 Fix settings page on shorter devices 2023-01-03 11:31:37 +13:00
Brandon Presley d0702b7675 Reduce redundancy of labels for theme setting 2023-01-03 11:31:25 +13:00
Brandon Presley 24e230e8b9 Use a scroll view for settings page
This way shorter screens dont cut off content
2023-01-02 23:29:46 +13:00
Brandon Presley 67689f4af8 Set versionCode=36134 2023-01-02 18:56:53 +13:00
Brandon Presley a2721e9f12 Use sqlite in Android code for alarm settings
Closes #129
2023-01-02 18:54:35 +13:00