fenepedia / contao-er24-rechtstexte Goto Github PK
View Code? Open in Web Editor NEWContao Erweiterung für die Integration von Rechtstexten über die eRecht24 API
License: GNU General Public License v3.0
Contao Erweiterung für die Integration von Rechtstexten über die eRecht24 API
License: GNU General Public License v3.0
Ich frage mich gerade, ob es sinnvoll wären, dass es eine Fallbacklösung gibt.
Ich lösche bei eRecht den API-Key. Wenn das der Website-Admin nicht mitbekommt und irgendwann den Cache über die Systemsteuerung löscht, dann gibt es plötzlich keine Texte mehr auf der Website. Das wäre ggf. sehr fatal.
Evtl. können wir die Texte erst invalidieren, wenn vorher geprüft wird, ob noch eine Verbindung zu eRecht24 besteht.
Oder hast du andere Ideen?
In our company we want to save the last update time of the texts from e-recht. So we need a hook, maybe in the PushController, with the information which type of text (data protection, imprint...) is updated. Can you add a hook please?
I just ran into the mysql row size issue when trying to install the extension for a client project. I've noticed that the dca field in tl_content is using the 'customSchemaOptions'=>array('collation'=>'ascii_bin')
, while the fields in tl_page aren't. Haven't tested it yet, but adding the collation to tl_page fields as well might help if someone is close to running into that MySQL restriction.
Nonetheless, thumbs up for this great extension! :)
I've found weird bug with automatically parsing e-mails.
The bug appeared inside "Aufsichtsbehörde, Berufsbezeichnung" in the "Name und Anschrift der zuständigen Kammer" textarea after entering an email.
End of insert tags are placed exactly inside following br
tag <b|here|r />
, causing email not to be parsed into html tag.
Coming from Back-End:
As i checked value on textarea at erecht24, the line with e-mail seems to be written correctly - E-Mail: [email protected]\n
Hallo zusammen,
ist es möglich auch die letzte Änderung und die aktuelle Version über die API auszugeben?
Im Aktualisierungsprotokoll vom eRecht24-Datenschutz-Generator steht:
Version 1.36.0 vom 19.09.2023
Nehmen wir an ich hätte heute meine DS-Erklärung angepasst dann würde ich gern diese Ausgabe generieren:
Stand: 27.09.2023 | Version 1.36.0 vom 19.09.2023
Siehe: https://www.e-recht24.de/mitglieder/changelog-erecht24-dsg/
Danke für eine Rückmeldung!
Wenn ein Text-Typ nicht vorhanden ist, dann bekomme ich keinen Hinweis. Es wäre vielleicht hilfreich, wenn eine Meldung im System-Log erscheint.
Beispiel: Zum Rechtstext-Typ XXX konnten keine Daten gefunden/abgerufen werden.
Es wäre toll, wenn man das Inhaltselement noch um eine Bildfunktion erweitern könnte. Dann könnte man zum Beispiel eine Grafik wie die Siegel von e-Recht24.de auf der Höhe des Impressumstextes einfügen und muss das nicht zwangsläufig darunter oder darüber tun.
Um den Multi-Domain-Support zu nutzen, muss es weiterhin über den Website-Root konfigurierbar sein. Allerdings wäre vielleicht eine Option “Verwende den gleichen eRecht-Client wie bei der Fallbackseite", hilfreich?
Hm, I guess we should remove
if it really works with only the fallback root.
Originally posted by @fritzmg in #9 (comment)
Wir haben bei unseren mehrsprachigen Domains das Phänomen, das wir den API-Key nur in eine der Sprachen einfügen können. Zudem scheint die Sprache auch nicht berücksichtigt zu werden.
Wird in der Seitenstruktur der Startpunkt der Website bearbeitet und gespeichert, kommt es zu folgender Fehlermeldung.
Return value of eRecht24\RechtstexteSDK\Model\Response::getBody() must be of the type string or null, bool returned
Das Problem liegt vermutliche an der API von eRecht24. Warte auf Rückmeldung von @etlam
The eRecht24 API does not recognize the ping pong as success as it expects the answer to be a JSON response:
{
"message": "pong"
}
At the moment the Contao returns just plain text:
Content-Type: text/html; charset=UTF-8
pong
Today I've installed the plugin, generated the API key and set up everything as the helpful setup video told me to. It worked like a charm for the first page root.
Our company uses a Contao installation with two website roots that mirror the whole website (german and english version) together with terminal42's changelanguage plugin. When I try to enter the API key in the second (english) website root and click on save, I get the following error message:
A client with the URL https://www.domain.tld/_er24/push already exists.
Am I doing something wrong here?
Thanks for your time and efforts in developing the plugin so far!
Ahoi,
auf der Doku-Seite (https://www.fenepedia.de/contao-er24-rechtstexte) der Erweiterung steht geschrieben, dass man in der Suche vom Contao-Manager fenepedia/contao-er24-rechtstexte eingeben soll. Damit lässt sich die Erweiterung leider nicht finden. Auch andere Schreibweisen führen nicht zum Erfolg. Gebe ich nur "fenepedia" ein, wird eine andere Erweiterung (Contao KlickTipp Gateway) gelistet.
CM-Version: 1.5.5
Contao: 4.13.4
Gruß
Sebastian
The plugin cannot install via Contao Manager in contao 5.0.4 with PHP 8.1.7:
> Resolving dependencies using Composer Cloud v3.5.1 [6.5MiB/0.17s] Loading composer repositories with package information [56.6MiB/5.92s] Updating dependencies [73.8MiB/6.15s] Your requirements could not be resolved to an installable set of packages. [73.8MiB/6.15s] Problem 1 - Root composer.json requires fenepedia/contao-er24-rechtstexte ^1.0 -> satisfiable by fenepedia/contao-er24-rechtstexte[1.0.0, 1.0.1, 1.0.2]. - fenepedia/contao-er24-rechtstexte[1.0.0, ..., 1.0.2] require contao/core-bundle ^4.9 -> found contao/core-bundle[4.9.0, ..., 4.13.12] but these were not loaded, likely because it conflicts with another require. [73.8MiB/6.15s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning> [33.1MiB/6.17s] Memory usage: 33.11MB (peak: 157.04MB), time: 6.18s. [33.1MiB/6.18s] Finished Composer Cloud resolving.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.