Commit graph

2468 commits

Author SHA1 Message Date
Thomas Steen Rasmussen ab338e8652 no quoting here 2020-04-25 14:51:19 +02:00
Thomas Steen Rasmussen 222fc8a70d make BACKOFFICE_PROXY_URLS templateable by ansible 2020-04-25 14:35:19 +02:00
Thomas Steen Rasmussen a0dfaf0109
add a simple backoffice view to show proxied content for simple html pages (#520)
Co-authored-by: Thomas Steen Rasmussen <tykling@bornhack.org>
2020-04-25 14:13:25 +02:00
Víðir Valberg Guðmundsson 19dcea7242
Merge pull request #505 from bornhack/dependabot/pip/src/requirements/psycopg2-binary-2.8.5
Bump psycopg2-binary from 2.8.4 to 2.8.5 in /src/requirements
2020-04-07 08:14:27 +02:00
dependabot-preview[bot] 7dbe1c57c3
Bump psycopg2-binary from 2.8.4 to 2.8.5 in /src/requirements
Bumps [psycopg2-binary](https://github.com/psycopg/psycopg2) from 2.8.4 to 2.8.5.
- [Release notes](https://github.com/psycopg/psycopg2/releases)
- [Changelog](https://github.com/psycopg/psycopg2/blob/master/NEWS)
- [Commits](https://github.com/psycopg/psycopg2/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-07 05:39:03 +00:00
Víðir Valberg Guðmundsson 1323fce763
Merge pull request #499 from bornhack/dependabot/pip/src/requirements/django-3.0.5
Bump django from 3.0.4 to 3.0.5 in /src/requirements
2020-04-04 15:49:42 +02:00
dependabot-preview[bot] ea89140c73
Bump django from 3.0.4 to 3.0.5 in /src/requirements
Bumps [django](https://github.com/django/django) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.0.4...3.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-02 05:33:40 +00:00
Vidir Valberg Gudmundsson 6179d1b1ca Fix #496 2020-03-28 21:28:32 +01:00
Víðir Valberg Guðmundsson e4b544bf15
Merge pull request #492 from bornhack/dependabot/pip/src/requirements/codecov-2.0.22
Bump codecov from 2.0.16 to 2.0.22 in /src/requirements
2020-03-28 13:47:06 +01:00
Víðir Valberg Guðmundsson a160b42189
Merge pull request #495 from bornhack/dependabot/pip/src/requirements/django-extensions-2.2.9
Bump django-extensions from 2.2.8 to 2.2.9 in /src/requirements
2020-03-28 13:46:04 +01:00
Víðir Valberg Guðmundsson 6a00c013b0
Merge pull request #493 from bornhack/dependabot/pip/src/requirements/icalendar-4.0.5
Bump icalendar from 4.0.4 to 4.0.5 in /src/requirements
2020-03-28 13:45:25 +01:00
Thomas Steen Rasmussen 3c6fadcf70
kortforsyningen maps (#484)
* add maps app, add proxy view for kortforsyningen services, add static_src/js/kfmap.js to create leaflet maps with tiles from kortforsyningen, adjust facility views to use the new map, add marker field to FacilityType model to specify marker colour, add js and marker pngs for coloured markers

* remove debug print

Co-authored-by: Thomas Steen Rasmussen <tykling@bornhack.org>
2020-03-28 11:45:54 +01:00
dependabot-preview[bot] 12737eb0cd
Bump django-extensions from 2.2.8 to 2.2.9 in /src/requirements
Bumps [django-extensions](https://github.com/django-extensions/django-extensions) from 2.2.8 to 2.2.9.
- [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.8...2.2.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-27 05:33:48 +00:00
dependabot-preview[bot] f72c37a4bc
Bump icalendar from 4.0.4 to 4.0.5 in /src/requirements
Bumps [icalendar](https://github.com/collective/icalendar) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/collective/icalendar/releases)
- [Changelog](https://github.com/collective/icalendar/blob/master/CHANGES.rst)
- [Commits](https://github.com/collective/icalendar/compare/4.0.4...4.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 05:57:49 +00:00
Víðir Valberg Guðmundsson 3af0ef4aab
Merge pull request #489 from bornhack/dependabot/pip/src/requirements/graphene-django-2.9.0
Bump graphene-django from 2.8.2 to 2.9.0 in /src/requirements
2020-03-20 16:01:32 +01:00
dependabot-preview[bot] 9bcf732883
Bump codecov from 2.0.16 to 2.0.22 in /src/requirements
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.0.16 to 2.0.22.
- [Release notes](https://github.com/codecov/codecov-python/releases)
- [Changelog](https://github.com/codecov/codecov-python/blob/v2.0.22/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-python/compare/v2.0.16...v2.0.22)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-19 05:36:13 +00:00
dependabot-preview[bot] 171966c26b
Bump graphene-django from 2.8.2 to 2.9.0 in /src/requirements
Bumps [graphene-django](https://github.com/graphql-python/graphene-django) from 2.8.2 to 2.9.0.
- [Release notes](https://github.com/graphql-python/graphene-django/releases)
- [Commits](https://github.com/graphql-python/graphene-django/compare/v2.8.2...v2.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-16 05:40:20 +00:00
Víðir Valberg Guðmundsson b37be009d1
Make server_ready async 2020-03-10 21:11:35 +01:00
Víðir Valberg Guðmundsson d750105a77
Await do stuff in irc bot (#486) 2020-03-10 21:07:52 +01:00
Víðir Valberg Guðmundsson 5f55abc6bb
Ircbot maybe-fix. Third times the charm? (#485) 2020-03-10 20:16:46 +01:00
Thomas Steen Rasmussen 37a2fb6a93 make entering a DECT phonenumber optional if letters were entered, and handle lowercase letters better 2020-03-10 19:45:23 +01:00
Thomas Steen Rasmussen e02e912c5d fix 500 error when including letters in dect number field, update description to clarify that the field is for numbers only. While here, update some other help_texts in the DectRegistration model, and add so numbers can be used in the letters field. Also allow using 0 and 1 in phone numbers, even though they can not be expressed as letters, only as 0 and 1. Fixes #481 and #480 2020-03-10 19:08:28 +01:00
Thomas Steen Rasmussen 8da8ac65c7 admin_static no longer exists in django 3.0, just use static now, fixes #482 2020-03-10 18:49:55 +01:00
Thomas Steen Rasmussen 207caebc94 disconnect post_save signal until #229 is fixed 2020-03-05 14:41:32 +01:00
Thomas Steen Rasmussen c52bf300ff
Phonebook (#465)
* first version of dect registration and phonebook functionality, missing export functionality for dect phone system, the rest should more or less work

* add a missing button and message

* fix typo

* add django-oauth-toolkit to implement oauth2 auth for the DECT csv export

* remove unused HMAC code

* add logger

* only show buttons when user is logged in

* remove unneeded enctype
2020-03-05 12:31:11 +01:00
Thomas Steen Rasmussen bf7578a833
Send emails when proposals are accepted/rejected, and when eventinstances are created/updated (#466)
* fixup labels and help_text for the email field

* add email and published columns to speaker proposal table, add published column to event proposal table

* send email to user when a speaker or eventproposal is accepted or rejected. Send email to submitter and all speakers when an eventinstance is created, or when the time is updated (event is rescheduled). Fix a few other small things while here.
2020-03-05 12:23:42 +01:00
Vidir Valberg Gudmundsson 7e2981e855 Await sync_to_async in irc bot. 2020-03-05 08:09:07 +01:00
Víðir Valberg Guðmundsson be47e43969
Merge pull request #476 from bornhack/menu-fix
Fixed top menu that wrapped around on narrow view
2020-03-05 07:03:26 +01:00
Víðir Valberg Guðmundsson 01e9b6c374
Merge pull request #477 from bornhack/readme-update
Small update to the migrate.py commands
2020-03-05 07:01:02 +01:00
Víðir Valberg Guðmundsson f1bfd45ed8
Merge pull request #478 from bornhack/dependabot/pip/src/requirements/django-3.0.4
Bump django from 3.0.3 to 3.0.4 in /src/requirements
2020-03-05 07:00:41 +01:00
dependabot-preview[bot] 3fbbf9095a
Bump django from 3.0.3 to 3.0.4 in /src/requirements
Bumps [django](https://github.com/django/django) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.0.3...3.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-05 05:27:39 +00:00
Thomas Flummer 059127dd5c Small update to the migrate.py commands
Added python in front, to make sure it’s the virtualenv version of python that is used
2020-03-04 22:26:44 +01:00
Thomas Flummer 543616e4b0 Fixed top menu that wrapped around on narrow view
Fixes issue #475

Also shows link to Orders, Tickets and Creditnotes if relevant in the account menu

In addition to the wrapping, the margin of the dropdown menus have also been adjusted a tad
2020-03-04 22:17:15 +01:00
Víðir Valberg Guðmundsson 3a7ac99fea
Merge pull request #472 from bornhack/dependabot/pip/src/requirements/ipython-7.13.0
Bump ipython from 7.12.0 to 7.13.0 in /src/requirements
2020-03-04 18:11:53 +01:00
dependabot-preview[bot] c83ec9469b
Bump ipython from 7.12.0 to 7.13.0 in /src/requirements
Bumps [ipython](https://github.com/ipython/ipython) from 7.12.0 to 7.13.0.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](https://github.com/ipython/ipython/compare/7.12.0...7.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 05:44:30 +00:00
Thomas Flummer e8b295c9ac
Added letterheads for 2020 (#468) 2020-03-01 15:24:32 +01:00
Víðir Valberg Guðmundsson fda676618b
Merge pull request #463 from bornhack/dependabot/pip/src/requirements/codecov-2.0.16
Bump codecov from 2.0.15 to 2.0.16 in /src/requirements
2020-02-25 08:27:35 +01:00
Víðir Valberg Guðmundsson 60230c4761
Merge pull request #464 from bornhack/dependabot/pip/src/requirements/pre-commit-2.1.1
Bump pre-commit from 2.1.0 to 2.1.1 in /src/requirements
2020-02-25 08:27:16 +01:00
dependabot-preview[bot] cafda35003
Bump pre-commit from 2.1.0 to 2.1.1 in /src/requirements
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/pre-commit/pre-commit/releases)
- [Changelog](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pre-commit/pre-commit/compare/v2.1.0...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-25 05:29:11 +00:00
dependabot-preview[bot] 42ccf21efd
Bump codecov from 2.0.15 to 2.0.16 in /src/requirements
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.0.15 to 2.0.16.
- [Release notes](https://github.com/codecov/codecov-python/releases)
- [Changelog](https://github.com/codecov/codecov-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-python/compare/v2.0.15...v2.0.16)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-25 05:28:50 +00:00
Thomas Steen Rasmussen 12a1c9a0ce
Facilities (#458)
* update font-awesome to 5.12.1

* prefetch members to considerably lower number of SQL queries for team list view

* add facilities app with facility feeedback functionality, working on #383

* Add GeoDjango (django.contrib.gis) and switch to PostGIS db backend. Add location field for Facility model. Add django-leaflet to requirements.

* better migration names

* tweaking travis config, we use py3.7 now, and add postgis

* Add qr code support for facilities (visible in the admin). Make facitilies browsable without logging in. Feedback can be submitted without logging in, given the facility UUID, which is not revealed to unauthenticated users.

* show quickfeedback icons when creating and when reading feedback

* only show anon option if user is logged in

* django-reversion somehow went missing from requirements
2020-02-24 23:28:52 +01:00
Vidir Valberg Gudmundsson df1a6564b7 Fix #365 2020-02-24 09:40:42 +01:00
Thomas Steen Rasmussen d5d12008de rename fontawesome css to include version number, so we avoid caching issues when upgrading 2020-02-22 17:40:53 +01:00
Thomas Steen Rasmussen 27f3470f92 fix noscript schedule template, while here add a prefetch_related in the view to reduce number of sql lookups from 116 to 8 for bootstrap data 2020-02-22 17:19:17 +01:00
Thomas Steen Rasmussen 76fcfd7855 lets call this frab exporter 1.0 2020-02-22 16:24:37 +01:00
Thomas Steen Rasmussen eb18fc2ec5 fix eventinstance uuid migration with this abomination https://docs.djangoproject.com/en/dev/howto/writing-migrations/#migrations-that-add-unique-fields 2020-02-22 16:21:51 +01:00
Víðir Valberg Guðmundsson b235cb9683
Merge pull request #460 from bornhack/fix_ircbot
Try to fix the IRC bot
2020-02-22 16:02:09 +01:00
Thomas Steen Rasmussen 4df66e9638 add missing wishlist migration 2020-02-22 15:48:37 +01:00
Thomas Steen Rasmussen 24d2c0d041 add note about the license we decided to use for recordings 2020-02-22 15:47:58 +01:00
Thomas Steen Rasmussen b6eaaa5f18
Frab xml export (#459)
* first stab at a frab xml generator

* delete unused xsd file

* remove camp title from location name

* add uuid field to eventinstance and use it in the frab xml
2020-02-22 15:09:12 +01:00