Commit Graph

31 Commits (5d4f29be89616d4fd65efa369140a9c241573fdc)

Author SHA1 Message Date
Christian Merten 461cb098f0
chore(ci): build and release docker image, build documentation (#7)
We expand the tests CI run to first build the main image, build and
deploy the documentation pages, run the test suite and publish the
docker image in the github docker registry.
2 months ago
Christian Merten 605ae3ae72
chore(tests): add executed test methods to coverage report (#5) 2 months ago
Christian Merten 9caa3195ab
chore(CI): add tests action (#1)
We run the test suite on every commit and compute the coverage. The
action succeeds only if the coverage is at 100%.
2 months ago
Christian Merten 5efdbcb63c
chore(*): add various tests 4 months ago
Christian Merten 162b9a46ea
chore(docker/test): add test texts config 4 months ago
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 07bf5ff53f
chore(members): add more tests 7 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 05cb501942
ludwigsburgalpin/tests: add tests for views and admin 11 months ago
Christian Merten e02b0acefe
docker/test: improve setup
`make test` now automatically forces a rebuild. Also passing `keepdb=true` runs
the test suite with `--keepdb` which is useful when repeatedly running tests.
11 months ago
Christian Merten 19eb0953d5
tests: fix, generate html coverage report 12 months ago
Christian Merten f0ed36a0cc
docker/development: add example .env file 1 year ago
Christian Merten 1779180ce1
docker: automatically build documentation and place in static root 1 year ago
Christian Merten ee84866da0
Merge branch 'main' into docs 1 year ago
Christian Merten 7bb89dd2d9
docker/production: serve maintenance page on 502 1 year ago
Christian Merten 121076f9f1
docs: initial setup 1 year ago
Christian Merten bf5ad088cb
forms: fix file size checking 1 year ago
Christian Merten 65f4787d8d
docker: remove version 1 year ago
Christian Merten 25ca237851
Makefile/test: create coverage.xml with correct permissions on host
Code Coverage #### Overview by baseline * **[Overall project (difference to reference job)](https://jenkins.merten.dev/job/gitea/job/kompass/job/jenkins/8//coverage#overview)** * Line Coverage: 71.17% (3123/4388) Output truncated. Details
gitea/kompass/pipeline/head This commit looks good Details
3 years ago
Christian Merten 52012f6679
docker/test: generate coverage report in xml
gitea/kompass/pipeline/head There was a failure building this commit Details
3 years ago
Christian Merten 4e3eb7dd5e
docker: add test setup 3 years ago
Christian Merten 75e989a056
docker/development: grant kompass user privileges on test database 3 years ago
Christian Merten 10cbc56ada
docker/development: install coverage for running tests 3 years 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 6762ea1f2c
docker/development: create and run as user matching executing user on host 3 years ago
Christian Merten acf0fafb00
docker: make development database local folder and add wait for mysql logic 3 years ago
Christian Merten 0ae03ab9dc
docker: restructure, separate production and development setup 3 years ago