Commit graph

6609 commits

Author SHA1 Message Date
Matt Corallo 12a849957a Refresh groups on (probably) new identity key (maybe more often?) 2014-06-05 22:28:30 -04:00
Matt Corallo 0f126fc0f8 Keep track of number->groups, add TODO to refresh, other tweaks 2014-06-05 21:05:42 -04:00
Matt Corallo e495e8e3db Group updates to match real protocol and get better checking 2014-06-05 19:20:09 -04:00
lilia ec900e0ea4 Fix double display of outgoing messages 2014-06-03 20:05:41 -07:00
lilia a09a4776d3 Fix incoming message display/storage
There were a few problems.

1. The message event was being triggered in background, not popup
2. The initial message/thread fetches from localStorage were mis-ordered
3. The timestamp wasn't being extracted from the right place
4. #3 caused messages to fail validation and not be saved

1-3 are fixed. To address 4 I switched validate() to log a warning
instead of preventing save.
2014-06-03 19:57:03 -07:00
Matt Corallo c90b9a5c59 Some group update verification 2014-06-03 22:23:51 -04:00
Matt Corallo b1ec02fa92 Group API 2014-06-03 21:09:04 -04:00
Matt Corallo c953c6c16d closeSession 2014-06-03 17:44:30 -04:00
Matt Corallo 12e6b11962 Fix options 2014-06-03 16:13:59 -04:00
Matt Corallo a88d17e55f Fix CryptoJS minify 2014-06-03 16:10:58 -04:00
Matt Corallo 6ae95107c0 Merge pull request #47 from rpicard/minify-deps
Minify CryptoJS dependencies with uglify-js
2014-06-03 20:08:50 +00:00
Matt Corallo d0fd3e94d8 sendMessage refactor, initial group stuff (breaks message storage) 2014-06-03 15:28:30 -04:00
Robert Picard 2d700e2104 Covert spaces to tabs 2014-06-03 12:03:29 -07:00
Robert Picard f13d47360a Update dependencies in popup.html and test.html 2014-06-03 11:55:06 -07:00
Robert Picard 5f827fbbf7 Minify CryptoJS dependencies
Closes #18
2014-06-03 11:45:30 -07:00
Matt Corallo fb2aa6144c Merge pull request #45 from codedust/extractchrome
moved some chromium-specific code into chromium.js
2014-06-02 00:41:51 +00:00
liliakai 9e5f96e17e Merge pull request #46 from codedust/optionsCssImprovements
improved some css for options.html
2014-06-01 15:37:48 -07:00
Marco ce98f87d42 phased out some more inline styles 2014-06-02 00:15:38 +02:00
Marco 5cddcb59aa improved some css for options.html 2014-06-01 22:31:19 +02:00
Marco 69ba6581b0 moved some chromium-specific code into chromium.js (using extension.navigator namespace) 2014-06-01 21:33:58 +02:00
Matt Corallo cf35b7056f Retry API, standardize <script> list 2014-06-01 13:39:35 -04:00
Matt Corallo 8f49d201e6 Fix longstanding(?) attachment bug 2014-05-31 13:33:41 -04:00
Matt Corallo c2d1d816f2 Save sessions in deviceObjects, test using fake_api, minor tweaks 2014-05-31 13:28:46 -04:00
Matt Corallo 1724d122d3 More typos from me being too tired 2014-05-28 04:33:01 +02:00
Matt Corallo 5cea7b6857 Few typos blocking registration 2014-05-28 04:03:23 +02:00
Matt Corallo eb80a10ed1 Fix new function(){}() typo (thanks codedust on GitHub) 2014-05-28 03:53:43 +02:00
Matt Corallo aec36468bc Request new keys (largely untested) 2014-05-28 03:45:40 +02:00
Matt Corallo 56433bd9af One more tiny error refactor 2014-05-28 03:45:40 +02:00
Matt Corallo 68131a6e2a Add human readable version of errors 2014-05-28 03:45:40 +02:00
Matt Corallo 753a950816 Redo registration process 2014-05-28 03:45:40 +02:00
liliakai d21ab1f5e8 Merge pull request #38 from liliakai/threads
Thread model and UI improvements
2014-05-27 14:31:49 -07:00
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.
2014-05-26 15:33:45 -07:00
Matt Corallo 2d12a33ead Fix decoding/protos/tests 2014-05-26 01:48:41 +02:00
James Firth 6a00e8e348 Random things from James-Firth incl update icon 2014-05-26 00:55:38 +02:00
Matt Corallo ac48d552fa Fix some bugs recently introduced 2014-05-26 00:45:55 +02:00
Matt Corallo 21b95ce1d3 Re-create some of d9bf0a4, which was broken and reverted in 1e6720 2014-05-26 00:45:55 +02:00
Matt Corallo 18f1eed70f Some number verification refactor stuff 2014-05-26 00:45:55 +02:00
Matt Corallo d387cd22f5 s/getEncodedNumber// (with XXXs) 2014-05-26 00:45:55 +02:00
Matt Corallo 9aae93fc99 textsecure.protos 2014-05-26 00:45:55 +02:00
Matt Corallo 665f0ef00a Merge pull request #34 from James-Firth/master
Updated README with developer info
2014-05-24 15:55:37 +00:00
James Firth a9dd59ddba Fixed typo so list is a proper bullet list now. 2014-05-24 10:24:15 -05:00
James Firth 5c3d1f927f Updated README
Added info on how to develop
2014-05-24 10:22:14 -05:00
lilia 1e672030de Fix a couple things broken in d9bf0a4
Slight revert from said commit. We really do need the
IncomingPushMessageSignal protobuf at the UI layer, mostly because
it contains the 'source' attribute, without which we don't know
who sent the message.

Also fix a crash when there are no attachments on a message.
2014-05-22 21:59:34 -07:00
lilia 6064afd43d Fix Uncaught ReferenceError: isRegistrationDone is not defined 2014-05-22 21:34:28 -07:00
liliakai b458dbea39 Merge pull request #32 from jerkey/patch-1
fixed a typo in options.html
2014-05-20 21:51:44 -07:00
jerkey fc192a6cce fixed a typo in options.html
i hereby license my contributions under any GPL
2014-05-20 21:44:58 -07:00
lilia de0a1df3ca Fix broken registration flow
Better load the functions defined in chromium.js before trying to use
them. Hmm.. also, options.js should probably wait for the DOM to load
before it tries to initialize things in it.
2014-05-20 21:39:29 -07:00
Matt Corallo d9bf0a41fb textsecure.storage, chromium.js 2014-05-20 22:21:07 -04:00
Matt Corallo ee2f43aba4 Fix, display (image) attachments 2014-05-19 03:07:01 -04:00
lilia 2820ff8f2d Minor css tweak 2014-05-18 22:57:05 -07:00