Commit Graph

2675 Commits

Author SHA1 Message Date
steinm
aa0f628f77 - fixed syntax error 2010-11-25 07:35:47 +00:00
steinm
2581f438e4 - remove global variables
- more documentation
2010-11-24 15:43:08 +00:00
steinm
b3a79e21ff - no need to set adminID anymore 2010-11-23 14:56:57 +00:00
steinm
4291f8c7a2 - include inc.ClassAccess.php
- remove adminID, user who are admins are now identified by the isAdmin()
  function
2010-11-23 14:56:25 +00:00
steinm
35b663eb74 - inc.ClassAccess is now included by inc.ClassDMS.php 2010-11-23 08:13:17 +00:00
steinm
9a4865e19f - moved filter functions into LetoDMS_DMS 2010-11-22 21:02:02 +00:00
steinm
1e22f6f1b1 - filterAccess() is now a static function of LetoDMS_DMS 2010-11-22 21:01:33 +00:00
steinm
a029cd22c2 - filterAccess() and filterUsersByAccess() are now static functions in
LetoDMS_DMS and inc.AccessUtils.php is included in inc.ClassDMS.php
2010-11-22 20:42:19 +00:00
steinm
10aadee937 - user current logged in user as sender of notify 2010-11-22 15:06:51 +00:00
steinm
d8cea19b18 - parameter of getAllKeywordCategories() is now an array of users 2010-11-22 14:55:47 +00:00
steinm
412d17562b - use $this->_dms->getUser() to create user instead of calling LetoDMS_User
constructor
2010-11-22 14:54:55 +00:00
steinm
8ec46b5f68 - added documentation
- removed getDocuments() which is now in LetoDMS_DMS::getDocumentsByUser()
2010-11-22 14:53:28 +00:00
steinm
3187c8967c - get rid of _adminID 2010-11-22 14:51:44 +00:00
steinm
5d919828b4 - fixed line ending 2010-11-22 14:50:50 +00:00
steinm
b11cb60de7 - added method getDocumentsByUser() 2010-11-22 14:49:29 +00:00
steinm
d9f7bb09bc - do not instanciate class LetoDMS_Email, it is done globaly
- send notification only if name has changed
2010-11-18 14:37:55 +00:00
steinm
0d695f57d6 - get list of users/groups to notify before removing document 2010-11-18 14:36:45 +00:00
steinm
af5e6e7b79 - fixed sending of notification 2010-11-18 14:36:05 +00:00
steinm
8c4082cb8e - getFolderPathHTML() is now a method of LetoDMS_DMS 2010-11-18 14:34:51 +00:00
steinm
1f09dc0a34 - moved all notification code out of LetoDMS_Document into the 'layer'
above. This will allow to get rid of most of the global variables
	in LetoDMS_Document and make it reusable
2010-11-18 13:53:26 +00:00
steinm
cc43fca1a3 - added more configuration variables to class LetoDMS_DMS 2010-11-18 10:32:10 +00:00
steinm
fbc6ce4c9a - constructor of LetoDMS_[Group|User]Access requires the user/group not
its id anymore
2010-11-18 10:28:45 +00:00
steinm
81f4c235d5 - various global function have moved into LetoDMS_DMS 2010-11-18 10:26:47 +00:00
steinm
73494943d5 - getAllUsers() and getAllGroups() are now in LetoDMS_DMS 2010-11-18 10:25:43 +00:00
steinm
395504dcdb - this file had not reasonable content anyway 2010-11-17 08:03:38 +00:00
steinm
57140351ce - user LetoDMS_Documment::removeDocumentFile() to remove files, LetoDMS_Documentfile::remove() is obsolete 2010-11-17 07:42:31 +00:00
steinm
cb98dc8ea7 - create notifier and set sender 2010-11-17 07:41:35 +00:00
steinm
31b1f00171 - added code to notify users which was previously in inc.ClassFolder.php 2010-11-17 07:34:12 +00:00
steinm
e4e2a6f911 - removed all code to notify users, because it does not belong into the
core dms but is a function of the upper layers. It will also finally
	allow to get rid of most global variables
2010-11-17 07:33:12 +00:00
steinm
f781650133 - getAllGroups() is now a method of LetoDMD_DMS 2010-11-17 07:30:54 +00:00
steinm
d619bc8dc8 - do not include inc.ClassEmail.php, it is already included in inc.ClassDMS.php 2010-11-17 07:30:11 +00:00
steinm
9acbde3e0e - getAllUsers() and gelAllGroups() are now methods of LetoDMЅ_DMS 2010-11-17 07:29:11 +00:00
steinm
70762ca49e - getAllUsers() and getAllGroups() are now methods of LetoDMЅ_DMS 2010-11-17 07:27:12 +00:00
steinm
181c2c7e50 - lots of documentation
- replace more global variables
2010-11-16 09:10:39 +00:00
steinm
2c99342376 - removed search() (is now in LetoDSM_DMS)
- replaced all calls of getFolderPathPlain() by LetoDMS_Folder::getFolderPathPlain()
2010-11-16 09:09:07 +00:00
steinm
efb70c5dfc - set enableAdminRevApp and enableGuestLogin from global configuration 2010-11-16 09:07:59 +00:00
steinm
5334eb730f - added more configuration variables 2010-11-16 09:07:19 +00:00
steinm
238425a4c3 - use new object $dms 2010-11-16 08:38:14 +00:00
steinm
ced611f5b9 - do not global functions getAll[Users|Groups] anymore 2010-11-15 21:10:37 +00:00
steinm
0a116adc88 - moved functions to create users and groups completely in LetoDMS_DMS 2010-11-15 21:08:07 +00:00
steinm
4678218f1a - moved function to admin users and groups in LetoDMS_DMS 2010-11-15 12:01:21 +00:00
steinm
7a750de5b4 - fixed overall folder and document overview 2010-11-12 23:00:36 +00:00
steinm
9f61a7d9be - was just a copy anyway 2010-11-12 22:51:06 +00:00
steinm
cfd3eaae06 - first step to get rid of global variables from all files in inc/
- added new Class LetoDMS_DMS which represents the DMS, contains
  all settings for the DMS and the database connection. A document
	and a folder have a reference to the DMS
2010-11-12 22:47:41 +00:00
steinm
8211696b44 - new class representing the DMS 2010-11-12 22:40:12 +00:00
steinm
f8636303a5 - new class for general notifier like (Email) 2010-11-12 22:39:45 +00:00
steinm
7f26d95c48 - added missing configuration variables 2010-11-08 13:46:04 +00:00
steinm
b2ca33e9f4 - added new variables _disableSelfEdit and _adminIP 2010-11-08 12:52:53 +00:00
steinm
d09ff8cc69 - added text new in 2.0.2 2010-11-08 12:50:34 +00:00
steinm
92a797f032 - replace $user->getID($user) by $user->getID() 2010-11-08 12:49:21 +00:00