Commit Graph

18 Commits

Author SHA1 Message Date
1c2635045b Make User.profile a single object instead of a list
Because it’s a one-to-one relationship anyway, what’s the use of lists here?
2018-07-09 13:05:26 +02:00
ad53608966 Display profiles 2018-07-09 11:50:36 +02:00
acb7566d1b [Code Cleanup] Remove the unused wraps import from calsocial.__init__ 2018-07-09 10:12:14 +02:00
295e19198e [Bugfix] Fix the default timezone setting 2018-07-09 10:12:14 +02:00
d14d32767c Make PyLint happy with the models code 2018-07-09 08:15:40 +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
aede5873d2 Add our own login form
We gain multiple things with this, but the main point is to do audit logging in case a valid user
enters an invalid password.
2018-07-08 23:14:39 +02:00
c770e6cfa6 Create our own anonymous user class
This is required so the anonymous user also has a time zone (which is required to render public events.)
2018-07-08 22:36:47 +02:00
943021e152 Add the timezone property to app
It will make it easier to get a default time zone.
2018-07-08 22:32:41 +02:00
ba7c766316 Allow displaying event details 2018-07-03 14:22:03 +02:00
bba44a3c7f Add user settings with time zones 2018-07-03 13:15:17 +02:00
76bcd21e0a [Refactor] Make the app routes static methods
They don’t use self, so PyLint complains.
2018-07-03 10:07:48 +02:00
2f66fdb83e [Docs] Add/update docstrings and license text in every file 2018-07-03 09:52:25 +02:00
4c03829264 Add the previous/next year/month links to the month view 2018-07-02 14:07:38 +02:00
7cb46c476b [Bugfix] Move from Flask-Babel to Flask-BabelEx
It is used internally by Flask-Security anyway, so it’s one less package to install.  Also, using
Flask-Babel causes trouble with Flask-Security…
2018-07-02 13:27:26 +02:00
3a1cdf8f6a [Refactor] Move app-level views into the CalendarSocialApp class 2018-07-02 10:54:02 +02:00
723cabbe72 [Refactor] Move the application running code from __init__ to __main__ 2018-07-02 10:47:34 +02:00
7846d9017d [Refactor] Rename the app module to calsocial
Just for clarity
2018-07-02 10:41:32 +02:00