Commit graph

110 commits

Author SHA1 Message Date
Víðir Valberg Guðmundsson ba7fabf5c7 Add ADMINS settings. 2021-03-03 15:18:57 +01:00
Víðir Valberg Guðmundsson 79f8903c2c Add email configuration. 2021-03-03 14:58:46 +01:00
Víðir Valberg Guðmundsson 5b7b95d426 Add a link to password reset view. Fixup that template. 2021-03-03 10:36:18 +01:00
Víðir Valberg Guðmundsson e45f83838b Fix static file integrity. 2021-03-01 23:20:59 +01:00
Víðir Valberg Guðmundsson 55fd4cdd6c Expose port 8000 in the image. 2021-03-01 21:44:57 +01:00
Víðir Valberg Guðmundsson 72c4020d96 Add whitenoise. 2021-03-01 20:34:51 +01:00
Víðir Valberg Guðmundsson cceaf25c6b Uvicorn has --app-dir, which might do the trick. 2021-03-01 17:49:37 +01:00
Víðir Valberg Guðmundsson cbdbd7f7cf Set WORKDIR to /app/src before setting CMD. 2021-03-01 17:35:43 +01:00
Víðir Valberg Guðmundsson fb00df7274 Fix docker CMD. Add asgi.py. Fix static root. 2021-03-01 17:13:15 +01:00
Víðir Valberg Guðmundsson ea3039a279 Fix entrypoint paths. Add uvicorn. Set correct port. 2021-03-01 14:13:19 +01:00
Víðir Valberg Guðmundsson ace2e46dd4 Add drone config. 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: data.coop/membersystem#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: data.coop/membersystem#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: data.coop/membersystem#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: data.coop/membersystem#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
Víðir Valberg Guðmundsson a08d6e044b Use poetry to control the projects dependencies. Also setup black for pre-commit. 2019-09-01 00:25:25 +02:00
benjaoming 90cbd74212 Merge branch 'master' of benjaoming/membersystem into master 2019-08-31 18:56:19 +00:00
Benjamin Bach 6dc65bbfb7 Basic User management skeleton 2019-08-31 20:46:49 +02:00
Benjamin Bach 5fb87dcf84 Bump to Django 2.2 2019-08-31 19:44:02 +02:00
benjaoming c429f922b2 Merge branch 'master' of benjaoming/membersystem into master 2019-08-31 17:42:30 +00:00
Benjamin Bach 35d8438d66 Renamed membersystem => project (because of tab completion nuisance) and profiles => users 2019-08-31 19:41:35 +02:00
benjaoming 2181f818b1 Merge branch 'membership_stuff' of benjaoming/membersystem into master 2019-08-31 16:55:27 +00:00
Benjamin Bach 66ca59be35 Merge branch 'master' into membership_stuff 2019-08-31 18:54:50 +02:00
Benjamin Bach a22c2587dd Remove allauth 2019-08-31 18:52:12 +02:00
benjaoming 68094b8597 Merge branch 'fix/small-error-in-manage-py' of data.coop/membersystem into master 2018-11-02 14:28:43 +00:00
Benjamin Bach 056ca430ef First pytest stuff 2018-06-24 01:06:35 +02:00
Víðir Valberg Guðmundsson 4c56d7db67 Remove some faulty stray "code". 2018-06-23 23:43:32 +02:00
Benjamin Bach a8321decde Adding accounting and membership apps + pre-commit linting stuff 2018-06-23 23:41:58 +02:00
benjaoming 2f1cc75834 Merge branch 'feature/super-nice-frontend' of data.coop/membersystem into master 2018-06-23 19:28:00 +00:00
Benjamin Bach f46b031a8d django-money dependency 2018-06-23 20:54:37 +02:00
Benjamin Bach 36a4c901a8 Adding pre-commit hooks 2018-06-23 20:54:24 +02:00
Mikkel Munch Mortensen 567babc359
Add a base template and some exquisite styling
Wow!
2018-06-23 20:20:31 +02:00
Mikkel Munch Mortensen 7f41634987
Add a context processor that includes current site 2018-06-23 20:19:20 +02:00
Mikkel Munch Mortensen c8ad58f086
Add django extensions to installed apps 2018-06-23 16:17:41 +02:00
Mikkel Munch Mortensen dfdf065a87
Add django-extensions 2018-06-23 16:09:43 +02:00