Commit Graph

195 Commits

Author SHA1 Message Date
Paul Gschwendtner f35f02676c chore: initial chart for dashboard (#5360)
* Adds the initial chart for the payloads inside of the dashboard.
2017-06-27 16:08:56 -07:00
Kristiyan Kostadinov 38b365c21f build: add stylelint rule to prevent nested mixins (#5354)
Adds a Stylelint rule that will prevent uses of nested mixins. This will help prevent issues like #5232 in the future.
2017-06-25 08:18:18 -07:00
Kristiyan Kostadinov f89261eea6 build: add lint rule to prevent rxjs patch imports (#5344)
Adds a rule that will ensure that we don't use patch imports in the library and cdk files.
2017-06-24 05:45:44 -07:00
Kristiyan Kostadinov e488e3fa24 feat: remove uses of rxjs patch operators (#5314)
Refactors the entire codebase not to use the patch operators from RxJS, because they pollute the user's setup. Instead, opts into importing the operators directly and chaining them via the `RxChain` class.

Fixes #2622.
2017-06-23 13:32:24 -07:00
Andrew Seguin 85fb00a151 feat(pagination): initial pagination component (#5156) 2017-06-23 11:51:39 -07:00
Kristiyan Kostadinov 2bf7024527 feat: add support for strict null checks (#5094) 2017-06-21 10:13:52 -07:00
Paul Gschwendtner 665e667e2d build: payload task fails if functions are down (#5217)
It can happen that the firebase `payloadGithubStatus` function is temporary disabled because a deploy failed (for example due to deploying while function executes).
This leads to a failure inside of the payload CI task because the task is trying to parse the body using JSON (which is not always a JSON response)

It's not worth trying to parse the JSON value since it's only used for debugging and to give an insight what's going on in the functions.
2017-06-19 11:48:47 -07:00
Paul Gschwendtner 39f22c2aa2 build: remove duplicate licenses in bundles (#5195)
* No longer includes the license comments from every source file in the different FESM and UMD bundles.
* Build packages are now emitted with explicit `LF` line endings instead of platform dependent line endings.
2017-06-19 09:30:52 -07:00
Paul Gschwendtner b456eed0b7 build: keep license comment in minified umd (#5196)
* The `preserveComments` option from the old uglify gulp plugin is not valid for the programmatic API. Setting the `comments` option `some` means that license commens will be preserved.
2017-06-19 09:30:37 -07:00
Paul Gschwendtner 135c1df62e build: firebase integration for dashboard (#5182)
* build: firebase integration for dashboard

* As part of the initial dashboard setup, this installs Angular Fire and Angular Material in the dashboard.
* For testing purposes the list of all payload results will be printed right now.

* Address feedback
2017-06-19 09:30:17 -07:00
Paul Gschwendtner 9945ed75b4 build: move packaging out of gulp folder (#5063) 2017-06-16 10:58:34 -07:00
Paul Gschwendtner c8e56b535e build: initial dashboard project (#5148) 2017-06-16 10:22:33 -07:00
Paul Gschwendtner f579ea130f build: faster artifacts deploy script (#5149) 2017-06-15 13:31:15 -07:00
Paul Gschwendtner 7b5b18d5e7 build: get previous payload by querying git (#5122) 2017-06-14 14:50:37 -07:00
Paul Gschwendtner d45d37ae20 build: tslint rule to ensure license banners are set (#5133) 2017-06-14 14:16:40 -07:00
Paul Gschwendtner de68202971 build: enable noUnusedParameters check (#5091) 2017-06-13 11:48:02 -07:00
Paul Gschwendtner 46edae64ba build: separate payload diffs for packages (#5106) 2017-06-13 10:11:23 -07:00
Paul Gschwendtner 88089a7648 build: remove url from payload status (#5092) 2017-06-12 13:48:24 -07:00
Paul Gschwendtner 4bb3c8b909 build: generate docs for expansion (#5054) 2017-06-12 11:00:57 -07:00
Paul Gschwendtner 349c2d6c42 build: fix payload function invalid diff (#5059) 2017-06-12 11:00:01 -07:00
Kristiyan Kostadinov a6456a2352 build: missing import in payload script (#5058) 2017-06-12 10:56:45 -07:00
Paul Gschwendtner c2816efde4 build: payload github status (#4549)
* build: payload github status

* Show payload deta on PRs using the Github Statuses API.

* Update config variables
2017-06-09 16:09:26 -07:00
Paul Gschwendtner 3a23d313d0 build: fix missing prebuilt themes (#5042)
* build: fix missing prebuilt themes

* Fixes that the prebuilt themes are not copied over to the release output.
* Introduces two more checks (specifc for material) in the validate-release task
* Fixes that the generation of the theming SCSS bundle happens outside of gulp.

Fixes #5038

* Logic improvements.
2017-06-09 16:08:56 -07:00
Paul Gschwendtner bae213d5f7 build: dynamic build config for packaging (#4939)
* build: dynamic build config for packaging

* Make discussed changes
2017-06-08 11:24:58 -07:00
Paul Gschwendtner 22e14490d2 build: fix dashboard error (#5010)
* Fixes a TypeScript error in the dashboard functions.
2017-06-08 11:24:49 -07:00
Joey Perrott cac7610460 feat(expansion-panel): introduce expansion panel" 2017-06-07 16:54:31 -07:00
Paul Gschwendtner 3e993b651c fix(dialog): invalid text color in dark themes (#4849)
In dark themes the dialog container will have a dark background and the text should therefore have a light text color.

Currently the text color is still dark on a dark background which causes the dialog to look bad in dark themes.
2017-06-05 15:43:56 -07:00
Paul Gschwendtner 84c80ec0d6 build: fix duplicate members in dgeni docs (#4956)
Recently Dgeni switch to a more recent version of TypeScript and now getters and setters are counting as individual members. This causes different properties to show up twice in the API docs.

Fixes this temporary by filtering duplicate member docs. Also removes the inhertied docs processor since it doesn't work and needs some more work in the `dgeni-packages` repository.

Fixes #4923
2017-06-05 14:50:24 -07:00
Paul Gschwendtner 98ce6357d3 build: remove github status api (#4957)
Removes the Github Status API from Gulp since it's not used anymore and won't be used anymore. The reason is that all API requests to Gtihub will happen from Firebase functions

Sending requests to the Github API from Firebase functions ensures that nobody can leak Github / Access tokens and that we can send API requests for Pull Requests too.
2017-06-05 14:50:14 -07:00
Andrew Seguin 41c43cc3ec fix(navbar): update ink bar when links change (#4897)
* fix(navbar): update ink bar when links change

* remove add link

* fix test

* change strategy - use mutation observer

* cleanup
2017-06-05 14:45:19 -07:00
Paul Gschwendtner 7af93bc5e3 build: switch to new dashboard firebase instance (#4954)
* Switches to a new Firebase instance for the Dashboard.
2017-06-05 11:13:05 -07:00
Paul Gschwendtner 1d7b7520f5 build: properly inline multiple styles (#4911)
* Recently we moved the inline script to the packaging directory and we cleaned up some logic. At this point the multiple style files inlining broke accidentally.
* We joined the different styles using a comma inside of the inlined stylesheet (while we were trying to create a array). Instead it would be just easier to concatenate the styles using a space.
2017-06-02 13:52:41 -07:00
Paul Gschwendtner 970847e4a4 build: fix universal prerendering task (#4931)
Fixes the Universal Prerendering task by using the same workaround as for the AOT job (building sources in the output directory already)

Building the sources in the output directory (similar as for the AOT task) is theonly known workaround for https://github.com/angular/angular/issues/12249
2017-06-02 09:39:49 -07:00
Paul Gschwendtner 4c9871427b build: validate-release check for external resources (#4907)
* Adds a check to the `validate-release` task that checks for any references to external resources.
2017-06-01 08:49:44 -07:00
Paul Gschwendtner 52b6692472 build: move inline resources script to tools (#4894)
* build: move inline resources script to tools

* Moves the inline resources script to the `tools/gulp/packaging` folder. This is necessary when exposing the build tools (e.g for flex-layout)
* This also makes the packaging more clean because no external script is referenced (also switched to TypeScript and improved code)

* Address comments

* Update comment
2017-05-31 16:20:00 -07:00
Paul Gschwendtner 965bf18e49 build: no sourcemaps in inline styles (#4885)
* In components inline styles there shouldn't be any Sourcemap reference. This adds bloat and also doesn't do anything right now.
* No longer builds sourcemaps for all compiled SCSS. The sourcemaps don't work for development either (styles are inlined too)
* Prebuilt themes no longer contain source-maps.
2017-05-31 16:19:43 -07:00
Kristiyan Kostadinov 8804caf3f5 build: add stylelint rule to prevent usage of /deep/ (#4841)
* build: add stylelint rule to prevent usage of /deep/

Adds a custom Stylelint rule to prevent usages of `/deep/` inside selectors.

Relates #4726.

* fix: address feedback
2017-05-31 16:18:58 -07:00
Paul Gschwendtner 964033ce8d build: add dashboard firebase functions (#4806)
* build: add dashboard firebase functions

* Adds a new folder for the dashboard project that for now only contains firebase functions.
* The firebase functions will be used to securely make API calls to the Github API (e.g payload status)
* Functions will be automatically deployed as same as screenshot functions.

* Address feedback
2017-05-31 16:18:34 -07:00
Jeremy Elbourn be8d3b23d2 fix(datepicker): generate api docs (#4756)
This also adds handling for directives with generics, which we have not had before. Dgeni treats this as "members" and they need to be disambiguated from properties.
2017-05-30 17:00:05 -07:00
Paul Gschwendtner 508b14198d build: minify html before inlining resources (#4877)
* build: minify html before inlining resources

* Now minifies the HTML files before inlining the resources. This drops unnecessary whitespace due to previous line breaks and developers can easily test with Material components.

Fixes #1596

* Address comment
2017-05-30 11:44:23 -07:00
Paul Gschwendtner 3f08e37d13 build: serve e2e-app in aot mode (#4833)
* build: serve e2e-app in aot mode

* Starts building the e2e-app in AOT mode

* Address comments
2017-05-30 10:38:32 -07:00
Paul Gschwendtner 1847819de1 build: scss changes not live-reloading (#4870)
* Sometimes the theme SCSS changes are not being reflected in the browser. This is because the demo-app theme is built from the SCSS mixins and those aren't rebuilt whenever CSS changes inside of Material.
2017-05-30 09:27:31 -07:00
Paul Gschwendtner e107d6e686 build: invalid tsconfig for screenshot functions (#4831)
The tsconfig for the Screenshot function specifies a non existing `index.ts` file. This leads to errors in the TypeScript project because the source files are not being loaded with the ES2015 library (e.g Promise is undefined)
2017-05-30 09:25:43 -07:00
Paul Gschwendtner fb5520cebf build: move server rendering to dist (#4822)
* build: move server rendering to dist

* Verifying that Material works with `platform-server` now happens in the `dist/` folder (instead of the src/ folder)
* Adds a gulp task to build the universal application. In the future serving the app will be also part of this

* Address comments
2017-05-30 09:22:18 -07:00
Paul Gschwendtner 12d6e968c2 build: properly add pure annotations with tslib (#4819)
Recently with #4787 the tsc generated helpers got replaced with helpers from the `tslib` package.

This means that the generated IIFE statements are different than before and the pure annotations RegExps don't work anymore.
2017-05-26 12:37:00 -06:00
Paul Gschwendtner 5c6a6856a1 build: move release packages to constants (#4818)
* build: move release packages to constants

* Moves the list of packages that should be released to the constants file.
* Sets the executable bit flag on the `deploy-screenshot-functions.sh` script

* Rename constants to build config
2017-05-26 12:36:10 -06:00
Andrew Seguin 7db2762d78 feat(data-table): minimal beginning implementation (#4468)
* feat(cdk-table): initial version

* add files

* remove unnecessary deps

* add test

* add tests

* edit comments

* minor style changes

* changes due to comments

* add test for column classes

* add OnPush to rest of components

* remove double quotes from colors.ts

* lint fies

* add comments to demo css

* comments

* split directives into separate files

* lint

* add content check in tests

* renaming directives

* remove fdescribe

* rename private placeholders; adjust comments; change CollectionViewer

* lint

* change jasmine array param

* remove unnecessary import from spec

* move out of core; add console warning about instability

* move jasmine-matchers

* fix demo
2017-05-25 17:50:32 -06:00
Paul Gschwendtner affcf5e454 build: fix screenshot functions export (#4807)
* The Firebase CLI is not able to properly detect the Firebase functions for the screenshot project. This is because the functions are not re-exported.
2017-05-25 14:38:05 -06:00
Jeremy Elbourn e3b2587294 build: import tslib instead of letting tsc generate helpers (#4787) 2017-05-25 14:36:02 -06:00
Paul Gschwendtner eddf30daf2 build: properly close firebase apps (#4743)
* Properly close the Firebase app connections to avoid that the NodeJS process keeps hanging.
2017-05-23 14:56:40 -06:00