Commit graph

37 commits

Author SHA1 Message Date
Tobias
a42820a208 Regidesk first pass 2019-01-16 21:52:37 +13:00
Tobias
c09b926b87 Add qr scan to checkin 2019-01-16 18:42:40 +13:00
James Polley
4162ba7c3f
Merge branch 'master' into ticket-testing 2018-04-17 15:54:38 +10:00
Sachi King
e41da66cac Fix bulk action
Bulk action marks printed + schwag, but as print is automated and
happens after checkin is flagged, we should only set checkin and schwag
and print will happen.
2018-01-23 13:30:45 +11:00
Sachi King
5a085535c0 Allow accessing URL to generate boarding pass
Only needed some code fixups to function
2018-01-21 16:14:22 +11:00
Sachi King
568536532c Force upnprint badge
So automation can try again
2018-01-21 15:10:57 +11:00
Sachi King
be00f257a1 Show username to assist finding user in admin list 2018-01-21 15:01:55 +11:00
Sachi King
ab7aaa95c3 Remove old code line 2018-01-21 14:19:42 +11:00
Sachi King
394cb870d3 Fix overview 2018-01-21 14:00:23 +11:00
James Polley
0af7bedae5 Add a management command to print badges 2018-01-21 12:37:28 +11:00
Sachi King
e59d8d5cd6 Warn that checkin disables profile edit 2018-01-21 00:48:23 +00:00
James Polley
971cb5d12d Expand admin ui for checkins to be useful for admins
... also (and this really should be another commit, I am a horrible
person) change name of exception text fields
2018-01-21 11:43:41 +11:00
Sachi King
98465934ff Show attendees shirts in overview
So schwag can be given out
2018-01-21 10:56:27 +11:00
Sachi King
7370fc6012 Add last minute fixes to flow
Exception text storage and check in needs to be sepearte to badge.
2018-01-21 10:45:01 +11:00
Sachi King
05a45b77ed Linkify the rego-code in overview view
Should make checkin of lookups easier, links to the page just after
boarding pass scanning
2018-01-21 10:45:01 +11:00
Sachi King
4b5fe34335 Add regex validation [A-Z0-9]{6} for input
Don't block submition, but give the user a red bar.

Also a link to overview.

Esp if it is 5+ sec to load, we don't need it 90%+ the time, don't page
through it in the scan print workflow.
2018-01-21 10:45:01 +11:00
Sachi King
f25f85f86e Convience redirect on .conf/checkin
Send voli's to the overview, and everyone else to what we want from
them.
2018-01-21 10:45:01 +11:00
Sachi King
8ee0dda5ac Base flow for checkin scanning
It's ugly...  But it should do the job.

Ref #40
2018-01-21 10:45:01 +11:00
James Polley
e120f7a691 Decode the image so it can be re-encoded
#sigh
2018-01-19 08:05:54 +11:00
James Polley
5a6759adae Refactor bpass build/send code
* Pull out the bits that prepare and build the bpass
* Make them not require a request object
* so that we can now call this code from another context
2018-01-19 07:03:44 +11:00
James Polley
ae33da0de4 Chunk responses 2018-01-18 20:57:20 +11:00
James Polley
dc6b7f43ef Enhance boarding poass processes
* Add a note about the creation date of boarding pass
* Add a link to ticket review page
* Try to handle some of the expected errors in the boarding pass
  sending process
* don't just 502, try to handle the error and move on.
2018-01-18 18:49:55 +11:00
James Polley
7d18387670 If no boardingpass, make one
- 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
2018-01-16 23:11:14 +11:00
James Polley
3ffa5fab60 Don't require login to view qrcode
* The qrcode contains no information that isn't in the URL you used to
  access the code, so information is being leaked
* Allowing unauthenicated access lets people see the image in their
  mail client

Not ideal. Let's revert this later and think of something better next
year - perhaps spending some more time researching best practices on
images in email..
2018-01-15 08:51:38 +11:00
James Polley
6770e83e5d Switch to png as a plain boring attachment
In the body of the email, we can load the image direct from the
site. Prolly gonna fail a lot but at least it's a loud known visible
failure
2018-01-15 08:21:18 +11:00
James Polley
018f7bef7a Flag plain-text part of the email as being plain-text 2018-01-15 07:59:43 +11:00
James Polley
0bc99d8fdb Revert to fixed string in email, for easier substitution
Harder to swap it out when it changes every time..
2018-01-15 03:54:40 +11:00
James Polley
30e65e65a6 Use the fixed template, not the version straight out of the db 2018-01-15 02:57:55 +11:00
James Polley
1f025400e1 Add the boardingpass template 2018-01-15 02:33:47 +11:00
James Polley
6f064455ab Remove errant . in urls 2018-01-15 02:22:52 +11:00
James Polley
79085a798a Create /boardingpass 2018-01-15 02:05:29 +11:00
James Polley
8c0d42ee7f Be more proactive about presenting the right QRcode image 2018-01-13 01:34:25 +11:00
James Polley
2206f647db Make purchase details available for boardingpass templates. 2018-01-13 00:26:49 +11:00
James Polley
d30852e5f1 Attach qrcode as attachment 2018-01-07 23:15:46 +11:00
James Polley
0831a4aa76 Add support for a "ready for boarding" group
This allows for the boarding functionality to be safely tested with
just a subset of users first. Once you're ready to go live Fur Reals,
just delete the group and all users will become eligible.
2018-01-07 22:27:15 +11:00
James Polley
e726ff21a8 Create regidesk app
Shows summary of all attendees with a paid ticket, including
boarding_pass status.

Currently, regidesk allows staff with the requisite permission the
ability to view the checkin status of attendees, and email the user
their boarding pass email.

Included is a view for the user to retrieve their own QR code (in case
they got the plain-text version of the email, they can use this to
download an image to their phone for faster checkin)
2018-01-06 11:38:06 +11:00
James Polley
44cdd088be git subrepo clone git@gitlab.com:LCA2018/registrasion-desk.git vendor/regidesk
subrepo:
  subdir:   "vendor/regidesk"
  merged:   "a8096d0"
upstream:
  origin:   "git@gitlab.com:LCA2018/registrasion-desk.git"
  branch:   "master"
  commit:   "a8096d0"
git-subrepo:
  version:  "0.3.1"
  origin:   "???"
  commit:   "???"
2018-01-06 11:38:04 +11:00