toberndo/mailvelope — pull request #162 by johnyb (2014-02-08 22:14:21+00:00)
Title: Feature/grunt bower

We decided to use this weekend to do a little sprint to push mailvelope development a little further. We wanted to integrate a decent build workflow using grunt and add dependency management for ui libraries using bower.

While we were at it, we not only ported most Makefile targets, but also introduce new ones, like jshint. We also changed the directory structure a little. No code is generated into any subdirectory of source files any longer, but we build into the `build/` directory instead. This caused some confusion so we decided, it would be better to clean that up.

We did no behavioural changes, so everything should work as before. The only reason to touch some source files were to fix jshint errors. (Basically white-space issues and missing semi-colons.)

TODO (still some issues):

* [ ] switch back to original versions (we wanted to update, but we will do that in a separate PR)
* [ ] switch to bootstrap from bower
* [ ] switch to modernizr from bower (or may be use grunt-modernizr to create a custom build of the lib)
* [ ] switch to wysihtml5 from bower
* [ ] switch to spectrum from bower
* [ ] fix closing frame (seems broken)
* [ ] fix `Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.` when closing error message - check `common/dep/jquery.ext.js`
* [ ] update development howto in readme file (npm install, grunt tasks, …)