Commit Graph

25 Commits

Author SHA1 Message Date
056779f7d2 adds ical url handling
- icalToCalendarDB converts the information the user puts into the form
  on the calendar.html page and pulls the calendar from the url.
  It then passes it into the database.

- fetchCanedarEvents gets all events within a startDate and an endDate
  and removes any all day events. This is currently a bit costly, because
  it takes some time for the ics library to download the entire .ical
  file from the url. Then it goes through every entry ever added to the
  file and saves only the future events.
2020-07-25 18:03:02 +02:00
fec09edb88 adds calendar_type settings to calendar 2020-07-25 11:27:24 +02:00
45cd71cc4b code commenting and cleanup 2020-07-10 10:10:07 +02:00
1a5700e9a0 minor bugfix when None value passed to function 2020-06-06 20:01:38 +02:00
183bf60fc0 fixes bug which would not pass along color Hex value 2020-05-30 23:32:37 +02:00
87a229f791 Large restructure of google and backend separation
- googleHandler now takes care of every google communication and mostly nothing else
- only backend classes for Calendar and Events are used for communication
- backend now takes care of every other interaction

- functionality is still the same though
2020-05-30 23:03:27 +02:00
b5cb35256c fixes bugs in database calls 2020-05-27 20:35:46 +02:00
fe1c216c29 updates database design 2020-05-27 20:05:25 +02:00
26cc3425ee updated models position 2020-05-24 13:32:42 +02:00
f94c64e699 routine no longer creates file 2020-05-24 13:25:15 +02:00
060e506547 increased nr of days to send to watch json 2020-05-21 10:19:37 +02:00
ba912de7f3 updates routine to use calendar_id
- calendar name creates problems, when two
  calendars have the same name
- calendar id is unique and was added into the
  css of the frontend
y
2020-05-18 23:49:26 +02:00
804ab33a6d updates color generation
- hopefully fixes a small bug that fucks up colors
- fixes generation when saving calendar colors
2020-05-17 22:58:13 +02:00
baf214e3cf updates gitignore 2020-05-17 22:57:43 +02:00
b5dbfd87de updates routine script 2020-05-15 16:00:11 +02:00
8d546e37a8 adds regular processing script whichs writes to database in server 2020-04-24 18:23:47 +00:00
aaf66a1f10 changes process the colors are remapped into a more capsuled function 2020-04-15 17:43:52 +00:00
fed3fddb21 adds more individualized calls from frontend 2020-04-15 17:15:13 +00:00
8ad90fc8cc added gitignore, renamed functions 2020-04-02 12:24:13 +00:00
5a0d715929 created color correction using a .json file and remapping the colors from the api to the colors actually shown in the google calendar online visualization 2020-03-15 14:49:31 +01:00
1bd2dcd460 adds some color to the mix 2020-03-13 21:46:14 +01:00
0c2dec4441 adds event structure and saves color information of calendar over to event 2020-03-12 00:08:30 +01:00
cfa2540c90 adds printing color id from calendars and events 2020-03-11 00:05:34 +01:00
7fd7b69f65 restructures programm into multiple functions 2020-03-09 23:54:46 +01:00
571c5a9e0e added credentials and script that gets todays events from google calendar 2020-03-08 22:28:45 +01:00