Commit Graph

112 Commits

Author SHA1 Message Date
Quentin Hibon
457c58a660 Convert RepositoryTest 2021-01-25 12:18:05 +01:00
Quentin Hibon
39cec6f11d Convert Preferences 2021-01-25 12:18:05 +01:00
Quentin Hibon
8f5f72d9fd Convert ReminderScheduler 2021-01-25 10:56:59 +01:00
Quentin Hibon
b21eb3f118 Finish uhabits-core ui conversion 2021-01-25 10:56:59 +01:00
Quentin Hibon
136ec5b49b Convert most of code remaining in uhabits-core 2021-01-25 10:56:59 +01:00
Quentin Hibon
e84cc8e8b1 Convert HabitCardListCache 2021-01-25 10:56:59 +01:00
Quentin Hibon
68a8f9d356 Enable mockito inline extension 2021-01-25 10:56:59 +01:00
Alinson S. Xavier
1869d05591 ScoreTest: Use static imports for hamcrest 2021-01-21 06:46:23 -06:00
Quentin Hibon
dedeb13f46 Clean up kotlin code
* static imports
* less nullable types
* format
2021-01-19 14:06:18 +01:00
Quentin Hibon
9d0fbb9ea9 Convert WeekdayList 2021-01-18 16:13:19 +01:00
Quentin Hibon
25b25acc94 Convert org.isoron.uhabits.acceptance 2021-01-18 16:13:19 +01:00
Quentin Hibon
ac6df47818 Convert uhabits-core (jvmTest) 2021-01-18 16:13:19 +01:00
Alinson S. Xavier
99277491c8 Remove unused imports 2021-01-05 23:09:34 -06:00
Alinson S. Xavier
2828dfcc75 Update copyright notices 2021-01-05 23:05:48 -06:00
Alinson S. Xavier
7ee3e00e49 Create top-level gradle project; remove duplicated gradle wrappers 2021-01-05 22:03:01 -06:00
Alinson S. Xavier
d279388884 Merge branch 'dev' into feature/kmm-merge 2021-01-05 20:43:37 -06:00
Alinson S. Xavier
bebb356425 Reorganize top level directory 2021-01-03 14:43:49 -06:00
Alinson S. Xavier
9fd36d8d53 Move uhabits-core to top level; all Java files to uhabits-core:jvmMain/jvmTest 2021-01-03 13:21:02 -06:00
Alinson Xavier
4ccda9d6f7 Move existing source code to subfolder 2019-03-31 06:48:26 -05:00
Alinson S Xavier
178061475e Improve performance when importing database 2018-12-08 12:24:44 -06:00
Alinson Xavier
436d19dfea Merge branch 'dev' into feature/stackview
# Conflicts:
#	uhabits-android/src/main/java/org/isoron/uhabits/widgets/HabitPickerDialog.kt
2018-06-16 18:06:23 -05:00
Alinson Xavier
6ca4877f1f BarChart: allow user to pick interval 2018-06-15 21:11:47 -05:00
Alinson Xavier
6ad302b697 Show bar chart with monthly totals 2018-06-14 22:59:31 -05:00
Alinson Xavier
b0820095f1 Add action for randomizing habit history (dev mode) 2018-06-13 21:39:06 -05:00
Alinson S Xavier
87f069f986 Merge branch 'master' into dev 2018-06-04 19:57:02 -05:00
Alinson Xavier
71d559d6d9 Merge branch 'dev' into feature/stackview 2018-02-04 09:52:16 -06:00
Alinson Xavier
2904f3e2f8 Move some methods to StringUtils 2018-01-27 20:25:55 -06:00
Alinson Xavier
1ad06bcc15 Preferences: allow storing Long arrays 2018-01-27 19:07:05 -06:00
Alinson Xavier
bf8c14fc03 Fix reminder tests 2017-12-06 22:23:28 -06:00
Alinson Xavier
b46b7aae25 Merge branch 'feature/custom-snooze' into dev 2017-12-06 21:42:04 -06:00
Alinson Xavier
7f257e045b MemoryHabitList: iterate over a copy of the list 2017-12-04 23:13:31 -06:00
Alinson Xavier
0dc46d02a4 Minor style changes 2017-11-15 21:54:30 -06:00
Alinson Xavier
ecf3086aef Merge branch 'add-delete-button-to-stats' of git://github.com/derebaba/uhabits into pull/delete-button 2017-11-15 21:42:30 -06:00
derebaba
10be875b48 Fixed test 2017-11-15 10:57:00 +03:00
Alinson Xavier
e91f1c3fa4 Merge branch 'dev' into feature/custom-snooze 2017-11-14 22:20:32 -06:00
Alinson Xavier
9d48b4bcdb Simplify code; change notification actions to Yes/No/Later 2017-11-14 22:07:52 -06:00
Alinson Xavier
7f1a35ebe5 Merge branch 'dev' of git://github.com/rsri/uhabits into pull/cancel_notification 2017-11-14 21:54:16 -06:00
Victor Yu
def71d8141 Merge branch 'dev' into stack_checkmark_widget 2017-11-08 21:04:45 -05:00
Victor Yu
8feb07ff1b Code review changes; Made 'stack view' design available for all widgets 2017-11-08 21:03:06 -05:00
derebaba
1edd76ae8c Added delete button to statistics screen 2017-11-02 14:21:27 +03:00
Luboš Luňák
b1c2ab90d3 synchronize HabitList properly
When the app is not running and ReminderReceiver receives ACTION_SHOW_REMINDER,
the (SQLite)HabitList will start loading its data in the background for some
reason, and if the loading takes a moment, ReminderReceiver will call
the unsynchronized HabitList.getById() before the loading finishes,
failing to find the habit for which to show the notification.
2017-10-18 15:17:31 +02:00
Victor Yu
5a78de5a25 Implemented ability to choose multiple habits for stackview 2017-10-15 13:36:54 -04:00
Alinson Xavier
a201273781 Refactoring 2017-10-10 21:31:31 -05:00
Alinson Xavier
07c7234bfc Merge branch 'master' into dev 2017-09-30 13:40:09 -05:00
Luboš Luňák
e052a144bd fix testTruncate_dayOfWeek failing with some locales 2017-09-28 06:55:13 -05:00
Luboš Luňák
318caa886c fix csv export with locales that do not use dot as decimal separator 2017-09-28 06:55:13 -05:00
Luboš Luňák
46c61f9ea9 force US locale for tests 2017-09-28 06:55:13 -05:00
Luboš Luňák
f8e0d07236 avoid sql error when updating sql database
The index doesn't exist in version 1.7.6 and so trying to drop it
would lead to an error, resulting in not being able to import
1.7.6 database.
https://github.com/iSoron/uhabits/issues/327
2017-09-16 19:35:50 +02:00
Alinson Xavier
52c4282601 Merge pull request #329 from llunak/fix_snooze
fix snooze button in notifications
2017-09-13 07:03:46 -05:00
Luboš Luňák
f52da56221 fix snooze button in notifications
The "pref_snooze_interval" preference is manipulated by the ListPreference
class, which according to its docs stores the preference as a string.
Without reverting this part of 864636705d,
this results in "java.lang.ClassCastException: java.lang.String cannot be
cast to java.lang.Long" when trying to snooze a notification.
2017-09-12 15:54:43 +02:00