mirror of
https://github.com/vrana/adminer.git
synced 2025-09-02 19:02:36 +02:00
A few changes from pematon/adminer
to adminerneo/adminerneo
as well as from master
to main
This commit is contained in:
10
README.md
10
README.md
@@ -30,7 +30,7 @@ Please, read also 👉 **[What to expect](#what-to-expect)** section before you
|
|||||||
Usage
|
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
|
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:
|
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
|
php compile.php mysql,pgsql en,de,cs,sk
|
||||||
```
|
```
|
||||||
|
|
||||||
[Available drivers](https://github.com/pematon/adminer/tree/master/adminer/drivers),
|
[Available drivers](https://github.com/adminerneo/adminerneo/tree/main/adminer/drivers),
|
||||||
[languages](https://github.com/pematon/adminer/tree/master/adminer/lang).
|
[languages](https://github.com/pematon/adminer/tree/adminerneo/adminerneo/lang).
|
||||||
|
|
||||||
Security
|
Security
|
||||||
--------
|
--------
|
||||||
@@ -118,7 +118,7 @@ function adminer_object() {
|
|||||||
include "./adminer.php";
|
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
|
Main project files
|
||||||
------------------
|
------------------
|
||||||
@@ -158,7 +158,7 @@ UI improvements.
|
|||||||
|
|
||||||
### Version 5
|
### 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 😉
|
what's going on. Or you can become the early adopter and help us with testing 😉
|
||||||
|
|
||||||
Our goals are:
|
Our goals are:
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
Reporting security issues
|
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
|
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,
|
as soon as possible. Security advisories will be made public after a fix and new version have been released,
|
||||||
|
@@ -1046,7 +1046,7 @@ class Adminer {
|
|||||||
<?php if ($missing != "auth"): ?>
|
<?php if ($missing != "auth"): ?>
|
||||||
<span class="version">
|
<span class="version">
|
||||||
<?php echo $VERSION; ?>
|
<?php echo $VERSION; ?>
|
||||||
<a href="https://github.com/pematon/adminer/releases"<?php echo target_blank(); ?> id="version">
|
<a href="https://github.com/adminerneo/adminerneo/releases"<?php echo target_blank(); ?> id="version">
|
||||||
<?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?>
|
<?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?>
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
@@ -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-'
|
// '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'",
|
"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'",
|
"frame-src" => "'self'",
|
||||||
"object-src" => "'none'",
|
"object-src" => "'none'",
|
||||||
"base-uri" => "'none'",
|
"base-uri" => "'none'",
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Adminer - Database management in a single PHP file
|
* AdminerNeo - Database management in a single PHP file
|
||||||
*
|
*
|
||||||
* @link https://github.com/pematon/adminer
|
* @link https://github.com/adminerneo/adminerneo
|
||||||
* @author Jakub Vrana (https://www.vrana.cz/)
|
* @author Jakub Vrana (https://www.vrana.cz/)
|
||||||
* @author Peter Knut
|
* @author Peter Knut
|
||||||
* @copyright 2007-2021 Jakub Vrana, 2024 Peter Knut
|
* @copyright 2007-2021 Jakub Vrana, 2024 Peter Knut
|
||||||
|
@@ -106,7 +106,7 @@ function verifyVersion(baseUrl, token) {
|
|||||||
// Dummy value to prevent repeated verifications after AJAX failure.
|
// Dummy value to prevent repeated verifications after AJAX failure.
|
||||||
cookie('adminer_version=0', 1);
|
cookie('adminer_version=0', 1);
|
||||||
|
|
||||||
ajax('https://api.github.com/repos/pematon/adminer/releases/latest', (request) => {
|
ajax('https://api.github.com/repos/adminerneo/adminerneo/releases/latest', (request) => {
|
||||||
const response = JSON.parse(request.responseText);
|
const response = JSON.parse(request.responseText);
|
||||||
|
|
||||||
const version = response.tag_name.replace(/^\D*/, '');
|
const version = response.tag_name.replace(/^\D*/, '');
|
||||||
|
@@ -608,7 +608,7 @@ qsl('div').onclick = whisperClick;", "")
|
|||||||
<?php if ($missing != "auth"): ?>
|
<?php if ($missing != "auth"): ?>
|
||||||
<span class="version">
|
<span class="version">
|
||||||
<?php echo $VERSION; ?>
|
<?php echo $VERSION; ?>
|
||||||
<a href="https://github.com/pematon/adminer/releases"<?php echo target_blank(); ?> id="version">
|
<a href="https://github.com/adminerneo/adminerneo/releases"<?php echo target_blank(); ?> id="version">
|
||||||
<?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?>
|
<?php echo (version_compare($VERSION, $_COOKIE["adminer_version"]) < 0 ? h($_COOKIE["adminer_version"]) : ""); ?>
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Adminer Editor - Compact database editor for end-users
|
* AdminerNeo Editor - Compact database editor for end-users
|
||||||
*
|
*
|
||||||
* @link https://github.com/pematon/adminer
|
* @link https://github.com/adminerneo/adminerneo
|
||||||
* @author Jakub Vrana (https://www.vrana.cz/)
|
* @author Jakub Vrana (https://www.vrana.cz/)
|
||||||
* @author Peter Knut
|
* @author Peter Knut
|
||||||
* @copyright 2009-2021 Jakub Vrana, 2024 Peter Knut
|
* @copyright 2009-2021 Jakub Vrana, 2024 Peter Knut
|
||||||
|
Reference in New Issue
Block a user