Commit graph

27 commits

Author SHA1 Message Date
lilia
508c59e05c Rename bower_components
To components. Because tab-completion works better when there aren't two
things starting with bower, and shorter names are nicer to deal with in
general.
2014-10-30 16:53:08 -07:00
lilia
2ec6a66daf Move qrcode lib to bower 2014-10-30 14:14:20 -07:00
lilia
31db562ec4 Remove old underscore 2014-10-30 02:04:18 -07:00
lilia
6e739a8a77 Add mustache to bower 2014-10-30 01:52:06 -07:00
lilia
0c5e67d469 rm old jquery 2014-10-30 01:48:40 -07:00
lilia
e156c2c0dd Use jquery with native transport support
The jquery mainline is lagging on support for responseType:
'arraybuffer', an XHRHTTPRequest Level 2 feature (whatever that means).
We use this responseType to transfer attachments.

I rebased https://github.com/jquery/jquery/pull/1525 on the 2.1.1
release and cut 2.1.1-ajax-nativetransport in my own fork.
2014-10-30 01:32:27 -07:00
lilia
73f4f64351 Grunt preen and concat
Set up grunt with tasks for:
  * preen - deletes unused files from bower_components, configured in
      bower.json
  * concat - concatenates preened bower components, configured
      automagically from the preen config

It's worth noting that this setup assumes the order of files within a
package doesn't matter. This is usually true since we often include only
one file from the package.
2014-10-29 20:50:51 -07:00
lilia
c8ad65efe0 Switch to bower dependencies
Checks in only the files we actually need from bower_components.
2014-10-29 20:50:51 -07:00
lilia
7a6c15bb32 Avoid background thread overwriting outgoing messages 2014-10-15 19:01:30 -07:00
lilia
2bd77693e1 Refactor options page and style using bootstrap 2014-10-14 13:59:43 -07:00
lilia
0f4b53c176 Update records list in BBLocalStorage on fetch
Previously, would only update the known messages.
2014-10-09 20:08:28 -07:00
lilia
28e16aaae8 bootstrap tags input 2014-08-25 18:48:12 -07:00
lilia
2e3d89ef78 Use mustache template for message rendering 2014-07-27 11:35:48 -10:00
Matt Corallo
a6b0d1f84b Add entirely untested secondary device init 2014-07-26 01:32:05 -04:00
Matt Corallo
379115d902 Add qrcode from https://github.com/davidshimjs/qrcodejs 2014-07-26 01:32:05 -04:00
Marco
13a9329bcf improved number validation (based on google's libphonenumber) 2014-06-29 16:39:05 -07:00
Matt Corallo
a88d17e55f Fix CryptoJS minify 2014-06-03 16:10:58 -04:00
Robert Picard
5f827fbbf7 Minify CryptoJS dependencies
Closes #18
2014-06-03 11:45:30 -07:00
lilia
b852e68290 Backbone message storage and views
Adds Backbone-based Whisper.Messages model/collection with local storage
extension. Saves sent and received messages in Whisper.Messages instead
of message map. This will assign a unique id to the message and save it
to localStorage.

Adds Backbone-based view to popup.html
  Automatically updates itself when new messages are saved to
  Whisper.Messages db from the background page.

Added some shiny new styles, and started splitting up css into multiple
files for sanity's sake.
2014-05-17 20:26:50 -07:00
Matt Corallo
3744b168e5 Update to jQuery 2.1.1 + jQuery pull #1525 2014-05-14 22:02:35 -04:00
Matt Corallo
d56c3e1051 Add bit for !identityKey and commit wip test-cases 2014-04-07 13:11:01 -04:00
Matt Corallo
136a8941c1 Things:
* key API changes moxie made because he disliked the other API
 * remove atmosphere
 * Fix some bugs in the send path, update for new send API
 * Send HTML
2014-03-25 15:27:19 -04:00
lilia
a542d91bc6 Minor updates to curve255.js
1. Removes unused x arguments from several functions. Patched from:
https://github.com/rev22/curve255js/commit/cada7f96e4d9751184dc8

2. Lets curve25519b32 gracefully handle an undefined second argument.
2014-03-09 18:00:14 -07:00
Matt Corallo
b8357a6464 Unmiified js files, mostly 2014-03-09 17:54:44 -07:00
Matt Corallo
9e1c1f57f0 Add js 2014-03-09 20:32:34 -04:00
Matt Corallo
6b0a1ac260 add nacl-common.js 2014-02-08 02:34:06 -05:00
Matt Corallo
eec4c66ef6 Fixup dir structure 2014-01-22 03:28:35 +00:00