Commit Graph

942 Commits (d0a529351c6ce39d8b874cc82ac129f9dc4bc4d4)
 

Author SHA1 Message Date
lilia d0a529351c Fix sending messages with no attachments 10 years ago
lilia a5e80e8a5a Really close conversation windows
Only the inbox should hide when closed.
10 years ago
lilia 5d3a2a4cc8 Fix file inputs
As a chrome app we are obligated to use the fileSystem api, and must do
so via the window in which we want to open the dialog.
10 years ago
lilia 7d481fdc21 Style tweaks for new window chrome 10 years ago
lilia 39d11d8eb3 Apply custom chrome to conversation windows 10 years ago
lilia 95f8e3921c Keep inbox window open, but allow it to be hidden
As a chrome packaged app, we have to keep at least one window open in
order to maintain our websocket connection in the background page.

This change replaces the system window frame with custom buttons in the
inbox header, such that the 'close' button merely hides the window
rather than unloading it.

Fixes #237
FREEBIE
10 years ago
lilia b83ce7a015 Delay conversation creation til post-decrypt 10 years ago
lilia 12eb553a3f Draw attention to windows on new messages 10 years ago
lilia 0b31823989 Wait for storage on launch 10 years ago
lilia 37086fde19 Modify default grunt task to include copy 10 years ago
lilia db9c96ce91 Fix preen config 10 years ago
lilia 08878b3dc8 Update inbox after sending a message
Also change the event name to reflect how its being used, and stop
passing the message object around since it is not being used.

// FREEBIE
10 years ago
lilia e9d7864f75 Set conversation type when creating from sync message
When a conversation is created as the result of a sync message, and it
is not a group, we need to set its type to private.

// FREEBIE
10 years ago
lilia 7e8b1319a5 Ignore sync contexts on messages not from ourselves
But process the rest of the message normally.
10 years ago
lilia fdd2eb0d3e Make conversation windows taller 10 years ago
lilia 1b83932a29 Update open conversations on sync messages 10 years ago
lilia 090cc84452 Do not include destination on group sync messages 10 years ago
lilia 1ed0ef5bc3 Process group updates before sync delivery receipts
Because we need to know the group members to find early-arrival
receipts.
10 years ago
lilia 654373d743 Fix null conversationId on group sync messages 10 years ago
lilia 65a6068003 Fix for out-of-order message/receipt arrival
In a multi device world, it's possible to receive a receipt for a sync
message before the sync message actually arrives. In this case we need
to keep the receipt around and the process it when the message shows up.
10 years ago
lilia c4fa2cb935 Fix sync message timestamps 10 years ago
lilia d1bcafad65 Update libaxolotl 10 years ago
lilia fd52575cd8 Remove obsolete build file 10 years ago
lilia 88f0aa471f Correct production server url 10 years ago
lilia 242f1e80a7 Fix image corruption in /dist 10 years ago
lilia 16e9f03d8f Check for registration when launched 10 years ago
lilia f6a326577d Crash fixes for chromium
My current version of chromium inexplicably exposes a crippled version
of chrome.browserAction even though we are now a packaged app and should
not have that functionality exposed to us anymore. This results in some
errors to the tune of "property 'foo' of undefined".

It also doesn't support the innerBounds property for window creation,
only the older (deprecated) bounds property.
10 years ago
lilia 7ec377950c Remove manifest attributes
These properties are not supported in packaged apps.
10 years ago
lilia 029c9754f0 Fix tests 10 years ago
lilia 5a7ab54ee6 Fix registration page
Also make it accessible by providing a mode argument to the install
function. Previously developers could just edit the url but we no longer
have the address bar as an app window, so now they must close the
default installer and run the following from the background page
console: `extension.install('standalone')`.

In the production build, this should result in an error since it is not
supported / the register page is not included there.
10 years ago
lilia 7afd0a02e8 Convert beforeunload listeners 10 years ago
lilia 002ff45312 Adapt window management to chrome app window api
Appify tabs, windows, browserAction

Port the extension.windows.focus function to new window api and
generalize its error handling in the case where the requested window
does not exist. An error will be passed to the callback.

Port extension.browserAction and rename it to the more generic
extension.onLaunched.

Use of the id option when opening a window ensures that attempting to
open a duplicate window merely focuses the existing window.

Finally, after registration, close the options window and open the
inbox.

Port extension.remove
10 years ago
lilia ddbaf87741 Load notifications script from background page 10 years ago
lilia f90f6328dd Don't resolve the background page til storage is ready 10 years ago
lilia 704c6ce779 Signaling key is now an array buffer 10 years ago
lilia 3f37cd21a9 Remove remaining traces of localStorage
Add window.storage to the background page, which loads all data from the
'items' store in indexeddb, caching them in memory for synchronous
access, then override textsecure storage to use that in memory store.
10 years ago
lilia a3c5b0959f Port textsecure.storage.impl to indexeddb 10 years ago
lilia d230df5622 Move local identitykey and registrationid to indexeddb 10 years ago
lilia fe1d78b5fa Load protobufs asynchronously. Fixes #223 10 years ago
lilia b8c5bc293c App windows cannot be refreshed 10 years ago
lilia 76e170686a Make getBackground async 10 years ago
lilia a57363f1c0 Update manifest to be a chrome packaged app 10 years ago
lilia 22796099d8 Fix manifest 10 years ago
lilia 7799bef86c Tweak key conflict error messages
Be generic, because sometimes it's not TextSecure, but Signal.
10 years ago
lilia 6572c0836f Get notification permission on install
Notifications are still configured off by default, but now we don't need
to trigger the pop-down permission dialogue if the user enables them.
10 years ago
lilia 8da062f75c Resize icon to various resolutions
You want icon sizes? I got all the size you need.
10 years ago
lilia f8db7c606a Include bootstrap via sass
One less file to load on the options/register page.
10 years ago
lilia 7da9a1d5a7 Use production server in /dist 10 years ago
lilia 65c069b3d3 Update extension name and description 10 years ago
lilia 915612114b Remove general get/put/remove methods from AxolotlStore 10 years ago