Commit Graph

6416 Commits

Author SHA1 Message Date
Naveen 2ee226d06b
Use local timezone to configure weekly views
This addresses issues like https://github.com/SimpleMobileTools/Simple-Calendar/issues/2143

The weekly view originally used local timezone to configure everything but was modified to use UTC to fix a `Start week with Sunday` issue https://github.com/SimpleMobileTools/Simple-Calendar/issues/1213 where events were created on the wrong day. Since `getFirstDayOfWeek()` was rewritten to handle week preferences properly, there is no need to complicate things using UTC anymore (otherwise we'll have to handle UTC-to-local-timezone conversion in many places)

This also fixes an issue with the drag-and-drop feature where the events were moved by ±1 day because the difference in timezone was not taken care of.
2023-07-16 02:54:51 +05:30
Agnieszka C 8bc0fb0cb7 Added editing options for repeating events in weekly view (#2122) 2023-07-15 09:13:06 +02:00
Tibor Kaputa acc35f791e
Merge pull request #2144 from weblate/weblate-simple-mobile-tools-simple-calendar
Translations update from Hosted Weblate
2023-07-14 14:29:25 +02:00
elgratea 48cfacdace
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (245 of 245 strings)

Translation: Simple Mobile Tools/Simple Calendar
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-calendar/bg/
2023-07-14 14:29:10 +02:00
Dan c92a3f4bda
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (245 of 245 strings)

Translation: Simple Mobile Tools/Simple Calendar
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-calendar/uk/
2023-07-14 14:29:10 +02:00
Tibor Kaputa 5547cb48b4
Merge pull request #2145 from edgy-b/month-day-UI-improvements
- Improve UI Monhtly and daily view for landscape
2023-07-14 14:29:06 +02:00
Tibor Kaputa e24b226344
Merge pull request #2138 from Aga-C/fix-long-events
Fixed displaying long events in weekly view (#2135)
2023-07-14 14:27:39 +02:00
Tibor Kaputa c5e9c6f1cb
Merge pull request #2147 from wilsonrc/bugfix/new_alarm_permissions
add Exact alarm permission to fix issues on Android 13-14 targeting
2023-07-13 10:49:57 +02:00
Wilson a851f0475c add USE_EXACT_ALARM to be granted on install. 2023-07-11 13:57:32 -04:00
Edgars Bimbirulis f43f3002e7 - Improve UI Monhtly and daily view for landscape 2023-07-10 02:03:20 +03:00
Tibor Kaputa b01525a240
Merge pull request #2137 from weblate/weblate-simple-mobile-tools-simple-calendar
Translations update from Hosted Weblate
2023-07-08 14:46:09 +02:00
Linerly 809b31f56d
Translated using Weblate (Indonesian)
Currently translated at 100.0% (245 of 245 strings)

Translation: Simple Mobile Tools/Simple Calendar
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-calendar/id/
2023-07-08 14:33:22 +02:00
Eric a8d5173ad7
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (245 of 245 strings)

Translation: Simple Mobile Tools/Simple Calendar
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-calendar/zh_Hans/
2023-07-08 14:33:22 +02:00
Tibor Kaputa 244be566e4
Merge pull request #2141 from abc0922001/patch-1
Update Traditional Chinese translation
2023-07-08 14:33:13 +02:00
Tibor Kaputa 14b3afd2ba
Update strings.xml 2023-07-08 14:33:04 +02:00
abc0922001 d2cf79b960
Update Traditional Chinese translation 2023-07-07 15:06:13 +08:00
Agnieszka C 549665e302 Fixed displaying long events in weekly view (#2135) 2023-07-04 20:09:16 +02:00
tibbi dce40291ca updating changelog 2023-07-02 10:51:24 +02:00
tibbi 9e4dcfa306 update version to 6.22.1 2023-07-02 10:51:17 +02:00
tibbi b4e85e4ec3 updating commons 2023-07-02 10:47:12 +02:00
Tibor Kaputa 6deae5cf13
Merge pull request #2132 from Aga-C/change-order
Changed event type and color order (#2131)
2023-07-02 10:40:50 +02:00
Tibor Kaputa d4f320d8b2
Merge pull request #2133 from Naveen3Singh/ensure_event_type_visibility
Ensure event type visibility when a new event or task is created
2023-07-02 10:35:50 +02:00
Naveen d2b40d11e7
Ensure event type visibility when importing ICS 2023-07-01 13:59:23 +05:30
Naveen 4dcce80a7d
Remove unused strings 2023-07-01 00:15:36 +05:30
Naveen 6f0a9e237e
Ensure event type visibility 2023-07-01 00:11:55 +05:30
Agnieszka C 26d96d2ba1 Changed event type and color order (#2131) 2023-06-30 17:36:31 +02:00
tibbi c85b7fae80 updating changelog 2023-06-29 15:59:06 +02:00
tibbi 0c097c2dc8 update version to 6.22.0 2023-06-29 15:58:59 +02:00
tibbi fa0675d051 updating commons 2023-06-29 15:52:02 +02:00
Tibor Kaputa f3692cede3
Merge pull request #2129 from Naveen3Singh/minor_readability_improvement
Rename method `getDatesWeekDateTime()` to `getFirstDayOfWeek()`
2023-06-29 15:48:08 +02:00
Naveen ae70a3f5f8
Minor readability improvement 2023-06-29 16:26:46 +05:30
Tibor Kaputa 5f856d7164
Merge pull request #2077 from WessellUrdata/sunday-fix
Fixing getDatesWeekDateTime (closes Issue #1894)
2023-06-29 12:45:42 +02:00
tibbi a4761f45e6 update some views on the main thread 2023-06-25 21:09:41 +02:00
Tibor Kaputa 8d27660671
Merge pull request #2126 from Naveen3Singh/fix_edit_future_occurrences
Properly handle `Update/Delete this and all future occurrences`
2023-06-25 20:51:41 +02:00
Naveen 3830e849d6
Add comment 2023-06-24 20:10:56 +05:30
Naveen fe09a937ec
Delete original event to avoid duplication 2023-06-24 19:42:13 +05:30
Naveen 05084ea330
Properly handle repeating tasks 2023-06-24 18:49:56 +05:30
Naveen 04cc2b5371
Merge remote-tracking branch 'origin/fix_edit_future_occurrences' into fix_edit_future_occurrences 2023-06-24 16:04:26 +05:30
Naveen acff39740e
Properly count occurrences 2023-06-24 16:04:10 +05:30
Naveen Singh ff8e5fd7a9
Merge branch 'SimpleMobileTools:master' into fix_edit_future_occurrences 2023-06-24 15:42:30 +05:30
Naveen 46e17aa697
Properly handle repeat limits
Fixes these issues:
 - When choosing `Update/Delete this and all future occurrences`, the selected occurrence is never deleted/updated.
 - When choosing `Update this and all future occurrences`, the event is duplicated on the date of the selection
2023-06-24 15:42:08 +05:30
tibbi e153f6c578 replacing jcenter with mavenCentral 2023-06-23 10:21:58 +02:00
Tibor Kaputa ee4634aa5a
Merge pull request #2125 from weblate/weblate-simple-mobile-tools-simple-calendar
Translations update from Hosted Weblate
2023-06-23 10:12:07 +02:00
Adrian Wahyudi 144e8ba4b8
Translated using Weblate (Indonesian)
Currently translated at 100.0% (246 of 246 strings)

Translation: Simple Mobile Tools/Simple Calendar
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-calendar/id/
2023-06-23 09:40:39 +02:00
Naveen d0f88c1099
End repetition on the original date
The bug:
 - Create a recurring event with a specific number of occurrences like 10 that starts on Jan 1
 - Edit some occurrence e.g. 5th and select "Update this and future occurrences only"
 - The edited event (5th) keeps repeating 10 times instead of ending on the end date of the original event (10th Jan). This is not consistent with other calendars (except nextcloud).

 The fix:
 Count the occurrence number starting from the first event and subtract it from the total number of repetitions before saving the event
2023-06-20 05:56:47 +05:30
Tibor Kaputa 861bb423c5
Merge pull request #2120 from weblate/weblate-simple-mobile-tools-simple-calendar
Translations update from Hosted Weblate
2023-06-18 20:42:55 +02:00
Tibor Kaputa 0c95eb4787
Merge pull request #2116 from Naveen3Singh/recurring_event_edit_fix
Properly handle `Update the selected occurrence only`
2023-06-18 20:42:23 +02:00
Tibor Kaputa e55ee2019b
Merge pull request #2119 from weblate/weblate-simple-mobile-tools-simple-calendar
Translations update from Hosted Weblate
2023-06-18 20:41:58 +02:00
Priit Jõerüüt a94f6a62fb
Translated using Weblate (Estonian)
Currently translated at 100.0% (16 of 16 strings)

Translation: Simple Mobile Tools/Simple Calendar metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-calendar-metadata/et/
2023-06-18 20:41:51 +02:00
Tibor Kaputa e072ac43aa
Merge pull request #2118 from Naveen3Singh/recurring_event_fix_735
Properly handle deleting `Delete the selected occurrence only`
2023-06-18 20:41:47 +02:00