Commit Graph

702 Commits

Author SHA1 Message Date
Alinson Xavier
2c599b18ef Fix ambiguous reference to R 2017-03-17 21:52:51 -04:00
Janet Do
611dfa00a5 Export data from the statistics screen
Closes #27
2017-02-02 21:31:37 -05:00
Anirudha Agashe
54a195243d Fixed failing build
Replaced static method to obtain context with appropriate dependency
2017-01-18 12:58:56 -06: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
b3fe9c65d2 Refresh data at midnight
Fixes #221
2016-12-31 18:24:26 -05:00
Alinson Xavier
0a8b763ece Make TimePicker slightly smaller
Fixes #219
2016-12-30 12:58:37 -05:00
Alinson Xavier
d81fdb41dc Remove temp file after importing 2016-12-25 23:50:38 -05:00
Alinson Xavier
02c8810e46 Bump targetSdkVersion to 25 2016-12-25 23:05:47 -05:00
Alinson Xavier
6adf8061d3 Use FileProvider instead of File URIs 2016-12-25 23:05:17 -05:00
Alinson Xavier
d19d57e5df Use Storage Access Framework when importing files 2016-12-25 11:54:08 -05:00
Alinson Xavier
fd82e6c24b Remember last used order 2016-11-24 06:00:02 -05:00
Alinson Xavier
56263efa39 Sort by score 2016-11-24 05:45:08 -05:00
Alinson Xavier
d5eacba303 Disable drag-and-drop when automatically sorting 2016-11-24 05:27:26 -05:00
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