Commit Graph

112 Commits

Author SHA1 Message Date
Uwe Steinmann
b6ac58eb3d add some documentation and new class SeedDMS_FolderTree 2020-08-01 13:47:49 +02:00
Uwe Steinmann
05dcde6096 add seed_pass_hash() and seed_pass_verify() 2020-07-30 10:55:13 +02:00
Uwe Steinmann
dcfefa5801 remove cloѕing php tag 2020-04-20 10:18:51 +02:00
Uwe Steinmann
c5a78839df add getToken() for generating a random string 2020-02-06 11:32:27 +01:00
Uwe Steinmann
89c0ca9b88 new function getBaseUrl()
returns the protocol and host part of the url where seeddms is
available
2019-11-28 10:00:52 +01:00
Uwe Steinmann
e79e9de1cf add new class SeedDMS_CSRF for creating time base tokens (currently not used) 2019-07-12 16:40:38 +02:00
Uwe Steinmann
bcfde858d8 new parameter xsendfile 2019-01-18 13:08:21 +01:00
Uwe Steinmann
b9269541c9 add missing space in log message when calling add_log_line() with msg 2019-01-14 10:11:21 +01:00
Uwe Steinmann
0554dab3ae various new methonds
move cmpVersion() from inc.Utils.php nach inc.ClassExtensionMgr.php
2018-03-13 14:37:55 +01:00
Uwe Steinmann
ccb56e827c add function sendFile() 2018-01-18 08:48:32 +01:00
Uwe Steinmann
7520634c61 add addDirSep() 2017-11-21 08:34:19 +01:00
Uwe Steinmann
c0797cc896 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-20 15:09:12 +02:00
Uwe Steinmann
61df93ba13 showtree() checks expandFolderTree (partially resolves #312) 2017-07-19 19:14:28 +02:00
Uwe Steinmann
2843913f08 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-03 08:55:43 +01:00
Uwe Steinmann
d48ef8b6ba add utf8_basename() as replacement for basename()
This function can handle mutlibyte strings, even if locale is set
to 'C'
2017-03-03 08:53:26 +01:00
Uwe Steinmann
b013553a3d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-03 09:24:10 +02:00
Uwe Steinmann
06347ff212 check for HTTP_X_FORWARDED_FOR in add_log_line()
use it instead of REMOTE_ADDR
2016-08-03 08:53:14 +02:00
Uwe Steinmann
ef6bbecd1e add optional parameter to add_log_line() 2016-04-07 08:32:07 +02:00
Uwe Steinmann
771f266aa6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-02-26 08:17:50 +01:00
Uwe Steinmann
0369e95157 add fold marks 2016-02-26 08:17:30 +01:00
Uwe Steinmann
534e4a73f4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-07-28 07:53:21 +02:00
Uwe Steinmann
fd62547a69 dskspace() checks if directory could be opened 2015-07-28 07:53:10 +02:00
Uwe Steinmann
c8fcd1cebc add function get_extension()
returns file extension by mimetype

Conflicts:
	inc/inc.Utils.php
2015-06-12 09:01:01 +02:00
Uwe Steinmann
561b8d81ee add function get_extension()
returns file extension by mimetype
2015-06-12 08:59:05 +02:00
Uwe Steinmann
e9c3696466 Merge branch 'seeddms-4.3.13' into develop
Conflicts:
	Makefile
2014-11-19 17:04:56 +01:00
Uwe Steinmann
a121bd15f9 add function makeTsFromLongDate()
convert date from database into timestamp
2014-11-14 20:22:30 +01: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
6e8af30e17 checkQuota() now takes the user as an argument 2014-05-20 06:31:12 +02:00
Uwe Steinmann
9d760dd53f replace dskspace() with platform independ version (Bug #156) 2014-05-16 12:48:37 +02:00
Uwe Steinmann
5d879a3439 Merge branch 'seeddms-4.3.4' into develop
Conflicts:
	Makefile
	op/op.Ajax.php
	styles/bootstrap/application.js
	views/bootstrap/class.Search.php
	views/bootstrap/class.ViewFolder.php
2014-02-21 22:04:22 +01:00
Uwe Steinmann
d21a0384fa add missing parenthesis in version file (Bug #100) 2014-02-21 11:05:49 +01:00
Uwe Steinmann
18d705a687 use always the same date format 2014-01-08 06:34:53 +01:00
Uwe Steinmann
d6d33db858 use 'Y-m-d' for date formating 2013-12-17 11:18:45 +01:00
Uwe Steinmann
bcd18ef813 add optional parameter $priority to add_log_line() 2013-10-06 12:27:54 +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
b96e9f83f9 new function cmpVersion() 2013-05-28 07:31:41 +02:00
Uwe Steinmann
f7a5daa8a0 use same date format in getReadableDate() and getLongReadableDate() 2013-04-30 08:36:02 +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
ca5705d086 fix calling getID() of user added a document link 2013-04-08 09:13:36 +02:00
Uwe Steinmann
1fc78ff3b4 do not access protected variable _userID of DocumentLink 2013-04-08 08:48:29 +02:00
Uwe Steinmann
b255150fb1 added comment that mydmsDecodeStr shall not be deleted 2013-02-20 09:46:08 +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
65c5f4ad33 added functions getReadableDuration() and getReadableDurationArray() 2013-01-24 08:34:59 +00:00
steinm
14334d55ae - added function checkQuota() 2012-12-19 10:08:06 +00:00
steinm
9490980ec2 added new function dskspace()
new optional parameter for getFolderPathHTML() to pass the document
added new function filterDocumentLinks()
2012-12-13 21:32:05 +00:00
steinm
07b7578190 - allow to check forms with GET Request 2012-08-31 07:43:43 +00:00
steinm
2a11ab47bc - new function to create and check formular tokens for POST Requests 2012-08-29 20:49:42 +00:00
steinm
8eac512855 - prevent XSS attack in showtree() 2012-08-28 06:39:15 +00:00
steinm
b0b47789db - do not use mydmsDecodeString() anymore 2011-12-05 14:52:05 +00:00
steinm
5cf50ab13e - call htmlspecialchars() before output 2011-12-03 11:08:26 +00:00
steinm
d9cedd79fc - no more protection against sql injection in sanitizeString() (it's been
done when the sql statements are put together)
2011-12-02 09:13:07 +00:00
steinm
a915dccadf - use global logger 2011-05-16 15:44:59 +00:00
steinm
b61813474a - use $dms->contentDir instead of $settings->_contentDir where ever possible 2011-01-28 07:41:26 +00:00
steinm
8a84bc3b51 - rename all classes belonging to the core of LetoDMS into LetoDMS_Core_xxx
- move them all into LetoDMS_Core
2011-01-20 08:18:37 +00:00
steinm
955be450f3 - getFolderPathHTML() is now a function in inc/inc.Utils.php because
it uses links only known by the calling application
2010-12-22 08:50:57 +00:00
steinm
457b805f2c - declare $dms global 2010-12-16 09:29:49 +00:00
steinm
93a57dcc3f - makeDir() is now a function in LetoDMS_File 2010-11-25 21:26:42 +00:00
steinm
4678218f1a - moved function to admin users and groups in LetoDMS_DMS 2010-11-15 12:01:21 +00:00
steinm
cfd3eaae06 - first step to get rid of global variables from all files in inc/
- added new Class LetoDMS_DMS which represents the DMS, contains
  all settings for the DMS and the database connection. A document
	and a folder have a reference to the DMS
2010-11-12 22:47:41 +00:00
steinm
b5bc621318 - move all sources into trunk 2010-10-29 13:19:51 +00:00