fe962f6de7
fix(aio): LocationService urls should never start with a slash
...
There is a weirdness in the Angular Location service.
If the `baseHref` is only a single slash (`'/'`) then it
changes it to be an empty string (`''`). The effect of this
is that `Location.normaliseUrl(url)` does not strip off the
leading slash from url paths.
The problem is that the leading slash only appears on the
initial Location path, and not on urls that arrive from subscribing
to the Location service.
This commit is a workaround this problem.
2017-03-06 22:27:32 -08:00
04e14589c4
docs(aio): make home doc the default home page
...
Now the `/` url will display the home page.
Closes #14849
2017-03-06 22:27:32 -08:00
d6c1ccaf14
fix(aio): emit a hard-coded doc if file-not-found fails
...
Closes #14848
2017-03-06 22:27:32 -08:00
4abd6f333c
fix(aio): map the empty url to the correct doc path
2017-03-06 22:27:32 -08:00
dd50922747
refactor(aio): move document path computation
...
Do the path computation before doing the cache look up.
2017-03-06 22:27:32 -08:00
66cc88c8a8
fix(aio): ensure that only one request per document is made
2017-03-06 22:27:32 -08:00
b44bc9c022
test(aio): add mock services
2017-03-06 22:27:32 -08:00
b7e76cc2e1
ci: re-enable publishing master artifacts ( #14973 )
2017-03-06 18:03:38 -08:00
3651d8d673
fix: throw for synthetic properties / listeners by default ( #14880 )
...
This allows to detect the case that the animation module is not loaded.
2017-03-06 17:15:08 -08:00
ba4b6f58d9
fix(core): allow to use the Renderer
outside of views. ( #14882 )
...
Fixes #14872
2017-03-06 17:08:22 -08:00
6cd3326b55
fix(compiler): don’t throw for empty array literal in assignments ( #14878 )
...
Closes #14782
2017-03-06 17:01:45 -08:00
6bc6482765
fix(compiler): improve error message when a module imports itself ( #14646 )
...
Closes #14644
2017-03-06 17:00:25 -08:00
f2adb2900d
refactor: remove the symlink hack from tsc-wrapped ( #14837 )
2017-03-06 15:22:33 -08:00
8343fb7740
refactor: remove lang.ts ( #14837 )
2017-03-06 15:22:29 -08:00
84a65cf788
refactor: remove global
from facade/lang ( #14837 )
2017-03-06 15:22:22 -08:00
b0e0839075
refactor: remove facade/collection ( #14837 )
2017-03-06 15:22:14 -08:00
4fe0b90948
refactor: remove facade/browser ( #14837 )
2017-03-06 15:22:06 -08:00
928c5657c8
refactor: remove EventEmitter from facade ( #14837 )
...
As of right now each module has its own copy of the EventEmitter
contributing to bloat.
2017-03-06 15:21:39 -08:00
728fe472f8
ci: replace '| head -n1' with 'git log -1' due to broken pipe breaking -o pipefail
2017-03-05 11:53:45 -08:00
32990307fe
ci: turn on bash xtrace in publish-build-artifacts.sh to debug deploy failure on master
2017-03-05 11:43:25 -08:00
00fdcf4e58
build: allow check-environment.js to be run directly
2017-03-05 08:41:26 -08:00
ab0db66bf7
build(aio): move gulp tasks to package.json
...
Generate the docs with `yarn docs`.
Test the doc generation code with `yarn docs-test`
The docs are automatically built as part of the `yarn build` task,
so there is no need to rebuild them in the test_aio.sh file
2017-03-05 08:41:26 -08:00
8757656508
build(aio): upgrade to angular 4.0.0-rc.2
2017-03-05 08:41:26 -08:00
01ff427685
test(aio): reimplemented all the commented-out unit tests
2017-03-05 08:41:26 -08:00
2ebfa2ff31
test(aio): add placeholder test descriptions
2017-03-05 08:41:26 -08:00
b09ee424bf
refactor(aio): reorganize search service for easier testing
2017-03-05 08:41:26 -08:00
b8321e2f7d
ci: add comment and remove debugging printenv statement
2017-03-05 08:12:55 -08:00
b8f0c3dc7b
ci: redo how env variables are set and shared in ci to prevent collisions
2017-03-05 08:03:38 -08:00
91fe3aadbc
ci: delete obsolete files and move scripts/ci-lite/ to scripts/ci/
2017-03-05 08:03:38 -08:00
a24e652f2b
ci: clean up CI logging, folding, add build time logging, and improve error handling ( #14425 )
2017-03-02 00:22:24 -08:00
207298cd3a
build(aio): generate marketing docs JSON files
2017-03-02 00:21:06 -08:00
62eafa4eec
test(aio): fix up links in app e2e test
2017-03-02 00:21:06 -08:00
4626ca2bff
build(aio): add file-not-found doc
2017-03-02 00:21:06 -08:00
38bb744008
fix(aio): remove external HTML and SCSS from app component
2017-03-02 00:21:06 -08:00
dca83ec738
feat(aio): add search service and search UI
2017-03-02 00:21:06 -08:00
71e22b8d11
feat(aio): implement doc and navigation UI
2017-03-02 00:21:06 -08:00
371dc4744c
feat(aio): add navigation service
2017-03-02 00:21:06 -08:00
4767f107fb
feat(aio): add logger service
2017-03-02 00:21:06 -08:00
5ae4b77d8b
feat(aio): add document service
2017-03-02 00:21:06 -08:00
887d32a9bf
feat(aio): add location service
2017-03-02 00:21:06 -08:00
3883b736c0
build(aio): content documents should have a contents
field
2017-03-02 00:21:06 -08:00
c2e672cd1c
docs(aio): add NOTES
2017-03-02 00:21:06 -08:00
93c0ab7131
fix(aio): remove previous files
2017-03-02 00:21:06 -08:00
e6e8123bdd
build: update to yarn 0.21.3 ( #14805 )
2017-03-01 23:58:05 -08:00
49aa50886a
docs: add 2.4.9 release notes
2017-03-01 23:22:56 -08:00
180b705227
release: cut the 4.0.0-rc.2 release
4.0.0-rc.2
2017-03-01 22:46:11 -08:00
0f94b93c81
docs: add changelog for 4.0.0-rc.2
2017-03-01 22:44:18 -08:00
de57b2d9fd
docs: update 2.4.9 release schedule
2017-03-01 22:43:38 -08:00
9560ad81b9
fix(animations): make animations work in AOT ( #14775 )
2017-03-01 17:13:06 -08:00
3168ef75da
build: fix secondary entry point es5 output and core Rx references ( #14820 )
...
Secondary entry points (testing, static, etc) are rolled up into a
single ESM/ES2015 file, then downleveled to ESM/ES2015. This downleveling
was not working and was producing ESM/ES2015. Also, the @angular/core
package's .babelrc file was missing reference to Rx Observable which
broke the UMD bundle.
Fixes #14730
2017-03-01 15:59:09 -08:00