Commit Graph

334 Commits

Author SHA1 Message Date
steinm
c196697420 - do not try to create files in conten directory if it could not be
found in the first place
2012-01-17 08:31:45 +00:00
steinm
5d355b8f6d - new version 3.3.0-pre1 2011-12-21 12:15:38 +00:00
steinm
f43902413c - set maxDirID to value set in settings.xml 2011-12-08 19:43:39 +00:00
steinm
3dedb42075 - categories of a document can be deleted 2011-12-06 12:28:36 +00:00
steinm
d2a4147de3 - just replace ' by \' in javascript code, do not use htmlspecialchars() 2011-12-05 16:44:09 +00:00
steinm
b0b47789db - do not use mydmsDecodeString() anymore 2011-12-05 14:52:05 +00:00
steinm
670f0aca48 - call htmlspecialchars() where needed 2011-12-03 11:09:14 +00:00
steinm
5cf50ab13e - call htmlspecialchars() before output 2011-12-03 11:08:26 +00:00
steinm
d9cedd79fc - no more protection against sql injection in sanitizeString() (it's been
done when the sql statements are put together)
2011-12-02 09:13:07 +00:00
steinm
19d222b4df - quote string propperly before using in sql statement 2011-12-01 21:37:10 +00:00
steinm
385274824d - do not issue a warning if config file is not present during installation 2011-11-29 07:20:25 +00:00
steinm
c3c1694826 - added method qstr() to inc.DBAccess.php and use it class Session 2011-11-29 07:17:29 +00:00
steinm
f2e279f4c5 - no need to sanitize the session cookie, it is properly quoted when used
in the select statement
2011-11-29 07:16:04 +00:00
steinm
abd76b45a0 - added global statement 2011-10-26 07:31:48 +00:00
steinm
16eeb9bde8 - many more checks during installation process 2011-10-26 07:30:51 +00:00
steinm
8215cd7590 - put string into quotes in javascript code 2011-10-25 13:35:31 +00:00
steinm
ab3b98e1c1 - added _enableLargeFileUpload 2011-10-25 13:34:56 +00:00
steinm
0b7120239e - use themes from dir themes if available
- fixed error in javascript to show attributes of file in Jumploader
- lots of vim folding
2011-10-19 08:56:15 +00:00
steinm
ebf23b7c30 - added switch to enable password forgotten function 2011-10-10 08:39:31 +00:00
steinm
cca7d2c3c6 - added function sendPassword() 2011-10-07 16:11:58 +00:00
steinm
8ef7cea072 - do not run install if ENABLE_INSTALL_TOOL is not available
- do not run letodms if ENABLE_INSTALL_TOOL is available
2011-07-27 06:22:26 +00:00
steinm
4742dce09d - class Settings has been moved into inc.ClassSettings.php 2011-07-21 06:53:35 +00:00
steinm
4bfcad0784 - fixed some javascript to make it work with java 1.5 2011-07-20 07:09:52 +00:00
steinm
a915dccadf - use global logger 2011-05-16 15:44:59 +00:00
steinm
0da9f5ba8e - fixed line indenting 2011-05-16 07:31:57 +00:00
steinm
66e906853e - use PATH_SEPARATOR 2011-03-23 13:26:08 +00:00
steinm
740c4954cb - added new configuration variables 2011-03-15 14:19:17 +00:00
steinm
7937b5d884 - update to new configuration with xml file 2011-03-14 16:35:41 +00:00
steinm
cb6ff42daf - added methode to show jumploader 2011-03-10 14:46:01 +00:00
steinm
53f30ad963 - moved extending include_path for adodb from inc.Settings.php into
inc.DBInit.php
2011-03-10 14:44:55 +00:00
steinm
dd898d659b - set next upcomming version 3.1.0 2011-02-18 16:16:03 +00:00
steinm
d1778c7f15 - fixed path to Core.php 2011-02-18 16:15:32 +00:00
steinm
1fe1a04a19 - check database version 2011-02-03 15:11:01 +00:00
steinm
fd4924682d - use !empty() instead of isset() from _coreDir 2011-01-31 11:05:15 +00:00
steinm
b61813474a - use $dms->contentDir instead of $settings->_contentDir where ever possible 2011-01-28 07:41:26 +00:00
steinm
24dffb07ca - do not use dir for letodms_core as include path anymore 2011-01-21 08:36:21 +00:00
steinm
56fc30b771 - new version 3.0.0-RC1 2011-01-20 14:49:02 +00:00
steinm
e761b28072 - expand path by $settings->_LetoDMSCorePath if set 2011-01-20 12:47:04 +00:00
steinm
5cc903ca8f - include LetoDMS/LetoDMS_Core.php 2011-01-20 12:46:36 +00:00
steinm
a65ea4a3f1 - extend include_path by directory of adodb if set 2011-01-20 10:18:06 +00:00
steinm
8a84bc3b51 - rename all classes belonging to the core of LetoDMS into LetoDMS_Core_xxx
- move them all into LetoDMS_Core
2011-01-20 08:18:37 +00:00
steinm
dfd6d69b12 - added documentation 2011-01-14 19:41:07 +00:00
steinm
e6236378ad - include inc.DBAccess.php 2011-01-14 19:40:38 +00:00
steinm
3de58ab8bc - added documentation 2011-01-14 19:40:12 +00:00
steinm
a2027563b1 - added new class for representing a notification 2011-01-11 09:31:33 +00:00
steinm
e00419b1cc - added more documentation 2011-01-11 09:06:59 +00:00
steinm
4235b3875e - use new class LetoDMS_Session instead of accessing the database directly 2011-01-11 08:03:38 +00:00
steinm
f9cf7309d4 - new class for simple session management 2011-01-11 08:02:45 +00:00
steinm
b86d460c8e - added file documentation 2010-12-22 19:49:56 +00:00
steinm
aaa3476f7c - LetoDMS_DMS doesn't have contentOffsetDir anymore 2010-12-22 19:49:20 +00:00
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