Commit Graph

11 Commits

Author SHA1 Message Date
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
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
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 c45f9c5beb Fix mixed 12/24 hrs time format in event page (closes #158) 2016-07-08 00:16:31 +01:00
marian 89ba64c748 Implemented schema.org for events, tickets and organizer
- Implemented the name, start data, end date, description, image,
location (name and address) for the event
- Implemented the name, price currency, price and availability (if it
has one compatible with schema.org) for the tickets
- Implemented the name, logo and description for the organizer
2016-03-19 16:46:45 +02:00
brettninja 999d1b8394 Added formatting updates to blade views
- Removed empty class names
 - Removed superfluous blank spaces in class attributes
 - Normalised quotes on Blade files
 - Fixed indenting
 - Normalised some css
2016-03-09 23:41:10 -05:00
Dave a3320dd598 - First commit 2016-02-29 15:59:39 +00:00