Commit Graph

11 Commits (3003bbe67fe92f2952a0ea88b2fc9eb345564baf)

Author SHA1 Message Date
Christian Merten 99f6dfcdfb
feat(docker/production): create superuser in initial setup
We add one step to the master entrypoint script to ensure a
superuser exists with username and password configured from the
environment variables DJANGO_SUPERUSER_USERNAME and
DJANGO_SUPERUSER_PASSWORD. The step does nothing if these variables
are not set or the user already exists.
5 months ago
Christian Merten 8b03deda5b members/admin: adapt LJP application to new format (#121)
Implements the new LJP application format as outlined in #116. In particular:

- The V-32 PDF is replaced by an `.xlsx` sheet.
- The LaTeX generated PDF for the seminar report is replaced by a `.docx` file, generated by `pandoc` from a modified `.tex` file.
- The cost and participants overview from the old PDF can still be generated separately, but is no longer required.

Also adds many fields to `LJPProposal` that are required to generate the full application.
10 months ago
Christian Merten 6ffa2376b8
settings: use toml configuration files
We replace the current environment variable based configuration approach by
reading all local configuration from a `settings.toml` configuration file.
The docker test, development and production setups have been updated to use
the new setup.

The configuration folder also allows overriding every template in a
`config/templates` directory. We use this in a follow-up to move
all local specific templates, e.g. the registration form, into this
config directory.
11 months ago
Christian Merten a2cbae2c8e
media: require staff login for media access 11 months ago
Christian Merten 1779180ce1
docker: automatically build documentation and place in static root 1 year ago
Christian Merten 7bb89dd2d9
docker/production: serve maintenance page on 502 1 year ago
Christian Merten bf5ad088cb
forms: fix file size checking 1 year ago
Christian Merten 069a19ec5f
docker/production: change default static root, enable serving media by nginx 3 years ago
Christian Merten 52e121af97
docker/production: install uwsgi and normal requirements in one step 3 years ago
Christian Merten 9793373456
docker: make media folder persistent, remove old media, ensure existence of memberlists subfolder 3 years ago
Christian Merten 0ae03ab9dc
docker: restructure, separate production and development setup 3 years ago