Commit Graph

37 Commits

Author SHA1 Message Date
Thomas Gelf 81efcd0e8e DbObject: NotFoundError for "better" status codes 2015-12-10 11:44:27 +01:00
Thomas Gelf d055c68a5c DbObject: allow null components in multicol keys 2015-12-10 11:42:21 +01:00
Thomas Gelf b03f5c55ca DbObject: first attempt to seriously use prefetch 2015-12-03 19:43:08 +01:00
Thomas Gelf d623502f5f DbObject: show more debug info, until removal 2015-12-02 03:39:33 +01:00
Thomas Gelf a09c34a190 DbObject: no change on update is not an error 2015-12-02 02:44:10 +01:00
Thomas Gelf a94f5c5969 DbObject: relax primary key check 2015-12-02 02:38:19 +01:00
Thomas Gelf 41d6f47752 DbObject: allow to change primary key (not autoinc) 2015-11-30 21:03:46 +01:00
Thomas Gelf ccf47171fe DbObject: re-order method checks when setting 2015-11-02 09:23:41 +01:00
Thomas Gelf e317b7cf6d DbObject: add prefetch support 2015-10-28 22:31:10 +01:00
Thomas Gelf 82a893b06c DbObject: add loadWithAutoIncId 2015-10-26 12:05:37 +01:00
Thomas Gelf d7c2e7dacd DbObject: do not hide our exceptions 2015-10-15 20:01:18 +02:00
Thomas Gelf 7f9d1750c5 DbObject: new method getKeyParams() 2015-10-15 17:48:29 +02:00
Thomas Gelf ef46c9de56 DbObject: allow to create without props 2015-10-13 17:53:01 +02:00
Thomas Gelf e098f1bbb0 DbObject: improve exceptions 2015-10-13 17:47:32 +02:00
Thomas Gelf 6077ca6c75 DbObject: add listProperties() method 2015-09-14 16:27:48 +02:00
Thomas Gelf bf596d98ee DbObject: introduce onClone() hook 2015-08-03 12:54:40 +02:00
Thomas Gelf 417b59f6d6 DbObject: add a hint on getId, check later 2015-08-03 12:54:39 +02:00
Thomas Gelf d522cb8d2b DbObject: add hasConnection() helper method 2015-07-27 23:24:50 +02:00
Alexander Fuhr 9bc8d3882e DbObject: Fix the array to string conversion 2015-07-22 13:42:47 +02:00
Thomas Gelf 4881cd3860 DbObject: add missing call to onLoadFromDb 2015-07-21 15:12:23 +02:00
Thomas Gelf 33892f3298 DbObject: get rid of setDb. Fix race condition 2015-07-03 10:00:16 +02:00
Thomas Gelf 02c7a5c62c DbObject: don't ->getId() for ->id 2015-07-02 14:11:13 +02:00
Alexander Fuhr 4d2cbdea44 DbObject: Fix mixed key collision 2015-07-01 15:13:28 +02:00
Thomas Gelf 2021dc3479 DbObject: fix legacy method call 2015-06-25 08:45:36 +02:00
Alexander Fuhr 040dbdbb99 DbObject: Fix wrong type comparison 2015-06-23 16:02:54 +02:00
Thomas Gelf 676acf0740 Util: new helper class 2015-06-23 14:37:23 +02:00
Alexander Fuhr 2dcd1c2d78 DbObject: Add pg escape for checksum 2015-06-23 14:19:30 +02:00
Thomas Gelf 6c8213f4db DbObject: do not insert id=NULL, fails on pgsql 2015-06-23 13:05:02 +02:00
Alexander Fuhr 85b26041f9 DirectorObjectForm: Fix typo and so on 2015-06-17 11:18:44 +02:00
Alexander Fuhr 616892984d Groups: Add generic Groups support
resolves #9427
2015-06-16 17:58:47 +02:00
Thomas Gelf e4e31268c2 DbObject: add loadAll method 2015-06-11 22:48:07 +02:00
Thomas Gelf 24fff442e0 DbObject: separate setting db properties 2015-06-11 22:00:36 +02:00
Thomas Gelf c8576ea2db Revert "DbObject: do not treat an empty string as null"
This was needed as we get empty strings from form fields. Should be
fixed in our forms, restoring former behavior right now.

This reverts commit 03ad5f7376.
2015-06-11 08:11:15 +02:00
Thomas Gelf 03ad5f7376 DbObject: do not treat an empty string as null 2015-06-10 19:12:07 +02:00
Alexander Fuhr 43982b6c3a DbObject: fix multicolumn primary keys 2015-06-02 17:27:36 +02:00
Thomas Gelf ca3398247e Activity log: initial basic implementation
fixes #9167
2015-04-24 15:57:01 +02:00
Thomas Gelf 0d0fcc973b Initial tables and related base classes
Still VERY simple

fixes #9135
2015-04-24 14:27:22 +02:00