Olivier Massot 629b3c7233 centralize logging in ot_core %!s(int64=5) %!d(string=hai) anos
..
Classes c4e246c0d4 general refactoring: add ot_core and ot_stats %!s(int64=5) %!d(string=hai) anos
Configuration a5d9e5a936 makes otadmin api routes public for authorized ips %!s(int64=5) %!d(string=hai) anos
Resources 2eb260b11c add the new ot_admin extension [ongoing] %!s(int64=5) %!d(string=hai) anos
Readme.md a5d9e5a936 makes otadmin api routes public for authorized ips %!s(int64=5) %!d(string=hai) anos
composer.json 2eb260b11c add the new ot_admin extension [ongoing] %!s(int64=5) %!d(string=hai) anos
ext_emconf.php 2eb260b11c add the new ot_admin extension [ongoing] %!s(int64=5) %!d(string=hai) anos
ext_localconf.php 629b3c7233 centralize logging in ot_core %!s(int64=5) %!d(string=hai) anos

Readme.md

OtAdmin

Admin-commands for managing the Typo3 instance. This extension provides commands available by the API, CLI, or a dedicated admin-only BE module

Extension key ot_admin
Vendor Opentalent
Nom OtAdmin

Warning: this extension depends on the ot_templating extension

CLI

Pour exécuter une commande depuis la console (dans le cas d'une installation Typo3 9.5, en mode composer, et avec php-fpm7.4) :

php7.4 /var/www/typo3/vendor/bin/typo3 [command]

Ou, si le script 'cli' a été ajouté lors de l'installation, ce qui devrait être le cas des installations opentalent:

sh /var/www/typo3/cli [command]

La liste des commandes fournies par cette extension peut-être obtenue avec:

php7.4 vendor/bin/typo3 list ot

A propos de l'implémentation de nouvelles commandes: https://docs.typo3.org/m/typo3/reference-coreapi/master/en-us/ApiOverview/CommandControllers/Index.html

HTTP API

La majorité des commandes peuvent aussi être exécutées via une requête HTTP, **à la condition que cette requête émane d'une adresse ip autorisée.

Les adresses IP autorisées sont:

/^127\.0\.0\.[0-1]$/
/^localhost$/
/^10\.8\.0\.[0-255]$/

Les commandes disponibles sont:

Create a new organization <typo3_host>/typo3/index.php?route=/otadmin/site/create&organization-id=<organization_id>
Update an organization <typo3_host>/typo3/index.php?route=/otadmin/site/update&organization-id=<organization_id>
Soft-delete an organization <typo3_host>/typo3/index.php?route=/otadmin/site/delete&organization-id=<organization_id>
Restore a soft-deleted organization <typo3_host>/typo3/index.php?route=/otadmin/site/undelete&organization-id=<organization_id>