Commit Graph

45 Commits

Author SHA1 Message Date
Alinson Xavier
16f20d50a0 Fix bug that caused reminders to keep repeating every few seconds
Fixes #351
2017-09-30 13:11:40 -05:00
Alinson Xavier
e29fb58922 Fix failing tests 2017-07-18 21:47:19 -04:00
Alinson Xavier
ab0c510fda Rename export action and move to overflow menu 2017-03-18 22:22:07 -04:00
Janet Do
611dfa00a5 Export data from the statistics screen
Closes #27
2017-02-02 21:31:37 -05:00
Anirudha Agashe
4fc30fae53 Remove use of static context from HabitsApplication class (#224)
Remove static context from application class. Replace static method to obtain context with appropriate dependency. Remove context from controller. Add auto factory to export db task.
2017-01-09 23:09:05 -05:00
Alinson Xavier
d81fdb41dc Remove temp file after importing 2016-12-25 23:50:38 -05:00
Alinson Xavier
a1fc7dd0d1 Implement automatic sorting for MemoryHabitList 2016-11-04 05:59:34 -04:00
Alinson Xavier
b1d00598eb Add option to repair database 2016-09-18 08:09:18 -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
b5cd4584b2 Disallow empty WeekdayLists 2016-09-02 21:02:38 -04:00
Alinson Xavier
2bdc0b4f5e Update unit tests for ListHabitsMenu 2016-08-22 16:48:58 -04:00
Alinson Xavier
8655437f3e Change 'show completed' to 'hide completed' 2016-08-05 19:37:47 -04:00
Alinson Xavier
fc2087fe68 Write tests for ListHabits controller, menu and screen 2016-08-04 21:56:38 -04:00
Alinson Xavier
2d40fb0b82 Write tests for receivers 2016-08-04 07:34:38 -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
3d4ae2126b Remove DialogFactory 2016-07-31 08:03:07 -04:00
Alinson Xavier
f101975320 Take timezone into account when scheduling alarms 2016-07-29 07:07:02 -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
237de035bb Remove remaining static references to app component 2016-07-27 18:09:36 -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
c7878d979f Switch from toasts to snackbars 2016-07-25 08:58:28 -04:00
Alinson Xavier
15a4a2c002 Refactor reminders; replace int by WeekdayList 2016-07-23 19:19:22 -04:00
Alinson Xavier
37a9e793e7 Add tests for HabitCardListCache; refactor TaskRunners 2016-07-23 18:06:03 -04:00
Alinson Xavier
a984467516 Some refactoring; add tests for ListHabitsScreen 2016-07-21 22:48:37 -04:00
Alinson Xavier
d6dacfd24b Refactor reminder scheduling, add tests 2016-07-20 17:01:24 -04:00
Alinson Xavier
06b5f89b7a Make habit deletions instantaneous
Fixes #133
2016-07-14 10:57:45 -04:00
Alinson Xavier
71dd6cde89 Restore drag & drop and click; remove DragSortListView library 2016-07-01 09:23:07 -04:00
Alinson Xavier
922b234307 Initial implementation of filters 2016-06-29 19:49:19 -04:00
Alinson Xavier
52701666bc Start refactoring widgets 2016-06-28 12:11:34 -04:00
Alinson Xavier
e899a70eb0 Fix most tests 2016-06-25 05:53:19 -04:00
Alinson Xavier
ec4a381d70 Refactor Habit class 2016-06-17 07:29:48 -04:00
Alinson Xavier
b13f2b4228 Create a class for Reminders 2016-06-16 15:19:02 -04:00
Alinson Xavier
abe6b10964 Restore dynamic checkmark button count 2016-06-15 05:32:20 -04:00
Alinson Xavier
440706882b Move command tests to JVM 2016-06-14 05:30:30 -04:00
Alinson Xavier
9a44774284 Add instrumented unit tests for SQLite lists 2016-06-12 07:55:47 -04:00
Alinson Xavier
2b23b36e36 Move remaining model tests to JVM; simplify SQLite implementation 2016-06-10 18:55:32 -04:00
Alinson Xavier
78d4f86cab Separate ActiveAndroid from models 2016-06-10 13:30:33 -04:00
Alinson Xavier
7e8a2a0c1c Major refactoring of ListHabitsActivity 2016-06-04 18:10:33 -04:00