1. 29 Mar, 2019 1 commit
  2. 22 Jun, 2017 1 commit
    • totten's avatar
      CRM-20756 - Add Angular `ui.bootstrap` library · e88c001e
      totten authored
      This adds the library
      [ui.bootstrap](https://angular-ui.github.io/bootstrap/), which makes it
      easier to include the functional elements of Bootstrap in AngularJS pages.
      In the past, adding this was problematic, but now the situation has
      1.  civicrm-core has upgraded to AngularJS 1.5.  (In the past, civicrm-core
      used AngularJS 1.3, which was incompatible.)
      2.  civicrm-core allows optional AngularJS modules.  (In the past, all
      modules were loaded unconditionally, which could result in loading
      new/unnecessary code for legacy users.  Now, you can opt-out of this
      behavior with `basePages=>array()`.)
  3. 17 Jun, 2017 2 commits
    • totten's avatar
      CRM-20600 - Angular deps - Move from *.js to *.php · 0b199194
      totten authored
      If third-parties are allowed to alter the HTML content, then they may
      introduce new dependencies.  This means that they'll need to delcare those
      This commit actually moves the declarations for any in-house modules to PHP.
    • totten's avatar
      CRM-20600 - Move Angular metadata to civix-style files · 8456e727
      totten authored
      This PR moves the metadata about Angular modules out of Civi\Angular\Manager
      and into standalone files (`ang/*.ang.php`).  This uses the same structure
      as `civix`.  Also, this makes it easier to navigate between the
      JS/HTML/CSS/PHP content.
      To test that these changes were safe, I ran the following command before and
      after this commit:
      $ cv ev 'var_dump(Civi::service("angular")->getModules());'
      The results were substantively identical.