Commit Graph

5075 Commits

Author SHA1 Message Date
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
Tibor Kaputa b476e71ec6
Merge pull request #2093 from Naveen3Singh/recurring_event_fix_981
Properly handle `Update all occurrences` option
2023-06-08 17:52:44 +02:00
Tibor Kaputa 82c947543c
Merge pull request #2094 from Aga-C/add-missing-settings
Added missing settings in backup
2023-06-08 17:49:51 +02:00
Bread 3f76ced2f8 Update china.ics
add 2023 holiday
2023-06-03 18:43:57 +08:00
Bread 9ee22ba8a4 Update china.ics
add 2022 holiday
2023-06-03 18:29:02 +08:00
Bread 9a95c8dc54 Update china.ics
add 2021 holiday
2023-06-03 18:24:50 +08:00
Agnieszka C 93b36ba750 Added missing settings in backup 2023-05-29 19:03:30 +02:00
Naveen 75ffedca81
Avoid shifting start, end times when switching calendars 2023-05-29 05:32:18 +05:30
Naveen 2d33c1f8f0
Properly handle `Update all occurrences` option
Closes https://github.com/SimpleMobileTools/Simple-Calendar/issues/981

The events were moved forward because the start and end timestamps from the repeating occurrence were saved instead of the original start and end times.

The call to `eventsHelper.addEventRepeatLimit()` was removed because I believe it was added there by mistake and the changes were overwritten anyways due to the next call to `eventsHelper.updateEvent()`. Another reason to remove it is to avoid triggering a CalDAV update which may interfere with the event update.
2023-05-29 04:49:57 +05:30
Tim 37bc269871 fixed getDatesWeekDateTime 2023-05-23 22:55:41 +08:00
nelath 24713a8351 Fixed recurring event repetition exception issue 2023-05-22 13:09:13 +02:00
J. Lavoie 77d7e97847
Translated using Weblate (Italian)
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/it/
2023-05-22 09:52:28 +02:00
J. Lavoie 5376b73e28
Translated using Weblate (French)
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/fr/
2023-05-22 09:52:27 +02:00
Milo Ivir 0f87d54ccb
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-05-18 22:54:34 +02:00
Alexander Gabilondo 6aeff3f050
Translated using Weblate (Basque)
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/eu/
2023-05-18 22:54:34 +02:00
Tibor Kaputa 023dcaf47b
Merge pull request #2078 from spkprs/patch-35
Update strings.xml
2023-05-18 15:59:39 +02:00
Tibor Kaputa 6e03103ba3
Update strings.xml 2023-05-18 15:59:10 +02:00
Priit Jõerüüt d0bc1f753b
Translated using Weblate (Estonian)
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/et/
2023-05-18 14:41:29 +02:00
FTno 466cc0eab2
Translated using Weblate (Norwegian Bokmål)
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/nb_NO/
2023-05-18 14:41:29 +02:00
tryvseu 01330f0f49
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 92.2% (227 of 246 strings)

Translation: Simple Mobile Tools/Simple Calendar
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-calendar/nn/
2023-05-18 14:41:29 +02:00
Anonymous 9bd65e8259
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 100.0% (0 of 0 strings)

Translation: Simple Mobile Tools/Simple Calendar
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-calendar/nn/
2023-05-18 14:41:29 +02:00
en2sv 3d073b0e72
Translated using Weblate (Swedish)
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/sv/
2023-05-18 14:41:29 +02:00
Sergio Marques ed6188d4ef
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-05-18 14:41:29 +02:00
J. Lavoie 6f50188115
Translated using Weblate (Italian)
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/it/
2023-05-18 14:41:29 +02:00
J. Lavoie 0eb5a8005c
Translated using Weblate (French)
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/fr/
2023-05-18 14:41:29 +02:00
tryvseu 09737d15dc
Added translation using Weblate (Norwegian Nynorsk) 2023-05-18 14:41:29 +02:00
Tibor Kaputa 5257af0803
Merge branch 'master' into master 2023-05-18 14:40:35 +02:00
spkprs 2156b43a5a
Update strings.xml 2023-05-14 18:46:58 +03:00
tibbi dfc122942e update version to 6.21.9 2023-05-12 09:38:53 +02:00
solokot 9dea36a24d
Translated using Weblate (Russian)
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/ru/
2023-05-12 09:33:28 +02:00
Agnieszka C 85ce5b0887 Fixed color change in event editor 2023-05-12 09:22:07 +02:00
tibbi 3135232eea update version to 6.21.8 2023-05-11 22:42:10 +02:00
tibbi 385bb3b220 updating commons 2023-05-11 22:38:21 +02:00
tibbi fe6fdab958 updating commons 2023-05-10 21:50:19 +02:00
Rex_sa 8ca14490e2
Translated using Weblate (Arabic)
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/ar/
2023-05-10 20:25:47 +02:00
Josep M. Ferrer cd57efa8c6
Translated using Weblate (Catalan)
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/ca/
2023-05-10 20:25:47 +02:00
Eric 85b0fca7de
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-05-10 20:25:47 +02:00
Oğuz Ersen 96c5ee34ae
Translated using Weblate (Turkish)
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/tr/
2023-05-10 20:25:47 +02:00
Agnieszka C 316cd8b282
Translated using Weblate (Polish)
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/pl/
2023-05-10 20:25:47 +02:00
Guillaume 8ae994d3f4
Translated using Weblate (Dutch)
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/nl/
2023-05-10 20:25:47 +02:00
VfBFan 329b1981bb
Translated using Weblate (German)
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/de/
2023-05-10 20:25:47 +02:00
tibbi 11a715c33d updating commons 2023-05-10 20:25:40 +02:00
tibbi c0025dc4d5 removing a copypaste error 2023-05-10 19:58:47 +02:00
tibbi c0403cdf5a updating commons, list supported languages 2023-05-10 19:58:37 +02:00
tibbi e844db71d5 updating commons 2023-05-07 18:23:49 +02:00
Tibor Kaputa c18a39ea17
Merge pull request #2059 from Naveen3Singh/fix_ime_inset
Use `adjustResize` flag
2023-05-06 22:30:09 +02:00
Tibor Kaputa eabc8cef54
updating a slovak translation 2023-05-06 22:21:10 +02:00
Naveen 66a0dd88b1 Use `adjustResize` with TaskActivity as well 2023-05-06 23:31:42 +05:30
Naveen e1af5c9624 Update simple-commons library 2023-05-06 23:26:11 +05:30
Naveen 207bb615d0 Always set event color click listener 2023-05-06 23:26:01 +05:30
Naveen Singh 69eb932797
Merge branch 'SimpleMobileTools:master' into event_color_customization 2023-05-06 10:52:35 -07:00
Naveen cb507bfd5f Merge master into fix_ime_inset 2023-05-05 22:26:05 +05:30
tibbi 8bba1eb4db updating commons and room 2023-05-05 16:24:11 +02:00
Tibor Kaputa e681f90dd8
Merge pull request #2065 from ismailnurudeen/feat/require-notification-permission
feat: added required notification permission dialog.
2023-05-05 16:23:15 +02:00
Naveen 758c724f5b Update simple-commons library 2023-05-05 13:17:52 +05:30
Naveen 4fe6f4fbfc Move ColorPickerDialog modifications to commons 2023-05-05 00:17:52 +05:30
Naveen 6322a9a1d3 Shrink vector drawable using avocado 2023-05-04 23:18:20 +05:30
Naveen b64ba644d8 Update simple-commons library 2023-05-04 23:14:22 +05:30
Naveen e8f7c3f3f2 Merge master into event_color_customization 2023-05-04 23:02:38 +05:30
Naveen 1733f30bb0 Update simple-commons library 2023-05-04 22:49:33 +05:30