| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|\
| |
| | |
Style Manager Fixes
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Instead of trying to guess if a setting is expecting a color base on the
setting's name it is now determined based on the value in it. Only hex
colors are supported (it's the only thing the type="color" input
supports either).
|
| |
| |
| |
| |
| | |
Always reinitialize the style replacements on loading the manager to
ensure it reflects the saved state.
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Modern browsers know about type=color and show their own picker so there
is no need for this jQuery plugin anymore.
Also the iris plugin isn't maintained anymore and throws warnings in
jQuery migrate.
|
|
|
|
|
|
| |
attr
Related to #1546.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
changes from commit b15f23f6735eabb6dc7e4a996e4ae164139ab7f5 may have
been lost, because the code changed to much.
changes from commit df81ca99eeaf4753d6f09cbddbb529afe7ef71c7 need to be
verified. we might need to do some more adjustments.
* master: (49 commits)
translation update
translation update
translation update
translation update
translation update
translation update
translation update
Update config.class.php
translation update
translation update
Update lang.php
Add ugc hint to nofollow
add UGC hint
translation update
translation update
use a script to fetch the correct phpunit
Revert "output travis php version for easier debugging"
setup databases for unit tests in travis
output travis php version for easier debugging
translation update
...
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is inspired by https://forum.dokuwiki.org/thread/14395 and should fix the problem described there (I did a local test which seems to work).
Previously styling cookie depends on `window.opener`. Since the popup should be on the same domain as the opener, and the popup's cookie domain is the same as the opener (DokuCookie is used), there is no need to rely on the opener to set the preview cookie. This change will ensure the preview cookie is cleared before the popup is closed, regardless of whether opener exists or not.
Also checks on whether opener exists are added as well.
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* master:
translation update
translation update
Use config cascade for style.ini files
translation update
translation update
use utf8_strtolower instead of strtolower
add test for utf8 capital letters in search #2613
compare cleaned pageid case-insensitive in search, fixes #2613
add tests for #2613
Defective transplantation of export from .htaccess
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This simplifies style loading and allows the plugins like farmer to
extend the the loading of style files. Also adds some first unit tests.
Originally discussed in FS#2703 and #134
Squashed commit of the following:
commit 5ed550f6ba61a1d475b7572cbff18f0d790c78c2
Merge: 0cefed65e cab1833b0
Author: Andreas Gohr <gohr@cosmocode.de>
Date: Thu Feb 28 13:38:46 2019 +0100
Merge branch 'styleConfCascade' of https://github.com/annda/dokuwiki into annda-styleConfCascade
* 'styleConfCascade' of https://github.com/annda/dokuwiki:
Clean up StyleUtils
Update StyleUtils test
Fix array to boolean conversion
Use better placeholder string in config cascade
Calls to StyleUtils use the new constructor
Add test for StyleUtils
Refactor StyleUtils
WIP add temporary test comparing two implementations of StyleUtils
WIP add new style config cascade side by side with the old one
commit cab1833b09a59331a5580fe0e3e6f36d743dea09
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 17:54:27 2019 +0100
Clean up StyleUtils
commit 766e3907cf7b234c3f2fa7bf86f205c1c8c7c6e1
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 17:51:15 2019 +0100
Update StyleUtils test
commit f5c08787ddf9db60e3429421e5c627d5c81d876a
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:51:53 2019 +0100
Fix array to boolean conversion
commit c9671698992328d5671a43b2707ffc6c5b117423
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:38:55 2019 +0100
Use better placeholder string in config cascade
commit 4845eff54d227325476bb00b7c8402ce58cf72df
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:24:16 2019 +0100
Calls to StyleUtils use the new constructor
commit 7a6337a8f8f2cc0cedbf54ae0b43e94033192cb8
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:22:44 2019 +0100
Add test for StyleUtils
commit 5ae9e8f69e076ab2a18b24aa178cca15fea6b000
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:16:57 2019 +0100
Refactor StyleUtils
commit a2adcc9f37be93f4bcf90fdba4089ea4b0d6436e
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Sat Feb 16 23:58:04 2019 +0100
WIP add temporary test comparing two implementations of StyleUtils
commit 845c40c4faf379a65134e171514a09d47ffe95f1
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Sat Feb 16 23:59:41 2019 +0100
WIP add new style config cascade side by side with the old one
|
|\| |
|
| | |
|
| |\
| | |
| | | |
add event to check access to admin plugins
|
| | |
| | |
| | |
| | |
| | |
| | | |
This adjusts the bundled plugins to do their admin permission checks
based on their admin component's isAccessibleByCurrentUser() method
instead of doing their own isAdmin checks.
|
| | | |
|
| | | |
|
| |/ |
|
| |\ |
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* master:
🐛 (Draft) Fix exception when actually viewing a draft of a page
💡(Draft): Add doc block for constructor
✅ Add unittest for deleteUsers remote API call
fix remote API call dokuwiki.deleteUsers
translation update
🏗 Use json for the response to dw_locktimer
✨(dw_locktimer) plugins may reuse to add fields and callbacks
💄 (editor) draft status is semantically not part of the toolbar
🏗 Create new Draft class and move draft handling there
translation update
correctly avoid notice in init.
avoid creating expensive stacktrace in dbg_deprecated()
add method to EventHandler to check if an event is actually handled
introduce INFO_DEPRECATION_LOG event
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
There's currently one warning left. Supressing it doesn't work which
might be a bug in phpcs.
|
| |
| |
| |
| |
| |
| | |
This makes sure all files use line lenghts shorter than 120 characters.
This is a quick fix. It might not always be the nicest change.
|
|/
|
|
|
|
|
| |
There is no need for this check, since these files should not have any
main code that is executed on direct call.
Fixes PSR1.Files.SideEffects.FoundWithSymbols
|
|\
| |
| | |
PWA manifest and new @ini_theme_color replacement
|
| |
| |
| |
| |
| | |
The goal is to make the css replacement accessible in other contexts,
for example for the manifest.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Translation update (de-informal)
|
| | |
|