Commit graph

65 commits

Author SHA1 Message Date
Thomas Steen Rasmussen 3f64cd9744
Merge pull request #785 from bornhack/dependabot/pip/src/requirements/factory-boy-3.2.0
Bump factory-boy from 3.1.0 to 3.2.0 in /src/requirements
2021-05-21 19:09:02 +02:00
Thomas Steen Rasmussen ede1655e65
Merge pull request #802 from bornhack/dependabot/pip/src/requirements/codecov-2.1.11
Bump codecov from 2.1.10 to 2.1.11 in /src/requirements
2021-05-21 19:08:18 +02:00
dependabot-preview[bot] 349d6f49de
Bump hypothesis from 6.10.1 to 6.13.1 in /src/requirements
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.10.1 to 6.13.1.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.10.1...hypothesis-python-6.13.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-21 05:18:54 +00:00
dependabot-preview[bot] a1e869f3e6
Bump codecov from 2.1.10 to 2.1.11 in /src/requirements
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.1.10 to 2.1.11.
- [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.1.10...v2.1.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-18 05:17:27 +00:00
dependabot-preview[bot] bd4ca5951a
Bump factory-boy from 3.1.0 to 3.2.0 in /src/requirements
Bumps [factory-boy](https://github.com/FactoryBoy/factory_boy) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/FactoryBoy/factory_boy/releases)
- [Changelog](https://github.com/FactoryBoy/factory_boy/blob/master/docs/changelog.rst)
- [Commits](https://github.com/FactoryBoy/factory_boy/compare/3.1.0...3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-17 11:47:56 +00:00
Thomas Steen Rasmussen 13620ed0f5
Merge pull request #786 from bornhack/dependabot/pip/src/requirements/coverage-5.5
Bump coverage from 5.3 to 5.5 in /src/requirements
2021-05-17 13:46:46 +02:00
dependabot-preview[bot] 5f35d4a514
Bump coverage from 5.3 to 5.5 in /src/requirements
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.3 to 5.5.
- [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-5.3...coverage-5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-17 11:46:30 +00:00
Thomas Steen Rasmussen e9b1de63c1
Merge pull request #791 from bornhack/dependabot/pip/src/requirements/isort-5.8.0
Bump isort from 5.6.4 to 5.8.0 in /src/requirements
2021-05-17 13:46:13 +02:00
Thomas Steen Rasmussen 224b4e761c
Merge pull request #797 from bornhack/dependabot/pip/src/requirements/flake8-3.9.2
Bump flake8 from 3.8.4 to 3.9.2 in /src/requirements
2021-05-17 13:45:38 +02:00
dependabot-preview[bot] 57ab1cf9b3
Bump black from 20.8b1 to 21.5b1 in /src/requirements
Bumps [black](https://github.com/psf/black) from 20.8b1 to 21.5b1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-11 05:20:49 +00:00
dependabot-preview[bot] d976865d41
Bump flake8 from 3.8.4 to 3.9.2 in /src/requirements
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.8.4 to 3.9.2.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.8.4...3.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-10 05:33:46 +00:00
dependabot-preview[bot] a1fdae2a13
Bump isort from 5.6.4 to 5.8.0 in /src/requirements
Bumps [isort](https://github.com/pycqa/isort) from 5.6.4 to 5.8.0.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.6.4...5.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-03 05:26:22 +00:00
Thomas Steen Rasmussen 2d06d317cc
Merge pull request #772 from bornhack/dependabot/pip/src/django-debug-toolbar-2.2.1
Bump django-debug-toolbar from 2.2 to 2.2.1 in /src
2021-05-02 12:45:55 +02:00
dependabot-preview[bot] 7b4d01bfd3
Bump pre-commit from 2.8.1 to 2.12.1 in /src/requirements
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.8.1 to 2.12.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.8.1...v2.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-02 10:44:54 +00:00
dependabot-preview[bot] 5b2df6454f
Bump hypothesis from 5.41.4 to 6.10.1 in /src/requirements
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.41.4 to 6.10.1.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.41.4...hypothesis-python-6.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-28 03:57:29 +00:00
dependabot[bot] 959254748b
Bump django-debug-toolbar from 2.2 to 2.2.1 in /src
Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar) from 2.2 to 2.2.1.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases)
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/2.2.1/docs/changes.rst)
- [Commits](https://github.com/jazzband/django-debug-toolbar/compare/2.2...2.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-16 20:20:47 +00:00
Thomas Steen Rasmussen 2ab5f6ea5a
Merge pull request #690 from bornhack/dependabot/pip/src/requirements/flake8-3.8.4
Bump flake8 from 3.8.3 to 3.8.4 in /src/requirements
2020-12-05 14:20:56 +01:00
Thomas Steen Rasmussen 6a450a2bb9
Merge pull request #687 from bornhack/dependabot/pip/src/requirements/coverage-5.3
Bump coverage from 5.2.1 to 5.3 in /src/requirements
2020-12-05 14:20:33 +01:00
dependabot-preview[bot] 7c86fa7ba3
Bump black from 19.10b0 to 20.8b1 in /src/requirements
Bumps [black](https://github.com/psf/black) from 19.10b0 to 20.8b1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/master/CHANGES.md)
- [Commits](https://github.com/psf/black/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-05 13:18:45 +00:00
dependabot-preview[bot] 41a2f72994
Bump flake8 from 3.8.3 to 3.8.4 in /src/requirements
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.8.3 to 3.8.4.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.8.3...3.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-05 13:18:44 +00:00
dependabot-preview[bot] 171f0563b9
Bump hypothesis from 5.39.0 to 5.41.4 in /src/requirements
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.39.0 to 5.41.4.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.39.0...hypothesis-python-5.41.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 05:26:34 +00:00
dependabot-preview[bot] d11df650aa
Bump coverage from 5.2.1 to 5.3 in /src/requirements
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.2.1 to 5.3.
- [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-5.2.1...coverage-5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 05:23:07 +00:00
dependabot-preview[bot] 79a9dfa755
Bump factory-boy from 2.12.0 to 3.1.0 in /src/requirements (#668)
Bumps [factory-boy](https://github.com/FactoryBoy/factory_boy) from 2.12.0 to 3.1.0.
- [Release notes](https://github.com/FactoryBoy/factory_boy/releases)
- [Changelog](https://github.com/FactoryBoy/factory_boy/blob/master/docs/changelog.rst)
- [Commits](https://github.com/FactoryBoy/factory_boy/compare/2.12.0...3.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-11-01 16:47:25 +01:00
dependabot-preview[bot] 1e4bbc183b
Bump codecov from 2.1.8 to 2.1.10 in /src/requirements (#673)
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.1.8 to 2.1.10.
- [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/2.1.8...v2.1.10)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-11-01 16:47:08 +01:00
dependabot-preview[bot] 815024c122
Bump isort from 5.2.0 to 5.6.4 in /src/requirements (#674)
Bumps [isort](https://github.com/pycqa/isort) from 5.2.0 to 5.6.4.
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/pycqa/isort/compare/5.2.0...5.6.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-11-01 16:46:42 +01:00
dependabot-preview[bot] 5a4b350b77
Bump pre-commit from 2.6.0 to 2.8.1 in /src/requirements (#681)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.6.0 to 2.8.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.6.0...v2.8.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-11-01 16:45:31 +01:00
dependabot-preview[bot] 1232582f7a
Bump hypothesis from 5.23.3 to 5.39.0 in /src/requirements (#682)
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.23.3 to 5.39.0.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.23.3...hypothesis-python-5.39.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-11-01 16:45:15 +01:00
dependabot-preview[bot] 148149866f
Bump coverage from 5.2 to 5.2.1 in /src/requirements (#597)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.2 to 5.2.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-5.2...coverage-5.2.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-07-28 23:02:43 +02:00
dependabot-preview[bot] 030f5e948d
Bump isort from 5.1.4 to 5.2.0 in /src/requirements (#599)
Bumps [isort](https://github.com/timothycrosley/isort) from 5.1.4 to 5.2.0.
- [Release notes](https://github.com/timothycrosley/isort/releases)
- [Changelog](https://github.com/timothycrosley/isort/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/timothycrosley/isort/compare/5.1.4...5.2.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-07-28 23:02:10 +02:00
dependabot-preview[bot] 41aa7345f1
Bump hypothesis from 5.20.3 to 5.23.3 in /src/requirements (#600)
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.20.3 to 5.23.3.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.20.3...hypothesis-python-5.23.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-28 22:59:47 +02:00
dependabot-preview[bot] 9a32b48f66
Bump isort from 5.1.1 to 5.1.4 in /src/requirements (#590)
Bumps [isort](https://github.com/timothycrosley/isort) from 5.1.1 to 5.1.4.
- [Release notes](https://github.com/timothycrosley/isort/releases)
- [Changelog](https://github.com/timothycrosley/isort/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/timothycrosley/isort/compare/5.1.1...5.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-07-22 17:22:45 +02:00
dependabot-preview[bot] 9acb745093
Bump codecov from 2.1.7 to 2.1.8 in /src/requirements (#593)
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.1.7 to 2.1.8.
- [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.1.7...2.1.8)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-22 17:21:32 +02:00
dependabot-preview[bot] 0d571c968d
Bump hypothesis from 5.19.1 to 5.20.3 in /src/requirements (#594)
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.19.1 to 5.20.3.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.19.1...hypothesis-python-5.20.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-22 17:21:13 +02:00
dependabot-preview[bot] d8a81c44da
Bump flake8 from 3.8.2 to 3.8.3 in /src/requirements (#552)
Bumps [flake8](https://gitlab.com/pycqa/flake8) from 3.8.2 to 3.8.3.
- [Release notes](https://gitlab.com/pycqa/flake8/tags)
- [Commits](https://gitlab.com/pycqa/flake8/compare/3.8.2...3.8.3)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-17 22:03:41 +02:00
dependabot-preview[bot] e1ce3c2b74
Bump coverage from 5.1 to 5.2 in /src/requirements (#577)
Bumps [coverage](https://github.com/nedbat/coveragepy) from 5.1 to 5.2.
- [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-5.1...coverage-5.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-07-17 22:03:17 +02:00
dependabot-preview[bot] 4979c879e9
Bump isort from 4.3.21 to 5.1.1 in /src/requirements (#588)
Bumps [isort](https://github.com/timothycrosley/isort) from 4.3.21 to 5.1.1.
- [Release notes](https://github.com/timothycrosley/isort/releases)
- [Changelog](https://github.com/timothycrosley/isort/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/timothycrosley/isort/compare/4.3.21...5.1.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-07-17 21:59:14 +02:00
dependabot-preview[bot] 3202962c18
Bump hypothesis from 5.16.0 to 5.19.1 in /src/requirements (#574)
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.16.0 to 5.19.1.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.16.0...hypothesis-python-5.19.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-07-13 00:31:19 +02:00
dependabot-preview[bot] c0e4f508ba
Bump codecov from 2.1.4 to 2.1.7 in /src/requirements (#556)
Bumps [codecov](https://github.com/codecov/codecov-python) from 2.1.4 to 2.1.7.
- [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.1.4...v2.1.7)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-13 00:11:11 +02:00
dependabot-preview[bot] bebdf2bcc3
Bump pre-commit from 2.4.0 to 2.6.0 in /src/requirements (#567)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.4.0 to 2.6.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.4.0...v2.6.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-07-12 23:43:25 +02:00
dependabot-preview[bot] b06725e1a4
Bump hypothesis from 5.8.0 to 5.16.0 in /src/requirements (#549)
Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 5.8.0 to 5.16.0.
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-5.8.0...hypothesis-python-5.16.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-04 08:57:11 +02:00
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] 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] 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] 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] 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
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
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
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