Commit Graph

240 Commits (11ced2560bcf10ebb296e90e9f16cf050cc3acfb)

Author SHA1 Message Date
Marc Cohen 3285239101 add return of streams to zip:mdl and zip:templates 2015-07-06 12:11:55 +01:00
Marc Cohen 621d67665f syntax error fix 2015-07-06 12:11:03 +01:00
Marc Cohen 9c2826e130 include mdl-templates.zip generation in sequence 2015-07-06 12:11:03 +01:00
Marc Cohen 17e26fa5ab make zip file generation synchronous and deterministic before pushed to cloud 2015-07-06 12:11:03 +01:00
Marc Cohen c43f72e961 modify RE to avoid including 300 color combo css files in mdl.zip (Closes #710) 2015-07-06 11:41:27 +01:00
Marc Cohen 7089f2738c adjust cache ttl to 60s for code.getmdl.io objects 2015-07-05 21:02:37 +01:00
Marc Cohen 750ebdb76e reduce cache ttl to 60s for prod, to facilitate quick fixes 2015-07-05 21:00:52 +01:00
Marc Cohen 219401344b Merge pull request #700 from google/faster-publish-code
parallelize upload of runtime objects
2015-07-05 20:08:18 +01:00
Marc Cohen 0d6845c3a2 one more try to fix indentation 2015-07-05 19:25:50 +01:00
Marc Cohen f99ee104c6 fix improper indentation 2015-07-05 19:24:58 +01:00
Marc Cohen 9a44ebf669 parallelize upload of runtime objects 2015-07-05 19:17:45 +01:00
Marc Cohen 335dccd874 make default build generate color combos of css files 2015-07-05 16:37:22 +01:00
Addy Osmani 1c53494d67 Tidy up build-time header. (Closes #698) 2015-07-05 15:20:26 +01:00
Addy Osmani 68e24cf37b Ensure bower, npm and LIC files are added to dist (Closes #697) 2015-07-05 12:25:57 +01:00
Nicolas Garnier 887bfacb4c Adding syntax highlighting for CSS and JS (Closes #623) 2015-07-03 14:45:02 +01:00
Nicolas Garnier e125e99c3b csso instead of uglifycss 2015-07-03 14:45:02 +01:00
Nicolas Garnier 1f4f7ce73f Fix the syntax highlighting so that it does not generate links for each HTML tags. We had to switch to a "local" version since the version o cloud flare contains the plugin which generates the links by default. 2015-07-03 14:45:01 +01:00
alex dc6e889b2c Serve hosted over HTTPS
Based on proposal in #629.
Closes #629.
2015-07-03 11:45:35 +01:00
Alexander Surma 7c71c9b62a Refactor customiser
Decouple rendering from DOM

Don't do DOM operations if no DOM has been given

Make downloading someone else's responsibility

Generate ALL the stylesheets (closes #394)

Fix downloading on IE

Add utility functions

Move constants to the top

Add TODO comment to gen task
2015-07-02 18:09:42 +01:00
alex d21217c65a Merge pull request #583 from google/gcs-acl
Avoid public-read ACL on GCS buckets
2015-07-01 14:00:36 +01:00
alex a711db76bf Update gsutil cmd comments 2015-07-01 13:58:50 +01:00
alex 7222c69d25 Avoid public-read ACL on GCS buckets on publish
Setting a bucket or object to public-read will remove all OWNER and
WRITER permissions from everyone except the bucket or object owner.

This is why deploying from one account would then fail publishing from
another.

The ACLs are now updated automatically by setting default ACL
on the buckets:

$ gsutil defacl ch -g all:R -u service-account-email:O gs://bucket

all:R makes sure all objects will be READable by anyone on the web.

service-account-email:O will add the servie account to the OWNERs of
each uploaded object so that drone can auto-update changes to the
staging bucket even if someone else has previously pushed an update
manually.

The above has been done to the staging bucket.
2015-07-01 13:29:51 +01:00
Addy Osmani b887c1a7d1 Fixes duplicate comments in minified JS build
Prior to this fix we saw repeated comments in the build for minified
JS. Whilst this is otherwise fine for the unminified build (at this
time) we shouldn’t be including dupes for license headers.
2015-06-30 17:44:52 +01:00
Addy Osmani 79f09f850a Support release of templates/assets/built-files 2015-06-30 14:02:35 +01:00
Addy Osmani 9c44638246 zip:library > zip:mdl, zip:site > zip:templates 2015-06-30 11:43:39 +01:00
Addy Osmani c390ba04a5 Include bower.json & package.json in builds 2015-06-29 18:59:53 +01:00
Addy Osmani 8aa417b5b1 Make JSCS happy 2015-06-29 18:57:45 +01:00
Addy Osmani c89317ca52 Generate bundles for JS/CSS as well as site/templates 2015-06-29 18:54:20 +01:00
Nicolas Garnier 05a672b63a Use templating for MDL libs included in copy-to-Codepen feature. 2015-06-25 18:31:09 +01:00
Addy Osmani b9c24b0cd9 Revert of 165a9811d8 2015-06-25 18:16:15 +01:00
Addy Osmani 90f527ff5d Merge branch 'master' of https://github.com/google/material-design-lite
* 'master' of https://github.com/google/material-design-lite:
  Adding the concept of a demo file to snippets.
  Fixing menu z-index
  Update android.com screenshots Fixes #468
  Turn card actions into buttons on android template (fixes #463)
  Handle raised buttons appropriately
  Revamping card demos based on new mocks.
  Further card styling fixes.
  Add vertical align to snippets demo cells.
  Fix primary/accent colored flat buttons (fixes #466)
  Fix dashboard card (fixes #464)
  Lint gulpfile.js & fix linting errors
2015-06-25 17:42:00 +01:00
Addy Osmani 165a9811d8 Experiments 2015-06-25 14:16:41 +01:00
Addy Osmani da4fba7f95 Lint gulpfile.js & fix linting errors 2015-06-25 11:34:00 +01:00
Marc Cohen 3c8be4e374 Add ability to publish runtime elements into separate code.getmdl.io bucket. (Closes #465) 2015-06-25 09:45:02 +01:00
Nicolas Garnier bcf169e42c Merge pull request #457 from google/getting-started-update
Templating the URL prefix of the Hosted libs...
2015-06-24 18:12:59 +01:00
Nicolas Garnier 6577c697a7 Templating the URL prefix of the Hosted libs
Add MD font to getting tarted guide snippets
2015-06-24 18:07:42 +01:00
Nicolas Garnier 310c6c89a9 Generate demo widget based on snippets. 2015-06-24 15:55:07 +01:00
Marc Cohen f79861f0c6 Merge pull request #417 from google/staging
add support for staging publish and related changes
2015-06-24 13:51:58 +01:00
Marc Cohen ba634bf192 clean up obsolete gulp tasks 2015-06-24 13:47:45 +01:00
Marc Cohen 55ece01ce2 refactor publish tasks to support promote from staging 2015-06-24 13:40:47 +01:00
alex bb6a7ca6cf Make mocha-phantom use tap reporter 2015-06-24 11:42:59 +01:00
Sérgio Gomes 821cd4bfcf Ensure the autoprefixer runs on demos and components pages.
Fixes #432
2015-06-23 16:30:52 +01:00
Alexander Surma 9e93570d5b Fix emberrassing typo in customizer 2015-06-22 19:46:15 +01:00
Marc Cohen f130c8dd84 add publish:gcs gulp task to push microsite to gcs bucket
added publish dep on default task (per Surma comments)

add support for cache control tuning

remove redundant comma

use {read:false} on gulp.src to avoid wasting time reading file contents

remove publish dep on default and rename two publish tasks per Alex' comment
2015-06-19 21:47:29 +01:00
Alexander Surma 49d0ebc71d Implement microsite review (closes #372)
commit 0989b81b4e0b9a6e01e8d601182d827da0c3ec2b
Author: Alexander Surma <surma@surmair.de>
Date:   Wed Jun 17 17:28:34 2015 +0100

    Fix header images

commit 01b9dcd54e9ad385f4d03840bede88eec4b6d094
Author: Alexander Surma <surma@surmair.de>
Date:   Wed Jun 17 17:14:06 2015 +0100

    Fix microsite from visual diffing

commit bfdda8a8e7fad9e2d9541d72d77acefdfb0122a5
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Jun 15 18:50:48 2015 +0100

    Minify javascript on microsite as well

commit 03f3730c097a50f585d7cf8a3dd82e8bc12eeceb
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Jun 15 18:47:49 2015 +0100

    Add scrolling buttons to mobile navbar on microsite

commit 63bd2c58f1fe773767b1035947e708cc95ddfcc9
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Jun 9 13:06:05 2015 -0700

    Implement review for microsite
2015-06-17 17:49:23 +01:00
Nicolas Garnier fc9310d712 Merge pull request #398 from google/getting-started
Getting Started guide UX/UI review
2015-06-16 17:57:22 +02:00
Sérgio Gomes 603842934e Adding android.com template.
Also fixing templates:fonts task.
2015-06-16 15:41:51 +01:00
Nicolas Garnier 32f85b3871 Adding version number to the header 2015-06-16 15:33:52 +02:00
Sérgio Gomes 5a360b7f2e Style fixes to gulpfile 2015-06-15 17:36:58 +01:00
Addy Osmani 57fa9c7d8f Add support for grid-specific builds 2015-06-15 17:24:52 +01:00