835 Commits

Author SHA1 Message Date
e8b98a71db docs(aio): add Dart as a language option (#18080)
(cherry picked from commit f0beb4d750)
2017-07-13 12:42:55 -07:00
5b03219790 docs(aio): Updated resources to UI Components (#18067)
With https:// the site gives console errors, because it loads fonts with http://
(cherry picked from commit bc3b2ac251)
2017-07-13 12:42:50 -07:00
1a09b237ec 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.

(cherry picked from commit ffda3e41e0)
2017-07-13 12:42:44 -07:00
d83f7a1859 build(aio): improve API docs layout and styling
(cherry picked from commit a301dba68f)
2017-07-13 12:42:39 -07:00
9dba26b686 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.

(cherry picked from commit 04f3a4a7a5)
2017-07-13 12:42:35 -07:00
1c8186150b build(aio): truncate API overview parameters at one line
(cherry picked from commit f06ce9adc8)
2017-07-13 12:42:30 -07:00
62edafd49f 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

(cherry picked from commit 660eec4a23)
2017-07-13 12:42:27 -07:00
c8b4e21a9a build(aio): render grouped overloads
(cherry picked from commit be3352a084)
2017-07-13 12:42:22 -07:00
0558c6f42a build(aio): truncate API overview parameters at one line
(cherry picked from commit 998049ec9b)
2017-07-13 12:42:15 -07:00
afd5d72bf9 docs(aio): Added resource link to amexio-ng-extensions [duplicate of #17785] (#17790) 2017-07-11 15:31:17 -07:00
3f8c8e5d5c docs(aio): change Angular Module to NgModule (#16964) 2017-07-11 15:31:09 -07:00
c755cc3cb6 docs: fix typos and grammar (#17818) 2017-07-11 15:31:02 -07:00
81c20c3b4e docs: update ECMAScript info (#17801) 2017-07-11 15:30:38 -07:00
e166da2c71 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 15:30:09 -07:00
ef0e4ebbc1 docs(aio): fix host usage in styleguide (#17932) 2017-07-11 15:30:02 -07:00
2ed16a51af 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

(cherry picked from commit 4d45fe6fb5)
2017-07-11 15:27:56 -07:00
27885c1d15 test(aio): add tests for CodeTabsComponent
(cherry picked from commit 076ea2281f)
2017-07-11 15:27:48 -07:00
e5ce728c9e refactor(aio): remove unnecessary comments/imports, improve indentation
(cherry picked from commit aec39c28d8)
2017-07-11 15:27:33 -07:00
911ce36b42 docs: fix style in helper text (#18055)
(cherry picked from commit 9003770f02)
2017-07-11 15:18:04 -07:00
dbfd7179a8 build(aio): add terms from heading to the search index 2017-07-11 15:08:03 +01:00
207e2febb3 build(aio): capture all the headings from a doc in the vFile.headings property 2017-07-11 15:08:02 +01:00
39c9860b9d 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:08:02 +01:00
09261e6c4d docs(aio): fix dangling links 2017-07-11 11:45:11 +01:00
b61c19a86e build(aio): fix matchUpDirectiveDecorators processor 2017-07-11 11:45:10 +01:00
f6ebb40fbc build(aio): fix mergeDecoratorDocs processor 2017-07-11 11:45:10 +01:00
0ce4542990 docs(aio): fix potential invalid jsdoc tag 2017-07-11 11:45:10 +01:00
8072fe120a build(aio): use dedicated overview for decorator API docs 2017-07-11 11:45:09 +01:00
50e79ace12 build(aio): update doc-gen templates 2017-07-11 11:45:09 +01:00
aa39449ce4 build(aio): fix mergeDecoratorDocs processor 2017-07-11 11:45:09 +01:00
d1434e82df build(aio): fix matchUpDirectiveDecorators processor 2017-07-11 11:45:08 +01:00
6a0d5b5825 build(aio): fix test description 2017-07-11 11:45:08 +01:00
5e4c41fcdf build(aio): refactor filterMemberDocs to be more general
Now it also filters function-overloads, hence the name change.
2017-07-11 11:45:08 +01:00
4c8413986e build(aio): upgrade to dgeni-packages v0.20.0-rc.1 2017-07-11 11:45:07 +01:00
c6aacf5b17 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:43:15 +01:00
bd4ec5c14c revert:build(aio): upgrade to dgeni-packages v0.20.0-rc.1
This reverts commit ab13f1f659.

It was cherry-picked in error from a PR.
2017-07-10 13:42:13 +01:00
406dd45df1 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:32:26 +01:00
9948ccf365 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:32:25 +01:00
9e8d773e4e 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:32:25 +01:00
aea11bca87 refactor(aio): use dedicated constants.ts file for e2e-specific constants 2017-07-10 12:32:24 +01:00
08b4e1edc9 refactor(aio): move script to a more relevant directory 2017-07-10 12:32:23 +01:00
274c229463 fix(aio): fix text blurring when hovering over item in resources
Fixes #17907
2017-07-10 12:28:40 +01:00
ab13f1f659 build(aio): upgrade to dgeni-packages v0.20.0-rc.1 2017-07-10 12:25:18 +01:00
48772f189f refactor: fix typos (#18000) 2017-07-07 17:23:15 -07:00
70b1ff11d5 ci(aio): only deploy latest commits to staging/production (#17988)
Fixes #17941
2017-07-07 17:23:15 -07:00
f1c9197e07 feat(aio): use new ngo (#17977) 2017-07-07 17:23:14 -07:00
efa45b9299 docs(aio): Update NgStyle and NgClass to use quoted keys 2017-07-07 17:23:13 -07:00
eb90ba1321 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 17:23:07 -07:00
9e626415eb fix(aio): home & marketing styles cleanup (#17926) 2017-07-07 17:23:07 -07:00
14afb9d314 feat(aio): serve-and-sync command (#17850) 2017-07-07 17:21:31 -07:00
8bdc921502 docs(aio): add instructions for example e2e tests to README (#17819) 2017-07-07 17:21:30 -07:00