Commit Graph

32 Commits (4518d03f43a5ff119055103f5c1ab5647f250fed)

Author SHA1 Message Date
lilia 88b1f8839d Remove curve25519.js
This implementation isn't doing us any good since it doesn't have all
the stuff we need for v3.
11 years ago
lilia f7d92ccb5b Bowerize backbone.localstorage 11 years ago
lilia 6e86a2b7cf Switch libphonenumber to bower 11 years ago
lilia 8e48d95cb4 Switch crypto js to bower via google code svn
Plus grunt task to build CryptoJS from these sources.
11 years ago
lilia 0cc0b8cc72 Switch tagsinput to bower 11 years ago
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.
11 years ago
lilia 2ec6a66daf Move qrcode lib to bower 11 years ago
lilia 31db562ec4 Remove old underscore 11 years ago
lilia 6e739a8a77 Add mustache to bower 11 years ago
lilia 0c5e67d469 rm old jquery 11 years ago
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.
11 years ago
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.
11 years ago
lilia c8ad65efe0 Switch to bower dependencies
Checks in only the files we actually need from bower_components.
11 years ago
lilia 7a6c15bb32 Avoid background thread overwriting outgoing messages 11 years ago
lilia 2bd77693e1 Refactor options page and style using bootstrap 11 years ago
lilia 0f4b53c176 Update records list in BBLocalStorage on fetch
Previously, would only update the known messages.
11 years ago
lilia 28e16aaae8 bootstrap tags input 11 years ago
lilia 2e3d89ef78 Use mustache template for message rendering 11 years ago
Matt Corallo a6b0d1f84b Add entirely untested secondary device init 11 years ago
Matt Corallo 379115d902 Add qrcode from https://github.com/davidshimjs/qrcodejs 11 years ago
Marco 13a9329bcf improved number validation (based on google's libphonenumber) 11 years ago
Matt Corallo a88d17e55f Fix CryptoJS minify 11 years ago
Robert Picard 5f827fbbf7 Minify CryptoJS dependencies
Closes #18
11 years ago
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.
11 years ago
Matt Corallo 3744b168e5 Update to jQuery 2.1.1 + jQuery pull #1525 11 years ago
Matt Corallo d56c3e1051 Add bit for !identityKey and commit wip test-cases 11 years ago
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
11 years ago
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.
11 years ago
Matt Corallo b8357a6464 Unmiified js files, mostly 11 years ago
Matt Corallo 9e1c1f57f0 Add js 11 years ago
Matt Corallo 6b0a1ac260 add nacl-common.js 11 years ago
Matt Corallo eec4c66ef6 Fixup dir structure 11 years ago