Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
9791d0df
Commit
9791d0df
authored
Dec 17, 2018
by
Carsten Rose
Browse files
Fixed path after refactor 'extension/qfq/qfq/...' to 'extension/Source/core/...'.
parent
d5292b97
Pipeline
#1163
passed with stage
in 2 minutes and 3 seconds
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
doc/PROTOCOL.md
View file @
9791d0df
...
...
@@ -387,7 +387,7 @@ URL Parameters
Server Response
: header("Content-type: $mimetype");
header("Content-Length: $length");
header("Content-Disposition: inline; filename=
\"
$outputFilename
\"
");
header("Content-Disposition: inline; filename=
'
$outputFilename
'
");
header("Pragma: no-cache");
header("Expires: 0");
file_get_contents($file);
...
...
@@ -506,10 +506,10 @@ Server Response
Asynchronous request (read AJAX) initiated by the Client receive a
JSON Response from the server (extended [Minimal Response]) containing:
{
"status": "success"|"error"|"conflict"|"conflict_allow_force",
"message": "<message>"e5
}
:
{
:
"status": "success"|"error"|"conflict"|"conflict_allow_force",
:
"message": "
<message>
"e5
:
}
`status`
indicates how the request has been fulfilled by the server.
On
`"success"`
, the Client display nothing to the user.
...
...
extension/Documentation/Manual.rst
View file @
9791d0df
...
...
@@ -5546,11 +5546,11 @@ Link Examples
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
| SELECT "p:form_person|C:green" AS _link |
<a
href=
"?form_person"
><img
alttext=
"Check"
src=
"typo3conf/ext/qfq/Resources/Public/icons/checked-green.gif"
></a>
|
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
| SELECT "U:form=Person
&
r=123|x|D" as _link |
<a
href=
"typo3conf/ext/qfq/Source/api/delete.php?s=badcaffee1234"
><span
class=
"glyphicon glyphicon-trash"
></span>
">
</a>
|
| SELECT "U:form=Person
&
r=123|x|D" as _link |
<a
href=
"typo3conf/ext/qfq/Source/api/delete.php?s=badcaffee1234"
><span
class=
"glyphicon glyphicon-trash"
></span>
">
</a>
|
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
| SELECT "U:form=Person
&
r=123|x|t:Delete" as _link |
<a
href=
"typo3conf/ext/qfq/Source/api/delete.php?s=badcaffee1234"
>
Delete
</a>
|
| SELECT "U:form=Person
&
r=123|x|t:Delete" as _link |
<a
href=
"typo3conf/ext/qfq/Source/api/delete.php?s=badcaffee1234"
>
Delete
</a>
|
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
| SELECT "s:1|d:full.pdf|M:pdf|p:id=det1
&
r=12|p:id=det2|F:cv.pdf| |
<a
href=
"typo3conf/ext/qfq/Source/api/download.php?s=badcaffee1234"
>
Download
</a>
|
| SELECT "s:1|d:full.pdf|M:pdf|p:id=det1
&
r=12|p:id=det2|F:cv.pdf| |
<a
href=
"typo3conf/ext/qfq/Source/api/download.php?s=badcaffee1234"
>
Download
</a>
|
| t:Download|a:Create complete PDF - please wait" as _link | |
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
| SELECT "y:iatae3Ieem0jeet|t:Password|o:Clipboard|b" AS _link |
<button
class=
"btn btn-info"
onClick=
"new QfqNS.Clipboard({text: 'iatae3Ieem0jeet'});"
title=
'Copy to clipboard'
>
Password
</button>
|
...
...
extension/Source/core/Constants.php
View file @
9791d0df
...
...
@@ -12,7 +12,8 @@ const CONFIG_QFQ_PHP = "config.qfq.php"; // QFQ configuration file: db access
const
CONFIG_T3
=
'LocalConfiguration.php'
;
// T3 config file
const
GFX_INFO
=
'typo3conf/ext/qfq/Resources/Public/icons/note.gif'
;
const
API_DIR
=
'typo3conf/ext/qfq/qfq/api'
;
const
API_DIR
=
'typo3conf/ext/qfq/Source/api'
;
const
API_DIR_EXT
=
'Source/api'
;
const
QFQ_TEMP_FILE_PATTERN
=
'qfq.split.XXXXX'
;
const
QFQ_TEMP_SOURCE
=
'.temp.source'
;
...
...
extension/Source/core/helper/HelperFile.php
View file @
9791d0df
...
...
@@ -105,7 +105,7 @@ class HelperFile {
public
static
function
getFileStat
(
$pathFileName
)
{
$vars
=
array
();
if
(
empty
(
$pathFileName
))
{
if
(
empty
(
$pathFileName
)
||
!
file_exists
(
$pathFileName
)
)
{
return
array
();
}
...
...
@@ -133,7 +133,7 @@ class HelperFile {
return
$pathFileName
;
}
if
(
substr
(
getcwd
(),
-
8
)
==
'/
qfq/api'
)
{
if
(
substr
(
getcwd
(),
-
8
)
==
'/
'
.
API_DIR_EXT
)
{
return
'../../../../../'
.
$pathFileName
;
}
...
...
extension/Source/core/helper/Logger.php
View file @
9791d0df
...
...
@@ -80,7 +80,7 @@ class Logger {
private
static
function
relativeToT3Dir
(
$filename
)
{
if
(
isset
(
$filename
[
0
])
&&
$filename
[
0
]
!=
'/'
)
{
if
(
strpos
(
getcwd
(),
'
/
qfq/
qfq/api'
)
!==
false
)
{
if
(
strpos
(
getcwd
(),
'qfq/
'
.
API_DIR_EXT
)
!==
false
)
{
return
(
'../../../../../'
.
$filename
);
}
}
...
...
extension/Source/core/report/Monitor.php
View file @
9791d0df
...
...
@@ -77,7 +77,7 @@ class Monitor {
'&'
.
TOKEN_L_TAIL
.
'='
.
$vars
[
TOKEN_L_TAIL
]
.
'&'
.
TOKEN_L_APPEND
.
'='
.
$vars
[
TOKEN_L_APPEND
];
// $url = store::getSipInstance()->queryStringToSip(API_DIR . '/' . API_DOWNLOAD_PHP . '?' . $queryString, RETURN_URL);
$arr
=
store
::
getSipInstance
()
->
queryStringToSip
(
'../../../
qfq/api
/'
.
API_DOWNLOAD_PHP
.
'?'
.
$queryString
,
RETURN_ARRAY
);
$arr
=
store
::
getSipInstance
()
->
queryStringToSip
(
'../../../
'
.
API_DIR_EXT
.
'
/'
.
API_DOWNLOAD_PHP
.
'?'
.
$queryString
,
RETURN_ARRAY
);
$url
=
$arr
[
SIP_SIP_URL
];
// On page reload, take care to remove optional exsiting old seek position.
...
...
javascript/src/QfqPage.js
View file @
9791d0df
...
...
@@ -29,13 +29,13 @@ var QfqNS = QfqNS || {};
{
tabsId
:
"
qfqTabs
"
,
formId
:
"
qfqForm
"
,
submitTo
:
"
typo3conf/ext/qfq/
qfq
/api/save.php
"
,
deleteUrl
:
"
typo3conf/ext/qfq/
qfq
/api/delete.php
"
,
refreshUrl
:
"
typo3conf/ext/qfq/
qfq
/api/load.php
"
,
fileUploadTo
:
"
typo3conf/ext/qfq/
qfq
/api/upload.php
"
,
fileDeleteUrl
:
"
typo3conf/ext/qfq/
qfq
/api/filedelete.php
"
,
typeAheadUrl
:
"
typo3conf/ext/qfq/
qfq
/api/typeahead.php
"
,
dirtyUrl
:
"
typo3conf/ext/qfq/
qfq
/api/dirty.php
"
,
submitTo
:
"
typo3conf/ext/qfq/
Source
/api/save.php
"
,
deleteUrl
:
"
typo3conf/ext/qfq/
Source
/api/delete.php
"
,
refreshUrl
:
"
typo3conf/ext/qfq/
Source
/api/load.php
"
,
fileUploadTo
:
"
typo3conf/ext/qfq/
Source
/api/upload.php
"
,
fileDeleteUrl
:
"
typo3conf/ext/qfq/
Source
/api/filedelete.php
"
,
typeAheadUrl
:
"
typo3conf/ext/qfq/
Source
/api/typeahead.php
"
,
dirtyUrl
:
"
typo3conf/ext/qfq/
Source
/api/dirty.php
"
,
pageState
:
new
n
.
PageState
()
},
settings
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment