Commit Graph

452 Commits

Author SHA1 Message Date
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
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
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
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
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
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
d3a8ab69fd better checking for passed parameters 2013-04-22 11:54:33 +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
59ed4ff9cc group can be set when adding/editing user 2013-04-17 12:02:22 +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