Commit graph

303 commits

Author SHA1 Message Date
Thomas Steen Rasmussen 1fb4eb7e28 remove help box with status explanations, no room :( 2018-05-20 21:42:11 +02:00
Thomas Steen Rasmussen 84c19d01c1 remove tooltip, add missing update button on speakerproposal detail page 2018-05-20 21:36:33 +02:00
Thomas Steen Rasmussen 4720b34021 link to detail view rather than update view in the tables, shine up the detail views a bit 2018-05-20 21:32:05 +02:00
Thomas Steen Rasmussen 743cf25476 add abstract field for music acts 2018-05-20 21:29:37 +02:00
Thomas Steen Rasmussen 5dc3e17d66 if one or more speakerproposals exist show a list so the user can pick an existing or choose to add a new; use the multimodelform stuff only when the user wants to add a new speakerproposal 2018-05-20 21:11:53 +02:00
Víðir Valberg Guðmundsson 733fdbf4ba Add lists of events/speakers til speaker/event detail template. 2018-05-20 20:53:28 +02:00
Víðir Valberg Guðmundsson c8ab0230cd Add detail view for speaker and event proposals. 2018-05-20 20:29:56 +02:00
Víðir Valberg Guðmundsson b172d678fa Add filter for tracks to the schedule 2018-05-20 20:08:25 +02:00
Víðir Valberg Guðmundsson 03b536ff26 Fix channels consumer for program for the new content flow. 2018-05-20 19:32:51 +02:00
Thomas Steen Rasmussen 039af44a92 new content submission flow monster commit of doom. fixes a large part of #191. Split out /program/ urls into a seperate program/urls.py file in the program: URL namespace. Change call for speakers to call for participation everywhere (I think). Add boolean fields call_for_participation_open and call_for_sponsors_open to Camp model. Switch to font-awesome 5.0.13 and update <i> tags everywhere accordingly. Introduce Tracks so all Events belong to a Track, which in turn belongs to a Camp. Add seperate forms for submitting SpeakerProposals and EventProposals so we can set labels and help_text according to EventType, and remove fields we dont need. Remove Pictures from Speaker and SpeakerProposals, it was almost never used, and was a lot of code/complexity. Remove a few PROPOSAL_STATUS namely DRAFT and MODIFIED_AFTER_APPROVAL to simplify the workflow for submitters. Add description, icon and host_title fields to EventType. Add a CombinedProposalSubmitView which allows users to submit a SpeakerProposal and EventProposal from the same page, introducing a new requirements.txt dependency for django-betterforms==1.1.4. Update bootstrap-devsite to match the new reality. 2018-05-20 18:16:20 +02:00
Víðir Valberg Guðmundsson 280dd5785f Adding the compiled version of the schedule without speaker pictures. 2018-05-06 22:10:20 +02:00
Víðir Valberg Guðmundsson 91519e8b43 Remove speaker pictures from schedule. 2018-05-06 22:09:19 +02:00
Stephan Telling 3bc9c36cb0
improve 2019 call for speakers page 2018-05-06 15:11:10 +02:00
Stephan Telling c67feb3d34
add boilerplate for 2020 camp 2018-05-06 15:10:02 +02:00
Víðir Valberg Guðmundsson 2eea0acf0e Woops, wrong model. Fix #179. 2018-04-15 19:45:34 +02:00
Víðir Valberg Guðmundsson 5e6ff4e76f Fix #179. 2018-04-15 19:44:14 +02:00
Víðir Valberg Guðmundsson 969e737d3e Add missing migrations (non db stuff). 2018-04-15 19:30:32 +02:00
Víðir Valberg Guðmundsson 4d6caf6947
Merge branch 'master' into django-and-channels-upgrade 2018-04-13 11:19:48 +02:00
Thomas Steen Rasmussen edcf363027
Merge teamcomms branch. Refactor team app and add events app.
* Primary commit towards improved team communications. Add new events app to handle team notifications when various events happen, with a Type model which contain event types and a Routing model which controls routing of events to teams. Add shortslug for Camp and Team models. events.handler.py contains the code for sending irc and email notifications for teams. The first two eventtypes have been added in datamigrations, 'ticket_created' and 'public_credit_name_changed', and the tickets and profile apps have been adjusted accordingly. Team IRC channels can be marked as managed and if so the IRC bot will register the team channel with ChanServ if possible. Team IRC channels can be marked as private and the bot will set invite only and maintain an ACL with team members. Users can set their NickServ username in their profile to get on the ACL. Rework all team views and templates. Remove TeamArea model and make Team have an FK to Camp directly. Add docstrings a whole bunch of places. Move signal handlers to apps.py and signal_handlers.py in a few apps. Add basic team mailing list handling, more work to be done. Update bootstrap-devsite script to add more teammembers and add some team event routing for the two eventtypes we have.

* default to the console backend for email unless we specifically ask for realworld email

* fix signal for public_credit_name approval irc message

* fix name display on /people/ page

* fix the text on people pages when all non-responsible team members are anonymous

* handle cases where we fallback to the area responsible properly

* readd removed property, it is used in team_detail view

* make it possible to filter profiles by public_credit_name_approved

* add method for sending IRC messages in ircbot.utils.add_irc_message(), extend periodic bot method to do more than check for outgoing messages so rename it, refactor chanserv and nickserv handling code, create methods to check and join/part IRC channels as needed, maintain channel ACLs for private channels, do not autojoin any channels when instatiating the bot instead rely on the new check_irc_channels() method to join them, rename profile presave signal, add checking for changed nickserv usernames for acl handling, add teammember.irc_channel_acl_ok boolean to track ACL state, add missing help_text properties to TeamMember fields, rename teammember postsave signal, add teammember deleted signal, readd wrongly deleted EnsureTeamMemberResponsibleMixin

* add a few missing early returns
2018-04-09 23:11:05 +02:00
Víðir Valberg Guðmundsson aae3d7e3c9 Got channels2 working. 2018-04-03 20:52:39 +02:00
Víðir Valberg Guðmundsson ff758b15ff Initial work on uprading. 2018-04-03 18:44:10 +02:00
Thomas Steen Rasmussen 03fc20a459 add missing migrations after cleanup and adding of on_delete to all foreignkeys 2018-03-18 09:07:34 +01:00
Stephan Telling df5e167376
add on_delete to all foreignkeys 2018-03-04 16:26:35 +01:00
Stephan Telling f9ba48ddfb cleanup in program/ 2018-03-04 16:00:30 +01:00
Reynir Björnsson 68cba4659a Add event abstract to iCal
Testing, what is testing?!
2017-09-02 00:50:45 +02:00
Vidir Valberg Gudmundsson 385e98d84f Use | as delimiters. 2017-08-22 13:05:49 +02:00
Vidir Valberg Gudmundsson 0cdee23b30 Very basic CSV "export" 2017-08-22 13:00:42 +02:00
Vidir Valberg Gudmundsson 0edcaeb11e Adding inital version of program control center. 2017-08-22 11:48:51 +02:00
Vidir Valberg Gudmundsson 6a413cdd3c Fix too long event titles in day view. 2017-08-21 08:45:05 +02:00
Thomas Steen Rasmussen 086578d3b8 show on event list when and if it has any instances 2017-08-19 20:44:07 +02:00
Vidir Valberg Gudmundsson 5c9e5482f5 Really fixing bordering events this time. 2017-08-16 22:39:48 +02:00
Vidir Valberg Gudmundsson 99fa18c14d Fix events right up to each other. Unstick sidebar on event detail. 2017-08-16 21:10:27 +02:00
Vidir Valberg Gudmundsson 93ed88d641 Compile! 2017-08-16 19:58:26 +02:00
Vidir Valberg Gudmundsson 25eb491f24 Adding compiled version without debug. 2017-08-16 19:42:20 +02:00
Vidir Valberg Gudmundsson 08279a479a Latest compiled version with debug. 2017-08-16 18:30:02 +02:00
Vidir Valberg Gudmundsson bd1d139d2d Fixing ICSView. 2017-08-16 18:30:02 +02:00
Vidir Valberg Gudmundsson 27a4ff0bbb Comitting latest compiled version 2017-08-16 18:30:02 +02:00
Vidir Valberg Gudmundsson d44ef3bbd8 Adding small indicators of the number of events instances for the different filters. Resulted in some cleanup as well. 2017-08-16 18:30:02 +02:00
Vidir Valberg Gudmundsson 5ce2a59036 Adding lates compiled version. 2017-08-16 18:30:02 +02:00
Vidir Valberg Gudmundsson d4d7fad439 Cleanups. Adding Speaker detail. 2017-08-16 18:30:02 +02:00
Vidir Valberg Gudmundsson a447ca476f Working on event detail. Also small visual help in DayView. Also some favorite stuff. 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson c237d4ecc7 Adding a back buton on event detail if noscript. 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson 084d2cee6b Addin the missing template for noscript fallback. 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson 3411aee34a Make a noscript fallback version of the schedule. 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson d77564064f Adding compiled version with debug enabled. 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson 7abd35ab66 Fixing websocket url. 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson e103cb57b5 Pushing compiled and minified version with debug enabled for staging purposes. 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson a938f2406f Filtering by video recording is now possible. Also show video recording states. 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson 4279653fcb Differentiating between data is too cumbersome, so now we just load everything on start. Think about optimizing later! 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson 23d94145b7 Detail pages are for events. We now also load event data when accessing a detailpage directly. 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson e8c0ab1941 Organized the code in a more sane manner. Also some websocket work. 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson 9b36959057 Remove that javascript garbage. 2017-08-16 18:27:28 +02:00
Vidir Valberg Gudmundsson ebf4526425 Woops, no need to commit compiled version yet. 2017-08-16 18:26:49 +02:00
Vidir Valberg Gudmundsson db14e7d80e Replace schedule_overview.html with schedule_overview_elm.html. 2017-08-16 18:26:49 +02:00
Vidir Valberg Gudmundsson b49a0ad556 Accomplished feature parity in filtering. 2017-08-16 18:26:49 +02:00
Vidir Valberg Gudmundsson a6470d2ec9 Initial work on the schedule written in elm. 2017-08-16 18:26:49 +02:00
Stephan Telling 973bdc575c
fix 144 2017-08-14 18:58:19 +02:00
klarstrup 5ff0289d6f Add href attribute to event link 2017-08-06 21:09:43 +02:00
Thomas Steen Rasmussen c5d7caf3fc better description for formfield 2017-08-01 15:28:04 +02:00
Thomas Steen Rasmussen 036fcf67ef add missing migrations from whatever 2017-08-01 15:26:36 +02:00
Thomas Steen Rasmussen 222da21e7f add some text describing how to propose stuff 2017-08-01 15:23:11 +02:00
Thomas Steen Rasmussen aa5eb1f904 fix bug that made all speakers and eventtypes visible when modifying an event proposal 2017-07-31 22:05:44 +02:00
Thomas Steen Rasmussen 9b44d9d451 fix a typo 2017-07-31 18:28:13 +02:00
Stephan Telling 56fc0b4db6
allow users to change the state of allow_video_recording when updating 2017-07-19 15:18:45 +02:00
Stephan Telling d4ba512920 fix clean method for eventinstance
You can no longer save eventinstances where the camp year doesnt match
for its location and event.
2017-07-15 18:16:52 +02:00
Vidir Valberg Gudmundsson 5b1d1c79e9 Fix error where everything looks like it has a video. 2017-07-15 18:16:27 +02:00
Vidir Valberg Gudmundsson c5ae8f4d6e Revamp schedule code and fix #128. 2017-07-15 17:58:53 +02:00
Stephan Telling 1a3e1088f7
delete event if speakers arent approved or created 2017-07-15 17:17:19 +02:00
Stephan Telling 05946d065b
fix issue with approving eventproposal with unapproved speakers
This commit fixes some issues around approving eventproposals with no
speakers attached or unapproved speakers attached.
2017-07-15 16:48:30 +02:00
Stephan Telling b60d8fb9a8 fix #135 2017-07-15 15:57:31 +02:00
Stephan Telling 9866149636
fix event proposal emails, name -> title 2017-07-14 11:03:35 +02:00
Stephan Telling 8b000d8dae
fix string formatting of uuid for irc message 2017-07-13 21:18:57 +02:00
Víðir Valberg Guðmundsson 471e260380 Fixing width on speaker image. 2017-07-12 15:49:52 +02:00
Víðir Valberg Guðmundsson 026324802b Make locations distinguishable 2017-07-12 11:36:23 +02:00
Víðir Valberg Guðmundsson 734c810cff Making EventLocations a bit more usable. 2017-07-12 11:07:11 +02:00
Stephan Telling 3ef4094e94 Merge branch 'master' of github.com:bornhack/bornhack-website 2017-07-11 23:15:31 +02:00
Stephan Telling 78c4f14048
fix irc message for proposals 2017-07-11 23:14:30 +02:00
Stephan Telling 534a2d790d
add missing migration 2017-07-11 23:14:05 +02:00
Thomas Steen Rasmussen 8fd7f4c813 unfuck migrations maybe 2017-07-11 22:57:26 +02:00
Thomas Steen Rasmussen 533c1b3efa add initial people stuff 2017-07-11 22:50:31 +02:00
Stephan Telling f4a2f6cea6
add irc messages when new event- or speakerproposals are created 2017-07-11 22:29:06 +02:00
Stephan Telling c02598bfde
fix link in event proposal email 2017-07-11 22:20:53 +02:00
Stephan Telling fcd85f680a
fix #133
An email is now sent when a new speaker- or eventproposal is created and
when any such is updated.
2017-07-11 22:02:19 +02:00
Thomas Steen Rasmussen bded5d8192 field is called allow_video_recording in EventProposal 2017-07-11 05:24:08 +02:00
Víðir Valberg Guðmundsson 65a085b3ab Output event instance datatimes as timezone. 2017-07-10 12:57:35 +02:00
Víðir Valberg Guðmundsson c313397def Fix video alert in event modal. 2017-07-10 12:50:15 +02:00
Stephan Telling b9fcd841f7 Merge branch 'master' of github.com:bornhack/bornhack-website 2017-07-09 21:26:20 +02:00
Stephan Telling 6744ee1959
add field to allow video recording on event proposal 2017-07-09 21:24:25 +02:00
Víðir Valberg Guðmundsson c32d4aee82 Filter proposals. 2017-07-09 17:00:44 +02:00
Thomas Steen Rasmussen 38d8c25775 fix argument name 2017-07-09 16:54:21 +02:00
Thomas Steen Rasmussen 4f0de99ea2 fix bug in speaker<>camp relationship validation in signal handler 2017-07-09 16:48:02 +02:00
Víðir Valberg Guðmundsson 034543595a Fix error in consumer when camp matching query does not exist. 2017-07-09 16:37:19 +02:00
Víðir Valberg Guðmundsson b27bac8500 Fix error hvor speaker will be added every time a modal is opened. 2017-07-09 16:12:10 +02:00
Víðir Valberg Guðmundsson a32f04548c Adding icon which shows is an event will be recorded or not. 2017-07-09 16:07:59 +02:00
Víðir Valberg Guðmundsson 624ae872a3 Add filtering for events 2017-07-09 15:48:29 +02:00
Víðir Valberg Guðmundsson aa29480498 Apply filtering to ICS button. 2017-07-08 23:00:54 +02:00
Stephan Telling 32651eafa7
add initial files for 2019 2017-07-08 20:16:58 +02:00
Stephan Telling 3141e8f588
add missing import, remove unused import and minor changes 2017-06-05 14:52:59 +02:00
Stephan Telling 1bfe068d77
add 2018 templates 2017-06-04 13:42:23 +02:00
Thomas Steen Rasmussen 903b214d86 do not make all checkboxes in the world invisible 2017-05-23 23:11:32 +02:00
Thomas Steen Rasmussen 12dbc05680 add missing migration for program 2017-04-30 14:12:23 +02:00
Víðir Valberg Guðmundsson 5ef3e79b38 Making day menu responsive. 2017-04-29 14:58:21 +02:00
Víðir Valberg Guðmundsson 521d3c9c71 Fix type filter. 2017-04-29 13:21:06 +02:00
Víðir Valberg Guðmundsson c32cde780a Adding icons 2017-04-29 12:23:10 +02:00
Víðir Valberg Guðmundsson c845dca950 Now with support for days! 2017-04-27 00:23:03 +02:00
Víðir Valberg Guðmundsson 30c56afb83 Small esthetic fix. 2017-04-21 19:13:44 +02:00
Víðir Valberg Guðmundsson 13631eac93 Now also mark the filters accordingly to URL. 2017-04-21 19:09:46 +02:00
Víðir Valberg Guðmundsson 0dc10d3f95 Support parameters in the URL again. 2017-04-21 18:33:25 +02:00
Víðir Valberg Guðmundsson 60cf09b172 Making checkboxes more nice. 2017-04-21 15:02:20 +02:00
Víðir Valberg Guðmundsson 9fb372e114 Highlight "All days" when selected 2017-04-21 14:07:39 +02:00
Víðir Valberg Guðmundsson 3122092326 All filters should be checked on start. 2017-04-21 11:28:22 +02:00
Víðir Valberg Guðmundsson e36eb17ac8 Removing all those console.log's 2017-04-21 01:37:43 +02:00
Víðir Valberg Guðmundsson 9071a9c524 Revamping filtering big time! 2017-04-21 01:34:22 +02:00
Víðir Valberg Guðmundsson f5018613f0 Fixing overview. 2017-04-19 23:15:06 +02:00
Víðir Valberg Guðmundsson f7749adb23 Adding modals and websockets to day view. 2017-04-19 22:37:30 +02:00
Víðir Valberg Guðmundsson f96c8b6db5 Show speakers in the modal. Also removed favorite action when anonymous. 2017-04-17 20:29:59 +02:00
Víðir Valberg Guðmundsson 68aa108310 Adding favoriting to the schedule. 2017-04-16 02:10:45 +02:00
Víðir Valberg Guðmundsson cad2b468e4 Only create the modal if it does not exist. 2017-04-15 19:43:30 +02:00
Víðir Valberg Guðmundsson 8000896f3d Adding channels with the schedule as first app using them. 2017-04-15 19:35:18 +02:00
Víðir Valberg Guðmundsson 4f6e6bcd3f Adding modal for events for better userinterface. 2017-04-14 23:29:40 +02:00
Víðir Valberg Guðmundsson 431c15e380 Adding right headers for ics view. 2017-04-13 14:14:44 +02:00
Víðir Valberg Guðmundsson ac39068e9b Filter events by camp. 2017-04-13 14:01:50 +02:00
Víðir Valberg Guðmundsson 898f5aa3ef Reducing text 2017-04-13 13:53:52 +02:00
Víðir Valberg Guðmundsson 222b995766 Adding ics button, also some ScheduleView refactor. 2017-04-13 13:42:14 +02:00
Víðir Valberg Guðmundsson 5e322472e2 Refactored ics code and added filtering. 2017-04-13 11:48:55 +02:00
Thomas Steen Rasmussen ca8661ce4d hide new speaker proposal and new event proposal buttons when call for speakers is not open, fixes #105 2017-04-11 14:13:43 +02:00
Thomas Steen Rasmussen a71cd34f1f make some links on the call for speakers relative and fix some wording 2017-04-10 17:06:58 +02:00
Thomas Steen Rasmussen 182ec6fef4 wording 2017-04-09 17:52:41 +02:00
Thomas Steen Rasmussen e2037f929a remove message when there is no speakers 2017-04-09 17:51:20 +02:00
Thomas Steen Rasmussen 0d7ec82f35 show call for speakers button always 2017-04-09 17:49:44 +02:00
Thomas Steen Rasmussen e91e181c57 add 2017 call for speakers 2017-04-09 17:45:02 +02:00
Thomas Steen Rasmussen 0dc1ca9704 rework team stuff 2017-04-02 18:04:57 +02:00
Víðir Valberg Guðmundsson 2864593b00 Moving some menus around. 2017-04-01 21:45:43 +02:00
Thomas Steen Rasmussen 35f22bdb71 adapt ics code to work with eventinstances instead of the old event.days system 2017-03-31 19:42:10 +02:00
Thomas Steen Rasmussen 33689c5270 fix a few ics related things, move ics functions to seperate file 2017-03-31 19:33:19 +02:00
Thomas Steen Rasmussen 3cc2f21bfb hand merge and commit PR #76 2017-03-31 19:25:48 +02:00
Thomas Steen Rasmussen 9e3ed81731 fix pictures 2017-03-30 00:20:14 +02:00
Thomas Steen Rasmussen cbd6457947 fixup the event list a bit, fixes #90 2017-03-26 15:05:29 +02:00
Thomas Steen Rasmussen 171553677c fixup logging 2017-03-23 18:32:13 +01:00
Stephan Telling 2c28e22f34
move fa-select css to bornhack.css 2017-03-19 18:13:38 +01:00
Thomas Steen Rasmussen 66f7b7ec2e fix CFS open mixin 2017-03-18 16:33:48 +01:00
Thomas Steen Rasmussen dd23490c01 add mixin to prevent adding and editing user submitted speaker and event proposals 2017-03-18 16:22:16 +01:00
Thomas Steen Rasmussen 5bc4edf991 deny changes to Speaker and Event proposals when call for speakers for the camp is not open 2017-03-18 16:19:40 +01:00
Thomas Steen Rasmussen b151192d02 refactor some of the common image code into a PictureViewMixin, and make pictures work with the devserver 2017-03-17 19:40:47 +01:00
Thomas Steen Rasmussen c532dac146 right align 'manage proposals' button 2017-03-17 17:58:29 +01:00
Thomas Steen Rasmussen a715cba597 add admin commands to approve speaker and event proposals 2017-03-16 00:30:59 +01:00
Thomas Steen Rasmussen 9997897160 a bit more work on location icons 2017-03-15 21:54:57 +01:00
Thomas Steen Rasmussen 2515c08d97 add planet icon for all locations 2017-03-14 23:32:40 +01:00
Thomas Steen Rasmussen 3d5c9a9508 add help text for icon field 2017-03-14 23:25:37 +01:00
Thomas Steen Rasmussen 9632cc3ec7 add icon unicode hex for eventlocations in bootstrap script 2017-03-14 23:24:05 +01:00