Georgios Kalpakas
0c5f893f6e
test(aio): improve test description and expectations
2017-03-13 10:30:49 -07:00
Georgios Kalpakas
17f5f3b32c
ci(aio): fix clean-up script on `ngbuilds.io`
2017-03-13 10:30:49 -07:00
Georgios Kalpakas
3bb59902f7
docs(aio): add more docs about `aio-builds-setup`
2017-03-13 10:30:49 -07:00
Georgios Kalpakas
b804a488c5
feat(aio): make it easy to keep relevant logs outside the docker container
2017-03-13 10:30:49 -07:00
Georgios Kalpakas
cbde75e77b
feat(aio): redirect HTTP to HTTPS
2017-03-13 10:30:49 -07:00
Georgios Kalpakas
413e11fac2
build(aio): remove redundant arg
2017-03-13 10:30:49 -07:00
George Kalpakas
fa1920a02b
feat(aio): enable deep-linking on deployed apps (until prerendering is done) ( #15049 )
2017-03-13 09:35:16 -07:00
Alex Rickabaugh
920b3d259d
feat(aio): support @angular/service-worker using the CLI generated service worker manifest ( #15042 )
2017-03-10 14:05:29 -08:00
Ward Bell
fce55d87d2
feat(aio): add Kapunahele animations v2 ( #15023 )
2017-03-10 14:05:00 -08:00
Jason Aden
2b44854885
build: fix paths for examples tests
2017-03-08 16:29:28 -08:00
Jason Aden
b74ab83d2c
refactor: update paths from modules/@angular to packages
2017-03-08 16:29:28 -08:00
Ward Bell
5ad5301a3e
feat(aio): add API list page ( #14899 )
2017-03-08 13:08:19 -08:00
Georgios Kalpakas
174d4c8ef7
ci(aio): do not deploy PR if preconditions not met
...
This avoids incorrectly failing the build if the PR author is not a member of one of the whitelisted GitHub teams.
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
4ca772eea3
refactor(aio): move scripts into `scripts/` directory
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
b4ec80b21d
docs(aio): document arg for auto-restarting the docker container on boot
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
a4476654aa
refactor(aio): use more intuitive log filepath
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
4210d2b4b1
test(aio): fix e2e tests
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
aa30c50144
feat(aio): make it easier to create a docker image (less variables to overwrite)
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
fd34a58e13
fix(aio): ensure `NGBUILDS_IO_KEY` is not printed
...
Gaining access to another PR's JWT, would allow faking that PR's author wrt to
GitHub team membership verification for as long as the JWT is valid (currently
90 mins).
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
e40f81b564
ci(aio): fail the build if preview deployment fails
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
a3a7cf2090
build(aio): allow overwriting env vars at build time
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
d9d9d9de6f
build(aio): allow passing parameters to `docker build`
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
7e67f37fc4
ci(aio): test aio-builds-setup as part of the `aio` job
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
d275667da0
build(aio): upgrade to latest and pin major pm2 version
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
03a5fd01c9
fix(aio): do not hardcode the domain in preview link comments
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
d28ea80db8
build(aio): always compile before running tests
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
0e9277b4c3
style(aio): change mock value for consistency
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
2796790c7d
feat(aio): verify uploaded builds based on JWT from Travis
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
028b274750
feat(aio): support passing secrets as files to the docker container
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
3ed1f64d43
feat(aio): implement `BuildVerifier`
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
96f11dad18
feat(aio): implement `GithubTeams`
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
060d02eb82
fix(aio): remove unnecessary `repoSlug` parameter from `GithubApi`
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
951e653b0c
feat(aio): implement `GithubApi.getPaginated()`
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
37348989f0
feat(aio): make `githubToken` mandatory for `GithubApi`
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
c5644e5a0d
refactor(aio): add `assertNotMissingOrEmpty()` helper
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
c8d87a936b
feat(aio): add support for HTTPS (certificates provided by host - fallback to self-signed)
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
6b8413f7b3
build(aio): update TypeScript (and other dependencies)
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
bc831ff4a4
feat(aio): check resolution of external URLs in HEALTHCHECK
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
8a8d4fe24f
test(aio): fix typos (repoSlag --> repoSlug)
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
9df9bdc0f5
style(aio): correctly type tuple
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
c8ead9bcd0
refactor(aio): use types intead of interfaces for functions
2017-03-07 18:24:45 -08:00
Georgios Kalpakas
115164033b
ci(aio): add initial implementation for aio-builds setup
2017-03-07 18:24:45 -08:00
Peter Bacon Darwin
ebd446397a
fix(aio): reimplement the top menu dropping into the side bar
...
I couldn't find the CSS for the `.small` class to make it look nice.
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
55189b1b85
refactor(aio): simplify and document the NavigationService
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
b017fbe48e
style(aio): rename local variable
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
0d6aa0caed
style(aio): rename const to camelCase
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
b70c881c00
docs(aio): fix paths to images
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
0d63e2a586
docs(aio): copy devguide images from angular.io
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
d83b7ba4c0
refactor(aio): rename `activeNodes` to `selectedNodes`
...
This keeps the naming consistent with the nav-menu
and nav-item component properties
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
46d6e8d191
fix(aio): reimplement side-nav
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
61ef756ef2
fix(aio): ensure that only one request for navigation.json is made
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
3529813ca0
fix(aio): move interfaces into their own files to workaround compile weirdness
...
For some reason the tree-shaker is not picking up these interfaces
(perhaps TS is not passing it through) when they are in the same file
as their related services. This results in a distracting warning message.
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
b81693b30c
fix(aio): no need for path and url properties in nav
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
5815983178
fix(aio): correctly intercept links with LinkDirective
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
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
Peter Bacon Darwin
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
Peter Bacon Darwin
d6c1ccaf14
fix(aio): emit a hard-coded doc if file-not-found fails
...
Closes #14848
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
4abd6f333c
fix(aio): map the empty url to the correct doc path
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
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
Peter Bacon Darwin
66cc88c8a8
fix(aio): ensure that only one request per document is made
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
b44bc9c022
test(aio): add mock services
2017-03-06 22:27:32 -08:00
Peter Bacon Darwin
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
Peter Bacon Darwin
8757656508
build(aio): upgrade to angular 4.0.0-rc.2
2017-03-05 08:41:26 -08:00
Peter Bacon Darwin
01ff427685
test(aio): reimplemented all the commented-out unit tests
2017-03-05 08:41:26 -08:00
Peter Bacon Darwin
2ebfa2ff31
test(aio): add placeholder test descriptions
2017-03-05 08:41:26 -08:00
Peter Bacon Darwin
b09ee424bf
refactor(aio): reorganize search service for easier testing
2017-03-05 08:41:26 -08:00
Peter Bacon Darwin
207298cd3a
build(aio): generate marketing docs JSON files
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
62eafa4eec
test(aio): fix up links in app e2e test
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
4626ca2bff
build(aio): add file-not-found doc
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
38bb744008
fix(aio): remove external HTML and SCSS from app component
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
dca83ec738
feat(aio): add search service and search UI
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
71e22b8d11
feat(aio): implement doc and navigation UI
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
371dc4744c
feat(aio): add navigation service
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
4767f107fb
feat(aio): add logger service
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
5ae4b77d8b
feat(aio): add document service
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
887d32a9bf
feat(aio): add location service
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
3883b736c0
build(aio): content documents should have a `contents` field
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
c2e672cd1c
docs(aio): add NOTES
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
93c0ab7131
fix(aio): remove previous files
2017-03-02 00:21:06 -08:00
Peter Bacon Darwin
1f3198cb50
feat(aio): copy example code from angular.io
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
3e34ba01bd
docs(aio): migrate content docs from angular.io
...
This content was generated by a tool: https://github.com/petebacondarwin/aio-migrator
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
c3247c64a4
docs(aio): remove unused partial file
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
1282da1b14
feat(aio): support unannotated JSON example files
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
1c08f1a6b2
fix(aio): remove unused extractTitleFromGuides processor
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
dfed388139
fix(aio): convert API and content docs to JSON
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
5e9474d24c
feat(aio): include guide and tutorial in the doc generation
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
b92f52649b
fix(aio): remove unused `getExampleFilename` service
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
3f8d5ac478
feat(aio): support annotating JSON files with doc-regions
...
This change allows the example writer to add doc-region annotations to
files that do not allow comments. This is done by creating a clone of the
file and adding `.annotated` to the file name. This new file can contain
inline `// ...` comments that can be used to annotate the doc regions.
Example:
**package.json**
```
{
"name": "angular.io",
"version": "0.0.0",
"main": "index.js",
"repository": "git@github.com:angular/angular.git",
"author": "Angular",
"license": "MIT",
"private": true,
}
````
**package.json.annotated**
```
{
"name": "angular.io",
// #docregion version
"version": "0.0.0",
// #enddocregion
"main": "index.js",
"repository": "git@github.com:angular/angular.git",
"author": "Angular",
"license": "MIT",
"private": true,
}
````
This region can then be referenced in examples just like any other doc region:
```
{@example 'package.json' region="version"}
```
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
bee567afad
fix(aio): add `@suppress` tag that is used in the API docs
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
649bab8ff8
fix(aio): handle html docregions that do not end on the same line
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
6a9251874b
fix(aio): region parser error line numbers were off by one
2017-02-23 23:23:58 -08:00
Peter Bacon Darwin
c208f97461
fix(aio): correctly handle "empty" region names
2017-02-23 23:23:58 -08:00
Victor Berchet
bf8eb41248
feat(compiler): introduce `<ng-template>`, deprecate `<template>` and `template` attribute
...
The rationale of this change is to improve the inter-operability with web
components that might make use of the `<template>` tag.
DEPRECATION
The template tags and template attribute are deprecated:
<template ngFor [ngFor]=items let-item><li>...</li></template>
<li template="ngFor: let item of items">...</li>
should be rewritten as:
<ng-template ngFor [ngFor]=items let-item><li>...</li></ng-template>
Note that they still be supported in 4.x with a deprecartion warning in
development mode.
MIGRATION
- `template` tags (or elements with a `template` attribute) should be rewritten
as a `ng-template` tag,
- `ng-content` selectors should be updated to referto a `ng-template` where they
use to refer to a template: `<ng-content selector="template[attr]">` should be
rewritten as `<ng-content selector="ng-template[attr]">`
- if you consume a component relying on your templates being actual `template`
elements (that is they include a `<ng-content selector="template[attr]">`). You
should still migrate to `ng-template` and make use of `ngProjectAs` to override
the way `ng-content` sees the template:
`<ng-template projectAs="template[attr]">`
- while `template` elements are deprecated in 4.x they continue to work.
2017-02-23 20:03:16 -08:00
George Kalpakas
175dbce354
build: check yarn version in `check-environment` ( #14499 )
...
As discussed in
https://github.com/angular/angular/pull/14382#discussion_r100620839 .
2017-02-22 20:55:25 -08:00
Ward Bell
9a2ea55bff
build(aio): upgrade to CLI beta.32 and MD beta.2
2017-02-22 17:53:56 -08:00
Ward Bell
a26eb4c04e
test(aio): redefine pipe test as a pending test to confirm code example
2017-02-22 17:53:56 -08:00
Pete Bacon Darwin
88755b0dae
build(aio): update dgeni-packages to 0.16.8 ( #14597 )
2017-02-22 11:27:09 -08:00
Ward Bell
c4a6263a01
feat(aio): replace `take(1)` with more semantic `first()` ( #14571 )
2017-02-17 22:52:57 -08:00
Ward Bell
45eac233eb
feat(aio): fill in NavMap from current doc inventory ( #14516 )
...
A port of existing navigation. NOT the final information architecture.
2017-02-17 22:50:16 -08:00
Ward Bell
74ce121dba
feat(aio): temporarily include ‘content’ folder among production assets ( #14548 )
2017-02-16 17:10:51 -08:00