Commit Graph

105 Commits

Author SHA1 Message Date
Etienne Marais 54861755b4
Hidden ticket access codes (#1)
# Summary

Added the ability to specify hidden ticket access codes on an event. This would allow for special types of tickets to be created on an event and have an unlock code link to one or many hidden tickets.

## Value

The value this adds is to allow event organisers to play with marketing to aid in ticket sales etc.

## Changes

**Admin**
- Added migrations to allow for the access codes table on events and the pivot for many to many codes to tickets
- Added the ability to create an access code in the event customisation 
- Added the ability to view access codes on a hidden ticket
- Added the ability to attach one or multiple access code(s) onto the hidden ticket

**Public event page**
- Shows a box to enter your access code if the event has hidden tickets
- Added the validation messages for empty codes
- Added the check to fetch the hidden tickets if the code was entered correctly
2019-01-16 20:33:32 +02:00
Gautier Pelloux-Prayer da8ede9f3b License URL should be license.html not licence.html 2018-11-18 11:48:50 +01:00
Sebastian Schmidt cda77d562a
Improve date validation 2018-11-06 08:11:58 +11:00
Sebastian Schmidt 7d1c1a1e6a
Allow configurable date formats 2018-11-06 08:10:32 +11:00
Sebastian Schmidt 7bae63a5e9 Merge branch 'master' into improve-upstream 2018-10-02 21:23:17 +10:00
Sebastian Schmidt 7c7942f4b0 Hide ID: on ticket if the tax system is disabled 2018-10-02 21:06:44 +10:00
Jeremy Quinton 703ad37ef5 Prevent xss
1) added better validation across all user input both for the operator of Attendize and end user.
2) Remove html from translations so {{ }} can be used instead of {!! !!} as its more secure.
2018-11-04 21:30:08 +02:00
Jeremy Quinton c604d08e8d Fixed license references throughout codebase 2018-11-04 21:12:11 +02:00
Jeremy Quinton d4057e9241 updated license reference 2018-11-04 21:09:26 +02:00
Jeremy Quinton 09335d7aee added image reference 2018-11-04 21:06:17 +02:00
Jeremy Quinton 920fbac64e replace lang with trans and escape html correctly for various views 2018-11-04 20:22:51 +02:00
heilgar 6d9fd0ccdc 445 fix surveys bug after updating to L5.6 2018-09-02 19:01:53 +03:00
Mohamed Ahmed bed28ef5cb Tickets available after event started 2018-08-17 10:46:30 +02:00
Jeremy Quinton ba7ca79df0 removed unnecessary footer from ticket 2018-07-26 14:16:25 +02:00
Sam Bell 8d86ca2003 Missing div close tag added 2018-07-26 11:48:58 +01:00
Jeremy Quinton cd213b56b3 Merge branch 'master' into charge-vat-at-organiser-level 2018-07-18 19:37:56 +02:00
Jeremy Quinton ebbd4d7b4d updating extra references
1) Updated some extra references to tax amounts in the blade templates
2018-07-18 18:23:36 +02:00
Sam Bell e2aad7914b Image URL fixed 2018-07-12 13:38:43 +01:00
Jeremy Quinton c5676bbe45 Improvements to charging Tax
1) Surfaced more logic from from views into service.
2) If charge_tax is set in database tax is charged.
3) Made the name of the Order service OrderService so its not confused with the Order Eloquent Model.
4) Move order totalling logic in to Service and call service where necessary.
2018-07-10 12:19:20 +02:00
Jeremy Quinton b3dae02cef Tax improvements
1) remove logic for calculating Tax out of the blade view and into a service.
2) implemented service in the correct controller.
2018-07-10 10:36:42 +02:00
Sam Bell 89969e1b68 Merged pull request with localisation 2018-06-04 17:28:21 +01:00
Jacek Marianski 83205555d7 (localization) Several big changes:
1) Added localization components to the package. They allow usage of localized routes, like http://attendize.site/en/login
2) Added English and Polish localization files. They are ugly, repetitive, but mostly true to the original and relevant. It required rewriting several phrases, and certainly required editing most of the views and controllers.
3) Edited routes to accomodate point 1
4) Rewritten several rules regarding dates. In most cases using English notation (with English names for months) is bad in all other languages. I used environment wide date format that is used.
5) Updated installer. Haven't tested it yet, but should work. Rewrites .env.example file instead of creating it from scratch (by concatenating strings).

There are some minor changes that were simple fixes or other funky requirements from my employer that kinda make sense:
1) QR code reader wasn't working in firefox, fixed it. Works in chrome/firefox on mobile on https sites.
2) Added subscript text in some instances: below ticket registration, below ticket. It is kinda dumb, but in most cases is necessary to receive less complaints from clients.
3) Fixed geocoding api by adding api key in env file. At some point in 2016-2017 it was required by google to use API key from developer console and this requirement wasn't challenged in the code.
4) Ticket has been displaying either flyer or site logo on the side. Now displays both (which may affect 1d barcode - it might need some fixin). Regarding the same issue - description of an event contained the flyer image on the side, it was removed, cause it didn't fit in here.
5) Ticket style was updated, because of the above and because it didn't fit longer character strings. Now it's slightly uglier, but works in all cases.
and other.

There are also some inconveniences, like:
1) Unfinished translations. It was impossible for me to create translations based on strings located inside of a database, which I ignored (I think it's only at one place - surveys).
2) Ugly translation files. At some point I thought it is going to be easier to locate when I try translating vased by file name. Later I divided it by topics, and then I segmented it even more. It might require some serious clean-up.
3) Redundancy. In some cases there are several definitions for the same phrase in my localization files. I used it mostly to protect myself from different contexts for the phrase usage in different languages.
4) File division. There are several files that are placed in dedicated language directory (in /view/, like /view/pl/ or /view/en/). These files don't use language phrases, but they are translated as a whole. Mostly because using language phrases would make those view files unreadable.
5) Localzation helper marks some phrases as obsolete (in file "basic"), because they are used in app/Helpers folder (where this plugin doesn't reach)
2018-05-03 23:41:22 +02:00
Sam Bell f8ea51dd97 Add VAT and updated totals to order confirmations 2018-03-06 20:40:49 +00:00
Sam Bell f033b115d1 iFrame resizing script included in all embed widgets 2018-03-04 18:21:35 +00:00
Sam Bell f3e6e136f2 Smaller text for tax amount 2018-03-04 17:50:37 +00:00
Sam Bell e2e54d12ff Smaller text for tax amount 2018-03-04 17:49:57 +00:00
Sam Bell 12ac3a0e0a Remove Tax Rate from header 2018-03-04 17:21:39 +00:00
EC2 Default User 01daf61cdd Fix merge conflicts 2018-03-04 16:30:09 +00:00
Sam Bell 7c1c62dd37 Added ability to charge to tax on tickets 2018-03-04 14:49:35 +00:00
Sachin 95d3806c0f Added TAX ID field in Create Organizer, Customise Organiser
Same is shown in Invoice.
2018-03-01 22:13:51 +05:30
Sachin d7cce49f3c Added two new fields to an 'Organiser':
- Tax name, a text field (so the user can call it VAT, TVA, sales tax, etc. as required by their country)
- Tax value, a float number

Also added tax value on these pages.
- The ticket sales page, to show how much tax will be added on top of a ticket
- The total basket value that is sent through to Stripe
- The receipt email that gets sent to the user
2018-02-27 23:56:23 +05:30
Dave Earley 004f86c6a7 Revert "Sponsors" 2016-12-01 22:11:34 +00:00
JapSeyz 1d1d4505eb New Sponsor Ticket Layout 2016-11-19 22:10:26 +01:00
JapSeyz d067cf1a04 Sponsors tickets 2016-11-15 12:54:52 +01:00
JapSeyz 4101e51824 Two types of tickets 2016-11-15 10:45:41 +01:00
Dave Earley 25c917c31a Make ticket download on download page stand out (closes #244) 2016-11-14 21:07:04 +00:00
Flightkick 88373482a8 Fixed typo
Exipry --> Expiry
2016-10-31 18:03:10 +01:00
Gary Guo a1dec16b1e Display as raw HTML after escaping and nl2br 2016-10-23 19:09:43 -04:00
Dave Earley 16a125ff66 Remove CC number data from POST data during checkout (closes #207) 2016-10-23 16:39:54 +01:00
Dave Earley f62a6ba000 Add powered by link to embedded widgets 2016-10-22 23:58:45 +01:00
Dave Earley 3b804b00d5 Add support for additional currencies + improve how currencies are displayed 2016-08-12 13:02:37 +01:00
Dave Earley 6104b0e3d8 Moved admin links to footer and simplified checks for user permissions 2016-07-27 20:26:41 +01:00
Dave Earley 4b64835be3 Updated admin links design on the frontend 2016-07-26 20:23:22 +01:00
Dave Earley 2a0d96abfb Added missing closing div to event page 2016-07-22 23:26:27 +01:00
Dave Earley 613cc35f06 Minor update to date display on event pages (issue #167) 2016-07-22 23:21:36 +01:00
Dave Earley f509598de9 Added an end date to event pages if the event is longer than a day (closes #167) 2016-07-20 17:32:21 +01:00
Dave Earley d3511a4f7e Added links to event/organiser dashboards on event/organiser pages for logged in users (closed #162) 2016-07-20 15:11:08 +01:00
Dave Earley e93cc808c7 Remove push div from frontend footer 2016-07-16 00:29:13 +01:00
Dave Earley 05f04be56e Fix for footer not displaying correctly on create order & view order pages 2016-07-15 12:29:39 +01:00
Dave Earley 39ab4fa3ff Fix issue where markdown was displaying on shared event pages on Facebook, Twitter etc. 2016-07-15 12:18:59 +01:00