Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 1432 → Rev 1433

/trunk/TODO
1,6 → 1,6
May 2023 planned:
- Don't send "information object OIDs" (= Non-OIDs) OIDs to oid-info.com anymore
=> 17 May 2023 mitigated at VTS internal side
- Don't send "information object OIDs" (= Non-OIDs mapped to OID) OIDs or OID-AltIds to oid-info.com anymore
=> 17 May 2023 mitigated at VTS internal side for Information Object OIDs
- In re Internet access:
* Check if all instances of https://github.com/danielmarschall/oidplus/issues/5 ("Offline mode") have been addressed
[OK!] * Everywhere where url_post_contents() is used, we need to check url_post_contents_available() too.
167,6 → 167,7
- XML import: Let the user decide if "created=now" should be set
- XML import: Waiting animation
- XML import: If output (errors) is too long, show them in a page rather than an alert() box
- oidplus:oidinfo_compare_import : It would be nice to have an "import all" button
 
SMALL THINGS
- when you copy something into the clipboard, please show a toast message
/trunk/changelog.json.php
3,6 → 3,14
"dummy": "<?php die(base64_decode('IgogICAgfQpdCg==')); /* for security reasons, do not show the current version @phpstan-ignore-line */ ?>"
},
{
"version": "2.0.1.2",
"date": "2023-11-15 13:29:00 +0100",
"author": "Daniel Marschall (ViaThinkSoft)",
"changes": [
"Small fixes for the oid-info.com importer"
]
},
{
"version": "2.0.1.1",
"date": "2023-11-15 00:58:00 +0100",
"author": "Daniel Marschall (ViaThinkSoft)",
/trunk/plugins/viathinksoft/adminPages/400_oidinfo_export/OIDplusPageAdminOIDInfoExport.class.php
1027,7 → 1027,7
}
 
$id = "oid:$dot_notation";
$title = isset($xoid->{'description'}) ? $xoid->{'description'}->__toString() : '';
$title = isset($xoid->{'description'}) ? html_entity_decode(strip_tags($xoid->{'description'}->__toString())) : '';
$info = isset($xoid->{'description'}) ? $xoid->{'information'}->__toString() : '';
 
// For ASN.1 definitions, "Description" is filled with the definition and "Information" is usually empty
1060,8 → 1060,6
}
}
 
if (OIDplus::db()->transaction_supported()) OIDplus::db()->transaction_begin();
try {
$obj_test = OIDplusObject::findFitting($id);
if ($obj_test) {
if ($replaceExistingOIDs) {
1079,12 → 1077,6
// TODO: we can probably get the created and modified timestamp from oid-info.com XML
OIDplus::db()->query("insert into ###objects (id, parent, title, description, confidential, ra_email) values (?, ?, ?, ?, ?, ?)", array($id, $parent, $title, $info, false, $ra));
 
if (OIDplus::db()->transaction_supported()) OIDplus::db()->transaction_commit();
} catch (\Exception $e) {
if (OIDplus::db()->transaction_supported()) OIDplus::db()->transaction_rollback();
throw new $e;
}
 
OIDplusObject::resetObjectInformationCache();
 
$this_oid_has_warnings = false;
/trunk/plugins/viathinksoft/adminPages/902_systemfile_check/checksums.json
Cannot display: file marked as a binary type.
svn:mime-type = application/json
/trunk/plugins/viathinksoft/language/dede/messages.xml
8846,10 → 8846,10
</message>
<message>
<source><![CDATA[
Which object types do you want to manage using OIDplus?
Which object types do you want to manage using OIDplus? (This can be changed at a later time)
]]></source>
<target><![CDATA[
Welche Objekt-Typen möchten Sie mit OIDplus verwalten?
Welche Objekt-Typen möchten Sie mit OIDplus verwalten? (Kann zu einem späteren Zeitpunkt geändert werden)
]]></target>
</message>
<message>
/trunk/plugins/viathinksoft/publicPages/000_objects/OIDplusPagePublicObjects.class.php
1641,7 → 1641,7
*/
public function oobeEntry(int $step, bool $do_edits, bool &$errors_happened)/*: void*/ {
echo '<h2>'._L('Step %1: Enable/Disable object type plugins',$step).'</h2>';
echo '<p>'._L('Which object types do you want to manage using OIDplus?').'</p>';
echo '<p>'._L('Which object types do you want to manage using OIDplus? (This can be changed at a later time)').'</p>';
 
$enabled_ary = array();
 
/trunk/plugins/viathinksoft/publicPages/100_whois/OIDplusPagePublicWhois.class.php
144,8 → 144,8
$out['text'] .= '<p>'._L('The query according to OID Information Protocol is:').'</p>';
$out['text'] .= ' <p><pre id="whois_query_bar"></pre></p>';
$out['text'] .= ' <p><input type="button" value="'._L('Copy to clipboard').'" onClick="copyToClipboard(whois_query_bar)"></p>';
if ($whois_server != '') {
$out['text'] .= '<p>'._L('You can use any WHOIS compatible client to query the information from the WHOIS or OID-IP port.').'</p>';
if ($whois_server != '') {
$out['text'] .= '<p>'._L('The hostname and port number is:').'</p>';
$out['text'] .= '<p><pre>'.htmlentities($whois_server).'</pre></p>';
}