Peter Vacho
d66ce2f450
Add support for deleting notifications
2025-01-04 19:54:04 +01:00
Peter Vacho
0cec3463fb
Fix getting invited events
2025-01-04 19:53:45 +01:00
Peter Vacho
1a24a779d9
Support unmarking notifications as read
2025-01-04 18:11:21 +01:00
Peter Vacho
82e82b9317
Support getting all invited events /w pending ones
2025-01-04 18:11:01 +01:00
Peter Vacho
516bac573a
Return the invitation data after accept/decline
2025-01-04 16:43:34 +01:00
Peter Vacho
49946660c3
Allow filtering invitations by status
2025-01-04 16:42:00 +01:00
Peter Vacho
b5af28c5b1
Type notification's 'data' field as a string
2025-01-04 13:03:49 +01:00
Peter Vacho
165e00e0df
Fix typo incomming -> incoming
2025-01-04 13:03:22 +01:00
Peter Vacho
d0f95140df
rename reminder notif type to message
2025-01-04 12:37:02 +01:00
Peter Vacho
3351499e73
Handle email taken during registration
2025-01-03 17:12:10 +01:00
Peter Vacho
d36db8c04f
Handle duplicate key error on user patch
2025-01-03 17:11:11 +01:00
Peter Vacho
d19e2a5473
Add endpoint for leaving invited events
2025-01-02 15:05:57 +01:00
Peter Vacho
83b55d43ff
Create an invited event when populating db
2025-01-02 14:46:26 +01:00
Peter Vacho
82c9aeccb5
Fix getting invited events with range limits
2025-01-02 14:45:53 +01:00
Peter Vacho
828f4e4aec
Fix user chech in events patch endpoint
2025-01-02 14:31:17 +01:00
Peter Vacho
d24e31af93
Check for category ownership on event creation
2025-01-01 14:48:15 +01:00
Peter Vacho
5f46c7ee7d
Properly delete all user-owned items on user deletion
2025-01-01 14:46:23 +01:00
Peter Vacho
9997054cbe
Fix several issues with event edpoints
2024-12-31 14:49:42 +01:00
Peter Vacho
a276399e59
Handle tokens for deleted users
2024-12-31 14:49:15 +01:00
Peter Vacho
bb943c8e7e
Make marking notifs as read POST, not GET
2024-12-31 01:31:05 +01:00
Peter Vacho
0f820d12e3
Fix some endpoint paths
2024-12-31 01:30:01 +01:00
Peter Vacho
b0bbc7e81a
Add endpoint to get all event categories
2024-12-31 01:26:49 +01:00
Peter Vacho
1a3cca9712
Mention the swagger documentation
2024-12-30 19:02:48 +01:00
Peter Vacho
e47c2a33d7
Rework the project description in readme
2024-12-30 19:01:12 +01:00
Peter Vacho
7191e9ab09
Add a section on setting up MongoDB
2024-12-30 15:35:57 +01:00
Peter Vacho
be77031ddb
Fix wording on docker section intro
2024-12-30 15:33:46 +01:00
Peter Vacho
8bbc3fe4bb
Update readme
2024-12-30 02:57:22 +01:00
Peter Vacho
9d8fa611b1
Add endpoint to quickly get the current user
2024-12-29 23:55:49 +01:00
Peter Vacho
b1d3fa0600
Use datetime for start & end in events
...
Storing date & time individually did originally seem like a better idea,
as it allowed nice indexing of the days which makes for faster lookups,
however, since standalone day & time informations don't carry timezone
data, doing this is problematic.
One option would be to introduce another field for the timezone, but
this just seems to be needlessly to complex, instead, store the start &
end event times as full datetimes. These will still be indexed and
should still result in sufficiently fast lookups.
Additionally, this also adds a compound index for start time & end time,
to improve speeds when searching by both at once.
2024-12-29 23:17:01 +01:00
Peter Vacho
f7a3da7893
Always return color as hex
2024-12-29 22:08:14 +01:00
Peter Vacho
b58aa5f2b1
Add description about query params for invited events
2024-12-29 21:45:50 +01:00
Peter Vacho
e0fb934a7e
Add endpoint to mark notifications as read
2024-12-29 17:43:31 +01:00
Peter Vacho
acd280a243
Include event ids in output
2024-12-29 17:32:59 +01:00
Peter Vacho
b240612ee2
Don't allow specifying attendees on event creation
2024-12-29 17:32:38 +01:00
Peter Vacho
e225151c48
Fix category data missing id & bad owner id
2024-12-29 17:28:59 +01:00
Peter Vacho
187a04e0fc
Add populate_db script for quick debugging
2024-12-29 17:18:28 +01:00
Peter Vacho
fb7f49c04e
Fully explain how to install/run the project
2024-12-29 17:08:26 +01:00
Peter Vacho
d7cac9813b
Add docker
2024-12-29 17:08:13 +01:00
Peter Vacho
8000087896
Make notification data column a string
2024-12-29 15:00:50 +01:00
Peter Vacho
dc18c86057
Fetch links when gettign user notifications
2024-12-29 15:00:25 +01:00
Peter Vacho
6c9afdbdeb
Actually add the user as attendee on accepted invite
2024-12-29 14:59:49 +01:00
Peter Vacho
fcf5a5d64d
Only return pending invitations from incomming
2024-12-29 14:59:29 +01:00
Peter Vacho
b6052eceb9
Fix accept invitation return
2024-12-29 14:59:01 +01:00
Peter Vacho
80d8fd5231
Fix storing the invitation id into the notification
2024-12-29 14:58:36 +01:00
Peter Vacho
63c2bc3b70
Allow getting events you're attending/invited to
2024-12-29 14:57:45 +01:00
Peter Vacho
8665efe415
Send out notifications on invitations
2024-12-29 14:33:50 +01:00
Peter Vacho
6cb50f8cb0
Fix typo in file-name
2024-12-29 14:15:04 +01:00
Peter Vacho
690aa3f336
Add notification endpoints
2024-12-29 14:10:54 +01:00
Peter Vacho
3332c5e98e
Add invitation endpoints
2024-12-28 23:28:57 +01:00
Peter Vacho
ddefbf3abd
Use MissingIdError & UnfetchedLinkError instead of python exceptions
2024-12-28 12:32:51 +01:00