concrexit merge requestshttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests2019-02-10T17:20:33+01:00https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1102Add test to verify sitemap does not throw error status2019-02-10T17:20:33+01:00Sébastiaan VersteegAdd test to verify sitemap does not throw error status### Short description
Add test to verify sitemap does not throw error status### Short description
Add test to verify sitemap does not throw error status21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1122Change partner banner size thumbnail to medium2019-01-09T19:57:02+01:00Sébastiaan VersteegChange partner banner size thumbnail to medium#### Previous behaviour
Steps to reproduce:
1. Check partners on home
2. Bad quality
#### New behaviour
Steps to validate that it works:
1. Check partners on home
2. Bad quality#### Previous behaviour
Steps to reproduce:
1. Check partners on home
2. Bad quality
#### New behaviour
Steps to validate that it works:
1. Check partners on home
2. Bad quality21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1120Fix header on homepage if slider is not used2019-01-09T19:55:34+01:00Sébastiaan VersteegFix header on homepage if slider is not used#### Previous behaviour
Steps to reproduce:
1. Go to homepage, no slider, no image
#### New behaviour
Steps to validate that it works:
1. Go to homepage, has image, no slider#### Previous behaviour
Steps to reproduce:
1. Go to homepage, no slider, no image
#### New behaviour
Steps to validate that it works:
1. Go to homepage, has image, no slider21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1121fixed send_notifcation and admin2019-01-09T19:55:11+01:00Luko van der Maasfixed send_notifcation and admin21Sébastiaan VersteegSébastiaan Versteeghttps://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/1108Exclude groups named admin from nextcloud api2019-01-09T18:52:33+01:00Sébastiaan VersteegExclude groups named admin from nextcloud api21Joren VranckenJoren Vranckenhttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1106Only really show upcoming events in the upcoming events view2019-01-09T18:37:42+01:00Sébastiaan VersteegOnly really show upcoming events in the upcoming events view#### Previous behaviour
Steps to reproduce:
1. Go to the upcoming view instroduced in !1091
2. Notice that it shows events _before_ today
#### New behaviour
Steps to validate that it works:
1. Go to the upcoming view instroduced in !1...#### Previous behaviour
Steps to reproduce:
1. Go to the upcoming view instroduced in !1091
2. Notice that it shows events _before_ today
#### New behaviour
Steps to validate that it works:
1. Go to the upcoming view instroduced in !1091
2. Notice that it only shows events on or after today21Thijs de JongThijs de Jonghttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1113Fix paid status sorting pizzas2019-01-05T19:12:31+01:00Sébastiaan VersteegFix paid status sorting pizzasCloses #800
#### Previous behaviour
Go to pizza order page and try to sort on paid status: not working.
Page like this: https://thalia.nu/pizzas/orders/76/
#### New behaviour
Steps to validate that it works:
Go to pizza ord...Closes #800
#### Previous behaviour
Go to pizza order page and try to sort on paid status: not working.
Page like this: https://thalia.nu/pizzas/orders/76/
#### New behaviour
Steps to validate that it works:
Go to pizza order page and try to sort on paid status: working.21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1114Use thumbnailer everywhere for partners2019-01-05T19:12:02+01:00Sébastiaan VersteegUse thumbnailer everywhere for partnersCloses #801
#### Previous behaviour
Steps to reproduce:
1. No thumbnailer used for partner images
#### New behaviour
Steps to validate that it works:
1. Thumbnailer used for partner imagesCloses #801
#### Previous behaviour
Steps to reproduce:
1. No thumbnailer used for partner images
#### New behaviour
Steps to validate that it works:
1. Thumbnailer used for partner images21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1116Block creation of more mailinglists because they're automatic2019-01-05T19:11:32+01:00Sébastiaan VersteegBlock creation of more mailinglists because they're automaticCloses #794
#### Previous behaviour
Steps to reproduce:
1. Add a mailing list with name 'oldboards'
2. Can do
#### New behaviour
Steps to validate that it works:
1. Add a mailing list with name 'oldboards'
2. Can't doCloses #794
#### Previous behaviour
Steps to reproduce:
1. Add a mailing list with name 'oldboards'
2. Can do
#### New behaviour
Steps to validate that it works:
1. Add a mailing list with name 'oldboards'
2. Can't do21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1115Sort member list always alphabetically2019-01-05T19:11:06+01:00Sébastiaan VersteegSort member list always alphabeticallyCloses #775
#### Previous behaviour
Steps to reproduce:
1. Go to the member list
2. Members are sorted by cohort
#### New behaviour
Steps to validate that it works:
1. Go to the member list
2. Members are sorted by nameCloses #775
#### Previous behaviour
Steps to reproduce:
1. Go to the member list
2. Members are sorted by cohort
#### New behaviour
Steps to validate that it works:
1. Go to the member list
2. Members are sorted by name21Thijs de JongThijs de Jonghttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1117Fix new event saving2019-01-05T19:10:36+01:00Sébastiaan VersteegFix new event saving#### Previous behaviour
Steps to reproduce:
1. Create published event from nothing
2. Enter registration date
3. Crash with <=
#### New behaviour
Steps to validate that it works:
1. Create published event from nothing
2. Enter registr...#### Previous behaviour
Steps to reproduce:
1. Create published event from nothing
2. Enter registration date
3. Crash with <=
#### New behaviour
Steps to validate that it works:
1. Create published event from nothing
2. Enter registration date
3. No crash21Luko van der MaasLuko van der Maashttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1092Fix thabloid filtering column/rows2019-01-03T12:34:54+01:00Sébastiaan VersteegFix thabloid filtering column/rowsCloses #793
#### Previous behaviour
Steps to reproduce:
1. Go to thabloid page
2. Filter thabloids
#### New behaviour
Steps to validate that it works:
1. Go to thabloid page
2. Filter thabloidsCloses #793
#### Previous behaviour
Steps to reproduce:
1. Go to thabloid page
2. Filter thabloids
#### New behaviour
Steps to validate that it works:
1. Go to thabloid page
2. Filter thabloids21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1080Added document support to events2018-12-19T22:46:18+01:00Tom van BusselAdded document support to eventsCloses #257
### Short description
This MR allows adding documents to events, and adds a new `EventDocument` submodel of `Document` which allows committees to create and own documents.
### Steps to use this feature
1. Create a new co...Closes #257
### Short description
This MR allows adding documents to events, and adds a new `EventDocument` submodel of `Document` which allows committees to create and own documents.
### Steps to use this feature
1. Create a new committee
2. Create a new event organized by the committee created in the previous step.
3. Create a event document owned by document.
4. Add the newly created document to the new event.
5. Go to the event page, there should now be a new section with a list of documents.21Sébastiaan VersteegSébastiaan Versteeghttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1111Do not send membership notifications for future members2018-12-19T21:41:13+01:00Tom van BusselDo not send membership notifications for future membersCloses #687
#### Previous behaviour
Steps to reproduce:
1. `./manage.py sendmembershipnotification`
#### New behaviour
Steps to validate that it works:
1. `./manage.py sendmembershipnotification`Closes #687
#### Previous behaviour
Steps to reproduce:
1. `./manage.py sendmembershipnotification`
#### New behaviour
Steps to validate that it works:
1. `./manage.py sendmembershipnotification`21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1060Add language to summary data2018-12-19T21:29:27+01:00Luko van der MaasAdd language to summary dataCloses #541Closes #54121https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1107Add admin group to NextCloud api2018-12-19T21:28:04+01:00Sébastiaan VersteegAdd admin group to NextCloud api### Short description
Add admin group to NextCloud api### Short description
Add admin group to NextCloud api21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1110Added admin serializer for the event registrations2018-12-19T21:27:27+01:00Gijs HendriksenAdded admin serializer for the event registrations### Short description
Added a separate admin serializer for the event registrations, in order to prevent data leaks. Also added an extra field to the events API to indicate whether a user has admin rights for a certain event.
### Steps ...### Short description
Added a separate admin serializer for the event registrations, in order to prevent data leaks. Also added an extra field to the events API to indicate whether a user has admin rights for a certain event.
### Steps to use this feature
1. Go to `/api/v1/events/[pk]/registrations` as normal user.
2. Notice the available information has been limited.
3. Go to `/api/v1/events/[pk]/registrations` as organiser of that event (or superuser).
4. Notice extra information is available.
5. Go to `/api/v1/events/[pk]/`.
6. Notice the `is_admin` field has been added.21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1105Prevent changes to price and registration start after registration has started2018-12-18T15:56:20+01:00Sébastiaan VersteegPrevent changes to price and registration start after registration has startedCloses #788
#### Previous behaviour
Steps to reproduce:
1. Create an event with a price and registration start.
2. Publish it
3. Change price/registration start
4. Possible
#### New behaviour
Steps to validate that it works...Closes #788
#### Previous behaviour
Steps to reproduce:
1. Create an event with a price and registration start.
2. Publish it
3. Change price/registration start
4. Possible
#### New behaviour
Steps to validate that it works:
1. Create an event with a price and registration start.
2. Publish it
3. Change price/registration start
4. Blocked
21https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1104Move prepopulated fields back to original implementation2018-12-18T14:04:39+01:00Sébastiaan VersteegMove prepopulated fields back to original implementation### Short description
Move prepopulated fields back to original implementation.
This was a workaround for Django >=2.1 & <2.1.4### Short description
Move prepopulated fields back to original implementation.
This was a workaround for Django >=2.1 & <2.1.421