| 2cf7c325 | 19-Nov-2020 |
Andreas Gohr <andi@splitbrain.org> |
Replace Appveyor and Travis with Github actions
Travis has recently introduced built limits which makes using them very slow sometimes and I never really liked the setup for appveyor for our Windows
Replace Appveyor and Travis with Github actions
Travis has recently introduced built limits which makes using them very slow sometimes and I never really liked the setup for appveyor for our Windows testing.
This makes use of github actions instead. Some notes:
* since we only support PHP 7.2+ anymore, nothing below is tested * MySQL and Postgres auth backends are only tested on Linux (as before) * I am not actually sure the problem matchers are working as intended * There is currently no good way to run tests that are allowed to fail so no PHP 8 tests are run yet * I haven't reestablished the no-gzip test runs again, I'm not sure they are still relevant on modern PHP systems * PHP 7.4 currently fails because of https://github.com/MarcusSchwarz/lesserphp/pull/18 * I'm currently using @v2 tags for the used action. We had a discussion before if we should actually pin the action to a fixed commit. For sake of easier maintainance, I would argue to trust the setup-php action.
show more ...
|
| 66b108d6 | 28-Oct-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix groups match in auth_ismanager and auth_isadmin
Even if a user was passed to the check but no groups, current user's groups were used for the match |
| 3ff73c3c | 27-Oct-2020 |
AdaKaleh <31895292+adakaleh@users.noreply.github.com> |
Add IPv6 unit tests |
| bfcf8009 | 30-Sep-2020 |
Andreas Gohr <andi@splitbrain.org> |
refactor page and media resolving, introduce ~ shortcut
This moves the resolve_id() type of functions into their own class hierarchy.
A new shortcut to be used in links is introduced. The tilde ~ c
refactor page and media resolving, introduce ~ shortcut
This moves the resolve_id() type of functions into their own class hierarchy.
A new shortcut to be used in links is introduced. The tilde ~ can be used to reference the current page as a namespace. This is useful to dynamically create a new namespace from an existing page, effectively making that page the start page. It allows for a more dynamic growth of the wiki and makes use of the rarer used "startpage named like the namespace" method for start pages.
The existing code has not been modified, yet and continues to use the old, now deprecated methods. Some tests are still failing - before they are fixed, the expected behaviour needs to be discussed.
show more ...
|
| 242e6931 | 20-Aug-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Thorough tests for EO, DE, PT and ES
Correction for German collation; examples for German and Spanish; much better comments |
| d0fecb18 | 17-Aug-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Tests for Portuguese and Spanish
Collations for Portuguese and Spanish; examples for Portuguese; better comments |
| 0489c64b | 16-Aug-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Changes according to revisions in https://github.com/moisesbr-dw/dokuwiki/pull/2
Many minor details and use of Sort::xyz() instead of intl_xyz() in files outside the "inc" folder. |
| 24486f8c | 12-Aug-2020 |
Andreas Gohr <andi@splitbrain.org> |
fixed tests for cleanID and romanization for Greeklish |
| f9aa34a3 | 11-Aug-2020 |
Andreas Gohr <andi@splitbrain.org> |
test the collator fallback always
Now the use of the intl extension can be turned off, allowing for easy testing of the fallback. The test now inherits from the collator test so we avoid too much du
test the collator fallback always
Now the use of the intl extension can be turned off, allowing for easy testing of the fallback. The test now inherits from the collator test so we avoid too much duplicate code
show more ...
|
| 5d9cb4e1 | 11-Aug-2020 |
Andreas Gohr <andi@splitbrain.org> |
cleanup for collator tests
The proper use of data providers now make it much easier to add addtional languages to the test |
| 2d85e841 | 11-Aug-2020 |
Andreas Gohr <andi@splitbrain.org> |
wrap sorting functions into their own class |
| a1c26920 | 01-Jul-2020 |
Andreas Gohr <andi@splitbrain.org> |
adjust handling for greek characters. fixes #3188
This fixes an error in the case conversion table and removes "normal" greek letters from the list of special characters. Mathematical symbols based
adjust handling for greek characters. fixes #3188
This fixes an error in the case conversion table and removes "normal" greek letters from the list of special characters. Mathematical symbols based on greek letters are still considered special chars.
show more ...
|
| 5a56359c | 01-Jul-2020 |
Andreas Gohr <andi@splitbrain.org> |
skip redirect tests while httpbin is broken #3187
Until https://github.com/postmanlabs/httpbin/issues/617 is fixed or we found an alternative, the redirect tests will be skipped. |
| cbfa4829 | 13-Jun-2020 |
Phy <git@phy25.com> |
use envvars in shebang |
| a65be911 | 08-Jun-2020 |
Phy <git@phy25.com> |
add unit tests for #3114 |
| 47c5d564 | 03-Jun-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Changes to conform to PHP Code Style
New function lang_has_changed() as wrapper for _get_collator(TRUE). |
| 746611d8 | 03-Jun-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Collator re-creation in unit test |
| 0884c254 | 02-Jun-2020 |
Andreas Gohr <andi@splitbrain.org> |
fix the case lookup table. #3113
This readds a whole bunch of conversions that for some reason got lost in the refactoring. No idea what happened there. |
| 3feb137a | 02-Jun-2020 |
Andreas Gohr <andi@splitbrain.org> |
run all tests without mbstring support
The setup we had, where we tried to disable mbstring on a perclass basis did not actually work because the define is set up in an early include already.
Ideal
run all tests without mbstring support
The setup we had, where we tried to disable mbstring on a perclass basis did not actually work because the define is set up in an early include already.
Ideally we should probably make the check a static instead of a constant.
show more ...
|
| 90b57d56 | 01-Jun-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Documentation update
Minor changes. |
| 0384d31d | 01-Jun-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Test class for sort without collator |
| 30ad1f25 | 01-Jun-2020 |
Moisés Braga Ribeiro <moisesbr@gmail.com> |
Test class for sort with collator |
| 8d43d15e | 11-May-2020 |
Andreas Gohr <andi@splitbrain.org> |
fix tests for cached isAdmin/isManager |
| 10da1f74 | 29-Apr-2020 |
Andreas Gohr <andi@splitbrain.org> |
more tests and a fix for #3036
Exploding lines left dangling commas for the addresses. In addition the $text variable was not reset properly later on leading to an additional error. |
| 98548fef | 29-Apr-2020 |
Andreas Gohr <andi@splitbrain.org> |
added failing test for #3036 |