mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
* Etemplate: Fix error "Etemplate\Api\Auth not found" happening while to login
This commit is contained in:
parent
5cea6c30e4
commit
acdf079fb1
52
.mrconfig
52
.mrconfig
@ -46,17 +46,17 @@ checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed '
|
|||||||
# projectmanagement and Ganttcharts
|
# projectmanagement and Ganttcharts
|
||||||
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/projectmanager.git
|
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/projectmanager.git
|
||||||
|
|
||||||
#[bookmarks]
|
[bookmarks]
|
||||||
# record and share bookmarks
|
# record and share bookmarks
|
||||||
#checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/bookmarks.git
|
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/bookmarks.git
|
||||||
|
|
||||||
#[news_admin]
|
[news_admin]
|
||||||
# publish and agregate RSS or ATOM feeds
|
# publish and agregate RSS or ATOM feeds
|
||||||
#checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/news_admin.git
|
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/news_admin.git
|
||||||
|
|
||||||
#[registration]
|
[registration]
|
||||||
# allows (after configuration!) to selfregister accounts and recover lost passwords
|
# allows (after configuration!) to selfregister accounts and recover lost passwords
|
||||||
#checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/registration.git
|
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/registration.git
|
||||||
|
|
||||||
#[archive]
|
#[archive]
|
||||||
# allows to integrate a Benno mail-archive into EGroupware
|
# allows to integrate a Benno mail-archive into EGroupware
|
||||||
@ -65,33 +65,33 @@ checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed '
|
|||||||
###
|
###
|
||||||
### Older apps requiring to install phpgwapi and etemplate!
|
### Older apps requiring to install phpgwapi and etemplate!
|
||||||
###
|
###
|
||||||
#[phpgwapi]
|
[phpgwapi]
|
||||||
# old api used by non 16.1 apps
|
# old api used by non 16.1 apps
|
||||||
#checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/phpgwapi.git
|
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/phpgwapi.git
|
||||||
|
|
||||||
#[jdots]
|
[jdots]
|
||||||
# alternative "Stylite" template set
|
# alternative "Stylite" template set
|
||||||
#checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/jdots.git
|
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/jdots.git
|
||||||
|
|
||||||
#[etemplate]
|
[etemplate]
|
||||||
# old templating system superseeded by eTemplate2 in 16.1+ api
|
# old templating system superseeded by eTemplate2 in 16.1+ api
|
||||||
#checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/etemplate.git
|
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/etemplate.git
|
||||||
|
|
||||||
#[phpbrain]
|
[phpbrain]
|
||||||
# knowledge base
|
# knowledge base
|
||||||
#checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/phpbrain.git
|
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/phpbrain.git
|
||||||
|
|
||||||
#[wiki]
|
[wiki]
|
||||||
# wiki application
|
# wiki application
|
||||||
#checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/wiki.git
|
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/wiki.git
|
||||||
|
|
||||||
#[sambaadmin]
|
#[sambaadmin]
|
||||||
# keeps passwords in sync with Samba3 using same LDAP as EGroupware (for Samba4 use Active Directory)
|
# keeps passwords in sync with Samba3 using same LDAP as EGroupware (for Samba4 use Active Directory)
|
||||||
#checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/sambaadmin.git
|
#checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/sambaadmin.git
|
||||||
|
|
||||||
#[sitemgr]
|
[sitemgr]
|
||||||
# content managment application
|
# content managment application
|
||||||
#checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/sitemgr.git
|
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/sitemgr.git
|
||||||
|
|
||||||
#[phpfreechat]
|
#[phpfreechat]
|
||||||
# chat application
|
# chat application
|
||||||
@ -102,10 +102,14 @@ checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed '
|
|||||||
### EPL apps not publicly available
|
### EPL apps not publicly available
|
||||||
###
|
###
|
||||||
|
|
||||||
#[stylite]
|
[stylite]
|
||||||
#checkout = git clone git@github.com:EGroupwareGmbH/epl.git stylite
|
checkout = git clone git@github.com:EGroupwareGmbH/epl.git stylite
|
||||||
#update = test -d .svn && { rm -rf * .svn; git clone git@github.com:EGroupwareGmbH/epl.git .; } || git pull --rebase
|
update = test -d .svn && { rm -rf * .svn; git clone git@github.com:EGroupwareGmbH/epl.git .; } || git pull --rebase
|
||||||
|
|
||||||
#[esyncpro]
|
[esyncpro]
|
||||||
#checkout = git clone git@github.com:EGroupwareGmbH/esyncpro.git
|
checkout = git clone git@github.com:EGroupwareGmbH/esyncpro.git
|
||||||
#update = test -d .svn && { rm -rf * .svn; git clone git@github.com:EGroupwareGmbH/esyncpro.git .; } || git pull --rebase
|
update = test -d .svn && { rm -rf * .svn; git clone git@github.com:EGroupwareGmbH/esyncpro.git .; } || git pull --rebase
|
||||||
|
|
||||||
|
[profitbricks]
|
||||||
|
# profitbricks managed servers
|
||||||
|
checkout = git clone ${EGW_REPO_BASE:-$(git config --get remote.origin.url|sed 's|/egroupware.git||')}/profitbricks.git
|
||||||
|
@ -363,7 +363,7 @@ class Request
|
|||||||
// generate random token (using oppenssl if available otherwise mt_rand based Auth::randomstring)
|
// generate random token (using oppenssl if available otherwise mt_rand based Auth::randomstring)
|
||||||
$token = function_exists('openssl_random_pseudo_bytes') ?
|
$token = function_exists('openssl_random_pseudo_bytes') ?
|
||||||
base64_encode(openssl_random_pseudo_bytes(32)) :
|
base64_encode(openssl_random_pseudo_bytes(32)) :
|
||||||
Auth::randomstring(44);
|
\EGroupware\Api\Auth::randomstring(44);
|
||||||
|
|
||||||
return $GLOBALS['egw_info']['flags']['currentapp'].'_'.$userID.'_'.$token;
|
return $GLOBALS['egw_info']['flags']['currentapp'].'_'.$userID.'_'.$token;
|
||||||
}
|
}
|
||||||
|
@ -52,7 +52,7 @@ class ContentSecurityPolicy
|
|||||||
// set frame-src attrs of API and apps via hook
|
// set frame-src attrs of API and apps via hook
|
||||||
if ($source == 'frame-src' && !isset($attrs))
|
if ($source == 'frame-src' && !isset($attrs))
|
||||||
{
|
{
|
||||||
$attrs = array('www.egroupware.org');
|
$attrs = array('*.egroupware.org');
|
||||||
if (($app_additional = Api\Hooks::process('csp-frame-src')))
|
if (($app_additional = Api\Hooks::process('csp-frame-src')))
|
||||||
{
|
{
|
||||||
foreach($app_additional as $addtional)
|
foreach($app_additional as $addtional)
|
||||||
|
Loading…
Reference in New Issue
Block a user