Commit Graph

334 Commits

Author SHA1 Message Date
steinm
8d9bc2cffa - completed getNotificationsByGroup() and getNotificationsByUser()
- added lots of documentation
2010-12-22 19:48:08 +00:00
steinm
985a1f3915 - pass the user how removes a group or user to remove() 2010-12-22 19:47:08 +00:00
steinm
17dae3a432 - more documentation 2010-12-22 13:18:02 +00:00
steinm
955be450f3 - getFolderPathHTML() is now a function in inc/inc.Utils.php because
it uses links only known by the calling application
2010-12-22 08:50:57 +00:00
steinm
613b0ecb8d - adding methods getNotificationsByGroup() and getNotificationsByUser() 2010-12-21 17:41:05 +00:00
steinm
3c91962c69 - adding methode getImage() 2010-12-21 17:39:16 +00:00
steinm
457b805f2c - declare $dms global 2010-12-16 09:29:49 +00:00
steinm
89835fcf1a - added some documentation 2010-12-16 09:28:34 +00:00
steinm
cbc28b7f42 - fixed error in getUsers(). 'isHidden' is not a table field. It must be 'hidden' 2010-12-14 14:15:16 +00:00
steinm
20d94edefd - set encoding in html header to utf-8 2010-12-14 13:07:29 +00:00
steinm
e6e5f7200c - added some more documentation
- no need to check for _parentID=0 or _parentID='' etc. Using empty()
  is sufficient
2010-12-14 12:43:14 +00:00
steinm
68b05f5119 - added more documentation 2010-12-10 13:40:13 +00:00
steinm
778f198515 - adjust constructor of LetoDMS_Folder after adding new database field
'date' into tblFolders
2010-12-10 13:39:28 +00:00
steinm
2903e30f08 - cannot use LetoDMS_User::role_admin in a string 2010-12-10 08:26:21 +00:00
steinm
42e640a0f1 - more documentation 2010-12-06 20:00:18 +00:00
steinm
f23b030ef0 - use new role field in class LetoDMS_User 2010-12-05 20:30:36 +00:00
steinm
4fc45c65ae - drop isAdmin and isGuest in user management and replaced it with
a 'role'
2010-12-05 20:29:33 +00:00
steinm
a7b2e11d5c - added new parameter 'isGuest' to constructor LetoDMS_User 2010-12-03 07:36:42 +00:00
steinm
877b438320 - use new function LetoDMS_User::isGuest() instead of checking id
against varialbe _guestID
2010-12-03 07:27:27 +00:00
steinm
201cefc84f - added new methods setGuest(), isGuest() and variable isGuest
- setHidden() now updates the internal variable propperly
2010-12-03 07:20:44 +00:00
steinm
d7053bd642 - fixed typo in comment 2010-12-01 13:36:55 +00:00
steinm
a90e190140 - added methods getRootFolder(), getFolderByName(), getDocumentByName() 2010-12-01 13:36:33 +00:00
steinm
73ca9f3a40 - take out check for guestID in addNotify() 2010-11-30 12:52:39 +00:00
steinm
2609b23bc8 - LetoDMS_DMS::setEnableGuestLogin() has been removed 2010-11-30 12:29:13 +00:00
steinm
5e8436e97e - LetoDMS_DMS::setGuestID() has been removed 2010-11-30 12:28:33 +00:00
steinm
06dd5ec89e - lots of documentation added 2010-11-30 12:23:46 +00:00
steinm
1f9cd66663 - last parameter of $document->addContent() has been removed 2010-11-30 09:28:28 +00:00
steinm
e3ad95de38 - addContent() determines a new version number itself and doesn't relay
on the auto_increment of the database anymore
- some mor documentation
2010-11-30 09:27:37 +00:00
steinm
56b2211263 - all static functions are now in inc.ClassDMS.php 2010-11-27 20:52:41 +00:00
steinm
d3744c0264 - inc.ClassKeywords.php is now included by inc.ClassDMS.php
- moved all static functions to get and add keywords in LetoDMS_DMS
2010-11-27 20:52:03 +00:00
steinm
93a57dcc3f - makeDir() is now a function in LetoDMS_File 2010-11-25 21:26:42 +00:00
steinm
7b7d0cc954 - put all functions into a class LetoDMS_File 2010-11-25 21:11:03 +00:00
steinm
ba8acee05a - adds lots of documentation
- addNotify() and removeNofify() no longer checks for rights of the
  currently logged in user, this should be done by the calling application
2010-11-25 21:09:52 +00:00
steinm
5ff7a11072 - call $dms->setViewOnlineFileTypes() 2010-11-25 21:07:52 +00:00
steinm
e63ca376f2 - add new class variable viewOnlineFileTypes
- include inc.FileUtils.php
2010-11-25 21:04:53 +00:00
steinm
7a6e0a622f - added function setDMS()
- remove spaces
2010-11-25 07:36:22 +00:00
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
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
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
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
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
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
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
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
5295252769 - prefixed classes with LetoDMS_ where needed 2010-11-08 12:41:53 +00:00
steinm
01648e3d7a - took over changes from stable release 2.0.2 2010-11-05 21:43:08 +00:00
steinm
b08d6861ed - took over changes from stable version 2.0.2 2010-11-05 21:17:41 +00:00
steinm
92447e05ba - took over changes from stable 2.0.2 release 2010-11-05 20:51:21 +00:00
steinm
15c385e155 - added new search method which will replace the search operation
in op/op.Search.php
2010-11-05 20:50:16 +00:00
steinm
51c720f20b - prefixed all remaining classes with LetoDMS_
- moved pseudo static functions into classes
2010-11-04 07:57:17 +00:00
steinm
a8e5a892a5 - renamed class DocumentContent into LetoDMS_DocumentContent 2010-11-04 07:47:29 +00:00
steinm
6f68193ffc - remove some global statements in functions where it is not used 2010-11-04 07:42:54 +00:00
steinm
1ad1c10870 - renamed class DatabaseAccess to LetoDMS_DatabaseAccess 2010-11-03 13:24:10 +00:00
steinm
be2024b912 - renamed class Version to LetoDMS_Version 2010-11-03 12:50:58 +00:00
steinm
f14f5f3bf5 - renamed class KeywordCategories to LetoDMS_KeywordCategories 2010-11-03 12:46:30 +00:00
steinm
0e30ce6eb3 - renamed class Email to LetoDMS_Email 2010-11-03 12:33:46 +00:00
steinm
f18c89ebab - prefixed class GroupAccess and UserAccess with LetoDMS_ 2010-11-03 10:23:57 +00:00
steinm
a26a34162e - renamed class Group to LetoDMS_Group
- moved all static functions into class but kept old functions for
  backward compatibility
2010-11-03 10:18:26 +00:00
steinm
509aaa18d6 - rename class to LetoDMS_Folder
- created replacement function for getFolder(), etc. as static method
2010-10-30 19:29:09 +00:00
steinm
5af290a527 - renamed class Document to LetoDMS_Document
- add static function getDocument() to LetoDMS_Document but kept the
  old function getDocument() until all calls has been changed to
	LetoDMS_Document::getDocument()
2010-10-29 14:16:25 +00:00
steinm
b5bc621318 - move all sources into trunk 2010-10-29 13:19:51 +00:00