Commit Graph

83 Commits

Author SHA1 Message Date
Sebastian Schmidt edb71c3e29
Fix error when editing tickets 2018-11-06 08:12:21 +11: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 181ed66405
Simplify carbon object, allow any date string 2018-11-06 08:08:58 +11:00
Jeremy Quinton d07ecc79d1 leave the order reference at 5 characters for now 2018-10-16 20:53:36 +02:00
Jeremy Quinton 31820bcf68 Merge pull request #471 from publicarray/improve-upstream
Improve upstream
2018-10-16 20:49:52 +02:00
Jeremy Quinton 4e15d1e85d fixes #470
Fixes the forgotten password link
2018-10-02 17:29:57 +02:00
Sebastian Schmidt 7bae63a5e9 Merge branch 'master' into improve-upstream 2018-10-02 21:23:17 +10:00
Sebastian Schmidt 32acb9c4a0 Generate longer reference numbers 2018-10-02 21:21:22 +10:00
Jeremy Quinton 861c2f5434 use strip tags instead of validator 2018-11-04 21:39:05 +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
Sebastian Schmidt faca37e3d2 Improve private_reference_number randomniss 2018-09-22 13:03:19 +10:00
heilgar 6d9fd0ccdc 445 fix surveys bug after updating to L5.6 2018-09-02 19:01:53 +03: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
Jeremy Quinton 6771a56197 Added charging tax at the organiser level
1) Added new field to the organiser model called charge_tax. Added the migration for this.
2)  Renamed tax fields columns in the database to be the same as the other organiser fields for consistency.
3) Added charge_tax option to the various organiser create and edit pages.
4) Have re-enabled some tests and used the @group passing label so we can start running tests for the various parts of the applicaiton.
2018-07-09 18:13:23 +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 2fc6e90432 Merge pull request #3 from Attendize/master
Realign with master project
2018-04-26 09:17:41 +01:00
githubertus f50d708b7a make Charts on dashboard work 2018-04-24 20:34:03 +02: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
Dave Earley 64092660f9 Merge pull request #252 from JapSeyz/sponsors
Sponsors
2016-12-01 20:39:32 +00:00
JapSeyz 505599251e Active / inactive sponsors 2016-11-28 13:43:28 +01:00
JapSeyz 7e8c785cf4 Unified Fileupload function to prevent different image and locations 2016-11-20 00:19:54 +01:00
JapSeyz 4101e51824 Two types of tickets 2016-11-15 10:45:41 +01:00
JapSeyz 638a1762cf Update/delete sponsors 2016-11-15 10:13:49 +01:00
JapSeyz 0a59df3493 Start Sponsors Work 2016-11-15 09:51:04 +01:00
jharris70 2e5916d603 Update Order.php 2016-10-13 13:57:07 -07:00
Dave Earley 539a0c4fec Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/Http/Controllers/OrganiserCustomizeController.php
#	app/Models/Account.php
#	app/Models/AccountPaymentGateway.php
#	composer.lock
2016-10-11 21:25:47 +01:00
Dave Earley cab32d6e01 Merge pull request #212 from shibby/master
Model FQN written instead of class name string
2016-10-09 12:46:32 +01:00
shibby c356c6b9f2 fix for wrong FQN 2016-10-08 01:51:04 +03:00
shibby 7f26093b49 Model relation's fully qualified class name's written instead of string usage 2016-10-08 01:48:54 +03:00
Sinan Taga f8be96a6fe Correct typo in Event Model method
Committer: Sinan Taga <sinantaga@gmail.com>
2016-10-07 13:46:35 +03:00
James Mowatt 9579dfb10c Retrieve ICS Content for a event
Add getIcsForEvent() method, this returns an ICS formatted text ready
for download or attaching to emails.
2016-09-11 16:49:27 +01:00
Dave Earley def39ce73f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/Listeners/OrderCompletedListener.php
#	app/Models/EventStats.php
2016-09-07 21:56:17 +01:00
Dave Earley 9ec1cc20f2 Reformat code 2016-09-06 21:39:27 +01:00
Pásztor Gábor ab2ceff24f Typo and phpDoc 2016-09-06 21:33:19 +02:00
Dave Earley 6d9433a45c Fixed used where exported answers data was inaccurate (closes #13) 2016-08-11 13:19:59 +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 45fb180f1b Fix bug where payment gateway could apply to multiple accounts 2016-07-24 23:48:29 +01:00
Dave Earley c9e7e0e671 Tidying up account payment gateway model 2016-07-16 11:44:23 +01:00
bretto36 7f19499d7b Added event attendees tests 2016-06-15 22:06:27 -04:00
bretto36 30362dcc16 Added Tests and numerous fixes 2016-06-15 21:36:09 -04:00
Dave Earley 8914cb63fd Added 'Is Enabled' scope to Question model 2016-05-28 09:16:44 +01:00
Dave Earley d45d0a39e5 Normalized attendees reference in attendees table (closes #106) 2016-05-26 01:40:49 +01:00
Dave Earley cc911f7344 worked on implementing custom attendee questions 2016-05-20 23:56:47 +01:00