Commit Graph

346 Commits

Author SHA1 Message Date
158dd61668 Prevent sets dissapearing after updating - 1.146
Previously we would always update the created
field by making a new Date object, even if
the user didn't pick a new date. On some
devices this might slightly change the time
of the day, meaning it jumps somewhere else
on the home page.
2023-07-27 13:31:50 +12:00
85915b9aa0 Retrieve last set when running a plan - 1.145
Closes brandon.presley/Massive#162

We should just keep it simple and get the most recent set instead of
trying to figure out what the best kind of maximum would be.
2023-07-23 13:59:11 +12:00
556347e632 Include date picker for new sets - 1.144
Not sure why I had this hidden,
probably made sense in the earlier
versions of this app.
2023-07-17 18:52:38 +12:00
9dc188e6ec Remove duplicated permission in AndroidManifest
Also add something to remove the "advertising ID"
or whatever the hell that means. (Thanks google?)
2023-07-17 18:43:15 +12:00
514efc6467 Upgrade react-native to 0.72.1
This unfortunately has broken the unit tests.
Will have to worry about fixing them later.
Everything seems to be working other
than that.
2023-07-07 13:17:19 +12:00
0beb1397a6 Hide play button from new plans - 1.143
It doesn't make sense to start a plan
that hasn't been created yet.
2023-07-04 11:20:07 +12:00
a5b6673e9a Don't auto-focus weight when editing a set - 1.142
I find myself opening up a set often to
just read the fields rather than changing
anything.
It makes sense to auto-focus the name for
a brand new set, since it's required and
typically what you first fill out.
2023-06-29 16:31:15 +12:00
6a7bd632e5 Add delete database button - 1.141
Semi-related to brandon.presley/Massive#160
If a user manages to import a database that ultimately
breaks the app elsewhere, deleting the database is a nice
tool to try and fix things.
2023-06-29 15:34:14 +12:00
23ed95dcdb Reduce debug logging in ViewBest - 1.140 2023-06-24 13:06:35 +12:00
8f1f9f6e7d Ran bundle update 2023-06-22 10:26:01 +12:00
bdd5e23f32 Change date formats to be day/month instead of month/day - 1.139
Also added the ISO one yyyy-mm-dd, time.
Closes #157.
2023-06-18 11:36:35 +12:00
9c9a5fdd63 Trim search queries - 1.138
Closes #156
2023-06-13 14:18:49 +12:00
90db607190 Easily swap between edit/start for plans - 1.137 2023-03-28 12:20:32 +13:00
db5cc566ea Remove double permissions request and fix import - 1.136 2023-03-27 14:45:28 +13:00
76e5aeacfd Choose directory when backing up automatically - 1.135
Related to #146.
2023-03-27 14:34:17 +13:00
d1342c0efa Update fastlane 2023-03-24 19:32:26 +13:00
288ae1ae0c Disable timers if rest time is set to zero - 1.134 2023-03-24 19:16:35 +13:00
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
d2a1c432bb Handle EACCESS in BackupModule 2023-03-24 17:43:28 +13:00
5dd569ef72 Upgrade to react-native 0.70.2 - 1.132 2023-03-21 17:09:24 +13:00
79a48b1e47 Run automatic backups after database imports - 1.131 2023-03-09 18:48:32 +13:00
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
4db820f10a Remove DownloadModule
This was no longer in use
2023-03-07 18:23:38 +13:00
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
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
00d4edcfc3 Request FOREGROUND_SERVICE permission - 1.127
Related to #142
2023-02-24 19:30:48 +13:00
8dd8f786ef Round graphs to 2dp - 1.126
Closes #152
2023-02-22 19:44:23 +13:00
a84cab6bbf Optimize batteries after importing database - 1.125
Closes #151
2023-02-14 16:50:14 +13:00
f4db61aeec Fix unit tests - 1.124 2023-02-14 16:41:30 +13:00
a03731c6ff Prevent empty flicker on best view - 1.122 - 1.123
Closes #148
2023-02-13 10:43:03 +13:00
1a75d8897d Skip deploy checks for -n flag - 1.119 2023-02-04 14:16:31 -07:00
de2aa67e6e Version 1.118 2023-01-26 20:04:53 -07:00
28ec021258 Fix copying sets - 1.117
Related to #143
2023-01-17 10:22:21 -07:00
04ef72e48b Fix unit tests - 1.116 2023-01-08 18:10:24 +13:00
e7f85a9954 Add date/time picker to EditSet - 1.115 2023-01-08 18:02:17 +13:00
6438a9c48a Use the same colors as switch for timer page - 1.114 2023-01-08 14:00:27 +13:00
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
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
069f770c96 Set versionCode=36137 2023-01-04 13:47:22 +13:00
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
05237fc293 Set versionCode=36136 2023-01-03 15:15:33 +13:00
705052f1b4 Set versionCode=36135 2023-01-03 11:33:43 +13:00
67689f4af8 Set versionCode=36134 2023-01-02 18:56:53 +13:00
a2721e9f12 Use sqlite in Android code for alarm settings
Closes #129
2023-01-02 18:54:35 +13:00
9287c31e70 Update fastlane 2023-01-01 13:47:04 +13:00
5612df5d8c Set versionCode=36133 2023-01-01 13:46:26 +13:00
d71ad8c170 Set versionCode=36132 2023-01-01 13:18:13 +13:00
0be8f03133 Set versionCode=36131 2022-12-30 20:40:15 +13:00
e51aad21f3 Set versionCode=36130 2022-12-30 20:31:34 +13:00
7f1513f0a5 Set versionCode=36129 2022-12-30 13:37:42 +13:00
a9266ba77b Set versionCode=36128 2022-12-29 20:11:34 +13:00
7bf802ea45 Set versionCode=36127 2022-12-29 16:43:16 +13:00
b33a829816 Set versionCode=36126 2022-12-27 00:39:22 +13:00
a9b86fb555 Set versionCode=36125 2022-12-24 20:10:26 +13:00
8625ca2189 Set versionCode=36124 2022-12-24 13:13:55 +13:00
d89721c718 Set versionCode=36123 2022-12-23 18:35:11 +13:00
75f2a8269a Set versionCode=36122 2022-12-18 18:28:04 +13:00
faeb5ee1e0 Set versionCode=36121 2022-12-18 14:24:20 +13:00
f02249e254 Set versionCode=36120 2022-12-17 16:50:00 +13:00
c1b63815a2 Set versionCode=36119 2022-12-15 16:44:49 +13:00
fcd1a4146e Set versionCode=36118 2022-12-14 18:57:05 +13:00
1818e39f41 Set versionCode=36117 2022-12-12 13:18:41 +13:00
6568d224ea Set versionCode=36116 2022-12-10 22:26:33 +13:00
9c184c5924 Add log when alarm finishes 2022-12-08 15:56:09 +13:00
6df9bba2ae Set versionCode=36115 2022-12-08 15:42:02 +13:00
216fc43a81 Set versionCode=36114 2022-12-08 14:53:28 +13:00
e46e23c9e1 Set versionCode=36113 2022-12-04 19:38:23 +13:00
6071957a40 Suppress unused parameter in TimerDone.kt 2022-12-02 16:31:20 +13:00
46262fe6b4 Set versionCode=36112 2022-12-02 14:50:19 +13:00
c2994da041 Make getManager private on AlarmModule
It was never used publicly.
2022-12-02 14:47:54 +13:00
284983c1cf Set versionCode=36111 2022-12-01 15:54:13 +13:00
c1b6659058 Set versionCode=36110 2022-12-01 15:46:58 +13:00
825981460e Set versionCode=36109 2022-12-01 14:20:27 +13:00
9db11460fe Set versionCode=36108 2022-11-30 15:21:17 +13:00
51b2f9396f Set versionCode=36107 2022-11-30 15:17:07 +13:00
d3c3a09a0f Set versionCode=36106 2022-11-30 14:34:49 +13:00
6676efe69f Simplify AlarmModule 2022-11-30 14:23:24 +13:00
2d1bed0671 Remove unused import in SettingsModule 2022-11-30 14:23:15 +13:00
4e9cd59b0b Set versionCode=36105 2022-11-26 14:21:58 +13:00
0c5a221e0f Set versionCode=36104 2022-11-23 21:53:27 +13:00
93b4861da9 Set versionCode=36103 2022-11-22 21:40:39 +13:00
be4098962e Add settings module for android 2022-11-21 18:15:43 +13:00
f506aa5af7 Set versionCode=36102 2022-11-15 17:43:28 +13:00
8639b53e7f Set versionCode=36101 2022-11-14 14:29:48 +13:00
79296b6518 Set versionCode=36100 2022-11-12 16:45:39 +13:00
4cc4679dfd Set versionCode=36099 2022-11-12 16:01:55 +13:00
970cf36c94 Set versionCode=36098 2022-11-10 15:18:05 +13:00
60fe324e06 Send 00:00 at end of alarm event 2022-11-10 15:15:14 +13:00
60fd0130b3 Set versionCode=36097 2022-11-09 11:29:09 +13:00
9db4990202 Set versionCode=36096 2022-11-08 16:47:54 +13:00
77f77b0ec4 Update gems 2022-11-08 16:46:13 +13:00
1e213b32f8 Set versionCode=36095 2022-11-08 16:35:21 +13:00
bc4bc44b7d Fix download notifications
I accidentally deleted DownloadModule which
sent a notification of the successful export
of sets/plans
2022-11-08 16:32:57 +13:00
04eb738c73 Set versionCode=36094 2022-11-08 16:10:36 +13:00
7b403050f3 Set versionCode=36093 2022-11-07 16:38:35 +13:00
3c17a12f6e Fix settings for adding 1 min to rest timer
Previously when adding one minute to the rest timer from
the notification, settings weren't being used (sound,
vibration).

Closes #113
2022-11-07 15:56:07 +13:00
f57de5265d Set versionCode=36092 2022-11-05 17:35:06 +13:00
075d038ccc Set versionCode=36091 2022-11-05 17:24:59 +13:00
97442bc292 Fix adding one minute to a complete alarm 2022-11-05 17:22:51 +13:00
24e7ee58d9 Set versionCode=36090 2022-11-05 14:53:52 +13:00