1. 24 Jun, 2019 4 commits
  2. 23 Jun, 2019 4 commits
  3. 22 Jun, 2019 3 commits
  4. 21 Jun, 2019 5 commits
  5. 19 Jun, 2019 1 commit
  6. 17 Jun, 2019 3 commits
  7. 16 Jun, 2019 3 commits
  8. 15 Jun, 2019 1 commit
    • totten's avatar
      CRM-18792 - CRM_Core_Theme - Add helper for loading CSS files from themes · d89d2545
      totten authored
      CRM-18792 - CRM_Core_Resources - Load civicrm.css through theme system
      
      CRM-18792 - Rename `CRM_Core_Theme` to `\Civi\Core\Theme`
      
      CRM-18792 - Civi\Core\Theme - Remove statics
      
      WIP
      
      CRM_Core_Resources::addCoreStyles - Revert change
      
      CRM-18792 - addStyleFile - Always pass through to theme. Support fallback.
      
      Rename `Civi\Core\Theme` to `Civi\Core\Themes`
      
      The class manages a list of themes -- not just a single theme.
      
      CRM-18792 - Add org.civicrm.demotheme
      
      CRM-18792 - Add uncommitted test files (`Civi\Core\Themes`)
      
      CRM-18792 - Fix regression in CRM_Core_ResourceTest
      
      CRM-18792 - Theme naming - Use prefix '_' for hidden themes
      
      This cleans up a few things:
      
       * Previously, there was a special case for using FALLBACK in `search_order`.
       * If you're creating a multitheme extension, you may want to define a base theme
         (which is extended by the others). Previously, you were required to show this
         base theme as a user-selectable option. Now, it can be hidden.
       * There was a bug where `resolveUrl()` would sometimes call the wrong callback.
         (It used resolver for `$active` instead of `$themeKey`.)
      
      CRM-18792 - Themes - File overrides and excludes should use same naming
      
      Previously, when using `addStyleFile($cssExt,$css$file)`, the file overrides
      and exlcudes would combine them differently e.g.
      
       * For `addStyleFile('civicrm','css/bootstrap.css')`
         * Override `css/bootstrap.css`
         * Exclude `civicrm:css/bootstrap.css`
       * For `('org.foo.bar','css/bang.css')`
         * Override `org.foo.bar-css/bang.css`
         * Exclude `org.foo.bar:css/bang.css`
      
      Now, they use the same notation:
      
       * For `addStyleFile('civicrm','css/bootstrap.css')`
         * Override `css/bootstrap.css`
         * Exclude `css/bootstrap.css`
       * For `('org.foo.bar','css/bang.css')`
         * Override `org.foo.bar-css/bang.css`
         * Exclude `org.foo.bar-css/bang.css`
      
      "Display Preferences" - Add the `theme_backend` and `theme_frontend` settings
      
      hook_civicrm_activeTheme - Allow extensions and CMS modules to choose active theme
      
      CRM_Utils_Hook::themes() - Tweak docblock
      
      Civi\Core\Themes - Move cache from `short` to `long`
      
      Remove tools/extensions/org.civicrm.demotheme
      
      Fix merge ahem errors
      d89d2545
  9. 14 Jun, 2019 5 commits
  10. 13 Jun, 2019 1 commit
    • eileen's avatar
      Fix test which fails when run in isolation. · 83481c78
      eileen authored
      There is a mystery contamination in our test suite somewhere where this test passes in a
      suite & not by itself - this fixes although the fact this passes when not alone is
      probably behind a few hard to find issues
      83481c78
  11. 12 Jun, 2019 4 commits
  12. 11 Jun, 2019 2 commits
  13. 10 Jun, 2019 4 commits