Matt Corallo
cb6cb4ff89
Re-add jquery as it is needed for our test runners
10 years ago
Matt Corallo
8398a52c20
Re-run concat
10 years ago
Matt Corallo
bb32a51d66
s/textsecure.protocol/axolotl.protocol/
10 years ago
Matt Corallo
403ae4376d
Move attachment/websocket [en|de]cryption to libtextsecure
10 years ago
Matt Corallo
184b1ec89c
Move protocol protobufs to libaxolotl/, handling DeviceControl
10 years ago
lilia
05a5b7e76c
Fixes #152
...
Android client was crashing any time the base64-encoded public key
included a '+' due to lack of url encoding.
10 years ago
lilia
a104ee9ca6
Remove unused variables
10 years ago
lilia
44f9ea5d49
Fix identity key error rendering
10 years ago
lilia
9fe99adf0c
Get scrolling right on conversation load
10 years ago
lilia
f5c7be7d35
Add some resizes
10 years ago
lilia
5a302271b3
Remove unneeded listeners
10 years ago
lilia
0463e385e8
Remove uneeded render
...
This is an artifact of a time when conversation elements would pop in
and out of the dom at a moment's notice, and thus needed to rebind their
event listeners regularly.
10 years ago
lilia
5e064db28f
Render the message list view.
10 years ago
lilia
5ad5464dd1
Fetch messages in the background
10 years ago
lilia
52b3114970
Simplify list view resizing
10 years ago
lilia
3279dddcc3
Consolidate window logic in panel controller
...
Previously the conversation window would query the background page
for a model id and then fetch the conversation. Instead, we can fetch
the conversation before opening the window, which simplifies the front
end scripts and avoids creating multiple copies of the same model.
10 years ago
lilia
44b1e5c88e
Move inbox collection to the background page
...
No more waiting, no more messy fetch logic. Background page
bootstraps the inbox and keeps it up to date.
10 years ago
lilia
a5bc261365
Clear selected files after each sent message
10 years ago
lilia
2de682ef7b
Don't create a group without a name
10 years ago
lilia
d5c85dfbd8
Resize inbox listview after it finishes loading
...
Ensures that scrollbars are properly setup on load.
10 years ago
lilia
4422582ab7
Fixup opening existing private conversations
10 years ago
lilia
200981e022
Avoid adding empty-string numbers to recipients
10 years ago
lilia
3a099657e6
Untangle select vs open events
10 years ago
lilia
b27826cba5
Conversations must have an id before saving
10 years ago
lilia
a7a44e9b99
Swap in unminified typeahead code
...
For your debugging and auditing convenience.
10 years ago
lilia
9087918500
Don't add new convos to inbox until a message is sent
10 years ago
lilia
af49ad9b90
Dry up new contact init and handling
10 years ago
lilia
63d232dedb
Draw attention to invalid numbers
10 years ago
lilia
746e6530b9
WIP pill view for selected recipients
10 years ago
lilia
c84ccfc735
Wrap model phonenumber validation in try/catch
10 years ago
lilia
eae072e72d
Remove unneeded var, add todo
10 years ago
lilia
fc3a600e72
Validate conversation type
10 years ago
lilia
5e3ed1658b
Show phone numbers in contact selector
10 years ago
lilia
9e245e67e0
Fix double-opening exsisting conversations from typeahead
10 years ago
lilia
b2345a5ec8
Remove unused variable
10 years ago
lilia
ce4ce164af
Stop clobbering conversation attributes
...
Unless the background page fetches the latest details of a conversation
before updating it, it may clobber or nullify some attributes e.g., the
contact's name.
10 years ago
lilia
aca3db97da
New messages auto-update the inbox & conversation
...
When a new message arrives, if its conversation is not already opened,
the background page opens it. If it is alrady open the window is
focused. Finally, the 'message' event is triggered, resulting in
1. the inbox refetches conversations
2. all conversations fetch new messages
TODO: only send this event to the target window
10 years ago
lilia
db5e7fd6b6
Fix list view scrolling
...
Resize handlers are ugly. But not as ugly as scroll handlers. :p
Normalized some whitespace along the way.
10 years ago
lilia
0f29cf2043
Put spaces between joined members in group updates
10 years ago
lilia
d435ff003b
Improve typeahead contact selector experience
...
Store and match on various phone number formats. Still not perfect, as
occasionally all the models are returned for a non-matching query.
10 years ago
lilia
acc2c6f536
Sort contact selector by title
10 years ago
lilia
51dd287b60
Break up a long line
10 years ago
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.
10 years ago
lilia
b3e32a2642
Only load contacts (not groups) in the typeahead
10 years ago
lilia
2f93fb9fbc
Remove unneeded comparator
...
This collection is just an in-memory indexer used for typeaheads. For
display, the matching models are added to a separate collection. Thus,
the order of the elements in the typeahead collection does not matter.
10 years ago
lilia
0d6fbabb3e
Trigger a checkbox event from conversation list items
10 years ago
lilia
e05405e832
Format phone numbers before saving conversations
...
Saving the national and internation versions of the number lets us use
those attributes in a typeahead collection.
10 years ago
lilia
ed928aa4e3
Add index on conversation type
...
So we can load only groups or only contacts.
This changes the schema and requires you to delete your database to
re-run the migration.
10 years ago
lilia
3d5553df09
Remove listener for model open event
10 years ago
lilia
87cd3f5053
Save and open new contact on click
10 years ago