Skip to content
Branch: master
Commits on Feb 28, 2019
  1. Fix notices when using dw CLI

    micgro42 committed Feb 28, 2019
    On the commandline several global variables might not be set. Accessing
    them might generate an E_NOTICE.
Commits on Feb 18, 2019
  1. Merge pull request #2698 from splitbrain/ci-phpunit-8

    micgro42 committed Feb 18, 2019
    Force Travis CI PHPUnit version to 7 for PHP 7.2+
Commits on Oct 8, 2018
  1. 💡 Better deprecation annotation for DOKU_TPL*

    micgro42 committed Oct 8, 2018
    This syntax can be used by IDEA and other IDEs to mark the constants as
    deprecated in the editor.
Commits on Jun 14, 2018
  1. 🐛 (Draft) Fix exception when actually viewing a draft of a page

    micgro42 committed Jun 14, 2018
    Not sure why this didn't show up sooner 😕
Commits on Jun 11, 2018
  1. 💡(Draft): Add doc block for constructor

    micgro42 committed Jun 11, 2018
  2. Add unittest for deleteUsers remote API call

    micgro42 committed Jun 11, 2018
    Remote API calls should have some unittest as this test would have caught
    the bug that was introduced in 96d46bf
    and fixed in ebf1744
Commits on Jun 8, 2018
  1. 🏗 Use json for the response to dw_locktimer

    micgro42 committed Jun 8, 2018
  2. (dw_locktimer) plugins may reuse to add fields and callbacks

    micgro42 committed Jun 8, 2018
    Plugins may want to add further fields to be present when saving drafts.
    Plugins may want to execute some js functionality that should be timed to
    the saved draft/refreshed lock.
    If a plugin does another init() to attach the dw_locktimer to its own editor,
    then the default callback would be added a second time, causing unexpected
    and undesired behavior.
    This includes the changes from the following commits:
  3. 💄 (editor) draft status is semantically not part of the toolbar

    micgro42 committed Jun 6, 2018
    This change is useful for plugins that may want to implement their own toolbar (and thus hide the
    default toolbar), but still would like to let the locktimer set the draft status.
Commits on Jun 7, 2018
  1. 🏗 Create new Draft class and move draft handling there

    micgro42 committed Jun 7, 2018
Commits on May 24, 2018
  1. Merge pull request #2402 from splitbrain/remoteDeleteUsers

    micgro42 committed May 24, 2018
    Add call to delete Users to the remote API
  2. fix: throw RemoteAccessDeniedException if not admin

    micgro42 committed May 24, 2018
  3. feat(RemoteAPI): Add call to delete Users to the remote API

    micgro42 committed May 24, 2018
Commits on May 16, 2018
  1. fix(TASK_RECENTCHANGES_TRIM event): Add isMedia flag

    micgro42 committed May 16, 2018
  2. refactor: Rename lib/exe/indexer.php to taskrunner.php 🔨

    micgro42 committed May 16, 2018
  3. feat: Trigger new event when changelog is trimmed

    micgro42 committed May 16, 2018
Commits on Apr 27, 2018
  1. feat: improve search as a primary means to create new pages

    micgro42 committed Apr 27, 2018
    Specifically, this pull request checks if the current query is already a
    valid pageid and then return that as suggested pageid.
    Also, tests are added for this method.
    Fixes #2355
    PS: We may want to somehow better educate/nudge users to use the better
    way of creating pages by creating links on existing pages.
Commits on Apr 23, 2018
  1. fix: replace old call to css_styleini

    micgro42 committed Apr 23, 2018
    fixes #2330
  2. fix: print 'you are here' again for startpages

    micgro42 committed Apr 23, 2018
    This bug was introduced in #2251
    Fixes #2325
Commits on Apr 20, 2018
  1. fix(search): don't start result position with 2

    micgro42 committed Apr 20, 2018
    Also, for consistency this initializes also $num with 0, while ensuring
    that the first FT_SNIPPET_NUMBER results with a $cnt>0 have a snippet.
Commits on Apr 17, 2018
  1. Fix(search): restore valid heading hierarchy

    micgro42 committed Apr 17, 2018
    In #2286 the 2nd level heading in the intro was removed, so the h3
    should be promoted to h2.
  2. fix(search): ensure consistent html in search results

    micgro42 committed Apr 17, 2018
    This implements some of the changes discussed in #2314:
    1. last mod and number of hits are on the same line and always shown
    2. There is a class around the last mod string so it can be
    hidden/replaced by an icon
    3. All items in the resultBody returned by the event are wrapped in
    `<dd>` tags to ensure validity. They get their array key as class
    4. There is still a wrapper div around each result for styling purposes
Commits on Apr 13, 2018
  1. fix(HTTPClient): add handling for 204: No Content responses

    micgro42 committed Apr 13, 2018
    This fixes a bug that would occur if the DokuHTTPClient receives a 204
    response, e.g. as a result for a request to delete something. It would
    still try to read the body, which fails, thus producing a timeout and
    finally throwing an exception.
    This fix instructs the HTTPClient to not read the (not existing) body if
    it receives a 204.
  2. fix: bring back the namespace in brace for pagelookup results

    micgro42 committed Apr 13, 2018
    This was unintentionally removed in
    It also should now be clearer what the code does.
    This fixes #2305
Commits on Apr 5, 2018
  1. fix: switch extensions if stylesheet in style.ini doesn't exist

    micgro42 committed Apr 5, 2018
    This should give us some backwards compatibility for changing files in
    dokuwiki template from .css to .less
    This way template authors get a warning to adjust their template, it
    won't break right away.
    This should prevent breaking search pages in other templates due to
    pull request #2286 .
  2. refactor: rename and move function to set $JSINFO

    micgro42 committed Apr 5, 2018
    This is a more consistent place relative to pageinfo()
  3. Merge pull request #2286 from splitbrain/betterCoreSearch

    micgro42 committed Apr 5, 2018
    Better core search
  4. Merge pull request #2241 from splitbrain/manifest

    micgro42 committed Apr 5, 2018
    PWA manifest and new @ini_theme_color replacement
Commits on Mar 29, 2018
  1. fix: add missing global $ACT for $JSINFO

    micgro42 committed Mar 29, 2018
  2. refactor: use native json_encode for $JSINFO

    micgro42 committed Mar 29, 2018
    json_encode is available natively since PHP 5.2
You can’t perform that action at this time.