Commit Graph

98 Commits

Author SHA1 Message Date
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
89dc258a5b [Bugfix] Fix the link of the “Go to your calendar” button on the about page 2018-07-17 12:39:09 +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
43a90a237f Document the EnumField form field type 2018-07-16 13:34:05 +02:00
a763662cd6 Make sure the EnumField gets an Enum subclass as its parameter 2018-07-16 13:34:05 +02:00
41b4b9d7ea Fix the label of the EnumField field type
If there are no translations provided, use the enum name
2018-07-16 13:34:05 +02:00
64c72b1a68 Make PyLint happy 2018-07-16 13:34:05 +02:00
d36817ca44 Make the time zone on the event creation form default to the user’s time zone 2018-07-16 12:37:32 +02:00
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
f2f7ef72dd Update Hungarian translations 2018-07-16 11:12:56 +02:00
808c6bbdde Update translatable strings
Stop using the `_()` function, and use `{% trans %}` tags instead.
2018-07-16 11:09:09 +02:00
496b638694 [Bugfix] Add a missing closing tag to event-details.html 2018-07-16 10:42:10 +02:00
ff304dc64d Create the contents of the welcome page 2018-07-15 07:31:49 +02:00
13e55e7c68 [Cleanup] Style fix in style.css 2018-07-15 07:18:50 +02:00
b54674c703 Semantic UI version 2018-07-13 16:03:33 +02:00
b82cacc665 Make locked profiles display a lock icon instead of the text “locked”
This involves adding [ForkAwesome](https://forkawesome.github.io/) to the dependencies, even
though it is pulled in via a CDN.
2018-07-13 15:33:08 +02:00
d06cfaa02e Add a field macro to the event creation form 2018-07-13 15:33:06 +02:00
a133218906 Add necessary META tags
Charset and viewport
2018-07-13 09:34:56 +02:00
0714474dc6 Move site CSS to a separate file 2018-07-13 08:58:12 +02:00
3308be40ee Display the locked status of profiles on the profile details page 2018-07-12 12:18:51 +02:00
9b01431641 Make it possible for users to lock their profiles on the profile editing page 2018-07-12 12:17:18 +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
61f10f951c Make it possible to lock profiles
Locked profiles cannot be followed
2018-07-12 12:10:53 +02:00
496b5b6c04 [Refactor] Move notification creation to the Profile model 2018-07-12 12:00:36 +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
27c78ff36f Create the Profile.follow() method 2018-07-12 10:34:59 +02:00
5d886a7853 [Bugfix] Fix the FQN of invalid remote profiles (ie. no domain set) 2018-07-12 10:17:56 +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
1a69928241 [Refactor] Create a base settings page
This will make it easier to add new settings pages for e.g. privacy settings, applications,
etc. later.
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
303dd3d082 [Bugfix] Fix the display name on the profile pages 2018-07-11 09:35: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
66659dfe51 Make registration show an error message on username or email reuse 2018-07-10 15:33:57 +02:00
4c65644291 Make it possible to accept invites 2018-07-10 10:58:56 +02:00
321f31b3c6 Add the Response model
This is to store RSVPs.
2018-07-10 10:58:51 +02:00
0fb0ff8c99 Add an ID field to the Invite model
It turned out the multi-field primary key is not a good idea.
2018-07-10 10:31:30 +02:00
582e53038b Add notifications to the menu 2018-07-10 10:31:30 +02:00
0a1701dacd Make actors and items in notifications links 2018-07-10 10:27:08 +02:00
17cca9380f Allow users to invite other users to events 2018-07-09 18:22:13 +02:00
6274543206 Create the Invitation model 2018-07-09 18:18:26 +02:00
69f2a0d9cc [Linting] Make PyLint happy with the current code 2018-07-09 18:13:39 +02:00
9af673666c Rename Profile.fqdn to Profile.fqn
It’s not a domain name, so the `d` is not needed.
2018-07-09 18:07:23 +02:00
efc9b24e2c [Code Cleanup] Remove an unused import 2018-07-09 17:17:01 +02:00