| Age | Commit message (Collapse) | Author |
|
|
|
Short summary: if you use local node server everything should work as before,
if you use GAE, everything should work now as well, but we pull assets from CDN.
- GAE doesn't support ':' in filenames, so I had to replace it with '_'
but only in the filename, all servers were reconfigured to rewrite the
urls from : to _ when doing file lookup
- We now pull angular assets from google CDN when deployed on GAE (locally
or in production). When running on a non GAE server we pull assets from
../ directory as before
- Since only certain versions of Angular are available on CDN and we want
to be able to autodeploy docs, I had to pin down the Angular files
to a "stable" version when running on GAE
|
|
|
|
|
|
The support is disabled by default, uncomment relevant lines to enable
it.
|
|
|
|
|
|
|
|
|
|
|
|
quite messy, some tests are missing, contains an experimental jasmine DI support)
|
|
no breaking changes AFAICT
|
|
|
|
sha of the version: da92db714142b49f9cf61db664e782bb0ccad80b
|
|
|
|
There can be url /api which does not end with / and we want to rewrite this url as well...
|
|
|
|
- Configure our docs app to use new $location with html5 history api!
- Update simple node web server to serve index.html for all links
(rewritting).
- Update .htaccess file to serve index.html for all links (rewritting).
- At runtime determine the base href path and attach it to the DOM. We
needed the absolute URL to get all browsers to work well.
- Because of the above, we also need to dynamically determine all needed
js/css resources and add them to the DOM. This was needed because FF6
would eagerly fetch resources with wrong URL since the base element is
added to the dom at runtime.
- All content html files were moved to the partials directory, because
with the new html5 urls it was impossible to tell if request for
http://domain/api/angular.filter.html was an html5 url for the html
filter doc page, or an xhr/appcache request for the content html file
for the html filter.
f
|
|
Closes #556
|
|
|
|
|
|
|
|
So that I don't have to watch the warning all the time :-D
|
|
This is a combination of 4 commits:
* Fix some small typos, missing semi-colons, etc.
* Fix comment for angular.scenario.SpecRunner.run method
* Fixed some missing semi-colons in cookbook
* Fixed missing semi-colon in nodeserver/server.js
|
|
|
|
|
|
the new version minifies our js better:
before | after | diff
-----------------------------------------
min | 62161 | 60868 | -2.1%
min+gzip | 25176 | 24552 | -2.5%
|
|
|
|
|
|
|
|
- split up services into files under src/service
- split up specs into files under test/service
- rewrite all specs so that they don't depend on one global forEach
- get rid of obsolete code and tests in ng:switch
- rename mock $log spec from "$log" to "$log mock"
|
|
|
|
|
|
- romeved mustache.js
- unified templates
- improved testability of the code
|
|
|
|
|
|
|
|
|
|
- jstd upgrade to head from 2010-11-11
- coverage plugin from the same head as jstd
- test-coverage.sh and server-coverage.sh scripts
- jstd configuration
Generate html by installing lconv (brew or port) and run:
genhtml tmp/lcov/jsTestDriver.conf-coverage.dat
to generate html docs.
|
|
|
|
|
|
|
|
- parse jsdocs from source code
- generate prerendered (markdown + mustache) partials
- generate json
- generate scenario runner for examples in docs
- basic angular doc viewer
|
|
using file:// URLs in Application
|
|
Sanitization works in two phases:
1) We parse the HTML into sax-like events (start, end, chars).
HTML parsing is very complex, and so it may very well be that what
most browser consider valid HTML may not pares properly here,
but we do best effort. We treat this parser as untrusted.
2) We have safe sanitizeWriter which treats its input (start, end, chars)
as untrusted content and escapes everything. It only allows elements
in the whitelist and only allows attributes which are whitelisted.
Any attribute value must not start with 'javascript:'. This check
is performed after escaping for entity (&xAB; etc..) and ignoring
any whitespace.
- Correct linky filter to use safeHtmlWriter
- Correct html filter to use safeHtmlWriter
Close #33; Close #34
|
|
specifying a different port
|
|
latest. Cleanup whitespace.
|
|
|
|
|
|
|