mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-14 09:18:41 +00:00
bug fixes
This commit is contained in:
parent
cdb9bb90d5
commit
5820567c61
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
|
|
@ -9,5 +9,5 @@ jobs:
|
||||||
- uses: actions/first-interaction@v1
|
- uses: actions/first-interaction@v1
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
issue-message: 'Thank you for createing this issue. We will check it as soon as possible.'
|
issue-message: 'Thank you for creating this issue. We will check it as soon as possible.'
|
||||||
pr-message: 'Thank you for your pull request. We will check it as soon as possible.'
|
pr-message: 'Thank you for your pull request. We will check it as soon as possible.'
|
||||||
|
|
|
||||||
|
|
@ -207,9 +207,11 @@ final class ApiController extends Controller
|
||||||
$doc->content = EncryptionHelper::encryptShared($doc->content, $_SERVER['OMS_PRIVATE_KEY_I']);
|
$doc->content = EncryptionHelper::encryptShared($doc->content, $_SERVER['OMS_PRIVATE_KEY_I']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if ($request->hasData('tags')) {
|
if ($request->hasData('tags')) {
|
||||||
$doc->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request);
|
$doc->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
return $doc;
|
return $doc;
|
||||||
}
|
}
|
||||||
|
|
@ -365,7 +367,7 @@ final class ApiController extends Controller
|
||||||
basePath: __DIR__ . '/../../../Modules/Media/Files/Modules/Editor/' . ($request->getData('doc') ?? '0'),
|
basePath: __DIR__ . '/../../../Modules/Media/Files/Modules/Editor/' . ($request->getData('doc') ?? '0'),
|
||||||
virtualPath: '/Modules/Editor/' . ($request->getData('doc') ?? '0'),
|
virtualPath: '/Modules/Editor/' . ($request->getData('doc') ?? '0'),
|
||||||
pathSettings: PathSettings::FILE_PATH,
|
pathSettings: PathSettings::FILE_PATH,
|
||||||
type: $request->getDataInt('type'),
|
tag: $request->getDataInt('tag'),
|
||||||
rel: (int) $request->getDataInt('doc'),
|
rel: (int) $request->getDataInt('doc'),
|
||||||
mapper: EditorDocMapper::class,
|
mapper: EditorDocMapper::class,
|
||||||
field: 'files'
|
field: 'files'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user