Commit Graph

145 Commits

Author SHA1 Message Date
James Dahlen 8ea420b2bc manage event currency 2019-03-12 09:37:43 -04:00
Jeremy Quinton 39e346faee
Merge pull request #586 from publicarray/http->https
Nits (https and fix a dev console warning)
2019-02-28 21:56:07 +02:00
Sebastian Schmidt f2e441eae5 Fixing Issue #465 - translatable strings
Credits to @kerrinhardy

4fa346f16b

Unfortunately due to merge conflict the
original author information was not retained.
2019-02-28 12:22:42 +11:00
Sebastian Schmidt b72e4e13f7 Fix SensorNotRequired warning in google geocoding API 2019-02-28 11:55:52 +11:00
Sebastian Schmidt a56ac1ce7c http -> https 2019-02-28 11:55:04 +11:00
Jeremy Quinton be87806070
Merge pull request #565 from publicarray/fix-date-time-format-on-dash
fixes #556
2019-02-17 18:52:06 +02:00
Etienne Marais cc1e9613c9
Added an enmpty table cell if the remove link cannot be displayed because of usage. This makes the table look better 2019-02-14 17:17:00 +02:00
Etienne Marais 99de2c73ee
Renamed back to access codes since it explains it better 2019-02-14 17:02:24 +02:00
Etienne Marais 3b83e97827
Added the delete of the code if the code usage count on the specific event is zero. Also the delete is a soft delete 2019-02-13 16:16:56 +02:00
Etienne Marais 3b60ad95d4
Added a remove operation to each access code. Cannot remove from the frontend if the code has been used 2019-02-13 15:44:25 +02:00
Etienne Marais e0f74356d6
Added usage count and spaced the table listing a bit better 2019-02-13 15:14:12 +02:00
Etienne Marais b11c3fa09c
Fixed the page title to say discount codes 2019-02-13 15:01:25 +02:00
Etienne Marais 068c3b1ffa
Moved the discount table to be full length. Added typography helpers to align text 2019-02-13 11:02:22 +02:00
Etienne Marais 68fe2ca882
Added a missing translation on the hidden ticket modal 2019-02-13 10:26:36 +02:00
Etienne Marais 9101dd00fd
Renamed all the mentions of access codes to be called discount codes and removed the access codes translation file 2019-02-13 10:24:52 +02:00
Etienne Marais 74d60c5c0d
Moved the access codes to a new section called discount codes in the event tools section. Made the redirect to the new route and removed the customize tab content 2019-02-13 09:57:12 +02:00
Etienne Marais b275c5804b
Moved the access codes to a new section called discount codes in the event tools section. Made the redirect to the new route and removed the customize tab content 2019-02-13 09:52:08 +02:00
Sebastian Schmidt 493e2797e3
fixes https://github.com/Attendize/Attendize/issues/556 2019-02-01 22:18:45 +10:00
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
Jeremy Quinton 3becd1d03e fixed off by one error and javascript error as html element did not exist 2018-11-01 09:12:51 +02:00
Sebastian Schmidt 7bae63a5e9 Merge branch 'master' into improve-upstream 2018-10-02 21:23:17 +10:00
Sebastian Schmidt b1a4b66da6 Secure external resourses with RSI
* Specify language in html tag
* Remove an empty script tag (when no google analytics )
2018-10-02 21:21:22 +10:00
Sebastian Schmidt 13476d9cff Fix infinity symbol by useing a utf-8 char 2018-10-02 21:21:22 +10:00
Sebastian Schmidt d4c7214cc4 Allow more decimal points for currency input
Service/Organiser Fees
2018-10-02 21:06:44 +10:00
Jeremy Quinton ea53c20e76 Merge pull request #478 from publicarray/fix-vulns
Fix vulnerabilities
2018-10-02 12:13:15 +02:00
Jeremy Quinton ed827d5221 Merge pull request #448 from scottybo/master
Fix issue where taxamt not set after import
2018-10-02 11:09:41 +02:00
Jeremy Quinton 3868bd4e9e Fixed small publish event link 2018-11-04 21:34:28 +02: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 b62e41265f strip html tags as the string is not escaped by blade 2018-11-04 21:26:55 +02:00
Sebastian Schmidt 5cdfe7151b Fix XSS vulnerability on QR code scanner 2018-10-02 18:15:58 +10:00
Jeremy Quinton 920fbac64e replace lang with trans and escape html correctly for various views 2018-11-04 20:22:51 +02:00
Scott Bowler 534d3a2126 Modify deprecated "lists" to "pluck" 2018-09-03 14:44:56 +01:00
Jeremy Quinton 5f2c4c8ac9 Merge pull request #424 from Attendize/upgrade-laravel-5.6
Upgrading to Laravel 5.6
2018-08-21 12:55:31 +02:00
Jeremy Quinton 73b7808ff4 When an order is refunded display the actual refunded amount.
When viewing a refunded order display the amount_refunded instead of the order amount.
2018-08-17 17:13:57 +02:00
Jeremy Quinton 8d51cd348f Upgrading to Laravel 5.6
1) Changed method call from lists to pluck.
2) Use set put instead of session set.
3) Removed references to artisan optimize command.
4) Added additionl check to base controller if auth user not set redirect to login.
5) Flush the session on logout.
6) Updated Event and Route service providers to work with Laravel 5.6.
7) Added new default logging config file.
8) Bump PHP versions from 7.0.30 to 7.1.20.
9) Added missing translations.
10) Fixed some issues with the templates.
2018-08-15 13:26:10 +02:00
Jeremy Quinton 9b5d61ffdd Added Tax to emails and various views
1) When Taxed is charged display it on the various views where tax should be displayed. Orders Listing Page, Orders Summary page.
2) Use the Order service to display correct values in emails and views.
2018-07-11 13:47:41 +02:00
Matt Sims d43d2a4c5f Fix QR code scanning in Safari (inc. iOS). 2018-06-20 22:01:38 +01:00
Mohammad Bagheri 10ef73a4e1 Update Sidebar.blade.php 2018-06-07 14:25:30 +04:30
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 e2dcf4e805 Updated incorrect page title 2018-03-29 15:25:05 +01:00
Dave Earley 004f86c6a7 Revert "Sponsors" 2016-12-01 22:11:34 +00:00
Dave Earley 64092660f9 Merge pull request #252 from JapSeyz/sponsors
Sponsors
2016-12-01 20:39:32 +00:00
Dave Earley 90e3644624 Merge pull request #256 from JapSeyz/text_fixes
Simple spelling fix
2016-11-29 21:47:31 +00:00
JapSeyz 505599251e Active / inactive sponsors 2016-11-28 13:43:28 +01:00
JapSeyz 477ae5c105 Edit an order
Edit an order [firstname, lastname and Email]
Resend an entrire order (especially useful if someone entered a wrong email which has then beed edited)

Show ticket reference in the order refund modal, so you can quickly refund/cancel multiple tickets in an order
2016-11-26 22:38:54 +01:00
JapSeyz 59a6a6bbf2 Help label 2016-11-25 00:01:03 +01:00
JapSeyz 5831cd0222 Ticket Text 2016-11-15 21:56:03 +01:00
JapSeyz 8f9e5f15af whitespace fix 2016-11-15 13:09:16 +01:00
JapSeyz ebccc45b52 Made placeholder company generic 2016-11-15 12:57:34 +01:00
JapSeyz d067cf1a04 Sponsors tickets 2016-11-15 12:54:52 +01:00