Commit Graph

34 Commits

Author SHA1 Message Date
Gergely Polonkai 36c2f0fd77 Add test for following a user through the web UI 2018-07-12 10:34:59 +02:00
Gergely Polonkai 5550e5ecf3 Make PyLint happy again 2018-07-12 10:16:04 +02:00
Gergely Polonkai 8e3bcd8ede Create a view that can list all events 2018-07-11 12:57:32 +02:00
Gergely Polonkai 48ffb0d472 [Refactor] Refactor the month view template so it can display all events
…not just the events of the current user.
2018-07-11 12:57:32 +02:00
Gergely Polonkai c3348d3212 Make it possible to edit one’s profile
…even though it’s only one field yet.
2018-07-11 12:57:32 +02:00
Gergely Polonkai 7b935afdad [Bugfix] Fix the event creating code
It tried to associate the event with a user instead of a profile.  It is a regression introduced
by #41
2018-07-11 12:57:32 +02:00
Gergely Polonkai 81d949d708 Add a view for the first steps after the initial login 2018-07-10 16:39:34 +02:00
Gergely Polonkai 41f6c88df1 Make PyLint happy again 2018-07-10 16:39:30 +02:00
Gergely Polonkai 4c65644291 Make it possible to accept invites 2018-07-10 10:58:56 +02:00
Gergely Polonkai 17cca9380f Allow users to invite other users to events 2018-07-09 18:22:13 +02:00
Gergely Polonkai 69f2a0d9cc [Linting] Make PyLint happy with the current code 2018-07-09 18:13:39 +02:00
Gergely Polonkai 6657cc1c91 [Bugfix] Fix user follow
* The link didn’t have a closing tag
* The whole mechanism didn’t work

I probably submitted a previous patch…
2018-07-09 17:17:01 +02:00
Gergely Polonkai 3bd381692b Send a notification when a follow action happens 2018-07-09 14:55:07 +02:00
Gergely Polonkai 379a5b1bb0 Allow users to list their notifications
This is in very early stage, but at least it works.
2018-07-09 14:11:08 +02:00
Gergely Polonkai ba1a660b1a Follow users 2018-07-09 13:13:03 +02:00
Gergely Polonkai 89605538c2 Use the event UUID as the event identifier in URLs 2018-07-09 13:05:26 +02:00
Gergely Polonkai 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
Gergely Polonkai ad53608966 Display profiles 2018-07-09 11:50:36 +02:00
Gergely Polonkai acb7566d1b [Code Cleanup] Remove the unused wraps import from calsocial.__init__ 2018-07-09 10:12:14 +02:00
Gergely Polonkai 295e19198e [Bugfix] Fix the default timezone setting 2018-07-09 10:12:14 +02:00
Gergely Polonkai d14d32767c Make PyLint happy with the models code 2018-07-09 08:15:40 +02:00
Gergely Polonkai 531faa1ce7 Add PyLint as a development dependency
Use `pylint calsocial` to run the static analysis.
2018-07-09 08:15:40 +02:00
Gergely Polonkai 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
Gergely Polonkai 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
Gergely Polonkai 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
Gergely Polonkai ba7c766316 Allow displaying event details 2018-07-03 14:22:03 +02:00
Gergely Polonkai bba44a3c7f Add user settings with time zones 2018-07-03 13:15:17 +02:00
Gergely Polonkai 76bcd21e0a [Refactor] Make the app routes static methods
They don’t use self, so PyLint complains.
2018-07-03 10:07:48 +02:00
Gergely Polonkai 2f66fdb83e [Docs] Add/update docstrings and license text in every file 2018-07-03 09:52:25 +02:00
Gergely Polonkai 4c03829264 Add the previous/next year/month links to the month view 2018-07-02 14:07:38 +02:00
Gergely Polonkai 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
Gergely Polonkai 3a1cdf8f6a [Refactor] Move app-level views into the CalendarSocialApp class 2018-07-02 10:54:02 +02:00
Gergely Polonkai 723cabbe72 [Refactor] Move the application running code from __init__ to __main__ 2018-07-02 10:47:34 +02:00
Gergely Polonkai 7846d9017d [Refactor] Rename the app module to calsocial
Just for clarity
2018-07-02 10:41:32 +02:00