Uwe Steinmann
5694bf9501
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2022-12-10 14:23:43 +01:00
Uwe Steinmann
291b62eeb2
getFolderPathPlain(): add sep as prefix if skiproot is true
2022-12-08 14:44:49 +01:00
Uwe Steinmann
e8192d2813
add $skiproot and $sep parameter to getFolderPathPlain()
2022-11-29 17:31:54 +01:00
Uwe Steinmann
9e4eae8206
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2022-11-22 06:56:46 +01:00
Uwe Steinmann
4e1e126783
propperly rollback addDocument() if add categories fails
2022-11-21 16:32:06 +01:00
Uwe Steinmann
938126c19c
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2022-11-14 17:22:17 +01:00
Uwe Steinmann
9c1fd788d6
use the list of docs ordered by sequence in reorderDocuments()
2022-11-14 17:21:22 +01:00
Uwe Steinmann
b6a0b45867
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2022-11-14 09:05:35 +01:00
Uwe Steinmann
b2fd46dac0
add SeedDMS_Core_Folder::reorderDocuments()
2022-11-14 09:03:41 +01:00
Uwe Steinmann
a156932843
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2022-03-03 09:04:47 +01:00
Uwe Steinmann
e107139f1b
use backticks in sql statement
2022-03-02 07:42:31 +01:00
Uwe Steinmann
c218f9ab29
fix line indenting
2022-03-02 07:42:15 +01:00
Uwe Steinmann
007e3faa0a
various minor changes ported back from SeedDMS 6
2021-09-28 16:20:33 +02:00
Uwe Steinmann
0c1a795113
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2021-09-28 10:33:44 +02:00
Uwe Steinmann
9d926fb55c
better documentation of getAccessMode()
2021-09-24 10:22:28 +02:00
Uwe Steinmann
959c75ff79
check parameter $mode of addAccess()
2021-09-24 10:21:32 +02:00
Uwe Steinmann
ce124bb862
fix indenting
2021-09-24 10:21:10 +02:00
Uwe Steinmann
8e302bc770
hasDocuments() doesn't use internal cache anymore
2021-09-24 10:20:19 +02:00
Uwe Steinmann
3cf58fbc86
add some documentation for isDescendant() and isSubFolder()
2021-09-24 10:19:31 +02:00
Uwe Steinmann
3d7357fca9
clear _notifyList in clearCache()
2021-09-24 10:17:04 +02:00
Uwe Steinmann
3b55c458c2
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2021-09-22 10:54:54 +02:00
Uwe Steinmann
da8765fe33
add method getFoldersMinMax()
2021-09-22 09:48:12 +02:00
Uwe Steinmann
5a587e5c85
add more documentation for isSubFolder()
2021-09-22 09:47:40 +02:00
Uwe Steinmann
674002c02f
init class variables for internal cache, add method to clear cache
2021-09-22 09:46:20 +02:00
Uwe Steinmann
08836de4d8
number of counted folders/documents is converted to int before return
2021-09-20 16:37:45 +02:00
Uwe Steinmann
47e07ae2d1
return null if no folder was found by getParent()
2021-09-20 16:37:10 +02:00
Uwe Steinmann
247e8b09ca
set date to current timestamp if $date passed to setDate() is false
2021-09-20 16:36:24 +02:00
Uwe Steinmann
6d01627553
fix comment (document -> folder)
2021-09-20 16:34:57 +02:00
Uwe Steinmann
1d031e44a2
return null not false if getInstanceByName() didn't find a folder
2021-09-16 16:16:21 +02:00
Uwe Steinmann
c524add775
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2021-02-05 13:28:34 +01:00
Uwe Steinmann
03ef93df2c
add parameter $incdisabled to SeedDMS_Core_Folder::getNotifyList()
2021-02-05 13:25:46 +01:00
Uwe Steinmann
8197f37117
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2021-02-02 14:56:53 +01:00
Uwe Steinmann
4724935bec
cast access mode to int when passing to constructor of SeedDMS_Core_GroupAccess or SeedDMS_Core_UserAccess
2021-02-02 14:56:15 +01:00
Uwe Steinmann
3ddd18eb84
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2020-12-29 08:27:43 +01:00
Uwe Steinmann
144d35849b
check if attr def exists when setting attribute value
2020-12-28 08:14:05 +01:00
Uwe Steinmann
8e1e94e01a
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2020-12-16 16:51:00 +01:00
Uwe Steinmann
68ae8c17a5
check if folder/document is below rootDir can be turned on (default off)
2020-12-16 16:47:49 +01:00
Uwe Steinmann
c369950458
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2020-12-13 09:11:40 +01:00
Uwe Steinmann
f2c376cadc
sync call of getReadAccessList() with SeedDMS_Core_Document::getReadAccessList()
2020-12-12 16:27:01 +01:00
Uwe Steinmann
73fe0e37ff
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2020-10-05 17:15:09 +02:00
Uwe Steinmann
d867e5d0b8
SeedDMS_Folder_DMS::getAccessList() and getDefaultAccess() do not return fals anymore if the parent does not exists. They just stop inheritance.
2020-10-03 10:18:04 +02:00
Uwe Steinmann
50fb928988
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2020-06-05 18:10:23 +02:00
Uwe Steinmann
3cf091099b
fix many remaining todos (moѕtly wrong var names)
2020-06-05 18:06:27 +02:00
Uwe Steinmann
7b1835774d
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2019-12-15 08:03:36 +01:00
Uwe Steinmann
61f1ddbd08
minimize number of sql statements
...
add new method getInstanceByData(), get folders and documents from
first sql statement which fetches the subfolders and documents of
a folder instead of fetching each single document and folder.
2019-12-13 09:03:44 +01:00
Uwe Steinmann
670597ea5f
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2019-09-06 14:51:21 +02:00
Uwe Steinmann
99238a34f4
run decorators, new method isType(), use $this instead of self::
2019-08-08 08:43:20 +02:00
Uwe Steinmann
37db957c41
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2019-07-19 15:41:05 +02:00
Uwe Steinmann
ba9f4ba749
rename SeedDMS_Core_Folder::empty to emptyFolder
2019-07-17 10:50:52 +02:00
Uwe Steinmann
801f0f0ed2
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2019-07-05 08:10:42 +02:00