Commit graph

1258 commits

Author SHA1 Message Date
Thomas Steen Rasmussen 9d61e554c0 partially revert e652a8156c and readd time.sleep(1) delay between operations, irc3 flood settings do not appear to prevent the bot from flooding itself off :( 2020-02-12 17:45:55 +01:00
Thomas Steen Rasmussen 00af109e2f
add flake8 and isort to pre-commit config, make flake8 and isort happy (#441)
* add flake8 to pre-commit config, and fixup many things to make flake8 happy

* add isort and sort all imports, add to pre-commit and requirements
2020-02-12 13:10:41 +01:00
Víðir Valberg Guðmundsson 8441620376
Merge pull request #437 from bornhack/dependabot/pip/src/requirements/django-debug-toolbar-2.2
Bump django-debug-toolbar from 2.1 to 2.2 in /src/requirements
2020-02-11 06:56:31 +01:00
dependabot-preview[bot] 9a48368c3a
Bump django-extensions from 2.2.6 to 2.2.8 in /src/requirements
Bumps [django-extensions](https://github.com/django-extensions/django-extensions) from 2.2.6 to 2.2.8.
- [Release notes](https://github.com/django-extensions/django-extensions/releases)
- [Changelog](https://github.com/django-extensions/django-extensions/blob/master/CHANGELOG.md)
- [Commits](https://github.com/django-extensions/django-extensions/compare/2.2.6...2.2.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-11 05:27:18 +00:00
dependabot-preview[bot] 0399ffbe20 Bump graphene-django from 2.8.0 to 2.8.1 in /src/requirements
Bumps [graphene-django](https://github.com/graphql-python/graphene-django) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/graphql-python/graphene-django/releases)
- [Commits](https://github.com/graphql-python/graphene-django/compare/v2.8.0...v2.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 05:34:06 +00:00
Thomas Steen Rasmussen 8b049da938 forgot to add pre-commit to requirements 2020-02-07 18:53:33 +01:00
dependabot-preview[bot] 701ffc71ad
Bump django-debug-toolbar from 2.1 to 2.2 in /src/requirements
Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 2.1 to 2.2.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases)
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/master/docs/changes.rst)
- [Commits](https://github.com/jazzband/django-debug-toolbar/compare/2.1...2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-07 17:53:22 +00:00
Thomas Steen Rasmussen 3d790c33cb add pre-commit config for auto black 2020-02-07 18:51:50 +01:00
Thomas Steen Rasmussen 377a77143c black everything, working on #355 2020-02-07 18:46:34 +01:00
Víðir Valberg Guðmundsson 20f380dfd6
Planked code form betterforms. (Aka django 3.0 upgrade) (#436)
* Bump django from 2.2.8 to 3.0.2 in /src/requirements

Bumps [django](https://github.com/django/django) from 2.2.8 to 3.0.2.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/2.2.8...3.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Planked code form betterforms.

* Remove betterform from requirements.

* Try with master of django-allauth-2fa.

* Use static templatetag library, staticfiles is gone.

* Use newly released django-allauth-2fa 0.8 instead of git url.

* Django 3.0.3 is out.

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-02-07 18:21:34 +01:00
Víðir Valberg Guðmundsson baf43f0e22
Upgrade to django 2.2.9 2020-02-01 05:24:20 +01:00
Víðir Valberg Guðmundsson 3bf3cf03af
Merge pull request #434 from bornhack/dependabot/pip/src/requirements/ipython-7.12.0
Bump ipython from 7.10.2 to 7.12.0 in /src/requirements
2020-02-01 05:21:51 +01:00
Víðir Valberg Guðmundsson 42752b38af
Merge pull request #428 from bornhack/dependabot/pip/src/requirements/django-extensions-2.2.6
Bump django-extensions from 2.2.5 to 2.2.6 in /src/requirements
2020-02-01 05:21:29 +01:00
Víðir Valberg Guðmundsson c20cfdb863
Merge pull request #432 from bornhack/dependabot/pip/src/requirements/wheel-0.34.2
Bump wheel from 0.33.6 to 0.34.2 in /src/requirements
2020-02-01 05:20:57 +01:00
Vidir Valberg Gudmundsson c9f302e170 django.contrib.staticfiles.templatetags.staticfiles.static is gone in django 3 2020-02-01 05:09:35 +01:00
dependabot-preview[bot] 261cba6689
Bump ipython from 7.10.2 to 7.12.0 in /src/requirements
Bumps [ipython](https://github.com/ipython/ipython) from 7.10.2 to 7.12.0.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](https://github.com/ipython/ipython/compare/7.10.2...7.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-01 04:02:55 +00:00
dependabot-preview[bot] eec93dcb6d
Bump django-extensions from 2.2.5 to 2.2.6 in /src/requirements
Bumps [django-extensions](https://github.com/django-extensions/django-extensions) from 2.2.5 to 2.2.6.
- [Release notes](https://github.com/django-extensions/django-extensions/releases)
- [Changelog](https://github.com/django-extensions/django-extensions/blob/master/CHANGELOG.md)
- [Commits](https://github.com/django-extensions/django-extensions/compare/2.2.5...2.2.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-01 04:02:18 +00:00
Víðir Valberg Guðmundsson 3f3f6ae909
Merge pull request #429 from bornhack/dependabot/pip/src/requirements/irc3-1.1.5
Bump irc3 from 1.1.4 to 1.1.5 in /src/requirements
2020-02-01 05:01:44 +01:00
Víðir Valberg Guðmundsson 75005c97a8
Merge pull request #426 from bornhack/dependabot/pip/src/requirements/django-cors-headers-3.2.1
Bump django-cors-headers from 3.2.0 to 3.2.1 in /src/requirements
2020-02-01 05:01:08 +01:00
Vidir Valberg Gudmundsson ab2f7bc831 Python 2 is sooo last decade. 2020-02-01 04:58:56 +01:00
dependabot-preview[bot] 271f5e3ed9
Bump django-cors-headers from 3.2.0 to 3.2.1 in /src/requirements
Bumps [django-cors-headers](https://github.com/adamchainz/django-cors-headers) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/adamchainz/django-cors-headers/releases)
- [Changelog](https://github.com/adamchainz/django-cors-headers/blob/master/HISTORY.rst)
- [Commits](https://github.com/adamchainz/django-cors-headers/compare/3.2.0...3.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-01 03:48:29 +00:00
dependabot-preview[bot] 7b8e64be72
Bump graphene-django from 2.4.0 to 2.8.0 in /src/requirements
Bumps [graphene-django](https://github.com/graphql-python/graphene-django) from 2.4.0 to 2.8.0.
- [Release notes](https://github.com/graphql-python/graphene-django/releases)
- [Commits](https://github.com/graphql-python/graphene-django/compare/v2.4.0...v2.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-01 03:48:28 +00:00
Víðir Valberg Guðmundsson 52d57136e3
Merge pull request #430 from bornhack/dependabot/pip/src/requirements/django-wkhtmltopdf-3.3.0
Bump django-wkhtmltopdf from 3.2.0 to 3.3.0 in /src/requirements
2020-02-01 04:47:17 +01:00
Thomas Flummer 7e6dc6a675 New logos for 2020 and 2021, new favicon package
includes smaller tweaks to size of small logo in top menu to make it consistant
2020-02-01 00:42:19 +01:00
Thomas Steen Rasmussen 087db0ea81 add new logo to website 2020-01-31 18:55:21 +01:00
dependabot-preview[bot] 77060e0945
Bump wheel from 0.33.6 to 0.34.2 in /src/requirements
Bumps [wheel](https://github.com/pypa/wheel) from 0.33.6 to 0.34.2.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/master/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.33.6...0.34.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-31 05:29:57 +00:00
dependabot-preview[bot] c9ba9e365a
Bump django-wkhtmltopdf from 3.2.0 to 3.3.0 in /src/requirements
Bumps [django-wkhtmltopdf](https://github.com/incuna/django-wkhtmltopdf) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/incuna/django-wkhtmltopdf/releases)
- [Changelog](https://github.com/incuna/django-wkhtmltopdf/blob/master/CHANGELOG.md)
- [Commits](https://github.com/incuna/django-wkhtmltopdf/compare/v3.2.0...v3.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 05:36:00 +00:00
dependabot-preview[bot] e7d81dc161
Bump irc3 from 1.1.4 to 1.1.5 in /src/requirements
Bumps [irc3](https://github.com/gawel/irc3) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/gawel/irc3/releases)
- [Changelog](https://github.com/gawel/irc3/blob/master/CHANGES.rst)
- [Commits](https://github.com/gawel/irc3/compare/1.1.4...1.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 05:35:36 +00:00
Víðir Valberg Guðmundsson a475e3d7d5
Merge pull request #416 from bornhack/dependabot/pip/src/requirements/channels-2.4.0
Bump channels from 2.3.1 to 2.4.0 in /src/requirements
2019-12-25 21:47:17 +01:00
Víðir Valberg Guðmundsson a6aefed6d8
Merge pull request #415 from bornhack/dependabot/pip/src/requirements/django-debug-toolbar-2.1
Bump django-debug-toolbar from 2.0 to 2.1 in /src/requirements
2019-12-25 21:38:02 +01:00
dependabot-preview[bot] 1185b29d87
Bump channels from 2.3.1 to 2.4.0 in /src/requirements
Bumps [channels](https://github.com/django/channels) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/django/channels/releases)
- [Changelog](https://github.com/django/channels/blob/master/CHANGELOG.txt)
- [Commits](https://github.com/django/channels/compare/2.3.1...2.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-25 18:44:26 +00:00
dependabot-preview[bot] 28d6ede36e
Bump django-debug-toolbar from 2.0 to 2.1 in /src/requirements
Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 2.0 to 2.1.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases)
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/master/docs/changes.rst)
- [Commits](https://github.com/jazzband/django-debug-toolbar/compare/2.0...2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-25 18:44:08 +00:00
dependabot-preview[bot] d8db990d0f
Bump django-bootstrap3 from 12.0.1 to 12.0.3 in /src/requirements
Bumps [django-bootstrap3](https://github.com/dyve/django-bootstrap3) from 12.0.1 to 12.0.3.
- [Release notes](https://github.com/dyve/django-bootstrap3/releases)
- [Changelog](https://github.com/dyve/django-bootstrap3/blob/master/HISTORY.rst)
- [Commits](https://github.com/dyve/django-bootstrap3/compare/v12.0.1...v12.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-25 18:43:40 +00:00
Vidir Valberg Gudmundsson 6c9082c6d8 Fix 2fa setup. 2019-12-25 19:01:12 +01:00
Vidir Valberg Gudmundsson 8cda197114 Revert "This should work."
This reverts commit c2b13c7b7d.

(Ie. it did not work...)
2019-12-25 19:00:39 +01:00
Vidir Valberg Gudmundsson c2b13c7b7d This should work. 2019-12-17 14:03:03 +01:00
Thomas Steen Rasmussen db19dbc858 graphene django does not support 3.0 yet 2019-12-17 04:00:15 +01:00
Thomas Steen Rasmussen 4e62af2082 update all the things 2019-12-17 03:54:40 +01:00
Thomas Steen Rasmussen 0cb7b688fa sort products by category weight on shop page 2019-12-16 23:41:05 +01:00
Thomas Steen Rasmussen 81fd6b30e5 remove token, remove 2018 from menu and add 2020 2019-09-07 15:17:46 +02:00
Thomas Steen Rasmussen d5019d8082 fix dates on 2020 frontpage 2019-09-07 15:13:51 +02:00
Víðir Valberg Guðmundsson 9ee3fb396a Remove tickets available from 2019 camp detail. 2019-08-17 22:36:54 +02:00
Víðir Valberg Guðmundsson 1258a595b4 Sshhhhhhh... R5sjkjxiYx4QaiVXJHEszYCju7NJBior 2019-08-13 18:12:45 +02:00
Víðir Valberg Guðmundsson 7e0c87957f It's an old code, sir, but it checks out. 2019-08-13 17:55:15 +02:00
Reynir Björnsson f000eb0410 Team shifts: display public credit name
The public credit name is usually more recognizable.
2019-08-12 12:25:59 +02:00
Víðir Valberg Guðmundsson 30e1049dbc Use the right comment. 2019-08-11 15:59:02 +02:00
Víðir Valberg Guðmundsson b5e1623cb7 Adding missing th 2019-08-11 13:30:28 +02:00
Víðir Valberg Guðmundsson 78ddb33fcb More to the shop ticket list. 2019-08-11 13:26:11 +02:00
Víðir Valberg Guðmundsson 814cbb4af5 Add a list over shop tickets. 2019-08-11 13:18:19 +02:00
Víðir Valberg Guðmundsson 4ad2a23158 Moving figcaption up again! 2019-08-09 12:45:51 +02:00
Víðir Valberg Guðmundsson adee7c58c4 Maybe this breaks the qr code? 2019-08-09 12:11:37 +02:00
Víðir Valberg Guðmundsson e2404b1778
Merge pull request #372 from bornhack/dependabot/pip/src/requirements/pytz-2019.2
Bump pytz from 2019.1 to 2019.2 in /src/requirements
2019-08-09 10:26:27 +02:00
Víðir Valberg Guðmundsson 8465190e75
Merge pull request #374 from bornhack/dependabot/pip/src/requirements/oauthlib-3.1.0
Bump oauthlib from 3.0.2 to 3.1.0 in /src/requirements
2019-08-09 10:25:50 +02:00
Víðir Valberg Guðmundsson db4ff33b87
Merge pull request #376 from bornhack/sponsors
Added sponsor logo
2019-08-09 10:25:26 +02:00
Víðir Valberg Guðmundsson 6f55bda732
Merge pull request #379 from flokli/qrcode-caption
qrcode: move caption before qrcode
2019-08-09 10:20:02 +02:00
Florian Klink 807579ec5d qrcode: move caption before qrcode
This allows reading the qr code description on small screens (like from
the laptop at the infodesk) without scrolling down all the time ;-)
2019-08-08 21:13:25 +02:00
Florian Klink aa252c3d11 info_desk/scan.html: show quantity if it's a ShopTicket and single_ticket_per_product is set
fixes #377.
2019-08-08 21:07:57 +02:00
Florian Klink 95e04b3741 ShopTicket: use @property instead of get_orp() method
This looks much more natural when being used from inside templates.
2019-08-08 21:06:44 +02:00
Thomas Flummer b72101ab70 Added sponsor logo
Sponsor: e-tilbudsavis
2019-08-08 16:58:57 +02:00
Víðir Valberg Guðmundsson 9dd6b0b23c Fix scanning stuff. 2019-08-08 13:06:24 +02:00
Víðir Valberg Guðmundsson 470115a0d9 Search for orders and mark them as paid. 2019-08-08 12:43:59 +02:00
Víðir Valberg Guðmundsson 59dec88c04 Fix subject. 2019-08-08 11:53:46 +02:00
Víðir Valberg Guðmundsson ddd5b61cd1 Templates fixes. 2019-08-08 11:38:08 +02:00
Thomas Steen Rasmussen 8b0df39d13 missing logger 2019-08-08 11:24:44 +02:00
Thomas Steen Rasmussen d1c3535c7e read file as binary 2019-08-08 11:21:53 +02:00
Thomas Steen Rasmussen f594815685 use .read() so we pass the actual bytes from the file 2019-08-08 11:12:28 +02:00
Víðir Valberg Guðmundsson 17ff6efb8f Use list_display instead. 2019-08-08 11:11:17 +02:00
Víðir Valberg Guðmundsson cd66b5fd5d More email stuff. 2019-08-08 11:09:25 +02:00
Víðir Valberg Guðmundsson 4def56ad92 Adding outgoingemailadmin. 2019-08-08 11:03:46 +02:00
Víðir Valberg Guðmundsson 89d7d95f78 Adding outgoingemailadmin. 2019-08-08 11:01:09 +02:00
Thomas Steen Rasmussen 0be95742a2 missing imports and other small fixes 2019-08-08 10:55:38 +02:00
Thomas Steen Rasmussen 7f95f41055 email sponsor tickets one by one 2019-08-08 10:44:37 +02:00
Víðir Valberg Guðmundsson 38b7cae7d7 Fix missing colon. 2019-08-08 10:28:02 +02:00
Víðir Valberg Guðmundsson 2ba70c692f Remove multiple attachment code - was not even done 2019-08-08 10:26:47 +02:00
Víðir Valberg Guðmundsson 2751b92cb8 Find the right sponsors. 2019-08-08 10:03:27 +02:00
Víðir Valberg Guðmundsson 74a9e9df71 Check if tickets are generated. Also show if tickets are generated in the admin. 2019-08-08 09:55:06 +02:00
Thomas Steen Rasmussen ac19a6db4b add management command to email sponsor tickets 2019-08-08 09:44:47 +02:00
Víðir Valberg Guðmundsson 3600ed6190 Third times the charm? 2019-08-07 23:33:56 +02:00
Víðir Valberg Guðmundsson c088594e74 Actually add more attachments 2019-08-07 23:29:13 +02:00
Víðir Valberg Guðmundsson ba23234a15 Multiple attachments on mails 2019-08-07 23:25:52 +02:00
dependabot-preview[bot] ec2247a9eb
Bump oauthlib from 3.0.2 to 3.1.0 in /src/requirements
Bumps [oauthlib](https://github.com/oauthlib/oauthlib) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/oauthlib/oauthlib/releases)
- [Changelog](https://github.com/oauthlib/oauthlib/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/oauthlib/oauthlib/compare/v3.0.2...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-07 05:45:00 +00:00
Víðir Valberg Guðmundsson 943dcf8abd Add Mikjaer Studios logo. 2019-08-06 12:07:41 +02:00
Thomas Flummer 540bfdcbac Added more sponsor logos
Added Umbraco, Dansk Magisterforening and zibra group
2019-08-06 11:51:12 +02:00
Víðir Valberg Guðmundsson 94a142f6b9 Polishing finding tickets by scanning and marking stuff as handed out/checked in. 2019-08-04 00:18:52 +02:00
Víðir Valberg Guðmundsson 7be4aa6545 Ticket tokens and badge tokens can be blank since we generate them on save. Also use the correct method for generating badge tokens, and do a small regression test for that. 2019-08-03 22:53:01 +02:00
Víðir Valberg Guðmundsson b842bb99e7 Upgrade django to 2.2.4 2019-08-01 20:26:48 +02:00
Víðir Valberg Guðmundsson 08d0dd7161 Make provided laptop default=True. 2019-08-01 09:34:00 +02:00
dependabot-preview[bot] dbd7a30e20
Bump pytz from 2019.1 to 2019.2 in /src/requirements
Bumps [pytz](https://github.com/stub42/pytz) from 2019.1 to 2019.2.
- [Release notes](https://github.com/stub42/pytz/releases)
- [Commits](https://github.com/stub42/pytz/compare/release_2019.1...release_2019.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-01 05:38:56 +00:00
Víðir Valberg Guðmundsson b89f09105c Make team guide only visible for approved members. Fix #369. 2019-07-31 21:14:17 +02:00
Víðir Valberg Guðmundsson 80793d3d1d Add "use_provided_speaker_laptop" to eventproposal_detail.html. Also correct a typo. 2019-07-31 20:22:11 +02:00
Víðir Valberg Guðmundsson 5748f9c1ee Fix tests - I think. 2019-07-31 20:12:58 +02:00
Víðir Valberg Guðmundsson 7236462023 Adding "use_provided_speaker_laptop" to EventProposal. 2019-07-31 12:47:38 +02:00
Víðir Valberg Guðmundsson f1ce253d4a Fix some stuff for new tickets. Also fix bootstrap-dev script. 2019-07-30 23:38:03 +02:00
Víðir Valberg Guðmundsson 7dc82ee4ee
Merge pull request #370 from bornhack/ticket_type_create_single_ticket_option
Add "single_ticket_per_product" boolean to ticket types
2019-07-30 22:58:36 +02:00
Víðir Valberg Guðmundsson 9f251c85a6
Merge pull request #367 from bornhack/dependabot/pip/src/requirements/ipython-7.7.0
Bump ipython from 7.6.1 to 7.7.0 in /src/requirements
2019-07-30 22:53:53 +02:00
Víðir Valberg Guðmundsson 0373816355 Add "single_ticket_per_product" boolean to ticket types so we can control ticket creation. 2019-07-30 22:51:01 +02:00
dependabot-preview[bot] c8a4eb1f78
Bump coverage from 4.5.3 to 4.5.4 in /src/requirements
Bumps [coverage](https://github.com/nedbat/coveragepy) from 4.5.3 to 4.5.4.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/coverage-4.5.3...coverage-4.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-30 05:38:22 +00:00
Thomas Steen Rasmussen 024f5dd093 this was probably what it was meant to be 2019-07-30 01:46:27 +02:00
Víðir Valberg Guðmundsson 2c8f04a9a0
Merge pull request #361 from bornhack/backoffice_invoice_scanning
Save ticket tokens to db. Rename some fields to make using tickets more sane. Initial scanning of tickets.
2019-07-29 22:41:37 +02:00
Víðir Valberg Guðmundsson 55860efb8c Add create tickets action for orders. 2019-07-29 22:32:49 +02:00