Commit Graph

8 Commits

Author SHA1 Message Date
Andreas Gohr 177d6836e2 coding style: control flow whitespaces 2023-08-31 14:22:35 +02:00
Andreas Gohr 24870174d2 Apply rector fixes to the rest of inc 2023-08-29 19:42:15 +02:00
Andreas Gohr cbb44eabe0 deprecated trigger_event() in favor of a static method on Event 2019-04-20 21:48:53 +02:00
Andreas Gohr e9f4a0f684 Merge branch 'master' into psr2
* 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
2019-03-06 20:38:53 +01:00
Anna Dabrowska 4593dbd285 Use config cascade for style.ini files
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 cab1833b09
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date:   Thu Feb 21 17:54:27 2019 +0100

    Clean up StyleUtils

commit 766e3907cf
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date:   Thu Feb 21 17:51:15 2019 +0100

    Update StyleUtils test

commit f5c08787dd
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date:   Thu Feb 21 12:51:53 2019 +0100

    Fix array to boolean conversion

commit c967169899
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date:   Thu Feb 21 12:38:55 2019 +0100

    Use better placeholder string in config cascade

commit 4845eff54d
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date:   Thu Feb 21 12:24:16 2019 +0100

    Calls to StyleUtils use the new constructor

commit 7a6337a8f8
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date:   Thu Feb 21 12:22:44 2019 +0100

    Add test for StyleUtils

commit 5ae9e8f69e
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date:   Thu Feb 21 12:16:57 2019 +0100

    Refactor StyleUtils

commit a2adcc9f37
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 845c40c4fa
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
2019-02-28 13:45:19 +01:00
Andreas Gohr 64159a61e9 line lengths shortened
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.
2018-04-27 19:07:43 +02:00
Michael Große 2d8226d6a3
feat(PWAManifest): Use sensible defaults for icons
Defining SVG both as 17x17 and 512x512 is intended to support custom
splash screens, though the documentation is somewhat unclear. This
currently satisfies the Google Lighthouse auditing tool.
2018-03-07 11:24:44 +01:00
Michael Große c90718343a
refactor: move manifest functions to more intuitive places 2018-02-05 10:42:09 +01:00