Commit Graph
100 Commits
Author SHA1 Message Date
mbirth 94d653ee62 Make .git folder inaccessible via Apache. 2021-02-07 15:48:07 +01:00
mbirth 407f881aed Added a few more countries to selector. 2017-12-03 21:56:33 +01:00
mbirth fb8c3c20b7 Allow text for zip codes (e.g. UK). 2017-12-03 21:46:37 +01:00
mbirth 7be34ed7a0 Change send button colour. 2017-12-03 21:46:23 +01:00
mbirth e6f12b4978 Added France and Spain in country selector. 2017-09-15 01:48:53 +02:00
mbirth 7588a4f980 Improved train output. 2017-04-28 00:11:42 +02:00
mbirth 2b4f2dd486 Support restaurant reservations. 2017-04-12 15:45:27 +02:00
mbirth 7f2d896690 Force https. 2017-03-28 12:30:13 +02:00
mbirth 2107f3dcf7 Composer dependencies update. 2017-03-28 12:29:39 +02:00
mbirth da7d0e1815 Updated dependencies. 2017-02-10 16:05:13 +01:00
mbirth 239b63ce8a Made proper template for send form. Remodelled data/templating handling. 2017-02-09 14:26:51 +01:00
mbirth bcec4867ac Add missing itemprop for event description. 2017-02-08 18:11:27 +01:00
mbirth 8b41b0c106 Improved mail subjects. Added output of event description in mail. 2017-02-08 18:10:42 +01:00
mbirth 10cda5da45 Fix anchor tags. 2017-02-08 17:21:12 +01:00
mbirth 7ea5878daa Fix data handover after removing session storage. 2017-02-08 17:19:42 +01:00
mbirth 29c6e32b2a Fix test. 2017-02-06 23:49:17 +01:00
mbirth e2605ed0bc Code formatting. 2017-02-06 23:36:54 +01:00
mbirth 06d664ceb2 Remove SessionManager and placeholders. (Will be implemented in
JavaScript later.)
2017-02-06 23:36:30 +01:00
mbirth 608854b57d Removed most Google Account management and mailing stuff. 2017-02-04 02:40:37 +01:00
mbirth ba7520caad Test with Google Script to send mail. This works and seems to be the
only way without going through registration process with Google.
2017-02-04 01:26:18 +01:00
mbirth a756549343 Enable bus reservations. 2016-09-10 19:03:29 +02:00
mbirth 855ede9655 Added bus reservation. 2016-09-10 19:01:41 +02:00
mbirth 1210154612 Fix missing </p>. Also output times in ISO 8601. 2016-09-10 18:45:06 +02:00
mbirth 97e2ec427e Added train reservations. (Not yet picked up by Google Inbox.) 2016-08-11 01:01:22 +02:00
mbirth b708c0431e Changed ReservationStatus handling a bit. 2016-08-11 01:00:53 +02:00
mbirth 4993a29013 Cleanup. 2016-08-04 22:48:44 +02:00
mbirth 99870d94c4 Switch to GmailTransport for sending mails. 2016-08-04 18:14:15 +02:00
mbirth 90d3afcf2f Add Return-Path to mails. 2016-08-04 18:14:00 +02:00
mbirth 3c672b0d4e Finishing touches on GmailTransport. 2016-08-04 18:13:39 +02:00
mbirth 16ab03786d Bugfix with visibility in GenericOutput. Bugfix in MailOutput. 2016-08-04 18:13:06 +02:00
mbirth f5d4cbb385 Bugfix with missing array key on first form fill. 2016-08-04 18:11:31 +02:00
mbirth 868466e7d7 Implement GmailTransport. 2016-08-04 16:39:45 +02:00
mbirth 9c09108076 Move conversion of mail header array into string to (PHP-)MailTransport. 2016-08-04 16:38:56 +02:00
mbirth 9eef404735 Prepare GmailTransport. 2016-08-04 16:05:31 +02:00
mbirth 1af2c621f4 Added transport class for MailOutput. 2016-08-04 15:52:59 +02:00
mbirth f237e37a28 Added GMAIL_SEND scope request for Google API. Details in README. 2016-08-04 15:40:19 +02:00
mbirth 320c58be50 Split Output into Output(Generator) and Transport. Needed for later
switching between different mail transports.
2016-08-04 15:35:50 +02:00
mbirth d7d6ee890e Tests for new date conversions. 2016-08-03 13:32:34 +02:00
mbirth 5f2da89966 Bugfix with empty values. 2016-08-03 13:32:23 +02:00
mbirth 1cfb611e30 Added event mail template. 2016-08-03 11:26:14 +02:00
mbirth 82deb08085 Added info text to event input form. 2016-08-03 11:25:59 +02:00
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