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
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
08d0dd7161
Make provided laptop default=True.
2019-08-01 09:34:00 +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
7236462023
Adding "use_provided_speaker_laptop" to EventProposal.
2019-07-31 12:47:38 +02:00
Thomas Steen Rasmussen
444aa59159
s/name/title/g
2019-07-29 17:00:25 +02:00
Thomas Steen Rasmussen
d276032389
better subjects for content team emails, and add quotes in body
2019-07-21 15:26:57 +02:00
Thomas Steen Rasmussen
939d17c8bd
use event_type from last event from the loop, fix backtrace when updating a speakerproposal which has more than one eventproposal of the same type
2019-07-16 10:35:19 +02:00
Víðir Valberg Guðmundsson
8ce7bce383
Redirect only if user is not superuser.
2019-06-24 15:56:09 +02:00
Víðir Valberg Guðmundsson
6536a05e03
Woops forgot the migration.
2019-06-24 15:45:56 +02:00
Víðir Valberg Guðmundsson
3348d96d06
Add show_schedule boolean to Camp. Hide schedule link if schedule should not be shown. Close #346
2019-06-24 15:12:14 +02:00
Víðir Valberg Guðmundsson
226fb37aa1
Fix speakerproposal form to have email as not required (set to logged in user if not filled out)
2019-06-16 15:59:12 +02:00
Víðir Valberg Guðmundsson
bf2f0c7898
Blackness.
2019-06-16 14:32:24 +02:00
Víðir Valberg Guðmundsson
b6052ca89a
Make start and end nonnull.
2019-03-18 23:54:06 +01:00
Víðir Valberg Guðmundsson
8143e9608c
Forgot that there is a timestamp method now.
2019-03-18 23:49:51 +01:00
Víðir Valberg Guðmundsson
6ef26243f6
Add start and end to instances and return them as posix.
2019-03-18 23:38:22 +01:00
Víðir Valberg Guðmundsson
0f11a77a92
Add urls to graphql schema.
2019-03-18 22:11:33 +01:00
Víðir Valberg Guðmundsson
31c1f97036
Add event metadata information to non-js event pages. Fix #275 .
2019-03-18 10:29:57 +01:00
Víðir Valberg Guðmundsson
d972ef2cef
Initial graphql endpoint. Only the program for now.
2019-03-11 20:26:36 +01:00
Víðir Valberg Guðmundsson
0b6cc60bb8
Add duration and notes to event proposal info.
2019-03-10 17:20:08 +01:00
Thomas Steen Rasmussen
58d670b57f
get websocket scheme from window.location.protocol
2019-01-22 09:01:53 +01:00
Thomas Steen Rasmussen
58f3035927
switch from ws:// to wss://
2019-01-21 20:06:52 +01:00
Víðir Valberg Guðmundsson
b2fa1dc92c
WIP Reimbursement feature ( #278 )
...
* Almost done, need the send to economic part.
* Add a way to approve/reject an reimbursement and send mails accordingly.
* finish work on custom invoice address
* add textfield notes to Order for internal orga notes about the order
* Almost done, need the send to economic part.
* Add a way to approve/reject an reimbursement and send mails accordingly.
* economy commit of doom.. replace reimbursement app with an economy app, add Expense and Reimbursement models, add management of expenses and reimbursements to backoffice. Rework and cleanup permissions stuff, add Camp.Permissions pseudo model to hold all our non-model permissions. still experimental, expect rough edges, but basic functionality should work.
2018-08-30 00:52:32 +02:00
Víðir Valberg Guðmundsson
09e916571e
Use the existing event type if there is one and one is not defined.
2018-08-21 13:47:56 +02:00
Víðir Valberg Guðmundsson
d605abcb40
Use col-xs- instead of col-sm- to get a slightly better dayview.
2018-08-20 12:43:33 +02:00
Víðir Valberg Guðmundsson
b871613d24
Fix proposal submission.
2018-08-19 19:52:00 +02:00
Víðir Valberg Guðmundsson
97ba725ba2
Add missing migrations.
2018-08-19 17:40:33 +02:00
Víðir Valberg Guðmundsson
014e962a3f
use .get because it might not be there.
2018-08-19 00:06:25 +02:00
Víðir Valberg Guðmundsson
b50f368dea
Add a slides field to talk and lightning talk forms.
2018-08-18 20:43:24 +02:00
Víðir Valberg Guðmundsson
c8f6f76689
Make email mandatory and show that on the event proposal admin site.
2018-08-18 20:04:15 +02:00
Víðir Valberg Guðmundsson
428cee3cd7
Making event proposal admin slightly better.
2018-08-18 20:04:15 +02:00
Víðir Valberg Guðmundsson
f15f878508
Add a proposal edit permission.
2018-08-18 16:37:20 +02:00
Víðir Valberg Guðmundsson
1af78e6ff7
Add email to SpeakerProposal and Speaker models.
2018-08-18 14:11:30 +02:00
Víðir Valberg Guðmundsson
ff6912fed8
Spice up event instance admin.
2018-08-16 18:25:33 +02:00
Víðir Valberg Guðmundsson
a3bfd85604
Disable timezone support. Everything is in Europe/Copenhagen anyway.
2018-08-11 18:15:19 +02:00
Víðir Valberg Guðmundsson
d25f8eeee5
Add missing non-db migration.
2018-08-10 18:04:33 +02:00
Víðir Valberg Guðmundsson
56875732dd
Also show location on non-js event detail page.
2018-08-10 16:26:25 +02:00
Víðir Valberg Guðmundsson
5ae96cfa6d
Add location to events on schedule.
2018-08-10 16:22:17 +02:00
Víðir Valberg Guðmundsson
4043b609fd
Model should have a default of false, so things that are not defined as true will default to false.
2018-08-09 15:35:58 +02:00
Víðir Valberg Guðmundsson
0e3e6ae06f
Remove "this".
2018-08-09 15:30:24 +02:00
Víðir Valberg Guðmundsson
f2c5c26262
Fix video recording field and help text.
2018-08-09 15:28:46 +02:00
Víðir Valberg Guðmundsson
25f40b381b
Fix filter in link to schedule from event list.
2018-08-06 21:11:39 +02:00
Víðir Valberg Guðmundsson
e482b63c14
Fixing video icon and using another icon for non-recording.
2018-08-05 12:42:18 +02:00
Víðir Valberg Guðmundsson
14c88cc9e4
Update the compiled version of the scedule.
2018-08-05 00:22:16 +02:00
Thomas Steen Rasmussen
eb8e548c3f
add Meetup eventtype in SpeakerProposalForm and EventProposalForm
2018-08-04 13:54:37 +02:00
Thomas Steen Rasmussen
016ac8adac
use hasattr() and clean up urls
2018-07-24 19:02:58 +02:00
Thomas Steen Rasmussen
11a94b477c
redirect to the events list if nothing is scheduled yet
2018-07-18 00:58:33 +02:00
Thomas Steen Rasmussen
d46ccc530b
handle empty results correctly in CampViewMixin, also add a text to the speaker list page when no speakers are found
2018-07-18 00:46:38 +02:00
Thomas Steen Rasmussen
025692d017
add icons to speaker list page
2018-07-18 00:15:14 +02:00