mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-15 09:39:17 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
58e8306bb4
10
.htaccess
10
.htaccess
|
@ -25,10 +25,16 @@ RewriteRule "^views/.*/images.*$" "-" [L]
|
||||||
RewriteRule "^out/images.*$" "-" [L]
|
RewriteRule "^out/images.*$" "-" [L]
|
||||||
RewriteRule "^styles/.*$" "-" [L]
|
RewriteRule "^styles/.*$" "-" [L]
|
||||||
|
|
||||||
# Accessing a file in an extension is always possible
|
# Accessing a file in an extension is only possible in one
|
||||||
|
# of the directories op, out. res
|
||||||
# Added for old extensions which do not use routes
|
# Added for old extensions which do not use routes
|
||||||
|
RewriteRule ^ext/[^/]+/icon.(?:png|svg)$ - [L]
|
||||||
|
RewriteCond %{REQUEST_URI} "ext/[^/]+/"
|
||||||
|
RewriteRule !^ext/[^/]+/.*(?:op|out|res) - [F]
|
||||||
|
RewriteCond %{REQUEST_URI} "ext/[^/]+/res/.*$" [NC]
|
||||||
|
RewriteRule !^ext/[^/]+/res/.*\.(?:css|js|png|svg) - [F]
|
||||||
RewriteCond %{REQUEST_FILENAME} -f
|
RewriteCond %{REQUEST_FILENAME} -f
|
||||||
RewriteRule "^ext/.*$" "-" [L]
|
RewriteRule ^ext/.*$ - [L]
|
||||||
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
|
|
@ -234,6 +234,7 @@
|
||||||
- show expired documents in calendar
|
- show expired documents in calendar
|
||||||
- call new hook 'cleanUpDocument' after uploading or updating a document
|
- call new hook 'cleanUpDocument' after uploading or updating a document
|
||||||
- pass 'add' or 'update' to hook 'addDocumentContentFile'
|
- pass 'add' or 'update' to hook 'addDocumentContentFile'
|
||||||
|
- more access restrictions on files in extensions
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 5.1.24
|
Changes in version 5.1.24
|
||||||
|
|
|
@ -220,7 +220,7 @@ class SeedDMS_View_ExtensionMgr extends SeedDMS_Theme_Style {
|
||||||
echo "<td nowrap>";
|
echo "<td nowrap>";
|
||||||
echo "<div class=\"list-action\">";
|
echo "<div class=\"list-action\">";
|
||||||
if(!empty($extconf['changelog']) && file_exists($extdir."/".$extname."/".$extconf['changelog'])) {
|
if(!empty($extconf['changelog']) && file_exists($extdir."/".$extname."/".$extconf['changelog'])) {
|
||||||
echo $this->getModalBoxLink(array('target'=>'extensionChangelog', 'remote'=>'out.ExtensionMgr.php?action=changelog&extensionname='.$extname, 'class'=>'', 'title'=>'<i class="fa fa-reorder"></i>'));
|
echo $this->getModalBoxLink(array('target'=>'extensionChangelog', 'remote'=>'out.ExtensionMgr.php?action=changelog&extensionname='.$extname, 'class'=>'', 'title'=>'<i class="fa fa-reorder"></i>', 'attributes'=>array('title'=>getMLText('show_extension_changelog'))));
|
||||||
}
|
}
|
||||||
if($extconf['config'])
|
if($extconf['config'])
|
||||||
echo "<a href=\"../out/out.Settings.php?currenttab=extensions#".$extname."\" title=\"".getMLText('configure_extension')."\"><i class=\"fa fa-cogs\"></i></a>";
|
echo "<a href=\"../out/out.Settings.php?currenttab=extensions#".$extname."\" title=\"".getMLText('configure_extension')."\"><i class=\"fa fa-cogs\"></i></a>";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user