- Switch from dataTable (returns a jquery object) to
DataTable (returns a DataTables API object)
- Update versions of libraries
Doesn't quite work, needs the full version of jquery rather than the
slim version.
Support so print can print only important text.
SVG modified to use display:inline/none based on overlay True/False and
a symlink to make it easy to change to a completely seperate svg if that
is not optimal.
SVG added layers to split text and graphic so graphics can be easily
hidden and printed.
Closes: #38
- The schedule grid page is ridculously database-query heavy and hence
terribly lacking in perfmantitude.
- Caching can help with this, but the caching implemention at present
is not user-aware. If one user looks at the page, they'll get a
"YOU" in all the places they're chair and something else everywhere
else - and then everyone will see that for the next 600 seconds,
then YOU will become someone else
- to avoid this, remove the request.user-specific bit of the template
- Use the first template in the system
- If there's no template, use /tickets/review as it at least gives
- people an overview of what they've paid for and warns them of
missing categories
* Switch to showing the PNG version by default, as this reflects what
will actually be rendered and sent to the printer
* Include the greyscale filter
* Include the twemoji font we'll use for rendering the badges
In the narrow view, lots of details that aren't in the normal view
appear to compensate for not having clear row/column headers any more.
However, all the detail can look very same-same; this tweak makes rooms and end times more distinct.
Session chair info is made always italic, and a label is added to make
it clear that this person is not the speaker.
* Adds session_detail page
* Adds session chairing information to the schedule grid
* Adds session_list.html
* Nicer volunteer text
Conflicts:
pinaxcon/templates/symposion/schedule/_grid.html
Conflict and migration performed by Sachi King <nakato@nakato.io>
Emoji changed, lca2017_tags to lca2018_tags, remove needless dependency
on django-user-account, use request instead like the remainder of the
calls n the template do anyways.
Remove blocktrans from a number of texts as they break {{ templating }}
and we don't translate anyways.
Modified-by: Sachi King <nakato@nakato.io>
- there's no btn-default, switch that to btn-primary
- consistently use info for standby, primary for undecided, success
for accept and warn for rejected
I've looked through the database and I can't find any accepted
proposals that actually contain anything to linkify - but I've had
several requests from people that I think are reasonable, things like
being able to link to their project (we ask them to provide a project
url but we don't use that link)
This seems like a reasonably fast way to let those people add a
link. We still have to manually accept changes to their proposal so we
have a chance to look at the content of the url if we want.
The urlize filter adds rel=nofollow to the link automatically.
* Company names had a misspelled filter and weren't being displayed
* Add some conditional logic so that company names don't get shown for
hobbyists or students
* Add a greyscale filter to text for more accurate preview
* Always default to SVG preview as it's the most accurate (cairo
doesn't do a great job of handling custom fonts when it converts to
png/pdf)
* Always use roboto font.
* Undo some of the debugging done early in this series of patches
* Add ability for a user to preview their own badge
* Add a template for the LCA2018 badge
I can't find the form that should be displayed here, so the simplest
thing I can do at 11pm is to make this a link. That's unsatisfying but
hopefully works.
* HTML5 browsers have some clevers to do client-side validation of
forms
* Django activates this by default for certain field types
* However, in this case, there are three forms on this page. We rely
on two of them being invalid in order to figure out what processing
to do.
* So we need to disable the client-side validation.
Old code was initialising the dataTable twice - once in the parent
block and once in the child. This doesn't actually work and just
caused errors.
Switch to only initializing it once. Unfortunately this creates
copy-pasta :(
* Audience is visible on review details, but not the list. Perhaps
useful for cases where reviwer wishes to only review for a
particular audience. This change adds audience to the list view.
* Format is not visible anywhere. This changes adds it to list and
detail views for the reviewers.
This change also adds some buttons to control visibility of the new
columns.
* The base model requires a value here
* But we aren't using one; so there's none on the form
* This change supplies a custom enumeration that's specific for this
particular model, which has one value, which is a default value,
which simply says that the field is N/A
* This does mean that when viewing or reviewing the proposal one sees
the Target Audience field, but it will say N/A.
* Testing has shown that this does not affect the other types which
descend from the base Proposal class; they still use the default
enumeration.
* "return to dashboard" throws away changes, so change the label to
"cancel" to make this more clear.
* "Save profile" is probably the button you're looking for, so flag it
as btn-success to make this clear.
A big complaint from 2017 was that people overlooked things like
shirts and dinner tickets as those are complimentary, so they assumed
they didn't need to choose them.
This change adds some labels and some explanatory text to try to make
this more clear.
"Next" is green, indicating that it's the default path, the way
forward. "Back" is available but blue.
For extra consistency, the initial "Get ticket" button is now also a btn-success
Shouldnt be neccessary, template loader should be finding the template provided by the installed app.
but it's not, and I want rego to go live today, so here we go.
One day when things are nice this commit can be reverted and I will be crying a little less on the inside.
I think this removes most references to "hobart", "pycon", and "2017"
There are still some references to some images that we don't have a
replacement for.
Only want to show this once - not once per invoice.
It's not something most people will need to use so it doesn't need to
be a button. Restyle it to be a link
An errant ``{% if pending %}`` meant that we were only showing paid
and cancelled invoices - and the ability to buy new products - if
there was currently a pending invoice.
This change remove the errant check and allows for anyone with a paid
invoice to inspect it; or to add products.
* Remove the outdated compiled javascript once again
* Update the sitetree_header template to use more detail.
The extra detail here is taken from the menu_bootstrap3.html template
distributed with django-sitetree
Flagging this as a review table means we get sorting, pagination, and
search. Much awesome, esp when we want to do this like "show me all
the ones that haven't been notified yet"
* This reference was added in the very distant past
* But jquery.history.js itself has never been in the repo
* pyconau-2017 team resolved the dilemma but dropping
jquery.history.js into the repo
* But as near as I can tell, this does nothing except in obsolete
older browsers. The fact that it's been broken ever since it was
"added" is highly suggestive of it never having ever been used or
needed
* So, trim the fat. It's possible that this might break an older
browser that needs the functionality jquery.history.js provides -
except that such a browser would *already* be broken because
jquery.history.js has never actually been around to be used.
* If we ever do need this functionality, we can revert this
change.. and then we'd have to drop in jquery.history.js. In that
circumstance,
https://github.com/pyconau2017/symposion/commit/34bc7c0 may be of interest.
Remove in-app stale resources and their branching of different cons.
Remove dist and move everyting into static/src.
Remove unused stale resouces such as less and hbs, etc.
The bootstrap renderer did not do anything to signify required rows. We
can do this by adding a class for CSS to work on, and add this field in
a more simplified manner.
label-required == append ' *'
Boot custom CSS, and put some base, standard css in its place.
Shame I did not start with fresh Bootstrap4, but oh well.
Some more templates could be made to make this less messy, which would
be good.
This removes images, and giant headers, and makes the text - not white.
The next layer down in CSS is blue, so that's it for now.
This helps understand what's on the page visually, so this, at the
least, make testing easier for now.
This should eradicate wagtail from the project.
While wagtail may be nice, our goals are to keep all things public, and
having things locked behidn a DB is congruent to that plan.
All in all, the django project only leveraged a single wagtail feature,
"richtext" which has been hacikly removed and will result in bad display
of however it comes up. But this is on homepage.html, which will be
removed and covered up with a static website, which means we should be
able remove homepage entirely from this project.
This reduction hopefully makes the monolith easier to understand,
maintain, and wield.
Boxes takes content directly from the DB and drops it into the django
templates. This is rather ugly and goes against keeping as much as we
can in static locations. As such, this is being dropped.
Removed additional (and completely superfluous) styling in app.css that was otherwise making
our site look gluggy.
Mod'd fixtures (and updated db) to reflect PyCon rather than PinaxCon.
Nearly there. Much rubbish / cruft ripped out of site_base.html and content_page.html.
Had to modify cms_pages/models.py to accommodate a "simple" layout option in the homepage
editor.
Still some stuff to do. Styling not quite there yet, but want to checkpoint this.
* Adds schedule fragment script
* removes spurious logging
* Displays the right tab on DOM load.
* Load today’s schedule if we’re during the conference.
* remove TODO
* Optional track name with room name on schedule, access schedule by day eg /schedule/?day=Monday
* Changed to using a Track model rather than a char field
* Updates settings and requirements
* First pass at attendee profile
* Imports the registration templates; defines attendee profile models etc.
* First pass at themeing the registration form.
* First page of the registration form: done!
* Makes form validation nicer
* Adds populate_inventory
* Improves the additional items page
* Allows for rendering of formsets.
* Adds support for formset extending.
* Removes formset delete buttons
* Review page is LCA-ified
* Fixes some formset behaviour
* Fixes urls.py
* LCA-ifies product_category.html
* Invoices
* Credit card payments
* s/register/tickets/
* Show registration features only whilst products are available (think about this better, later)
* Updates the attendee profile form page
* Form tidy-up
* Makes it so that address info is copied from attendee profile to the address details are autofilled in Stripe.
* Adds feature to offer Australians a dropdown list of states rather than free text.
* Allow toggling of void invoices.
* Adds backgrounds to the headers in the registration process
* Improves the review page
* Adds “Linux Australia” to invoice details.
* Do not show balance due on void/refunded invoices.
* More thumbing
* Adds a link back to reports on each report.
* Tokenisation language.
* Another bug in credit card processing.
* Adds stripe refunds to options
* Removes spurious dashboard button.
* Tidies up the presentation of discounts.
* Tidies up presentation of voucher form.
* Fixes sponsor logo appearance with adblock.
* Front page tweaks
* Lets us specify alternative URLs in homepage panels
* more
* Updates discount amounts.
* More website fixes
* Changes language on pay invoice button
* Adds contact details to the invoice template.
* Updates the currency message in the invoice template.
* Explicitly includes e-mail address, because theme_contact_email doesn’t propagate
* Changes payment text.
* s/registration/selections/
* Removes final face palm
* Fixes lack of speaker dinner tickets for actual presenters.
* Adjusts wording in invoice e-mails
* Invoice wording.
* (FIX)
* Fixes margins on lists and tables
* Improvements arising from those CSS fixes.
* Changes description tags.
* Factors rendering of external links into its own template. Automagical!
* Adds wagtail templates for keynotes on the front page
* Migrates to Wagtail 1.6
* Migrates content pages to be a streamfield. Flexibility++.
* Fixes editing of ContentPage bodies
* Adds floating images to content pages
* Fixes the layout of floating images
* Adds anchor links to content pages.
* Adds presentation link to the keynote speaker block model
* LCA-ifies the schedule list
* Refactors cms_pages/content_page into a new base template
* cms_pages/content_page now derives from abstract_content_page
* news_index_page now derives from abstract_content_page
* news_page now derives from abstract_content_page.html
* utility_page now uses the content_page base template
* Factors out _right_floating_image.html
* Themes the presentation detail page
* Themes the speaker profile page.
* Themes the schedule list page.
* Minor work on schedule_conference.html
* Themes schedule_detail.html
* Replaces cradle.svg
* Adds a background image to the schedule pages
* Adds libravatar fallback for speaker profile images
* Adds new background images (must update colophon)
* Adds some magic so that we can have slightly different presentation backgrounds for different pages.
* Adds the sponsor block to the bottom of the page.
* Adds sponsor logos to footer.
* All migrations are now in this tree
* Fixes wagtail migrations
* Adjusts presentation_detail to allow for miniconfs (i.e. no target audience)
* Adds unpublishing to presentation detail
* Adds ScheduleHeaderParagraph, which allows us to add some text to the header of schedule pages.
* Adds NamedHeaderParagraph. It allows us to store header paragraphs in the CMS.
* Date formatting in the schedule
* First step for fixing images
* Allows us to automagically load the colophon
* Adds “publish changes” button.
* Can login with email address
* Modifications to review_admin.html
* Adds “submit & jump to random proposal” button
* If user has a speaker profile, display their speaker profile name alongside their comments instead of their user name.
* Simple form input fields now use TakeFlight styling
* Styles the form widgets as per the styles in our CSS
* Styling of TextArea now matches the remaining input types
* Adds is_last modifier to navigation dropdown
* Adds admin for talk, tutorial, and miniconf proposals
* Adds an RSS feed
* Adds a link to the RSS page
* Unbreaks the old news index page
* Adds never_cache to the login page, removes the never cache middleware from the settings
* Invokes the site tree fix from previous fixes.
* Adds a disclaimer noting that previous years’ accounts have not been carried over.
Fixes#43
* Adds proposal type to the proposal summary page.
Fixes#40
* Adds travel/accommodation assistance to the proposals page, but makes it only visible to speakers in the proposal, or review managers.
Fixes#41.
Fixes#42.
* Reduces a lot of the whitespace in the header and footer.
Fixes#44
* Proposals review page now shows information for every speaker on a proposal.
Fixes#45
* Makes sure that non_field_errors are displayed by forms.
Fixes#37
* Adds Facebook svg button, and adds Facebook link type to models
* CSS work from takeflight, 30 June 2016
* Adds drop-down menus for navigation
* Adds mobile menus for navigation
* Minor tweak to mobile nav headings
* Makes the logo a link back to the homepage
* Updates the footer to the current version, removing sponsor logos for the moment.
* Fixes an incorrect link in dashboard
* Disables the symposion sponsors app
* Adds redirect links for login/logout; adds THEME_CONTACT_EMAIL value
* Re-adds colophon/copyright message.
* Adds AceMarkdownEditor widget
* Tidies up the generated HTML
* Tidies up form snippet behaviour
* Proposals forms now use the markdown editor
* Monkey patches the markdown editor into the speaker form.
* Adds missing field to proposal details
* Fixes#10 — adds a link to random unreviewed proposals
* Minor tweaks
* Proposals forms now have a header panel
* Adds panels to the speaker forms
* Imports latest pinax accounts templates
* speakers/base and proposals/base now derive from utility_page.html
* Most login forms now derive from take flight themes
* Missed email_confirm
* More accounts bits
* Restructures login form
* Puts submit etc buttons inside fieldset borders
* Themes speaker_edit.html
* speaker_create now uses takeflight theme
* proposal_submit_kind now uses takeflight theme
* fixes bug in form_snippet
* Optimises proposals_submit_kind
* proposal_submit now uses wagtail theme
* Proposal_edit now uses new theme
* More forms
* Proposal details page now loads from take flight theme
* proposal_fields now looks nicer under the take flight theme
* proposal_speaker_manage rethemed
* Adds inset_illustration as a drop-down of svg data rather than as an uploady thing.
* Adds external link types to the homepage models
* Migrations
* Initial site template with our new shiny templates
* Moves all lca2017-specific assets to lca2017 subdirectory; symlinks from dist
* Reflects changes in site_base
* Deletes most of new assets in dist/
* WIP home page
* Adds external link list support
* Adds white-right panel type to the home page
* Removes an oops
* Adds copyright text to the site.
* Updates the remaining illustrations to be more compact.
* Adds illustration field to content_page, and adds fields into the news page.
* News index page
* News page is done!
* Formats the dates properly
* Commits migrations
* Optimises SVG files
* better logo
* oops
* Removes margin on logo.
* Optimises svgs, and uses tania’s originals
* One more
* Adds basic wagtail app to the website
* Renames lca_website to cms_pages for clarity; re-instates pinax-boxes until we remove them from the templates
* OOPS
* Just Enough Wagtail
* Removes the template view homepage from urls.py
* OOPS
* Makes the home page use a stream field
* Removes an irrelevant migration that I accidentally introduced.