Commit Graph

409 Commits

Author SHA1 Message Date
Uwe Steinmann
69aa7db50b callHook() can handle function parameters passed to the hook 2014-01-10 07:52:53 +01:00
Uwe Steinmann
18d705a687 use always the same date format 2014-01-08 06:34:53 +01:00
Uwe Steinmann
cc603741d7 strip slashes from all _GET, _POST, _COOKIE, _REQUEST if magic quotes is on 2014-01-08 06:34:15 +01:00
Uwe Steinmann
d3955f17c1 use default languages if phrase is not set or empty 2014-01-08 06:33:40 +01:00
Uwe Steinmann
282612dc56 use smtpfrommail for From field 2014-01-08 06:33:09 +01:00
Uwe Steinmann
8a7866db81 use string from default language if translation is empty 2014-01-07 09:04:10 +01:00
Uwe Steinmann
713a387231 strip slashes from $_GET, $_POST, ... if magic quotes is on 2014-01-07 08:39:34 +01:00
Uwe Steinmann
7369aa2879 take from address from _smtpSendFrom 2014-01-06 22:08:01 +01:00
Uwe Steinmann
d6d33db858 use 'Y-m-d' for date formating 2013-12-17 11:18:45 +01:00
Uwe Steinmann
39f19f25bb Merge branch 'seeddms-4.3.2' into develop
Conflicts:
	Makefile
2013-11-27 14:10:05 +01:00
Uwe Steinmann
99cb2503dc new version 4.3.2 2013-11-27 10:58:20 +01:00
Uwe Steinmann
cf867792b2 Merge branch 'seeddms-4.3.2' into develop 2013-11-24 18:20:36 +01:00
Uwe Steinmann
abed5d1023 if SEEDDMS_CONFIG_FILE is set, it will be passed to Settings() 2013-10-30 09:57:12 +01:00
Uwe Steinmann
05d51c05bd use PATH_SEPARATOR and DIRECTORY_SEPARATOR 2013-10-21 12:14:37 +02:00
Uwe Steinmann
2cdad42ff9 add form to translated phrase for passing string to otrance 2013-10-08 21:07:28 +02:00
Uwe Steinmann
bcd18ef813 add optional parameter $priority to add_log_line() 2013-10-06 12:27:54 +02:00
Uwe Steinmann
4c514a23b6 Merge branch 'seeddms-4.3.1' into develop
Conflicts:
	Makefile
2013-09-20 21:40:22 +02:00
Uwe Steinmann
9b021e6e20 new version 4.3.1 2013-09-20 21:36:10 +02:00
Uwe Steinmann
686666d42f pass smtp paramters to contructor of SeedDMS_Email 2013-09-13 14:55:34 +02:00
Uwe Steinmann
9382c4d1b1 add config parameters for smtp username and password 2013-09-13 14:54:37 +02:00
Uwe Steinmann
d1f62e0eae replaceMarker() is deprecated 2013-09-13 14:06:28 +02:00
Uwe Steinmann
3b4b256763 use PEAR::Mail for sending mails, add support for smtp authentication 2013-09-13 14:04:31 +02:00
Uwe Steinmann
353da0c297 Merge branch 'seeddms-4.3.1' into develop 2013-09-05 23:01:27 +02:00
Uwe Steinmann
9a0d6cb3b8 set icon for rar files (fixes bug #85) 2013-09-05 22:59:45 +02:00
Uwe Steinmann
6e6fb20244 Merge branch 'hooks' into develop
Conflicts:
	Makefile
2013-09-05 08:52:37 +02:00
Uwe Steinmann
b6ca77e261 new version 4.3.0 2013-09-05 07:44:22 +02:00
Uwe Steinmann
332d6b7b6c allow to call multiple hooks
the first hook does not return the callHook function
2013-09-03 22:07:16 +02:00
Uwe Steinmann
bb7eed2730 add two function to encrypt and decrypt a string
not used yet
2013-09-03 08:23:23 +02:00
Uwe Steinmann
ec047b53da fix missing email headers when sending passwort forgotten mail
Closes Bug #81
2013-08-17 07:36:43 +02:00
Uwe Steinmann
3dd1c2cd4e load language file of extension if available 2013-08-15 20:37:33 +02:00
Uwe Steinmann
f3717eeacc first check if configuration parameter is set
before accessing it and saving in xml file
2013-08-14 15:54:51 +02:00
Uwe Steinmann
04dc5f95a4 new verson 4.3.0RC3 2013-08-14 08:12:34 +02:00
Uwe Steinmann
ef933079bc set version to 4.3.0RC2 2013-08-13 15:10:40 +02:00
Uwe Steinmann
5d06e2e256 check for minimum php version 2013-08-13 15:10:09 +02:00
Uwe Steinmann
59ec02cec0 pass $settings to view 2013-08-03 12:43:50 +02:00
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