Commit graph

2108 commits

Author SHA1 Message Date
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
Thomas Steen Rasmussen 33383e6559
Event feedback (#451)
* Event feedback functionality and related commits:

* blackness and isort and flake8 - this branch does not have pre-commit so I forgot :/

* finish backoffice management of eventfeedback

* add username to eventfeedback detail panel when viewed in backoffice

* Add feedback url to elm schedule. Fix access when user is anonymous. Remove print statement.

* one prefetch_related call to rule them all

Co-authored-by: Víðir Valberg Guðmundsson <valberg@orn.li>
2020-02-22 14:50:09 +01:00
Víðir Valberg Guðmundsson 9d1fbf5176
Merge pull request #456 from bornhack/dependabot/pip/src/requirements/pre-commit-2.1.0
Bump pre-commit from 2.0.1 to 2.1.0 in /src/requirements
2020-02-22 13:46:15 +01:00
Víðir Valberg Guðmundsson 6d330c1b7f
Merge pull request #457 from bornhack/dependabot/pip/src/requirements/channels-redis-2.4.2
Bump channels-redis from 2.4.1 to 2.4.2 in /src/requirements
2020-02-22 13:45:44 +01:00
Víðir Valberg Guðmundsson 087c6c1883
Merge pull request #453 from bornhack/dependabot/pip/src/requirements/django-reversion-3.0.7
Bump django-reversion from 3.0.5 to 3.0.7 in /src/requirements
2020-02-22 13:45:21 +01:00
dependabot-preview[bot] 76dc557e5b
Bump channels-redis from 2.4.1 to 2.4.2 in /src/requirements
Bumps [channels-redis](https://github.com/django/channels_redis) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/django/channels_redis/releases)
- [Changelog](https://github.com/django/channels_redis/blob/master/CHANGELOG.txt)
- [Commits](https://github.com/django/channels_redis/compare/2.4.1...2.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-20 05:26:53 +00:00
dependabot-preview[bot] c474a2559b
Bump django-reversion from 3.0.5 to 3.0.7 in /src/requirements
Bumps [django-reversion](https://github.com/etianen/django-reversion) from 3.0.5 to 3.0.7.
- [Release notes](https://github.com/etianen/django-reversion/releases)
- [Changelog](https://github.com/etianen/django-reversion/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/etianen/django-reversion/compare/v3.0.5...v3.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 21:02:18 +00:00
Víðir Valberg Guðmundsson 4614c4fe8d
Merge pull request #454 from bornhack/dependabot/pip/src/requirements/graphene-django-2.8.2
Bump graphene-django from 2.8.1 to 2.8.2 in /src/requirements
2020-02-19 22:01:03 +01:00
dependabot-preview[bot] 09a48d0106
Bump pre-commit from 2.0.1 to 2.1.0 in /src/requirements
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.0.1 to 2.1.0.
- [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.0.1...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 05:27:23 +00:00
dependabot-preview[bot] 7ccafd2a0f
Bump graphene-django from 2.8.1 to 2.8.2 in /src/requirements
Bumps [graphene-django](https://github.com/graphql-python/graphene-django) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/graphql-python/graphene-django/releases)
- [Commits](https://github.com/graphql-python/graphene-django/compare/v2.8.1...v2.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-18 05:26:11 +00:00
Vidir Valberg Gudmundsson abf3603bc9 Maybe this fixes the IRC bot? 2020-02-17 21:29:42 +01:00