4ca772eea3
refactor(aio): move scripts into scripts/
directory
2017-03-07 18:24:45 -08:00
b4ec80b21d
docs(aio): document arg for auto-restarting the docker container on boot
2017-03-07 18:24:45 -08:00
a4476654aa
refactor(aio): use more intuitive log filepath
2017-03-07 18:24:45 -08:00
4210d2b4b1
test(aio): fix e2e tests
2017-03-07 18:24:45 -08:00
aa30c50144
feat(aio): make it easier to create a docker image (less variables to overwrite)
2017-03-07 18:24:45 -08:00
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
e40f81b564
ci(aio): fail the build if preview deployment fails
2017-03-07 18:24:45 -08:00
a3a7cf2090
build(aio): allow overwriting env vars at build time
2017-03-07 18:24:45 -08:00
d9d9d9de6f
build(aio): allow passing parameters to docker build
2017-03-07 18:24:45 -08:00
7e67f37fc4
ci(aio): test aio-builds-setup as part of the aio
job
2017-03-07 18:24:45 -08:00
d275667da0
build(aio): upgrade to latest and pin major pm2 version
2017-03-07 18:24:45 -08:00
03a5fd01c9
fix(aio): do not hardcode the domain in preview link comments
2017-03-07 18:24:45 -08:00
d28ea80db8
build(aio): always compile before running tests
2017-03-07 18:24:45 -08:00
0e9277b4c3
style(aio): change mock value for consistency
2017-03-07 18:24:45 -08:00
2796790c7d
feat(aio): verify uploaded builds based on JWT from Travis
2017-03-07 18:24:45 -08:00
028b274750
feat(aio): support passing secrets as files to the docker container
2017-03-07 18:24:45 -08:00
3ed1f64d43
feat(aio): implement BuildVerifier
2017-03-07 18:24:45 -08:00
96f11dad18
feat(aio): implement GithubTeams
2017-03-07 18:24:45 -08:00
060d02eb82
fix(aio): remove unnecessary repoSlug
parameter from GithubApi
2017-03-07 18:24:45 -08:00
951e653b0c
feat(aio): implement GithubApi.getPaginated()
2017-03-07 18:24:45 -08:00
37348989f0
feat(aio): make githubToken
mandatory for GithubApi
2017-03-07 18:24:45 -08:00
c5644e5a0d
refactor(aio): add assertNotMissingOrEmpty()
helper
2017-03-07 18:24:45 -08:00
c8d87a936b
feat(aio): add support for HTTPS (certificates provided by host - fallback to self-signed)
2017-03-07 18:24:45 -08:00
6b8413f7b3
build(aio): update TypeScript (and other dependencies)
2017-03-07 18:24:45 -08:00
bc831ff4a4
feat(aio): check resolution of external URLs in HEALTHCHECK
2017-03-07 18:24:45 -08:00
8a8d4fe24f
test(aio): fix typos (repoSlag --> repoSlug)
2017-03-07 18:24:45 -08:00
9df9bdc0f5
style(aio): correctly type tuple
2017-03-07 18:24:45 -08:00
c8ead9bcd0
refactor(aio): use types intead of interfaces for functions
2017-03-07 18:24:45 -08:00
115164033b
ci(aio): add initial implementation for aio-builds setup
2017-03-07 18:24:45 -08:00
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
55189b1b85
refactor(aio): simplify and document the NavigationService
2017-03-06 22:27:32 -08:00
b017fbe48e
style(aio): rename local variable
2017-03-06 22:27:32 -08:00
0d6aa0caed
style(aio): rename const to camelCase
2017-03-06 22:27:32 -08:00
b70c881c00
docs(aio): fix paths to images
2017-03-06 22:27:32 -08:00
0d63e2a586
docs(aio): copy devguide images from angular.io
2017-03-06 22:27:32 -08:00
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
46d6e8d191
fix(aio): reimplement side-nav
2017-03-06 22:27:32 -08:00
61ef756ef2
fix(aio): ensure that only one request for navigation.json is made
2017-03-06 22:27:32 -08:00
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
b81693b30c
fix(aio): no need for path and url properties in nav
2017-03-06 22:27:32 -08:00
5815983178
fix(aio): correctly intercept links with LinkDirective
2017-03-06 22:27:32 -08:00
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
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