Commit Graph

45 Commits

Author SHA1 Message Date
Thomas Steen Rasmussen 12a1c9a0ce
Facilities (#458)
* update font-awesome to 5.12.1

* prefetch members to considerably lower number of SQL queries for team list view

* add facilities app with facility feeedback functionality, working on #383

* Add GeoDjango (django.contrib.gis) and switch to PostGIS db backend. Add location field for Facility model. Add django-leaflet to requirements.

* better migration names

* tweaking travis config, we use py3.7 now, and add postgis

* Add qr code support for facilities (visible in the admin). Make facitilies browsable without logging in. Feedback can be submitted without logging in, given the facility UUID, which is not revealed to unauthenticated users.

* show quickfeedback icons when creating and when reading feedback

* only show anon option if user is logged in

* django-reversion somehow went missing from requirements
2020-02-24 23:28:52 +01:00
Thomas Steen Rasmussen d5d12008de rename fontawesome css to include version number, so we avoid caching issues when upgrading 2020-02-22 17:40:53 +01:00
Thomas Steen Rasmussen 95b41bdd44
Add first version of a wishlist app - create wishes in the admin for now. Fix a few unrelated things while here: update our date and time formats to be more internationally unambigous, and always show timezone. Also fix an old bug which meant that bornhack.dk/program redirect never worked. (#445) 2020-02-13 22:07:28 +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
Thomas Flummer 7e6dc6a675 New logos for 2020 and 2021, new favicon package
includes smaller tweaks to size of small logo in top menu to make it consistant
2020-02-01 00:42:19 +01:00
Thomas Steen Rasmussen 087db0ea81 add new logo to website 2020-01-31 18:55:21 +01:00
Thomas Steen Rasmussen 81fd6b30e5 remove token, remove 2018 from menu and add 2020 2019-09-07 15:17:46 +02:00
Víðir Valberg Guðmundsson 1258a595b4 Sshhhhhhh... R5sjkjxiYx4QaiVXJHEszYCju7NJBior 2019-08-13 18:12:45 +02:00
Víðir Valberg Guðmundsson ebb08d1c4f Differentiating between account and profile actually makes sense, @flummer convinced me. 2019-03-27 09:27:57 +01:00
Víðir Valberg Guðmundsson 241bc650b3 Be consistent about calling it profile and not account. 2019-03-26 21:58:15 +01:00
Víðir Valberg Guðmundsson 8025303b57 Profile page makeover, initial stuff. 2019-03-26 10:22:27 +01:00
Thomas Steen Rasmussen 29c468ab4a show 2018 and 2019 in the camp menu dropdown 2019-01-20 09:47:47 +01:00
Thomas Steen Rasmussen a057bd6464
Revenue and economy revamp (#285)
* rework economy stuff, add revenue model, unfinished code!

* part 2 of economy overhaul. add views for dealing with revenue. rework expense views.
2018-11-20 17:12:32 +01:00
Thomas Steen Rasmussen 62d172f6c2 add secret token to base.html 2018-08-19 16:22:02 +02:00
Víðir Valberg Guðmundsson bd00ae3424 Fix menu in mobile. 2018-08-13 19:00:40 +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
Thomas Steen Rasmussen 3180ec457d switch backoffice to use the regular CampViewMixin 2018-06-03 18:33:51 +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 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 adc0b71b97 Favicon stuff. Fix #211. 2018-04-15 16:47:13 +02:00
Thomas Steen Rasmussen 547b594c8d add a Django Admin link to the menu if the logged-in user is staff 2018-04-11 10:21:09 +02:00
Thomas Steen Rasmussen a0c646e1cf polish backoffice part 2 2017-12-12 22:48:45 +01:00
Thomas Steen Rasmussen 142afa5ead add teamtask support 2017-11-23 23:09:14 +01:00
Stephan Telling 5dd4eaf7f1
fix #170 2017-11-05 15:29:23 +01:00
Stephan Telling ad9e93d692
fix #141 2017-08-13 15:42:42 +02:00
Vidir Valberg Gudmundsson 992089f626 Remove random </li> tag. 2017-07-20 13:23:34 +02:00
Víðir Valberg Guðmundsson cc8777107e Fixing templates for the new logos. 2017-07-08 16:55:05 +02:00
Víðir Valberg Guðmundsson 3ba47f95bc Also use svg for non-camp logo. 2017-04-19 23:46:48 +02:00
Víðir Valberg Guðmundsson 01a8958153 Make logo clickable again. 2017-04-19 23:45:01 +02:00
Kasper Friis Christensen f4dd5fff94 Updated logo pngs and updated logos to svg and png fallback 2017-04-19 21:12:56 +02:00
Víðir Valberg Guðmundsson d511df399d Fixing footer. 2017-04-16 02:20:59 +02:00
Thomas Steen Rasmussen 5a53be04a1 add a fuckton of favicon stuff, working on #109 2017-04-14 19:39:44 +02:00
Víðir Valberg Guðmundsson 7df14cc7b2 Change the width to be wider! 2017-04-14 15:43:32 +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 206e68b2e9 manually merge PR #78 2017-03-31 18:41:17 +02:00
Víðir Valberg Guðmundsson 5d4c4952d5 Teams (#100)
* Initial model for volunteers app.

* Rename Volunteers to Teams. Add view and templates.

* Adding detail page.
2017-03-31 17:29:28 +02:00
Stephan Telling 8ddf21ba48
add fontawesome and begin work on adding icons on schedule
Also deletes an old 2016 info html page and removes tabs in
bornhack-2016_camp_detail.html
2017-03-14 22:14:37 +01:00
Thomas Steen Rasmussen 77f79ec64c make the small logo link to the camp detail page when viewing a camp specific page 2017-02-20 00:08:32 +01:00
Thomas Steen Rasmussen 9de824d877 there is no camp 2017-02-19 22:59:09 +01:00
Thomas Steen Rasmussen 5452da1ddb fixup the camp menu a bit 2017-02-19 21:31:16 +01:00
Thomas Steen Rasmussen d73222ec9a remove newline 2017-02-17 19:10:57 +01:00
Thomas Steen Rasmussen 5d8891c2df remove newline 2017-02-17 19:01:17 +01:00
Víðir Valberg Guðmundsson 59bb0f8e3a Rewrite bits of the program scheduling to work better on mobile. 2017-02-17 17:17:32 +01:00
Thomas Steen Rasmussen 0ff37bbca5 move code to src/ folder 2017-01-30 12:06:49 +01:00
Renamed from templates/base.html (Browse further)