8033346c | 30-Nov-2023 |
m-martin-78 <138781920+m-martin-78@users.noreply.github.com> |
coding style |
8a3002c9 | 29-Nov-2023 |
splitbrain <splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes |
36d03388 | 28-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
JSON-RPC: we do not support named parameters
Even though this would be valid in JSON-RPC 2.0 we don't support it currently. This adds the proper error handling for that. |
8d294593 | 28-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
JSON-RPC: throw proper error on invalid JSON |
6f8e03f5 | 28-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
implement support for JSON-RPC 1.0, 1.1 and 2.0
This implements the slightly more standardized JSON-RPC standard as an alternative to my home-grown version. The same server handled all formats inclu
implement support for JSON-RPC 1.0, 1.1 and 2.0
This implements the slightly more standardized JSON-RPC standard as an alternative to my home-grown version. The same server handled all formats including my own simpler variant.
show more ...
|
cf927d07 | 28-Nov-2023 |
splitbrain <splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes |
6fdb83b6 | 28-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
prefer getallheaders() over apache_request_headers() |
87603a0a | 28-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
handle JSON encode/decode errors in JSONRPC API |
0e18d4f5 | 17-Nov-2023 |
林晓东 <lin_xd@126.com> |
translation update |
52b00652 | 14-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
do not call get_class() without a parameter
This has been deprecated in PHP 8.3 |
c0f08ea9 | 14-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
clean up dbg_backtrace
This makes the formatting decisions more explicit instead of multiple nested ternary operators. For hopefully make it easier to read.
It also renames [internal function] to [
clean up dbg_backtrace
This makes the formatting decisions more explicit instead of multiple nested ternary operators. For hopefully make it easier to read.
It also renames [internal function] to [anonymous] since it usually signifies an error in a anonymous callback rather than a PHP internal.
show more ...
|
bcedcbab | 14-Nov-2023 |
Andreas Gohr <andi@splitbrain.org> |
fix page title handling broken in #4107 |
73f7d49d | 14-Nov-2023 |
Fekete Ádám Zsolt <fadam@egbcsoport.hu> |
translation update |
a4dce27e | 13-Nov-2023 |
m-martin-78 <138781920+m-martin-78@users.noreply.github.com> |
Fixed bad copy/paste, sorry... |
9b36c1fc | 13-Nov-2023 |
splitbrain <splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes |
2a339739 | 13-Nov-2023 |
m-martin-78 <138781920+m-martin-78@users.noreply.github.com> |
Check if trustedproxy is empty + changed behavior in is_ssl to match the same behavior |
6e9b1877 | 13-Nov-2023 |
m-martin-78 <138781920+m-martin-78@users.noreply.github.com> |
bugfix: trustedproxy is not a delimited pcre |
12a78321 | 13-Nov-2023 |
m-martin-78 <138781920+m-martin-78@users.noreply.github.com> |
Codestyle + check trustedproxies
Adjust code style to match dokuwiki's.
Secure the use of `X-Forwarded-Host` by checking against the https://www.dokuwiki.org/config:trustedproxy property. |
5ab8f4a0 | 13-Nov-2023 |
m-martin-78 <138781920+m-martin-78@users.noreply.github.com> |
Add support for X-Forwarded-Host proxy header
X-Forwarded-From and X-Forwarded-Proto are already used, so should X-Forwarded-Host. |
dd952db8 | 03-Nov-2023 |
pau <pau@estuditic.com> |
translation update |
9b03c563 | 27-Oct-2023 |
talal <ksa76@hotmail.com> |
translation update |
d26e5a24 | 16-May-2023 |
Andreas Gohr <andi@splitbrain.org> |
Tokenauth: ignore case when gettign auth header from apache |
403d6a9f | 26-Apr-2023 |
Andreas Gohr <andi@splitbrain.org> |
added tests for auth token handling |
455aa67e | 25-Apr-2023 |
Andreas Gohr <andi@splitbrain.org> |
Introduce token authentication #2431
This generates a JWT token for users. This token can be sent in a Bearer authentication header as a login mechanism. Users can reset their token in the profile.
Introduce token authentication #2431
This generates a JWT token for users. This token can be sent in a Bearer authentication header as a login mechanism. Users can reset their token in the profile.
Note: a previously suggested implementation used a custom token format, not JWT tokens
show more ...
|
e66f8dfe | 12-Oct-2023 |
Andreas Gohr <andi@splitbrain.org> |
use rtrim not trim to remove trailing dots |