summaryrefslogtreecommitdiff
path: root/postgresqleu/confreg/docsviews.py
AgeCommit message (Collapse)Author
2019-01-28Restructure documentation URLs and locationMagnus Hagander
Instead of only supporting docs of /confreg/, support docs of the other parts of the system as well. To make this clena, move all the docs to /admin/docs/. Remove the conference specific header, as it complicates things a lot for no real gain.
2019-01-04Fix sibling importsMagnus Hagander
Sibling imports should be prefixed with a period. Good idea in py2, will eventually become required in py3, so another small step.
2018-12-15Move get_authenticated_conference to util.pyMagnus Hagander
This gets rid of a somewhat nasty circular import in backendviews.
2018-12-14Fix blankline related warningsMagnus Hagander
2018-12-14Replace tabs with spacesMagnus Hagander
In an effort to close up with PEP8, we should use spaces for indent rather than tabs... Time to update your editor config!
2018-12-12Implement system skinning, remove pgeu dataMagnus Hagander
System skinning allows a "merged view" of the core code with that of a "skin". A skin represents the local deployment, such as "PostgreSQL Europe". Individual conferences are still skinned individually on top of this. As part of this, remove all PGEU website specific content, as that is now moved to the PGEU specific skin. Also removes the cmutuel application module as nobody outside PGEU needs this. Update the global templates to remove mentions of PostgreSQL Europe, and let PGEU override those templates as necessary. Front page template just becomes an empty placeholder, and is expected to always be overridden. Makes several more modules configurable by setting ENABLE_NEWS, ENABLE_MEMBERSHIP and ENABLE_ELECTIONS (we already had ENABLE_BRAINTREE). And finally, update the devsetup to be a bit more correct and also to set up an uwsgi ini file to use for local testing. Still lacking documentation and a few small parts are still PGEU hardcoded, so some follow-up patches to come.
2018-11-17Implement conference series permissionsMagnus Hagander
This adds the concept of an administrator at the conference series level. An administrator of a series will: 1. Automatically be administrator on all conferences in the series 2. Have access to time based reports for the series 3. Have access to cross-conference email for the series In passing, update the time based report template to use the newer styling, and make it possible to resize the graph with drag/drop. This also changes the list of available conferences in time reports to be grouped by conference series, and removes the client side filtering (since it's now much easier to just shift-click an entire series, which was really the usecase for the previous filter).
2018-07-09Basic documentation for confreg systemMagnus Hagander
This adds basic contextual aware documentation to the confreg system (sponsorship system not yet included, but will be at some point in the future). A help link is added to the top right part of the navigation bar, which links to (potentially context aware) help pages. Docs live in markdown format in the repo and are rendered as django views, inside the framework. Graphs that are used are generated using graphviz, but checked into the repo both as .dot and as .svg to not make graphviz a dependency for anything other than actually changing the graphs. The docs view in django basically does the markdown rendering straight up but also knows how to inline the svg graphs specifically.