Commit Graph

47 Commits

Author SHA1 Message Date
Uwe Steinmann
51b1a476bf cast id to integer 2020-06-24 16:15:13 +02:00
Uwe Steinmann
952a1ad1fa turn some passed vars into integer if they are expected
some where used in an sql statement and could be used for sql injection
2018-06-27 18:51:59 +02:00
Uwe Steinmann
3e5d744d6d Merge commit '10896ca183a4fa0b30c02fca8831d2f5497e6a76' into seeddms-5.1.x 2018-02-08 09:25:45 +01:00
Uwe Steinmann
97946893ee getInstance() returns null if object was not found in database 2017-12-22 13:02:14 +01:00
Jörg Neugebauer
fd5f341cb9 SeedDMS_Core 2017-11-08 13:54:49 +01:00
Uwe Steinmann
5396829d7f take out echos 2017-07-31 14:23:16 +02:00
Uwe Steinmann
2a4b8ffcfc remove from process only if status[review], status[approval] is not set 2017-07-31 14:17:41 +02:00
Uwe Steinmann
c32bff5074 separate removal of reviews and approval 2017-07-31 13:21:01 +02:00
Uwe Steinmann
58ddbca857 add new methods transferDocumentsFolders() transferEvents() 2017-07-31 11:25:33 +02:00
Uwe Steinmann
a0600573dc add methods isMandatoryReviewerOf() and isMandatoryApproverOf() 2017-07-28 18:22:53 +02:00
Uwe Steinmann
d0ab0d0f9f add option parameter $states to __removeFromProcesses()
restricts removal to certain approval/review states
2017-07-28 14:56:18 +02:00
Uwe Steinmann
d55d266731 add new methods to SeedDMS_Core_User
removeFromProcesses(), getWorkflowsInvolved(), getKeywordCategories()
2017-07-28 09:35:12 +02:00
Uwe Steinmann
2b154cc468 set pwdExpiration to null 2017-02-20 15:01:58 +01:00
Uwe Steinmann
5921b1e731 set default value for pwdExpiration when unsetting it 2017-02-18 07:38:26 +01:00
Uwe Steinmann
90cca10460 set pwdExpiration to NULL instead of '0000-00-00 ...' 2017-02-16 15:27:01 +01:00
Uwe Steinmann
0d99ffc04b add missing backticks 2017-02-14 21:12:50 +01:00
Uwe Steinmann
6cb83bec25 add missing backticks 2017-02-14 21:08:43 +01:00
Uwe Steinmann
586dffe403 setPwdExpiration() accepts keywords 'now' and 'never' 2017-02-14 11:24:11 +01:00
Uwe Steinmann
a65f4d56b5 add missing backticks around identifiers in sql statements 2017-02-13 12:47:15 +01:00
Uwe Steinmann
eae27d0646 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-11 16:33:48 +01:00
Uwe Steinmann
290ab91fc7 use 'fullName' instead of 'fullname' 2017-02-11 16:32:09 +01:00
Uwe Steinmann
6e41c58beb add backticks around identifier in sql statements 2017-02-10 08:04:19 +01:00
Uwe Steinmann
2c14ec295a various minor clean ups
remove old code, add scope of variables, add additional comments
2016-04-07 08:29:35 +02:00
Uwe Steinmann
0577fec1ba Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-22 15:11:42 +01:00
Uwe Steinmann
826c9fca72 use __construct for constructor 2016-03-22 15:08:36 +01:00
Uwe Steinmann
202d994e1c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-02-15 17:08:01 +01:00
Uwe Steinmann
69e0ae0b3d get getDocumentsLocked() sets locking user in document 2016-02-15 15:14:42 +01:00
Uwe Steinmann
43c80a9f73 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-02-10 11:48:19 +01:00
Uwe Steinmann
625462712d replace comment in german, fix typo 2016-02-10 10:03:21 +01:00
Uwe Steinmann
0903eacb62 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-02-08 12:46:59 +01:00
Uwe Steinmann
d4deb0cc35 add method getNotifications() 2016-02-05 16:47:38 +01:00
Uwe Steinmann
51f80c0930 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-01-27 17:23:22 +01:00
Uwe Steinmann
a935a635c8 make list of workflow status distinct, add [g|s]etMandatoryWorkflows() 2016-01-27 16:18:12 +01:00
Uwe Steinmann
c3296e476b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-09-22 07:57:54 +02:00
Uwe Steinmann
daa72a9ca3 user getCurrentTimestamp() and getCurrentDatetime() 2015-09-22 07:50:36 +02:00
Uwe Steinmann
272d9a43ee Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-09-21 18:10:07 +02:00
Uwe Steinmann
8295cde1e7 add getCurrentTimestamp() to database driver
will return datetime('now', 'localtime') for sqlite because otherwise
it will return GMT
2015-09-21 18:08:05 +02:00
Uwe Steinmann
b6012ae428 set homefolder to NULL if not set 2015-09-21 12:51:37 +02:00
Uwe Steinmann
832e760e03 use configured class names, remove old code 2015-07-15 08:20:55 +02:00
Uwe Steinmann
ba5185eec8 fix wrong sql statement in getInstance() 2015-04-16 14:11:14 +02:00
Uwe Steinmann
7e8fb4451c add method getInstance() 2015-04-14 19:37:06 +02:00
Uwe Steinmann
1fcc786d25 Merge branch 'seeddms-4.3.9' into develop
Conflicts:
	SeedDMS_Core/Core/inc.ClassDMS.php
	SeedDMS_Core/Core/inc.ClassUser.php
	op/op.AddDocument.php
	styles/bootstrap/application.css
	views/bootstrap/class.UsrMgr.php
2014-05-22 08:21:22 +02:00
Uwe Steinmann
a20043ff10 set pwdExperiation to a valid date before saving in database 2014-05-16 11:29:25 +02:00
Uwe Steinmann
12e36a3d13 add homefolder to user 2014-03-26 17:29:56 +01:00
Uwe Steinmann
856920a20a add management of homefolder 2014-03-26 08:16:53 +01:00
Uwe Steinmann
452330709b replace NOW() by CURRENT_TIMESTAMP in sql statements 2013-03-26 21:06:20 +01:00
Uwe Steinmann
73c6ff9427 major name change from letodms to seeddms 2013-02-14 12:10:53 +01:00