History log of /dokuwiki/inc/ (Results 201 – 225 of 6760)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
ba6d945f04-Dec-2025 WillForan <willforan@gmail.com>

lint(Ip32.php): fix spacing

still unsure about function names and order

```
./vendor/bin/phpcbf --standard=PSR12 ../inc/Ip32.php

------------------------------------------------
FILE

lint(Ip32.php): fix spacing

still unsure about function names and order

```
./vendor/bin/phpcbf --standard=PSR12 ../inc/Ip32.php

------------------------------------------------
FILE FIXED REMAINING
------------------------------------------------
dokuwiki/inc/Ip32.php 35 0
```

show more ...

2f70db9004-Dec-2025 WillForan <willforan@gmail.com>

fix: 32bit IP tests w/string of decimal representation, overflows

Math in PHP is hard!
sprintf("%.0f",0x7FFFFFFFFFFFFFFF) == sprintf("%.0f",0x7FFFFFFFFFFFFF00)

Changes
* 32bit gets own version o

fix: 32bit IP tests w/string of decimal representation, overflows

Math in PHP is hard!
sprintf("%.0f",0x7FFFFFFFFFFFFFFF) == sprintf("%.0f",0x7FFFFFFFFFFFFF00)

Changes
* 32bit gets own version of tests where expected values are strings
* decimalToBinary32 to replace `sprintf("%032b%032b"...)`, avoids overflow
* overflow check in ipv4 too
* refactor
* partsTo64 for 32bit parts into dec value as str (bcmath)
* Ip32::$b32 as class constant
* condition always PHP_INT_SIZE == 4 for 32bit (instead of == 8 for 64)

show more ...

a060f5a004-Dec-2025 WillForan <willforan@gmail.com>

refactor(ip): PSR-12 functions

bitmask64_32 -> bitmask64On32
make_bitmask_32 -> makeBitmaskOn32
ipv6_upper_lower_32 -> ipv6UpperLowerOn32

also
* uncomment working 7FFF ipv6 test a

refactor(ip): PSR-12 functions

bitmask64_32 -> bitmask64On32
make_bitmask_32 -> makeBitmaskOn32
ipv6_upper_lower_32 -> ipv6UpperLowerOn32

also
* uncomment working 7FFF ipv6 test and
* fix README suggested podman to use `docker://wpstaging`

show more ...

9399c87e03-Dec-2025 splitbrain <86426+splitbrain@users.noreply.github.com>

�� Rector and PHPCS fixes

ce3702ea26-Nov-2025 Claudio Tam <39857601+claudiotam@users.noreply.github.com>

minor typo in install.html

Minor typo in install.html, changed "info available on it's own page" to "info available on its own page".

a0dc5bd417-Nov-2025 Juanma <juxmix@gmail.com>

Translation update (ca)

e0c5fc9411-Nov-2025 fjf2002 <franzjoseffaerber@gmail.com>

Give explanation if no $conf could be loaded

Give explanation if no $conf could be loaded (i. e. DOKU_CONF pointing elsewhere)

882e464d04-Nov-2025 Anna Dabrowska <dabrowska@cosmocode.de>

eliminate warnings in OR search

8ae9449330-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

update SearchIndex concept doc

fb5311ec30-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

SearchIndex: RID cache should not be static

A static var interferes when the same class is instantiated multiple
times

e05998d530-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

SearchIndex: more Term tests

1db1694030-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

fix type hint for exception (implicit null issue)

bc997a9d30-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

SearchIndex: TupleOps now work with frequencies of 1

We have indexes where we simply track that a relation between entity and
token exists, but there is no frequency. The frequency is always 1.
For

SearchIndex: TupleOps now work with frequencies of 1

We have indexes where we simply track that a relation between entity and
token exists, but there is no frequency. The frequency is always 1.
For those indexes we do not store *1 as frequency but omit it
completely.

The TupleOps class now can work with such indexes and will also store
frequencies of 1 like this.

show more ...

bc6b175929-Oct-2025 Andreas Gohr <andi@splitbrain.org>

correctly check for session auth data. fixes #4547

3f108b3723-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

refactor preference cookie handling. fixes #4544

This refactors the DOKU_PREF cookie handling on the PHP side into a
class. It makes encoding/decoding more explicit and easier to
understand.

The ne

refactor preference cookie handling. fixes #4544

This refactors the DOKU_PREF cookie handling on the PHP side into a
class. It makes encoding/decoding more explicit and easier to
understand.

The new class is used in set_doku_pref() and get_doku_pref() which have
not been deprecated for now.

show more ...

4085a5aa08-Oct-2025 hollisticated-horse <spam3@happyngreen.fr>

Login accessibility improvements

- addes aria and role attributes to the login form for better autocompletion

c657f6ed06-Oct-2025 Roberto Bellingeri <bellingeri@netguru.it>

Translation update (it)

2197930828-Sep-2025 smocap <smocap@gmail.com>

translation update

88c7a8cd27-Sep-2025 smocap <smocap@gmail.com>

translation update

0f6e55a722-Sep-2025 smocap <smocap@gmail.com>

translation update

c534b70322-Sep-2025 smocap <smocap@gmail.com>

translation update

91da8d4420-Sep-2025 WillForan <willforan@gmail.com>

chore(inc/Ip32): move 32bit funcs into own file/class.

easier to remove when x86 is officially deprecated

25a70af920-Sep-2025 WillForan <willforan@gmail.com>

fix(inc/Ip): 32bit arch compatible range check

* added docs about running tests on 32bit w/ podman.
* Updated tests to use string instead of int for comparison when 32bit.
* added `make_bitmask_3

fix(inc/Ip): 32bit arch compatible range check

* added docs about running tests on 32bit w/ podman.
* Updated tests to use string instead of int for comparison when 32bit.
* added `make_bitmask_32` and `bitmask64_32`. updated `ipInRange` to
use them.

Test failing for `test_ip_to_number`
```
podman run -v $PWD/..:/dokuwiki \
--workdir /dokuwiki/_test -it \
docker://wpstaging/php:8.3-32bit \
./vendor/bin/phpunit --verbose --stderr --filter ip_test
```

```

1) ip_test::test_ip_to_number with data set #3 ('38AF:3033:AA39:CDE3:1A46:094C...D:5300', 6, 4.084536385505709E+18, 1.8932109165344407E+18)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'4084536385505709056'
+'4084536381210742243'

/dokuwiki/_test/tests/inc/Ip.test.php:52

2) ip_test::test_ip_to_number with data set #5 ('193.53.125.7', 4, 0, 3241508103)
Failed asserting that -1053459193 is identical to 3241508103.

```

show more ...

8a24a85d17-Sep-2025 smocap <smocap@gmail.com>

translation update

f699847d11-Sep-2025 fiwswe <53953985+fiwswe@users.noreply.github.com>

Remove HTML entities from manifest

12345678910>>...271