Commit graph

58 commits

Author SHA1 Message Date
Joel Addison
6fb6809316 Improve registration report formatting
Show title in list instead of method name.
Add page title and head title to reports.
2019-10-13 22:22:15 +10:00
Joel Addison
539fa2dfdd Finalise registration
Add shirt types and sizes. Improve messaging about discounts.
Restyle ticket wizard and product category screens. Enable page titles
and messages. Update dashboard to hide raffle.
Enable inventory population for dev container.
2019-10-02 23:25:17 +10:00
Joel Addison
23e09b0fb5 Switch to LCA2020
Remove LCA2018 and LCA2019 styles and content.
Add base LCA2020 styling and update references to year.
2019-06-24 21:58:21 +10:00
Tobias
1cd08fb373 Remove hardcoded max limit 2019-01-25 12:08:37 +13:00
James Polley
33179794ee Revert "Add debug logging for product availability checks"
This reverts commit e723ec937b.

This wasn't meant to be added to the dev branch yet.
2019-01-21 10:53:11 +13:00
James Polley
e723ec937b Add debug logging for product availability checks 2019-01-21 10:46:27 +13:00
Tobias
55f261ea98 Fix last year's email 2019-01-18 21:40:24 +13:00
Tobias
5a40bd00f7 Reduce DPI for print 2019-01-17 15:44:40 +13:00
Tobias
50c2f76d52 Badge print fixes 2019-01-17 14:24:43 +13:00
Tobias
fd397068c8 Add badge-print view 2019-01-17 14:09:54 +13:00
Tobias
a5eb814c18 Allow print to !pdf 2019-01-17 12:10:41 +13:00
Tobias
289892458c Upload SVG badge 2019-01-17 11:07:18 +13:00
Tobias
2db0d95426 Make discount heading even smaller 2018-09-30 18:58:47 +13:00
Tobias
357fe894dd Fix discount view and shirt ordering 2018-09-30 18:41:39 +13:00
James Polley
52c090cdff Don't show T&Cs even on the EXCLUDE_COMPLETE page 2018-09-30 15:07:07 +10:00
James Polley
cd434af000 Don't show T&Cs on the additional products page 2018-09-30 13:56:52 +10:00
James Polley
455f721b98 Don't show T&Cs on the additional products page 2018-09-30 13:53:55 +10:00
James Polley
f14fdd6f93 Handle exceptions raised if the DB does not yet exist 2018-06-10 19:05:07 +10:00
James Polley
3b0d9bf23a Update views.py 2018-01-21 00:48:24 +00:00
Sachi King
5beafb2c6b Disallow profile updating if user is checked in
It gives a flash and pops the user back to dashboard.
2018-01-21 00:48:23 +00:00
James Polley
ac8df2da28 Use waffl to be able to flip overlay on/off 2018-01-21 00:53:02 +11:00
James Polley
23c056e046 Add a waffle.flag in order to force overlay usage 2018-01-21 00:12:06 +11:00
Sachi King
763f69cb61 Add overlay badge support
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
2018-01-20 12:36:09 +11:00
James Polley
a7b619a2fd Need to list items per-user
Without this important line, each user gets the same manifest. not helpful.
2018-01-19 20:18:50 +11:00
James Polley
f9066d25d5 Add checkin code to manifest 2018-01-19 15:05:18 +11:00
James Polley
39669055ef Update badge rendering to reflect actual render
* 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
2018-01-15 00:30:30 +11:00
James Polley
653cd80891 Quick and dirty voucher use report
Dumps a list of voucher code, invoice id, invoice details in a listreport.
2018-01-13 20:54:38 +11:00
James Polley
1fd8364456 Modify limits report to include category inclusions as well
* A TimeOrStockLimit limit can apply a limit to a whole category, or
  to specific products
* This report was only counting the products directly listed
* Take advantage of the new all_products property to include the
  products indirectly listed as well as those directly listed
2018-01-02 12:53:14 +11:00
James Polley
6a9652dfd2 Add an all_products property to FlagBase
It's common to need to query the fill list of products covered by a
Flag - whether directly, or by being in an included category.

Add an all_products property which does this.
2018-01-02 12:53:14 +11:00
James Polley
0e1038de97 Add ticket_type property to Attendee
This vastly simplifies templates and many many things which need to
look this up.
2018-01-01 16:22:04 +11:00
James Polley
9dc2ea4439 Voucher form needs to be processed first
Because otherwise, the firstform (which will not be in a valid start)
throws errors which prevent the voucher form from ever being processed.
2017-12-31 17:23:42 +11:00
James Polley
f675580d6b Add support for badge PDFs also
* 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.
2017-12-26 23:55:09 +11:00
James Polley
fcbacc82e6 Add views to allow for PNG rendering of badge 2017-12-26 23:10:21 +11:00
James Polley
d14048bcb8 Further changes to support badge generation for lca2018
* 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
2017-12-26 21:01:40 +11:00
Sachi King
9ab075e51c Badges work by copy-pasting lca2017/pyconau2017 code around
WIP - Push for share
2017-12-26 04:24:20 +00:00
Sachi King
5511a3d00a str values before bleach
Can't operate on objects, stringing seems fine here, there's a lot else
already randomly str() before bleach.
2017-12-23 04:16:36 +00:00
James Polley
2e07fbeac5 Remove unicode warning
We now support more unicodes so remove the warning
2017-12-23 12:56:33 +11:00
James Polley
3ac31dd55b Include templates in sdist
Adds a MANIFEST.in to ensure that templates are included in the built
package and thus available in systems that install this package.
2017-12-23 12:29:37 +11:00
James Polley
fcfdb10ede Display Condition type in list views
* Whether a Flag is disable-if-false or enable-if-true is a very
  important detail
* But one that's easy to get wrong
* And it's hard to spot problems without inspecting every single flag

This change adds the Condition into the various admin list views, so
that it's easier to scan them all for problems and look for inconsistencies.
2017-12-22 18:43:02 +11:00
James Polley
f0933d897d Add notes to profile form about being able to edit form
Also about the known issue with some emoji
2017-10-08 15:10:34 +11:00
James Polley
45512e815a Add datatables tools to ticket reports 2017-10-04 20:43:00 +11:00
James Polley
0103f9a91f Remove erroneous debug logging statements 2017-10-01 23:11:00 +11:00
James Polley
362ed28be2 Alter guided_registrasion logic to handle new page
This is required for the new method of accepting terms and conditions
2017-10-01 22:56:19 +11:00
James Polley
287d412ccf Catch TypeErrors from bleach 2017-09-30 22:50:13 +10:00
James Polley
e51ad76384 Add a "Back" button to the guided_registration stages
"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
2017-09-30 18:45:57 +10:00
James Polley
4605ee0d98 Require attendees to agree to Code of Conduct 2017-09-30 18:45:50 +10:00
James Polley
35b75b6f96 Badger should fail gracefully if auth_groups hasn't been populated
Let's say you've just installed symposion for the first time, and
you're running the intial `./manage.py migrate`

In that circumstance, there isn't an auth_group table. Naturally this
means you get Some Errors when trying to look for a particular group.

This change handles that error and drives on.
2017-09-30 11:01:39 +10:00
James Polley
4e183317d0 Add requirement for lxml 2017-09-30 11:01:23 +10:00
James Polley
953dafa7c3 Remove generate_badges.py symlink. 2017-09-30 02:36:55 +10:00
James Polley
3001324d5e git subrepo pull vendor/registrasion
subrepo:
  subdir:   "vendor/registrasion"
  merged:   "3545a80"
upstream:
  origin:   "git@gitlab.com:tchaypo/registrasion.git"
  branch:   "lca2018"
  commit:   "3545a80"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2017-09-30 01:49:37 +10:00