Commit Graph

20 Commits

Author SHA1 Message Date
Emily Stark
a102872a96 Rework browser-policy to make API more intuitive.
- Remove starter-browser-policy and replace it with
  BrowserPolicy.enableContentSecurityPolicy(), which gives you the starter
  policy and allows you to use the other BrowserPolicy functions to configure
  it. This is motivated by the fact that the API isn't very intuitive without a
  well-defined starting policy. ex: if the package starts off without a policy,
  and then the user calls allowAllContentSameOrigin(), that will result in
  turning off inline scripts, which is probably not what they wanted.
- AllContent functions do more of what you'd expect now;
  i.e. BrowserPolicy.disallowAllContent() actually disallows all content,
  instead of setting default-src to 'none', which will allow other types of
  content that have previously had srcs set for them.
- Add some tests
2013-09-28 18:44:04 -07:00
Emily Stark
e6300461b1 Reorganize browser-policy docs a bit.
Addressing Nick's suggestions. Haven't decided yet about combining
browser-policy and starter-browser-policy docs.
2013-09-28 18:44:04 -07:00
Emily Stark
4893fe048c Package for security-related http headers. 2013-09-28 18:44:04 -07:00
David Glasser
e9e558cd98 toc, also reorder appcache/amplify 2013-04-18 19:17:53 -07:00
David Glasser
f72a7223c5 More check docs 2013-04-18 19:17:53 -07:00
Andrew Wilcox
9c55aeeb97 appcache package
This code depends on PR 680.  In addition, the docs include a link to
the proposed AppCache wiki page.

Adds the appcache smart package and associated documentation.

QA notes are in packages/appcache/QA.md (Is this a good place to put
them?)
2013-02-21 18:41:53 -08:00
David Glasser
9a7ac87778 Document random package. 2013-02-13 00:42:05 -08:00
David Glasser
a5cc93ee55 Remove the 'sass' package, as warned in 0.5.0.
Meteor's sass package wraps the "sass" NPM module, which implements a version of
the Sass language much older than the .sass described at sass-lang.com (and
doesn't implement the current recommended .scss language at all). It also has
poor error handling, so it mostly just ends up confusing users.

The module is unmaintained, and its author now uses stylus/nib (which Meteor
supports: see the stylus package).

If many users want Sass support, we could add this back in wrapping the
"node-sass" package instead (which supports a more recent version of the Sass
language), but for now, just remove it. Meteor still supports Stylus and Less
out of the box.

Fixes #143.
2012-11-05 15:24:08 -08:00
Matt DeBergalis
ad1656b2cf D3.js package 2012-10-15 16:48:23 -07:00
Nick Martin
3b0732fc1d Add accounts-ui package. 2012-10-11 15:01:39 -07:00
Avital Oliver
b0d181dbcc Add the replaceLocalhost option to Meteor.absoluteUrl 2012-09-20 15:07:52 -07:00
Nick Martin
b3ada2cf4f Document absolute-url package. 2012-08-15 23:28:51 -07:00
Nick Martin
78c47533b5 Initial documentation. 2012-08-02 22:21:13 -07:00
Nick Martin
32206de243 Update docs for new features. 2012-07-12 22:07:27 -07:00
matt debergalis
192537d0df bootstrap package docs 2012-04-27 10:21:21 -07:00
Nick Martin
896775cf43 Fix alphabetical order. 2012-04-26 17:44:32 -07:00
Nick Martin
05efb31504 Docs and license for sass. 2012-04-26 17:43:35 -07:00
Nick Martin
717d710a3b Docs for stylus. 2012-04-26 14:40:07 -07:00
matt debergalis
7377ce2041 Major formatting and content update to docs. 2012-03-20 16:55:30 -07:00
matt debergalis
0b3907a476 Import Meteor documentation 2012-02-02 17:20:07 -08:00