concrexit merge requestshttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests2017-12-27T23:16:37+01:00https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/634added a category field and added it to the admin with filtering2017-12-27T23:16:37+01:00Luko van der Maasadded a category field and added it to the admin with filtering~feature
Closes #537
### Short description
Added a few categories for push notification messages:
* General (Default)
* Pizza
* Events
* Newsletter
* Sponsored messages
* Photo's
* Board
### Steps to use this feature
1. In the...~feature
Closes #537
### Short description
Added a few categories for push notification messages:
* General (Default)
* Pizza
* Events
* Newsletter
* Sponsored messages
* Photo's
* Board
### Steps to use this feature
1. In the admin page for push notification messages choose a category.
2. Filter the messages on a certain category1.12Tom van BusselTom van Busselhttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/620Add language field to Device model and make verbose names lowercase2018-03-07T21:48:18+01:00Sébastiaan VersteegAdd language field to Device model and make verbose names lowercasePart of #536
### Short description
Add language field to Device model and make verbose names lowercase
### Steps to use this feature
1. Go to the device model admin
2. Select a device
3. Set the languagePart of #536
### Short description
Add language field to Device model and make verbose names lowercase
### Steps to use this feature
1. Go to the device model admin
2. Select a device
3. Set the language1.12https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/619Fix push notifications admin search2017-12-27T23:18:32+01:00Sébastiaan VersteegFix push notifications admin searchCloses #540
#### Previous behaviour
Steps to reproduce:
1. Go to the device model pushnotifications admin
2. Enter search term
3. BOOM!
#### New behaviour
Steps to validate that it works:
1. Go to the device model pushnotifications a...Closes #540
#### Previous behaviour
Steps to reproduce:
1. Go to the device model pushnotifications admin
2. Enter search term
3. BOOM!
#### New behaviour
Steps to validate that it works:
1. Go to the device model pushnotifications admin
2. Enter search term
3. Shows results1.12https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/744Save Accept-Language in the push notification Devices2018-03-14T17:48:22+01:00Gijs HendriksenSave Accept-Language in the push notification DevicesThis saves the the language of a push notification device by using the `Accept-Language` header sent with an api call to `/api/v1/devices/`.
This way, any device that registers for push notifications can immediately communicate their pr...This saves the the language of a push notification device by using the `Accept-Language` header sent with an api call to `/api/v1/devices/`.
This way, any device that registers for push notifications can immediately communicate their preferred language. If the preferred language is not available, it will fall back to English.
See also:
https://gitlab.science.ru.nl/thalia/ThaliApp/issues/52
https://gitlab.science.ru.nl/thalia/concrexit/merge_requests/6201.14https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/736Resolve "Multilingual push notifications"2018-03-10T12:14:48+01:00Luko van der MaasResolve "Multilingual push notifications"~feature
Closes #536
### Short description
Added support for multilingual messages notifications
So:
* Added multilingual field to model
* Changed send and admin to work together
### Steps to use this feature
1. Create to differ...~feature
Closes #536
### Short description
Added support for multilingual messages notifications
So:
* Added multilingual field to model
* Changed send and admin to work together
### Steps to use this feature
1. Create to different devices with each a different language. (use https://thalia.nu/api/v1/devices/)
2. Create a message with different text for EN and NL and add the user(s) associated with those devices
3. Send the message
4. Watch the notification come in1.14https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/665Resolve "Add filtering to push notifications"2018-03-14T14:31:41+01:00Luko van der MaasResolve "Add filtering to push notifications"~feature
Closes #538
### Short description
- Gave the device an option to choose which categories will be send to that device.
- Added a category field to the message.
- Added an API to change device settings for categories and listi...~feature
Closes #538
### Short description
- Gave the device an option to choose which categories will be send to that device.
- Added a category field to the message.
- Added an API to change device settings for categories and listing them.
### Steps to use this feature
1. Get the list of categories from the API: `/api/v1/device/categories`
2. Change the categories alowed of a device via the API: `/api/v1/device/<pk>`
3. Add a message via the admin and set the category
4. Click on send. Now only the device that have the category of the message set should get the message.1.14https://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/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/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/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.17https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/831Scheduled notifications for events2018-07-05T10:47:24+02:00Sébastiaan VersteegScheduled notifications for eventsPartially solves #559
### Short description
Scheduled notifications for events
### Steps to use this feature
1. Create an event
2. Notice that scheduled messages are created
3. The messages are sent when scheduledPartially solves #559
### Short description
Scheduled notifications for events
### Steps to use this feature
1. Create an event
2. Notice that scheduled messages are created
3. The messages are sent when scheduled1.17https://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/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/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/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/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).29