Commit Graph

77 Commits (c53ffd9afbd88d23a14eabb1141c0a8589d69f19)
 

Author SHA1 Message Date
Sven Slootweg c53ffd9afb Make the CachedQuery function return null or false when an error condition occurs 12 years ago
Sven Slootweg d6ddb80b04 Make parameters optional and implement PDO properly 12 years ago
Sven Slootweg b3218ed1c3 Fix bug where class map in configuration is not recognized due to variable scope 12 years ago
Sven Slootweg 0dd070a809 Only retrieve query results as an associative array, omitting the numeric index 12 years ago
Sven Slootweg 1f45289ea3 Implement cacheable PDO object 12 years ago
Sven Slootweg c6b00de70b Fix localization code to actually use the parsed configuration file instead of relying on hardcoded configuration variables 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 63bb67a108 Also include locale handling code 12 years ago
Sven Slootweg 855d39c038 Fix spacing on timezone list 12 years ago
Sven Slootweg 52b6216054 Use a configuration parser instead of hardcoded configuration variables 12 years ago
Sven Slootweg 2e5590ddeb Add CSRF protection mechanism 12 years ago
Sven Slootweg 1a07c64d17 Remove PHP closing tags 12 years ago
Sven Slootweg 956933fe9b Add ends_with function 12 years ago
Sven Slootweg 2a629d63d3 Return null on query errors, instead of false 12 years ago
Sven Slootweg 6dbbfb4ebd Add correct null handling to templater 12 years ago
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