Skip to content
Permalink
Branch: v1.2.x
Commits on Dec 7, 2016
  1. test($log): fix up to work with IE8

    gkalpak committed Dec 7, 2016
  2. test($log): fix up to work with Safari 9

    petebacondarwin authored and gkalpak committed Jan 14, 2016
    On Safari 9.0.2, you are not allowed to write to `sourceUrl` or `line`
    on a native Error object.
    
    This commit uses a custom error instead.
Commits on Oct 11, 2016
  1. docs(CHANGELOG): add 1.2.32 release notes

    petebacondarwin committed Oct 11, 2016
  2. fix($compile): ensure that hidden input values are correct after hist…

    petebacondarwin committed Oct 11, 2016
    …ory.back
    
    Due to the nature of some browser's PageCache/BFCache, returning to an Angular
    app sometimes causes `input[hidden]` elements to retain the last value
    that was stored before the page was navigated away from previously.
    
    This is particularly problematic if the input has an interpolated value.
    E.g. `<input type="hidden" value="{{ 1 + 2 }}">` since when the browser
    returns, instead of the original interpolation template, the HTML contains
    the previous value `<input type="hidden" value="3">`.
    
    This commit instructs the browser not to attempt to reinstate the previous
    value when navigating back in history by setting `autocomplete="off"` on
    the hidden input element element.
  3. revert:fix(input): ensure that hidden input values are correct after …

    petebacondarwin committed Oct 11, 2016
    …history.back
    
    This reverts commit 7ec663f.
    There was a regression against angular-material that relied upon the input directive.
  4. chore(bower): fix up URL to closure compiler

    petebacondarwin committed Oct 11, 2016
Commits on Oct 10, 2016
  1. docs(CHANGELOG): update with 1.2.30 and 1.2.31 changes

    petebacondarwin committed Oct 10, 2016
  2. fix(input): ensure that hidden input values are correct after history…

    petebacondarwin committed Oct 7, 2016
    ….back
    
    Due to the nature of some browser's PageCache/BFCache, returning to an Angular
    app sometimes causes `input[hidden]` elements to retain the last value
    that was stored before the page was navigated away from previously.
    
    This is particularly problematic if the input has an interpolated value.
    E.g. `<input type="hidden" value="{{ 1 + 2 }}">` since when the browser
    returns, instead of the original interpolation template, the HTML contains
    the previous value `<input type="hidden" value="3">`.
    
    This commit instructs the browser not to attempt to reinstate the previous
    value when navigating back in history by setting `autocomplete="off"` on
    the hidden input element element.
Commits on Jul 20, 2016
  1. fix($compile): detect `<a>` elements inside `<svg>`

    gkalpak committed Jul 20, 2016
  2. fix($compile): properly sanitize xlink:href attribute interoplation

    IgorMinar authored and gkalpak committed Aug 11, 2015
    Closes #12524
  3. fix($compile): secure `link[href]` as a `RESOURCE_URL`s in `$sce`.

    rjamet authored and gkalpak committed May 27, 2016
    User-controlled imports or stylesheets can run script in your origin,
    which warrants that we require that they are safe `RESOURCE_URL`s.
    
    Closes #14687
    
    BREAKING CHANGE
    
    `link[href]` attributes are now protected via `$sce`, which prevents interpolated
    values that fail the `RESOURCE_URL` context tests from being used in interpolation.
    
    For example if the application is running at `https://docs.angularjs.org` then the
    following will fail:
    
    ```
    <link href="{{ 'http://mydomain.org/unsafe.css' }}" rel="stylesheet">
    ```
    
    By default, `RESOURCE_URL` safe URLs are only allowed from the same domain and protocol
    as the application document.
    
    To use URLs from other domains and/or protocols, you may either whitelist them or
    wrap it into a trusted value by calling `$sce.trustAsResourceUrl(url)`.
Commits on Jul 13, 2016
  1. chore(ci): update Safari to v8

    gkalpak committed Jul 13, 2016
  2. fix($sanitize): blacklist the attribute `usemap` as it can be used as…

    gkalpak committed Jul 12, 2016
    … a security exploit
    
    Backport of 234053f.
    
    Closes #14903
    
    BREAKING CHANGE:
    
    The `$sanitize` service will now remove instances of the `usemap` attribute from any elements passed
    to it.
    
    This attribute is used to reference another element by `name` or `id`. Since the `name` and `id`
    attributes are already blacklisted, a sanitized `usemap` attribute could only reference unsanitized
    content, which is a security risk.
Commits on Jan 5, 2016
  1. fix(ngAnimate): do not use event.timeStamp anymore for time tracking

    matsko authored and petebacondarwin committed Dec 10, 2015
    Due to recent changes in Chrome, Firefox and Webkit use of the
    event.timeStamp value will lead to unpredictable behaviour due to
    precision changes. Therefore it's best to stick entirely to use
    `Date.now()` when it comes to confirming the end of transition-
    ending values. See #13494 for more info.
    
    Applies to 1.2, 1.3, 1.4 and 1.5.
    
    Closes #13494
    Closes #13495
Commits on Dec 17, 2015
  1. chore(Gruntfile): replace double quotes with single quotes

    petebacondarwin committed Dec 17, 2015
  2. chore(GruntFile): fix whitespace in lists

    petebacondarwin committed Dec 17, 2015
  3. chore(GruntFile): move `validate-angular-files` task into its own file

    petebacondarwin committed Dec 17, 2015
    Closes #13569
  4. chore(build): add a validation step for angularFiles

    matsko authored and petebacondarwin committed Dec 15, 2015
    Closes #13553
  5. chore(angularFiles): add documentation only file to list of files

    petebacondarwin committed Dec 17, 2015
    This prevents errors when checking `validate-angular-files`
  6. chore(npm-shrinkwrap): install glob package

    petebacondarwin committed Dec 17, 2015
  7. chore(jenkins): remove unused argument definition

    petebacondarwin committed Dec 17, 2015
  8. chore(jenkins): run Jenkins builds on Node 4 (via nvm)

    petebacondarwin committed Dec 17, 2015
    Closes #13568
Commits on Dec 16, 2015
  1. chore(travis): update to use node 4.x

    petebacondarwin committed Dec 16, 2015
  2. chore(travis): add a new job that runs ci-checks

    Narretz authored and petebacondarwin committed Dec 11, 2015
    Previously, ddescribe, merge-conflicts, jshint, and jscs would run
    after unit & e2e tests ran. The order was orginally changed as part of
    #9792.
    
    While the logic is sound that style errors shouldn't block tests from
    running, ddescribe should always run. This was not guaraneteed; when
    Travis exits with a warning after some browsers have run, ddescribe
    doesn't get run and it doesn't become apparent that not
    all tests have run.
    
    Additionally, a separate job clearly separates style from test errors,
    which e.g. means you can open a PR that includes an iit to speed up
    the job, and see immediately if the test passes, because the ddescribe
    error is in another job.
Commits on Sep 29, 2015
  1. chore(CHANGELOG): update with changes for 1.2.29

    matsko committed Sep 29, 2015
Commits on Sep 23, 2015
  1. build(travis): fix typo in a comment

    IgorMinar committed Sep 23, 2015
  2. build(travis): gracefully shut down the sauce connect tunnel after th…

    IgorMinar committed Sep 23, 2015
    …e tests are done running
    
    This is to prevent sauce connect tunnel leaks.
    
    Closes #12921
Commits on Sep 20, 2015
  1. style(test): fix style in one test

    lgalfaso committed Sep 20, 2015
  2. test($parse): fix test for IE

    lgalfaso committed Sep 20, 2015
  3. fix($parse): do not convert to string computed properties multiple times

    lgalfaso committed Sep 19, 2015
    Do not convert to string properties multiple times.
Commits on Sep 17, 2015
  1. chore(travis): upgrade CI builds to latest

    petebacondarwin committed Sep 17, 2015
  2. test(privateMocks): fix for the latest version of Safari

    petebacondarwin committed Jan 19, 2015
Commits on Sep 16, 2015
  1. chore(bower/publish): move DIST_TAG so that it gets the correct value

    petebacondarwin committed Sep 16, 2015
    In the position that DIST_TAG was being assigned it was trying to get the
    `distTag` value from the wrong (i.e. a bower-...) repository.
Older
You can’t perform that action at this time.