Skip to content
Snippets Groups Projects
  1. Feb 17, 2017
  2. Feb 16, 2017
  3. Feb 14, 2017
  4. Feb 08, 2017
    • Gerry Weißbach's avatar
      Spaces, not tabs. · 6ff51f7d
      Gerry Weißbach authored
      6ff51f7d
    • Gerry Weißbach's avatar
      Add Event to modify the list of javascript files before they are processed.... · 6d3bebff
      Gerry Weißbach authored
      Add Event to modify the list of javascript files before they are processed. This allows plugins to not have their - or other plugins - script delivered to the client. Creating the list of files upfront might add a little overhead which I think is OK when you can be certain that only JavaScript that really is needed will be delivered to the client.
      
      Multiple Javascript requests, e.g. to only send the jQuery part or just editor/administrator scripts, could be implemented with this modification (I know, jQuery has already been split).
      6d3bebff
    • Andreas Gohr's avatar
      admin screen: override fill attribute of paths · 9c5f3115
      Andreas Gohr authored
      When an svg has a fill attribute directly on the path, we need more
      specifity to override it.
      9c5f3115
  5. Feb 07, 2017
  6. Feb 06, 2017
  7. Feb 04, 2017
  8. Feb 03, 2017
  9. Jan 31, 2017
  10. Jan 21, 2017
    • Andreas Gohr's avatar
      removed the no longer used admin PNG icons · b8b60fdb
      Andreas Gohr authored
      b8b60fdb
    • Andreas Gohr's avatar
      Adds proper styling for new Admin UI · 713faa94
      Andreas Gohr authored
      713faa94
    • Andreas Gohr's avatar
      added SVG icons for our admin actions · 47d645c8
      Andreas Gohr authored
      using icons from https://materialdesignicons.com/
      47d645c8
    • Andreas Gohr's avatar
      increased the default limit for embedded SVGs to 2kb · 1935f902
      Andreas Gohr authored
      more complex material design icons can be somewhat larger than 1kb
      1935f902
    • Andreas Gohr's avatar
      Use inline SVG for Admin Plugin icons and style them via CSS · 3c27983b
      Andreas Gohr authored
      This introduces an embedSVG() function that can be used at other places.
      3c27983b
    • ThisNameIsNotAllowed's avatar
      Provide icons for plugins in admin menu · 3b93167c
      ThisNameIsNotAllowed authored
      Squashed commit of the following:
      
      commit 86183b66c5b53b47e5ddb1e0d1c155c06c331d35
      Merge: ebfb1ab1 4a8f4288e
      Author: Andreas Gohr <andi@splitbrain.org>
      Date:   Sat Jan 21 11:20:32 2017 +0100
      
          Merge branch 'master' of git://github.com/ThisNameIsNotAllowed/dokuwiki into pull-request-1767
      
          * 'master' of git://github.com/ThisNameIsNotAllowed/dokuwiki:
            Update admin.php
            Update admin.php
            Update _admin.css
            Update admin.php
            Update html.php
            Update _admin.css
            Update html.php
            Update html.php
            Update html.php
            Update.html
            Update html.php
            Update admin.php
      
      commit 4a8f4288e61d48156bf9c4a7c49756912e4dac25
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Fri Jan 20 09:25:52 2017 +0100
      
          Update admin.php
      
          Changed the code to check for icons being SVG files.
          This should fix php5.3 errors for using method returns straight on.
      
      commit e43b6cae1e12c1d24efae301e6b25f79a660f353
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Fri Jan 20 08:22:41 2017 +0100
      
          Update admin.php
      
          Removed elements that could lead to behaviors that shouldn't occure.
      
      commit 9af82fb6f43a5ce10ba9b54f1d5f5cac644c7611
      Merge: b99c67797 0b8d1871c
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Thu Jan 19 16:22:02 2017 +0100
      
          Merge pull request #1 from ThisNameIsNotAllowed/add-c
      
          Added css, forced the author to use ".svg"-files for plugin icons.
      
      commit 0b8d1871c8bd0a02aca3ff56128465e8739c96ea
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Thu Jan 19 16:17:34 2017 +0100
      
          Update _admin.css
      
          fixed some aligning for plugin names.
      
      commit 9158649de99867574471a2b894f8611bb99b9a7f
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Thu Jan 19 15:49:20 2017 +0100
      
          Update admin.php
      
          Added method to return menu icons only in case their mime type matches svg files.
      
          Added warning to getMenuIcon comments telling the user to provide svg only.
      
      commit 6df4e0f41880d40f0e7b1882d26fc647d6d2188e
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Thu Jan 19 15:46:17 2017 +0100
      
          Update html.php
      
          Added code to accept svg files only.
          Also changed names of css classes to suit dokuwiki style.
      
      commit 3435abc52ac1dbd4e0cea291a8b30bef722638a6
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Thu Jan 19 15:41:06 2017 +0100
      
          Update _admin.css
      
          Added css for displaying plugin icons.
      
      commit b99c67797eafdb73351f62d2db4c206426b9f828
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Thu Nov 24 14:16:23 2016 +0100
      
          Update html.php
      
          Changed the list of admin plugins.
      
          The icons and plugin names appearance can now be influenced by css.
      
      commit 479c6517ff6fc6010c24b2a285249f3600bc3248
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Thu Nov 24 13:45:08 2016 +0100
      
          Update html.php
      
          Cleaned, due to too much duplicated code.
      
      commit e621fd9788c064cc22385cfa4999a9be588bedc2
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Wed Nov 23 16:26:14 2016 +0100
      
          Update html.php
      
          Changed class name for images shown before plugin names.
      
      commit 9099dac8483fc1aa5a875755ba3dea6e7eb3f280
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Wed Nov 23 16:24:01 2016 +0100
      
          Update.html
      
          Added icon to plugin array
      
      commit faea3ceb7986ecd6d6bad3d8055a388f3810c4b1
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Wed Nov 23 15:56:40 2016 +0100
      
          Update html.php
      
          Added support to display plugin icons in admin menu.
      
      commit 539e60be075ab060d7d57beadc74d94606262a2e
      Author: ThisNameIsNotAllowed <ThisNameIsNotAllowed@users.noreply.github.com>
      Date:   Wed Nov 23 15:51:39 2016 +0100
      
          Update admin.php
      
          Add support for icons in admin menu.
      3b93167c
  11. Jan 01, 2017
  12. Dec 26, 2016
  13. Dec 21, 2016
    • Andreas Gohr's avatar
      allow selecting the preferred CDN and add event · fa078663
      Andreas Gohr authored
      We now have two CDNs available. code.jquery.com which is the more
      popular one and CDNjs which is the faster one. Plugin authors can use a
      plugin hook to easily implement their own preferred CDN. Authors might
      even use this event to conditionally load additional JavaScript files.
      fa078663
  14. Dec 20, 2016
  15. Dec 12, 2016
  16. Dec 01, 2016
  17. Nov 26, 2016
    • Andreas Gohr's avatar
      split off jquery from other JS and add CDN option #1766 · 61537d47
      Andreas Gohr authored
      jQuery (and UI and Migrate) are now loaded separately from the rest of
      the JavaScript. This adds at least one HTTP request more but has some
      advantages:
      
      * browsers can cache it independently
      * the cache is only invalidated when versions update
      * we do not apply any transformations (replacements, minimizing, etc) on
        this code anymore which makes our dispatcher faster for the other JS
      * browsers seem to load (not execut) both (jquery and other) parallel,
        which might increase download speed a bit
      
      This split allowed for the introduction of a new config: jquerycdn. When
      enabled the 3 jquery files are loaded from jQueries CDN. This adds
      another two HTTP requests but:
      
      * since it's another host those files do not apply to the 4 request per
        host limit and can be loaded (not executed) in paralell which might
        increase download speeds a bit
      * the CDN is distributed worldwide which means files are requested from
        the closest location, increasing the download speeds
      * since these files/CDN are very popular, chances are high that people
        already have them cached in their browsers, reducing the download time
        to 0 and effectiely halving the javascript needed to download
      
      The option currently defaults to 'off', but I would argue 'on' would be
      the better default.
      61537d47
    • Andreas Gohr's avatar
      use external version file for jquery updates · 5928c8e7
      Andreas Gohr authored
      this also removes the non inified versions and incorporates some updates
      the jquery CDN just pushed for jquery-ui
      5928c8e7
    • Andreas Gohr's avatar
      removed jQuery.browser calls · 0a1c13c9
      Andreas Gohr authored
      jQuery.browser no longer exists in jQuery nor in jQuery migrate. A quick
      check in Opera and IE11 suggests that both parts that used it are no
      longer needed so they were simply removed.
      
      More browser tests especially for the resize handling in the media manager
      are recommended.
      0a1c13c9
    • Andreas Gohr's avatar
      replace deprecated bind() calls · 5170fe99
      Andreas Gohr authored
      The bind() call is deprecated in jQuery 3. This replaces it with
      the on() call.
      5170fe99
    • Andreas Gohr's avatar
      replace deprecated delegate() calls · 568cdecd
      Andreas Gohr authored
      The delegate() call is deprecated in jQuery 3. This replaces it with the
      on() call.
      568cdecd
    • Andreas Gohr's avatar
      fixed radio options in media manager for new jQ-UI · 46b9e007
      Andreas Gohr authored
      jQuery UI replaced the buttonset widget with a controlgroup widget. This
      adjusts the JavaScript and styling accordingly.
      46b9e007
    • Andreas Gohr's avatar
      jQuery Updates · 92090435
      Andreas Gohr authored
      - jQuery to 3.1.1
      - jQuery UI to 1.12.1
      - jQuery Migrate to 3.0.0
      
      There are a few warnigs from migrate that have to be fixed. The toggles
      in the Media Manager are also missing their proper icons.
      92090435
  18. Nov 22, 2016
  19. Nov 12, 2016
Loading