Commit graph

2441 commits

Author SHA1 Message Date
Thomas Steen Rasmussen eff4bfaf1c
SpeakerAvailability, EventSession, autoscheduler, and other goodies (#497)
* fix old bug where the get_days() method would return the wrong number of days, this was not discovered because our bootstrap script has been creating 9 day camps instead of 8 day camps (this has been fixed in a different commit)

* remove stray debug print

* output camp days in local timezone (CEST usually), not UTC

* speakeravailability commit of doom, originally intended for #385 but goes a bit further than that. Adds SpeakerAvailability and EventSession models, and models for the new autoscheduler. Update bootstrap script and more. New conference_autoscheduler dependency. Work in progress, but ready for playing around!

* add conference-scheduler to requirements

* rework migrations, work at bit with postgres range fields and bounds, change how speakeravailability is saved (continuous ranges instead of 1 hour chunks), add tests for utils/range_fields.py including adding hypothesis to requirements/dev.txt, add a test which runs our bootstrap script

* catch name collision in the right place, and load missing postgres extension in the migration

* add some verbosity to see what the travis issue might be

* manually create btree_gist extension in postgres, not sure why the BtreeGistExtension() operation in program/migrations/0085... isn't working in travis?

* create extension in the right database maybe

* lets try this then

* ok so the problem is not that the btree_gist extension isn't getting loaded, the problem is that GIST indexes do not work with uuid fields in postgres 9.6, lets take another stab at getting pg10 with postgis to work with in travis

* lets try normal socket connection

* add SPEAKER_AVAILABILITY_DAYCHUNK_HOURS=3 to travis environment_settings.py

* rework migrations, change so an autoschedule can work with multiple eventtypes, change AutoSlot model to use a DateTimeRangeField so we can use the database for more efficient lookups, add 'conflicts' self m2m for EventLocation to indicate when a room conflicts with another room, add a support_autoscheduling bool to EventType, add workshops to bootstrap script, add timing output to bootstrap script

* update README a bit, move some functionality to model methods, update jquery and jquery.datatables, include datatables in base.html instead of in each page, start adding backoffice schedule management views (unfinished), yolo commit so I can show valberg something

* Switch to a more simple way of using the autoscheduler, meaning we can remove the whole autoscheduler app and all models. All autoscheduler code is now in program/autoscheduler.py and a bit in backoffice views. Add more backoffice CRUD views for schedule management. Add datatables moment.js plugin to help table sorting of dates. Add Speaker{Proposal}EventConflict model to allow speakers to inform us which events they want to attend so we dont schedule them at the same time. Add EventTag model. New models not hooked up to anything yet.

* handle cases where there is no solution without failing, also dont return anything here

* wrong block kiddo

* switch from EventInstance to EventSlot as the way we schedule events. Finish backoffice content team views (mostly). Many small changes. Prod will need data migration of EventInstances -> EventSlots when the time comes.

* keep speakeravailability stuff a bit more DRY by using the AvailabilityMatrixViewMixin everywhere, add event_duration_minutes to EventSession create/update form, reverse the order we delete/create EventSlot objects when updating an EventSession

* go through all views, fix various little bugs here and there

* add missing migration

* add django-taggit, add tags for Events, add tags in bootstrap script, make AutoScheduler use tags. Add tags in forms and templates.

* fix taggit entry in requirements

* Fix our iCal view: Add uuid field to Event, add uuid property to EventSlot which calculates a consitent UUID for an event at a start time at a location. Use this as the schedule uuid. While here fix so our iCal export is valid, a few fields were missing, the iCal file now validates 100% OK.

* fix our FRAB xml export view

* comment the EventSlot.uuid property better

* typo in comment

* language

Co-Authored-By: Benjamin Balder Bach <benjamin@overtag.dk>

* language

Co-Authored-By: Benjamin Balder Bach <benjamin@overtag.dk>

* Update src/backoffice/templates/autoschedule_debug_events.html

Co-Authored-By: Benjamin Balder Bach <benjamin@overtag.dk>

* add a field to make this form look less weird. No difference in functionality.

* remove stray print and refactor this form init a bit

* fix ScheduleView

* only show slots where all speakers are available when scheduling events manually in backoffice

* make event list sortable by video recording column

* update description on {speaker|event}proposal models reason field

* remove badge showing number of scheduled slots for each event in backoffice eventlist. it was unclear what the number meant and it doesn't really fit

* remember to consider events in the same location when deciding whether a slot is available or not

* add is_available() method to EventLocation, add clean_location() method to EventSlot, call it from EventSlot.clean(), update a bit of text in eventslotunschedule template

* fix EventSession.get_available_slots() so it doesnt return busy slots as available, and since this means we can no longer schedule stuff in the lunchbreak lower the number of talks in the bootstrap script a bit so we have a better chance of having a solvable problem

* fix the excludefilter in EventSession.get_available_slots() for real this time, also fix an icon and add link in event schedule template in backoffice

* show message when no slots are available for manual scheduling in backoffice

* add event_conflicts to SpeakerUpdateView form in backoffice

* fix link to speaker object in speakerproposal list in backoffice

* allow blank tags

* make duration validation depend on the eventtype event_duration_minutes if we have one. fix help_text and label and placeholder for all duration fields

* allow music acts up to 180 mins in the bootstrap data

* fix wrong eventtype name for recreational events in speakerproposalform

* stretch the colspan one cell more

* save event_conflicts m2m when submitting speaker and event together

* form not self, and add succes message

* move js function toggleclass() to bornhack.js and rename to toggle_sa_form_class(), function is used in several templates and was missing when submitting combined proposals

* move the no-js removal to the top of ready() function

This will allow other javascript initialization (eg. DataTable) to see the elements and initialize accordingly (eg. column width for tables)

* Fixed problem with event feedback detail view

* Fixed problem with event feedback list view

* introduce a get_tzrange_days() function and use that to get the relevant days for the matrix instead of camp.get_days(), thereby fixing some display issues when eventsessions cross dates

* show submitting user and link to proposal on backoffice event detail page, change User to Submitter in backoffice speaker list table

* show warning by the buttons when a proposal cannot be approved, and show better text on approve/reject buttons

* disable js schedule, save m2m, prefetch some stuff

* fix broken date header in table

* remove use of djangos regular slugify function, use the new utils.slugs.unique_slugify() instead

Co-authored-by: Thomas Steen Rasmussen <tykling@bornhack.org>
Co-authored-by: Benjamin Balder Bach <benjamin@overtag.dk>
Co-authored-by: Thomas Flummer <tf@flummer.net>
2020-06-03 21:18:06 +02:00
dependabot-preview[bot] d00b0d8154
Bump coverage from 4.5.4 to 5.1 in /src/requirements (#508)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 4.5.4 to 5.1.
- [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.4...coverage-5.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 17:54:18 +02:00
dependabot-preview[bot] bbaa7e947a
Bump django-oauth-toolkit from 1.2.0 to 1.3.2 in /src/requirements (#494)
Bumps [django-oauth-toolkit](https://github.com/jazzband/django-oauth-toolkit) from 1.2.0 to 1.3.2.
- [Release notes](https://github.com/jazzband/django-oauth-toolkit/releases)
- [Changelog](https://github.com/jazzband/django-oauth-toolkit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jazzband/django-oauth-toolkit/compare/1.2.0...1.3.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 17:53:19 +02:00
dependabot-preview[bot] b6c8c98b19
Bump codecov from 2.0.22 to 2.1.4 in /src/requirements (#547)
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.0.22 to 2.1.4.
- [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.22...v2.1.4)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 17:52:07 +02:00
dependabot-preview[bot] b5edda8371
Bump irc3 from 1.1.5 to 1.1.6 in /src/requirements (#535)
Bumps [irc3](https://github.com/gawel/irc3) from 1.1.5 to 1.1.6.
- [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.5...1.1.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 17:51:45 +02:00
dependabot-preview[bot] 3305e604b3
Bump django-cors-headers from 3.2.1 to 3.3.0 in /src/requirements (#537)
Bumps [django-cors-headers](https://github.com/adamchainz/django-cors-headers) from 3.2.1 to 3.3.0.
- [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.1...3.3.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 17:51:28 +02:00
dependabot-preview[bot] 053716fae6
Bump graphene-django from 2.10.0 to 2.10.1 in /src/requirements (#538)
Bumps [graphene-django](https://github.com/graphql-python/graphene-django) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/graphql-python/graphene-django/releases)
- [Commits](https://github.com/graphql-python/graphene-django/compare/v2.10.0...v2.10.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 17:47:31 +02:00
dependabot-preview[bot] 939cad0f86
Bump lxml from 4.5.0 to 4.5.1 in /src/requirements (#540)
Bumps [lxml](https://github.com/lxml/lxml) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.5.0...lxml-4.5.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 17:46:48 +02:00
dependabot-preview[bot] 45fbd0ef75
Bump codecov from 2.0.22 to 2.1.3 in /src/requirements (#542)
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.0.22 to 2.1.3.
- [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/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 17:45:57 +02:00
dependabot-preview[bot] 57b90f5623
Bump django-allauth from 0.41.0 to 0.42.0 in /src/requirements (#543)
Bumps [django-allauth](https://github.com/pennersr/django-allauth) from 0.41.0 to 0.42.0.
- [Release notes](https://github.com/pennersr/django-allauth/releases)
- [Changelog](https://github.com/pennersr/django-allauth/blob/master/ChangeLog.rst)
- [Commits](https://github.com/pennersr/django-allauth/compare/0.41.0...0.42.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 17:45:38 +02:00
dependabot-preview[bot] 6a7def3aa8
Bump flake8 from 3.7.9 to 3.8.2 in /src/requirements (#544)
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.7.9 to 3.8.2.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.7.9...3.8.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 17:45:19 +02:00
dependabot-preview[bot] 77692fdda7
Bump ipython from 7.14.0 to 7.15.0 in /src/requirements (#545)
Bumps [ipython](https://github.com/ipython/ipython) from 7.14.0 to 7.15.0.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](https://github.com/ipython/ipython/compare/7.14.0...7.15.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 17:44:55 +02:00
Thomas Steen Rasmussen b23ac270d3 remove old pdf letterheads 2020-05-31 19:36:09 +02:00
dependabot-preview[bot] d841dcf930
Bump pillow from 6.2.1 to 7.1.2 in /src/requirements (#521)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 6.2.1 to 7.1.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/6.2.1...7.1.2)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-17 13:44:28 +02:00
dependabot-preview[bot] 2b96333f96
Bump django-bootstrap3 from 12.0.3 to 12.1.0 in /src/requirements (#527)
Bumps [django-bootstrap3](https://github.com/dyve/django-bootstrap3) from 12.0.3 to 12.1.0.
- [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.3...v12.1.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-17 12:44:02 +02:00
dependabot-preview[bot] 6f5ea77780
Bump ipython from 7.13.0 to 7.14.0 in /src/requirements (#528)
Bumps [ipython](https://github.com/ipython/ipython) from 7.13.0 to 7.14.0.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](https://github.com/ipython/ipython/compare/7.13.0...7.14.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-17 12:43:17 +02:00
dependabot-preview[bot] 199bbc2d05
Bump django from 3.0.5 to 3.0.6 in /src/requirements (#529)
Bumps [django](https://github.com/django/django) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.0.5...3.0.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-17 12:36:14 +02:00
dependabot-preview[bot] 00700c10e3
Bump python-magic from 0.4.15 to 0.4.18 in /src/requirements (#530)
Bumps [python-magic](https://github.com/ahupp/python-magic) from 0.4.15 to 0.4.18.
- [Release notes](https://github.com/ahupp/python-magic/releases)
- [Commits](https://github.com/ahupp/python-magic/commits)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-17 12:35:55 +02:00
dependabot-preview[bot] 93b5ab2e30
Bump icalendar from 4.0.5 to 4.0.6 in /src/requirements (#531)
Bumps [icalendar](https://github.com/collective/icalendar) from 4.0.5 to 4.0.6.
- [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.5...4.0.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-17 12:35:35 +02:00
dependabot-preview[bot] ae02d22e27
Bump graphene-django from 2.9.0 to 2.10.0 in /src/requirements (#532)
Bumps [graphene-django](https://github.com/graphql-python/graphene-django) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/graphql-python/graphene-django/releases)
- [Commits](https://github.com/graphql-python/graphene-django/compare/v2.9.0...v2.10.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-17 12:35:14 +02:00
dependabot-preview[bot] 26bd05f940
Bump pre-commit from 2.1.1 to 2.4.0 in /src/requirements (#533)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.1.1 to 2.4.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.1.1...v2.4.0)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-17 12:34:53 +02:00
Thomas Steen Rasmussen 57cf6eaf56 hide fulfilled wishes from the list, while here set verbose_plural_name and make slug unique in the db. 2020-05-09 14:24:15 +02:00
Thomas Steen Rasmussen 57dce1f887 change the backoffice proxyview so it doesn't use a form, to make it easier to link to stuff 2020-04-25 23:25:56 +02:00
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