Commit Graph

34 Commits (0f4b53c176fb7ce8591e83e9dab1cf2bbd9ac578)

Author SHA1 Message Date
lilia 850a91c77d Fix message sending 11 years ago
lilia d446da90c4 Someday we'll have images for contacts 11 years ago
lilia 98cfc1b701 Remove old convo compose view 11 years ago
lilia 511b121a2f Refactor conversation view into two classes
One that resides in the left hand column as a list item, and another
which displays in the main column and handles ui events therein.
11 years ago
lilia 9082781e09 Make header and footer/form work without overflowing 11 years ago
lilia def32f42d4 New layout/design
Two column layout and style tweaks. Templatized conversation views.
Generalized list view.
11 years ago
lilia 7e20838128 Rename file 11 years ago
lilia 2e3d89ef78 Use mustache template for message rendering 11 years ago
Matt Corallo 28d1f370cd mkdir nacl 11 years ago
Marco 13a9329bcf improved number validation (based on google's libphonenumber) 11 years ago
lilia ce3c5eb909 Refactor conversation list view
Pull apart UI classes for displaying and creating threads.
Also get rid of ugly alert popup in favor of Whisper.notify.
11 years ago
Matt Corallo 6ae95107c0 Merge pull request #47 from rpicard/minify-deps
Minify CryptoJS dependencies with uglify-js
11 years ago
Matt Corallo d0fd3e94d8 sendMessage refactor, initial group stuff (breaks message storage) 11 years ago
Robert Picard 2d700e2104 Covert spaces to tabs 11 years ago
Robert Picard f13d47360a Update dependencies in popup.html and test.html 11 years ago
Matt Corallo cf35b7056f Retry API, standardize <script> list 11 years ago
lilia 83508abab8 Thread model and UI improvements
Adds thread model/collection for managing conversation-level state, such
as unreadCounts, group membership, thread order, etc... plus various UI
improvements enabled by thread model, including an improved compose
flow, and thread-destroy button.

Adds Whisper.notify for presenting messages to the user in an orderly
fashion. Currently using a growl-style fade in/out effect.

Also some housekeeping:
Cut up views into separate files.
Partial fix for formatTimestamp.
Tweaked buttons and other styles.
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
lilia 41d50d7480 Lilia's Webcrypto branch rebased and a few very tiny tweaks 11 years ago
Matt Corallo 3e60368a16 LGPL license (I'd like to be an axolotl/TS JS lib in the future) 11 years ago
lilia 49cdf04065 Work on message styling
Replicates some styles from the android app.
11 years ago
Matt Corallo e492aae172 Fix popup refreshing on send 11 years ago
lilia a67ab3a46f Make popup a little nicer to look at
Also add a little auto-suggestion contacts list. For now it just
contains your own number.
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 fe1b5435aa Add FakeWhisperAPI for serverless development
When included after api.js, fake_api.js inits a FakeWhisperAPI.

FakeWhisperAPI inherits the methods of API, overrides a few, and
then usurps its place as the one true API.

Single device mode successfully "registers" against FakeAPI. Sadly,
multidevice mode has a recursive loop somewhere that makes the callstack
asplode.
11 years ago
lilia 6934ba0b92 Refactor Server API functions
The details of the server API are now mostly relegated to api.js, and
accessed through the API container object, improving modularity and
readability, and setting us up to derive a FakeAPI for serverless
development.
11 years ago
Matt Corallo b8357a6464 Unmiified js files, mostly 11 years ago
Matt Corallo fee6a69083 Optional curve25519 in js 11 years ago
Matt Corallo 8db3885659 Updates, NaCL 11 years ago
Matt Corallo eec4c66ef6 Fixup dir structure 11 years ago
Matt Corallo f4755cb4b1 Updates 11 years ago
Matt Corallo 7e811c2855 Working registration 11 years ago
Matt Corallo 2427b73057 Untested Code 11 years ago
Matt Corallo a25cf5f176 Initial Checkin 11 years ago