Commit Graph

730 Commits

Author SHA1 Message Date
Alinson Xavier
222261c674 Add order menu 2016-11-23 06:35:07 -05:00
Alinson Xavier
b1a06df7f8 Implement automatic sorting for SQLHabitList 2016-11-23 05:58:46 -05:00
Alinson Xavier
a1fc7dd0d1 Implement automatic sorting for MemoryHabitList 2016-11-04 05:59:34 -04:00
Justin Inácio
10131d5124 Allow intervals larger than 99 days (#202) 2016-11-02 06:13:31 -04:00
Alinson Xavier
908fd1d6ae Fix NoSuchMethodError on Android 4.1 2016-10-11 06:34:22 -04:00
Alinson Xavier
c8cd4fa389 Delete old database cache 2016-10-10 11:39:18 -04:00
Alinson Xavier
e273fe7375 Automatically repair inconsistent databases before crashing 2016-10-10 08:49:16 -04:00
Alinson Xavier
ab3b946c65 Update translations 2016-10-09 18:23:24 -04:00
Alinson Xavier
38cd47c199 Remove empty title bar on TimePickerDialog 2016-10-09 13:18:36 -04:00
Alinson Xavier
fa64bd389d Update list of developers 2016-10-09 12:47:33 -04:00
Alinson Xavier
79ae181df2 Bump version to 1.6.0 2016-10-09 12:14:03 -04:00
Alinson Xavier
320dca9070 Automatically change order of days on pre-lollipop 2016-10-09 12:05:57 -04:00
Alinson Xavier
f3b9fc825a HabitMatcher: only compute today's value if needed 2016-10-09 11:58:03 -04:00
Alinson Xavier
50da14022f Fix bug that prevented ringtone from being saved 2016-10-09 11:47:30 -04:00
Alinson Xavier
84a02fe541 Remove duplicate shadows and some duplicate code 2016-10-09 11:32:50 -04:00
Alinson Xavier
b3aa3d14c0 Remove unused resources 2016-10-04 07:52:36 -04:00
Alinson Xavier
e9cdfd23c4 Fix widgets on API 15 2016-10-04 07:43:40 -04:00
Alinson Xavier
659ad2d817 Fix card background color (pre-lollipop) 2016-10-04 07:37:40 -04:00
Alinson Xavier
d537ba0dfa Fix layout issues on pre-lollipop 2016-10-04 07:29:51 -04:00
Alinson Xavier
7c14725d88 Always show menu icons 2016-10-04 06:57:01 -04:00
Alinson Xavier
638b3f763c Fix some crashes on old devices 2016-09-30 08:10:25 -04:00
Alinson Xavier
f876fc50bb Only recalculate all list positions when repairing database 2016-09-30 07:24:29 -04:00
Alinson Xavier
919504ccfb Render widgets in a separate thread 2016-09-30 07:03:23 -04:00
Alinson Xavier
8e82f369c7 Implement Tasker/Locale plugin 2016-09-25 11:01:17 -04:00
Alinson Xavier
0a5677211e Remove reference to MainActivity 2016-09-24 17:02:30 -04:00
Alinson Xavier
65071797c9 SettingsActivity: Fix toolbar color in night mode 2016-09-24 16:49:45 -04:00
Alinson Xavier
df1751b21a Refactor AboutActivity 2016-09-24 16:41:14 -04:00
Alinson Xavier
4e952dd87a Remove MainActivity and use activity-alias 2016-09-24 16:03:41 -04:00
Nikhil
132dce8919 Improve error message on widget
Fixes #168
2016-09-19 21:24:32 -04:00
Alinson Xavier
5c8450191a Make notifications actionable on the Pebble
Closes #126
2016-09-19 18:32:03 -04:00
Alinson Xavier
b1d00598eb Add option to repair database 2016-09-18 08:09:18 -04:00
Alinson Xavier
518ade3165 Add some database checks 2016-09-18 08:08:56 -04:00
jotran
ec34043041 Add exporting scores and checkmarks files with multiple habits (#68).
Add writeMultipleHabits to write a scores file and a checkmarks file
that contains scores and checkmarks of multiple habits.
Add getTimeframe because it was necessary to get the timeframe between
all habits so that row data could be populated correctly for habits that
started before/after other habits.
Move writeCheckmarks to below writeScores since it wasn't called until
after writeScores in writeHabits.

Add getByInterval to ScoreList, MemoryScoreList, and SQLiteScoreList to
get scores between a given interval - simiarly to CheckmarkList.

Add getValues (ScoreList) to get all values between a given timeframe.

Add getNewest to get the newest repetition in a list and to correspond
with getOldest.

Add getDaysBetween to DateUtils to quickly get the number of days
between two timestamps.

Add tests for the new functions.
2016-09-17 09:04:49 -07:00
Alinson Xavier
4d5407a5cc Fix bug on compute methods that prevented them from recomputing old values 2016-09-16 13:17:52 -04:00
Alinson Xavier
904489d812 Remove debug log 2016-09-16 11:41:20 -04:00
Donaira Tamulynaitė
bc19858bca Habit label takes up to 1/3 screen width. 2016-09-14 13:03:38 +03:00
Alinson Xavier
a998a62cdb Remove notification when habit is deleted 2016-09-11 11:35:32 -04:00
Alinson Xavier
1a89bb02be Add option to make notifications sticky 2016-09-11 10:40:43 -04:00
Alinson Xavier
6e8ea471aa Do not cancel notifications automatically 2016-09-11 09:55:47 -04:00
Alinson Xavier
ec42fb54f4 Do not store position of ViewHolder 2016-09-11 09:35:53 -04:00
Alinson Xavier
c46fa84135 Fix bug that made it impossible to disable a reminder 2016-09-11 09:18:06 -04:00
Alinson Xavier
16dcc0cbc2 Fix tests 2016-09-11 09:04:39 -04:00
RegularCoder
5cbc0a3292 Add repetition count to overview card, for #115 2016-09-05 21:14:12 -04:00
Alinson Xavier
7f67a9eb63 Revert concurrent AsyncTasks 2016-09-03 09:37:16 -04:00
Alinson Xavier
d3f7ebd60c SQLiteHabitList: fix corrupted order automatically 2016-09-03 09:33:09 -04:00
Alinson Xavier
461fe1f0b6 Improve performance 2016-09-03 09:25:23 -04:00
Alinson Xavier
8eb9f398d5 Allow multiple AsyncTasks to run concurrently
Fixes #134
2016-09-03 09:00:20 -04:00
Alinson Xavier
f178bcbdd2 CheckmarkButtonView: avoid layout inflation 2016-09-03 08:00:36 -04:00
Alinson Xavier
66c3136fad Allow views to be rendered by the layout editor 2016-09-03 07:46:41 -04:00
Alinson Xavier
4b04966617 Update AMOLED mode upon exiting settings
Fixes #118
2016-09-02 22:24:21 -04:00
Alinson Xavier
3ea21fe823 Update order of checkmark buttons automatically upon exiting settings 2016-09-02 21:13:56 -04:00
Alinson Xavier
e0df69beb6 Prevent progress bar from flickering 2016-09-02 21:03:09 -04:00
Alinson Xavier
b5cd4584b2 Disallow empty WeekdayLists 2016-09-02 21:02:38 -04:00
RegularCoder
283cb2a3f0 Fix issue#65 by setting launchMode to singleTop 2016-09-01 21:43:28 -04:00
Alinson Xavier
79ddbca307 Fix ripple when days are reversed 2016-08-29 20:57:43 -04:00
Alinson Xavier
46a0777195 Restore progress bars 2016-08-29 20:53:48 -04:00
Alinson Xavier
b35305e16c Preferences: update link to AboutActivity 2016-08-29 20:03:25 -04:00
klanmiko
e5162c48ab Scheduler should ignore archived habits
Also consider changing "archive" to "inactive"
2016-08-22 19:00:36 -07:00
Alinson Xavier
b54c4de5f7 ShowHabitRootView: update title automatically
Fixes #162
2016-08-22 17:02:20 -04:00
Alinson Xavier
2bdc0b4f5e Update unit tests for ListHabitsMenu 2016-08-22 16:48:58 -04:00
Alinson Xavier
22db61db01 Fix crash on startup and after dismissing notification 2016-08-22 16:40:23 -04:00
Alinson Xavier
c7cfbd1643 Allow cards to be rendered by the layout editor 2016-08-07 08:43:18 -04:00
Alinson Xavier
8655437f3e Change 'show completed' to 'hide completed' 2016-08-05 19:37:47 -04:00
Alinson Xavier
3ad3cf54ec Add tests for HabitCardView 2016-08-05 07:54:06 -04:00
Alinson Xavier
9a470cc61d Initialize db earlier; fixes crash 2016-08-05 06:30:32 -04:00
Alinson Xavier
fc2087fe68 Write tests for ListHabits controller, menu and screen 2016-08-04 21:56:38 -04:00
Alinson Xavier
7b8ab6a625 Dismiss notification automatically 2016-08-04 07:46:10 -04:00
Alinson Xavier
2d40fb0b82 Write tests for receivers 2016-08-04 07:34:38 -04:00
Alinson Xavier
c961045b63 Call refresh from UI thread 2016-08-04 06:15:43 -04:00
Alinson Xavier
d0db3359fe Allow StyledResources to receive a fixed theme for testing 2016-08-03 22:27:49 -04:00
Alinson Xavier
11378e07bf Properly initialize appComponent 2016-08-03 22:13:30 -04:00
Alinson Xavier
8132188e46 Replace Singleton by AppScope 2016-08-03 07:48:58 -04:00
Alinson Xavier
7eb454788f Refactor receivers 2016-08-03 07:37:00 -04:00
Alinson Xavier
c262adbe85 Move Preferences to their own package 2016-07-31 08:47:20 -04:00
Alinson Xavier
05aa5b1172 Replace InterfaceUtils theme methods by ThemeSwitcher 2016-07-31 08:42:40 -04:00
Alinson Xavier
3d4ae2126b Remove DialogFactory 2016-07-31 08:03:07 -04:00
Alinson Xavier
5aa9114aff Fix name of Ukrainian language 2016-07-30 21:58:06 -04:00
Alinson Xavier
77e0ad007f Update list of developers 2016-07-30 21:56:27 -04:00
Denis
0ec03035f5 maximal frequency of the data 2016-07-30 21:26:09 +02:00
Denis
67ae48b527 radius and color of the mark in the frequency view 2016-07-30 21:26:06 +02:00
Denis
82d2931559 fix code duplication 2016-07-30 21:26:01 +02:00
Alinson Xavier
a527140802 Use the same HabitCardListCache for all activities
Fixes #147
2016-07-29 07:40:56 -04:00
Alinson Xavier
9ec3d9048a Make Preferences listen for external changes 2016-07-29 07:28:44 -04:00
Alinson Xavier
3ed4f3b280 Make scrolling very smooth again 2016-07-29 07:21:47 -04:00
Alinson Xavier
f101975320 Take timezone into account when scheduling alarms 2016-07-29 07:07:02 -04:00
Alinson Xavier
3a7f27755c Use hashmap on AndroidTaskRunner 2016-07-29 07:06:49 -04:00
Alinson Xavier
3a3be664f7 Fix some bugs on fragments and model listeners 2016-07-28 21:45:54 -04:00
Alinson Xavier
33ae8d1edf Show empty message at startup 2016-07-28 21:45:54 -04:00
Alinson Xavier
307e025b1a Fix CheckmarkListTest 2016-07-28 08:00:01 -04:00
Alinson Xavier
03dd24d17b Clean up BaseUnitTest 2016-07-28 07:42:03 -04:00
Alinson Xavier
5f4ac21a41 Small changes 2016-07-27 20:29:13 -04:00
Alinson Xavier
938fe3325e Remove disabled test 2016-07-27 18:13:02 -04:00
Alinson Xavier
237de035bb Remove remaining static references to app component 2016-07-27 18:09:36 -04:00
Alinson Xavier
ddc85ced0b Remove waitForTasks 2016-07-27 17:10:07 -04:00
Alinson Xavier
eceb1bfb7d Remove most static references to app component; fix tests 2016-07-27 17:05:51 -04:00
Alinson Xavier
3b737996e9 Reorganize packages 2016-07-27 00:03:59 -04:00
Alinson Xavier
7f75f9b6da Construct ListHabits using dagger 2016-07-26 23:52:39 -04:00
Alinson Xavier
74f78f0fdf Improve usage of dagger 2016-07-26 19:26:42 -04:00
Alinson Xavier
ef63dd19e7 Fix reference to MainActivity 2016-07-25 17:03:09 -04:00
Alinson Xavier
c7878d979f Switch from toasts to snackbars 2016-07-25 08:58:28 -04:00