concrexit merge requestshttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests2019-10-24T19:17:12+02:00https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1378Add sent message overview to the push notifications API2019-10-24T19:17:12+02:00Gijs HendriksenAdd sent message overview to the push notifications APINeeded for ThaliApp#99
### Short description
Adds a new route to the push notifications API, where one can view all push messages sent to them.
### Steps to use this feature
1. Head to `/api/v1/notifications/`.
2. See list o...Needed for ThaliApp#99
### Short description
Adds a new route to the push notifications API, where one can view all push messages sent to them.
### Steps to use this feature
1. Head to `/api/v1/notifications/`.
2. See list of messages sent through push notifications.
3. View one notification at `/api/v1/notifications/[pk]/` (even though it does not provide any more information).29https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1336Push notifications don't show content only title twice2019-08-31T12:57:12+02:00Luko van der MaasPush notifications don't show content only title twiceMessage sent from event now has correct body instead of the title
Closes #906Message sent from event now has correct body instead of the title
Closes #90626https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1311Closes #887, photo url notification is no longer relative2019-08-31T12:53:44+02:00Sébastiaan VersteegCloses #887, photo url notification is no longer relativeCloses #887
#### Previous behaviour
Steps to reproduce:
1. Photo url does not contain the domain name
#### New behaviour
Steps to validate that it works:
1. Photo url contains the domain nameCloses #887
#### Previous behaviour
Steps to reproduce:
1. Photo url does not contain the domain name
#### New behaviour
Steps to validate that it works:
1. Photo url contains the domain name26https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1301Fix in notification type description2019-06-27T13:47:35+02:00Jelle Besselingjelle@pingiun.comFix in notification type descriptionCloses #894Closes #89425https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1279Add notification title+body to message data2019-06-05T19:06:17+02:00Sébastiaan VersteegAdd notification title+body to message data### Short description
Add notification title+body to message data
### Steps to use this feature
https://gitlab.science.ru.nl/thalia/ThaliApp/merge_requests/270### Short description
Add notification title+body to message data
### Steps to use this feature
https://gitlab.science.ru.nl/thalia/ThaliApp/merge_requests/27024https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1271Fix event push notifications form redirect and field labels2019-05-28T12:31:48+02:00Sébastiaan VersteegFix event push notifications form redirect and field labelsCloses https://sentry.thalia.nu/sentry/concrexit-beta/issues/541/
#### Previous behaviour
Steps to reproduce:
1. Create an event push notification
2. Send (url is required + crash on redirect)
#### New behaviour
Steps to validate that...Closes https://sentry.thalia.nu/sentry/concrexit-beta/issues/541/
#### Previous behaviour
Steps to reproduce:
1. Create an event push notification
2. Send (url is required + crash on redirect)
#### New behaviour
Steps to validate that it works:
1. Create an event push notification
2. Send (url not required, no crash)24Luko van der MaasLuko van der Maashttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1211Resolve "Automatic notification after uploading a new photo album"2019-05-22T23:11:47+02:00Tobias van der WerffResolve "Automatic notification after uploading a new photo album"Closes #777
### Short description
A notification will be sent one hour after a new album has been uploaded.
### Steps to use this feature
1. Upload a new photo album
2. After one hour, a push notification should be sentCloses #777
### Short description
A notification will be sent one hour after a new album has been uploaded.
### Steps to use this feature
1. Upload a new photo album
2. After one hour, a push notification should be sent24https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/920Scheduled notifications for pizza events2019-01-09T18:55:56+01:00Luko van der MaasScheduled notifications for pizza eventsSolves #776
### Short description
Scheduled notifications for pizza events
### Steps to use this feature
1. Create an pizza event
2. Notice that scheduled messages are created
3. The messages are sent when scheduledSolves #776
### Short description
Scheduled notifications for pizza events
### Steps to use this feature
1. Create an pizza event
2. Notice that scheduled messages are created
3. The messages are sent when scheduled21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/980Add state database to celery2018-10-05T18:39:07+02:00Joren VranckenAdd state database to celery### Short description
This allows `celery` to save data that should be persistent.
Please also see serverconfig!357### Short description
This allows `celery` to save data that should be persistent.
Please also see serverconfig!3571.18https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/975Add push notification category descriptions to the api2018-10-03T23:13:37+02:00Gijs HendriksenAdd push notification category descriptions to the api### Short description
Add push notification category descriptions to the API
### Steps to use this feature
1. Go to `http://localhost:8000/api/v1/devices/categories/`.
2. Notice it now contains the category descriptions.### Short description
Add push notification category descriptions to the API
### Steps to use this feature
1. Go to `http://localhost:8000/api/v1/devices/categories/`.
2. Notice it now contains the category descriptions.1.18Sébastiaan VersteegSébastiaan Versteeghttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/942Resolve "Add descriptions to push notification categories"2018-10-03T21:30:46+02:00Luko van der MaasResolve "Add descriptions to push notification categories"Closes #707Closes #7071.18https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/946Make url for push messages non-required2018-09-26T20:28:21+02:00Sébastiaan VersteegMake url for push messages non-requiredAs requestedAs requested1.18Gijs HendriksenGijs Hendriksenhttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/945Fix push notifications categories texts2018-09-26T20:28:21+02:00Sébastiaan VersteegFix push notifications categories textsTyposTypos1.18Luko van der MaasLuko van der Maashttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/802Add deeplinking functionality to push notifications2018-09-19T20:19:17+02:00Luko van der MaasAdd deeplinking functionality to push notifications~feature
Closes #636
### Short description
When adding a push notification you can specify an url and this will be send as an click action to the app
### Steps to use this feature
1. create a push notification
2. add a url...~feature
Closes #636
### Short description
When adding a push notification you can specify an url and this will be send as an click action to the app
### Steps to use this feature
1. create a push notification
2. add a url
3. send the message
1.18https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/860Resolve "Fix names of categories of pushnotifications"2018-08-28T16:11:06+02:00Luko van der MaasResolve "Fix names of categories of pushnotifications"/label ~bug
Closes #663
#### Previous behaviour
Steps to reproduce:
1. View names of categories of push notifications
2. They are all lowercase
#### New behaviour
Steps to validate that it works:
1. View names of catego.../label ~bug
Closes #663
#### Previous behaviour
Steps to reproduce:
1. View names of categories of push notifications
2. They are all lowercase
#### New behaviour
Steps to validate that it works:
1. View names of categories of push notifications
2. They are all title case
1.17https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/912Rename the notification category for partners2018-08-27T17:34:35+02:00Sébastiaan VersteegRename the notification category for partners### Short description
Rename the notification category for partners### Short description
Rename the notification category for partners1.17Joren VranckenJoren Vranckenhttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/903Replace 'sponsor' with 'partner'2018-08-27T17:30:35+02:00Joren VranckenReplace 'sponsor' with 'partner'### Short description
Last year I (as commissionair of external affairs) started using "partner" instead of "sponsor" because it is a more professional term.### Short description
Last year I (as commissionair of external affairs) started using "partner" instead of "sponsor" because it is a more professional term.1.17https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/862Fix typo in push notification devices viewset2018-07-11T21:24:15+02:00Gijs HendriksenFix typo in push notification devices viewset#### Previous behaviour
Website crashes when updating push notifications categories.
Steps to reproduce:
1. Send a POST request containing `receive_category` to `https://thalia.nu/api/v1/devices/`.
2. Receive 500 error.
#### ...#### Previous behaviour
Website crashes when updating push notifications categories.
Steps to reproduce:
1. Send a POST request containing `receive_category` to `https://thalia.nu/api/v1/devices/`.
2. Receive 500 error.
#### New behaviour
Website saves new preferences for push notifications categories.
Steps to validate that it works:
1. Send a POST request containing `receive_category` to `https://thalia.nu/api/v1/devices/`.
2. Don't receive 500 error.1.16.1Sébastiaan VersteegSébastiaan Versteeghttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/847Do not schedule or delete messages for unpublished events2018-07-09T09:39:41+02:00Sébastiaan VersteegDo not schedule or delete messages for unpublished eventsCloses #655 and #656
#### Previous behaviour
Steps to reproduce:
1. Create event (unpublished)
2. See that the message is scheduled
--
1. Create event
2. Let it send
3. Change event
4. Notice that the message is still t...Closes #655 and #656
#### Previous behaviour
Steps to reproduce:
1. Create event (unpublished)
2. See that the message is scheduled
--
1. Create event
2. Let it send
3. Change event
4. Notice that the message is still there, marked as sent
#### New behaviour
Steps to validate that it works:
1. Create event (unpublished)
2. No scheduled messages
--
1. Create event
2. Let it send
3. Change event
4. Notice that the message is still there, but a new one was added as well1.17https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/846Enable the add permission for scheduled messages2018-07-09T09:38:10+02:00Sébastiaan VersteegEnable the add permission for scheduled messagesThis should not have been disabled.This should not have been disabled.1.17