Commit Graph

12 Commits

Author SHA1 Message Date
a862e6ca5d Add the Event.visibility field
This shows if the event is visible to anyone or just people who are invited.

The calendar view already respects this flag.
2018-07-16 12:12:35 +02:00
4cbebb9c5a Connect events with profiles instead of local users 2018-07-09 13:05:26 +02:00
531faa1ce7 Add PyLint as a development dependency
Use `pylint calsocial` to run the static analysis.
2018-07-09 08:15:40 +02:00
2f66fdb83e [Docs] Add/update docstrings and license text in every file 2018-07-03 09:52:25 +02:00
5300e4978e [Code Cleanup] Wrap some long lines 2018-07-03 09:52:15 +02:00
5f5ccaa1ea [Code Cleanup] Update some variable names to conform with PEP8 2018-07-03 09:51:31 +02:00
9dd2a1120f [Refactor] Change GregorianCalendar.day_events() to a static method
It takes a date as its parameter, and doesn’t use the class’ timestamp, so there’s no point making
it an instance method.
2018-07-03 09:51:30 +02:00
26c31bcc04 [Bugfix] Fix the ordering of events
They were in SQL order.  Now they are ordered by start time.
2018-07-02 17:27:42 +02:00
32c84725a9 [Bugfix] Fix day-event fetching
It returned today’s events regardless of the day.
2018-07-02 16:52:37 +02:00
4c03829264 Add the previous/next year/month links to the month view 2018-07-02 14:07:38 +02:00
f41cf43f80 [Bugfix] Fix for "Move from Flask-Babel to Flask-BabelEx"
I forgot to fix this in calendar_system.gregorian…
2018-07-02 13:34:47 +02:00
7846d9017d [Refactor] Rename the app module to calsocial
Just for clarity
2018-07-02 10:41:32 +02:00