Commit Graph

52 Commits

Author SHA1 Message Date
b9c037f914 Display the instance admin on the welcome page 2018-07-25 21:07:47 +02:00
029d29ffb1 Make it possible to set the instance admin 2018-07-25 21:03:34 +02:00
1e1e085ba4 [Bugfix] Use FLASK_ENV for the config filename instead of ENV 2018-07-25 20:25:12 +02:00
c0c38ccb52 Make it possible to use builtin avatars
Images are from openclipart.org
2018-07-25 08:24:10 +02:00
f8e3c748c0 [Bugfix] Fix jumping to first steps page upon initial login
This was missing from when the first steps view got moved to the accounts blueprint.
2018-07-23 13:04:04 +02:00
387b7d83ac [Bugfix] Fix the environment name for dev mode
It turns out Flask only considers `development` as the development mode; `dev` (used before) is
not working.
2018-07-23 11:53:56 +02:00
8d71edae5e Save sessions in the cache 2018-07-19 15:15:49 +02:00
6c98c9d7ca Add caching functionality via Flask-Caching 2018-07-19 15:15:49 +02:00
bcb7b524f3 Move account related views to a separate blueprint 2018-07-19 15:15:49 +02:00
8d45611e35 Create the RoutedMixin class
It will be used both in the app, and later blueprint classes.
2018-07-17 15:00:56 +02:00
c90b261de3 [Refactor] Refactor the about page
This makes it available to logged in users, too.
2018-07-17 10:06:46 +02:00
372a1f756a Update the welcome page with actual numbers 2018-07-17 09:52:50 +02:00
808c6bbdde Update translatable strings
Stop using the `_()` function, and use `{% trans %}` tags instead.
2018-07-16 11:09:09 +02:00
ff304dc64d Create the contents of the welcome page 2018-07-15 07:31:49 +02:00
b54674c703 Semantic UI version 2018-07-13 16:03:33 +02:00
2b1378310a [Bugfix] Make the profile editing form redirect to the profile editing form after saving
As funny as it says, this provides better UX (and the same technique is used on the other forms.
2018-07-12 12:16:22 +02:00
5639c3f578 Make it possible to accept follow requests 2018-07-12 12:10:53 +02:00
dc0b2954c1 [Refactor] Move invitation code to the Event model 2018-07-12 11:08:13 +02:00
36c2f0fd77 Add test for following a user through the web UI 2018-07-12 10:34:59 +02:00
5550e5ecf3 Make PyLint happy again 2018-07-12 10:16:04 +02:00
8e3bcd8ede Create a view that can list all events 2018-07-11 12:57:32 +02:00
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
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
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
81d949d708 Add a view for the first steps after the initial login 2018-07-10 16:39:34 +02:00
41f6c88df1 Make PyLint happy again 2018-07-10 16:39:30 +02:00
4c65644291 Make it possible to accept invites 2018-07-10 10:58:56 +02:00
17cca9380f Allow users to invite other users to events 2018-07-09 18:22:13 +02:00
69f2a0d9cc [Linting] Make PyLint happy with the current code 2018-07-09 18:13:39 +02:00
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
3bd381692b Send a notification when a follow action happens 2018-07-09 14:55:07 +02:00
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
ba1a660b1a Follow users 2018-07-09 13:13:03 +02:00
89605538c2 Use the event UUID as the event identifier in URLs 2018-07-09 13:05:26 +02:00
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