Commit Graph

1970 Commits

Author SHA1 Message Date
Naveen Singh
3dbc151c5c Merge pull request #147 from FossifyOrg/fix_onetime_alarms
Fix issue with re-enabling alarms for current day
2025-04-13 14:44:08 +05:30
Naveen Singh
8fae319f02 Use move instead of swap
Removed swap extension.
2025-04-13 14:36:06 +05:30
Naveen Singh
7b90b1081c Show Not scheduled when alarm is not scheduled
This only affects one-time alarms.
2025-04-13 14:08:07 +05:30
Naveen Singh
114ea84eb1 Remove unused import 2025-04-12 23:02:55 +05:30
Naveen Singh
409481c7f0 Fix issue with snooze dialog not appearing
Other changes:
 - Clarified comments
 - Moved `stopAlarmService` to `AlarmController`
2025-04-10 22:04:05 +05:30
Naveen Singh
fff7ac771b Update alarm day when enabling non-recurring alarms
This helps avoid situations like https://github.com/FossifyOrg/Clock/issues/110 where one-time alarms are always scheduled for tomorrow because they were initially configured for tomorrow.
2025-04-07 01:12:55 +05:30
Naveen Singh
9425ee7401 Use workflow templates for minimizer and no-response 2025-04-04 01:54:53 +05:30
Naveen Singh
40820eb18e Merge branch 'master' into fix_onetime_alarms 2025-04-01 17:06:18 +05:30
Naveen Singh
03cf9c5373 Merge pull request #145 from FossifyOrg/reschedule_alarms_in_background
Reschedule alarms in background
2025-04-01 10:29:51 +05:30
Naveen Singh
2c1a890a96 Fix some detekt issues 2025-04-01 10:21:58 +05:30
Naveen Singh
cb13d401cd Minor readability improvement 2025-04-01 09:51:13 +05:30
Naveen Singh
ea467df25f Add another TODO regarding scheduling logic
It still uses the original workaround to manage skipped upcoming alarms
2025-04-01 01:47:05 +05:30
Naveen Singh
ae59b0c6cc Reschedule alarms when time or zone changes 2025-04-01 00:18:51 +05:30
Naveen Singh
d9b38cc71d Reschedule alarms after app updates
It should help with cases like https://github.com/FossifyOrg/Clock/issues/61 and with aggressive devices where alarms are cancelled by updates.
2025-03-31 23:33:36 +05:30
Naveen Singh
3a24ee229b Use helper method for calculation 2025-03-31 03:04:41 +05:30
Naveen Singh
a1e82c83d9 Merge pull request #143 from Aga-C/placeholders
Added placeholders for alarms and timers (#124)
2025-03-31 02:13:37 +05:30
Agnieszka C
1f13872392 Added placeholders for alarms and timers (#124) 2025-03-30 19:04:02 +02:00
Naveen Singh
8a2e349868 Merge pull request #142 from FossifyOrg/replace_checkboxes
Replace checkboxes with material switches
2025-03-30 20:11:20 +05:30
Naveen Singh
2ed7964375 Switch to KTX extension for preferences 2025-03-30 07:49:05 +05:30
Naveen Singh
0075e5beae Switch to config.firstDayOfWeek from commons 2025-03-30 07:38:34 +05:30
Naveen Singh
3fc619521e Fix migrating label color 2025-03-30 05:16:01 +05:30
Naveen Singh
dd42cedc09 Replace checkboxes with switches
See https://github.com/orgs/FossifyOrg/discussions/78
2025-03-30 05:12:07 +05:30
Naveen Singh
39c1b4daee Merge pull request #141 from FossifyOrg/update_deps
Update AGP and dependencies
2025-03-30 04:51:38 +05:30
Naveen Singh
996c92daef Format code 2025-03-30 04:46:23 +05:30
Naveen Singh
dc706ab6e9 Remove unused string
It's usage was replaced with `upcoming_alarm`.
2025-03-30 04:40:45 +05:30
Naveen Singh
b1f4d7d03a Rename some constants for readability 2025-03-30 04:39:40 +05:30
Naveen Singh
70050d41dd Merge branch 'master' into update_deps 2025-03-30 04:39:21 +05:30
Naveen Singh
80fca5266d Merge pull request #136 from weblate/weblate-fossify-clock
Translations update from Hosted Weblate
2025-03-30 04:38:38 +05:30
Naveen Singh
971aae4b21 Remove unnecessary annotation 2025-03-30 04:29:45 +05:30
Naveen Singh
e286bf82ed Move settings option back into the popup menu 2025-03-30 04:25:21 +05:30
Naveen Singh
f8d0633858 Disable language splits
See https://github.com/FossifyOrg/General-Discussion/issues/242
2025-03-30 04:23:42 +05:30
Naveen Singh
1db9a30cf6 Update prepaid flavor config 2025-03-30 04:21:52 +05:30
Naveen Singh
135d54b93c Removed support for Android 7 and older versions
See https://github.com/orgs/FossifyOrg/discussions/241
2025-03-30 04:20:43 +05:30
Naveen Singh
0dc663abb0 Update commons 2025-03-30 03:49:55 +05:30
Naveen Singh
a210801095 Update dependencies 2025-03-30 03:42:36 +05:30
Naveen Singh
58819270af Update AGP to 8.9.1
Updated the gradle wrapper scripts as well.
2025-03-30 03:42:21 +05:30
El Pirujo
17c2a7801c Translated using Weblate (Spanish)
Currently translated at 100.0% (47 of 47 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/es/
2025-03-29 22:35:02 +01:00
Petri Hämäläinen
a45bd1dc89 Translated using Weblate (Finnish)
Currently translated at 100.0% (47 of 47 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/fi/
2025-03-29 22:35:01 +01:00
VfBFan
6a12d674ee Translated using Weblate (German)
Currently translated at 100.0% (2 of 2 strings)

Translation: Fossify/Clock metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/clock-metadata/de/
2025-03-29 22:35:00 +01:00
Tekhnikal
18659fe07b Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2 of 2 strings)

Translation: Fossify/Clock metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/clock-metadata/pt_BR/
2025-03-29 22:34:59 +01:00
Tekhnikal
8cd5dfa939 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (47 of 47 strings)

Translation: Fossify/Clock
Translate-URL: https://hosted.weblate.org/projects/fossify/clock/pt_BR/
2025-03-29 22:34:59 +01:00
elid
5d6236b4ee Translated using Weblate (Hebrew)
Currently translated at 100.0% (2 of 2 strings)

Translation: Fossify/Clock metadata
Translate-URL: https://hosted.weblate.org/projects/fossify/clock-metadata/he/
2025-03-29 22:34:58 +01:00
Naveen Singh
a88bee8139 Merge pull request #133 from FossifyOrg/fix_silent_alarms
Use foreground service for sounding alarms
2025-03-30 03:04:50 +05:30
Naveen Singh
ff13f852c1 Move register/unregister calls to onCreate/onDestroy 2025-03-30 02:09:08 +05:30
Naveen Singh
6e5d79d56f Auto dismiss alarms properly
Replaced `stopSelf()` call with `alarmController.stopAlarm(alarmId)`. This ensures that:

 - Onetime alarms are disabled properly
 - Alarm activity is finished when alarm is stopped
 - Widgets and other views are updated properly.
2025-03-29 15:57:34 +05:30
Naveen Singh
179b36c364 Remove unnecessary setting of firstDayOfWeek 2025-03-29 04:53:20 +05:30
Naveen Singh
8c3ceebf9e Finish alarm activity when alarm is stopped
Activity was never finished when alarm was stopped using notification actions.
2025-03-29 03:35:23 +05:30
Naveen Singh
733a4f6e06 Only reschedule recurring alarms
One-time alarms were being scheduled and triggered multiple times due to this.
2025-03-29 03:34:41 +05:30
Naveen Singh
16a68b173c Rename reminder activity to alarm activity 2025-03-29 02:16:29 +05:30
Naveen Singh
20ed501b18 More code improvements 2025-03-28 17:34:33 +05:30