Commit Graph

484 Commits

Author SHA1 Message Date
Uwe Steinmann
cf867792b2 Merge branch 'seeddms-4.3.2' into develop 2013-11-24 18:20:36 +01:00
Uwe Steinmann
76701aed03 remove echo statement when delete document from fulltext index 2013-11-24 18:19:42 +01:00
Uwe Steinmann
d647d27692 fix wrong header line 2013-10-30 09:58:17 +01:00
Uwe Steinmann
902cae2804 no more errors if url parameters are missing 2013-09-27 15:01:45 +02:00
Uwe Steinmann
9a6772b59a use defines S_DRAFT_APP and S_RELEASE instead of numbers 2013-09-27 08:24:09 +02:00
Uwe Steinmann
25a38e27a3 move most of functionality into controller 2013-09-20 13:44:47 +02:00
Uwe Steinmann
4e5ddaa2f9 use same mail mechanism as for notifications 2013-09-13 15:01:02 +02:00
Uwe Steinmann
9382c4d1b1 add config parameters for smtp username and password 2013-09-13 14:54:37 +02:00
Uwe Steinmann
7b1663479d add command for sending a test mail 2013-09-13 14:52:32 +02:00
Uwe Steinmann
d6f024dfb4 do not remove cookie if it isn't set, use controller to call hook 2013-09-11 18:41:36 +02:00
Uwe Steinmann
326b8fe5eb run controller 2013-09-09 09:36:57 +02:00
Uwe Steinmann
6e6fb20244 Merge branch 'hooks' into develop
Conflicts:
	Makefile
2013-09-05 08:52:37 +02:00
Uwe Steinmann
ae1f78228a ajax request can use post or get 2013-09-03 08:19:59 +02:00
Uwe Steinmann
6d4cf1f4f9 check if SeedDMS_Lucene_Search::search() returns false
issue an error msg in that case
2013-08-13 22:09:40 +02:00
Uwe Steinmann
f753d9fa47 Merge branch 'develop' into hooks 2013-08-07 22:00:56 +02:00
Uwe Steinmann
68e1d995b1 fix setting password when simple password strength is set
no matter what password strength algorthm was set, the advanced
algorithm was used.
2013-08-07 08:55:36 +02:00
Uwe Steinmann
857519033d do not allow to change workflow if it is mandatory 2013-08-06 14:21:40 +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
79afdc7c55 include inc/inc.Extension.php 2013-07-31 21:43:09 +02:00
Uwe Steinmann
bb50129d44 set userid only if external authentification succeds 2013-07-31 17:28:44 +02:00
Uwe Steinmann
e87e60c89f call authentication hook if available
authentication hooks are classes with a method authenticate() which
creates a user object if authentication was successfull
2013-07-23 19:03:02 +02:00
Uwe Steinmann
77e976cb7a fix deleting cached extension file
add missing parameter to constructor of extension mgr
2013-07-23 18:03:32 +02:00
Uwe Steinmann
f793ee8a28 move delivery of document into controller
done for being able to call a viewOnline::version hook
2013-07-23 17:35:46 +02:00
Uwe Steinmann
2d08f870c7 use controller after login
currently just used to run the postLogin hook
2013-07-23 17:33:40 +02:00
Uwe Steinmann
daaaa596b3 call hook 'version' before downloading a document version 2013-07-21 11:53:28 +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
a2a85e1e69 add command 'addtoclipboard'
The command returns the new header menu item for the clipboard which
can be used to replace the current menu item
2013-06-18 18:14:41 +02:00
Uwe Steinmann
c2dc213acf check if query term for full text search is valid 2013-06-17 10:49:55 +02:00
Uwe Steinmann
ed7d74ae57 remove documents from clipboard if they are in the target folder 2013-06-17 09:12:22 +02:00
Uwe Steinmann
d29f533fbc check if refferer is set 2013-06-17 09:12:04 +02:00
Uwe Steinmann
9df1a1eb08 check if attributes are posted 2013-06-16 20:34:43 +02:00
Uwe Steinmann
e06e7b6509 set correct values for folders/documents found 2013-06-14 19:06:08 +02:00
Uwe Steinmann
c46e290c8b fix searching for category in fulltext mode 2013-06-14 16:06:52 +02:00
Uwe Steinmann
9a7a8dc0c6 redirect to url passed in refferer 2013-06-14 16:05:54 +02:00
Uwe Steinmann
6b150e831a redirect to url passed in refferer 2013-06-14 16:04:56 +02:00
Uwe Steinmann
c7d80e8dd4 more splash messages 2013-06-14 10:27:17 +02:00
Uwe Steinmann
4acfa444f2 jump to refferer if set in url 2013-06-14 00:03:16 +02:00
Uwe Steinmann
6def97927d better error checking 2013-06-13 23:22:44 +02:00
Uwe Steinmann
9242992d69 scripts for clearing clipboard and moving it into a folder 2013-06-13 23:16:08 +02:00
Uwe Steinmann
77b0fdfd12 add new config option enableClipboard 2013-06-13 14:57:53 +02:00
Uwe Steinmann
095f20a462 fix lots of php warnings 2013-06-07 15:26:09 +02:00
Uwe Steinmann
f6ec61359e combine database and fulltext search into one form 2013-06-07 10:12:49 +02:00
Uwe Steinmann
72010b1bc0 Merge branch 'develop' into hooks 2013-06-06 16:02:28 +02:00
Uwe Steinmann
d344eaea9a another switch for taking the comment for the version
if there is no version comment then the document comment can be taken
if the users forces it.
2013-06-06 14:05:03 +02:00
Uwe Steinmann
31015784ac allow to use jqtree more than once on a page
also uses just 'docid' for id in the document chooser instead of appending
the form name.
2013-06-03 07:55:39 +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
78dd186742 set url in notification email (Bug #56) 2013-05-31 07:55:40 +02:00
Uwe Steinmann
1cdb515bb5 do not try to get parent folder on root folder 2013-05-29 23:24:28 +02:00
Uwe Steinmann
b4a45918d0 fix removal of empty attributes 2013-05-29 20:05:43 +02:00
Uwe Steinmann
7995fcac45 check for regular expression of attr values 2013-05-28 17:32:52 +02:00
Uwe Steinmann
06e06a4ac0 add checking of attribute values against regular expression 2013-05-28 09:03:21 +02:00
Uwe Steinmann
2fe6e7ac82 Merge branch 'develop' into hooks 2013-05-28 06:31:59 +02:00
Uwe Steinmann
df18614f1f add command 'subtree', take substituted user into account
'subtree' is used by the new tree navigation which loadѕ subfolders
and documents on demand
2013-05-24 17:30:02 +02:00
Uwe Steinmann
499d87c499 set splash msg on successful saving of settings 2013-05-23 16:11:17 +02:00
Uwe Steinmann
a43720f378 show splash msg when document is saved 2013-05-22 20:52:21 +02:00
Uwe Steinmann
17130cec5e Merge branch 'develop' into hooks 2013-05-22 20:31:57 +02:00
Uwe Steinmann
5589a07b71 set splash message on success execution 2013-05-21 08:39:03 +02:00
Uwe Steinmann
72ecaaef34 fix line endings 2013-05-21 06:58:10 +02:00
Uwe Steinmann
4c65a917e5 fix line endings 2013-05-21 06:57:28 +02:00
Uwe Steinmann
b4cdef804e initial test of flash msg 2013-05-18 22:53:19 +02:00
Uwe Steinmann
14d759f21c file for refreshing extension list 2013-05-03 12:10:28 +02:00
Uwe Steinmann
73a10e0367 pass one extension configuration for saving 2013-05-02 22:31:23 +02:00
Uwe Steinmann
b6ae2dcce6 place inclusion of inc.Extension.php before inc.ClassUI.php 2013-05-02 18:25:30 +02:00
Uwe Steinmann
08c0961a16 added hook before adding a document 2013-04-30 20:11:16 +02:00
Uwe Steinmann
1f73a6150e Merge branch 'develop' into hooks 2013-04-30 19:20:17 +02:00
Uwe Steinmann
0e631bd09e check if expires is set in POST request without php warning 2013-04-30 18:06:44 +02:00
Uwe Steinmann
9a9d570d5f Merge branch 'seeddms-4.2.1' into develop 2013-04-30 17:15:21 +02:00
Uwe Steinmann
19061c5c2b set expiration date if set 2013-04-30 17:14:21 +02:00
Uwe Steinmann
4e27d0ce6b expiration date is sepearated by '-' instead of '/' 2013-04-30 17:03:39 +02:00
Uwe Steinmann
058c5f2749 expiration date of document can be set 2013-04-30 17:02:03 +02:00
Uwe Steinmann
c3eb4d629c create preview from document file too
pass url parameter 'file' instead of 'version'
2013-04-29 19:32:00 +02:00
Uwe Steinmann
4e6ee4cdea Merge branch 'develop' into hooks 2013-04-22 22:13:57 +02:00
Uwe Steinmann
d3a8ab69fd better checking for passed parameters 2013-04-22 11:54:33 +02:00
Uwe Steinmann
ea79961d85 Merge branch 'develop' into hooks 2013-04-22 10:48:06 +02:00
Uwe Steinmann
d63ec26d8e add new feature to substitute user while being admin 2013-04-19 09:00:34 +02:00
Uwe Steinmann
b5a1050c05 jump to right folder after login
if no default page after login is set, then a redirection to
out.ViewFolder.php takes place. The folderid was always set to 1,
which may not be right. Now it uses the root folder id from the ѕettings.
2013-04-19 08:45:59 +02:00
Uwe Steinmann
6830d9d2d9 fix line endings 2013-04-19 08:45:19 +02:00
Uwe Steinmann
945c03a8c3 call hooks 'preRemoveDocument' and 'postRemoveDocument' 2013-04-18 22:19:41 +02:00
Uwe Steinmann
59ed4ff9cc group can be set when adding/editing user 2013-04-17 12:02:22 +02:00
Uwe Steinmann
17b2e06fe9 initial code for extensions and hooks 2013-04-17 11:01:03 +02:00
Uwe Steinmann
c52770161f set to unix line endings 2013-04-11 09:05:36 +02:00
Uwe Steinmann
35aa1b995d return to tab on LogManagement page which was previously selected
after removing a log file and returning to the LogManagement page,
the same tab is selected as before (fixes Bug #30)
2013-04-11 09:02:24 +02:00
Uwe Steinmann
d8ec64dd36 fix checking for download file 2013-04-11 08:40:25 +02:00
Uwe Steinmann
a50964cb8f several log files can be delete in one go 2013-04-11 08:38:47 +02:00
Uwe Steinmann
db988826bf remove german comments 2013-04-10 21:48:16 +02:00
Uwe Steinmann
7a5d1b0e59 Merge branch 'seeddms-4.1.3' into develop 2013-04-10 21:45:34 +02:00
Uwe Steinmann
0defbb0240 fix php warning due to undefined variable $groupid 2013-04-10 21:44:43 +02:00
Uwe Steinmann
0ae480d67d save new paramters for recursive document/folder count 2013-04-10 15:48:40 +02:00
Uwe Steinmann
c1144612ab fix typo in variable for new comment 2013-04-08 08:51:44 +02:00
Uwe Steinmann
d5bbc67588 fix for sending notification after update 2013-04-05 13:23:27 +02:00
Uwe Steinmann
adb5f7fa3b fix setting mandatory workflow
The method which was called didn't exist in SeedDMS_Core_User
2013-03-28 10:17:45 +01:00
Uwe Steinmann
d5a3486e02 prevent php warning if comment is not set 2013-03-26 20:25:13 +01:00
Uwe Steinmann
1c72478c3a retrieve folder id from $_REQUEST 2013-03-26 20:24:42 +01:00
Uwe Steinmann
555214c8ed check if post var dropfolderfileform1 is set 2013-03-26 20:20:23 +01:00
Uwe Steinmann
694a099e99 get folder for notification mail 2013-03-15 18:35:41 +01:00
Uwe Steinmann
01661fd337 send notification mail 2013-03-15 18:35:21 +01:00
Uwe Steinmann
92cf1e74b8 send notification mail 2013-03-15 18:34:20 +01:00
Uwe Steinmann
22836f3c4f get folder for notification mail 2013-03-15 18:33:56 +01:00
Uwe Steinmann
0352bf5161 send notification mail when removing a workflow 2013-03-14 20:56:10 +01:00
Uwe Steinmann
ff7a80f23d fix line indention 2013-03-14 20:55:09 +01:00
Uwe Steinmann
9a72052744 check if $_POST["expires"] is set 2013-03-13 18:44:42 +01:00
Uwe Steinmann
719328b311 fix url in notification email 2013-03-13 18:44:20 +01:00
Uwe Steinmann
3fa7681d05 send notification email on attribute change 2013-03-13 18:43:28 +01:00
Uwe Steinmann
5059d5d456 check if $_POST["expdate"] is set before using it 2013-03-12 09:00:02 +01:00
Uwe Steinmann
8751a9cb26 redirect to correct url after adding event 2013-03-12 08:57:18 +01:00
Uwe Steinmann
20444bd714 use new notification mechanism 2013-03-12 08:49:09 +01:00
Uwe Steinmann
9328bebcbf add note that this code has to be fixed 2013-03-12 08:48:23 +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
6c7247eca5 fix line endings, removed old code 2013-03-05 13:04:58 +01:00
Uwe Steinmann
4a739b35ac fix line endings, remove old code 2013-03-05 12:56:41 +01:00
Uwe Steinmann
ababf87bb8 fix line endings, remove some old code 2013-03-05 12:48:46 +01:00
Uwe Steinmann
49d6099462 fix line endings, remove some old code 2013-03-05 09:18:21 +01:00
Uwe Steinmann
e78fdaf32a remove some old code, replace german comment 2013-03-05 08:50:45 +01:00
Uwe Steinmann
bf54144cf7 fix line endings 2013-03-05 08:19:27 +01:00
Uwe Steinmann
7eb7e57f62 fix line endings, translate german comments 2013-02-28 17:28:57 +01:00
Uwe Steinmann
a300013709 fix line endings 2013-02-28 16:55:05 +01:00
Uwe Steinmann
579ab95fb6 fix line endings 2013-02-28 16:54:30 +01:00
Uwe Steinmann
f7c5b1dde6 replace german comments, use return value of getNotifierList() 2013-02-28 16:25:19 +01:00
Uwe Steinmann
7f2d7e3ebe new variables enableSelfRefApp and enableOwnerRevApp 2013-02-27 09:09:00 +01:00
Uwe Steinmann
745226e7e4 set global var theme from login form before calling first err msg 2013-02-26 09:44:50 +01:00
Uwe Steinmann
18b89fcb33 check if POST var attributes is set 2013-02-14 13:10:28 +01:00
Uwe Steinmann
73c6ff9427 major name change from letodms to seeddms 2013-02-14 12:10:53 +01:00
Uwe Steinmann
a40753f50d notification mail has now oldname in subject 2013-02-13 20:34:20 +01:00
Uwe Steinmann
f0c417c0bd better checking for POST var 'categories' 2013-02-13 19:08:01 +01:00
Uwe Steinmann
5edf6a7de6 merge from 3.4.x 2013-02-13 18:03:23 +01:00
steinm
fbcd6eb123 - replace getApproversList() by getReadUserList() 2013-02-11 13:59:42 +00:00
steinm
af54fcb645 - replace getApproversList() by getReadUserList() 2013-02-11 13:56:59 +00:00
steinm
fbde96a4c6 - remove workflow action 2013-02-09 15:19:03 +00:00
steinm
8c0f37c7f6 - remove entry for uploaded file if drop folder file was selected 2013-02-08 14:55:26 +00:00
steinm
ec90ee5a09 - check if new file is identical to current version 2013-02-08 14:52:32 +00:00
steinm
d34e207170 - check for 0 bytes files and issue an appropriate warning 2013-02-08 07:29:41 +00:00
steinm
773adcce44 - check for 0 bytes files and issue an appropriate warning 2013-02-08 07:28:54 +00:00
steinm
c1bfb1f89e - added comment with explaination why the ѕession has to be deleted after logout 2013-02-06 17:33:56 +00:00
steinm
66b23748d2 - check for equal states and missing user/group 2013-02-05 09:23:57 +00:00
steinm
410371eeb6 - old ADODB path is now extra path 2013-02-04 09:28:05 +00:00
steinm
48ae9e0ef4 - removed html code from error msg 2013-02-03 07:25:12 +00:00
steinm
85f429c89a - passing categories as comma sep. list of ids is possible again 2013-02-02 15:59:45 +00:00
steinm
83b0c1b253 - convert to unix line feed 2013-02-02 15:54:27 +00:00
steinm
5e97126994 - convert to unix line ends 2013-01-30 19:58:08 +00:00
steinm
61edc2b4e9 - added files to manage clipboard 2013-01-30 19:57:34 +00:00
steinm
a6bb059d9d - no need to looked in anymore in order to calculate the password strength 2013-01-29 13:12:12 +00:00
steinm
de855452cf - use UI:exitError() for error messages
- redirect to next page
2013-01-29 13:11:39 +00:00
steinm
f99492d31a - categories is no longer a comma separated list but an array 2013-01-29 08:14:37 +00:00
steinm
a0a4a37b85 - list of categories is not longer a comma separated but an array 2013-01-29 08:13:35 +00:00
steinm
022cbc8f29 - check for duplicate document names if turned on 2013-01-28 10:40:35 +00:00
steinm
a022d4cf8e - added flags for language selector and duplicate document names 2013-01-28 10:40:04 +00:00
steinm
1ff85cbb72 - added simple search for folders and documents which is used by
the document and folder chooser
2013-01-28 10:12:07 +00:00
steinm
2db6c2b290 - removed old code
- go straight to Folder oder Document if this is the only seach hit
2013-01-25 09:34:23 +00:00
steinm
184516dbdf - do not use internal variables of LetoDMS_Core classes 2013-01-25 07:24:54 +00:00
steinm
36ee41e2c5 - call out.WorkflowMgr.php with the right workflow id after adding a new
workflow.
- fixed logging
2013-01-25 07:24:08 +00:00
steinm
005c67da43 - include LetoDMS_Core_Preview 2013-01-25 07:23:06 +00:00
steinm
76d535a890 - these files are now for deleting a workflow from the database 2013-01-24 18:18:29 +00:00
steinm
baac03e298 - new files to remove a workflow from a document (was RemoveWorkflow) 2013-01-24 18:17:27 +00:00
steinm
75b5417433 - script to add a new transition to a workflow 2013-01-24 16:54:53 +00:00
steinm
7fb4de9b37 - better parameter checking 2013-01-24 16:48:44 +00:00
steinm
5fbfb6ec8a - pass workflow id as workflowid to WorkflowMgr.php 2013-01-24 16:47:27 +00:00
steinm
a55647b32a added script to set current ui language 2013-01-24 10:49:09 +00:00
steinm
24dee8545f added operations for new workflow functions 2013-01-24 10:48:37 +00:00
steinm
2b3321df7c use cookie lifetime from settings 2013-01-24 10:17:16 +00:00
steinm
c19d333ac6 do not use internal variables of LetoDMS_Core_xxx classes 2013-01-24 10:16:22 +00:00
steinm
6f2513cf25 do not use internal variables of LetoDMS_Core_xxx classes 2013-01-24 10:15:52 +00:00
steinm
26c0859ac1 check for pwdexpiration
set mandatory workflow
2013-01-24 10:15:09 +00:00
steinm
9398210dc2 set cookie lifetime and workflow mode 2013-01-24 10:13:57 +00:00
steinm
2e1063e10e evaluate expiration date 2013-01-24 10:13:08 +00:00
steinm
8432ce207b do not use internal variables of LetoDMS_Core_xxx classes 2013-01-24 10:12:15 +00:00
steinm
c7ee6d9b4a set workflow if passed to script 2013-01-24 10:09:34 +00:00
steinm
1ded3a8ee8 added quota for users 2012-12-19 10:05:34 +00:00
steinm
7a03403c96 - it is sufficient if password strength is equal the calculated value 2012-12-17 18:30:08 +00:00
steinm
2e2fd114a8 - check if post vars are set
- check if fulltext index could be opened
2012-12-17 07:40:13 +00:00
steinm
27fb745dd9 - replaced hard coded path of cache dir 2012-12-17 07:39:22 +00:00
steinm
f938f5d1e9 - fixed inclusion of LetoDMS_Preview 2012-12-14 15:29:58 +00:00
steinm
b05ab85ecc - replaced comments in german 2012-12-14 15:29:25 +00:00
steinm
b465b988c9 create and delivery preview image 2012-12-14 08:26:53 +00:00
steinm
b82b6b3eb3 fixed line indention 2012-12-14 08:26:13 +00:00
steinm
d6258843c6 added missing check for form key 2012-12-14 08:25:40 +00:00
steinm
db56298e79 from and to date can be given as a '-' separeted date 2012-12-14 08:25:02 +00:00
steinm
f28657a96d files can be taken from dropFolderDir 2012-12-14 08:24:03 +00:00
steinm
2704750e40 if GET parameter version is not set do nothing 2012-12-14 08:18:35 +00:00
steinm
20df7fa523 better error handling 2012-12-14 08:13:41 +00:00
steinm
ec480c2a7d allow to upload files from dropFolderDir
expiration date can be passed as expdata
2012-12-14 08:12:39 +00:00
steinm
c7c5b7501c read new configuration variables dropFolderDir and cacheDir 2012-12-14 08:10:57 +00:00
steinm
b95084337b check if post var 'expires' is set to prevent php warnings 2012-12-14 08:10:03 +00:00
steinm
a45e9a0c5e some code reorganisation
fixed output of document status
2012-12-14 08:09:12 +00:00
steinm
bbe6f4e5a3 some code reoganisation
start html page in case of an error
2012-12-14 08:08:03 +00:00
steinm
b67ece54a2 fixed content of notification mail 2012-12-14 08:06:13 +00:00
steinm
2b4a96e8f5 check if index exists before indexing a new document 2012-12-14 08:05:29 +00:00
steinm
11499ca484 link to out.Logout.php doesn't have to prefixed with httprootdir
simplified error message
2012-12-14 08:04:40 +00:00
steinm
c2909549e1 language and theme can be passed and will be set in user record 2012-12-14 08:02:48 +00:00
steinm
54c9a190f2 check if post vars sequence and attributes are really set 2012-12-14 08:01:37 +00:00
steinm
efd6b34896 update of copyright notice 2012-12-14 08:00:30 +00:00
steinm
c9dc0443e6 replaced german comments 2012-12-14 07:59:56 +00:00
steinm
e7a44543a8 from and to date can also be passed as a string with format 'Y-m-d' 2012-12-14 07:59:14 +00:00
steinm
87a8fd2ce0 cmd checkpwstrength returns password strengt relative to minimum strength set in configuration 2012-12-14 07:57:03 +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
563d86ea79 - attributes can be edited
- form to add new documents has better layout
2012-10-09 10:08:10 +00:00
steinm
cab3ab9a00 - minor code change not changing operation 2012-10-09 10:05:49 +00:00
steinm
606ac4c186 - removed old code 2012-10-09 10:04:09 +00:00
steinm
4e163c4a2b - attributes can be edited 2012-10-09 10:03:38 +00:00
steinm
88eceaba85 - attributes can be attached to folders 2012-10-09 10:00:58 +00:00