-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into feature/CONNECTOR-144/rate-limits-sync
- Loading branch information
Showing
10 changed files
with
154 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ The OpenConnector Nextcloud app provides a ESB-framework to work together in an | |
- 🆓 Map and translate API calls | ||
]]></description> | ||
<version>0.1.20</version> | ||
<version>0.1.26</version> | ||
<licence>agpl</licence> | ||
<category>integration</category> | ||
<author mail="[email protected]" homepage="https://www.conduction.nl/">Conduction</author> | ||
|
@@ -33,6 +33,10 @@ The OpenConnector Nextcloud app provides a ESB-framework to work together in an | |
<owncloud max-version="0" min-version="0"/> | ||
</dependencies> | ||
|
||
<background-jobs> | ||
<job>OCA\OpenConnector\Cron\LogCleanUpTask</job> | ||
</background-jobs> | ||
|
||
<navigations> | ||
<navigation> | ||
<id>openconnector</id> | ||
|
40 changes: 20 additions & 20 deletions
40
configurations/sharepoint-woo/mappings/xxllnc-suite-to-publications.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
{ | ||
"name": "Xxllnc suite to Publication", | ||
"description": "", | ||
"version": "", | ||
"reference": "", | ||
"version": "0.0.1", | ||
"mapping": { | ||
"title": "omschrijving", | ||
"summary": "zaaktypeomschrijving", | ||
"description": "zaaktypeomschrijving", | ||
"published" : "", | ||
"modified" : "{{ 'now'|date(H:i:sTm-d-Y') }}", | ||
"status": "Concept", | ||
"catalog": "", | ||
"publicationType": "" | ||
}, | ||
"unset": [], | ||
"cast": { | ||
"title": "unsetIfValue==omschrijving", | ||
"summary": "unsetIfValue==zaaktypeomschrijving", | ||
"description": "unsetIfValue==zaaktypeomschrijving", | ||
"published" : "unsetIfValue==", | ||
"catalog": "unsetIfValue==", | ||
"publicationType": "unsetIfValue==" | ||
"title": "omschrijving", | ||
"summary": "zaaktypeomschrijving", | ||
"description": "zaaktypeomschrijving", | ||
"category": "{% if zaaktypecode|default %}{% set wooVerzoekenEnBesluiten = ['LP00000431', 'B1873', 'cherry'] %}{% set klachtoordelen = ['LP00000091', 'LP00001132', 'LP00000121', 'B0757', 'LP00000832', 'LP00001096'] %}{% if zaaktypecode in wooVerzoekenEnBesluiten %}{{ 'Woo-verzoeken en -besluiten' }}{% elseif zaaktypecode in klachtoordelen %}{{ 'Klachtoordelen' }}{% endif %}{% endif %}", | ||
"published": "startdatum", | ||
"modified": "{{ 'now'|date('H:i:sTm-d-Y') }}", | ||
"attachments": "[{% if files|default %}{% for file in files %} { {% if file['titel']|default %}\"title\": \"{{ file['titel'] }}\",{% endif %}\"labels\": [\"{{ 'Informatieverzoek' }}\"],{% if file['formaat']|default %}\"extension\": \"{{ file['formaat']|split('/')|last }}\",\"type\": \"{{ file['formaat'] }}\",{% endif %}{% if file['inhoud']|default and file['formaat']|default %}\"accessUrl\": \"data:{{ file['formaat'] }};base64,{{ file.inhoud }}\"{% endif %} }{{ loop.last ? '' : ',' }} {% endfor %}{% endif %}]", | ||
"status": "Concept" | ||
}, | ||
"unset": [ | ||
"" | ||
], | ||
"cast": { | ||
"title": "unsetIfValue==omschrijving", | ||
"summary": "unsetIfValue==zaaktypeomschrijving", | ||
"description": "unsetIfValue==zaaktypeomschrijving", | ||
"category": "unsetIfValue==", | ||
"published": "unsetIfValue==startdatum", | ||
"attachments": "jsonToArray" | ||
}, | ||
"passThrough": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors | ||
* SPDX-License-Identifier: AGPL-3.0-or-later | ||
*/ | ||
|
||
namespace OCA\OpenConnector\Migration; | ||
|
||
use Closure; | ||
use OCP\DB\ISchemaWrapper; | ||
use OCP\DB\Types; | ||
use OCP\Migration\IOutput; | ||
use OCP\Migration\SimpleMigrationStep; | ||
|
||
/** | ||
* FIXME Auto-generated migration step: Please modify to your needs! | ||
*/ | ||
class Version1Date20241206095007 extends SimpleMigrationStep { | ||
|
||
/** | ||
* @param IOutput $output | ||
* @param Closure(): ISchemaWrapper $schemaClosure | ||
* @param array $options | ||
*/ | ||
public function preSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void { | ||
} | ||
|
||
/** | ||
* @param IOutput $output | ||
* @param Closure(): ISchemaWrapper $schemaClosure | ||
* @param array $options | ||
* @return null|ISchemaWrapper | ||
*/ | ||
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options): ?ISchemaWrapper { | ||
/** | ||
* @var ISchemaWrapper $schema | ||
*/ | ||
$schema = $schemaClosure(); | ||
|
||
if ($schema->hasTable('openconnector_sources') === true) { | ||
$table = $schema->getTable('openconnector_sources'); | ||
|
||
if ($table->hasColumn('logRetention') === true) { | ||
$table->dropColumn('logRetention'); | ||
$table->addColumn('log_retention', Types::INTEGER)->setNotnull(false)->setDefault(3600); | ||
} | ||
if ($table->hasColumn('errorRetention') === true) { | ||
$table->dropColumn('errorRetention'); | ||
$table->addColumn('error_retention', Types::INTEGER)->setNotnull(false)->setDefault(86400); | ||
} | ||
} | ||
|
||
return $schema; | ||
} | ||
|
||
/** | ||
* @param IOutput $output | ||
* @param Closure(): ISchemaWrapper $schemaClosure | ||
* @param array $options | ||
*/ | ||
public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters