Commit graph

63 commits

Author SHA1 Message Date
Stephan Telling 3acab3f08c
Merge pull request #203 from bornhack/st/on_delete-foreignkey
add on_delete to all foreignkeys
2018-03-04 16:34:42 +01:00
Víðir Valberg Guðmundsson f8c86cac31 Should be team_slug, not slug (#201) 2018-03-04 16:34:10 +01:00
Stephan Telling df5e167376
add on_delete to all foreignkeys 2018-03-04 16:26:35 +01:00
Stephan Telling bc042a1755
add self to fix reference to team responsible 2018-03-04 15:22:13 +01:00
Thomas Steen Rasmussen bd32595783 remove unneeded imports from teams app 2018-03-04 14:42:57 +01:00
Thomas Steen Rasmussen fe4e47edb0 add a related_name for the camp relation for TeamArea, and a teams property to Camp model to make it easier to get all teams under all teamareas, also add exclude=None to the validate_unique call in our CleanedModel class 2018-03-04 12:48:35 +01:00
Thomas Steen Rasmussen 60c4bb49fb Create new CampPropertyListFilter based on admin.SimpleListFilter to use for admin filtering of CampRelatedModels where self.camp is a property instead of a real field. Change the Team models camp field to a property, and make the Team model use the new CampPropertyListFilter in the admin. Change the BaseTicket model to being a CampRelatedModel and add a camp property, also, while here move ticket_created signal to signals.py, connect it in apps.py and rename it to ticket_updated. Change Sponsor model to being a CampRelatedModel and add a camp property. 2018-03-04 12:04:07 +01:00
Víðir Valberg Guðmundsson 22da1cd268 Only responsible people should see the edit task button. 2017-11-25 13:26:09 +01:00
Thomas Steen Rasmussen 4dab2c1a4f create and edit tasks 2017-11-25 13:02:32 +01:00
Víðir Valberg Guðmundsson c20771da8a Fixed some stuff for ya' @tykling 2017-11-24 22:19:17 +01:00
Thomas Steen Rasmussen f725a5c941 more work on tasks 2017-11-24 22:06:23 +01:00
Thomas Steen Rasmussen 142afa5ead add teamtask support 2017-11-23 23:09:14 +01:00
Stephan Telling 756c90d2fb
filter team areas by camp 2017-08-13 17:21:00 +02:00
Stephan Telling f348566214
fix #139 2017-08-13 11:43:28 +02:00
Thomas Steen Rasmussen 9a47622bc6 a few small fixes to team pages 2017-07-11 23:32:56 +02:00
Thomas Steen Rasmussen 533c1b3efa add initial people stuff 2017-07-11 22:50:31 +02:00
Stephan Telling a67f9ee4a5
add mailing_list email field on team model 2017-07-11 19:39:43 +02:00
Thomas Steen Rasmussen dd736066f7 fixup the team pages a bit, column names and stuff 2017-05-25 19:56:34 +02:00
Thomas Steen Rasmussen f4b2e55478 use name from profile not name from user 2017-05-25 17:36:20 +02:00
Thomas Steen Rasmussen 9bc9ed1ef7 hide <th> when no buttons, add ? to headline 2017-05-24 08:02:33 +02:00
Thomas Steen Rasmussen 0007e5424c split team management into seperate page, fix a few small things 2017-05-24 07:49:32 +02:00
Stephan Telling a0a8d65f34
add missing import 2017-05-23 22:28:21 +02:00
Stephan Telling e7c3b264f4 Merge branch 'master' of github.com:bornhack/bornhack-website 2017-05-23 22:25:35 +02:00
Stephan Telling 79bf459659
send emails for approve/remove actions in team manage 2017-05-23 22:25:06 +02:00
Thomas Steen Rasmussen 96a9f9d4e8 show name from profile 2017-05-23 22:21:48 +02:00
Stephan Telling 49bfc58dda Merge pull request #127 from bornhack/develop
fix #123
2017-05-23 22:09:27 +02:00
Stephan Telling 93fdfd5712 add approve action 2017-05-23 22:02:36 +02:00
Thomas Steen Rasmussen f5b612cf0c add member remove button 2017-05-23 22:02:10 +02:00
Thomas Steen Rasmussen 916dba52c1 add member remove button 2017-05-23 21:21:47 +02:00
Stephan Telling 167ec6cd90
Merge branch 'develop' of github.com:bornhack/bornhack-website into develop 2017-05-21 23:12:03 +02:00
Stephan Telling 469b708782 Merge pull request #124 from bornhack/emailworker
add emailworker for async emails
2017-05-21 22:37:56 +02:00
Stephan Telling febecc137d
rename send email to add email and log on error 2017-05-21 20:15:27 +02:00
Stephan Telling 6a98ee3564
use a list for recipients rather than a string 2017-05-21 18:06:45 +02:00
Stephan Telling 06a24c5899 make manage page part of detail page 2017-05-21 16:06:34 +02:00
Stephan Telling 3395fe8bd5 start work on #123 2017-05-21 16:06:34 +02:00
Stephan Telling 73eaf5bae4
fix title in team_leave.html 2017-05-12 11:28:09 +02:00
Stephan Telling 3f21422057
start work on #123 2017-05-07 17:55:31 +02:00
Stephan Telling 1f4df68304
add outgoingemail model, add mailhelper function and worker 2017-04-23 22:04:58 +02:00
Thomas Steen Rasmussen 5c4487d513 send email to team responsibles, not to the person joining the team 2017-04-22 00:23:12 +02:00
Thomas Steen Rasmussen 1b8d17e77f forgot to change a place 2017-04-20 00:49:36 +02:00
Thomas Steen Rasmussen f62f91d0c3 change admin action to approve membership 2017-04-20 00:46:40 +02:00
Stephan Telling 49d4f74472
redo email for shop and edd email for team app 2017-04-18 20:46:57 +02:00
Stephan Telling 033ec1b8b5 add membership status on team detail and list view 2017-04-14 16:16:00 +02:00
Stephan Telling 6bc0d57a52 add admin actions to add/remove users from teams 2017-04-14 16:16:00 +02:00
Thomas Steen Rasmussen f33a9393c0 hide area from team list 2017-04-13 18:50:16 +02:00
Thomas Steen Rasmussen 1b6d965a75 add volunteer profile, fixes #116 2017-04-13 17:44:46 +02:00
Thomas Steen Rasmussen 809e22311d more work on the wording on the team list page 2017-04-08 10:14:06 +02:00
Thomas Steen Rasmussen 5a4da9bdff more work on team templates 2017-04-08 10:09:06 +02:00
Thomas Steen Rasmussen a16c6c4ba3 small template change to team list 2017-04-08 09:58:16 +02:00
Thomas Steen Rasmussen 5431ff1852 remove member? column 2017-04-08 09:57:00 +02:00