Zhicheng Wang
0eaf9156de
fix: use new translation logic
2017-08-06 13:37:25 +08:00
Zhicheng Wang
4c2b0b51b7
fix: some untranslated english
2017-08-06 13:23:56 +08:00
Zhicheng Wang
3a584ba96c
fix: some untranslated english
2017-08-06 13:21:34 +08:00
Zhicheng Wang
477be082fb
fix: minor improvement
2017-08-06 08:06:53 +08:00
Zhicheng Wang
019cd2e09c
fix: minor improvement
2017-08-06 08:05:08 +08:00
Zhicheng Wang
91774ac411
fix: content and toc is overlapped
2017-08-06 07:39:26 +08:00
Zhicheng Wang
446b0be846
fix: minor improvement
2017-08-05 23:51:25 +08:00
Zhicheng Wang
e7692d9e6f
fix: translated language service
2017-08-05 23:49:55 +08:00
Zhicheng Wang
8d21900eb9
fix: minor improvement
2017-08-05 22:56:57 +08:00
Zhicheng Wang
2f17cb46c5
fix: missing break lines
2017-08-05 22:47:21 +08:00
Zhicheng Wang
2e97123611
fix: minor issue
2017-08-05 22:41:26 +08:00
Zhicheng Wang
36206ac2cf
fix: minor issue
2017-08-05 22:40:17 +08:00
Zhicheng Wang
1de1da605b
fix: translated http-client
2017-08-05 22:32:31 +08:00
Zhicheng Wang
5834211133
fix: a minor mistake ( #235 )
2017-08-05 18:02:40 +08:00
Zhicheng Wang
a2cb8b052b
fix: translated the rest of visual studio 2015
2017-08-05 13:41:29 +08:00
Zhicheng Wang
ab47b12f52
fix: translated the rest of i18n
2017-08-05 13:23:14 +08:00
Zhicheng Wang
160306833c
fix: translated the rest of template-syntax
2017-08-05 12:47:14 +08:00
Zhicheng Wang
b0d988c38f
fix: translated the rest of router and structural-directives
2017-08-05 09:41:33 +08:00
Zhicheng Wang
87bc1f6c7a
fix: minor improvement
2017-08-05 08:15:43 +08:00
Zhicheng Wang
003cf81d33
fix: minor improvement
2017-08-05 08:04:16 +08:00
Peter Bacon Darwin
10897d6473
ci(aio): compute AIO deployment mode
...
There are now 3 modes for deployment: next, stable, archive.
We compute which mode (and other deployment properties)
from the `TRAVIS_BRANCH` and the `STABLE_BRANCH`.
If the TRAVIS_BRANCH is master we deploy as "next".
If the `TRAVIS_BRANCH` matches the `STABLE_BRANCH` we deploy as "stable".
Otherwise if the branch has a major version lower than the stable version
and its minor version is highest of similar branches we deploy as "archive".
For "archive" deployments we compute the firebase project and deployment
url based on the major version of the `TRAVIS_BRANCH`.
As well as choosing where to deploy the build, we also use this
to select the environment file for the AIO Angular app.
This will enable the app to change its rendering and behaviour
based on its mode.
See #18287
Closes #18297
2017-08-04 09:14:18 -07:00
Peter Bacon Darwin
340837aa46
feat(aio): add "archive" and "next" color themes
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
42ef1be75c
feat(aio): redirect marketing pages to `docs` if deploy mode is `archive`
...
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
a5801b6020
feat(aio): add deploy mode to version picker
...
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
70b62949de
feat(aio): enable deployment mode to be set via URL query
...
The deployment mode set from the environment provided at build time;
or overridden by the `mode` query parameter: e.g. `...?mode=archive`
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
36161d99f6
feat(aio): update UI based on deployment mode
...
* Add a banner if the mode is "archive"
* Add a `mode-...` class to the `aio-shell` element to enable
mode based theming.
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
0714139e37
ci(aio): include extra files in AIO deployment based on mode
...
Any files that are inside the `extra-files/{mode}` folder
will be copied over to the `dist` folder before deployment
to Firebase.
See #18287
2017-08-04 09:13:34 -07:00
Peter Bacon Darwin
bcb36d9b6d
ci(aio): compute AIO deployment mode
...
There are now 3 modes for deployment: next, stable, archive.
We compute which mode (and other deployment properties)
from the `TRAVIS_BRANCH` and the `STABLE_BRANCH`.
If the TRAVIS_BRANCH is master we deploy as "next".
Otherwise if the branch is the highest of its minor versions
we deploy as "stable" if the `TRAVIS_BRANCH` matches the `STABLE_BRANCH` or
else "archive".
For "archive" deployments we compute the firebase project and deployment
url based on the major version of the `TRAVIS_BRANCH`.
As well as choosing where to deploy the build, we also use this
to select the environment file for the AIO Angular app.
This will enable the app to change its rendering and behaviour
based on its mode.
See #18287
2017-08-04 09:13:34 -07:00
Zhicheng Wang
0ddf72745e
fix: translate all pure english titles
2017-08-04 14:06:15 +08:00
Zhicheng Wang
41c73556e6
fix: minor improvement
2017-08-04 13:27:54 +08:00
Zhicheng Wang
d4e2492441
fix: minor improvement
2017-08-04 09:52:10 +08:00
Zhicheng Wang
bb2082d016
fix: add line break before all figure
2017-08-04 09:27:48 +08:00
Zhicheng Wang
cfcd532b2f
fix: a back to top link
2017-08-04 09:10:22 +08:00
Zhicheng Wang
96f0fcaf49
fix: missed quick start in navigation
2017-08-04 09:09:01 +08:00
Zhicheng Wang
cc33798597
fix: same examples
2017-08-04 08:58:13 +08:00
Zhicheng Wang
19088b76f8
fix: translate more
2017-08-04 08:47:51 +08:00
Zhicheng Wang
75ac1cd5ce
fix: add line break before `<code-example...`
2017-08-04 07:39:15 +08:00
Kapunahele Wong
9b015a95eb
docs(aio): tech edits to form validation
...
closes #18495
2017-08-03 13:57:31 -07:00
Kara Erickson
939dc44391
docs(forms): update and re-organize validation guide
2017-08-03 13:56:53 -07:00
Zhicheng Wang
ed873203b5
fix: missing links
2017-08-03 15:53:45 +08:00
Zhicheng Wang
9f7ff05165
fix: merge the cli-quickstart from history
2017-08-03 15:47:54 +08:00
Zhicheng Wang
8f950c26f2
fix: change v2's link to v2.angular.cn
2017-08-03 15:30:35 +08:00
George Kalpakas
44ae6e94e3
fix(aio): fix layout of the webpack guide ( #18493 )
...
This is possibly a temporary fix for the layout, until we decide whether we want
to remove the guide or properly add it to the SideNav menu.
Fixes #17912
2017-08-02 16:00:36 -07:00
tinayuangao
1635a06bda
ci(aio): Add commit message to payload data ( #18137 )
2017-08-02 15:59:20 -07:00
David Brooks
3923c30df0
docs(aio): fix missing anchor-open in i18n documentation ( #18476 )
...
The Internationalisation documentation, "Translate text nodes" section, has an incomplete
markdown anchor, and leaks markdown into the page. Fix the anchor by adding the opening bracket.
2017-08-02 15:56:01 -07:00
George Kalpakas
99017bf3ff
fix(aio): correctly redirect `cookbook/a1-a2-quick-reference.html` ( #18418 )
...
Fixes #18415
2017-08-02 15:54:22 -07:00
Øystein Lygre
5cc9913ded
docs(aio): replace old blog link in footer ( #18448 )
...
Fixes #18233
2017-08-02 15:45:54 -07:00
Filipe Silva
9adf40aa77
build(aio): use cli 1.3.0-rc ( #18290 )
2017-08-02 15:37:03 -07:00
Zhicheng Wang
2a0c436347
fix: translate more
...
fix: a NPE
2017-08-01 13:05:28 +08:00
Georgios Kalpakas
cc2a4c41f9
build(aio): fix warning about missing `<h1>`
...
Fixes #17549
2017-07-31 13:40:07 -07:00
chumtoadafuq
a11542a375
docs(aio): fixed list format in FormArray section
2017-07-31 11:31:05 -07:00
Zhicheng Wang
92a739099d
fix: a NPE
2017-07-31 09:29:32 +08:00
Zhicheng Wang
b17f64b14d
fix: a missing anchor link
2017-07-31 08:48:00 +08:00
Zhicheng Wang
6d88fa2342
fix: all "back to top" links
2017-07-30 22:18:19 +08:00
Zhicheng Wang
bbe6ac9014
clean: remove unused files
2017-07-30 17:49:45 +08:00
Zhicheng Wang
1ec5c6a82f
fix: minor improvements
2017-07-30 17:40:53 +08:00
Zhicheng Wang
4a4b009662
fix: typo
2017-07-30 17:13:46 +08:00
Zhicheng Wang
02b79f900f
fix: minor improvement
2017-07-30 17:04:14 +08:00
Zhicheng Wang
f2a9db82c0
fix: translate more content
2017-07-30 16:52:20 +08:00
Zhicheng Wang
855dc19bdd
fix: replace gaId with angular.cn's
2017-07-30 16:23:40 +08:00
Zhicheng Wang
f7b656443d
fix: limit tagName to whole world
2017-07-30 16:23:26 +08:00
Zhicheng Wang
2c9e783817
fix: translate homepage.
2017-07-30 14:29:26 +08:00
Zhicheng Wang
3fe722490a
fix: don't hide translation-origin if there is not translation-result
...
fix: translate more.
2017-07-30 14:10:08 +08:00
Zhicheng Wang
747ea2a287
fix: retranslate navigation
2017-07-30 13:35:27 +08:00
Zhicheng Wang
828528dade
fix: "覆盖" -> "涵盖"
2017-07-30 12:43:20 +08:00
Zhicheng Wang
c002fddabe
fix: many of broken links
2017-07-30 12:32:56 +08:00
Zhicheng Wang
f2059b445c
Merge remote-tracking branch 'en/master' into aio
...
# Conflicts:
# aio/content/guide/ajs-quick-reference.md
# aio/content/guide/animations.md
# aio/content/guide/aot-compiler.md
# aio/content/guide/architecture.md
# aio/content/guide/attribute-directives.md
# aio/content/guide/bootstrapping.md
# aio/content/guide/browser-support.md
# aio/content/guide/cb-index.md
# aio/content/guide/change-log.md
# aio/content/guide/cheatsheet.md
# aio/content/guide/cli-quickstart.md
# aio/content/guide/component-interaction.md
# aio/content/guide/component-styles.md
# aio/content/guide/dependency-injection-in-action.md
# aio/content/guide/dependency-injection.md
# aio/content/guide/deployment.md
# aio/content/guide/displaying-data.md
# aio/content/guide/dynamic-component-loader.md
# aio/content/guide/dynamic-form.md
# aio/content/guide/form-validation.md
# aio/content/guide/forms.md
# aio/content/guide/glossary.md
# aio/content/guide/hierarchical-dependency-injection.md
# aio/content/guide/i18n.md
# aio/content/guide/index.md
# aio/content/guide/learning-angular.md
# aio/content/guide/lifecycle-hooks.md
# aio/content/guide/ngmodule-faq.md
# aio/content/guide/ngmodule.md
# aio/content/guide/npm-packages.md
# aio/content/guide/pipes.md
# aio/content/guide/quickstart.md
# aio/content/guide/reactive-forms.md
# aio/content/guide/router.md
# aio/content/guide/security.md
# aio/content/guide/server-communication.md
# aio/content/guide/set-document-title.md
# aio/content/guide/setup-systemjs-anatomy.md
# aio/content/guide/setup.md
# aio/content/guide/structural-directives.md
# aio/content/guide/styleguide.md
# aio/content/guide/template-syntax.md
# aio/content/guide/testing.md
# aio/content/guide/ts-to-js.md
# aio/content/guide/typescript-configuration.md
# aio/content/guide/upgrade.md
# aio/content/guide/user-input.md
# aio/content/guide/visual-studio-2015.md
# aio/content/guide/webpack.md
# aio/content/navigation.json
# aio/content/tutorial/index.md
# aio/content/tutorial/toh-pt1.md
# aio/content/tutorial/toh-pt2.md
# aio/content/tutorial/toh-pt3.md
# aio/content/tutorial/toh-pt4.md
# aio/content/tutorial/toh-pt5.md
# aio/content/tutorial/toh-pt6.md
# aio/package.json
# aio/src/styles/main.scss
# aio/transforms/angular.io-package/index.js
2017-07-30 00:09:50 +08:00
Zhicheng Wang
9db14beb5d
feat: add documents of "About Chinese version"
2017-07-29 13:42:14 +08:00
Zhicheng Wang
d8b6bdfdb5
fix: minor improvements
2017-07-29 12:59:50 +08:00
Zhicheng Wang
7a43296e99
fix: a broken link
2017-07-29 07:58:01 +08:00
Zhicheng Wang
a5fc2f430c
feat: add translator
2017-07-29 07:56:17 +08:00
Georgios Kalpakas
d71ae278ef
fix(aio): fix links to source for paths with symlinks
...
Fixes #18353
2017-07-28 15:28:59 -07:00
Peter Bacon Darwin
71eb7437b6
docs(aio): delay ngUpgrade e2e test to avoid flakes
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
0f79223008
docs(aio): fix deprecated protractor API usage
...
`browser.getLocationAbsUrl()` is deprecated.
We should use `browser.getCurrentUrl()` instead.
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
a085223331
ci(aio): test the example e2e files using local build of Angular
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
c383048259
build(aio): ignore generated aot files
...
Assets such as images and data which are generated
by the aot build were not being ignored.
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
b18eb04b46
docs(aio): remove generated styles.css file
...
This file should have been ignored as it is created
during the build of the example
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
c8c2ab012a
build(aio): support overriding the Angular packages in examples with locally built ones
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
ecff8e6c93
build(aio): refactor and test the example-boilerplate tool
2017-07-28 15:28:28 -07:00
Peter Bacon Darwin
a5e18c4cdf
ci(aio): support sharding of example e2e tests
2017-07-28 15:28:28 -07:00
Georgios Kalpakas
cf6284656f
build(aio): upgrade `@angular/material` to 2.0.0-meta.8
2017-07-28 15:26:45 -07:00
Georgios Kalpakas
3182ddaf3e
build(aio): upgrade `@angular/*` to 4.3.1
2017-07-28 15:26:45 -07:00
Antoine Mary
416ed691e5
docs(aio): fix URLSearchParams interface link to MDN
...
Fixes #18367
2017-07-28 15:26:04 -07:00
Georgios Kalpakas
0fb7484d51
refactor(aio): move content-specific images to `content/images/`
...
Fixes #17053
2017-07-28 15:06:49 -07:00
Georgios Kalpakas
6a3454e81e
refactor(aio): rename `unused` directories to `_unused`
2017-07-28 15:06:49 -07:00
Georgios Kalpakas
c3fbe87012
fix(aio): fix link to logo in example
2017-07-28 15:06:49 -07:00
Georgios Kalpakas
24117d7a49
refactor(aio): move unused images to `unused` directories
...
This prevents the ServiceWorker from prefetching unnecessary files.
2017-07-28 15:06:49 -07:00
Gerard Sans
5152abb037
docs(aio): add my details as a contributor ( #18315 )
...
PR Close #18315
2017-07-26 17:11:07 -05:00
Georgios Kalpakas
67f7032321
fix(aio): correctly process markdown link in "Browser Support" ( #18349 )
...
The markdown processor expects an empty line between an opening tag and the
markdown content. (If there is no empty line, the content is interpreted as
plain HTML.)
Previously, the line between the opening `<td>` and the content contained
whitespace, which caused the content to be interpreted as HTML and not markdown.
Fixes #18312
PR Close #18349
2017-07-26 16:07:26 -05:00
Zhicheng Wang
a529ec5a81
feat: translated the nav menu
2017-07-26 10:33:52 +08:00
Jesus Rodriguez
b582e2b311
docs(aio): update examples to 4.3
2017-07-25 15:32:38 -07:00
Gabriel Nicolas Avellaneda
91ab39cc55
docs(aio) - Fixed link to the glossary dash-case term ( #18311 )
...
PR Close #18311
2017-07-25 15:59:28 -05:00
Filipe Silva
8bcb268140
ci: use chrome stable ( #18307 )
2017-07-25 11:18:24 -07:00
Zhicheng Wang
4c57f76ce6
feat: (WIP) translate some nav menus
2017-07-25 17:25:12 +08:00
Zhicheng Wang
323010a135
chore(temp): disable check-env to make ci happy
2017-07-23 23:43:19 +08:00
Zhicheng Wang
2f2ca31a62
chore: add script for setup
2017-07-23 22:53:31 +08:00
Zhicheng Wang
20a55c54ed
docs(aio): merge latest chinese translations
2017-07-23 11:51:25 +08:00
Jeremy Elbourn
1bfc77bf8c
docs(aio): pngcrush all pngs ( #18243 )
...
PR Close #18243
2017-07-20 17:47:06 -05:00
Yuan Gao
15a3e2d307
ci(aio): fix aio payload script
2017-07-20 15:32:32 -07:00
Pete Bacon Darwin
4cd4f7a208
aio: debounce search and delay index building ( #18134 )
...
* feat(aio): debounce search requests
* feat(aio): delay loading search worker and index
2017-07-20 09:51:40 -07:00
Kevin Cooper
8d2819121b
fix(aio): invalid formatting in architecure.md ( #18159 )
...
Introduced in e110a80caf (diff-9ac9c6a9277eea9856d75249a7c0a40aL127)
2017-07-20 09:48:02 -07:00
daydr3am
073e8ba2f2
docs(aio): replace old blog link ( #18252 )
...
Fixes #18233
* Docs(aio): Replaced old blog link Now with the Link to the new Angular.io Blog
* Removed double braces
2017-07-20 09:45:14 -07:00
matt24ray
c6cf678a07
docs(aio): Fixed typo with closing div
2017-07-20 09:38:28 -07:00
Stepan Suvorov
31cb418370
docs(aio): Fix http guide
2017-07-20 09:35:27 -07:00
Thanesh Rajandran
410f21c75c
docs(aio): fix typo in NgModule FAQs ( #18211 )
...
Fix #18133 . Fix typo 'added' to 'add' in the 'Why does lazy loading create a child injector' section.
2017-07-20 09:07:30 -07:00
Nicola Sanitate
9208f0beea
docs(aio): fix typo in Router documentation
...
Fix title and link to RouteConfigLoadEnd documentation
2017-07-19 15:01:50 +01:00
Scotty Waggoner
256bc8acdd
docs(http): Make name of injected HttpTestingController consistent
2017-07-18 10:35:56 -07:00
Jesse Palmer
3b588fe2b0
docs: fix typo
2017-07-18 10:11:55 -07:00
Alexey Toksarov
2a2fe11e8d
docs(aio): fix HttpClient setting new header sample
2017-07-18 10:02:27 -07:00
Peter Bacon Darwin
7d0f2cd51e
fix(aio): remove title attribute from `CodeExampleComponent`
...
This was causing browser to add an unwanted tooltip that appeared
when the user hovers over the code.
See #17524
2017-07-18 17:55:28 +01:00
WilliamKoza
36faba1aab
fix(aio): add quote to module
2017-07-18 17:48:04 +01:00
Georgios Kalpakas
92179bcc64
fix(aio): do not wrap `<code-tabs>` tab labels
...
Fixes #17751
2017-07-18 17:43:59 +01:00
Peter Bacon Darwin
cdb069ab0e
docs(aio): fix cheatsheet layout for narrow screens
...
* Tell the app that this will have no Table of Contents, since we have no
h2 headings anyway.
* Remove all the `nbsp;` from the code since that doesn't help with layout
* Remove side padding from sidenav-content when screen is narrow
* Restyle the cheatsheet table when the screen is narrow
2017-07-18 17:32:43 +01:00
Peter Bacon Darwin
c453b7bcfa
build(aio): fail doc-gen if referenced images are missing
2017-07-18 11:45:05 +01:00
Peter Bacon Darwin
9d97163c64
docs(aio): fix broken image sources
2017-07-18 11:45:05 +01:00
Peter Bacon Darwin
f054c8360b
docs(aio): fix up broken links
2017-07-18 11:45:05 +01:00
Peter Bacon Darwin
758848961e
build(aio): abort doc-gen on dangling links
2017-07-18 11:45:05 +01:00
Peter Bacon Darwin
99b666614d
build(aio): abort doc-gen if an example is missing
...
Closes #16936
2017-07-18 11:45:05 +01:00
Jeremy Elbourn
3f331b53b2
docs(aio): update jelbourn photo
2017-07-17 14:51:11 -07:00
Kapunahele Wong
375d598a9f
docs(aio): add George's fixes
2017-07-17 14:49:19 -07:00
Kapunahele Wong
cd67fced1c
docs(aio): add npm install to Sublime instructions
2017-07-17 14:49:19 -07:00
Kapunahele Wong
a77cf7ee37
docs(aio): add Chuck's comments
2017-07-17 14:49:19 -07:00
Kapunahele Wong
2150b45954
docs(aio): add language service doc
2017-07-17 14:49:19 -07:00
WilliamKoza
9f99f4fae2
docs: fix HttpClient sample
2017-07-17 14:03:32 -07:00
Kasidit Iamthong
c6ad212a98
docs(aio): fix HttpClient's interceptor sample
2017-07-17 14:03:16 -07:00
Don Denton
47b3ecd9a3
docs(http): fix "Expecting and answering requests" example mistake
...
Possibly overlooked testing documentation mistake fixed:
- `http.get('/data')` probably ought to be paired with `httpMock.expectOne('/data')` instead of `httpMock.expectOne('/data')`.
2017-07-17 14:01:44 -07:00
WilliamKoza
8c81c62d46
docs: fix HttpClient logging's sample
2017-07-17 14:01:24 -07:00
Daniel Bunte
7e72317059
docs(http): fixed syntax error in AuthInterceptor example
2017-07-17 14:00:59 -07:00
Stefanie Fluin
95698d93ad
fix(aio): remove title from callout
2017-07-15 15:35:15 +01:00
Georgios Kalpakas
c649da9f0a
fix(aio): remove unused `news.html` file
...
Although outdated and not used, the file would be picked up and showed in search
results.
2017-07-15 15:29:20 +01:00
Peter Bacon Darwin
0bf0c35bca
build(aio): render type parameters of API function exports
...
Fixes #18123
2017-07-15 08:52:35 +01:00
Alex Rickabaugh
97e6901ded
Revert "revert: revert: ci(aio): exclude changes in aio/content folder"
...
This reverts commit 3d85f72652
.
Still causing repeated flakes on master.
2017-07-14 14:54:31 -07:00
Alex Rickabaugh
e0fa727594
fix(aio): document XSRF protection in HttpClient
2017-07-14 12:42:37 -07:00
cexbrayat
8e56c3cb30
docs: fix type error in HttpClient sample
2017-07-14 09:35:25 -07:00
Igor Minar
7955cacec4
build(aio): turn on debugging of the payload.sh script to debug ci failures
2017-07-13 22:50:05 -07:00
Igor Minar
3d85f72652
revert: revert: ci(aio): exclude changes in aio/content folder
...
This reverts commit 72143e80da
.
it seems that the previous build failure was a travis flake.
reverting the revert...
2017-07-13 16:22:57 -07:00
Igor Minar
72143e80da
revert: ci(aio): exclude changes in aio/content folder
...
This reverts commit 1bf7ba87a0
.
The commit caused master builds to fail with:
```
$ scripts/payload.sh
error Command failed with exit code 1.
error Command failed with exit code 1.
```
https://travis-ci.org/angular/angular/jobs/253405260#L1024
2017-07-13 15:32:44 -07:00
Alex Rickabaugh
bc1ea8c54b
docs: rewrite 'Server Communication' doc guide to use HttpClient ( #18079 )
2017-07-13 15:22:07 -07:00
Yuan Gao
1bf7ba87a0
ci(aio): exclude changes in aio/content folder
2017-07-13 15:13:37 -07:00
Alex Rickabaugh
db96c963a8
fix(aio): add <hr> in between overloads
2017-07-13 14:58:33 -07:00
Jules Kremer
f0beb4d750
docs(aio): add Dart as a language option ( #18080 )
2017-07-13 12:21:28 -07:00
bmarkov
bc3b2ac251
docs(aio): Updated resources to UI Components ( #18067 )
...
With https:// the site gives console errors, because it loads fonts with http://
2017-07-13 12:19:31 -07:00
Peter Bacon Darwin
ffda3e41e0
build(aio): simplify the primary overload's anchor
...
The primary link to a member should simply be its name, and not require
the parameter list.
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
a301dba68f
build(aio): improve API docs layout and styling
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
04f3a4a7a5
build(aio): fix githubLinks line numbers
...
The API docs have changed. The line numbers are now found in
`startingLine` and `endingLine` properties rather than the `location`
property, which moved into the `fileInfo` property anyway.
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
f06ce9adc8
build(aio): truncate API overview parameters at one line
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
660eec4a23
build(aio): upgrade to dgeni-packages 0.20.0-rc.5
...
This fixes unwanted extra overloads in interfaces and abstract classes
This provides the overload grouping support and fixes API doc line numbers
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
be3352a084
build(aio): render grouped overloads
2017-07-13 12:16:20 -07:00
Peter Bacon Darwin
998049ec9b
build(aio): truncate API overview parameters at one line
2017-07-13 12:16:20 -07:00
Ketan Gote
26b9492315
docs(aio): Added resource link to amexio-ng-extensions [duplicate of #17785 ] ( #17790 )
2017-07-11 15:06:14 -07:00
Kapunahele Wong
e110a80caf
docs(aio): change Angular Module to NgModule ( #16964 )
2017-07-11 15:05:20 -07:00
Sarah
20127c1456
docs: fix typos and grammar ( #17818 )
2017-07-11 13:00:53 -07:00
Trotyl Yu
bbf2133fa9
docs: update ECMAScript info ( #17801 )
2017-07-11 12:44:56 -07:00
Wassim Chegham
1b1a6ba0bb
docs: fix 404 link to SFEIR website ( #17913 )
...
Also, I moved SFEIR training description to the "onsite" section since SFEIR doesn't deliver online training.
2017-07-11 12:00:27 -07:00
Trotyl Yu
876ca9ee3a
docs(aio): fix host usage in styleguide ( #17932 )
2017-07-11 11:58:26 -07:00
Georgios Kalpakas
4d45fe6fb5
fix(aio): fix tab animations on CodeTabsComponent
...
In our attempt to remove the material ripple effect from tab labels, we were
killing all `transform`-based animations on other `md-tab-group` elements, such
as animating the content when entering/leaving. (This wasn't an issue on Chrome,
because it didn't respect our `!important` flag.)
This commit fixes it by properly hiding the ripple effect (using a feature
introduced in angular/material2@e4789c7b8 ) and allowing other animations to
execute normally.
Fixes #17998
2017-07-11 11:49:22 -07:00
Georgios Kalpakas
076ea2281f
test(aio): add tests for CodeTabsComponent
2017-07-11 11:49:22 -07:00
Georgios Kalpakas
aec39c28d8
refactor(aio): remove unnecessary comments/imports, improve indentation
2017-07-11 11:49:22 -07:00
Javier Revillas
9003770f02
docs: fix style in helper text ( #18055 )
2017-07-11 11:43:52 -07:00
Peter Bacon Darwin
e8bbf86e66
build(aio): add terms from heading to the search index
2017-07-11 15:04:37 +01:00
Peter Bacon Darwin
3a0886dc12
build(aio): capture all the headings from a doc in the vFile.headings property
2017-07-11 15:04:37 +01:00
Peter Bacon Darwin
062a7aa2cf
build(aio): revert to general purpose search algorithm
...
Now that we have upgraded to the latest lunr search engine, the results
from the standard `search` method are more appropriate.
So we do not need to create our own special queries to get good results.
2017-07-11 15:04:37 +01:00
Peter Bacon Darwin
b30c5fc874
docs(aio): fix dangling links
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
d52ab8e2c9
build(aio): fix matchUpDirectiveDecorators processor
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
df7b875f6c
build(aio): fix mergeDecoratorDocs processor
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
0e71836cd5
docs(aio): fix potential invalid jsdoc tag
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
470a7c6bcd
build(aio): use dedicated overview for decorator API docs
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
3abf208235
build(aio): update doc-gen templates
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
92c18d167e
build(aio): fix mergeDecoratorDocs processor
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
99b38f52cb
build(aio): fix matchUpDirectiveDecorators processor
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
633ec30291
build(aio): fix test description
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
57cfcb0830
build(aio): refactor filterMemberDocs to be more general
...
Now it also filters function-overloads, hence the name change.
2017-07-11 11:44:05 +01:00
Peter Bacon Darwin
433d479a1e
build(aio): upgrade to dgeni-packages v0.20.0-rc.1
2017-07-11 11:44:05 +01:00
Georgios Kalpakas
7c4ac68e66
build(aio): remove unused script and GitHub token
...
Since 808bd4af4
, we are no longer pre-verifying PRs before uploading the build
artifacts to the preview server, thus we no longer need the
`travis-preverify-pr.sh` script or the `GITHUB_TEAM_MEMBERSHIP_CHECK_KEY`
variable.
2017-07-11 11:03:29 +01:00
Georgios Kalpakas
20556346a3
feat(aio): add API endpoint for notifying about PR updates
...
This commit adds an API endpoint for notifying the preview server about PR
updates (`/pr-updated`). According to the update, the preview server can take
several actions. Currently, it will only check and (if necessary) update the
PR's preview visibility (but more actions could be supported in the future).
The API can be used with an automatic trigger (e.g. a GitHub webhook) to
instantly update a PR's preview visibility when it changes.
Fixes #16526
2017-07-10 12:30:45 +01:00
Georgios Kalpakas
5a417b8514
feat(aio): implement a way to check and update a PR\'s preview visibility
...
Previously, `BuildCreator#changePrVisibility()` would throw an error if the PR's
visibility was already up-to-date or if the PR directory did not exist (e.g. was
removed). This method was only used from inside `BuildCreator#create()`, which
had already checked for the existence of the directories.
This commit renames `changePrVisibility()` to `updatePrVisibility()` and makes
it more "forgiving" (i.e. it will only throw if both public and non-public
directories exist). This allows it to be used on events that may or may not have
caused the PR's visibility to change (e.g. a GitHub webhook triggered whenever a
PR's labels change).
2017-07-10 12:30:45 +01:00
Georgios Kalpakas
8cfc2e2ec0
refactor(aio): unify error messages for invalid requests to upload-server
...
Previously, there was a distinction between GET requests to invalid URLs and all
other requests. This was mainly because the upload-server only accepts GET
requests, but that is not a hard limitation and may change in the future.
Thus, it makes sense to return a 404 response for requests to invalid URLs
regardless of the method used.
2017-07-10 12:30:45 +01:00
Georgios Kalpakas
11647e4c78
refactor(aio): use dedicated `constants.ts` file for e2e-specific constants
2017-07-10 12:30:45 +01:00
Georgios Kalpakas
9e1b61326c
refactor(aio): move script to a more relevant directory
2017-07-10 12:30:45 +01:00
Georgios Kalpakas
cb7609109d
fix(aio): fix text blurring when hovering over item in resources
...
Fixes #17907
2017-07-10 12:24:10 +01:00
Suguru Inatomi
b3d90365b6
fix(aio): add new common/http package into API list
2017-07-10 12:23:47 +01:00
Victor Berchet
c723d42d0a
refactor: fix typos ( #18000 )
2017-07-07 16:55:17 -07:00
George Kalpakas
9dd550fa1e
ci(aio): only deploy latest commits to staging/production ( #17988 )
...
Fixes #17941
2017-07-07 16:35:07 -07:00
Filipe Silva
abbac4bc69
feat(aio): use new ngo ( #17977 )
2017-07-07 16:34:47 -07:00
Victor Berchet
0ede642cb9
docs(aio): Update `NgStyle` and `NgClass` to use quoted keys
2017-07-07 16:17:33 -07:00
George Kalpakas
504500de50
fix(aio): activate ServiceWorker updates asap ( #17699 )
...
Previouly, whenever a new ServiceWorker update was detected the user was
prompted to update (with a notification). This turned out to be more distracting
than helpful. Also, one would get notifications on all open browser tabs/windows
and had to manually reload each one in order for the whole content (including
the app) to be updated.
This commit changes the update strategy as follows:
- Whenever a new update is detected, it is immediately activated (and all
tabs/windows will be notified).
- Once an update is activated (regardless of whether the activation was
initiated by the current tab/window or not), a flag will be set to do a
"full page navigation" the next time the user navigates to a document.
Benefits:
- All tabs/windows are updated asap.
- The updates are applied authomatically, without the user's needing to do
anything.
- The updates are applied in a way that:
a. Ensures that the app and content versions are always compatible.
b. Does not distract the user from their usual workflow.
NOTE:
The "full page navigation" may cause a flash (while the page is loading from
scratch), but this is expected to be minimal, since at that point almost all
necessary resources are cached by and served from the ServiceWorker.
Fixes #17539
2017-07-07 11:17:19 -07:00
Stefanie Fluin
e1174f3774
fix(aio): home & marketing styles cleanup ( #17926 )
2017-07-07 11:16:51 -07:00
Jesús Rodríguez
70981c601e
feat(aio): serve-and-sync command ( #17850 )
2017-07-06 11:51:58 -07:00
Ward Bell
1bb2476804
docs(aio): add instructions for example e2e tests to README ( #17819 )
2017-07-06 11:15:31 -07:00
George Kalpakas
ec58246a1b
docs(aio): add DevExtreme to the UI Components section of resources.json ( #17939 )
2017-07-06 11:15:15 -07:00
Peter Bacon Darwin
71ee0c5b03
ci(aio): raise polyfill payload limits
2017-07-06 14:46:53 +01:00
Igor Minar
e9b67243ed
build(aio): upgrade to angular@4.2.4 and zone.js
2017-07-05 15:26:27 -07:00
Shefali Sinha
92d7ecf627
docs: shefali edits to Authors Style Guide ( #17853 )
2017-07-05 14:33:06 -07:00
Yuan Gao
9263da570f
ci(aio): Fix the payload script only check for changes in aio/scripts
2017-07-03 10:40:19 +01:00
Jesus Rodriguez
dc88e0a881
docs(aio): update quickstart to latest cli
2017-07-03 08:25:19 +01:00
Georgios Kalpakas
fa34ed8bf3
ci(aio): use valid database path for Firebase payload size upload
...
Firebase does not allow `.` in the path, so when trying to upload payload size
data for branches like `4.2.x`, the following error is thrown:
```
HTTP Error: 400, Invalid path: Invalid token in path
```
This commit fixes it by replacing `.` with `_` in branch names.
2017-07-03 08:19:59 +01:00
Artem Petrosian
f54a901b8d
docs(aio): fix visual-studio-2015 typo
...
This fixes #17283
2017-07-03 08:12:28 +01:00
Georgios Kalpakas
d5dc53ead8
ci(aio): avoid printing too large PWA report (and restore `print-logs.sh`)
...
There have been some issues lately with Travis jobs failing due to
`print-log.sh`. This is likely due to trying to print the Lighthouse PWA report,
which is too large.
This commit stops printing that report (since it was rarely used and is pretty
easy to acquire when needed) and restores the `print-logs.sh` script (that was
temporarily removed with dfcca66fd
).
2017-07-01 14:40:36 +01:00
Stephen Fluin
8e00161601
docs(aio): Add resources contributor info
2017-07-01 14:38:26 +01:00
Georgios Kalpakas
01d4eae984
ci(aio): use correct URL for preview in PWA score test
...
In 4268c8289
, the preview URLs were changed to not use the whole SHA, but just
the 7 first characters.
2017-06-30 13:02:28 +01:00