Alex Eagle
c6064a30a1
chore(package.json): make the packages installable
2016-05-27 17:21:34 -07:00
Martin Probst
040b101842
feat(security): complete DOM security schema.
...
This addresses several oversights in assigning security contexts to DOM schema
elements found by our security reviewers (thanks!).
This also adds some more precise unit tests for the interaction between
(Dom)ElementSchemaRegistry and the TemplateParser, and extracts the security
specific parts into dom_security_schema.ts.
Comparison of (potentially) dangerous property names is done case insensitive,
to avoid issues like formAction vs formaction.
Part of issue #8511 .
2016-05-27 11:47:33 -07:00
Alex Eagle
a78a43c816
chore(readme): add CircleCI status badge
2016-05-27 11:40:30 -07:00
Phong Huynh
ec198b0dc6
docs(MockConnection) add mockError usage example ( #8888 )
2016-05-27 10:10:53 -07:00
Alex Eagle
b5d14c26d2
chore(lint): enable requireInternalWithUnderscore tslint check
2016-05-27 09:31:18 -07:00
Alex Eagle
2019050db2
chore(lint): enable duplicateModuleImport tslint check
2016-05-27 09:17:08 -07:00
Alex Eagle
5f999225ba
chore(lint): upgrade tslint and its gulp plugin
2016-05-27 09:17:08 -07:00
Victor Berchet
307d105d2c
fix(DomRegistry): fix svg support
2016-05-26 16:46:00 -07:00
Alex Eagle
0b6967fd74
chore(lint): fix missing semicolon to make Circle green ( #8877 )
2016-05-26 16:43:15 -07:00
Alex Eagle
ef0c32512c
chore(lint): enable semicolon and variable-name tslint checks
2016-05-26 15:46:03 -07:00
Alex Eagle
9096481744
chore(lint): format tools dir
2016-05-26 15:46:03 -07:00
Alex Eagle
5936624d11
chore(lint): re-enable clang-format on tools/
2016-05-26 15:46:03 -07:00
Alex Eagle
83723671af
chore(lint): upgrade clang-format and gulp plugin
2016-05-26 15:46:03 -07:00
Victor Berchet
4d825dd9fd
refactor(intl facade): remove outdated code
2016-05-26 14:19:26 -07:00
Tobias Bosch
8e38291156
chore: enable the compiler_cli tests again.
...
Closes #8864
2016-05-26 13:33:26 -07:00
laco0416
f93512bf27
feat(ViewEncapsulation): default ViewEncapsulation to configurable
...
BREAKING CHANGES:
DirectiveNormalizer takes new constructor arguments, `config:CompilerConfig`.
Closes #7883
2016-05-26 13:23:37 -07:00
Suguru Inatomi
c3fafa0651
feat(change_detection): make INTERPOLATE_REGEXP customizable ( #7417 )
...
BREAKING CHANGES:
`Parser` constructor required new parameter `config: CompilerConfig` as second argument.
2016-05-26 13:08:39 -07:00
Andrii Nechytailov
9036f78b74
fix(compiler): throw an error if variable with the same name is already defined. ( #7209 )
...
* fix(compiler): throw an error if variable with the same name is already defined. Closes #6492
* fix(compiler): Clean up formatting for issue #6492
* fix(compiler): throw an error if reference with the same name is already defined.
Closes #6492
2016-05-26 13:04:17 -07:00
kurthong
263122ea5f
upgrade karma to v0.13.20 due to 'invalid characters in the headers on Node 5.6.0'( #1884 ) issue
...
Closes #7885
2016-05-26 12:12:35 -07:00
Andrei Tserakhau
324f0147f6
feat(common/datePipe): change date formatter to use correct pattern closes #7008 ( #8154 )
...
- add regular expression to parse date parts
- add date part creator function
- replace tokens in pattern to parsed parts
2016-05-26 12:06:29 -07:00
Jon
be48ba1b06
fix(ngRouteShim): update anchors to function similar to angular 1.x ( #8478 )
...
* fix(ngRouteShim): update anchors to function similar to angular 1.x when setting the target
* fix(ngRouteShim): update anchor target check to use indexOf instead of contains on array
2016-05-26 12:03:23 -07:00
Dimitrios Loukadakis
b2a7fd05cb
fix(router): replace state when path is equal to current path ( #8766 )
...
Same as 2bf21e1747
but for new router.
This also fixes an issue where when application loads it clears forward history
because Router constructor calls navigateByUrl which was causing a push state to happen.
2016-05-26 12:02:24 -07:00
Nicholas Hydock
84f859d7b2
fix(Control): Support <select multiple> with Control class ( #8069 )
2016-05-26 12:01:49 -07:00
Matthew Windwer
cbc8d0adf8
fix(upgrade): Ensure upgrade adapter works on angular.js 1.2 ( #8647 )
2016-05-26 11:58:47 -07:00
Anton Moiseev
420e83a396
feat(forms): add the submitted flag to NgForm and NgFormModel directives
...
Closes #2960
Closes #7449
2016-05-26 10:48:13 -07:00
Thierry Templier
89f61087c7
feat(http): implement Response.prototype.toString() to make for a nicer error message
...
Added a toString method to the Response class displaying status / status and
the URL of the request.
Closes: https://github.com/angular/http/issues/89
Closes #7511
2016-05-26 10:38:29 -07:00
Felix Itzenplitz
1dcb663917
readme: update badges
...
Closes #8853
2016-05-26 10:35:22 -07:00
Matt Wheatley
b7b56785d1
fix(Renderer): update signatures to make RenderDebugInfo optional
...
The code does not force the user to provider `RenderDebugInfo`. The
current implementation lists this as a mandatory parameter. Update
the parameter to be optional.
Fixes #8466
Closes #8859
2016-05-26 10:32:03 -07:00
Zach Bjornson
3a62023260
docs(LifecycleHooks): correct ngDoCheck description ( #8807 )
...
The current behavior is for ngDoCheck to supplement, not override, the default change detector. OnChanges will still be called when DoCheck is implemented (fixes #7307 ).
2016-05-26 10:27:42 -07:00
Dimitrios Loukadakis
fa2ce8100b
fix(router): openning links in new tab
...
Clicks on router-link should not prevent browser default action when
any mouse button other than left mouse button or ctrl/meta key is pressed.
router-link href should use location strategy external url.
Closes #5908
Closes #6806
Closes #7749
Closes #8806
Closes #8821
2016-05-26 10:26:57 -07:00
Victor Berchet
172a5663ef
feat(platform-browser-dynamic): re-add a deprecated platform-browser-dynamic
2016-05-26 10:22:39 -07:00
Victor Berchet
f4b972815b
fix(platform-browser): fix rollup config
2016-05-26 10:21:24 -07:00
Julie Ralph
0cb93a436d
fix(testing): add discardPeriodicTasks to be used with fakeAsync ( #8629 )
...
Closes #8616
2016-05-26 10:19:30 -07:00
Suguru Inatomi
b2e804c961
fix(metadata): Allow spacing in multiple selectors ( #7418 )
2016-05-26 10:18:31 -07:00
Igor Minar
85ce184197
refactor(compiler): remove obsolete code ( #8837 )
2016-05-26 10:15:47 -07:00
Victor Berchet
29c77df4be
fix(playground): fix WebWorker single_thread example
2016-05-26 09:58:40 -07:00
Aaron (Ron) Tsui
c39e0463a3
removes tailing slashes from url in lines 229 231
...
Closes #8718
2016-05-26 09:58:14 -07:00
Ajay Ambre
c27bc1956b
docs(API): correct formatting of EmbeddedViewRef API doc example ( #8584 )
...
remove ... from EmbeddedViewRef API example doc comments
2016-05-26 09:53:18 -07:00
Jonathan Miles
72707d80ab
refactor(api): Correct public api variable names ( #8552 )
...
Correct public api variable names (ROUTER_DEPRETACED_TESTING -> ROUTER_DEPRECATED_TESTING)
2016-05-26 09:52:56 -07:00
Julian Motz
f18356307b
chore: consistent badge shape ( #7053 )
2016-05-26 09:52:06 -07:00
Ivan Gabriele
00475f25c8
fix(doc): Add missing comma in example ( #8769 )
2016-05-26 09:50:59 -07:00
Vanga Sasidhar
bab6023eee
fix(router): Added pushState fallback for IE 9 browser.
...
Closes #6506
Closes #7929
2016-05-26 09:49:07 -07:00
Martin Probst
5e12a95789
test(security): test case for quoted URL values.
...
Test case that fixes #8701 . This is already supported with the latest sanitizer
changes, but it's good to have an explicit test case.
2016-05-26 09:39:23 -07:00
Rob Wormald
e5904f4089
fix(facade): change EventEmitter to be sync by default ( #8761 )
2016-05-26 09:34:04 -07:00
Wesley Cho
cf1122cf9e
chore(contributing): fix link to styleguide ( #8781 )
...
- Change to new link to Google's JavaScript style guide
2016-05-26 09:30:31 -07:00
Victor Berchet
6da79673c2
test(e2e): workaround flaky e2e tests
2016-05-25 17:52:30 -07:00
Victor Berchet
352ee53202
Revert "feat(AsyncPipe): allow onError argument"
...
This reverts commit 390046d7b3
.
CI fails for IE on win8.
PR #7990
2016-05-25 17:23:20 -07:00
Igor Minar
a20639558b
npm: invoke webdriver-manager update after install
2016-05-25 16:51:30 -07:00
Igor Minar
b9347eb01c
build: remove dependency on tsd and use @types/* instead
2016-05-25 16:42:28 -07:00
Igor Minar
4dbd8ed6b8
refactor: remove unnecessary annotations
2016-05-25 16:42:28 -07:00