Commit Graph

  • 87a0cadb18 starts_with, notice backtraces, better database error reporting and return values feature/formhandler Sven Slootweg 2014-04-26 10:44:43 +0200
  • 37b404c2dd Make random_string cryptographically secure by default Sven Slootweg 2014-04-08 02:55:29 +0200
  • 4a97d7b0ee Correctly return HTTP 500 on uncaught exception pages, and also display tracebacks for nested exceptions. Sven Slootweg 2014-04-02 23:04:52 +0200
  • 7076e8d0fa Fixes for CSRF protection and FormHandler (including calling CSRF validation in FormHandler by default), Switch_/Case_ statements for FormHandler, custom FormHandler error messages for standard validators Sven Slootweg 2014-03-31 19:16:41 +0200
  • 4ffa38e442 Add custom error message map functionality to form handler Sven Slootweg 2014-03-03 01:13:48 +0100
  • c0b077dc9f Templater and form handler updates Sven Slootweg 2014-02-28 14:49:39 +0100
  • 2db9f1bb7f Slight change in GetGroupedValues API Sven Slootweg 2013-12-30 03:19:01 +0100
  • a6c87d62a5 WTF? Sven Slootweg 2013-12-30 02:58:29 +0100
  • 7c87c4716e Add regex validator Sven Slootweg 2013-12-29 21:17:27 +0100
  • 996054f69f Error handling and a bunch of validators Sven Slootweg 2013-12-29 18:35:57 +0100
  • 24e018330c Implement AbortIfErrors statement for form validator Sven Slootweg 2013-12-29 16:36:33 +0100
  • fc318180f7 Bugfix Sven Slootweg 2013-12-28 23:39:30 +0100
  • 5c6445a023 Fix bug in operators Sven Slootweg 2013-12-28 23:11:14 +0100
  • 57b11d4c58 I must be crazy. Reimplemented the whole thing with promises. Sven Slootweg 2013-12-28 22:41:05 +0100
  • 081b8b6ec8 First bits of FormHandler Sven Slootweg 2013-12-28 19:55:09 +0100
  • 35fcf51b53 Fixed a stupid comparison bug feature/orm-uuid Sven Slootweg 2013-11-17 02:31:52 +0100
  • 4423ff7a22 Merge branch 'bugfix/float-casting' into feature/orm-uuid Sven Slootweg 2013-10-24 21:31:38 +0200
  • 5b630dbead Merge branch 'bugfix/float-casting' into feature/lazy-queries feature/lazy-queries Sven Slootweg 2013-10-24 21:31:27 +0200
  • ba3e1bf5b8 Merge branch 'bugfix/float-casting' into develop develop Sven Slootweg 2013-10-24 21:31:19 +0200
  • 1eb1427de4 Fix float casting bug Sven Slootweg 2013-10-24 21:31:05 +0200
  • 08994e1d40 Merge branch 'bugfix/int-overflow' into feature/lazy-queries Sven Slootweg 2013-10-23 20:58:37 +0200
  • 7b3e986f65 Merge branch 'bugfix/int-overflow' into feature/orm-uuid Sven Slootweg 2013-10-23 20:58:21 +0200
  • 4eacdbf612 Merge branch 'bugfix/int-overflow' into develop Sven Slootweg 2013-10-23 20:58:10 +0200
  • 4e45466d9e Patch for integer overflow when auto-casting in a PDO query. Sven Slootweg 2013-10-23 20:57:52 +0200
  • 898506fb0b Fix bug with UUIDs... Sven Slootweg 2013-10-10 13:17:40 +0200
  • ea88a51e66 Also insert the Id when using UUIDs or other pre-specified IDs for new rows Sven Slootweg 2013-10-05 20:00:15 +0200
  • 7cdb3507af Change ID handling, in preparation of UUID support Sven Slootweg 2013-08-18 00:15:05 +0200
  • eaadadded0 Also use PDO parameterization for the row ID in UPDATE queries Sven Slootweg 2013-08-16 02:08:18 +0200
  • 138bf9949e Update some comments and deprecation info Sven Slootweg 2013-07-07 17:17:06 +0200
  • 6822c353c3 Add a 'forced' option to InsertIntoDatabase, to pre-fill all data instead of lazy-loading Sven Slootweg 2013-07-07 17:12:57 +0200
  • 161dd60fd7 Be quiet about memcache connection failures Sven Slootweg 2013-07-06 01:38:04 +0200
  • f6d92110dd Store a normalized version of the request method in the router object for external access Sven Slootweg 2013-06-17 23:56:41 +0200
  • 03cf41519f Allow preset form values to be specified outside of the POST data. Sven Slootweg 2013-06-12 22:28:23 +0200
  • c8566e4822 Properly handle errors during reading of configuration, and suppress PHP notices. Sven Slootweg 2013-06-12 20:27:45 +0200
  • c7c2e252b9 Why was there even a limit on the amount of CSRF token insertions? Sven Slootweg 2013-06-10 02:33:53 +0200
  • ce13fa4f29 Proper error reporting for database queries Sven Slootweg 2013-06-10 02:33:33 +0200
  • ca82a9e0c8 Add basic autoloader Sven Slootweg 2013-06-09 03:12:56 +0200
  • 6bfe6ccb4d Allow omission of the '0' when creating a blank object from a CPHP class. Sven Slootweg 2013-06-09 02:53:45 +0200
  • c2ea87c4af Fix a notice Sven Slootweg 2013-06-02 22:12:47 +0200
  • 68964d3022 Properly include database query error messages Sven Slootweg 2013-05-27 04:33:14 +0200
  • bded80405e Add support for (cached) HTMLPurifier Sven Slootweg 2013-05-27 01:23:13 +0200
  • 5f343edfcd Check strpos result explicitly, whoops Sven Slootweg 2013-05-24 23:11:40 +0200
  • 238195c19a Add a patch for lighttpds strange behaviour on server.error-handler-404 routing. Sven Slootweg 2013-05-24 22:59:47 +0200
  • 9ec934e8c7 The magic quotes undo should apply to GET variables as well. Sven Slootweg 2013-05-24 22:50:56 +0200
  • 21f3cea18f Merge branch 'master' of git.cryto.net:projects/joepie91/cphp Sven Slootweg 2013-05-23 20:21:18 +0200
  • a90ffa590d Throw a DatabaseException when an object is specified as a query parameter. Sven Slootweg 2013-05-23 20:21:11 +0200
  • 58cfffd3d8 Throw a templater exception when a template attempts to access a non-existent key in a collection. Sven Slootweg 2013-05-23 20:16:44 +0200
  • d42eecad3d Swap the class and procedural code in the PDO include, to avoid breakage Sven Slootweg 2013-05-20 03:58:17 +0200
  • 539f54eac1 Resolve another notice Sven Slootweg 2013-05-18 18:21:20 +0200
  • dbe5662a85 Resolve a bunch of notices and E_STRICT warnings Sven Slootweg 2013-05-18 03:32:11 +0200
  • ca171e8275 Add HTTP 422 status code Sven Slootweg 2013-04-21 23:27:41 +0200
  • 4b02357739 Include an error message in the exception when a database query fails. Sven Slootweg 2013-04-15 01:42:17 +0200
  • bfadf150b4 Fix insertion of simplehtml, html, and nl2br data types Sven Slootweg 2013-04-15 01:41:49 +0200
  • 2680c4538c Add support for restricting routes to specific methods Sven Slootweg 2013-04-07 01:09:05 +0200
  • a80368e7c2 Only check the last JSON error if the function for it exists Sven Slootweg 2013-03-25 18:33:06 +0100
  • 113404d563 Remove old mysql_ cache purging code, fix type inconsistency bug in cache purging, and fix a bug in the debugger (oh, the irony) Sven Slootweg 2013-03-23 04:08:16 +0100
  • 3fbfad8656 Bypass cache on data reload, and fix a bug where a difference between column name and variable name would cause the clearing of old data in an object to fail Sven Slootweg 2013-03-23 02:50:09 +0100
  • 7db7d5a60a Make CPHP deal properly with non-integer numeric values Sven Slootweg 2013-03-02 05:52:33 +0100
  • 4aa82d0a86 Remove all mysql_ functionality and make insertion/updating use PDO instead. Sven Slootweg 2013-03-02 05:27:41 +0100
  • da6ed16c34 Add TODO Sven Slootweg 2013-03-01 14:17:15 +0100
  • 5729adac81 Add todo item Sven Slootweg 2013-02-22 01:18:56 +0100
  • d2b511d9b3 Also add 'id' parameter override support for <select> elements Sven Slootweg 2013-02-16 02:38:54 +0100
  • 85371b3394 Support NULL values for non-string database fields Sven Slootweg 2013-02-16 02:35:00 +0100
  • 6e923629e0 Resolve conflicting variable name with 'value' parameter for input elements, and add support for 'id' parameter overrides Sven Slootweg 2013-02-16 02:33:39 +0100
  • 249284e488 Always return an array from CreateFromQuery unless specifically the first result is requested Sven Slootweg 2013-01-17 10:23:53 +0100
  • 4efacc178b Add a function for returning HTTP status code headers Sven Slootweg 2013-01-17 06:22:57 +0100
  • 9aac04d33e Make the CreateFromQuery function return an array of results or one result if explicitly defined Sven Slootweg 2013-01-17 06:22:42 +0100
  • 55de2ba21c Actually use the current class instead of the base class Sven Slootweg 2012-12-27 22:32:58 +0100
  • ee8c40ebe1 Add function to spawn a new object from a custom query Sven Slootweg 2012-12-27 22:29:13 +0100
  • 8e75ee9ee7 Add function to set a global templater variable Sven Slootweg 2012-12-27 22:28:53 +0100
  • 75a5f0b7e7 Skip memcache retrieval if the expiry time is defined as 0 (after all, we clearly don't want stale data) Sven Slootweg 2012-11-21 02:49:08 +0100
  • f54722d1a7 Get rid of magic_quotes nonsense Sven Slootweg 2012-11-21 02:47:17 +0100
  • 52497d05b4 Implement variable hooks Sven Slootweg 2012-11-21 00:11:28 +0100
  • c7ee85eab1 Fix nested subconstruct bugs and implement more debugging Sven Slootweg 2012-11-17 02:10:08 +0100
  • 442a180f1e Implement a step-by-step debugger Sven Slootweg 2012-11-17 02:09:48 +0100
  • a56c06a76e Fix parsing bug for constructs with subconstructs Sven Slootweg 2012-11-16 00:34:28 +0100
  • 9d85fb8bc9 Make the CachedQuery function throw an exception when a query fails, instead of just returning null Sven Slootweg 2012-11-16 00:04:28 +0100
  • 061516281a Implement select and option elements Sven Slootweg 2012-11-13 00:31:22 +0100
  • 38112ba6e3 Fix bug with broken variable Sven Slootweg 2012-11-05 04:01:32 +0100
  • aa6bb1fc85 Fix bug in fetching stand-alone variables and handle input values properly. Sven Slootweg 2012-10-31 12:08:53 +0100
  • a55ce3778d Match all input element properties and properly deal with type attributes Sven Slootweg 2012-10-31 11:25:57 +0100
  • fa8aa24e1b The form builder is retired :) Sven Slootweg 2012-10-31 11:19:52 +0100
  • 29ea38ebc9 Remove excessive whitespace Sven Slootweg 2012-10-31 11:19:37 +0100
  • db4d084163 Get rid of some stuff we don't need anymore Sven Slootweg 2012-10-31 11:19:23 +0100
  • 5212ae353e Include field name in generated input elements Sven Slootweg 2012-10-31 11:18:54 +0100
  • 3bf5d768cb Rewrite templater to support elseif/else constructs, input element generator, and extensible syntax. Also removed deprecated legacy code. Sven Slootweg 2012-10-31 01:51:30 +0100
  • 533148edb1 Throw a RouterException if no suitable route was found Sven Slootweg 2012-10-29 15:14:05 +0100
  • c62d6a9cec Deprecate the Export function Sven Slootweg 2012-10-29 15:13:52 +0100
  • cb050ebdca Make code parameter optional when creating a new TemplateException Sven Slootweg 2012-09-23 06:34:04 +0200
  • 46ea50e6b0 Store the authentication status internally in the router so that it can be used outside the included file Sven Slootweg 2012-09-19 20:11:57 +0200
  • 9d08020a8d Use the new template parser for the errorhandler component Sven Slootweg 2012-09-19 20:11:27 +0200
  • 4c6f46efe6 Also support global template variables in the new template parser Sven Slootweg 2012-09-19 20:11:06 +0200
  • 18cd2f8066 Fix some PDO implementation stuff Sven Slootweg 2012-09-09 14:23:56 +0200
  • 5417ccd5f6 Add a 'replace last occurrence' function Sven Slootweg 2012-09-09 14:23:42 +0200
  • 95f9d81288 Fix parsing bug where characters after an opening curly brace were omitted in the output. Sven Slootweg 2012-09-09 14:23:13 +0200
  • 7b4b4231db Make the PDO object cast nulls to empty strings to work around PHP retardedness Sven Slootweg 2012-08-29 17:55:57 +0200
  • f14f916017 Fix mysql_ PDO wrapper Sven Slootweg 2012-08-29 17:55:35 +0200
  • d80a4e487b Add redirect and ceil_precision functions Sven Slootweg 2012-08-27 18:56:12 +0200
  • c59aad3be6 Fix horribly broken implementation of the PDO mysql_ abstraction - this REALLY needs to be done properly. Sven Slootweg 2012-08-26 18:26:29 +0200
  • 224769ebb4 Fix yet another bug Sven Slootweg 2012-08-26 17:55:39 +0200