Commit Graph

539 Commits

Author SHA1 Message Date
Uwe Steinmann
eda80242ea some reorganization of email notification 2015-11-25 16:49:09 +01:00
Uwe Steinmann
5200057e19 fix another error message 2015-11-16 08:08:30 +01:00
Uwe Steinmann
9c2928a60f fix error message when creation date was wrong 2015-11-16 08:06:55 +01:00
Uwe Steinmann
b2163806ad fix check of expiration date range 2015-11-16 08:02:32 +01:00
Uwe Steinmann
222263eef5 add filename*=UTF-8 to Content-Disposition 2015-11-15 17:33:23 +01:00
Uwe Steinmann
2754d72c93 urlencode filename in Content-Disposition 2015-11-12 14:50:59 +01:00
Uwe Steinmann
541d07f5d7 inform reviewer/approver about new version 2015-11-09 18:51:09 +01:00
Uwe Steinmann
1dae3f3218 use $content->getVersion() instead of ->_version 2015-11-09 18:50:44 +01:00
Uwe Steinmann
0cb6d2df5a send appropriate mail to reviewer/approver
not just the 'new document' mail
2015-11-09 18:49:58 +01:00
Uwe Steinmann
15b1414d6e set format in date field to yyyy-mm-dd 2015-10-30 08:02:57 +01:00
Uwe Steinmann
e35cc9f3c6 fix setting of Content-Type in header (Closes: #233) 2015-10-22 13:36:23 +02:00
Uwe Steinmann
7e507e6a9e fix searching in fulltext, number of hits and pages was often wrong 2015-09-28 12:32:41 +02:00
Uwe Steinmann
4206f5d32a log approval/reject 2015-09-16 17:31:09 +02:00
Uwe Steinmann
459739bd01 file for creating preview in list of files in dropfolder 2015-09-03 15:13:59 +02:00
Uwe Steinmann
58d8d8dd9e set search time, document und folder count after fulltext search 2015-08-19 20:15:04 +02:00
Uwe Steinmann
8ffcfab6e4 use new fulltext index interface with support for sqlitefts 2015-08-10 21:43:15 +02:00
Uwe Steinmann
b0413a0d46 engine for fulltext search can be configured 2015-08-10 21:41:51 +02:00
Uwe Steinmann
7485a85077 set timeout for external commands when creating fulltext index 2015-08-05 21:11:21 +02:00
Uwe Steinmann
a94614c39a fix setting expire date (Closes: #225) 2015-07-06 22:17:16 +02:00
Uwe Steinmann
94b3b8e6ee remove print_r() 2015-06-30 18:12:24 +02:00
Uwe Steinmann
e5036548fb take out review and approval status
currently not needed
2015-06-23 07:59:39 +02:00
Uwe Steinmann
d46d2b265d do not use mimetype delivered by server if overrideMimeType is set 2015-06-23 07:45:18 +02:00
Uwe Steinmann
515e95c227 new parameter overrideMimeType 2015-06-23 07:44:47 +02:00
Uwe Steinmann
4d0d4e030b finfo returns only mimetype 2015-06-23 07:02:15 +02:00
Uwe Steinmann
6a9493a786 log id and name of folder 2015-06-19 15:04:25 +02:00
Uwe Steinmann
31d0c49412 check if expires and sequence is set 2015-06-18 17:31:56 +02:00
Uwe Steinmann
0ff5ade2b3 check if keywords, name, comment was posted 2015-06-18 17:28:32 +02:00
Uwe Steinmann
3b0d239a00 propperly check for access right 2015-06-15 14:17:16 +02:00
Uwe Steinmann
48442f3947 use access operation to check if approval is allowed 2015-06-15 08:55:20 +02:00
Uwe Steinmann
4215532a9c use access operation to check if operation is allowed 2015-06-15 08:54:33 +02:00
Uwe Steinmann
5df9b44d97 download review/approval files 2015-06-12 08:59:36 +02:00
Uwe Steinmann
220329c1b8 allow to upload a file with each review/approval 2015-06-11 21:30:56 +02:00
Uwe Steinmann
97fe703afb fix line endings 2015-06-11 14:06:59 +02:00
Uwe Steinmann
9d4a219065 send end date to end of day 2015-06-10 19:14:07 +02:00
Uwe Steinmann
18e46f0d95 redirect to url with absolute path
using a relative url won't work if the apache rewrites the url, e.g.
/Login/<hash> will be rewritten to /seeddms/op/op.Login.php
Redirecting to ../op/op.Login.php will result in a url /op/op.Login.php
which does not exists
2015-06-10 08:31:13 +02:00
Uwe Steinmann
ad3a3b2c52 allow to add additional authentication before ldap 2015-06-10 08:24:00 +02:00
Uwe Steinmann
d0b32e0fb8 add currenttab to link when redirecting to out/out.ViewDocument.php
Conflicts:
	op/op.AddDocumentLink.php
	op/op.ReceiptDocument.php
	op/op.RemoveDocumentLink.php
	op/op.ReviseDocument.php
2015-06-09 09:04:41 +02:00
Uwe Steinmann
c2b2c34290 set missing parameter [url] in email notification 2015-06-09 07:15:18 +02:00
Uwe Steinmann
4180e56690 check if resultmode is set before passing it to view 2015-06-08 09:13:47 +02:00
Uwe Steinmann
83cdedad51 pass resultmode to view 2015-06-08 09:12:25 +02:00
Uwe Steinmann
4814c5cefe search for documents/folders only 2015-06-02 08:53:21 +02:00
Uwe Steinmann
6e852f4eac no need to pass document status to addWorkflowAction() 2015-05-04 07:02:43 +02:00
Uwe Steinmann
a7763c8cc4 use propper name of converters array in settings 2015-05-02 08:04:41 +02:00
Uwe Steinmann
5611be5c7f set proper msg when approver was deleted or already assigned 2015-04-20 13:47:34 +02:00
Uwe Steinmann
1fda236179 pass proper array converters to SeedDMS_Lucence_IndexedDocument 2015-04-16 14:16:03 +02:00
Uwe Steinmann
1348cd008d first check for $_POST vars
$_POST['notification_users'] and $_POST['notification_groups']
2015-04-16 14:12:47 +02:00
Uwe Steinmann
645fbe7def check for workflow type when evaluating post vars 2015-03-27 17:21:37 +01:00
Uwe Steinmann
d2f4c24f08 set additional notification if set, send mails for each workflow step 2015-03-27 16:42:26 +01:00
Uwe Steinmann
d7d63ae129 fix calculation of totalPages 2015-03-20 07:57:02 +01:00
Uwe Steinmann
78cb252e9d do not send email twice to a user, do not send email if expiration
hasn't changed
2015-03-17 17:45:53 +01:00
Uwe Steinmann
a257c25277 fully obey permissions of documents 2015-03-17 06:36:33 +01:00
Uwe Steinmann
1f1e273c97 set url in email notification 2015-03-16 09:12:49 +01:00
Uwe Steinmann
b4195171f9 set mail to list of user and group reviewers/approvers
not just users
2015-03-16 08:57:29 +01:00
Uwe Steinmann
28f0d7e1cb send mail when workflow starts 2015-03-12 14:02:16 +01:00
Uwe Steinmann
ed9fbe93e1 set current tab to last one selected when submitting data 2015-03-11 18:24:14 +01:00
Uwe Steinmann
dee7f03931 set mail to users/groups who need to take action in next workflow
transition
2015-03-11 18:12:52 +01:00
Uwe Steinmann
c3b80c1b5d add new option enableNotificationWorkflow
turns on/off is mail is set to users/groups in next step of workflow
2015-03-11 18:11:41 +01:00
Uwe Steinmann
083dad60e8 remove old code for email creation 2015-02-27 17:11:50 +01:00
Uwe Steinmann
46d7ecf80d do not even check for guest user, if disabled 2015-02-26 11:47:28 +01:00
Uwe Steinmann
c4feea2664 all converters are only used for fulltext 2015-02-24 19:26:38 +01:00
Uwe Steinmann
f5d656bde0 set a group notification with setting a user works again (Bug #201) 2015-02-11 18:30:39 +01:00
Uwe Steinmann
75ef47f6e1 expiration date of documents can be preset in settings 2015-01-29 17:28:40 +01:00
Uwe Steinmann
f79f9acc78 reseting expiration date works again 2015-01-23 13:38:52 +01:00
Uwe Steinmann
b39b92e0b0 don't crash if folder/document was deleted (Bug #186) 2014-11-24 19:08:17 +01:00
Uwe Steinmann
03359ca620 fix checking for attribute values
checking for the number of values of a multi value attribute
disregards the maximum number of values if it is 0
2014-11-19 17:00:55 +01:00
Uwe Steinmann
834a8118e6 check for propper number of attribute values 2014-11-17 07:03:57 +01:00
Uwe Steinmann
05ad0d11ad log each operation 2014-11-14 10:06:25 +01:00
Uwe Steinmann
5ff934373d take all attributes for searching into account 2014-11-13 07:54:35 +01:00
Uwe Steinmann
a800f74a75 fix almost unrestricted fast upload (Bug #175) 2014-11-11 15:42:07 +01:00
Uwe Steinmann
f4e7e451e2 check if $_GET["width"] is set before using it 2014-07-24 07:53:36 +02:00
Uwe Steinmann
760da5e2b4 check if pwd is passed in _POST 2014-07-24 07:53:08 +02:00
Uwe Steinmann
0026f8c69c selecting a status or category will not turn of folder search 2014-07-23 20:51:45 +02:00
Uwe Steinmann
b6f60e8c7f reoganize database search form, don't show results without a search criteria 2014-07-23 20:23:07 +02:00
Uwe Steinmann
8a6acd321a include comment and verison comment in notification mail 2014-07-21 07:34:13 +02:00
Uwe Steinmann
25f0a3588a check if 'theme' is set before using it 2014-07-15 14:21:12 +02:00
Uwe Steinmann
6fc870c9df make notification work when uploading documents 2014-07-11 12:36:22 +02:00
Uwe Steinmann
3590b0859e addtoclipboard set msg in case of succes 2014-07-11 12:02:41 +02:00
Uwe Steinmann
fc334bf43a better error checking for uploaddocuments
first check for upload error, than for filesize
2014-07-11 11:14:27 +02:00
Uwe Steinmann
289649b6ee add file upload via drag&drop
can be enabled in the settings
2014-07-11 08:41:25 +02:00
Uwe Steinmann
0ee577fb11 add command for uploading documents 2014-07-11 08:38:26 +02:00
Uwe Steinmann
48c3f24e01 get rid of some old code 2014-07-11 08:38:05 +02:00
Uwe Steinmann
73bfecb5a8 more general folder chooser
the choosen folder will no longer use targetidformx for the input field
containing the id. It is now independent of the form name.
2014-07-08 08:30:59 +02:00
Uwe Steinmann
eb909aa100 no more php warnings if userid isn't set 2014-07-07 15:44:46 +02:00
Uwe Steinmann
3ebfd7aacf extract filetype by using pathinfo() 2014-06-13 17:29:40 +02:00
Uwe Steinmann
9d2674e9e4 new command tooglelockdocument, new view documentlistrow 2014-06-06 13:59:12 +02:00
Uwe Steinmann
91dcc5cf1d add more commands
removefromclipboard removes an item from the clipboard
view returns the html of some views
2014-06-05 15:00:44 +02:00
Uwe Steinmann
b9ace5f6f7 add command 'deletefolder' 2014-06-05 09:48:45 +02:00
Uwe Steinmann
aa80f28de1 set splash message 2014-06-04 19:17:44 +02:00
Uwe Steinmann
e0a49734f0 'movefolder' requires a formtoken 2014-06-04 19:17:08 +02:00
Uwe Steinmann
c09e650c89 add 'deletedocument', 'movedocument' requires a formtoken 2014-06-04 19:15:28 +02:00
Uwe Steinmann
3b129502a0 unlock document if updated by admin or owner of document 2014-06-04 08:01:35 +02:00
Uwe Steinmann
51b84868a6 check if document is locked 2014-06-03 17:50:20 +02:00
Uwe Steinmann
858552b743 setting version to 0 will retrieve the latest version 2014-06-03 08:48:27 +02:00
Uwe Steinmann
05d6d9dca5 create preview image if it doesn't exists 2014-05-28 14:58:04 +02:00
Uwe Steinmann
5a8d13e1e7 get latest version if 'version' < 1 2014-05-28 14:54:10 +02:00
Uwe Steinmann
66c89d2875 set password expiration even if password is not set 2014-05-22 06:43:18 +02:00
Uwe Steinmann
4fa324f99e change deletion of old sessions
the time when an old session is deleted is taken from the cookie
lifetime. If set to 0 it will be after 1 week
2014-05-22 06:40:47 +02:00
Uwe Steinmann
2e7197665e run SeedDMS_Session::updateAccess() explicitly 2014-05-22 06:39:54 +02:00
Uwe Steinmann
71fb34cbca check quota 2014-05-20 06:43:44 +02:00
Uwe Steinmann
8cd9210107 quota can be set 2014-05-20 06:23:32 +02:00
Uwe Steinmann
cfe5d1561c set LDAP_OPT_REFERRALS in case of AD 2014-04-15 15:32:43 +02:00
Uwe Steinmann
c550d7f11d use preview image width from settings 2014-04-10 21:38:33 +02:00
Uwe Steinmann
7f8d35bb38 check for empty attributes array (Bug #150) 2014-04-09 21:29:13 +02:00
Uwe Steinmann
4d094b2920 show single doc/folder only if the search returns 1 hit
till now it could happen, that if the last page of a search result contained
only 1 record, then this record was shown.
2014-04-09 10:50:17 +02:00
Uwe Steinmann
183c772d6a allow calling submittranslation only if showmissingtranslation is turned on 2014-04-08 10:43:59 +02:00
Uwe Steinmann
99ba945b75 add subcommand for submitting new translation 2014-04-08 10:41:53 +02:00
Uwe Steinmann
0ff38100c6 new parameter to turn missing translation output 2014-04-08 10:40:20 +02:00
Uwe Steinmann
5c3a22dee1 return message when password was send 2014-04-01 17:14:57 +02:00
Uwe Steinmann
885a26a6a4 check for saving empty category and keyword (Bug #148) 2014-04-01 13:59:34 +02:00
Uwe Steinmann
0d61fc80ec issue error if to is before from date 2014-04-01 11:12:54 +02:00
Uwe Steinmann
7477c907d8 subtree command sets load_on_demand propperly
for folders with just documents the load_on_demand wasn't set
propperly. Those folders could not be opened in the Document Chooser
2014-03-24 10:39:02 +01:00
Uwe Steinmann
5b0a4ea614 trim referuri 2014-03-21 08:11:12 +01:00
Uwe Steinmann
ef923b5f72 check POST vars for valid values, prevent access to arbitrary files on the server 2014-03-21 08:10:23 +01:00
Uwe Steinmann
fcca6049ac check POST vars for valid values, preventing access to arbitrary files on the server 2014-03-21 08:09:07 +01:00
Uwe Steinmann
d87296c859 make preview image size configurable 2014-03-18 10:03:39 +01:00
Uwe Steinmann
bbd1fd6445 take enableAdminRevApp and enableOwnerRevApp into account
getReadAccessList() doesn't return the owner and administrators
unless explicitly requested by passing true for the first and second
parameter
2014-03-14 15:11:40 +01:00
Uwe Steinmann
aa399e50bb subtree takes sort order into account 2014-03-14 15:10:29 +01:00
Uwe Steinmann
52e24892f6 turn off http only cookies if large file upload is enabled (Bug #132) 2014-03-13 12:51:48 +01:00
Uwe Steinmann
87e7aa083a various enhacements
do not include lang file unless user is logged in,
check for user in all cases besides calculating the password strength
add comman 'session_info'
2014-03-06 11:33:31 +01:00
Uwe Steinmann
d3caff7cdc first check if folder has parent before accessing the parent 2014-03-04 17:58:00 +01:00
Uwe Steinmann
fc6a034c2b do not try to get parent from folder path
this fails for the root folder
2014-03-04 17:55:21 +01:00
Uwe Steinmann
773cf3d121 do not exit in _printErrorMsg() anymore
this disabled the login failure count
2014-03-04 08:31:17 +01:00
Uwe Steinmann
374250f344 replace ',' in $ѕequence by '.' 2014-03-03 14:42:58 +01:00
Uwe Steinmann
266e169c98 exit if non authorized user tries to upload a file 2014-02-28 08:53:31 +01:00
Uwe Steinmann
92fc50fcce set httponly cookie 2014-02-26 22:59:29 +01:00
Uwe Steinmann
d317c744bf fix security hole
missing check of passed parameters allows to place files on the server
2014-02-26 22:31:01 +01:00
Uwe Steinmann
5886449b31 set url and parent folder in notification mail 2014-02-26 06:55:34 +01:00
Uwe Steinmann
2659dab13f set folder_name in notification mail 2014-02-25 11:04:34 +01:00
Uwe Steinmann
e9355c37af take out debug echo statement (Bug #125) 2014-02-21 21:29:52 +01:00
Uwe Steinmann
6dc8b26a0c add subcommands movefolder and movedocument 2014-02-21 21:25:26 +01:00
Uwe Steinmann
dd07cf5fef fix line ending 2014-02-21 11:23:06 +01:00
Uwe Steinmann
90bea9a2fb fix handling of multivalue attributes 2014-02-20 21:05:22 +01:00
Uwe Steinmann
41469a4570 clean up and test ldap code 2014-02-01 21:52:45 +01:00
Uwe Steinmann
94b107b7bd theme and language selector can be turn off on login page 2014-02-01 16:06:12 +01:00
Uwe Steinmann
3596a7a191 add support for configuring folder sort method of folders 2014-02-01 15:23:19 +01:00
Uwe Steinmann
9609ff4ac7 issue error if folder is moved into sub folder 2013-11-25 22:12:48 +01:00
Uwe Steinmann
76701aed03 remove echo statement when delete document from fulltext index 2013-11-24 18:19:42 +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
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
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
ea27bd41fd connect to ldap server which doesn't allow anonymous bind 2013-07-31 22:00:51 +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