Commit Graph

45 Commits (feature/lazy-queries)

Author SHA1 Message Date
Sven Slootweg 7cdb3507af Change ID handling, in preparation of UUID support 11 years ago
Sven Slootweg 03cf41519f Allow preset form values to be specified outside of the POST data. 11 years ago
Sven Slootweg 58cfffd3d8 Throw a templater exception when a template attempts to access a non-existent key in a collection. 11 years ago
Sven Slootweg 539f54eac1 Resolve another notice 11 years ago
Sven Slootweg dbe5662a85 Resolve a bunch of notices and E_STRICT warnings 11 years ago
Sven Slootweg d2b511d9b3 Also add 'id' parameter override support for <select> elements 11 years ago
Sven Slootweg 6e923629e0 Resolve conflicting variable name with 'value' parameter for input elements, and add support for 'id' parameter overrides 11 years ago
Sven Slootweg 8e75ee9ee7 Add function to set a global templater variable 12 years ago
Sven Slootweg 52497d05b4 Implement variable hooks 12 years ago
Sven Slootweg c7ee85eab1 Fix nested subconstruct bugs and implement more debugging 12 years ago
Sven Slootweg a56c06a76e Fix parsing bug for constructs with subconstructs 12 years ago
Sven Slootweg 061516281a Implement select and option elements 12 years ago
Sven Slootweg 38112ba6e3 Fix bug with broken variable 12 years ago
Sven Slootweg aa6bb1fc85 Fix bug in fetching stand-alone variables and handle input values properly. 12 years ago
Sven Slootweg a55ce3778d Match all input element properties and properly deal with type attributes 12 years ago
Sven Slootweg 29ea38ebc9 Remove excessive whitespace 12 years ago
Sven Slootweg db4d084163 Get rid of some stuff we don't need anymore 12 years ago
Sven Slootweg 5212ae353e Include field name in generated input elements 12 years ago
Sven Slootweg 3bf5d768cb Rewrite templater to support elseif/else constructs, input element generator, and extensible syntax. Also removed deprecated legacy code. 12 years ago
Sven Slootweg 4c6f46efe6 Also support global template variables in the new template parser 12 years ago
Sven Slootweg 95f9d81288 Fix parsing bug where characters after an opening curly brace were omitted in the output. 12 years ago
Sven Slootweg 81fd2500ea Check if the strings array is actually a valid array before attempting to use it. 12 years ago
Sven Slootweg 2e5590ddeb Add CSRF protection mechanism 12 years ago
Sven Slootweg 6dbbfb4ebd Add correct null handling to templater 12 years ago
Sven Slootweg 110ba159d2 Implement isempty operation 12 years ago
Sven Slootweg ecb95ca151 Implement isset operation in template If statements 12 years ago
Sven Slootweg 7034837966 Throw proper exceptions if a variable in a template cannot be found. 12 years ago
Sven Slootweg d749e53352 Deprecate a few legacy functions. 12 years ago
Sven Slootweg 44196de152 Bugfix for incorrect handling of boolean values in FetchVariable function 12 years ago
Sven Slootweg 2b91a34206 Move templater constants outside the Templater class 12 years ago
Sven Slootweg 9b0058d199 Optimize Templater::Localize and add support for new format 12 years ago
Sven Slootweg 597d8d0e56 Clean up Templater code 12 years ago
Sven Slootweg f910045417 Clean up Templater code 12 years ago
Sven Slootweg 70baf0b182 Move tree visualization to debug variable 12 years ago
Sven Slootweg 0e027f73bd Finished variable substitution 12 years ago
Sven Slootweg da9e963602 First steps for variable substitution 12 years ago
Sven Slootweg 93e7510cc5 ForEach/If evaluation done, including data subsets 12 years ago
Sven Slootweg 261ea3b8b4 Add foreach logic 12 years ago
Sven Slootweg 2b575d4f0e Clean up some unneeded parser code 12 years ago
Sven Slootweg d254d77c27 Finish template parsing 12 years ago
Sven Slootweg 1cfd53deb4 Basic template parser 12 years ago
Sven Slootweg 9254b0594b Merged back CPHP updates from CVM and Anontune 12 years ago
Sven Slootweg b40139d102 Removed debugging info 12 years ago
Sven Slootweg 7aee896ebc Added if and foreach statements to Templater 12 years ago
Sven Slootweg ede5d9f3fe Initial commit 12 years ago