Commit Graph

424 Commits

Author SHA1 Message Date
Uwe Steinmann
2883b61830 Merge branch 'develop' into hooks
Conflicts:
	op/op.Login.php
2013-08-03 09:48:49 +02:00
Uwe Steinmann
ea27bd41fd connect to ldap server which doesn't allow anonymous bind 2013-07-31 22:00:51 +02:00
Uwe Steinmann
1451659ba2 pass up to 2 parameters when calling hook 2013-07-31 17:28:02 +02:00
Uwe Steinmann
616c6c3706 use utf-8 in email subject 2013-07-23 07:01:27 +02:00
Uwe Steinmann
25a6bf8f72 view hooks are now in $GLOBALS['SEEDDMS_HOOKS']['view'] 2013-07-21 11:52:58 +02:00
Uwe Steinmann
5ee03ef693 very simple controller pattern
basically used for adding hooks in op/op.* files
2013-07-21 11:47:49 +02:00
Uwe Steinmann
2979fc9648 Merge branch 'develop' into hooks
Conflicts:
	views/bootstrap/class.ViewFolder.php
2013-07-19 23:14:29 +02:00
Uwe Steinmann
c0961ae809 new version 4.3.0RC1 2013-07-19 23:08:28 +02:00
Uwe Steinmann
aafec75e76 add method unsetParam() 2013-06-18 18:14:14 +02:00
Uwe Steinmann
97d98137ca factory can be called without a class
in that case only the parent class SeedDMS_Bootstrap_Style will be initiated
2013-06-18 18:13:18 +02:00
Uwe Steinmann
4ab841b09d new version 4.3.0pre3 2013-06-17 16:04:14 +02:00
Uwe Steinmann
9680d95e00 set refferer for view 2013-06-14 00:02:53 +02:00
Uwe Steinmann
12d2e4778b add method clearClipboard() 2013-06-13 23:14:47 +02:00
Uwe Steinmann
77b0fdfd12 add new config option enableClipboard 2013-06-13 14:57:53 +02:00
Uwe Steinmann
c4b1a9bc05 new version 4.3.0pre2 2013-06-07 22:02:12 +02:00
Uwe Steinmann
72010b1bc0 Merge branch 'develop' into hooks 2013-06-06 16:02:28 +02:00
Uwe Steinmann
8e7eae836c set version to 4.3.0pre1 2013-05-31 14:23:45 +02:00
Uwe Steinmann
f3c1e5ae8e users that cannot be deleted can be specified in settings 2013-05-31 11:59:12 +02:00
Uwe Steinmann
2b13f11eae pass $db to constructor of extension manager 2013-05-28 07:33:03 +02:00
Uwe Steinmann
b96e9f83f9 new function cmpVersion() 2013-05-28 07:31:41 +02:00
Uwe Steinmann
b03bb1c286 pass $db to constructor 2013-05-28 07:31:16 +02:00
Uwe Steinmann
2fe6e7ac82 Merge branch 'develop' into hooks 2013-05-28 06:31:59 +02:00
Uwe Steinmann
a404dfd03f initialize $LANG to an empty array 2013-05-24 17:31:22 +02:00
Uwe Steinmann
17130cec5e Merge branch 'develop' into hooks 2013-05-22 20:31:57 +02:00
Uwe Steinmann
8c09b7fcb1 new versіon 4.3.0 2013-05-22 20:29:11 +02:00
Uwe Steinmann
88c8fa8ef6 rename all xxxFlashMsg() methods to xxxSplashMsg() 2013-05-21 08:36:11 +02:00
Uwe Steinmann
b5caa801b6 add more flash msg methods 2013-05-18 22:52:43 +02:00
Uwe Steinmann
917e018bb4 initial functions for flash messages 2013-05-18 22:29:45 +02:00
Uwe Steinmann
df35579ea6 Merge branch 'develop' into hooks 2013-05-17 09:47:14 +02:00
Uwe Steinmann
9f945b2714 Merge branch 'seeddms-4.2.2' into develop
Conflicts:
	CHANGELOG
	views/bootstrap/class.ViewDocument.php
2013-05-17 09:42:33 +02:00
Uwe Steinmann
60ea8fccb4 new version 4.2.2 2013-05-17 09:31:52 +02:00
Uwe Steinmann
40678c325f always include extension file, even when is was just created 2013-05-03 11:40:47 +02:00
Uwe Steinmann
2f5d9fd5a1 new method version() which just returns the version number 2013-05-03 11:33:38 +02:00
Uwe Steinmann
9f0fbbf2db do not load extension if it is disabled 2013-05-03 11:32:25 +02:00
Uwe Steinmann
386b0047b4 add save and reading of extension configuration 2013-05-02 22:30:42 +02:00
Uwe Steinmann
0a3811c429 remove debug output 2013-05-02 22:30:09 +02:00
Uwe Steinmann
d0118f9b9d Merge branch 'develop' into hooks 2013-05-02 18:33:37 +02:00
Uwe Steinmann
69a0578a74 no more php warning if translation could not be found in default lang 2013-05-02 18:31:26 +02:00
Uwe Steinmann
5afc572a8c fix nasty syntax error 2013-05-02 12:14:54 +02:00
Uwe Steinmann
50e41be376 add method callHook()
this method is ment to be called from the view classes. It checks
for a hook set up for the current view.
2013-05-02 12:12:28 +02:00
Uwe Steinmann
e8e19385cc file for setting up extensions 2013-05-02 12:11:03 +02:00
Uwe Steinmann
ae003bf7f2 new class to manage extensions 2013-05-02 12:10:42 +02:00
Uwe Steinmann
43323140a2 initialize substituted user in session to 0 2013-05-02 08:27:59 +02:00
Uwe Steinmann
1e3681094f Merge branch 'develop' into hooks 2013-05-02 07:36:14 +02:00
Uwe Steinmann
9f8b928e1d Merge branch 'seeddms-4.2.1' into develop 2013-05-02 07:35:51 +02:00
Uwe Steinmann
baf4b9a979 new version 4.2.1 2013-05-02 07:19:19 +02:00
Uwe Steinmann
c0c9aaa61c Merge branch 'develop' into hooks 2013-04-30 20:01:38 +02:00
Uwe Steinmann
14e8d4ef02 set max execution time from settings 2013-04-30 20:00:50 +02:00
Uwe Steinmann
1f73a6150e Merge branch 'develop' into hooks 2013-04-30 19:20:17 +02:00
Uwe Steinmann
9400a962a8 maySetExpires() doesn't check if version modification is enabled
this makes no sense because a expiration date can only be set for
a document and not for the version
2013-04-30 17:23:24 +02:00
Uwe Steinmann
f7a5daa8a0 use same date format in getReadableDate() and getLongReadableDate() 2013-04-30 08:36:02 +02:00
Uwe Steinmann
ea79961d85 Merge branch 'develop' into hooks 2013-04-22 10:48:06 +02:00
Uwe Steinmann
e8e58b6bae fix sql statement to create session 2013-04-22 10:26:48 +02:00
Uwe Steinmann
d22021ed4e base clase for extensions 2013-04-19 14:46:28 +02:00
Uwe Steinmann
f41fa136dc take user from session parameter 'su' if set 2013-04-19 08:44:51 +02:00
Uwe Steinmann
b6bf0604a4 add new parameter 'su' for switching users while being admin 2013-04-19 08:44:04 +02:00
Uwe Steinmann
a4be140775 remove empty line 2013-04-18 22:19:19 +02:00
Uwe Steinmann
aecd7a9083 solved conflict with branch seeddms-4.1.3 2013-04-17 11:15:19 +02:00
Uwe Steinmann
43c084511c set iconѕ for office text and spreadsheet documents 2013-04-11 08:37:36 +02:00
Uwe Steinmann
6e263b7e0b add new parameter for recursive document/folder count 2013-04-10 15:41:38 +02:00
Uwe Steinmann
21437e5a90 move filterDocumentLinks() from inc.Util.php to Core/inc.ClassDMS.php 2013-04-10 15:39:05 +02:00
Uwe Steinmann
0c89264f79 Merge branch 'seeddms-4.1.4' into develop 2013-04-08 20:49:11 +02:00
Uwe Steinmann
af08f27102 make methods match with abstract method definition 2013-04-08 20:48:07 +02:00
Uwe Steinmann
6277eb2f6c Merge branch 'seeddms-4.1.3' into develop
Conflicts:
	Makefile
	inc/inc.Version.php
2013-04-08 16:50:12 +02:00
Uwe Steinmann
be7e8f9a93 new version 4.1.3 2013-04-08 16:48:49 +02:00
Uwe Steinmann
8b344163c8 Merge branch 'seeddms-4.1.3' into develop 2013-04-08 09:15:42 +02:00
Uwe Steinmann
ca5705d086 fix calling getID() of user added a document link 2013-04-08 09:13:36 +02:00
Uwe Steinmann
abf12413da Merge branch 'seeddms-4.1.3' into develop 2013-04-08 08:52:53 +02:00
Uwe Steinmann
1fc78ff3b4 do not access protected variable _userID of DocumentLink 2013-04-08 08:48:29 +02:00
Uwe Steinmann
ec349a143d set fileformat to unix 2013-04-08 08:23:03 +02:00
Uwe Steinmann
d88e907086 merge from seeddms-4.1.2 2013-04-08 08:18:19 +02:00
Uwe Steinmann
26798d7676 Merge branch 'seeddms-4.1.2' into develop
Conflicts:
	Makefile
	inc/inc.Version.php
	install/install.php
2013-04-08 08:17:46 +02:00
Uwe Steinmann
72200c5f96 prepare for new version 4.1.2 2013-04-08 07:58:28 +02:00
Uwe Steinmann
0ac6ff9a91 prepare for version 4.1.1 2013-04-05 16:54:48 +02:00
Uwe Steinmann
5d41aad78c prepare for next version 4.2.0 2013-04-05 13:08:37 +02:00
Uwe Steinmann
5a3c2d9d4b if after all no translation could be found, take the language in the settings 2013-03-27 09:45:06 +01:00
Uwe Steinmann
5e87cb378d do not intanciate Email class if emailing is turned off
checking if email is on was removed from Email class
2013-03-08 18:20:45 +01:00
Uwe Steinmann
34b72a17a1 reworked notification system
The notifaction will now be send in the language as specified in the
user's profile
2013-03-06 12:53:25 +01:00
Uwe Steinmann
c8de3e2d72 language files are now included in inc/inc.Language.php 2013-02-28 14:55:26 +01:00
Uwe Steinmann
0f1f627a50 prepare language code for send emails in user defined language 2013-02-28 14:54:37 +01:00
Uwe Steinmann
fcb01c0d07 do not call $dms->setEnableAdminRevApp() anymore 2013-02-27 20:39:07 +01:00
Uwe Steinmann
52268d659c make getStyles() and exitError() static 2013-02-27 17:10:00 +01:00
Uwe Steinmann
cfc301290e make factory(), getStyles() and exitError() static 2013-02-27 17:09:26 +01:00
Uwe Steinmann
7f2d7e3ebe new variables enableSelfRefApp and enableOwnerRevApp 2013-02-27 09:09:00 +01:00
Uwe Steinmann
3f20f624bc replace mktime() by time() 2013-02-27 09:08:16 +01:00
Uwe Steinmann
b255150fb1 added comment that mydmsDecodeStr shall not be deleted 2013-02-20 09:46:08 +01:00
Uwe Steinmann
cd88603c49 set header 'Content-Type: text/plain; charset=utf-8' 2013-02-15 20:29:19 +01:00
Uwe Steinmann
96e186bb52 set default style to bootstrap, set extraPath before checking system 2013-02-14 12:54:16 +01:00
Uwe Steinmann
73c6ff9427 major name change from letodms to seeddms 2013-02-14 12:10:53 +01:00
steinm
f7fc4b660d - added comment that formatted_size() is deprecated 2013-02-08 08:07:11 +00:00
steinm
5572ad52c7 - do not log user, if it is not set 2013-02-07 16:59:41 +00:00
steinm
8e950290dc - added function to set user id in session (currently not used) 2013-02-06 17:33:11 +00:00
steinm
6ac7e362e3 - added copyright notice 2013-02-06 13:49:58 +00:00
steinm
3e3d57bb86 - check for extraPath in settings and add it to the php include path 2013-02-06 13:49:04 +00:00
steinm
be13dac0b7 - set parameter workflowmode for all views 2013-02-06 13:48:23 +00:00
steinm
c68e0165a5 - replace old adodb path by extraPath 2013-02-04 09:19:50 +00:00
steinm
78c1ea37a3 - added missing copyright notice 2013-02-04 09:19:10 +00:00
steinm
0c22d143eb - added clipboard management 2013-01-30 19:58:36 +00:00
steinm
0c5941c4e4 - fixed typo in 'partitionsize' 2013-01-29 13:08:25 +00:00
steinm
a022d4cf8e - added flags for language selector and duplicate document names 2013-01-28 10:40:04 +00:00
steinm
d20c0beff3 - pass $session as parameter to view 2013-01-28 10:16:13 +00:00
steinm
65c5f4ad33 added functions getReadableDuration() and getReadableDurationArray() 2013-01-24 08:34:59 +00:00
steinm
6c01bb7aff added cookie lifetime and workflow mode 2013-01-24 08:33:51 +00:00
steinm
c603feada9 fixed comment 2013-01-24 08:33:03 +00:00
steinm
d30cdb6799 - added methods setLanguage() and getLanguage(), better internal data handling 2013-01-24 08:04:14 +00:00
steinm
0b64db098f include language file in inc.Authentication.php instead of inc.Language.php
check if language file is available
2013-01-24 08:02:58 +00:00
steinm
09bd71f480 - added missing files 2013-01-11 16:55:34 +00:00
steinm
447d6ea175 new version 4.0.0 2012-12-19 10:30:47 +00:00
steinm
14334d55ae - added function checkQuota() 2012-12-19 10:08:06 +00:00
steinm
1ded3a8ee8 added quota for users 2012-12-19 10:05:34 +00:00
steinm
93ff0f13aa reformating of code
more steps in simple password strength calculation
2012-12-14 20:41:56 +00:00
steinm
13ed67e42c - added rootDir.'pear' to include path 2012-12-14 14:36:09 +00:00
steinm
8e7533ed88 output function has been moved into views 2012-12-14 08:58:27 +00:00
steinm
6cfdeb71b7 - code has moѕtly been moved into views 2012-12-14 08:57:29 +00:00
steinm
1182551098 added cacheDir and dropFolderDir
load() checks if configuration file exists and can be parsed
2012-12-14 07:48:20 +00:00
steinm
2bba022d94 read additional language file from the new views/theme directory 2012-12-13 21:33:15 +00:00
steinm
9490980ec2 added new function dskspace()
new optional parameter for getFolderPathHTML() to pass the document
added new function filterDocumentLinks()
2012-12-13 21:32:05 +00:00
steinm
6e6955176a set From and Reply-To from email settings in configuration 2012-12-13 21:30:01 +00:00
steinm
7d59ae97a8 - added methods mayReview() and mayApprove() 2012-10-23 09:17:07 +00:00
steinm
15e556192c - redid all changes in 3.4.x after project update at sf 2012-10-19 11:41:55 +00:00
steinm
b726a20ed9 - added method printAttributeEditField() 2012-10-09 09:58:15 +00:00
steinm
68e096e1f6 - new class with all checks wether an operation is allowed or not 2012-10-09 09:46:24 +00:00
steinm
fe3f5b7840 - added more config options for notification 2012-10-05 19:47:37 +00:00
steinm
24d41c956d - prevent xss attack 2012-09-11 12:54:43 +00:00
steinm
07b7578190 - allow to check forms with GET Request 2012-08-31 07:43:43 +00:00
steinm
2a11ab47bc - new function to create and check formular tokens for POST Requests 2012-08-29 20:49:42 +00:00
steinm
da2e00e96b - new method getId() 2012-08-29 20:42:33 +00:00
steinm
322d4e78d9 - added encryption key 2012-08-29 20:42:13 +00:00
steinm
c0fe231b4e - set version to 3.4.0 2012-08-28 09:19:50 +00:00
steinm
8eac512855 - prevent XSS attack in showtree() 2012-08-28 06:39:15 +00:00
steinm
59506d46e0 - check if password has expired 2012-08-28 06:36:33 +00:00
steinm
99d6b0b12f - fixed security wholes (mostly possible sql injections) 2012-08-28 06:35:43 +00:00
steinm
36dc571aa5 - added more configuration settings for password handling, stopwords file
and user listing
2012-08-28 06:34:21 +00:00
steinm
8ba211914e - simple class to manage the former passwords of a user 2012-08-28 06:28:42 +00:00
steinm
d2692de44a - class to calculate the password strength 2012-08-28 06:25:52 +00:00
steinm
46bf243ba8 - move added of adodb path to include path from DBInit.php to Settings.php 2012-05-08 08:02:06 +00:00
steinm
122da09a18 - searchConfigFilePath() uses getConfigDir() to get configuration directory 2012-04-16 19:37:46 +00:00
steinm
c06ad5b396 - added code to save and load converters for index from configuration 2012-02-14 12:53:47 +00:00
steinm
3765fd9ddd - prepare for version 3.3.0 2012-02-08 11:15:52 +00:00
steinm
5a39bffd73 - replace more <?= by <?php 2012-02-07 10:31:31 +00:00
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