Commit Graph

162 Commits (feature/lazy-queries)
 

Author SHA1 Message Date
Sven Slootweg 5a3bacf2e7 Make the pagination function more compact, using less temporary variables. 12 years ago
Sven Slootweg a5f2e14a6d Add pagination calculation function. 12 years ago
Sven Slootweg 8a46f5d630 Make database insertion play nice with autoloading. 12 years ago
Sven Slootweg 4caf68e6ff Properly refresh data when using autoloading by unsetting all internal variables. 12 years ago
Sven Slootweg d3c970a551 Implement autoloading 12 years ago
Sven Slootweg a8937630e3 Set proper default for 'none' field type 12 years ago
Sven Slootweg c0a40b2bd4 Set proper defaults for html and nl2br field types 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 890296f25e Add fix_utf8 function. 12 years ago
Sven Slootweg bc68bf8969 We shouldn't be pretty_dump()ing the query in production code 12 years ago
Sven Slootweg a1efe9b400 Throw an exception when the class prototype does not match the database schema. 12 years ago
Sven Slootweg ca9808f9e2 Also default to null when no defaultable array is specified, for the ConstructDataset function 12 years ago
Sven Slootweg 67c2b55ab6 Fix some stray spaces 12 years ago
Sven Slootweg 7a933cd60d Fix years calculation and use properties instead of formatting function for time difference calculation. 12 years ago
Sven Slootweg bd3db37ea5 Set a property to its default value if the field is defaultable and the referenced object cannot be found in the database. 12 years ago
Sven Slootweg d27086aca7 Only check the defaultable array if it is, in fact, an array. 12 years ago
Sven Slootweg 56b741bbee If we don't define unsafe default values, database insertion will probably break. 12 years ago
Sven Slootweg 7b625f6965 Only throw a NotFoundException during recursive retrieval if the problematic field is not defaultable 12 years ago
Sven Slootweg 641a5fe43e Remove ownership checks - this belongs in application code, not in a framework. 12 years ago
Sven Slootweg 8b437c6a4b Include the field on which retrieval from database failed when throwing a NotFoundException in a recursive retrieval. 12 years ago
Sven Slootweg 42bdba7ce0 Remove old cut_text function 12 years ago
Sven Slootweg 589dbae474 Replace cut_text with own regex-based version 12 years ago
Sven Slootweg 4245c1f206 Add cut_text option 12 years ago
Sven Slootweg b87ee4671b Set default values for blank objects 12 years ago
Sven Slootweg 7c230224f9 Add time_ago function for generating a textual representation of time difference. 12 years ago
Sven Slootweg 62064095ad Oops, I broke something 12 years ago
Sven Slootweg 69c4c67927 Fixed memcache variable name to prevent conflicts 12 years ago
Sven Slootweg 56001c5b95 Add simple RSS parser 12 years ago
Sven Slootweg fe096eac5c Only send out Unicode headers if the current document is HTML, as indicated by a switch 12 years ago
Sven Slootweg f42d47d454 Unicode, damnit\! 12 years ago
Sven Slootweg d749e53352 Deprecate a few legacy functions. 12 years ago
Sven Slootweg e9c46d4182 Add HTML tag and attribute stripping.\nAdd HTML filtering options. 12 years ago
Sven Slootweg e864e912d0 Properly handle the allow_slash parameter for regexes that have one or more end-of-string characters. 12 years ago
Sven Slootweg f4f15d9cd1 Save request path in Router object 12 years ago
Sven Slootweg 35aad80cdc We don't need that there 12 years ago
Sven Slootweg 5842bf2b72 Bugfix to make uParameters properly available when routing a request 12 years ago
Sven Slootweg 44196de152 Bugfix for incorrect handling of boolean values in FetchVariable function 12 years ago
Sven Slootweg d990ffaed4 Add hex/RGB conversion functions 12 years ago
Sven Slootweg 63702fc9db Removed obsolete type 12 years ago
Sven Slootweg 98d7e64771 Give locales a name field that specifies the original defined locale name 12 years ago
Sven Slootweg 2b91a34206 Move templater constants outside the Templater class 12 years ago
Sven Slootweg d36d283b7b Use uVariables instead of sVariables for unfiltered router variables 12 years ago
Sven Slootweg 2d634b14d7 Support configuring of variables for advanced routes 12 years ago
Sven Slootweg c66efa4bae Allow more routing options like authenticators 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