Commit graph

130 commits

Author SHA1 Message Date
Víðir Valberg Guðmundsson 17cd950a4e Clean .drone.yml (aka trigger build).
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-24 23:42:44 +01:00
Víðir Valberg Guðmundsson 3e8c773826 Forgot the bootstrap icon css.
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 21:36:31 +01:00
Víðir Valberg Guðmundsson c946cabd39 Include entrypoint.sh in the docker image.
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 17:12:06 +01:00
Víðir Valberg Guðmundsson 3ba2038d2c Upgrade bootstrap to 5.2.3.
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 17:02:05 +01:00
Víðir Valberg Guðmundsson 4c5803545d Switch out poetry with pip-tools.
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 20:51:09 +01:00
Víðir Valberg Guðmundsson 3dde14614f Fixes and cleanup.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-09 19:29:42 +02:00
Víðir Valberg Guðmundsson 4c5d0e30ab Poetry lock. Bump django to 4.1.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-09 19:17:29 +02:00
Víðir Valberg Guðmundsson f8688de23a Debug toolbar is only available when DEBUG is True.
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-09 16:33:56 +02:00
Víðir Valberg Guðmundsson 5d3f924873 Get build args from env.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-09 16:26:31 +02:00
Víðir Valberg Guðmundsson a0afe20c54 Set BUILD environment.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-09 15:50:38 +02:00
Víðir Valberg Guðmundsson 916e3694c6 Get CSRF_TRUSTED_ORIGINS from env.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-09 14:58:51 +02:00
Víðir Valberg Guðmundsson a8b37005ed Have a latest tag.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-09 14:46:05 +02:00
Víðir Valberg Guðmundsson 1c2854c517 Pre-commit update and run.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-09 14:39:02 +02:00
valberg 4b999e886e Update '.drone.yml' 2022-08-09 11:53:39 +00:00
Víðir Valberg Guðmundsson 0278b2b48e Upgrade django, python, etc.
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-13 20:44:09 +01:00
valberg 50e2ba642f Merge pull request 'Refactoring things and doing stuff in a MVP way.' (#15) from vidir_refactor into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #15
2021-03-12 16:20:50 +00:00
Víðir Valberg Guðmundsson 16db4ee143 Setting base template for password reset flow. Some translations.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-12 17:16:13 +01:00
Víðir Valberg Guðmundsson 141019ed75 Add DEFAULT_FROM_EMAIL.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-03 18:06:36 +01:00
Víðir Valberg Guðmundsson f585299388 It should be a touple.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-03 17:46:19 +01:00
Víðir Valberg Guðmundsson e725729bb3 Fix admins settings.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-03 17:32:34 +01:00
Víðir Valberg Guðmundsson ba7fabf5c7 Add ADMINS settings.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-03 15:18:57 +01:00
Víðir Valberg Guðmundsson 79f8903c2c Add email configuration.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-03 14:58:46 +01:00
Víðir Valberg Guðmundsson 5b7b95d426 Add a link to password reset view. Fixup that template.
Some checks are pending
continuous-integration/drone/push Build is running
continuous-integration/drone/pr Build is passing
2021-03-03 10:36:18 +01:00
Víðir Valberg Guðmundsson e45f83838b Fix static file integrity.
Some checks are pending
continuous-integration/drone/push Build is running
continuous-integration/drone/pr Build is passing
2021-03-01 23:20:59 +01:00
Víðir Valberg Guðmundsson 55fd4cdd6c Expose port 8000 in the image.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-01 21:44:57 +01:00
Víðir Valberg Guðmundsson 72c4020d96 Add whitenoise.
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build encountered an error
2021-03-01 20:34:51 +01:00
Víðir Valberg Guðmundsson cceaf25c6b Uvicorn has --app-dir, which might do the trick.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-01 17:49:37 +01:00
Víðir Valberg Guðmundsson cbdbd7f7cf Set WORKDIR to /app/src before setting CMD.
Some checks are pending
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is running
2021-03-01 17:35:43 +01:00
Víðir Valberg Guðmundsson fb00df7274 Fix docker CMD. Add asgi.py. Fix static root.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-01 17:13:15 +01:00
Víðir Valberg Guðmundsson ea3039a279 Fix entrypoint paths. Add uvicorn. Set correct port.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-01 14:13:19 +01:00
Víðir Valberg Guðmundsson ace2e46dd4 Add drone config.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-01 13:46:16 +01:00
Víðir Valberg Guðmundsson f35a31f259 Enable buildkit when building. 2021-03-01 00:20:59 +01:00
Víðir Valberg Guðmundsson 0bad2a599c Update readme. Make Makefile more nice. 2021-03-01 00:15:01 +01:00
Víðir Valberg Guðmundsson cf33b95201 Getting ready for some translations. 2021-02-28 23:55:01 +01:00
Víðir Valberg Guðmundsson 76478c5ae3 Ran pre-commit hooks. 2021-02-28 23:03:32 +01:00
Víðir Valberg Guðmundsson e41eae340b Revamp Membership models to be very simple and do some view/template work for them. 2021-02-28 23:01:24 +01:00
Víðir Valberg Guðmundsson 85e2fd76c0 Some template work. 2021-02-28 12:41:10 +01:00
Víðir Valberg Guðmundsson aac3de1bb3 Starting allauth template work. 2021-02-27 23:18:27 +01:00
Víðir Valberg Guðmundsson 4c75991fcb Refactoring things and doing stuff WIP way. 2021-02-27 21:07:48 +01:00
valberg 2be2755cb6 Merge pull request 'docker: Add entrypoint.sh' (#14) from laumann/membersystem:docker-entrypoint into master
Reviewed-on: #14
2021-02-10 06:45:45 +00:00
valberg ecea9c7b3f Merge pull request 'Add psycopg2 as dependency' (#13) from laumann/membersystem:add-psycopg2-dep into master
Reviewed-on: #13
2021-02-10 06:43:59 +00:00
Thomas Jespersen 6857bc69b5
docker: Add entrypoint.sh
Apparently I forgot to add this file in previous commits - the initial
shape is provided by @valberg, I added some defaults for
POSTGRES_{HOST,PORT}.
2021-02-09 23:01:15 +01:00
Thomas Jespersen 10f23d1ad8
Add psycopg2 as dependency 2021-02-09 22:36:34 +01:00
valberg 9093b393f1 Merge pull request 'Add initial Dockerfile' (#12) from laumann/membersystem:dockerize into master
Reviewed-on: #12
2021-02-09 21:10:48 +00:00
Thomas Jespersen c6eb8d884b Add initial Dockerfile
Based on python3.9-slim-buster.
2021-02-09 22:04:02 +01:00
valberg ca5f2d41ba Merge pull request 'Upgrade various packages to most recent versions' (#11) from feature/package-upgrades into master
Reviewed-on: #11
2021-01-26 19:44:33 +00:00
Mikkel Munch Mortensen 1a66dbff3a
Upgrade various packages to most recent versions
* Django
 * django-money
 * pre-commit

Also fix a few minor issues:
 * Front page was broken, as `render_to_response` is no longer in
   Django, but replaced by `render`.
 * Base template had a link to a "change e-mail" page that no longer
   exists. Linking to "change password" instead. At least for now.
2021-01-26 20:37:50 +01:00
benjaoming 5acff9e382 Merge branch 'use_poetry' of data.coop/membersystem into master 2019-09-02 11:58:18 +00:00
Víðir Valberg Guðmundsson 07170082e3 Remove setup.cfg, move relevant flake8 arguments into pre-commit config. Update pre-commit hooks. 2019-09-01 09:45:45 +02:00
Víðir Valberg Guðmundsson c4596c25c6 Run linting (aka the blackening) 2019-09-01 00:27:36 +02:00