Naveen
e2ae8afe10
Migrate to non-transitive R class
2023-09-04 15:43:10 +05:30
Naveen
a408323236
Revert accidentally renamed constants
2023-09-04 15:29:26 +05:30
Naveen
aac1d60baf
Inflate views using binding
2023-09-04 15:17:16 +05:30
Naveen
7867e71cde
Migrate from kotlin synthetics to View binding
2023-09-03 18:55:41 +05:30
Naveen
5bdd5e8cec
Properly handle "Start week on" preference in all places
2023-07-22 22:44:24 +05:30
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
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
Agnieszka C
549665e302
Fixed displaying long events in weekly view ( #2135 )
2023-07-04 20:09:16 +02:00
Naveen
75233a1bcd
Use custom event colors in the top bar
2023-04-30 15:13:17 +05:30
Naveen
3d56751b18
Allow changing CalDAV event color
2023-04-08 17:03:36 +05:30
tibbi
6c244ea925
fix #1950 , properly place weekly view grid items
2023-01-20 18:06:14 +01:00
tibbi
05ca19105b
fix grid placement on weekly view click
2023-01-08 20:31:28 +01:00
Naveen
e48bff7953
Minor readability improvement
2022-11-25 03:14:04 +05:30
Naveen
802db5f29a
Always show single day all-day events at the top
...
ignoring the user preference `showMidnightSpanningEventsAtTop`
2022-11-25 00:14:16 +05:30
Naveen
512d3cebff
Ignore stored hour for all-day events in weekly view
...
All-day last whole day but are ended on 12pm in the local database for easier implementation. It's easier to fix it here than tinker with the database logic which involves taking into account stuff like timezones, other views and caldav events
2022-11-08 04:02:08 +05:30
doozy
ab79d57d6a
Fixes #1767
2022-09-12 00:11:16 +03:00
tibbi
ed88f777a7
updating kotlin, commons, gradle and target SDK to 33
2022-08-28 20:14:56 +02:00
Naveen
b46514ea52
Add task repetition (handle task completion)
2022-07-20 15:54:31 +05:30
Naveen
6fd495cb3b
Avoid creating new rows unnecessarily
...
Before this change, each repeating event was created on a different set of rows even when there was enough space for the events to fit
2022-06-08 22:52:04 +05:30
Tibor Kaputa
d2fa88b5a9
removing an extra empty line
2022-05-25 11:23:34 +02:00
Naveen
2fe3e98695
Properly handle events spanning midnight
2022-05-25 11:23:50 +05:30
Naveen
ac43e14999
Use unique indexing for all day events
2022-05-25 10:53:41 +05:30
Naveen
6c3f833972
Misc code cleaning, readability improvements
2022-05-20 03:53:13 +05:30
Tibor Kaputa
745f404dca
adding some empty lines
2022-05-18 17:08:05 +02:00
Naveen
06955ef65d
Add 'Dim completed tasks' preference
...
Set to `true` by default
2022-05-18 17:49:47 +05:30
Naveen
0649f10cec
Update task type events as well on drag-n-drop
...
Fixes https://github.com/SimpleMobileTools/Simple-Calendar/issues/1709
2022-05-16 03:31:59 +05:30
tibbi
76a578077d
use the new way of fetching colors
2022-04-06 23:49:04 +02:00
tibbi
267a469bc3
updating commons and target SDK to 31
2022-04-06 23:21:11 +02:00
tibbi
4141b94a6a
limit some weekly view event titles to 1 line
2022-03-16 21:51:26 +01:00
tibbi
6c4a07424f
fixing some crashes on Android 5 and 6
2022-03-16 15:19:02 +01:00
tibbi
3bcd394ad0
fixing some weekly view calculations
2022-03-03 09:38:02 +01:00
tibbi
4093e7fb60
use minimal height at weekly views instant events and tasks
2022-02-27 20:16:39 +01:00
tibbi
daa6176410
improving weekly view collision checking
2022-02-27 18:31:59 +01:00
tibbi
e558342cc9
properly show all-day tasks at the weekly view
2022-02-26 23:11:46 +01:00
tibbi
26c0a55d19
mark tasks at the weekly view too
2022-02-26 23:04:32 +01:00
tibbi
634f3aff67
updating commons
2022-02-26 20:48:35 +01:00
tibbi
f4c97b5e1e
strike through completed tasks at all views
2022-02-25 21:43:58 +01:00
tibbi
c1e1ee4685
allow creating tasks from the weekly view too
2022-02-24 21:41:52 +01:00
tibbi
baeb0e2c44
open TaskActivity properly from ListEvent items too
2022-02-24 16:30:55 +01:00
tibbi
abbe87d509
launch TaskActivity if editing a task
2022-02-24 16:09:06 +01:00
Tibor Kaputa
a5a9ed667b
formatting some code and removing warnings
2022-02-09 11:25:44 +01:00
Honk2
3db07639bf
fix issue 1588 overlapp issue by adding crosswise collision checks
2022-01-11 22:48:36 +01:00
B14CK313
4bcc4dcca7
Fixed parameter `isSundayFirst` of `isWeekend` call
2021-12-12 21:55:33 +01:00
B14CK313
6722b0e627
Fix: Wrong day highlighted in week view
...
If `startWeekWithCurrentDay` was enabled, `highlightWeekends` lead to the wrong days beeing
highlighted, because the column index passed to `isWeekend` didn't correspond to the day of week
anymore. This change fixes this by using `curDay.dayOfWeek` instead.
2021-12-12 19:20:28 +01:00
Kazuhiro Ito
2683ebf6ed
Define weekends highlight color in config
2021-11-22 20:14:26 +09:00
tibbi
b1324e93bb
redesigning the Event List view
2021-11-21 15:10:20 +01:00
darthpaul
deec13364d
fix weekly view highlighting weekends incorrectly
2021-10-15 09:22:13 +01:00
tibbi
03bbf71652
do notremoving some unnecessary calls at changing visible weekly days count
2021-09-26 16:19:14 +02:00