Sven Slootweg
|
4c6f46efe6
|
Also support global template variables in the new template parser
|
12 years ago |
Sven Slootweg
|
18cd2f8066
|
Fix some PDO implementation stuff
|
12 years ago |
Sven Slootweg
|
5417ccd5f6
|
Add a 'replace last occurrence' function
|
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
|
7b4b4231db
|
Make the PDO object cast nulls to empty strings to work around PHP retardedness
|
12 years ago |
Sven Slootweg
|
f14f916017
|
Fix mysql_ PDO wrapper
|
12 years ago |
Sven Slootweg
|
d80a4e487b
|
Add redirect and ceil_precision functions
|
12 years ago |
Sven Slootweg
|
c59aad3be6
|
Fix horribly broken implementation of the PDO mysql_ abstraction - this REALLY needs to be done properly.
|
12 years ago |
Sven Slootweg
|
224769ebb4
|
Fix yet another bug
|
12 years ago |
Sven Slootweg
|
d3d094a474
|
Fix bug in PDO mysql_ abstraction
|
12 years ago |
Sven Slootweg
|
98f2145938
|
Fix a bug that would make database insertion break when using PDO
|
12 years ago |
Sven Slootweg
|
abb0712c97
|
Add no-expiry option to cached query functions, and fix cache invalidation bug
|
12 years ago |
Sven Slootweg
|
4385243b9c
|
Remove old config files, implement PDO shim, and implement better time handling
|
12 years ago |
Sven Slootweg
|
4bbeffbd57
|
Create a new stdClass object before assigning properties
|
12 years ago |
Sven Slootweg
|
cc25349d30
|
Implement PDO in object retrieval
|
12 years ago |
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 |