Commit Graph

232 Commits

Author SHA1 Message Date
Quentin Hibon
8e4274d923 Use assertThrows instead of ExpectedException 2023-08-03 19:07:04 +02:00
Quentin Hibon
12649141b1 Migrate junit.framework.Assert.assertEquals to kotlin.test.assertEquals
Also fix some warnings, e.g. shadowed variables.
2023-08-03 19:07:04 +02:00
Quentin Hibon
0526d37fbd Use official version of mockito-kotlin 2023-07-26 10:01:41 +02:00
Quentin Hibon
11ca993a75 Bump org.jlleitschuh.gradle.ktlint from 11.0.0 to 11.4.2
Also run ./gradlew ktlintFormat to follow new format.
2023-07-25 17:37:59 +02:00
Alinson S. Xavier
6a55d3c01a
Merge branch 'master' into dev 2023-05-27 16:14:03 -05:00
Alinson S. Xavier
908eb4ac99
Convert NumberDialog to AppCompatDialogFragment; remove unused classes 2023-03-18 05:04:43 -05:00
Alinson S. Xavier
2131fb3a3d
EntryList: Copy notes from original entries
Fixes #1566
2023-01-24 05:59:23 -06:00
Jakub Kalinowski
758fc56277
Issue 1576: Solving problems with habitbull import (#1591)
* Recomputing the habit after import, corrected order of magnitude

* Corrected HabitBullCSV3 test and added a new one
2022-12-18 04:05:14 -06:00
Alinson S. Xavier
471f977209
Replace some incorrect usages of getToday by getTodayWithOffset
Fixes #1541
2022-10-22 17:11:59 -05:00
Alinson S. Xavier
d136572960
Minor fix to BarChart 2022-09-10 16:50:16 -05:00
Alinson S. Xavier
bf504641c6
Merge pull request #1488 from iSoron/fix/stackwidget-api33
Widget fixes
2022-09-10 16:11:55 -05:00
Alinson S. Xavier
961fb7618f
splitLongs: Handle NumberFormatException 2022-09-09 05:39:15 -05:00
Alinson S. Xavier
4c5a722dc5
splitLongs: Handle NumberFormatException 2022-09-09 05:17:54 -05:00
Eduardo Esparza
16c65f19fd fix marker scaling for numerical habits in frequency display (#1489) 2022-09-08 20:08:05 -05:00
Eduardo Esparza
99ccb44ad3
fix marker scaling for numerical habits in frequency display (#1489) 2022-09-08 20:01:12 -05:00
Alinson S. Xavier
fc402fd81b Minor fix to BarChart 2022-09-03 20:26:21 -05:00
Alinson S. Xavier
79e2402c9d Merge pull request #1425 from eduebernal/freq-display-normal
fix marker scaling in frequency display
2022-08-11 04:04:29 -05:00
Alinson S. Xavier
03b02aaa06
Merge branch 'number-popup' into release/2.1.0 2022-05-14 23:22:28 -05:00
Alinson S. Xavier
cc03c48648
TargetCard: Make target more accurate for non-daily habits 2022-05-13 09:53:27 -05:00
Alinson S. Xavier
53e7ef2918
LoopDBImporter: Improve performance; silence snackbar messages 2022-05-13 08:33:00 -05:00
Alinson S. Xavier
d2d45991b0
Always show popups at the center of the screen; remove ScreenLocation 2022-05-13 06:37:41 -05:00
Alinson S. Xavier
25aeafb759
Remove unused imports 2022-05-13 05:21:29 -05:00
Alinson S. Xavier
9045ae5c24
Remove previous NumberPicker 2022-05-13 05:21:29 -05:00
Alinson S. Xavier
555873354c
Use NumberPopup in HistoryCard 2022-05-13 05:21:29 -05:00
Alinson S. Xavier
d1de3a852b
Implement NumberPopup 2022-05-13 05:21:28 -05:00
Alinson S. Xavier
f04e37e905 Remove CheckmarkDialog 2022-05-03 04:09:13 -05:00
Alinson S. Xavier
825a5f2cb9 Implement CheckmarkPopup 2022-05-03 04:09:13 -05:00
Alinson S. Xavier
0de6896691 Add notes to DelayedToggle, make delay skipable 2022-05-03 04:09:13 -05:00
Alinson S. Xavier
7187214282 Replace notesIndicator by notes 2022-05-03 04:09:13 -05:00
Quentin Hibon
c453810785
Resort habit list after habit edit (#1350)
* Add regression test for #1131
* Resort habit list after habit edit

Fixes #1131.
2022-04-21 11:29:42 -05:00
Jakub Kalinowski
3b12ec4bfe
Issue 1316: Skip measurable habit (#1319)
Co-authored-by: Jakub Kalinowski <kalj@netcompany.com>
2022-03-24 06:08:31 -05:00
Alinson S. Xavier
88b8663484
Remove pref_led_notifications 2022-03-20 18:55:18 -05:00
Alinson S. Xavier
a4db997e06
Merge pull request #1314 from kalina559/feature/case_1282_calendar_bug
Fixed edit history calendar bug
2022-03-10 06:05:04 -06:00
Jakub Kalinowski
090216ccb7 Fixed edit history calendar bug 2022-03-05 19:54:48 +01:00
Quentin Hibon
a07a50e635 Handle numerical habits from HabitBull
Fixes #1265.
2022-01-27 20:33:17 +01:00
Alinson S. Xavier
5b8a7c39e2
HistoryCard: Make colors more consistent for AT_MOST habits 2022-01-02 11:06:37 -06:00
Alinson S. Xavier
d875af8a8e
CheckmarkDialog: Format date using current locale 2022-01-01 06:30:57 -06:00
Alinson S. Xavier
e6167baab1
NotificationTray: Use isCompletedToday instead of value != UNKNOWN 2021-12-29 08:13:54 -06:00
Alinson S. Xavier
4972257635
Merge branch 'dev' into feat-1074 2021-11-11 06:43:20 -06:00
Alinson S. Xavier
c331f34fa9
HistoryCard: Swap short/long press 2021-11-11 06:08:03 -06:00
Alinson S. Xavier
b62e436054 Fix "hide completed" for numerical habits
Fixes #1179
2021-11-07 11:47:25 +01:00
Alinson S. Xavier
bf63b4dbcf
Remove HabitMatcherBuilder 2021-11-06 06:50:28 -05:00
Alinson S. Xavier
ba59dc7ca9
Merge pull request #1177 from hiqua/fix_csv_exporter
Use the value of the Entry during CSV export
2021-11-06 06:12:27 -05:00
Quentin Hibon
d553c2f3f2 Delete unused test resources 2021-11-05 20:48:16 +01:00
Quentin Hibon
7776093217 Test CSV export file content 2021-11-05 20:47:23 +01:00
Quentin Hibon
b27f3f8540 Use the value of the Entry during CSV export
Fixes #1162.
2021-11-05 20:02:55 +01:00
sgallese
4fbf8a8ca2 DRYer offset tests 2021-10-03 22:32:14 -07:00
sgallese
707b2b4380 Add test helper for hour offset 2021-10-03 21:19:04 -07:00
sgallese
aae85c1170 Rename variable 2021-10-03 21:10:44 -07:00
sgallese
c12a6c6a4d Complete tests for DateUtils, move internal functions to private 2021-10-03 21:09:31 -07:00