Commit Graph

398 Commits

Author SHA1 Message Date
Alinson S. Xavier
4f55ec6ea8 Bump version number 2020-11-29 16:16:27 -06:00
Alinson S. Xavier
16b0682229 Ignore all performance tests 2020-11-29 15:05:28 -06:00
Alinson S. Xavier
a77798f293 PerformanceTest: Increase time limit 2020-11-29 13:38:09 -06:00
Alinson S. Xavier
08050ff616 WidgetUpdater: Remove rate limit 2020-11-29 13:07:17 -06:00
Alinson S. Xavier
12b080152b Speed up CreateHabitCommand and CreateRepetitionCommand 2020-11-29 12:46:01 -06:00
Alinson S. Xavier
df3d660e83 SyncActivity: Remove password field 2020-11-29 07:19:40 -06:00
Alinson S. Xavier
5717ae1bf1 RemoteSyncServer: Fix test 2020-11-29 07:11:38 -06:00
Alinson S. Xavier
872c8d9d81 SyncManager: Small fix in logging 2020-11-29 06:47:18 -06:00
Alinson S. Xavier
0b6110f0f9 Add alpha to version name 2020-11-28 22:29:24 -06:00
Alinson S. Xavier
6df5e9ebe9 Monitor network availability; other minor fixes 2020-11-28 22:28:54 -06:00
Alinson S. Xavier
2b9fd74a1d Close database 2020-11-28 22:28:46 -06:00
Alinson S. Xavier
b0336fb495 SyncManager: Log sync key 2020-11-28 16:22:33 -06:00
Alinson S. Xavier
328fcd23f4 SyncManager: Run tasks in the same thread 2020-11-28 11:37:35 -06:00
Alinson S. Xavier
9c0951ae58 Minor fixes to sync protocol 2020-11-28 11:32:28 -06:00
Alinson S. Xavier
1787c0e74e Upgrade to Android Gradle plugin 4.1.0 2020-11-28 10:06:53 -06:00
Alinson S. Xavier
49faacda1c Wrap base64 functions; close gzip stream before reading 2020-11-28 09:44:45 -06:00
Alinson S. Xavier
339eeff1ff Merge branch 'dev' into feature/sync 2020-11-28 08:55:12 -06:00
Alinson S. Xavier
849212fd2f Run medium tests three times 2020-11-28 08:48:55 -06:00
Alinson S. Xavier
b6eefbdb36 setSystemTime: Try two methods 2020-11-27 18:35:52 -06:00
Alinson S. Xavier
2a72601153 Increase minSdkVersion to 23 2020-11-27 18:22:44 -06:00
Alinson S. Xavier
2bf7358207 Fix medium tests for Android APIs 23-25 2020-11-27 18:00:56 -06:00
Alinson S. Xavier
ce0cbb6ee2 Sync: Improve encryption and preferences API 2020-11-27 10:55:55 -06:00
Alinson S. Xavier
67ef3bb90c SyncManager: Switch to coroutines 2020-11-27 09:13:17 -06:00
Alinson S. Xavier
b82af419f8 Merge branch 'dev' into feature/sync 2020-11-26 23:56:53 -06:00
Alinson S. Xavier
49ff9a7edf Fix failing tests 2020-11-26 23:47:40 -06:00
Alinson S. Xavier
53ebdf4f14 Skip upload if database has not changed 2020-11-26 23:43:47 -06:00
Alinson S. Xavier
4762b54701 Merge branch 'dev' into feature/sync 2020-11-26 15:39:44 -06:00
Alinson S. Xavier
aa288ac406 Make question marks optional
Fixes #96
2020-11-26 15:36:44 -06:00
Alinson S. Xavier
2228dbf0f4 Create new UNKNOWN checkmark state 2020-11-26 15:08:49 -06:00
Alinson S. Xavier
9ca1c8e459 Rewrite WidgetBehavior and associated tests 2020-11-26 14:19:15 -06:00
Alinson S. Xavier
61414d62f4 Remove calls to Repetition.add and Repetition.remove 2020-11-26 14:19:02 -06:00
Alinson S. Xavier
f97fed3b9b Repetition: Replace toggle by setValue 2020-11-26 13:29:12 -06:00
Alinson S. Xavier
d45281d137 Merge branch 'master' into dev 2020-11-26 08:59:52 -06:00
Alinson S. Xavier
56c180183e Update release notes 2020-11-26 08:22:37 -06:00
Alinson S. Xavier
af8d983cca Add dummy settings.gradle file to help F-Droid locate app metadata 2020-11-26 08:20:10 -06:00
Alinson S. Xavier
0a49232ebd Add dummy settings.gradle file to help F-Droid locate app metadata 2020-11-26 08:11:40 -06:00
Alinson S. Xavier
cff8e26428 Update translations 2020-11-25 22:33:41 -06:00
Alinson S. Xavier
e892bccb32 Bump version to 1.8.10 2020-11-25 18:23:27 -06:00
Alinson S. Xavier
68ccf37fd5 Add UUID to habits 2020-11-24 08:28:16 -06:00
Alinson S. Xavier
659c528744 SyncManager: First version 2020-11-24 06:55:37 -06:00
Alinson S. Xavier
b1560dd694 LoopDBImporter: Use commands instead of directly modifying DB 2020-11-24 06:54:28 -06:00
Alinson S. Xavier
0de86ac66c Update widgets at most once per minute 2020-11-24 06:53:20 -06:00
Alinson S. Xavier
35ca041bc2 EncExt: Trim keys 2020-11-24 06:51:08 -06:00
Alinson S. Xavier
576a334dc9 Update sync intent-filter 2020-11-24 06:32:21 -06:00
Alinson S. Xavier
294aee5d12 Implement cryptography extensions 2020-11-22 22:39:22 -06:00
Alinson S. Xavier
0859cec853 Implement intent filter; hide password for now 2020-11-22 17:00:37 -06:00
Alinson S. Xavier
23f2978a64 Add sync preferences to settings screen 2020-11-22 15:39:08 -06:00
Alinson S. Xavier
a2400172e2 Make registration functional 2020-11-22 13:00:59 -06:00
Alinson S. Xavier
5376f4bff8 Implement SyncActivity (with static data) 2020-11-22 10:07:34 -06:00
Alinson S. Xavier
008902d3b7 AutoBackup: Use getLocalTime instead of getStartOfToday; improve logging 2020-11-21 10:12:52 -06:00
Alinson S. Xavier
4764c07f3b Bump version to 2.0.0 2020-11-19 19:29:26 -06:00
Quentin Hibon
bfddc42f5e
Allow user to sort by status (#660) 2020-11-19 19:05:21 -06:00
Alinson S. Xavier
dc0b8deccf Export backups daily
Fixes #178
2020-11-19 18:31:28 -06:00
Alinson S. Xavier
b674d14b49 Opt-in skips: Update tests 2020-11-18 22:26:45 -06:00
Alinson S. Xavier
d594d3b085 Make skip days an opt-in feature 2020-11-18 22:13:03 -06:00
Alinson S. Xavier
ba08968600 Fix tests 2020-11-18 06:45:47 -06:00
Sunxy88
2d488a67f2
Use dark theme in settings window. (#655) 2020-11-14 07:57:07 -06:00
Kristian Tashkov
d997b1378d
Setting custom start of the day (#621) 2020-09-19 19:23:00 -05:00
Alinson S. Xavier
720f98f9bd Write tests for IntentScheduler 2020-09-19 19:11:57 -05:00
Alinson S. Xavier
ddea9e78a9 ScoreList: Fix interaction between SKIP and rolling sum 2020-09-16 07:38:59 -05:00
Alinson S. Xavier
c429cb41c0 Fix method rename 2020-09-15 22:32:46 -05:00
Alinson S. Xavier
ae286cec14 Take frequency into account when computing score for numerical habits 2020-09-15 22:30:44 -05:00
Alinson S. Xavier
31d631b155 Update test screenshots 2020-09-15 22:30:44 -05:00
Alinson S. Xavier
20142d5f94 Reduce time required to form non-daily habits; smooth out irregular schedules 2020-09-15 22:30:44 -05:00
Alinson S. Xavier
ef186d55c6 Update test screenshots 2020-09-15 22:30:44 -05:00
Alinson S. Xavier
8b847ae9fa ScoreList: Use rolling sum method also for boolean habits
See #641
2020-09-15 22:30:44 -05:00
Kristian Tashkov
a4ef657897
Make skips freeze score (#630) 2020-09-13 17:01:15 -05:00
Alinson S. Xavier
f44556e281 ScoreList: Use rolling sum for non-daily numerical habits 2020-09-12 21:40:59 -05:00
Alinson S. Xavier
8a895b2d20 Fix colors in BarChart and HistoryChard 2020-09-12 16:09:12 -05:00
Alinson S. Xavier
61f32449dd Numerical habits: allow Tasker to increment/decrement value 2020-09-12 15:10:46 -05:00
Kristian Tashkov
07f8583c3d
Don't show reminders from archived habits (#639) 2020-09-12 13:15:23 -05:00
Kristian Tashkov
69f11c9d4e
Fix clearing of reminders (#638) 2020-09-12 12:47:03 -05:00
Nguyen Ly Nam
1ffc079042
Numerical habits: update notifications and detail screen (#627) 2020-09-11 17:32:20 -05:00
Alinson S. Xavier
5fa3f412c0 Show YES_AUTO as grey checkmark
This reverts a change introduced recently where YES_AUTO (previously CHECKED_IMPLICITLY)
was shown as a grey dash.
2020-09-05 18:46:48 -05:00
Alinson S. Xavier
b72cad5316 Rename checkmark values to NO, YES_AUTO, YES_MANUAL and SKIP
This makes the source code consistent with the user interface.
2020-09-05 18:04:04 -05:00
Kristian Tashkov
d59ab89426
Update widgets at midnight (#634) 2020-09-05 17:25:46 -05:00
Alinson S. Xavier
ea019321e6 Revert "NumberPickerFactory: Show and hide keyboard using InputMethodManager"
This reverts commit 6967def950. InputMethodManager method
does not work reliably on widgets. It also cannot reliably hide the keyboard.
2020-09-03 22:22:07 -05:00
Alinson S. Xavier
6967def950 NumberPickerFactory: Show and hide keyboard using InputMethodManager
In about 1 every 10 attempts, the previous solution randomly failed to show
the keyboard, although the text field was focused. This solution seems more reliable.
2020-09-03 21:55:03 -05:00
Alinson S. Xavier
6d4cac427f NumberPickerFactory: Automatically show keyboard 2020-09-03 21:06:46 -05:00
Álinson S. Xavier
152b2d5427
Merge pull request #631 from KristianTashkov/habit_selection_dark_theme
Fix habit selection menu item background color
2020-09-02 08:09:26 -05:00
Alinson S. Xavier
9d28fbe7b5 ScoreList: Revert recent changes to computation of scores 2020-09-02 07:01:54 -05:00
Alinson S. Xavier
c846dfc75a Make skips equivalent to implicit checks; make their visual representation consistent 2020-09-01 22:23:42 -05:00
Alinson S. Xavier
ee7eb4ef51 build.sh: Always use GRADLE variable 2020-09-01 22:22:38 -05:00
KristianTashkov
57bfe3d801 Fix habit selection menu item background color 2020-09-01 15:53:30 +03:00
Alinson S. Xavier
a5ee96f988 HistoryChart: Make skipped days a bit more clear 2020-08-23 15:09:13 -05:00
Alinson S. Xavier
7b0eddeac5 Set minimum widget size 2020-08-23 14:48:58 -05:00
Alinson S. Xavier
e8e52db9b1 HabitPickerDialog: Show "no habits found" message 2020-08-23 14:39:11 -05:00
Alinson S. Xavier
cddbf558e6 Reactivate widget view tests; update widget previews 2020-08-23 14:09:50 -05:00
Alinson S. Xavier
79459c373e Manage exceptions for when activities don't exist to handle intents
Fixes #181
2020-08-23 08:57:00 -05:00
Alinson S. Xavier
84523869e8 Manage exceptions for when activities don't exist to handle intents
Fixes #181
2020-08-23 08:43:22 -05:00
Alinson S. Xavier
590298bf5b MemoryHabitList: Inherit parent's order
Fixes #598
2020-08-23 07:43:20 -05:00
Alinson S. Xavier
8067fd5313 MemoryHabitList: Inherit parent's order
Fixes #598
2020-08-23 07:41:42 -05:00
Christoph Hennemann
d2dc756a34 Improve readability of history and streak charts
Fixes #432

Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-22 23:37:43 -05:00
Alinson S. Xavier
2af1dbf3a6 Reactivate HistoryChart tests; fix IndexOutOfBoundsException 2020-08-22 19:42:46 -05:00
Alinson S. Xavier
ebab6f08ee Remove obsolete regression test 2020-08-22 19:04:29 -05:00
Alinson S. Xavier
4a2b21855a Update ListHabitsRegressionTest 2020-08-22 19:04:11 -05:00
Alinson S. Xavier
42d5edec26 WidgetTest: Tap twice to remove checkmark 2020-08-22 18:50:39 -05:00
Alinson S. Xavier
f368e43158 CreateRepetitionCommand: Run update() after executing 2020-08-22 18:27:12 -05:00
Alinson S. Xavier
09eb8c9f4d Fix widget tests on API 29+ 2020-08-22 17:52:53 -05:00
Alinson S. Xavier
209e709163 Make widgets fully opaque by default 2020-08-22 16:26:59 -05:00
Alinson S. Xavier
d20a2be7e6 Remove obsolete test screenshots 2020-08-22 15:58:26 -05:00
Alinson S. Xavier
bd68f8fc5a Revert changes to HistoryCard view screenshots 2020-08-22 15:56:24 -05:00
KristianTashkov
1a05f7d85d Allow user to skip days without breaking streak
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-22 15:35:35 -05:00
TacoTheDank
d9ff429c28 Deprecation fixes
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-22 12:14:35 -05:00
Alinson S. Xavier
3554895a5d Widgets: Show shadow if widget is completely opaque 2020-08-18 08:09:12 -05:00
Alinson S. Xavier
16491c142a Widgets: Fix title size 2020-08-18 08:00:38 -05:00
Alinson S. Xavier
859fea5ff5 Hide streaks for numerical habits 2020-08-18 07:57:57 -05:00
Alinson S. Xavier
34c73e89db Merge branch 'hotfix/1.8.9' into dev 2020-08-15 15:18:21 -05:00
Alinson S. Xavier
09bf49a9ce Remove notification groups; revert to default system behavior 2020-08-15 14:45:40 -05:00
Alinson S. Xavier
48e43869c7 Merge branch 'hotfix/1.8.9' into dev 2020-08-15 14:18:50 -05:00
Alinson S. Xavier
963fb58309 Revert changes to android-pickers 2020-08-15 13:58:03 -05:00
Alinson S. Xavier
38fb37cde2 Remove SyncManager and Internet permission 2020-08-15 13:54:29 -05:00
Alinson S. Xavier
d0b4e3e163 Bump version to 1.8.9 2020-08-15 13:35:48 -05:00
Alinson S. Xavier
3ef3be4d16 Tidy up strings.xml 2020-08-15 12:47:32 -05:00
Alinson S. Xavier
bae0e3bcc1 Remove unused resources 2020-08-15 12:45:34 -05:00
Alinson S. Xavier
3e99d821a5 Allow user to sort habits in reverse order
Closes #556, closes #497
2020-08-15 12:29:49 -05:00
olegivo
acb5051eec Konvert BaseActivity
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-15 11:46:13 -05:00
olegivo
b76882dd1d Konvert BaseMenu
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-15 11:41:19 -05:00
olegivo
978946baab Konvert BaseSelectionMenu
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-15 11:38:41 -05:00
olegivo
d202f14c14 Konvert BaseScreen
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-15 11:36:03 -05:00
olegivo
17a85e517a Konvert BaseRootView
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-13 07:53:37 -05:00
olegivo
c5bc5deff0 Konvert ActivityScope
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-13 07:44:07 -05:00
olegivo
b7f04957a5 Konvert ActivityContext
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-13 07:43:19 -05:00
olegivo
b0f5f96eee Konvert StyledResources
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-13 07:40:49 -05:00
olegivo
fd76a3c6fd Konvert InterfaceUtils
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-08-13 07:32:41 -05:00
KristianTashkov
87231d7fa4 fix saving of non-numerical habits 2020-07-20 13:12:58 +03:00
olegivo
4d18a1335c Convert FileUtils to Kotlin
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-07-12 10:22:18 -05:00
olegivo
424a417a13 Convert ColorUtils to Kotlin
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-07-12 10:00:23 -05:00
Thomas S
96d23bdf22 Update checkmark widget for numerical support
Co-authored-by: Alinson S. Xavier <git@axavier.org>
2020-07-12 09:25:49 -05:00
Alinson S. Xavier
a8e77b8df8 Update test screenshots 2020-07-02 08:04:03 -05:00
Alinson S. Xavier
5413569ce3 Update test screenshots 2020-07-02 07:31:02 -05:00
Alinson S. Xavier
d80b85ac8c Make bars round 2020-06-25 07:16:47 -05:00
Alinson S. Xavier
40bc35935f Create target widget 2020-06-25 07:04:43 -05:00
Alinson S. Xavier
a6060f468d Create new TargetCard and TargetChart 2020-06-25 06:12:26 -05:00
Alinson S. Xavier
6ec9d51a1e CheckmarkList: Implement getThisIntervalValue 2020-06-24 20:07:56 -05:00
Alinson S. Xavier
de28a5e74e EditHabitActivity: Do not divide target by freq denominator 2020-06-24 20:07:21 -05:00
Alinson S. Xavier
3ba503604b Show target in SubtitleCard; replace some bitmap icons by FontAwesome 2020-06-23 06:19:08 -05:00
Alinson S. Xavier
6d48b53861 Merge branch 'master' into dev 2020-06-21 17:28:41 -05:00
Alinson S. Xavier
bf650a7565 Fix crash when saving habit (some languages only) 2020-06-21 11:31:53 -05:00
Alinson S. Xavier
b78cd1dd0d Update tests 2020-06-21 11:00:00 -05:00
Alinson S. Xavier
6d9ad8c56c Tweak snapIntervalsTogether so that "1 time every x days" habits work better 2020-06-21 10:59:31 -05:00
Alinson S. Xavier
e7a3f0cffa Fix build script; remove some obsolete tests 2020-06-21 10:45:46 -05:00
Alinson S. Xavier
6aa72caf6c Bump version to 1.8.8 2020-06-21 10:39:27 -05:00
Alinson S. Xavier
0b7697d172 Make save button functional for numerical habits 2020-06-20 08:39:55 -05:00
Alinson S. Xavier
b9850fa085 Create form for numerical habits 2020-06-20 07:45:38 -05:00
Alinson S. Xavier
ecb3978bdd Fix dialog animations 2020-06-19 20:57:35 -05:00
Alinson S. Xavier
fc57a9db6c Merge branch 'feature/numerical' into dev 2020-06-19 07:50:50 -05:00
Alinson S. Xavier
6c9c2a6c1a Update tests 2020-06-19 07:48:40 -05:00
Alinson S. Xavier
3e0529d515 Remove old EditHabitDialog 2020-06-19 06:59:16 -05:00
Alinson S. Xavier
7d8d89fbbd EditHabitActivity: Adjust inputType 2020-06-19 06:58:36 -05:00