Scott Nonnenberg
305bd6b3b8
App loading screen: show messages processed so far
...
Also, show the same loading screen on index.js before we've bootstrapped
the app.
FREEBIE
2017-08-04 12:03:25 -07:00
Sam Vevang
e4a21d1a53
move main application view over to messageReceiver namespace
...
The goal here is to allow synchronous property lookup between objects
and mvc/backbone semantics.
// FREEBIE
2017-04-08 00:10:56 -07:00
lilia
d07357ce9a
Retool various sub-screens to fit two-column layout
2015-08-26 15:15:14 -07:00
lilia
4ee8eb4bd1
Change inbox title
2015-05-22 12:30:26 -07:00
lilia
8da062f75c
Resize icon to various resolutions
...
You want icon sizes? I got all the size you need.
2015-05-07 17:30:29 -07:00
lilia
db3d97b576
Move icon.png to /images
2015-03-19 18:34:11 -07:00
lilia
08ccdf8d97
Move most scripts to the background page
...
Dramatically improve load times for frontend pages.
Closes #133
2015-03-16 11:57:41 -07:00
lilia
69d5a6a33c
Improve group update ui/ux
...
Promote group update to its own screen. Add typeahead contact selector
from new conversation view. Restyle to match android (more or less).
Closes #186
2015-03-13 17:33:02 -07:00
lilia
d20e23402d
Refactor RecipientsInputView from NewConversationView
...
For reuse on group update screen.
2015-03-13 17:29:28 -07:00
lilia
c73f4d71a7
DRY up scrollable pattern
...
Switch to using gutter class instead of id since there is potentially
more than one usage on the page.
2015-03-09 16:05:06 -07:00
lilia
a72ea7966d
Clean up inbox/compose view rendering and swapping
...
Templatize the inbox view and use the same pattern for in-window view
switching as is now used with the conversation/message detail views.
This means doing more with markup and less jquery manipulation of
individual subelements of the inbox view.
2015-03-09 16:05:06 -07:00
lilia
fd6e2954f7
Curtail over-zealous websocket reconnects
...
Closes #173
Previously, in the event of a failed websocket auth, we would attempt to
reconnect once a second ad infinitum. This changeset ensures that we
only reconnect automatically if the socket closed 'normally' as
indicated by the code on the socket's CloseEvent. Otherwise, show a
'Websocket closed' error on the inbox view.
Ideally we would show a more contextual error (ie, 'Unauthorized'), but
unfortunately the actual server response code is not available to our
code. It can be observed in the console output from the background page,
but programmatically, we only receive the WebSocket CloseEvent codes
listed here:
https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent#Status_codes
The websocket error message is displayed by a normally-hidden but ever
present socket status element. Clicking this element will immediately
refresh the background page, which will try again to open the websocket
connection.
2015-03-09 16:04:26 -07:00
lilia
1bb480f6ea
DRY up a common view pattern
...
Define a Whisper.View base class that automatically parses and renders
templates and attributes defined by the subclass. This saves us a good
number of lines of code as well as some marginal memory overhead, since
we are no longer saving per-instance copies of template strings.
2015-03-05 15:36:35 -08:00
lilia
4cefd17ac6
Remove unused view
2015-03-03 10:55:04 -08:00
lilia
88a708ce03
Fix file inputs on inbox view
2015-03-02 18:32:41 -08:00
lilia
368cd2f79a
Refactor back button style
...
Make it easier to reuse these styles.
2015-02-23 12:52:15 -08:00
lilia
d0392a3e04
Refactor title bar text style
2015-02-23 12:07:06 -08:00
lilia
e96aa2f06e
Remove obsolete script tags
...
For the recently deleted notifications.js
2015-02-23 11:57:57 -08:00
lilia
3a2f6fa232
Update favicons
2015-02-12 13:21:16 -08:00
lilia
711e211e20
Remove bootstrap tagsinput
2015-02-12 13:21:16 -08:00
lilia
af49ad9b90
Dry up new contact init and handling
2015-02-12 13:21:16 -08:00
lilia
746e6530b9
WIP pill view for selected recipients
2015-02-12 13:21:16 -08:00
lilia
5e3ed1658b
Show phone numbers in contact selector
2015-02-12 13:21:15 -08:00
lilia
a00632c728
Hook up group creation flow UI
...
Checkboxes add and remove members as well as exposing the group update
ui. The conversation window is opened after saving the group.
2015-02-11 17:38:01 -08:00
lilia
1334032a89
Add hidden group update form to new conversation view
2015-02-11 17:38:01 -08:00
lilia
b1ad04298f
Add title bar label to new conversation view
2015-02-11 17:38:00 -08:00
lilia
6d81011f6a
Add back button to compose view
2015-02-11 17:38:00 -08:00
lilia
fedfdcdd7e
Style elements for compose flow
2015-02-11 17:37:59 -08:00
lilia
e149650d94
Refactor typeahead into new conversation view
2015-02-11 17:37:58 -08:00
lilia
c6a19afd29
Tweak contact style in typeahead
...
Remove message snippets and dates.
Add checkboxes.
2015-02-11 17:37:58 -08:00
lilia
79cdadd816
Add backbone typeahead component
2015-02-11 17:37:58 -08:00
lilia
a1403c8a9a
Move templates from index to converation pages
...
These templates are only needed in conversations.
2015-02-11 17:37:58 -08:00
lilia
71da6a1df1
Move index2 to index
2015-02-11 17:37:56 -08:00
lilia
dc4ff850ed
Remove search bar
...
It's not really implemented so let's get it out of the way for now.
2015-01-21 13:53:54 -10:00
lilia
ed06161ee7
Quick fix for phone input style
2015-01-17 22:32:47 -10:00
lilia
f73596c240
Add a view for attachment previews
2015-01-16 13:39:01 -10:00
Emily Chao
bb2b53035e
Restyled message attachments
...
Added a size limit, added functionality to delete the attachments before sending in a more user-friendly way
2015-01-16 13:06:49 -10:00
lilia
d470b0eb53
Less jquery, more templating in conversation view
...
`if (foo) then jquery-dom-insert...` is a poor pattern to follow.
Instead, let mustache do the work.
2015-01-15 22:34:52 -10:00
Emily Chao
e74cba8a92
Restyled country dropdown
...
Added jquery plugin that allows for flags and country codes to be
displayed in a user-friendly way, on top of the existing phone view
2015-01-15 15:24:36 -10:00
Emily Chao
5d3020b9ed
Refactor phone number input view
...
Moves validation logic to its own view to be shared on index and options
pages.
2015-01-15 11:51:32 -10:00
lilia
44007ca58f
Add rudimentary ui for sending a group update
2015-01-15 09:23:13 -10:00
Matt Corallo
e7f3e52b6c
Remove NaCL!
2015-01-14 11:39:36 -10:00
Matt Corallo
5785f4033c
Compile curve25519/webcrypto into libtextsecure.js
2015-01-14 09:35:57 -10:00
Matt Corallo
8ad1a38b5b
Move js files around for libtextsecure split
2015-01-14 09:35:57 -10:00
lilia
3d6c251fd1
Group avatars
2015-01-11 01:27:22 -10:00
lilia
d52db8fe6f
Render group updates
...
Not pretty, but it works. Also allows for later localization.
Copy/behavior is borrowed from the Android client.
Closes #104
Fixes #65
2015-01-10 08:08:20 -10:00
Dave Sescleifer
1c47fb7ed8
Contact name now overflows into ellipsis
2014-12-22 23:38:26 -08:00
lilia
4a401f07f3
Rewrite ReplayableErrors
...
ReplayableErrors make it easy for the frontend to handle identity key
errors by wrapping the necessary steps into one convenient little
replay() callback function.
The frontend remains agnostic to what those steps are. It just calls
replay() once the user has acknowledged the key change.
The protocol layer is responsible for registering the callbacks needed
by the IncomingIdentityKeyError and OutgoingIdentityKeyError.
2014-12-18 20:00:14 -08:00
lilia
27fa391112
Indentation
2014-12-18 17:43:36 -08:00
lilia
8257fa7478
Add support for deleting a conversation
...
Note that the conversation record is not actually destroyed,
merely marked inactive, preserving the contact name, photo,
etc...
2014-12-03 01:37:06 -08:00