Commit Graph

5134 Commits

Author SHA1 Message Date
Naveen a4114bd501
Minor code improvement 2023-09-04 14:26:50 +05:30
Naveen 279bec94cf
Remove useless line 2023-09-04 14:19:05 +05:30
Naveen 95303df5da
Minor code improvement 2023-09-04 14:16:52 +05:30
Naveen 7867e71cde
Migrate from kotlin synthetics to View binding 2023-09-03 18:55:41 +05:30
Usland c4f5749c1d
Update strings.xml 2023-09-02 20:17:33 +03:00
Naveen 5f41894872
Migrate build scripts to use version catalogs and kts 2023-08-30 19:10:13 +05:30
Agnieszka C 5fc80c2149 Fixed opening search results (#2180) 2023-08-27 13:36:54 +02:00
Tibor Kaputa 7e603d7ef2
fixing the slovak translation 2023-08-14 17:29:29 +02:00
Milan Šalka d4f7bd6c21
Translated using Weblate (Slovak)
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/sk/
2023-08-11 11:46:49 +02:00
Heki 3e3ee9a49c
Translated using Weblate (Slovenian)
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/sl/
2023-08-08 23:51:25 +02:00
Kingproone 8b28d6512a
Translated using Weblate (Hungarian)
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/hu/
2023-08-01 06:12:15 +02:00
Gabriel Camargo 49910c8629
Translated using Weblate (Portuguese (Brazil))
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/pt_BR/
2023-07-31 04:02:33 +02:00
Naveen a7ced1dd5d
Minor code improvement 2023-07-24 00:31:59 +05:30
Naveen b94c69160f
Avoid unnecessary complication and user locale's first day of week 2023-07-24 00:26:31 +05:30
Naveen bd9fd4879a
Merge remote-tracking branch 'origin/start_week_on_any_day' into start_week_on_any_day 2023-07-23 23:54:54 +05:30
Naveen 7e6ea16dfc
Highlight proper week day in month view 2023-07-23 23:54:37 +05:30
Naveen 59aec074fb
Remove unused variable 2023-07-23 23:40:05 +05:30
Naveen 7a45c38b5d
Migrate user preference from previous version 2023-07-23 23:31:40 +05:30
Naveen Singh f8600fac17
Merge branch 'SimpleMobileTools:master' into start_week_on_any_day 2023-07-23 10:59:08 +05:30
Priit Jõerüüt 3e415f6772
Translated using Weblate (Estonian)
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/et/
2023-07-22 23:18:04 +02:00
Peter Dave Hello c371cead2b Update Traditional Chinese translation 2023-07-23 02:24:43 +08:00
Naveen 2eb2ec398e
Rename preference key 2023-07-22 23:26:30 +05:30
Naveen 400c8003e5
Fix typo 2023-07-22 22:57:08 +05:30
Naveen 5bdd5e8cec
Properly handle "Start week on" preference in all places 2023-07-22 22:44:24 +05:30
Naveen aa1ed30e52
Remove unnecessary variables 2023-07-22 22:38:40 +05:30
Naveen 5d02007e8d
Properly export/import first day of week 2023-07-22 13:47:48 +05:30
Naveen ed39bbfdda
Apply user preferred first day of week in date pickers 2023-07-22 13:45:01 +05:30
Naveen 8229492ae7
Add "Start week on" preference 2023-07-22 13:21:51 +05:30
Tibor Kaputa 38ae6bcb14
Merge pull request #2157 from Merkost/backup_improve
Updated commons for backup
2023-07-19 08:40:34 +02:00
merkost 1edba97270 Merge remote-tracking branch 'origin/backup_improve' into backup_improve
# Conflicts:
#	app/build.gradle
#	app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt
#	app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/MainActivity.kt
#	app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/SimpleActivity.kt
#	app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/TaskActivity.kt
#	app/src/main/kotlin/com/simplemobiletools/calendar/pro/dialogs/SetRemindersDialog.kt
2023-07-19 16:13:30 +10:00
merkost 627938e535 Updated commons and refactored PermissionRequiredDialog 2023-07-19 16:12:13 +10:00
abc0922001 b250ead9f5
Translated using Weblate (Chinese (Traditional))
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_Hant/
2023-07-18 07:03:52 +02:00
Konstantin Merenkov aad9dbcc50
Merge branch 'master' into backup_improve 2023-07-18 12:14:39 +10:00
merkost 1d9ea4a69b Main backup settings moved to commons 2023-07-18 12:06:12 +10:00
merkost ef65940802 Small gradle refactoring 2023-07-18 11:50:59 +10:00
tibbi d7fa019583 update version to 6.22.2 2023-07-16 23:28:58 +02:00
tibbi 4591780367 updating commons 2023-07-16 23:25:01 +02:00
Agnieszka C 33cd18099b Reverting dragged view instead of refreshing calendar 2023-07-16 17:27:40 +02:00
Agnieszka C 1e2ba7d0d5 Merge branch 'master' into weekly-edit-repeating-events 2023-07-16 17:07:56 +02:00
tibbi b2236a2a03 correcting some variable names 2023-07-16 15:08:56 +02:00
Naveen f06b7864ab
Reuse `getFirstDayOfWeek()` in WeekFragment 2023-07-16 03:07:28 +05:30
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
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
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
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 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 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
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 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
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
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
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 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
Naveen Singh 55fd21ad65
Merge branch 'SimpleMobileTools:master' into recurring_event_fix_735 2023-06-19 00:05:21 +05:30
Naveen Singh ad363e6c72
Merge branch 'SimpleMobileTools:master' into recurring_event_edit_fix 2023-06-19 00:05:13 +05:30
Naveen 0ba02b9051
Delete deleted CalDAV exception events 2023-06-18 20:23:35 +05:30
Naveen cd432b9ea6
Delete deleted CalDAV exception events on sync 2023-06-18 19:59:39 +05:30
Naveen 180c7e0b59
Minor readability improvement 2023-06-16 04:12:37 +05:30
Naveen 6ede34c70e
Properly handle converting all-day recurring events to normal events 2023-06-16 04:09:26 +05:30
Naveen f475879408
Properly handle deleting `Delete the selected occurrence only`
Closes https://github.com/SimpleMobileTools/Simple-Calendar/issues/735

This only happened with all-day recurring events because:
 - `ORIGINAL_INSTANCE_TIME` was not set to a UTC occurrence timestamp and and all-day events always deal in UTC.
 - The `DTSTART`, `DTEND` were set to invalid values because of a missing conversion to milliseconds of start, end timestamps
2023-06-16 03:39:07 +05:30
Naveen 3b0cec263f
Properly handle converting all-day recurring events to normal events 2023-06-16 03:02:01 +05:30
Naveen 5ca7a67d61
Delete child tasks when parent task is deleted 2023-06-16 00:07:18 +05:30
Naveen dbfa1880b7
Code readability improvement 2023-06-15 23:51:10 +05:30
Naveen 13019e6835
Check title before adding event to db 2023-06-15 23:34:10 +05:30
Naveen Singh cdab56e660
Merge branch 'SimpleMobileTools:master' into recurring_event_edit_fix 2023-06-15 23:17:26 +05:30
T0mstone fd58c8517d Fix repeating event reminder 2023-06-15 17:04:42 +02:00
Naveen 6fe938632b
Properly handle `Update the selected occurrence only`
Previously, if an event was modified using some other client then the exception event's parent id was ignored or overwritten with 0 at sync and that means the parent and child events were disconnected locally. Deleting the parent event did not delete the child event.

If a recurrence was modified using Simple Calendar then it was disconnected from it's parent event both locally and on the server because `ORIGINAL_ID` and `ORIGINAL_INSTANCE_TIME` was not specified. On top of that, another exception event was created to make sure the parent event doesn't show up on the date of the disconnected child event.

This change fixes these two issues.
2023-06-15 01:06:56 +05:30
Eric 17e69273bc
Translated using Weblate (Chinese (Simplified))
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/zh_Hans/
2023-06-14 14:48:47 +02:00
Sergio Marques 2345d33250
Translated using Weblate (Portuguese)
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/pt/
2023-06-13 09:49:44 +02:00
Eric 2eb04aaa2d
Translated using Weblate (Chinese (Simplified))
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/zh_Hans/
2023-06-12 05:50:00 +02:00
tibbi 824865af11 updating commons 2023-06-10 15:40:33 +02:00
Макар Разин 0f3e2f16e7
Translated using Weblate (Belarusian)
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/be/
2023-06-08 17:53:51 +02:00
Milo Ivir 519d13fc3f
Translated using Weblate (Croatian)
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/hr/
2023-06-08 17:53:51 +02:00
Kryštof Černý 4c832e5eaa
Translated using Weblate (Czech)
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/cs/
2023-06-08 17:53:51 +02:00
gallegonovato fa9a5844c1
Translated using Weblate (Spanish)
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/es/
2023-06-08 17:53:50 +02:00
Tibor Kaputa de48e387b2
Merge pull request #2086 from nelath/master
Fixed recurring event repetition exception issue
2023-06-08 17:53:46 +02:00