Commit Graph

258 Commits (2ec60aa32b72b658446c9079fc488c5c2afb4c73)

Author SHA1 Message Date
Neil Kim Gardose 14ac582a52 Explicitly use absolute path for gulp task "style:gen"
- change to __dirname since "./" means relative to current working directory (Closes #1213)
2015-08-04 10:54:15 +01:00
Surma fef8324436 Merge pull request #1270 from google/cache-ttl
Increase cache TTL to 1 hour for code.getmdl.io
2015-07-31 13:45:00 +01:00
Surma f013445442 Ensure style template is rendered before generating color combos 2015-07-31 12:15:55 +01:00
Surma a54bca20b9 Increase cache TTL to 1 hour for code.getmdl.io 2015-07-31 12:13:20 +01:00
Surma 8f45448f32 Ensure primary and accent are distinct (fixes #1206) (Closes #1228) 2015-07-28 15:38:53 +01:00
Surma 18a6d10b89 Add README to _release 2015-07-23 13:26:55 +01:00
Surma 5a259fe410 Update watch directives (Closes #1147) 2015-07-23 11:17:27 +09:00
Surma c7c01bfd4e Add linters as dependency to scripts task 2015-07-23 11:17:27 +09:00
Surma 311c9b82d7 Rename publish:bower to publish:release 2015-07-23 11:17:27 +09:00
Surma 2be4176174 Use subtree to push _release 2015-07-23 11:17:27 +09:00
Surma db798480f2 Separate lib from microsite in default task 2015-07-23 11:17:27 +09:00
Surma e281fa53d6 Revert "Remove assets from template zip"
This reverts commit 47976db85facb812b6cbd92cc3cc203af46db7d9. (Closes #801)
2015-07-07 12:24:41 +01:00
Surma 12dc04fc7d Remove assets from template zip 2015-07-07 12:24:41 +01:00
Surma dcb828c605 Exclude generated templates from template zip file 2015-07-07 12:24:40 +01:00
Addy Osmani 3b1ca01e96 Update to reflect revised package.json 2015-07-07 09:10:39 +01:00
Marc Cohen 132670194f Merge pull request #722 from google/serve-gzip
Enable serving gzipped content
2015-07-06 14:33:10 +01:00
Nicolas Garnier 39fdd50599 Add syntax highlighting for bash code blocks. (Closes #721) 2015-07-06 14:25:52 +01:00
alex 19779d8742 Enable serving gzipped content
On all getmdl.io, code.getmdl and staging.
2015-07-06 14:24:25 +01:00
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