concrexit merge requestshttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests2018-03-28T19:36:04+02:00https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/748Post-process Thabloid pages to stitch spreads together2018-03-28T19:36:04+02:00Sébastiaan VersteegPost-process Thabloid pages to stitch spreads togetherCloses #599
### Short description
Post-process Thabloid pages to stitch spreads together
### Steps to use this feature
1. Upload a Thabloid
2. Open it on the websiteCloses #599
### Short description
Post-process Thabloid pages to stitch spreads together
### Steps to use this feature
1. Upload a Thabloid
2. Open it on the website1.15https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/943Resolve "Change default language to English"2018-09-19T20:31:26+02:00Thom WiggersResolve "Change default language to English"/label ~"technical change"
Closes #704
### Short description
Changes the default language (and thus fallback language if your `Accept-Language` choice isn't recognised). /label ~"technical change"
Closes #704
### Short description
Changes the default language (and thus fallback language if your `Accept-Language` choice isn't recognised). 1.18https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1464Setup review hosts in private subnet2020-01-25T17:45:08+01:00Joren VranckenSetup review hosts in private subnetCloses #997
### Description
This merge requests does the following:
- It uses a new version of the EC2 instance template. The new template creates instances in a private subnet. Instances do not get a public IPv4 address anymore...Closes #997
### Description
This merge requests does the following:
- It uses a new version of the EC2 instance template. The new template creates instances in a private subnet. Instances do not get a public IPv4 address anymore.
- It replaces the use of `.reviewhost` domains with `*.public.review.technicie.nl` and `*.private.review.technicie.nl` domains. `*.public.review.technicie.nl` points to `refter` (a server that acts as a NAT gateway from the public subnet to the private subnet). `*.private.review.technicie.nl` points to private IPv4 addresses within the private review subnet.
`refter` has the following `nginx` config to route the HTTP traffic:
```
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name _;
ssl on;
ssl_certificate /etc/letsencrypt/live/public.review.technicie.nl/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/public.review.technicie.nl/privkey.pem;
return 404;
}
server {
listen 443;
listen [::]:443;
server_name "~^(?<mr_slug>[-a-z0-9]{1,63})\.public\.review\.technicie\.nl$";
ssl on;
ssl_certificate /etc/letsencrypt/live/public.review.technicie.nl/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/public.review.technicie.nl/privkey.pem;
location / {
resolver 127.0.0.53;
proxy_pass http://$mr_slug.private.review.technicie.nl$request_uri;
}
}
```
- HTTPS does not seem to be working correctly in the current setup (for me atleast). This MR does work with HTTPS.
After this is merged. The following things should be cleaned up:
- [ ] The IAM users and policies that are not used anymore.
- [ ] The `.reviewhost` hosted zone in Route 53.
- [ ] The old EC2 instance and VPC setup.30https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1488Create dependencies Docker image2020-02-08T22:06:54+01:00Joren VranckenCreate dependencies Docker image### Description
The goal of this MR is to create a new Docker image that contains all the dependencies of Concrexit. This image would be built using a Gitlab CI Pipeline schedule.
With this change the following would happen:
- Every...### Description
The goal of this MR is to create a new Docker image that contains all the dependencies of Concrexit. This image would be built using a Gitlab CI Pipeline schedule.
With this change the following would happen:
- Every day (or on some other schedule) a new Docker image containing only the dependencies (including the development dependencies) is being build.
- The CI jobs run using the dependencies image. This removes the dependency install time from every job.
- `poetry install` is still being run on every job, to make sure dependencies specific to that branch are being installed.
- A Docker image (`concrexit:<sha>`) is being build on every branch, but significantly faster because the dependencies image is used as the base image.
- When a production Docker is being built, a new dependencies image without the development dependencies is build first.
The advantages:
- Faster builds.
- Always build using up to date dependencies ([thaliawww/python-thalia](https://github.com/thaliawww/python-thalia) is not automatically build and updated).
- Better maintainable configuration, because everything is in this repo instead of two repos on two different platforms.
Because a lot of refactoring is being done, this MR also refactors the whole config to be consistent. 31https://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1507WIP: Check for untranslated messages in CI2020-03-10T13:56:05+01:00Jelle Besselingjelle@pingiun.comWIP: Check for untranslated messages in CIThis is a request for comments to see if we actually want to do this. As you can see in the pipeline, it does find bugs, but we need to make the generation of .po files deterministicThis is a request for comments to see if we actually want to do this. As you can see in the pipeline, it does find bugs, but we need to make the generation of .po files deterministichttps://gitlab.science.ru.nl/thalia/concrexit/-/merge_requests/1504WIP: Adding more fixtures2020-03-11T21:10:23+01:00Simcha van CollemWIP: Adding more fixturesCloses #1003
### Short description
The pull request aims to add more fixtures to the local environment for testing purposes. The following fixtures will be added (Please provide input if you think something is missing or shouldn't be a...Closes #1003
### Short description
The pull request aims to add more fixtures to the local environment for testing purposes. The following fixtures will be added (Please provide input if you think something is missing or shouldn't be added):
* [x] Courses
* [ ] Exams, Summaries (not really sure about this one)
* [x] Photos
* [x] Albums
* [ ] Documents
* [x] Payments
* [x] Registrations
### Steps to use this feature
1. Run `./manage.py createfixtures -a`
2. See the new fixtures