From f4d06b50fcd9959339a8933f0d923e40f5a08227 Mon Sep 17 00:00:00 2001 From: Adrian Jones Date: Tue, 28 Jan 2025 17:09:20 -0800 Subject: [PATCH] A few changes from `pematon/adminer` to `adminerneo/adminerneo` as well as from `master` to `main` --- README.md | 10 +++++----- SECURITY.md | 2 +- adminer/include/adminer.inc.php | 2 +- adminer/include/design.inc.php | 2 +- adminer/index.php | 4 ++-- adminer/static/functions.js | 2 +- editor/include/adminer.inc.php | 2 +- editor/index.php | 4 ++-- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 87391e7a..23b73f38 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Please, read also 👉 **[What to expect](#what-to-expect)** section before you Usage ----- -Download one for the latest [release files](https://github.com/pematon/adminer/releases), upload to the HTTP server +Download one for the latest [release files](https://github.com/adminerneo/adminerneo/releases), upload to the HTTP server with PHP and enjoy 😉 If you are not satisfied with any combination of the database driver and language, you can download the source code and compile your own AdminerNeo: @@ -52,8 +52,8 @@ php compile.php pgsql cs php compile.php mysql,pgsql en,de,cs,sk ``` -[Available drivers](https://github.com/pematon/adminer/tree/master/adminer/drivers), -[languages](https://github.com/pematon/adminer/tree/master/adminer/lang). +[Available drivers](https://github.com/adminerneo/adminerneo/tree/main/adminer/drivers), +[languages](https://github.com/pematon/adminer/tree/adminerneo/adminerneo/lang). Security -------- @@ -118,7 +118,7 @@ function adminer_object() { include "./adminer.php"; ``` -[Available plugins](https://github.com/pematon/adminer/tree/master/plugins). +[Available plugins](https://github.com/adminerneo/adminerneo/tree/main/plugins). Main project files ------------------ @@ -158,7 +158,7 @@ UI improvements. ### Version 5 -Bridges will be burned 🔥🔥🔥. It's in development already, so you [can check](https://github.com/pematon/adminer/tree/version-5) +Bridges will be burned 🔥🔥🔥. It's in development already, so you [can check](https://github.com/adminerneo/adminerneo/tree/version-5) what's going on. Or you can become the early adopter and help us with testing 😉 Our goals are: diff --git a/SECURITY.md b/SECURITY.md index 663b36b9..66bc3e21 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,7 +1,7 @@ Reporting security issues ========================= -To report a security issue, please [open a draft security advisory](https://github.com/pematon/adminer/security/advisories). +To report a security issue, please [open a draft security advisory](https://github.com/adminerneo/adminerneo/security/advisories). Security issues are handled with top priority. Once acknowledged, a fix should be available and new version released as soon as possible. Security advisories will be made public after a fix and new version have been released, diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 951d92a2..b33aa968 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -1046,7 +1046,7 @@ class Adminer { - id="version"> + id="version"> diff --git a/adminer/include/design.inc.php b/adminer/include/design.inc.php index 1a1d1b6e..bff4eb81 100644 --- a/adminer/include/design.inc.php +++ b/adminer/include/design.inc.php @@ -143,7 +143,7 @@ function csp() { [ // 'self' is a fallback for browsers not supporting 'strict-dynamic', 'unsafe-inline' is a fallback for browsers not supporting 'nonce-' "script-src" => "'self' 'unsafe-inline' 'nonce-" . get_nonce() . "' 'strict-dynamic'", - "connect-src" => "'self' https://api.github.com/repos/pematon/adminer/releases/latest", + "connect-src" => "'self' https://api.github.com/repos/adminerneo/adminerneo/releases/latest", "frame-src" => "'self'", "object-src" => "'none'", "base-uri" => "'none'", diff --git a/adminer/index.php b/adminer/index.php index 08c9112f..0271dc52 100644 --- a/adminer/index.php +++ b/adminer/index.php @@ -1,8 +1,8 @@ { + ajax('https://api.github.com/repos/adminerneo/adminerneo/releases/latest', (request) => { const response = JSON.parse(request.responseText); const version = response.tag_name.replace(/^\D*/, ''); diff --git a/editor/include/adminer.inc.php b/editor/include/adminer.inc.php index 013d969e..266c6ff1 100644 --- a/editor/include/adminer.inc.php +++ b/editor/include/adminer.inc.php @@ -608,7 +608,7 @@ qsl('div').onclick = whisperClick;", "") - id="version"> + id="version"> diff --git a/editor/index.php b/editor/index.php index 95956b6b..81b05ffa 100644 --- a/editor/index.php +++ b/editor/index.php @@ -1,8 +1,8 @@