Alinson Xavier
b3f039d658
Make score take target value into account
2017-03-26 10:14:23 -04:00
Alinson Xavier
7d2e8573f8
Persist unit and target value of a habit
2017-03-25 19:57:38 -04:00
Alinson Xavier
5653651c0d
Update score calculation
...
The value of a score is now a double. For boolean habits, this number goes from zero
to one and corresponds to the percentage. For numerical habits, it now corresponds
to a weighted average of the checkmark values. Also, for non-daily boolean habits, the
score now increases with implicit checkmarks.
2017-03-25 12:31:19 -04:00
Alinson Xavier
d3b540199c
Switch score values from int to double
2017-03-25 10:46:35 -04:00
Alinson Xavier
f0430ffeb3
Use alternative design with units on NumberButtonView
2017-03-25 09:43:52 -04:00
Alinson Xavier
d03edf2895
Update habit creation dialogs
2017-03-24 16:47:40 -04:00
Alinson Xavier
5c1ccfe6fe
Fix small issues with the number picker
2017-03-24 10:13:19 -04:00
Alinson Xavier
5b9e90fe7a
Persist repetition values
2017-03-24 09:41:52 -04:00
Alinson Xavier
ac32460859
Create number picker dialog
2017-03-24 08:20:59 -04:00
Alinson Xavier
e2a8de3acf
Update controllers and HabitCardView
2017-03-23 19:09:44 -04:00
Alinson Xavier
7bf9f88ee3
Implement NumberButtonView and related classes
2017-03-23 18:26:58 -04:00
Alinson Xavier
19e79a8559
Fix failing test
2017-03-20 22:32:53 -04:00
Alinson Xavier
f4f7faf3a4
Fix a few issues with header scrolling
2017-03-20 20:00:10 -04:00
Alinson Xavier
56f2ae57fe
Persist scrolling after configuration change
2017-03-20 18:53:48 -04:00
Alinson Xavier
3fe09efe9b
Scroll checkmarks
2017-03-19 20:36:16 -04:00
Alinson Xavier
f0de29fbfe
Make HeaderView scrollable
2017-03-19 18:31:43 -04:00
Alinson Xavier
324facfffd
Re-enable haptic feedback on CheckmarkButtonView
2017-03-19 16:35:57 -04:00
Alinson Xavier
03e58f9ef2
Preserve position of ScrollableChart on configuration changes
...
Fixes #240
2017-03-18 23:57:54 -04:00
Alinson Xavier
e6c9f7f0c9
Preserve ScrollView position after configuration change
...
Fixes #239
2017-03-18 22:41:32 -04:00
Alinson Xavier
42bdedb86a
Update dependencies
2017-03-18 22:40:38 -04:00
Alinson Xavier
ab0c510fda
Rename export action and move to overflow menu
2017-03-18 22:22:07 -04:00
Alinson Xavier
e46fd58664
Fix ImportTest on Nougat
2017-03-17 22:49:52 -04:00
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
c20d5c8729
Make model classes thread-safe
2016-11-24 20:06:28 -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
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