concrexit issueshttps://gitlab.science.ru.nl/thalia/concrexit/-/issues2019-04-15T11:01:31+02:00https://gitlab.science.ru.nl/thalia/concrexit/-/issues/858Log to disk in production2019-04-15T11:01:31+02:00Joren VranckenLog to disk in production### One-sentence description
<!-- What do you want? -->
In production log to `/concrexit/log/django.log`.
### Motivation
<!-- Why should we care? -->
Extra logging.### One-sentence description
<!-- What do you want? -->
In production log to `/concrexit/log/django.log`.
### Motivation
<!-- Why should we care? -->
Extra logging.24Sébastiaan VersteegSébastiaan Versteeghttps://gitlab.science.ru.nl/thalia/concrexit/-/issues/844Re-implement the way we handle mailinglist aliases2019-09-18T21:05:41+02:00Sébastiaan VersteegRe-implement the way we handle mailinglist aliases<!--
This template is for changes that do not affect the behaviour of the website.
** If you are not in the Technicie, there is a very high chance that you
should not use this template
Examples:
* Changes in CI...<!--
This template is for changes that do not affect the behaviour of the website.
** If you are not in the Technicie, there is a very high chance that you
should not use this template
Examples:
* Changes in CI
* Refactoring of code
* Technicie-facing documentation
-->
### One-sentence description
Re-implement the way we handle mailinglist aliases
### Why?
Decrease workload on server
### Current implementation
All aliases are handled as separate mailinglists and synced like so. If an email gets sent to an alias of a mailinglist the message doesn't end up in the main mailinglist archive.
### Suggested implementation
The alias should redirect incoming email to the main mailinglist without additions or archiving. This should speed up the syncing of mailinglists as well.https://gitlab.science.ru.nl/thalia/concrexit/-/issues/650Use the Mailman REST api to push mailinglist changes2019-09-18T20:57:20+02:00Jelle Besselingjelle@pingiun.comUse the Mailman REST api to push mailinglist changes### One-sentence description
Use the Mailman REST api to push mailinglist changes
### Why?
A new mailinglist sync will make for a more robust implementation
### Current implementation
The current syncmailinglist.py is a hacky script whic...### One-sentence description
Use the Mailman REST api to push mailinglist changes
### Why?
A new mailinglist sync will make for a more robust implementation
### Current implementation
The current syncmailinglist.py is a hacky script which always pulls all the mailing lists from the website. It runs on an interval so it does not always reflect the latest mailinglists.
### Desired implementation
Concrexit knows when a mailing list changes and can thus automatically update Mailman via REST api (which has official python bindings). With Celery this can be done in a seperate task to catch any errors. The new REST api is available in Mailman 3, and as we're currently running Mailman 2 I also created a related issue in https://gitlab.science.ru.nl/thalia/serverconfig/issues/204https://gitlab.science.ru.nl/thalia/concrexit/-/issues/612Migrations fail on production data2018-03-20T14:12:46+01:00Joren VranckenMigrations fail on production dataWhen applying the migrations on production data (on `beta.thalia.nu`) the following error happens:
```
Operations to perform:
Apply all migrations: activemembers, admin, announcements, auth, authtoken, contenttypes, documents, educati...When applying the migrations on production data (on `beta.thalia.nu`) the following error happens:
```
Operations to perform:
Apply all migrations: activemembers, admin, announcements, auth, authtoken, contenttypes, documents, education, events, mailinglists, members, merchandise, newsletters, partners, payments, photos, pizzas, pushnotifications, registrations, sessions, sites, thabloid, thaliawebsite
Running migrations:
Applying documents.0008_0_refactor_documents...Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py", line 85, in _execute
return self.cursor.execute(sql, params)
psycopg2.IntegrityError: column "location_en" contains null values
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "./manage.py", line 19, in <module>
execute_from_command_line(sys.argv)
...
File "/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py", line 85, in _execute
return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: column "location_en" contains null values
```Tom van BusselTom van Busselhttps://gitlab.science.ru.nl/thalia/concrexit/-/issues/226Reimporting photos2019-02-10T17:38:21+01:00Thom WiggersReimporting photos### One-sentence description
Reimporting photos
### Why?
To make it possible for members to get a higher quality image directly from the website. And to fix photos that are currently broken.
### Current implementation
We're currentl...### One-sentence description
Reimporting photos
### Why?
To make it possible for members to get a higher quality image directly from the website. And to fix photos that are currently broken.
### Current implementation
We're currently saving photos with a maximum size of `1920x1080`.
### Desired implementation
Save pictures with a maximum resolution of `3000x3000`. The photos made by the camera (2018 purchased model) are currently 24MP = 6000x4000. Saving with the previously mentioned resolution is still large but also 1/2 of the original size.https://gitlab.science.ru.nl/thalia/concrexit/-/issues/170Einddatums op vacatures2019-05-28T10:52:08+02:00Thom WiggersEinddatums op vacaturesMet een mailtje aan sponsor? @esijben
- [x] Cronjob instellenMet een mailtje aan sponsor? @esijben
- [x] Cronjob instellenhttps://gitlab.science.ru.nl/thalia/concrexit/-/issues/152Drop permissions in postgresql container2018-01-24T07:14:10+01:00Thom WiggersDrop permissions in postgresql containerWe're currently running our SQL as root, which is mostly fine, but to prevent anyone from getting (containered) root access it would be better to get the container to install a user that has fewer permissions.We're currently running our SQL as root, which is mostly fine, but to prevent anyone from getting (containered) root access it would be better to get the container to install a user that has fewer permissions.https://gitlab.science.ru.nl/thalia/concrexit/-/issues/26Outgoing email2018-09-12T19:22:18+02:00Joost Rijneveldjoost@joostrijneveld.nlOutgoing emailIt would be awesome to link outgoing email to Thalia user accounts. This likely requires some advanced SASL magic, though.It would be awesome to link outgoing email to Thalia user accounts. This likely requires some advanced SASL magic, though.