Commit Graph

359 Commits

Author SHA1 Message Date
Alinson S. Xavier
98d17d60a5 Refactor ShowHabitRootView; convert ShowHabitActivity to Kotlin 2020-12-22 09:17:39 -06:00
Alinson S. Xavier
4c1c6e76fc Remove unused methods 2020-12-21 21:51:49 -06:00
Alinson S. Xavier
ac1441aba5 Simplify commands 2020-12-21 21:49:12 -06:00
Alinson S. Xavier
5d2ff40dc9 Replace primitive int by PaletteColor 2020-12-21 21:36:35 -06:00
Alinson S. Xavier
63f2b80515 Remove AndroidDateUtils 2020-12-21 20:41:01 -06:00
Alinson S. Xavier
52b25fbc72 Remove AndroidDateFormats 2020-12-21 20:29:41 -06:00
Alinson S. Xavier
b94a887534 Remove redundant logError method 2020-12-21 20:25:48 -06:00
Alinson S. Xavier
f6699fbfda Move SyncManager to uhabits-core 2020-12-21 18:20:43 -06:00
Alinson S. Xavier
9743b05a78 Move sync package to org.isoron.uhabits.core 2020-12-21 17:13:08 -06:00
Alinson S. Xavier
9681b7b5ef RemoteSyncServer: Improve logging 2020-12-21 17:08:55 -06:00
Alinson S. Xavier
017bc50698 Move sync classes to uhabits-core 2020-12-21 17:08:55 -06:00
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