Commit Graph

129 Commits

Author SHA1 Message Date
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
Reynir Björnsson f000eb0410 Team shifts: display public credit name
The public credit name is usually more recognizable.
2019-08-12 12:25:59 +02:00
Víðir Valberg Guðmundsson b89f09105c Make team guide only visible for approved members. Fix #369. 2019-07-31 21:14:17 +02:00
Víðir Valberg Guðmundsson bf2f0c7898 Blackness. 2019-06-16 14:32:24 +02:00
Víðir Valberg Guðmundsson 222cb74622 Make edit button blue. 2019-03-12 12:12:01 +01:00
Víðir Valberg Guðmundsson 9ff88281da Change team guide template a bit. 2019-03-12 11:29:37 +01:00
Víðir Valberg Guðmundsson 6b5f610d49 Fixed buttons a bit. 2019-03-12 11:18:50 +01:00
Víðir Valberg Guðmundsson 0a3c71337e Merging benjaomings work on team guides. 2019-03-12 11:13:13 +01:00
Víðir Valberg Guðmundsson c51771be6b Merge remote-tracking branch 'origin' into feature/team-guides 2019-03-12 10:58:29 +01:00
Víðir Valberg Guðmundsson ed311fe2aa Fix creating an info item for a team. Camp is on team, not info category. 2019-03-12 09:56:27 +01:00
Thomas Steen Rasmussen b4698f3fdc fix case sensitive irc channel uniqueness check 2019-01-19 14:22:30 +01:00
Thomas Steen Rasmussen 1b9566ee02 make channel uniqueness check case insensitive 2019-01-19 13:49:51 +01:00
Víðir Valberg Guðmundsson 93d6525b29 Add missing non-db migrations. 2018-08-15 11:31:00 +02:00
Víðir Valberg Guðmundsson 32f4ae13e3 Add some more ordering to TeamTask. 2018-08-15 00:17:03 +02:00
Víðir Valberg Guðmundsson d9b7668ea8 Comments on tasks. 2018-08-14 20:13:46 +02:00
Víðir Valberg Guðmundsson d7e8e24361 Correct typo. 2018-08-12 22:51:41 +02:00
Víðir Valberg Guðmundsson da639ff4cd Add shortcut to users teams. Add a overview of users shifts, and prevent user from taking a shift which overlaps with one already assigned to the user. 2018-08-12 16:50:53 +02:00
Víðir Valberg Guðmundsson 72f6d42ee2 Show description for team member for team responsible. 2018-08-10 10:14:03 +02:00
Víðir Valberg Guðmundsson 6b0bc8b737 Add non-db migration which was forgotten. 2018-08-08 22:36:54 +02:00
Víðir Valberg Guðmundsson badd18cb1b Fix apparently intentional off by one error when creating multiple shifts. 2018-08-08 14:41:20 +02:00
Víðir Valberg Guðmundsson 8076f0c380 Use assign/unassign on button. 2018-08-08 14:37:41 +02:00
Víðir Valberg Guðmundsson ca33f8c5eb Make it possible to drop a shift. 2018-08-08 14:36:31 +02:00
Víðir Valberg Guðmundsson 2ac86d661c Forgot a spot. 2018-08-06 10:17:22 +02:00
Víðir Valberg Guðmundsson 88152776e3 Include buildup and teardown in available shifts days. 2018-08-05 18:48:58 +02:00
Víðir Valberg Guðmundsson 86ed7a82e8 Forgot to mark shift views as shift views so the menu pick it up 2018-08-05 18:36:57 +02:00
Víðir Valberg Guðmundsson db5a2e1d92 Hide shifts for non-members. 2018-08-05 18:31:43 +02:00
Víðir Valberg Guðmundsson a33e932858 Small representation fix. 2018-08-05 18:21:30 +02:00
Víðir Valberg Guðmundsson 6593d16966 Merge branch 'master' into feature/shift_planning 2018-08-05 17:46:45 +02:00
Víðir Valberg Guðmundsson fe974e469b Show email for users when user is team responsible. 2018-08-05 12:23:33 +02:00
Víðir Valberg Guðmundsson 214026dfd7 Integrate into new teams structure. 2018-08-05 12:18:10 +02:00
Víðir Valberg Guðmundsson f5b80d9ac7 Merge branch 'master' into feature/shift_planning 2018-08-05 11:26:15 +02:00
Víðir Valberg Guðmundsson d6a2151cdf Rename placeholder for DateTimeRangeField - it is not the most elegant API to work with. 2018-08-05 00:18:51 +02:00
Víðir Valberg Guðmundsson ddd2d5d5dd Forgot this for previous commit. 2018-08-04 18:24:13 +02:00
Víðir Valberg Guðmundsson df3751ecb8 Remove include since we have everything for tasks in one place now. 2018-08-04 18:13:51 +02:00
Víðir Valberg Guðmundsson a4060c2815 Merge branch 'master' into feature/team_refactor 2018-08-04 18:11:32 +02:00
Thomas Steen Rasmussen 73ec701b06 add when and completed to teamtask model, move task list to an included file 2018-08-04 17:38:09 +02:00
Víðir Valberg Guðmundsson da75660f0d Final touches - I think. 2018-08-04 13:45:52 +02:00
Víðir Valberg Guðmundsson d08c299e8d Views can have an indirect relation to a team. 2018-08-04 13:27:05 +02:00
Víðir Valberg Guðmundsson 02977acd5e Some DRYing. 2018-07-23 23:12:57 +02:00
Víðir Valberg Guðmundsson c68015fe26 Teams detail page was starting to get crowded. This is the start of a mostly visual, but also structural, refactor. 2018-07-22 23:18:50 +02:00
Víðir Valberg Guðmundsson 2bdd172b92 Fix multiple shifts create. Add deletion. Add a way to take a shift. 2018-07-19 22:46:26 +02:00
Víðir Valberg Guðmundsson 4f77b21a60 Add a way to create multiple shifts - needs a bit more work though. 2018-07-17 19:28:16 +02:00
Víðir Valberg Guðmundsson c103400046 Enable editing of shifts. With timezone rabbit hole. 2018-07-03 07:15:42 +02:00
Víðir Valberg Guðmundsson 102dfa7330 Initial work on shift planning. 2018-07-02 23:52:52 +02:00
Víðir Valberg Guðmundsson 43f076262b Fix some outstanding issues with the team controlled info categories functionality. 2018-06-21 09:19:09 +02:00
Víðir Valberg Guðmundsson 635e57b7f9
Merge branch 'master' into feature/team_controlled_info 2018-06-21 08:53:47 +02:00
Víðir Valberg Guðmundsson 4c60415336 Make each model which inherit from CampRelatedModel but doesn not have a direct relation, define a camp_filter. (#240) 2018-06-20 22:03:29 +02:00
Thomas Steen Rasmussen bff5bb292e add debate as eventtype in bootstrap-devsite, and fix commonmark templatefilter a few places I missed 2018-06-03 16:29:28 +02:00
Thomas Steen Rasmussen 811b8171af working on #232, this commit changes backoffice to be camp specific (although many of the actual functions are camp independent). Add backoffice/mixins.py with BackofficeViewMixin to keep it DRY. Add backoffice views to manage proposals. Move SpeakerProposal and EventProposal detail template to includes to they can be used from backoffice. Rename our commonmark templatetags so the names are more intuitive. 2018-06-03 15:34:04 +02:00
Thomas Steen Rasmussen 18c33383b7 add url support for speakerproposals and eventproposals, including new models Url and UrlType. Also switch to Django 2.0 path() syntax in various urls.py files getting rid of a lot of ugly regex \o/ 2018-05-23 23:28:27 +02:00