History log of /dokuwiki/inc/ (Results 626 – 650 of 6436)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0a47515410-Oct-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

@ssahara update Ui\Diff using ChangeLog\getCurrentRevisionInfo()

remove class property $item
remove abstract function itemFN()
ignore metadata when considering external edit

ad088cbc10-Oct-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

update Ui\Revisions using ChangeLog\getCurrentRevisionInfo()

remove class property $item
remove abstract function itemFN()
simplify function getRevisions($first, $hasNext)

0c92baf010-Oct-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

check externally deleted items in do=recent

do not update revision info for externally modified items to avoid wrong sort order in the recent list.

bd17ac9009-Oct-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

create ChangeLog::getCurrentRevisionInfo()

assign tentative revision for possible external edition, as $lastRev +1

c8bc752909-Oct-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

Revert "disable external edit check to avoid unittest fails"

This reverts commit 162709daa8557d651e7afd7a6aa3e62f08bf0ade.

5d9428a026-Sep-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

WIP: handle External Deletion using time() for dummy rev number

162709da21-Sep-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

disable external edit check to avoid unittest fails

e49fa56b20-Sep-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

use getFilename() method instead of wikiFN()

3bb461ea20-Sep-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

fix Non-obvious Ternary Operators

e6a9d76f30-Sep-2020 Syntaxseed <825423+syntaxseed@users.noreply.github.com>

Method names with leading double underscore are reserved by PHP.

0b63e09a16-Sep-2021 Andreas Gohr <andi@splitbrain.org>

fix named access to the sha hashing mechanisms

7f8f245616-Sep-2021 Andreas Gohr <andi@splitbrain.org>

move IXR XML RPC to composer dependency #1970

This is a monky patched version of kissyfrot/php-ixr until my PR has
been accepted upstream.

Plugins using the XML RPC client may need adjustments.

facfe25014-Sep-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

external edits in changelog for images

cc5508fe14-Sep-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

external edits at diff page

- removed pages used content of last existing version in a diff, this makes diff inconsistent. Now manually set to empty string if doing diff.
- dummy entry for newer pag

external edits at diff page

- removed pages used content of last existing version in a diff, this makes diff inconsistent. Now manually set to empty string if doing diff.
- dummy entry for newer page has probably no use, as the external edits/deletions are recognized now
TODO unknown scenario not yet tested

show more ...

90c7493e14-Sep-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

list external edits also in revs list

- current revision changelogline is already in changelog, so retrieve in one go
- include listing of external edits
- for external deletions no date is known

a3984ddf14-Sep-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

add external edits to revision listings

- general function for retrieving external edit changelogline
- changelogline is cached after use of the function, then also retrievable by getRevisionInfo()

add external edits to revision listings

- general function for retrieving external edit changelogline
- changelogline is cached after use of the function, then also retrievable by getRevisionInfo()
- included in retrieveRevisionsAround() as well

show more ...

75cba7af30-Aug-2021 David Surroca <davidsurrocaestrada@gmail.com>

translation update

4668fa1914-Aug-2021 alexdraconian <78018187+alexdraconian@users.noreply.github.com>

Update Ajax.php

bd53912414-Aug-2021 Andreas Gohr <andi@splitbrain.org>

:fire: fix the calculation of file permissons

Our config allows to set the values for `dmode` and `fmode` to allow
users to explicitly define which permissions directories and files
should have.

To

:fire: fix the calculation of file permissons

Our config allows to set the values for `dmode` and `fmode` to allow
users to explicitly define which permissions directories and files
should have.

To avoid unnessary chmod operations, we check the current umask to
compare what permissions files and directories would get witout our
intervention. If the result is already what the user wants, no chmods
will happen later on. Otherwise we set new configs called `dperm` and
`fperm` which will be used in chmod ops. This is done in
`init_creationmodes()`

When we created new directories, we used to pass the original `dmode`
config to `mkdir()`. The system will then apply the umask to that
`dmode`.

This means the resulting directory will *always* have different
permissions than `dmode`, *always* requiring a chmod operation.
That's silly.

**Breaking Change:** This patch removes the passing of `dmode` as
second parameter to all `mkdir` calls, making it default to `0700`
which is also what we test against in `init_creationmodes()`.

Plugins not relying on our `io_*` functions and do create their own
directories and which currenlty pass `dmode` to it need to be
adjusted to remove that second parameter.

Users may want to reapply the proper file permissions to their data
folder.

**Revert:** In 9fdcc8fcd87114ca59a1764a84d213a53c655c8c @movatica
introduced a change to `init_creationmodes()` that compared the umask
against `fmode` instead of `0666`. I merged it because it looked logical
when compared to the code for directories which compared against `dmode`
as described above. However we do not pass `fmode` to any file creation
methods (that's not possible).

The result is that all changes made in the `fmode` setting resulted
in the wrong permissions for newly created files as first reported in
https://forum.dokuwiki.org/d/19463-setting-fmode-not-working-as-intended

I'm unsure about the orginal motivation behind @movatica's change. The
"fix" however, is wrong.

**Tests:** This patch introduces an integration test that will check the
actual results of directory and file creations under various umask,
`dmode` and `fmode` settings.

show more ...

831ec55408-Aug-2021 Axel Kirch <axel@globeglotter.com>

translation update

1c7f665001-Aug-2021 Jan Baier <jan.baier@amagical.net>

Add support for SHA256 encrypted passwords

Enable detection of SHA256 hashes (prefixed with $5$) and allow to
use this hashing schemes in passwords.

67600f7501-Aug-2021 Tom Kunze <mail@tomabrafix.de>

HTTPClient: Fix missing processing of redirections with status code 303, 307, 308.

HTTP/1.1 (RFC 7231) and RFC 7538 also define the redirection status codes 303,
307 and 308. These should be also su

HTTPClient: Fix missing processing of redirections with status code 303, 307, 308.

HTTP/1.1 (RFC 7231) and RFC 7538 also define the redirection status codes 303,
307 and 308. These should be also supported as they are used more widely
nowadays (e.g. Google Docs).

show more ...

03af5d6515-Jul-2021 Erik Bjørn Pedersen <erik.pedersen@shaw.ca>

translation update

1376809628-May-2021 pavulondit <pavloo@vp.pl>

translation update

826fda5c25-May-2021 Olivier Humbert <trebmuh@tuxfamily.org>

translation update

1...<<21222324252627282930>>...258