8066 Commits

Author SHA1 Message Date
Yuan Gao 2407beb17e ci(aio): Add payload size limit file 2017-06-23 12:11:54 -07:00
Yuan Gao b6418039e0 ci(aio): upload aio payload size to firebase
ci(aio): Add timestamp and change data
2017-06-23 12:11:54 -07:00
Alex Eagle 7dd7722220 build: No longer need to bazel build twice 2017-06-23 12:11:54 -07:00
Alex Eagle 9b14f62387 build: circleci workflows to run lint in parallel 2017-06-23 12:11:54 -07:00
Georgios Kalpakas 107655e43f refactor(aio): provide fallback values for secrets (useful during dev) 2017-06-23 12:11:53 -07:00
Georgios Kalpakas 162bddf0b8 refactor(aio): enable -u flag on preview server scripts 2017-06-23 12:11:53 -07:00
Georgios Kalpakas 81c18b7241 docs(aio): document preview server HTTP status codes 2017-06-23 12:11:53 -07:00
Georgios Kalpakas 0c4b561999 ci(aio): deploy previews for all PRs
PRs that could not be automatically verified will not be publicly accessible,
until manually verified.
2017-06-23 12:11:53 -07:00
Georgios Kalpakas 563577eeab test(aio): add e2e tests for non-public previews 2017-06-23 12:11:53 -07:00
Georgios Kalpakas 17e000a678 feat(aio): enable previews for any PR
This commit introduces the ability to show previews for PRs by any author. It works as follows:

- The build artifacts of all PRs are uploaded to the preview server.
- Automatically verified PRs (i.e. from trusted authors or having a specific label) are deployed and
  publicly accessible as usual.
- PRs that could not be automatically verified are stored for later use (after re-verification).
- A PR can be marked as "trusted" and make its preview publicly accessible by adding the GitHub
  label specified in the `AIO_TRUSTED_PR_LABEL` env var of the preview server.

At the moment, there is no automatic mechanism for notifying the preview server about changes to the
PR's verification status. The PR's "visibility" will be checked and updated every time a new build
is uploaded.
2017-06-23 12:11:52 -07:00
Georgios Kalpakas b8806a656f refactor(aio): simplify preview server build events 2017-06-23 12:11:52 -07:00
Georgios Kalpakas ee5cd52d5f test(aio): add missing unit test for preview server 2017-06-23 12:11:52 -07:00
Georgios Kalpakas 84a72b774e test(aio): fix preview server tests on Windows 2017-06-23 12:11:52 -07:00
Georgios Kalpakas 9e28f58ec8 build(aio): upgrade preview server dependencies 2017-06-23 12:11:51 -07:00
Ward Bell 10e2db000c fix(aio): prefix location.assign with window.
No practical effect but clears the TS compiler warning.
2017-06-23 12:11:51 -07:00
Georgios Kalpakas 098d35ef64 fix(aio): fix links on /about in Firefox
Fixes #17661
2017-06-23 12:11:51 -07:00
Georgios Kalpakas d5a8f6ebfe refactor(aio): clean up aio-contributor template and styles 2017-06-23 12:11:51 -07:00
Georgios Kalpakas 9415e6603f fix(aio): preserve newlines when copying code
Before 4f37f8643, we were using `innerText` to retrieved the code content for
copying. This preserved the text layout (including newlines), but suffered from
other issues (browser support, performance). With 4f37f8643 we switched to
`textContent`, which works well except in the following case:
When `prettify` formats the code to have line numbers, it removes the newlines
and uses `<li>` elements instead. This affects `textContent`.

This commit fixes this by keeping a reference of the code as text and using that
for copying.

Fixes #17659
2017-06-23 12:11:50 -07:00
Alex Eagle 927ea2462e ci: test merge commits on circle
We expect this behavior because it's what Travis does. Also it's better because we want
to test what happens if we merge the PR, not the status of the PR branch.
2017-06-23 12:11:50 -07:00
Jules Kremer 1d6465b596 docs(aio): Update resources.json - fixed language error 2017-06-23 12:11:50 -07:00
Vincent Ogloblinsky 58012df46f docs(aio): update resources - Add Compodoc - documentation tool for Angular app 2017-06-23 12:11:50 -07:00
Georgios Kalpakas 21c5b177ef fix(aio): fix topbar nav-item focus style
Fixing it requires upgrading `@angular/material` to v2.0.0-beta.7.

Fixes #17216
2017-06-23 12:11:50 -07:00
Nikita Shiryakov bc10291d42 docs: remove unnecessary newline 2017-06-23 12:11:49 -07:00
Ward Bell 9344c86242 docs: fix “under to hood” typo in changelog.md
closes #14856
2017-06-23 13:18:45 -04:00
Ward Bell 6b5b3a7269 docs(aio): resources.json - replace “Angular 2” in titles/descriptions
closes #16965
2017-06-23 13:18:41 -04:00
Alex Xu 58c5e86209 docs(aio): update Bash for Windows info
As of the Creator's Update, Bash on Ubuntu on Windows supports all npm commands. 
https://blogs.msdn.microsoft.com/commandline/2017/04/11/windows-10-creators-update-whats-new-in-bashwsl-windows-console/
Update setup documentation accordingly.
2017-06-23 13:18:37 -04:00
Georgios Kalpakas 1657fa756f docs(aio): minor fixes for the upgrade guide
Fixes #17093
2017-06-23 13:18:33 -04:00
Trotyl Yu 2ff85c6790 fix(aio): add missing WeakMap polyfill 2017-06-23 13:18:26 -04:00
Ward Bell 353de5191c docs(aio): replace “Angular 1” in upgrade phonecat script 2017-06-22 23:26:08 -04:00
Ward Bell ea5ac89b50 docs(aio): fix promises link in toh-pt4
closes #16050
2017-06-22 23:26:03 -04:00
Michael f5ce60e6bc docs(aio): remove "_" from private property name
follow best practices from the documentation: https://angular.io/guide/styleguide#properties-and-methods
2017-06-22 23:25:58 -04:00
David 7a2903993a docs(aio): correct typos in Tour of Heroes HeroSearchService 2017-06-22 23:25:53 -04:00
bmarkov a29a0df183 docs(aio): Added resources to UI Components (#17635)
docs(aio): Added resources to UI Components
2017-06-22 23:25:48 -04:00
Kapunahele Wong 746fed453a docs(aio): remove min, max & move built-in validators paragraph 2017-06-22 23:25:43 -04:00
Stepan Suvorov 64e1b9cc9a docs(aio): added link to Russian Angular Courses 2017-06-22 23:25:39 -04:00
laco0416 0947f4a358 docs: add documentation for LTS versions 2017-06-22 23:25:35 -04:00
sumitknoldus f10d5a5572 docs: add missing colon in the Constants section of NAMING.md 2017-06-22 23:25:30 -04:00
Mark Amery 93f57d7d70 docs: Fix Stack Overflow being repeatedly misspelt as a single word
(To see that it is two words, see e.g. the page title at https://stackoverflow.com/ or the
spelling at http://stackoverflow.com/tour)
2017-06-22 23:24:31 -04:00
Mark Amery af1c4db0e4 docs: Fix some non-code being formatted as code in the router docs 2017-06-22 23:24:18 -04:00
Hans Larsen 4f43029570 docs: add changelog for 4.3.0-beta.0 2017-06-22 23:24:06 -04:00
Hans Larsen 8a09015211 docs: add changelog for 4.2.4 4.2.4 2017-06-21 17:01:14 -07:00
Hans Larsen f4b7bf7e38 release: cut the 4.2.4 release 2017-06-21 16:57:31 -07:00
Hans Larsen d20313698d revert: feat(core): update zone.js to 0.8.12
This reverts commit 25234227ec.

Mistakenly cherry picked a feature commit which does not belong on a
patch branch.
2017-06-21 16:52:14 -07:00
Ward Bell 74954f1a8d docs(aio): ward's changes 2017-06-21 16:28:19 -07:00
Shefali Sinha 368aed087c docs(aio): change to overall prose 2017-06-21 16:28:19 -07:00
Shefali Sinha 975341a77e docs(aio): create author style guide 2017-06-21 16:28:19 -07:00
Chuck Jazdzewski c112232fa3 fix(compiler): avoid emitting self importing factories
Fixes: #17389
2017-06-21 16:20:05 -07:00
Ward Bell 36348325de feat(aio): display “Searching ..." while building search index
closes #15923
2017-06-21 14:31:59 -07:00
Filipe Silva fdbe62f112 fix(aio): fix patch script on windows
Running the patch script on Windows (with `patch` available) yields an invalid syntax warning, and does not apply patches.

```
kamik@T460p MINGW64 /d/work/angular/aio (master)
$ yarn postinstall
yarn postinstall v0.24.6
$ node tools/cli-patches/patch.js && uglifyjs node_modules/lunr/lunr.js -c -m -o src/assets/js/lunr.min.js --source-map
The syntax of the command is incorrect.
Done in 1.52s.
```
2017-06-21 13:51:47 -07:00
Peter Bacon Darwin af9ba91e5c build(aio): ensure all doc tests are run
It is not possible to run all the docs tests directly via the  jasmine CLI.
Instead we now have a small script that will run jasmine via its library.
2017-06-21 13:51:27 -07:00