Commit Graph

57 Commits

Author SHA1 Message Date
Uwe Steinmann
e5b215936a add new method SeedDMS_Core_Folder::getDocumentsMinMax() 2018-02-07 09:51:20 +01:00
Uwe Steinmann
3330085f51 getInstance() returns null if folder was not found in db 2017-12-22 13:01:38 +01:00
Uwe Steinmann
b0747e74f0 add optional parameter $limit and $offset to SeedDMS_Core_Folder::getSubFolders 2017-12-19 07:05:08 +01:00
Uwe Steinmann
c8ce5e9ea9 add optional parameters $limit and $offset to SeedDMS_Core_Folder::getDocuments() 2017-12-19 06:34:26 +01:00
Uwe Steinmann
cb17de44fc getNotifyList() returns only users which are not disabled 2017-07-28 10:28:57 +02:00
Uwe Steinmann
3c9c0b7e3a check if onPreRemove[Document|Folder] returns bool or null 2017-05-12 08:16:05 +02:00
Uwe Steinmann
0053213856 pass $dms to getSearchFields() and cast id to text 2017-02-16 15:27:01 +01:00
Uwe Steinmann
307abdf493 pass tablename to getInsertID(), add pgsql as new db driver 2017-02-16 15:27:01 +01:00
Uwe Steinmann
28af59db73 remove double backticks in sql statement 2017-02-13 18:23:24 +01:00
Uwe Steinmann
6e41c58beb add backticks around identifier in sql statements 2017-02-10 08:04:19 +01:00
Uwe Steinmann
47db85c175 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-18 15:11:45 +01:00
Uwe Steinmann
950449ac04 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-12 18:03:01 +01:00
Uwe Steinmann
e80987de9a order groups by name getAccessList() 2017-01-10 17:51:46 +01:00
Uwe Steinmann
129b725414 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-05-03 06:32:54 +02:00
Uwe Steinmann
0b69ddb439 callbacks can have more than one user function 2016-04-26 12:06:41 +02:00
Uwe Steinmann
2c14ec295a various minor clean ups
remove old code, add scope of variables, add additional comments
2016-04-07 08:29:35 +02:00
Uwe Steinmann
2045060f78 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-04 08:59:28 +02:00
Uwe Steinmann
ae14f25d58 add more callbacks 2016-04-04 07:39:39 +02:00
Uwe Steinmann
0577fec1ba Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-22 15:11:42 +01:00
Uwe Steinmann
826c9fca72 use __construct for constructor 2016-03-22 15:08:36 +01:00
Uwe Steinmann
c3296e476b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-09-22 07:57:54 +02:00
Uwe Steinmann
daa72a9ca3 user getCurrentTimestamp() and getCurrentDatetime() 2015-09-22 07:50:36 +02:00
Uwe Steinmann
cde8e830f5 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-08-19 09:24:05 +02:00
Uwe Steinmann
123cccc72a getAccessMode() takes user/group rights in acls into account for guests 2015-08-19 08:21:15 +02:00
Uwe Steinmann
81872f4319 unset homefolder of users before the folder will be deleted 2015-08-05 21:19:00 +02:00
Uwe Steinmann
1e17c393bb Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-08-05 16:57:07 +02:00
Uwe Steinmann
150e5445df add method setDate() 2015-08-04 07:39:14 +02:00
Uwe Steinmann
b5f5ef6e21 use configured classname in getInstance() 2015-07-15 22:28:58 +02:00
Uwe Steinmann
40646009ab minor documentation fix 2015-07-15 08:20:08 +02:00
Uwe Steinmann
44bb62f413 add optional parameter cleasAccessList()
will turn off removal of notification
2015-06-19 15:25:20 +02:00
Uwe Steinmann
68d1816251 add optional parameter cleasAccessList()
will turn off removal of notification
2015-06-19 15:24:19 +02:00
Uwe Steinmann
870fb2d662 add cleanNotifyList() which removes users/groups with read access
also adds an optional parameter $noclean to setDefaultAccess and
setInheritAccess which keeps the methods from cleaning up the
notifier list
2015-06-19 15:04:50 +02:00
Uwe Steinmann
28bfe5c1d7 add cleanNotifyList() which removes users/groups with read access
also adds an optional parameter $noclean to setDefaultAccess and
setInheritAccess which keeps the methods from cleaning up the
notifier list
2015-06-19 15:02:37 +02:00
Uwe Steinmann
1bd1198335 setDefaultAccess() cleanly removes als notifiers without read access
This failed because the first call of removeNotify() has invalidated
the list of notifiers
2015-06-19 12:53:57 +02:00
Uwe Steinmann
92299df0ea setDefaultAccess() cleanly removes als notifiers without read access
This failed because the first call of removeNotify() has invalidated
the list of notifiers
2015-06-19 12:47:30 +02:00
Uwe Steinmann
7f9de8b665 subfolders and documents can be order by date and direction can be set 2015-06-18 13:50:45 +02:00
Uwe Steinmann
4cbd1be175 subfolders and documents can be order by date and direction can be set 2015-06-18 13:49:52 +02:00
Uwe Steinmann
5b8746a8a5 add methods getSearchFields() and getSearchTables() 2015-02-05 07:36:37 +01:00
Uwe Steinmann
1aa08781b2 Merge branch 'seeddms-4.3.14' into develop
Conflicts:
	Makefile
	SeedDMS_Core/Core/inc.ClassFolder.php
2015-01-29 18:22:19 +01:00
Uwe Steinmann
a4065698d6 fix checking for subfolder (Bug #194) 2015-01-29 18:15:04 +01:00
Uwe Steinmann
cdeda7ecb1 add missing start of transaction 2014-12-08 16:57:26 +01:00
Uwe Steinmann
5f7dd4d472 add methode getIntance(), place code to remove folder into its own
methode
2014-12-08 14:33:13 +01:00
Uwe Steinmann
1ddc9ea337 better documentation for getFolderPathPlain() 2014-11-17 11:27:19 +01:00
Uwe Steinmann
9f758667c4 fix saving of multi value attributes 2014-11-13 07:53:51 +01:00
Uwe Steinmann
55def11f01 fix saving of multi value attributes 2014-11-04 16:54:56 +01:00
Uwe Steinmann
7e91088cde preset $reqversion in addDocument() to 0 2014-07-11 08:36:46 +02:00
Uwe Steinmann
6fa6d00bb5 add some mor documentation 2014-03-18 07:06:08 +01:00
Uwe Steinmann
b5ceaaecaf documents and folders will be unsorted if $orderby isn't passed to getDocuments() and getSubFolders() 2014-02-01 15:21:32 +01:00
Uwe Steinmann
14bae08bfc add method isSubFolder(), do not set parent if a child of the current folder 2013-11-25 22:10:17 +01:00
Uwe Steinmann
44164ebf40 getPath() works propperly even if root id is not 1
getPath doesn't return any folders above the root id even if they
exist
2013-09-05 07:33:17 +02:00