Commit Graph

431 Commits

Author SHA1 Message Date
tibbi db06fcd683 use the extensio function beVisibleIf in some new cases 2016-10-24 20:31:43 +02:00
tibbi 380f9c55c0 adjust the event list divider color so its visible in dark theme too 2016-10-24 20:26:16 +02:00
tibbi bcea981499 show a placeholder at event list in case its empty 2016-10-24 20:17:26 +02:00
mueller-ma 70d3181771 Translated some strings 2016-10-24 19:03:01 +02:00
tibbi 8d5cba8e32 update version to 27 (1.27) 2016-10-23 21:15:42 +02:00
tibbi fe323be23d dd some padding above the events list 2016-10-23 21:03:13 +02:00
tibbi 9db5933255 implement event deletion in the yearly view 2016-10-23 20:46:22 +02:00
tibbi 5b15389f4e add multichoice model touch to events 2016-10-23 19:13:00 +02:00
tibbi 4388e23ff1 open the particular event from Event list view on click 2016-10-23 19:08:55 +02:00
tibbi e043e1b814 pass EventActivity only the event ID 2016-10-23 19:03:59 +02:00
tibbi 53550a6471 avoid clicking on section headers 2016-10-23 18:28:10 +02:00
tibbi 2c514bc627 add sections with dates to the events list 2016-10-23 17:32:37 +02:00
tibbi 48ce33d69d disable RTL support for now 2016-10-23 17:26:42 +02:00
tibbi 04f83c00b0 minor refactoring 2016-10-23 12:14:31 +02:00
tibbi 3f267ba8ed allow adding section headers to the list 2016-10-23 12:01:07 +02:00
tibbi f5e0bf81d7 fill the simple list with future and present events 2016-10-23 00:02:27 +02:00
tibbi 8b85ed656c inflate the events list as a fragment 2016-10-22 23:44:30 +02:00
tibbi 7fd1907b3e minor mainactivity refactoring 2016-10-22 23:28:36 +02:00
tibbi f58a1beba6 toggle the visibility of viewpager as needed 2016-10-22 23:23:00 +02:00
tibbi 2f0cf1a024 add a new View listing all future events within a year 2016-10-22 23:12:26 +02:00
tibbi 6289f9ee82 update version to 26 (1.26) 2016-10-22 22:14:55 +02:00
tibbi 1e3fbc81dd update the events in yearly view on resume 2016-10-22 22:11:41 +02:00
tibbi 67214282fe rename a function 2016-10-22 22:06:52 +02:00
tibbi f490ddf1ee mark current day in the yearly view with a circle 2016-10-22 20:43:48 +02:00
tibbi 761c45c414 mark the current month label with orange 2016-10-22 20:12:00 +02:00
tibbi 7deffa6d0a edit some IDs in the yearly view 2016-10-22 20:03:44 +02:00
tibbi 11aa45fce6 improve the way we are checking repeatable events 2016-10-22 19:46:37 +02:00
tibbi ef90a0c113 try updating the widgets only if there are any 2016-10-22 16:32:02 +02:00
tibbi 978c90e28c move view switching to a dialog 2016-10-22 15:56:05 +02:00
tibbi c406a5b40a color the days with events in the yearly view 2016-10-22 13:34:29 +02:00
tibbi caae2d65e5 minor cleanup 2016-10-22 12:19:14 +02:00
tibbi 8a64933652 some callback and interface cleanup 2016-10-22 11:57:27 +02:00
tibbi fb12a8b38d update DBhelper constructor a bit 2016-10-22 11:19:31 +02:00
tibbi 6d0c83a01e rename CalendarImpl to MonthlyCalendarImpl 2016-10-20 18:22:34 +02:00
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