120 Commits

Author SHA1 Message Date
7211edb0a0 Cleanup. 2016-07-13 22:32:49 +02:00
37df5aa0e9 Move session management to separate class. 2016-07-13 22:17:56 +02:00
6b07cf03fe Further compacting of code for future split up. 2016-07-13 20:34:19 +02:00
fbb0753c11 Reorder action switches a bit. 2016-07-13 20:25:01 +02:00
594b4a85d4 First template for flight reservations. 2016-07-11 22:30:09 +02:00
bd18f0f9f7 Added definition for flights. 2016-07-11 22:16:07 +02:00
6723ece603 Renamed a few methods for clarification. 2016-07-10 23:28:01 +02:00
f94186a20f Reduce complexity in MailOutput. 2016-07-10 23:01:21 +02:00
02c6c15548 Reduce complexity. 2016-07-10 22:42:39 +02:00
918026fca4 Assign empty value for unset fields. Fix bug in test. 2016-07-10 21:56:19 +02:00
ebc0c89fcc Further optimisation of FieldDefinition class. 2016-07-10 21:49:08 +02:00
2e8a54cf9d More tests. 2016-07-10 20:10:38 +02:00
d8f8c7c381 Moved mail sending to new class. 2016-07-10 18:43:05 +02:00
0ce5d7cd42 Bugfix in mail output and cleanup. 2016-07-10 16:31:58 +02:00
dce1783dfe Remove $tpl from index.php. 2016-07-10 16:25:16 +02:00
0d57aace4b Fix naming of variables. 2016-07-10 16:24:03 +02:00
fa915324b4 Bugfix in Makefile for paths with spaces. 2016-07-10 16:18:26 +02:00
be90c98118 Output handling to separate classes. 2016-07-10 16:18:16 +02:00
89af62d083 Add custom prefix for definition files to class. 2016-07-10 16:17:50 +02:00
e14010cf60 Merge mail-handling into index.php for later splitting. 2016-07-10 01:31:45 +02:00
85329deae2 Reduce complexity in FieldDefinition class. 2016-07-10 00:50:25 +02:00
e217414f11 Moved more features to FieldDefinition class. 2016-07-10 00:25:36 +02:00
4df5b6896c Convert to array if JSON isn't one already. 2016-07-09 20:40:46 +02:00
e024bdba85 Type hint for Scrutinizer. 2016-07-09 20:35:20 +02:00
3590972a81 Fix typo in Scrutinizer exclude list. 2016-07-09 20:30:28 +02:00
120823e83c CamelCase and more tests. 2016-07-09 20:22:55 +02:00
ba4ead8bf5 New class for handling field definitions. 2016-07-09 20:07:00 +02:00
81c3cbe5a1 Add make all to Scrutinizer. 2016-07-09 19:13:13 +02:00
b1ef5e7a06 Don't check in JavaScript files accidentally. We're using CoffeeScript. 2016-07-09 19:12:31 +02:00
94003fc16f Yay, CoffeeScript! 2016-07-09 19:12:02 +02:00
4e244a8895 Composer-download now has the official download code in it. 2016-07-09 19:11:26 +02:00
96306e89f0 Fix bad JavaScript if session_time_left not set. 2016-07-09 19:11:04 +02:00
05af55e265 Add lib/ directory for future use. 2016-07-09 16:30:25 +02:00
78bac2ea30 Scrutinizer config. 2016-07-09 16:24:55 +02:00
549fac64d5 Use Composer's fxp/asset plugin instead of manual repositories for MDL. 2016-07-09 16:24:24 +02:00
907c557479 Added Rental Car structure. 2016-05-29 16:20:34 +02:00
9868db06a7 Remove debug code. 2016-05-29 02:50:54 +02:00
cd8ab8155e Add restaurant support. (Input only for now.) 2016-05-29 02:49:00 +02:00
c9843e9a50 Remove To: line from mail template as this is auto-generated anyways. 2016-05-29 02:48:33 +02:00
f2d2ff765c Add support for is-invalid state for SELECTs. 2016-05-29 02:48:08 +02:00
b25b37d4e4 Implemented sending the actual mail. The workflow for hotel reservations
is complete now.
2016-05-28 22:48:15 +02:00
f7dcb95aa9 Fixed typo. 2016-05-28 22:48:05 +02:00
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
0bc805edc6 Fixed decimals in 0.01 steps for currency. 2016-05-28 22:47:26 +02:00
1f6e0c754b Added basic template for hotel reservations. 2016-05-27 16:25:38 +02:00
30cc304a36 Added mail template + parsing. 2016-05-27 15:29:18 +02:00
c807857e27 Added JavaScript to restore selected options (easier than making it work
in Mustache).
2016-05-26 00:28:35 +02:00
f2decbf6a1 Added missing name attributes to input fields. 2016-05-26 00:28:17 +02:00
ca4e0a8bc2 Added storing of form data in session. 2016-05-26 00:27:11 +02:00
2d43140623 Make links more visible when hovering. 2016-05-26 00:26:52 +02:00