Commit Graph
78 Commits
Author SHA1 Message Date
mbirth f91064d9bf Added additional date formats to date fields. 2016-08-03 11:25:42 +02:00
mbirth e61cfddc9c Added generic event definition. 2016-08-02 15:03:11 +02:00
mbirth 7765d2d512 Improved barcode input, needs CoffeeScript code! 2016-08-02 15:02:30 +02:00
mbirth 35a82edb06 Output reservation URL for hotel reservations. 2016-08-02 15:01:47 +02:00
mbirth f5a1fb44e3 Remove obsolete comment. 2016-08-02 15:01:20 +02:00
mbirth cb3d9a2792 Bugfixes with missing form_type variable and wrong mail subject. Also
added proper status page after mail sending.
2016-08-02 11:54:13 +02:00
mbirth 806d8854bc Updated Composer assets. 2016-07-31 00:50:30 +02:00
mbirth a2d873853d Set template variables programmatically. 2016-07-30 23:33:00 +02:00
mbirth 7211edb0a0 Cleanup. 2016-07-13 22:32:49 +02:00
mbirth 37df5aa0e9 Move session management to separate class. 2016-07-13 22:17:56 +02:00
mbirth 6b07cf03fe Further compacting of code for future split up. 2016-07-13 20:34:19 +02:00
mbirth fbb0753c11 Reorder action switches a bit. 2016-07-13 20:25:01 +02:00
mbirth 594b4a85d4 First template for flight reservations. 2016-07-11 22:30:09 +02:00
mbirth bd18f0f9f7 Added definition for flights. 2016-07-11 22:16:07 +02:00
mbirth 6723ece603 Renamed a few methods for clarification. 2016-07-10 23:28:01 +02:00
mbirth f94186a20f Reduce complexity in MailOutput. 2016-07-10 23:01:21 +02:00
mbirth 02c6c15548 Reduce complexity. 2016-07-10 22:42:39 +02:00
mbirth 918026fca4 Assign empty value for unset fields. Fix bug in test. 2016-07-10 21:56:19 +02:00
mbirth ebc0c89fcc Further optimisation of FieldDefinition class. 2016-07-10 21:49:08 +02:00
mbirth 2e8a54cf9d More tests. 2016-07-10 20:10:38 +02:00
mbirth d8f8c7c381 Moved mail sending to new class. 2016-07-10 18:43:05 +02:00
mbirth 0ce5d7cd42 Bugfix in mail output and cleanup. 2016-07-10 16:31:58 +02:00
mbirth dce1783dfe Remove $tpl from index.php. 2016-07-10 16:25:16 +02:00
mbirth 0d57aace4b Fix naming of variables. 2016-07-10 16:24:03 +02:00
mbirth fa915324b4 Bugfix in Makefile for paths with spaces. 2016-07-10 16:18:26 +02:00
mbirth be90c98118 Output handling to separate classes. 2016-07-10 16:18:16 +02:00
mbirth 89af62d083 Add custom prefix for definition files to class. 2016-07-10 16:17:50 +02:00
mbirth e14010cf60 Merge mail-handling into index.php for later splitting. 2016-07-10 01:31:45 +02:00
mbirth 85329deae2 Reduce complexity in FieldDefinition class. 2016-07-10 00:50:25 +02:00
mbirth e217414f11 Moved more features to FieldDefinition class. 2016-07-10 00:25:36 +02:00
mbirth 4df5b6896c Convert to array if JSON isn't one already. 2016-07-09 20:40:46 +02:00
mbirth e024bdba85 Type hint for Scrutinizer. 2016-07-09 20:35:20 +02:00
mbirth 3590972a81 Fix typo in Scrutinizer exclude list. 2016-07-09 20:30:28 +02:00
mbirth 120823e83c CamelCase and more tests. 2016-07-09 20:22:55 +02:00
mbirth ba4ead8bf5 New class for handling field definitions. 2016-07-09 20:07:00 +02:00
mbirth 81c3cbe5a1 Add make all to Scrutinizer. 2016-07-09 19:13:13 +02:00
mbirth b1ef5e7a06 Don't check in JavaScript files accidentally. We're using CoffeeScript. 2016-07-09 19:12:31 +02:00
mbirth 94003fc16f Yay, CoffeeScript! 2016-07-09 19:12:02 +02:00
mbirth 4e244a8895 Composer-download now has the official download code in it. 2016-07-09 19:11:26 +02:00
mbirth 96306e89f0 Fix bad JavaScript if session_time_left not set. 2016-07-09 19:11:04 +02:00
mbirth 05af55e265 Add lib/ directory for future use. 2016-07-09 16:30:25 +02:00
mbirth 78bac2ea30 Scrutinizer config. 2016-07-09 16:24:55 +02:00
mbirth 549fac64d5 Use Composer's fxp/asset plugin instead of manual repositories for MDL. 2016-07-09 16:24:24 +02:00
mbirth 907c557479 Added Rental Car structure. 2016-05-29 16:20:34 +02:00
mbirth 9868db06a7 Remove debug code. 2016-05-29 02:50:54 +02:00
mbirth cd8ab8155e Add restaurant support. (Input only for now.) 2016-05-29 02:49:00 +02:00
mbirth c9843e9a50 Remove To: line from mail template as this is auto-generated anyways. 2016-05-29 02:48:33 +02:00
mbirth f2d2ff765c Add support for is-invalid state for SELECTs. 2016-05-29 02:48:08 +02:00
mbirth b25b37d4e4 Implemented sending the actual mail. The workflow for hotel reservations
is complete now.
2016-05-28 22:48:15 +02:00
mbirth f7dcb95aa9 Fixed typo. 2016-05-28 22:48:05 +02:00
mbirth 8a22d5d864 Disabled date-limit for date fields to be able to select past dates
(e.g. bookingDate).
2016-05-28 22:47:38 +02:00
mbirth 0bc805edc6 Fixed decimals in 0.01 steps for currency. 2016-05-28 22:47:26 +02:00
mbirth 1f6e0c754b Added basic template for hotel reservations. 2016-05-27 16:25:38 +02:00
mbirth 30cc304a36 Added mail template + parsing. 2016-05-27 15:29:18 +02:00
mbirth c807857e27 Added JavaScript to restore selected options (easier than making it work
in Mustache).
2016-05-26 00:28:35 +02:00
mbirth f2decbf6a1 Added missing name attributes to input fields. 2016-05-26 00:28:17 +02:00
mbirth ca4e0a8bc2 Added storing of form data in session. 2016-05-26 00:27:11 +02:00
mbirth 2d43140623 Make links more visible when hovering. 2016-05-26 00:26:52 +02:00
mbirth d2d66382e2 Prepare input handling. 2016-05-25 16:58:13 +02:00
mbirth 83e3425690 Add MDL-Ext and selectfields. 2016-05-24 22:07:25 +02:00
mbirth 88584c1994 Output recipient email address. 2016-05-24 22:07:12 +02:00
mbirth ba92711362 Cleanup. 2016-05-24 22:06:57 +02:00
mbirth 28e72072d8 Changed field order. Added "Hold" status. Changed country input into
selector.
2016-05-24 03:14:55 +02:00
mbirth 4ac4448336 Added currency field type. 2016-05-24 02:44:03 +02:00
mbirth 2983bcb56b Added templates for different INPUT fields. prep_form needs cleanup! 2016-05-24 02:39:23 +02:00
mbirth 891c9db21d Refined JSON. Added form preparation. 2016-05-23 17:19:41 +02:00
mbirth c582af6e79 Added first version of field definitions for hotel reservations. 2016-05-23 14:51:37 +02:00
mbirth ee41c82e19 Added FAB (well, not really floating). Improved form a bit. 2016-05-21 23:00:58 +02:00
mbirth 33ba665a0c Prepare expired session handling. Added stubs for event and hotel. 2016-05-21 00:44:38 +02:00
mbirth 944ad8ff37 Various improvements and additions. 2016-05-20 23:34:50 +02:00
mbirth a583351ac4 Split templates for logged out and logged in state. Added Logout option.
Added rewriting to allow cleaner URLs.
2016-05-20 19:06:02 +02:00
mbirth 3792738ba9 Basic login working. 2016-05-20 16:30:02 +02:00
mbirth a25f531292 Updated .gitignore. 2016-05-20 15:16:31 +02:00
mbirth 877a736e15 Added signin button. 2016-05-20 15:13:56 +02:00
mbirth 92f2408deb Moved mustache partials to separate directory. 2016-05-20 13:19:03 +02:00
mbirth 674ff9b397 Updated .gitignore. 2016-05-20 11:38:25 +02:00
mbirth eb4ecd0179 Split MDL over multiple templates. Added Google signin button graphics. 2016-05-20 11:37:13 +02:00
mbirth 783891ce50 Initial import 2016-05-19 23:51:08 +02:00