This repository has been archived by the owner on Jun 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from richardhj/feature/v0.10.0
Feature/v0.10.0
- Loading branch information
Showing
42 changed files
with
1,200 additions
and
664 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,24 +14,29 @@ | |
"email": "[email protected]" | ||
}, | ||
"require": { | ||
"php": "^5.4 || ^7.0", | ||
"isotope/isotope-core": "^2.3", | ||
"php": "^5.5 || ^7.0", | ||
"cliffparnitzky/user-member-bridge": "^1.2", | ||
"contao-community-alliance/dependency-container": "^1.8", | ||
"contao-community-alliance/url-builder": "^1.2", | ||
"contao-community-alliance/events-contao-bindings": "^3.5", | ||
"contao-community-alliance/meta-palettes": "^1.10", | ||
"contao-community-alliance/translator": "^2.0", | ||
"cliffparnitzky/user-member-bridge": "^1.2" | ||
"contao-community-alliance/url-builder": "^1.2", | ||
"isotope/isotope-core": "^2.3", | ||
"phpoffice/phpexcel": "^1.8", | ||
"symfony/http-foundation": "^2.7 || ^3.0" | ||
}, | ||
"suggest": { | ||
"katgirl/isotope-documents": "Enhanced Isotope PDF templates to choose from" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"OnlineTicket\\": "src/" | ||
"psr-4": { | ||
"Richardhj\\Isotope\\OnlineTickets\\": "src/" | ||
} | ||
}, | ||
"extra": { | ||
"contao": { | ||
"sources": { | ||
"entrypoint-api": "api", | ||
"assets": "assets/tickets", | ||
"module": "system/modules/onlinetickets" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of richardhj/contao-onlinetickets. | ||
* | ||
* Copyright (c) 2016-2017 Richard Henkenjohann | ||
* | ||
* @package richardhj/contao-onlinetickets | ||
* @author Richard Henkenjohann <[email protected]> | ||
* @copyright 2016-2017 Richard Henkenjohann | ||
* @license https://github.com/richardhj/contao-onlinetickets/blob/master/LICENSE | ||
*/ | ||
|
||
|
||
/** | ||
* Register the templates | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,52 @@ | ||
<?php | ||
|
||
/** | ||
* Contao Open Source CMS | ||
* Copyright (c) 2005-2015 Leo Feyer | ||
* This file is part of richardhj/contao-onlinetickets. | ||
* | ||
* @license LGPL-3.0+ | ||
* Copyright (c) 2016-2017 Richard Henkenjohann | ||
* | ||
* @package richardhj/contao-onlinetickets | ||
* @author Richard Henkenjohann <[email protected]> | ||
* @copyright 2016-2017 Richard Henkenjohann | ||
* @license https://github.com/richardhj/contao-onlinetickets/blob/master/LICENSE | ||
*/ | ||
|
||
use Richardhj\Isotope\OnlineTickets\Helper\Checkout; | ||
use Richardhj\Isotope\OnlineTickets\Helper\DataHandling; | ||
use Richardhj\Isotope\OnlineTickets\Model\Agency; | ||
use Richardhj\Isotope\OnlineTickets\Model\Event; | ||
use Richardhj\Isotope\OnlineTickets\Model\Ticket; | ||
use Richardhj\Isotope\OnlineTickets\Module\BoxOffice; | ||
|
||
|
||
/** | ||
* Back end modules | ||
*/ | ||
$GLOBALS['BE_MOD']['isotope']['onlinetickets_events'] = [ | ||
'tables' => ['tl_onlinetickets_events', 'tl_onlinetickets_agencies'], | ||
'tables' => [Event::getTable(), Agency::getTable()], | ||
'icon' => 'system/modules/calendar/assets/icon.gif', | ||
'report' => ['OnlineTicket\Helper\DataHandling', 'exportEventReport'], | ||
'export' => ['OnlineTicket\Helper\DataHandling', 'exportAgencyBarcodes'], | ||
'export_pdf' => ['OnlineTicket\Helper\DataHandling', 'exportPreprintedTicketsPdf'] | ||
'report' => [DataHandling::class, 'exportEventReport'], | ||
'export' => [DataHandling::class, 'exportAgencyBarcodes'], | ||
'export_pdf' => [DataHandling::class, 'exportPreprintedTicketsPdf'], | ||
]; | ||
|
||
|
||
/** | ||
* Front end modules | ||
*/ | ||
$GLOBALS['FE_MOD']['application']['boxoffice'] = 'OnlineTicket\Module\BoxOffice'; | ||
$GLOBALS['FE_MOD']['application']['boxoffice'] = BoxOffice::class; | ||
|
||
|
||
/** | ||
* Models | ||
*/ | ||
$GLOBALS['TL_MODELS'][\OnlineTicket\Model\Event::getTable()] = 'OnlineTicket\Model\Event'; | ||
$GLOBALS['TL_MODELS'][\OnlineTicket\Model\Ticket::getTable()] = 'OnlineTicket\Model\Ticket'; | ||
$GLOBALS['TL_MODELS'][\OnlineTicket\Model\Agency::getTable()] = 'OnlineTicket\Model\Agency'; | ||
$GLOBALS['TL_MODELS'][Event::getTable()] = Event::class; | ||
$GLOBALS['TL_MODELS'][Ticket::getTable()] = Ticket::class; | ||
$GLOBALS['TL_MODELS'][Agency::getTable()] = Agency::class; | ||
|
||
|
||
/** | ||
* Hooks | ||
*/ | ||
$GLOBALS['ISO_HOOKS']['preCheckout'][] = ['OnlineTicket\Helper\Checkout', 'setTicketsInDatabase']; | ||
$GLOBALS['ISO_HOOKS']['postCheckout'][] = ['OnlineTicket\Helper\Checkout', 'activateTicketsInDatabase']; | ||
$GLOBALS['ISO_HOOKS']['preCheckout'][] = [Checkout::class, 'setTicketsInDatabase']; | ||
$GLOBALS['ISO_HOOKS']['postCheckout'][] = [Checkout::class, 'activateTicketsInDatabase']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of richardhj/contao-onlinetickets. | ||
* | ||
* Copyright (c) 2016-2017 Richard Henkenjohann | ||
* | ||
* @package richardhj/contao-onlinetickets | ||
* @author Richard Henkenjohann <[email protected]> | ||
* @copyright 2016-2017 Richard Henkenjohann | ||
* @license https://github.com/richardhj/contao-onlinetickets/blob/master/LICENSE | ||
*/ | ||
|
||
|
||
/** | ||
* Table tl_iso_producttype | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
<?php | ||
|
||
|
||
/** | ||
* Table tl_user | ||
* This file is part of richardhj/contao-onlinetickets. | ||
* | ||
* Copyright (c) 2016-2017 Richard Henkenjohann | ||
* | ||
* @package richardhj/contao-onlinetickets | ||
* @author Richard Henkenjohann <[email protected]> | ||
* @copyright 2016-2017 Richard Henkenjohann | ||
* @license https://github.com/richardhj/contao-onlinetickets/blob/master/LICENSE | ||
*/ | ||
|
||
|
||
/** | ||
* Table tl_user | ||
*/ | ||
$GLOBALS['TL_DCA']['tl_module']['palettes']['boxoffice'] = | ||
'{title_legend},name,headline,type;{config_legend};{template_legend:hide};{protected_legend:hide},protected;{expert_legend:hide},guests,cssID,space'; |
Oops, something went wrong.