Commit graph

447 commits

Author SHA1 Message Date
tibbi
a38441f930 renaming a function 2016-10-19 23:45:44 +02:00
tibbi
1519bd337d simplify some primitive variable definitions 2016-10-19 23:43:56 +02:00
tibbi
d7502ec277 go back to yearly view on pressing Back from month view 2016-10-19 23:33:57 +02:00
tibbi
7dc9cc73f7 lets not switch to monthly view at selecting a month 2016-10-19 23:02:43 +02:00
tibbi
414cf82901 update a couple scopes 2016-10-19 22:55:03 +02:00
tibbi
53761776e3 open the picked month on click 2016-10-19 22:26:26 +02:00
tibbi
8016391989 delay updating the options menu a bit, till the bubble disappears 2016-10-19 21:51:52 +02:00
tibbi
03d5963bb9 show the currently selected year in the actionbar title 2016-10-19 21:49:14 +02:00
tibbi
a7a098ca9d update the yearly view if Sunday as the first day is toggled 2016-10-19 19:31:59 +02:00
tibbi
2fafcf6ea4 setup the first day of the month 2016-10-19 19:27:31 +02:00
tibbi
40082abc8a edit the year view ids 2016-10-19 19:15:55 +02:00
tibbi
ed9d0a42cd lets use DateTime for getting february days cnt 2016-10-19 19:01:27 +02:00
tibbi
ffc528ce15 fill the months with proper day count 2016-10-19 18:50:52 +02:00
tibbi
b5e5233a9f fill up the month views with days 2016-10-18 23:23:07 +02:00
tibbi
fc1a16e48d set test size of month labels 2016-10-18 19:53:01 +02:00
tibbi
8ee46f6bac add a couple view IDs 2016-10-17 23:11:42 +02:00
tibbi
6309d9c48b avoid updating invalid month fragments 2016-10-17 22:11:33 +02:00
tibbi
5060d2b893 lets not redefine the mConfig of SimpleActivity 2016-10-17 22:07:00 +02:00
tibbi
d61f139cce add month views 2016-10-17 20:38:04 +02:00
tibbi
b7b77cf50a create the table layout that will hold the months 2016-10-17 20:10:44 +02:00
tibbi
17fb1f87a8 fill MyYearPagerAdapter 2016-10-17 19:23:06 +02:00
tibbi
f7fd91def6 minor code edit 2016-10-17 18:50:05 +02:00
tibbi
019d3aa1c3 store view type 2016-10-17 18:49:25 +02:00
tibbi
1866bf1f8f add a menu button for setting yearly view 2016-10-17 18:36:53 +02:00
tibbi
3337b33850 update version to 25 (1.25) 2016-10-15 00:00:40 +02:00
tibbi
c4f9aa46a8 fix #34, remember last value inserted at reminder minutes 2016-10-15 00:00:06 +02:00
tibbi
85484be708 display event End date and time field if its set 2016-10-14 23:49:48 +02:00
tibbi
6009b4fe25 do not display a time range at the notif at events without end time 2016-10-14 23:47:10 +02:00
tibbi
b8a4cccbd5 add biweekly repetition 2016-10-14 23:40:00 +02:00
tibbi
832ecc5f0f update version to 24 2016-10-05 00:03:29 +02:00
tibbi
2f94fb6dda toggle week number visibility depending on settings, close #31 2016-10-05 00:01:20 +02:00
tibbi
5392ea00d4 add a setting for toggling displaying week numbers, disabled by default 2016-10-04 23:44:56 +02:00
tibbi
1a1fde0d5f display week numbers at month views 2016-10-04 23:33:19 +02:00
tibbi
71a8c74ff8 Merge branch 'master' of github.com:SimpleMobileTools/Simple-Calendar 2016-10-04 20:47:14 +02:00
tibbi
e007ec9505 fix notifications of non repeatable events 2016-10-04 20:46:09 +02:00
YSmhXQDd6Z
534c782156 Create strings.xml 2016-10-02 21:41:30 +00:00
tibbi
9ac46c7c8e update version to 23 (1.23) 2016-09-24 19:34:27 +02:00
tibbi
ba60e96b53 replace "Minutes before" with "X minutes before" 2016-09-24 19:30:24 +02:00
tibbi
f973266c0a apply side padding only to actual app activity, not widget 2016-09-24 19:27:40 +02:00
Rudy
5a84daa375 Translated the last missing entries to german 2016-09-21 20:53:04 +02:00
tibbi
f6715707bd update version to 22 (1.22) 2016-09-20 18:48:12 +02:00
tibbi
c77b7e885f prefill the months screen as soon as possible, even if without events 2016-09-20 18:41:35 +02:00
tibbi
ead01b5926 update the widget at app startup just once, not three times 2016-09-19 23:51:01 +02:00
tibbi
702826b745 use a textinputlayout for edittext labels 2016-09-19 23:28:44 +02:00
tibbi
97def2fb2e underline days with events in the widget instead of using bold text 2016-09-19 23:18:34 +02:00
tibbi
611b93aa12 update the widget after edits done from EventActivity 2016-09-19 23:09:00 +02:00
tibbi
a8cffc36b1 rewrite EventActivity to kotlin 2016-09-19 23:07:41 +02:00
tibbi
3119013ec4 create a context extension for updating the widget 2016-09-19 22:39:28 +02:00
tibbi
ee508de5d1 move the months FAB code to a separate function 2016-09-19 22:26:00 +02:00
tibbi
711736cbeb add a null check to dayfragment 2016-09-19 22:18:19 +02:00
tibbi
dfa8f739e9 convert SimpleActivity to kotlin 2016-09-19 22:13:17 +02:00
tibbi
54eefcd685 update widget config screen 2016-09-19 21:09:54 +02:00
tibbi
e154156628 run getEvents on a background thread 2016-09-19 20:55:07 +02:00
tibbi
8d10c1b164 convert App to kotlin 2016-09-18 23:21:33 +02:00
tibbi
e4e9a87ae6 fix a crash at deleting events 2016-09-18 21:51:17 +02:00
tibbi
df3939f742 some DBHelper refactoring 2016-09-18 21:41:04 +02:00
tibbi
a552665960 convert DBHelper to kotlin 2016-09-18 21:18:28 +02:00
tibbi
1df21eba14 recheck monthly events at resume too 2016-09-18 20:54:49 +02:00
tibbi
8c4b4a6c6d recheck daily events more frequently, at every resume 2016-09-18 20:52:38 +02:00
tibbi
7fb26ea71c remove a debug statement 2016-09-18 15:14:19 +02:00
tibbi
dea2c346ff allow Editing events 2016-09-18 15:13:03 +02:00
tibbi
5107bd6803 refix the Day FAB 2016-09-18 15:00:51 +02:00
tibbi
71e08ae9dd implement event deleting and delete Undoing 2016-09-18 14:59:53 +02:00
tibbi
78bd16252e add some event deletion related code 2016-09-18 12:02:26 +02:00
tibbi
92048e5342 implement Switching to a different day via top label 2016-09-18 11:25:08 +02:00
tibbi
212914e0b4 count the long pressed items cnt 2016-09-18 11:06:43 +02:00
tibbi
7ae80e70d3 center the top label vertically 2016-09-18 11:03:53 +02:00
tibbi
18a985692a use proper day at adding new event from Day screen 2016-09-18 10:56:17 +02:00
tibbi
605f9e1671 remove some DB code from dayactivity 2016-09-18 10:49:25 +02:00
tibbi
4ed18a90d7 edit the event on click 2016-09-18 10:45:21 +02:00
tibbi
631fe89f3b use the proper style when listing events 2016-09-18 10:39:12 +02:00
tibbi
b8959259c8 implement the FAB at the day screen 2016-09-18 00:13:12 +02:00
tibbi
ff9e691c68 show the day picking dialog on day label click 2016-09-17 23:47:59 +02:00
tibbi
7520656d2c implement the arrows at Day screen 2016-09-17 23:31:07 +02:00
tibbi
cbd5036e1b fix the FAB button at the main screen 2016-09-17 23:16:29 +02:00
tibbi
23fc4556ce one more minor refactoring 2016-09-17 22:13:20 +02:00
tibbi
a0c427fedc minor refactoring 2016-09-17 21:54:51 +02:00
tibbi
cfba78342a move a chunk of code from DayActivity to DayFragment 2016-09-17 21:53:17 +02:00
tibbi
8a4ae25cff update day label 2016-09-17 15:06:37 +02:00
tibbi
94e198be32 prefill the days viewpager with 2 months 2016-09-17 11:43:24 +02:00
tibbi
efbbc5307c change the daycode to YYYYMMdd 2016-09-17 11:15:07 +02:00
tibbi
8fd75ae628 convert DayActivity to kotlin 2016-09-16 23:15:26 +02:00
tibbi
dddab1c6ac add a viewpager into the day activity 2016-09-16 23:01:46 +02:00
tibbi
475dff59d8 convert EventsAdapter to kotlin 2016-09-16 22:52:49 +02:00
tibbi
5ac4a95531 convert MyPagerAdapter to kotlin 2016-09-16 22:43:07 +02:00
tibbi
228ab622e5 convert MainActivity to kotlin 2016-09-16 21:32:02 +02:00
tibbi
0993212094 convert Day and Event models to kotlin 2016-09-15 23:58:49 +02:00
tibbi
09ef991010 rewrite MonthFragment to Kotlin 2016-09-15 23:36:01 +02:00
tibbi
668e130ed9 lets add Kotlin 2016-09-15 22:01:38 +02:00
tibbi
b22a5f23f6 implement the month picker 2016-09-15 21:09:16 +02:00
tibbi
23652f8196 add some functionality to left and right arrows 2016-09-15 21:01:47 +02:00
tibbi
a28d5ed2d1 fill in month days 2016-09-15 20:47:42 +02:00
tibbi
a439b4790e add side arrows 2016-09-15 20:08:48 +02:00
tibbi
b66debe1e5 update day labels 2016-09-15 20:02:26 +02:00
tibbi
ba0b94b6cb update current months label 2016-09-15 19:46:18 +02:00
tibbi
0da07ee79d implement the Calendar at monthfragments 2016-09-15 19:36:57 +02:00
tibbi
37e03e959f add some margin to the month view 2016-09-15 13:03:03 +02:00
tibbi
1205122af0 temporarily remove some functionality from widget config screen 2016-09-15 13:01:53 +02:00
tibbi
b88e3b89df start replacing month view with a viewpager 2016-09-15 12:29:25 +02:00
tibbi
27a42b3748 update version to 21 (1.21) 2016-09-13 23:09:11 +02:00
tibbi
189b0a5f00 update the widget every hour 2016-09-13 23:06:57 +02:00
tibbi
4e8fd49a28 update stetho to 1.4.1 2016-09-13 23:03:21 +02:00
tibbi
272bb121e4 hide the event End date and time by default 2016-09-13 22:54:42 +02:00
tibbi
6c783bead1 reschedule all notifications at reboot as needed 2016-09-13 22:24:34 +02:00
tibbi
1d65ad305e add rescheduling monthly and yearly events 2016-09-13 21:40:51 +02:00
tibbi
71161651f4 reschedule daily and weekly recurring notifications at the notif 2016-09-13 20:41:40 +02:00
tibbi
234691b0ed some cleanup 2016-09-12 21:53:24 +02:00
tibbi
0a244e884d add yearly events 2016-09-12 21:42:03 +02:00
tibbi
d19a452895 add monthly events 2016-09-12 21:29:13 +02:00
tibbi
f609f9402a add Stetho for debugging so I can actually see what am I doing 2016-09-12 20:51:46 +02:00
tibbi
29eba249ee get daily and weekly events separately 2016-09-12 20:18:55 +02:00
tibbi
24ef5e9ac6 save monthly and yearly events a bit differently 2016-09-11 23:50:53 +02:00
tibbi
82225ae58d adding monthly repetition + some corrections 2016-09-11 20:07:42 +02:00
tibbi
85b124bf87 some display correction of recursive events 2016-09-11 19:07:20 +02:00
tibbi
c0dd90d8fc move event time updating into a separate function 2016-09-11 16:06:29 +02:00
tibbi
ffc6d3535e handle leap years properly 2016-09-11 15:50:32 +02:00
tibbi
88adcb1d9e adjust the end time of repeating events 2016-09-11 15:28:15 +02:00
tibbi
a70c14b389 mark repeating events on main monthly calendar 2016-09-11 14:44:55 +02:00
tibbi
f11dd4dd2e properly handle updating event repeat interval 2016-09-11 11:45:15 +02:00
tibbi
7ea9e214b1 cleanup the event meta info at event deletion too 2016-09-11 11:15:53 +02:00
tibbi
6780f6f250 obtain the repeat interval from db 2016-09-11 11:08:52 +02:00
tibbi
58f252f180 store the repetition interval in db 2016-09-10 23:43:58 +02:00
tibbi
58066fc949 handle repetition spinner 2016-09-10 23:25:10 +02:00
tibbi
4cbccaca5c remove monthly repetition for now, its more advanced 2016-09-10 23:16:05 +02:00
tibbi
81094b06b8 create a database table for storing recurring event meta info 2016-09-10 23:06:25 +02:00
tibbi
3d681f1c30 add a spinner for Event repetition 2016-09-10 22:54:29 +02:00
tibbi
111ed061c4 move EventsAdapter in its own folder 2016-09-10 22:46:20 +02:00
tibbi
28f2338184 update version to 20 (1.20) 2016-09-09 20:33:50 +02:00
tibbi
b5be24fb91 handle widget properly too 2016-09-09 20:32:17 +02:00
tibbi
9d62e7710c update day labels based on settings 2016-09-09 19:49:57 +02:00
tibbi
7f783da9c5 lets be smart and determine if sunday should be the first day 2016-09-09 19:35:26 +02:00
tibbi
6f928bdeb3 add a checkbox for setting Sunday as the first day of the week 2016-09-09 19:27:44 +02:00
tibbi
e67ecb7ba1 translate starting letters of days too 2016-09-09 19:06:02 +02:00
Tibor Kaputa
d7171262fc Merge pull request #25 from vanitasvitae/master
Fixed typo
2016-09-09 00:18:40 +02:00
vanitasvitae
f2e4ad4891 Fixed typo 2016-09-08 10:05:50 +02:00
tibbi
00fffb76e7 small change to selectable item background 2016-09-07 22:56:23 +02:00
tibbi
d08c393dd7 update version to 19 (1.19) 2016-09-07 22:06:19 +02:00
tibbi
b734c4200b remove some non translatable strings 2016-09-07 21:57:54 +02:00
vanitasvitae
191985a66d Added german translation 2016-09-06 14:05:58 +02:00
tibbi
83a280d8ec update version to 18 (1.18) 2016-08-29 21:22:15 +02:00
tibbi
626711a62d fixed #23, deleting multiple events at once 2016-08-29 21:20:27 +02:00
tibbi
7ddf33ba26 rename the launcher to Calendar 2016-08-29 21:12:20 +02:00
tibbi
876bc52dc2 updating the launcher icons 2016-08-29 21:11:20 +02:00
tibbi
528b5bb21a update version to 17 (1.17) 2016-08-21 21:11:51 +02:00
tibbi
5130f9c25c display event year only if its not the current 2016-08-21 21:07:33 +02:00
tibbi
679a04133f fix #12, make sure the arrows for switching days work in every zone 2016-08-21 20:53:14 +02:00
tibbi
d6b58bdbf6 use our own strings for OK and Cancel 2016-08-21 20:33:51 +02:00
tibbi
1ff8163160 lets use manually translated month names for reliability 2016-08-21 20:32:05 +02:00
tibbi
9fd690f0d9 add some padding to the email 2016-08-21 20:02:19 +02:00
tibbi
d053de5612 make the buttons in About section easier to click 2016-08-21 19:55:38 +02:00
tibbi
1da3fd946b allow adding events in the past, but notify the user 2016-08-21 14:56:57 +02:00
tibbi
4cf07a8f3b fixed #18, set default reminder to At start 2016-08-21 13:49:40 +02:00
tibbi
a32a1c71e5 add an Invite friends button 2016-08-21 13:44:04 +02:00
tibbi
54cc0aa665 update version to 16 (1.16) 2016-08-04 22:35:32 +02:00
tibbi
55299869b3 couple more margin corrections 2016-08-04 22:26:03 +02:00
tibbi
df633c534e adding a couple UI corrections 2016-08-04 21:59:35 +02:00
tibbi
fe4f1909d8 add some extra properties to FABs 2016-08-04 21:49:48 +02:00
tibbi
7178a0bbeb display the event description at the events list 2016-08-04 21:16:03 +02:00
tibbi
3749ad825a make event end time optional, close #13 2016-08-04 21:10:35 +02:00
tibbi
cd43b3edb6 update version to 15 (1.15) 2016-07-31 23:17:11 +02:00
tibbi
d6507ffb34 always display proper month name 2016-07-31 23:16:51 +02:00
tibbi
3ff05c520d update version to 14 (1.14) 2016-07-26 22:27:32 +02:00
tibbi
3a70803c72 make the dark theme really dark 2016-07-26 22:27:18 +02:00
tibbi
fc47ca3f84 update version to 13 (1.13) 2016-07-26 21:12:11 +02:00
tibbi
cbd896eb4d properly translate months, closes #10 2016-07-26 21:10:07 +02:00
tibbi
1a98db66ff use localized strings at dialogs 2016-07-24 18:12:00 +02:00
tibbi
c3fb05f7d0 remove a not needed flag 2016-07-24 11:40:19 +02:00
tibbi
f6e64f1bf3 update version to 12 (1.12) 2016-07-21 23:18:55 +02:00
tibbi
aa4b77f657 fix date at adding events 2016-07-21 23:18:28 +02:00
tibbi
72c0b34f63 change a japanese translation 2016-07-20 18:27:15 +02:00
tibbi
4c233d0c6a update version to 11 (1.11) 2016-07-19 00:11:37 +02:00
tibbi
b96ab2c3c4 add some navigation between activities 2016-07-19 00:11:10 +02:00
tibbi
f7e30d3a90 update version to 10 (1.10) 2016-07-18 23:06:50 +02:00
tibbi
299550dc0e make sure we hide the proper field at Month picker 2016-07-18 23:06:22 +02:00
tibbi
dd2d7bdd2a add Dark Theme translations 2016-07-18 22:49:35 +02:00
tibbi
70758e7d65 use UTC when predefining new events date 2016-07-18 22:34:11 +02:00
tibbi
cd0d134fb8 add a couple strings for dark theme, even if not translated 2016-07-18 22:23:16 +02:00
tibbi
2ef1c73df1 style a couple more components 2016-07-18 22:10:37 +02:00
tibbi
c771904361 implement the actual theme change 2016-07-18 21:58:44 +02:00
tibbi
45527473e3 add a Dark Theme toggle 2016-07-18 20:11:58 +02:00
tibbi
a15911738c remove some non translatable strings 2016-07-17 23:33:36 +02:00
Tibor Kaputa
e295cb6f72 Merge pull request #8 from Sopor-/master
swedish translation
2016-07-17 23:32:41 +02:00
Sopor
41bfb191e0 swedish translation 2016-07-17 22:55:48 +02:00
tibbi
ef59de98ce mark some strings non translatable 2016-07-17 22:25:33 +02:00
Tibor Kaputa
29d5202aab Merge pull request #7 from anthologist/master
Add italian translation
2016-07-17 22:22:00 +02:00
anthologist
47832d2f36 Create strings.xml 2016-07-15 11:03:06 +02:00
naofum
d6165443b0 Added Japanese translation 2016-07-14 00:18:42 +09:00
tibbi
531a11cf6d update version to 9 (1.9) 2016-07-13 17:13:45 +02:00
tibbi
da903171df handle rotation change properly 2016-07-11 20:30:58 +02:00
tibbi
fe2915d4fd do not force portrait rotation 2016-07-11 20:30:42 +02:00
tibbi
54c81e4d8b some english fixes 2016-07-11 20:21:14 +02:00
tibbi
738295fcbd update the version to 8 (1.8) 2016-07-07 11:42:31 +02:00
tibbi
7839e8d660 show the proper widget preview image 2016-07-07 11:42:11 +02:00
tibbi
5ea1f1dc52 reschedule the notifications after reboot 2016-07-07 11:35:37 +02:00
tibbi
0d88e35297 properly update the notification if the event is edited 2016-07-07 11:09:43 +02:00
tibbi
5f084488ac do not allow scheduling events in the past 2016-07-07 11:07:02 +02:00
tibbi
2268100a20 add notification sound 2016-07-07 10:50:05 +02:00
tibbi
bbdc79cffa fix opening the event through the notification 2016-07-07 10:49:58 +02:00
tibbi
4e294d89d8 implement event reminders 2016-07-07 00:19:07 +02:00
tibbi
ad7a08eaeb add the spinner for choosing event reminder 2016-07-06 16:19:57 +02:00