lilia
7b9894d688
Refactor css to support theming
...
Move away from inline style attributes for setting contact colors.
Apply colors by name via css classes instead. Also lays groundwork
for syncing contact colors.
// FREEBIE
2016-08-30 18:31:02 -07:00
lilia
3531667207
Fix closing recorder when clicking away
...
// FREEBIE
2016-08-25 11:40:40 -07:00
lilia
87f4029210
Fix lint
...
// FREEBIE
2016-08-24 16:56:24 -07:00
lilia
3aa72d2244
Address large font size edge cases
...
Fix some visual bugs occuring at large font size:
* Contact names break onto the next line after their avatars in
message detail screen
* Settings menu font-size failed to scale
* Handle Content overflow in modals.
// FREEBIE
2016-08-24 16:47:39 -07:00
lilia
b330b80484
Change font size on ctrl+scroll
...
Fixes #864
// FREEBIE
2016-08-24 16:10:02 -07:00
lilia
9fa7e7f462
Remove unused view
...
// FREEBIE
2016-08-24 16:08:29 -07:00
lilia
645e05c2b9
Add support for new fingerprint format
...
This will be ready to roll whenever Android/iOS is.
// FREEBIE
2016-08-24 01:50:46 -07:00
lilia
4f46a164ba
Add voice notes
...
// FREEBIE
2016-08-23 16:16:31 -07:00
lilia
9ab64ec44d
Allow localization of month-day format string
...
The short month-day format ex: 'Aug 8', is not built-in to momentjs, so
we need to localize it.
// FREEBIE
2016-08-18 10:41:05 -07:00
lilia
67c7a06c28
Use momentjs for timestamp localization
...
Let momentjs handle proper pluralization of relative times. This comes
at the sacrifice of displaying 'minutes' in the conversation list
timestamp rather than 'min'. Note that we don't use moment's fromNow
instance method so as to preserve the rounding logic that matches the
Android client.
// FREEBIE
2016-08-11 12:22:32 -07:00
lilia
4d9b6917d7
Fix timestamp tests
...
These were failing because chrome's i18n functions aren't available in
test.
// FREEBIE
2016-08-05 17:28:16 -07:00
lilia
688b297050
Move window.chrome reference to chromium.js
...
// FREEBIE
2016-08-05 17:13:55 -07:00
lilia
fed8f62617
Remove untranslatable strings from locale file
...
// FREEBIE
2016-08-05 13:41:23 -07:00
lilia
6a3a724dc4
Add momentjs locales
...
// FREEBIE
2016-08-05 13:20:39 -07:00
Benedikt Radtke
e836bfd3f7
Added basic localization for timestamps
...
This commit implements basic localization for the timestamps in conversations and the conversation list.
// FREEBIE
2016-08-04 17:40:13 -07:00
lilia
3a50a892dc
Don't sort if already sorted
...
// FREEBIE
2016-07-28 18:39:55 -07:00
lilia
748215e285
Fix style
...
// FREEBIE
2016-07-14 11:09:03 -07:00
Benedikt Constantin Radtke
2870c1fff2
Fixed fastforwarding closing videos' fullscreen mode
...
This commit stops the MessageView from adding the attachment more than once. Previously an attachment was appended to the MessageView every time an update
event was emitted, which happens when forwarding.
// FREEBIE
2016-07-14 11:03:14 -07:00
lilia
8a153e942e
Fix lightbox
...
// FREEBIE
2016-06-30 16:56:51 -07:00
lilia
5bff1d2cab
Scope media pausing to the open conversation
...
// FREEBIE
2016-06-30 12:54:00 -07:00
Benedikt Radtke
d5b003a15e
Fixed media pausing behaviour when clicking the conversation list
...
This commit changes the inbox to stop video and audio elements when selecting a new conversation, and to not stop such elements when the same
conversation was selected (fixes #391 ).
// FREEBIE
2016-06-30 12:47:06 -07:00
lilia
f670061669
Pressing escape closes the lightbox
...
// FREEBIE
2016-06-30 12:28:36 -07:00
lilia
a069939f65
Refactor attachment saving for DRYness
...
// FREEBIE
2016-06-30 12:28:36 -07:00
Benedikt Radtke
a1345c52b4
Added Save-As dialog for unsupported filetypes
...
Despite the "click to save"-description of unsupported file types, clicking them did not save them.
This commit implements a Save-As dialog instead of opening the file in chrome.
// FREEBIE
2016-06-30 00:18:36 -07:00
lilia
9091233950
Open images in a lightbox
...
Adds file-write permission for saving to disk from lightbox.
Fixes #810
// FREEBIE
2016-06-20 11:55:23 -07:00
lilia
8e1d884a10
Add button for re-importing contacts from phone
...
Add a section under settings for performing a contact sync from your
mobile device. This just re-runs the same import operation that occurs
at install/link time.
// FREEBIE
2016-06-16 16:43:07 -07:00
lilia
3cd80d3f1e
Remove tool tip from unregistered user errors
...
// FREEBIE
2016-05-26 10:59:43 -07:00
lilia
58c3fe047e
Make error messages clickable
...
// FREEBIE
2016-05-25 20:39:43 -07:00
lilia
b2f07984df
i18n unregistered user errors
...
// FREEBIE
2016-05-25 20:33:14 -07:00
lilia
b6f785737c
Restyle error icons, move them outside the bubble
2016-05-25 20:32:00 -07:00
lilia
292260d973
Remove timestamp logging
...
// FREEBIE
2016-05-23 18:25:03 -07:00
2-4601
d861797d66
i18n 'Permanently delete this conversation?'
...
// FREEBIE
2016-05-05 12:54:15 -07:00
lilia
1d60dc38fb
Rename axolotl storage
...
// FREEBIE
2016-04-22 13:43:30 -07:00
lilia
1fe5d63015
Update protocol libs
...
Rename storage functions
// FREEBIE
2016-04-21 18:36:16 -07:00
lilia
d5dfffd9da
Darken the scrollbar on hover
...
// FREEBIE
2016-04-21 12:06:40 -07:00
lilia
7b29a567b5
More consistent timestamps
...
* Apply the same rounding to in message bubbles and conversation list.
Also make them consistent with Android's relative times. Fixes #682
* Show full timestamps when hovering on relative time
* Compute timestamp update delays more precisely:
Set timestamps to self-update as soon as they are able to change
rather than a fixed time since the last update.
* Refactor for customizable/localizable relative times
* Update timestamp tests
* Log timestamp update intervals to help debug #460
2016-04-21 12:06:39 -07:00
lilia
21bfb61b7a
Maintain scroll position when textarea resizes
...
Fixes #770
// FREEBIE
2016-04-18 19:15:36 -07:00
lilia
3ac7552d2f
Fix errant change event handler from firing
...
A change in the text field was firing the previewImages handler.
// FREEBIE
2016-04-18 19:15:36 -07:00
lilia
47320fbbc5
Fix file input bug introduced in 28c602a
...
Fix bug where clicking the attachment button to select a file would
immediately send any text already entered into the message input.
// FREEBIE
2016-04-15 14:40:40 -07:00
lilia
bb2868f1ec
Debounce updates to notifications and other events
...
Wait for one second of silence before displaying new notifications,
updating the unread count and conversation list previews.
Fixes #470
2016-04-11 14:55:38 -07:00
lilia
1f4587795e
Add link to github on debug log
...
// FREEBIE
2016-04-09 20:55:21 -07:00
lilia
f3de290f7c
Make debug log link focusable/selectable
...
Add button to open in a new tab. Stye as input group.
// FREEBIE
2016-04-09 20:53:39 -07:00
2-4601
e874b61839
Fix typo of quality argument in image compression
...
The quality value should be a float in the range 0.0 to 1.0.
Other values (e.g. 50) are discarded silently and a default is used.
Fixes #713
// FREEBIE
2016-04-09 14:17:47 -07:00
lilia
2506b2115d
Log when fetching messages
...
// FREEBIE
2016-04-08 15:41:46 -07:00
lilia
9aa429e18a
Add frontend support for expiring releases
...
When a release expires, it gets a persistent banner notification to
upgrade, and an ephemeral toast warning when trying to send a message.
// FREEBIE
2016-04-03 21:11:50 -07:00
lilia
d8d34e7afc
Icon upgrade
...
Also remove unused images.
// FREEBIE
2016-04-01 13:59:57 -07:00
lilia
1aa975e199
Differentiate active vs selected conversation states
...
// FREEBIE
2016-04-01 11:37:25 -07:00
lilia
8c03d3e088
Fix sorting of the last element
...
// FREEBIE
2016-03-27 15:29:53 -07:00
lilia
07a0463b65
Fix conversation list self-resorting
...
When deleting all messages in a conversation, the entry in the left pane
should be inserted into the alphabetical portion of the list. To keep it
in this collection, do not nullify active_at.
To ensure the list view is keeping itself correctly sorted, make sure
that resorting behavior is triggered any time a relevant attribute is
changed.
This fixes deleted conversations jumping to the top of the list, and
conversation order scrambling when getting a group or contact sync
message from our master device.
Fixes #734
// FREEBIE
2016-03-25 14:32:57 -07:00
lilia
76652c2622
Update style and copy on key changes
...
// FREEBIE
2016-03-24 13:20:50 -07:00
lilia
512c5bf739
Incoming bubbles have sender's color background
...
// FREEBIE
2016-03-23 17:41:24 -07:00
lilia
5a9358efc9
Reorder object members
...
Group click events together, put custom events at the bottom.
// FREEBIE
2016-03-23 15:09:05 -07:00
lilia
198cc70cef
Remove unusued event handlers
...
The conversation view now handles displaying and listening to the back
button.
// FREEBIE
2016-03-23 15:06:23 -07:00
lilia
6fe9c3f964
Nest key verification inside conflict dialogs
...
// FREEBIE
2016-03-23 15:04:42 -07:00
lilia
3901bcb8df
Style resend button as an inline link
...
For messages that failed to send due to network errors, this change
allows retrying them directly from the main conversation view rather
than only from the message detail view.
// FREEBIE
2016-03-22 15:38:22 -07:00
lilia
08da29969c
Fix menu behavior
...
Opening the global menu should close the conversation menu and vice
versa.
// FREEBIE
2016-03-22 11:01:37 -07:00
lilia
d24eaa655a
Tweak styles on key verification view
...
// FREEBIE
2016-03-21 18:42:05 -07:00
lilia
b57f26bac4
Ignore clicks on the placeholder and its contents
...
// FREEBIE
2016-03-21 17:46:09 -07:00
lilia
d3b035121d
Clean up bottom bar styles
...
// FREEBIE
2016-03-21 17:17:39 -07:00
lilia
234f937bc7
Conversation subscreens share a header
...
// FREEBIE
2016-03-21 15:37:53 -07:00
lilia
d391f07c1e
Change right header color
...
// FREEBIE
2016-03-21 11:03:50 -07:00
lilia
a925657c45
Fix global menu close handler
...
Previously, clicking on a conversation menu would not close the global
menu.
// FREEBIE
2016-03-20 23:34:56 -07:00
lilia
b094607e0d
Highlight bottom bar when focused
...
// FREEBIE
2016-03-20 23:15:21 -07:00
lilia
8bb8ed8151
Change left pane header color
...
// FREEBIE
2016-03-20 21:01:45 -07:00
lilia
7310afd1b4
Replace message list loading spinner with bar
...
// FREEBIE
2016-03-18 17:59:54 -07:00
lilia
647c2761e0
Move restart button into global menu
...
// FREEBIE
2016-03-18 16:21:55 -07:00
lilia
18a5ce8e54
Restyle conversation panel
...
// FREEBIE
2016-03-18 13:09:45 -07:00
lilia
760bfffb50
Show all contacts all the time
...
Contacts without conversation identity appear in alphabetical order at
the end of the inbox.
// FREEBIE
2016-03-18 11:21:11 -07:00
lilia
b4960b29d8
Remove newContact attribute
...
This was used as a flag by a UI that no longer exists. Now it
erroneously gets saved when creating a conversation from a bare phone
number.
// FREEBIE
2016-03-18 11:21:11 -07:00
lilia
7fb4d3d8aa
Load all inbox convos before rendering
...
This is a better alternative to the fix in 0434c4b
, which causes
problems when creating a new conversation from entering a phone number.
// FREEBIE
2016-03-17 20:58:56 -07:00
lilia
0434c4bc53
Fixes #663 Conversation list loads in reverse order
...
The onChangeActiveAt listener promotes newly activated conversations to
the top of the inbox. By firing on an 'add' event, if the conversation
list happened to load after the inbox frontend was initialized, each new
entry would be incorrectly moved to the top, effectively reversing the
list.
// FREEBIE
2016-03-12 15:34:33 -08:00
lilia
1b72ef6170
Restore notifications heading
...
// FREEBIE
2016-03-11 11:49:21 -08:00
Blake Griffith
0ceb8e7038
i18n notification's settings dialog
...
FREEBIE
2016-03-11 11:46:10 -08:00
Blake Griffith
24e4d9c615
'off' -> 'disable notifications' in settings
...
FREEBIE
2016-03-11 11:46:10 -08:00
lilia
7578991f4e
Remove emoji logging
...
// FREEBIE
2016-03-11 11:01:13 -08:00
Sam Lanning
662020ce68
Add title text for emoji in messages.
...
Fixes #250
// FREEBIE
2016-03-09 12:46:33 -08:00
lilia
e91f646920
Fix initial post-sync timestamps
...
Fixes #669
// FREEBIE
2016-02-24 17:11:59 -08:00
lilia
cc0b8e835a
Don't show left groups in list of all contacts
...
// FREEBIE
2016-02-22 17:11:16 -08:00
lilia
ef9559d844
Add tests for filtering left groups from search
...
// FREEBIE
2016-02-22 17:11:16 -08:00
lilia
7e8ce5eb54
Omit left groups from search
...
Unless they contain messages.
// FREEBIE
2016-02-22 17:11:16 -08:00
lilia
f940676357
Ignore attempts to post empty debug logs
...
Fixes #697
// FREEBIE
2016-02-22 13:59:34 -08:00
lilia
a962d97bfb
Fix debug log submission loading UX
...
This flow broke a bit with transition to modal debug log.
Restructure such that the loading class can be applied to an appropriate
element inside the modal. Ensure that the input elements are hidden when
submit is clicked, the result elements are shown when the log upload is
completed.
// FREEBIE
2016-02-22 12:48:06 -08:00
lilia
7f8c76faca
Make debug log as big as possible
...
Tweak style to make the modal reasonably wide/tall, and use flexbox
to automatically expand the textarea.
// FREEBIE
2016-02-22 12:41:49 -08:00
lilia
636c0f2a60
Put debug log in a modal
...
Also dedupe close-button style
// FREEBIE
2016-02-19 17:34:59 -08:00
lilia
33fde3d4e7
Dedupe modal styles
...
// FREEBIE
2016-02-19 17:34:59 -08:00
lilia
74aeddcbda
Add missing view file
...
// FREEBIE
2016-02-18 16:13:53 -08:00
lilia
173e037fa6
Fix minor style errors
...
And keep it that way, by making jscs config more opinionated.
// FREEBIE
2016-02-18 13:45:22 -08:00
lilia
a3c6061480
Add Notification Settings
...
Fixes #471
// FREEBIE
2016-02-18 12:22:43 -08:00
lilia
4ab2e25df6
Refactor Contact and Conflict views
...
Untangle these two views into their component parts, consolidating all
the key conflict logic in the key conflict view. Contact view now simply
renders basic contact info and miscellaneous errors but not conflicts or
message errors.
// FREEBIE
2016-02-18 12:22:43 -08:00
lilia
1bd0855d93
Remove duplicate display of network errors
...
Network errors render as a resend dialogue at the top of the message
detail and need not be re-reported in the contact list or errors
section.
// FREEBIE
2016-02-18 12:22:42 -08:00
lilia
f221921127
Tweak conflict style
...
// FREEBIE
2016-02-18 12:22:42 -08:00
lilia
28c763992a
Move error indicators on message bubbles
...
// FREEBIE
2016-02-18 12:22:42 -08:00
lilia
5340791868
Display key conflict dialog inline
...
One less modal.
// FREEBIE
2016-02-18 12:22:42 -08:00
lilia
ad66da9fb5
Move identity conflicts to top of message detail
...
Also restyle them as with network errors
// FREEBIE
2016-02-18 12:22:42 -08:00
lilia
f5436a5123
Clicking on message status icon opens detail view
...
Additionally, hovering over it will apply cursor: pointer. Previously
only the timestamp exhibited this behavior.
// FREEBIE
2016-02-18 12:22:41 -08:00
lilia
4198987723
Display a message when provisioning socket fails
...
Fixes #464
// FREEBIE
2016-02-09 16:23:17 -08:00
lilia
7e82d1295c
Handle attachment upload errors
...
Adds a new kind of replayable error that handles retry of pre-encryption
failures, e.g., attachment upload.
Fixes #485
// FREEBIE
2016-02-09 13:21:32 -08:00
lilia
080c233a93
Add timestamp update interval test
...
Break out delay computation into its own function and add tests,
including a regression test for #646 .
// FREEBIE
2016-01-27 12:24:50 -08:00
codedust
9b390baea0
Fix a bug that causes 100% CPU load in timestamp_view.js
...
When `millis_since` becomes larger than one week, `delay` becomes
negative and is set to Zero. This causes an infinite loop and therefore
100% CPU usage (single thread).
// FREEBIE
2016-01-27 11:47:03 -08:00
lilia
b0def76801
Remove unused code
...
Well that never worked.
Closes #458
// FREEBIE
2016-01-26 14:56:16 -08:00