lilia
a069939f65
Refactor attachment saving for DRYness
...
// FREEBIE
9 years ago
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
9 years ago
lilia
9091233950
Open images in a lightbox
...
Adds file-write permission for saving to disk from lightbox.
Fixes #810
// FREEBIE
9 years ago
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
9 years ago
lilia
3cd80d3f1e
Remove tool tip from unregistered user errors
...
// FREEBIE
9 years ago
lilia
58c3fe047e
Make error messages clickable
...
// FREEBIE
9 years ago
lilia
b2f07984df
i18n unregistered user errors
...
// FREEBIE
9 years ago
lilia
b6f785737c
Restyle error icons, move them outside the bubble
9 years ago
lilia
292260d973
Remove timestamp logging
...
// FREEBIE
9 years ago
2-4601
d861797d66
i18n 'Permanently delete this conversation?'
...
// FREEBIE
9 years ago
lilia
1d60dc38fb
Rename axolotl storage
...
// FREEBIE
9 years ago
lilia
1fe5d63015
Update protocol libs
...
Rename storage functions
// FREEBIE
9 years ago
lilia
d5dfffd9da
Darken the scrollbar on hover
...
// FREEBIE
9 years ago
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
9 years ago
lilia
21bfb61b7a
Maintain scroll position when textarea resizes
...
Fixes #770
// FREEBIE
9 years ago
lilia
3ac7552d2f
Fix errant change event handler from firing
...
A change in the text field was firing the previewImages handler.
// FREEBIE
9 years ago
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
9 years ago
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
9 years ago
lilia
1f4587795e
Add link to github on debug log
...
// FREEBIE
9 years ago
lilia
f3de290f7c
Make debug log link focusable/selectable
...
Add button to open in a new tab. Stye as input group.
// FREEBIE
9 years ago
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
9 years ago
lilia
2506b2115d
Log when fetching messages
...
// FREEBIE
9 years ago
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
9 years ago
lilia
d8d34e7afc
Icon upgrade
...
Also remove unused images.
// FREEBIE
9 years ago
lilia
1aa975e199
Differentiate active vs selected conversation states
...
// FREEBIE
9 years ago
lilia
8c03d3e088
Fix sorting of the last element
...
// FREEBIE
9 years ago
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
9 years ago
lilia
76652c2622
Update style and copy on key changes
...
// FREEBIE
9 years ago
lilia
512c5bf739
Incoming bubbles have sender's color background
...
// FREEBIE
9 years ago
lilia
5a9358efc9
Reorder object members
...
Group click events together, put custom events at the bottom.
// FREEBIE
9 years ago
lilia
198cc70cef
Remove unusued event handlers
...
The conversation view now handles displaying and listening to the back
button.
// FREEBIE
9 years ago
lilia
6fe9c3f964
Nest key verification inside conflict dialogs
...
// FREEBIE
9 years ago
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
9 years ago
lilia
08da29969c
Fix menu behavior
...
Opening the global menu should close the conversation menu and vice
versa.
// FREEBIE
9 years ago
lilia
d24eaa655a
Tweak styles on key verification view
...
// FREEBIE
9 years ago
lilia
b57f26bac4
Ignore clicks on the placeholder and its contents
...
// FREEBIE
9 years ago
lilia
d3b035121d
Clean up bottom bar styles
...
// FREEBIE
9 years ago
lilia
234f937bc7
Conversation subscreens share a header
...
// FREEBIE
9 years ago
lilia
d391f07c1e
Change right header color
...
// FREEBIE
9 years ago
lilia
a925657c45
Fix global menu close handler
...
Previously, clicking on a conversation menu would not close the global
menu.
// FREEBIE
9 years ago
lilia
b094607e0d
Highlight bottom bar when focused
...
// FREEBIE
9 years ago
lilia
8bb8ed8151
Change left pane header color
...
// FREEBIE
9 years ago
lilia
7310afd1b4
Replace message list loading spinner with bar
...
// FREEBIE
9 years ago
lilia
647c2761e0
Move restart button into global menu
...
// FREEBIE
9 years ago
lilia
18a5ce8e54
Restyle conversation panel
...
// FREEBIE
9 years ago
lilia
760bfffb50
Show all contacts all the time
...
Contacts without conversation identity appear in alphabetical order at
the end of the inbox.
// FREEBIE
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
lilia
1b72ef6170
Restore notifications heading
...
// FREEBIE
9 years ago
Blake Griffith
0ceb8e7038
i18n notification's settings dialog
...
FREEBIE
9 years ago
Blake Griffith
24e4d9c615
'off' -> 'disable notifications' in settings
...
FREEBIE
9 years ago
lilia
7578991f4e
Remove emoji logging
...
// FREEBIE
9 years ago
Sam Lanning
662020ce68
Add title text for emoji in messages.
...
Fixes #250
// FREEBIE
9 years ago
lilia
e91f646920
Fix initial post-sync timestamps
...
Fixes #669
// FREEBIE
9 years ago
lilia
cc0b8e835a
Don't show left groups in list of all contacts
...
// FREEBIE
9 years ago
lilia
ef9559d844
Add tests for filtering left groups from search
...
// FREEBIE
9 years ago
lilia
7e8ce5eb54
Omit left groups from search
...
Unless they contain messages.
// FREEBIE
9 years ago
lilia
f940676357
Ignore attempts to post empty debug logs
...
Fixes #697
// FREEBIE
9 years ago
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
9 years ago
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
9 years ago
lilia
636c0f2a60
Put debug log in a modal
...
Also dedupe close-button style
// FREEBIE
9 years ago
lilia
33fde3d4e7
Dedupe modal styles
...
// FREEBIE
9 years ago
lilia
74aeddcbda
Add missing view file
...
// FREEBIE
9 years ago
lilia
173e037fa6
Fix minor style errors
...
And keep it that way, by making jscs config more opinionated.
// FREEBIE
9 years ago
lilia
a3c6061480
Add Notification Settings
...
Fixes #471
// FREEBIE
9 years ago
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
9 years ago
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
9 years ago
lilia
f221921127
Tweak conflict style
...
// FREEBIE
9 years ago
lilia
28c763992a
Move error indicators on message bubbles
...
// FREEBIE
9 years ago
lilia
5340791868
Display key conflict dialog inline
...
One less modal.
// FREEBIE
9 years ago
lilia
ad66da9fb5
Move identity conflicts to top of message detail
...
Also restyle them as with network errors
// FREEBIE
9 years ago
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
9 years ago
lilia
4198987723
Display a message when provisioning socket fails
...
Fixes #464
// FREEBIE
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
lilia
b0def76801
Remove unused code
...
Well that never worked.
Closes #458
// FREEBIE
9 years ago
Lorenz Hübschle-Schneider
e876d8f6ed
Display relative timestamps in conversation list
...
This mimicks Signal-Android's relative timestamps.
Previously, only the date was displayed.
Fixes #284
9 years ago
Sam Lanning
0569d4c889
Replace conversation panel js resizing with flex styling.
...
// FREEBIE
9 years ago
Sam Lanning
c4a9ac94b4
Improve Confirmation Dialog
...
Some basic modifications to the Confirmation Dialog:
* Always attached to <body> regardless of view that called it.
* Always centered horizontally on screen.
* A black semi-transparent overlay is now displayed over everything, and under
the dialog.
* Various other style changes.
fixes #389
// FREEBIE
9 years ago
lilia
43071d94d6
Log invalid number inputs
...
// FREEBIE
9 years ago
lilia
05681ce35b
Don't render placeholder markup unless necessary
...
Rather than always rendering divs for the key and placeholder, render
the placeholder only if the key is missing.
// FREEBIE
9 years ago
jakob
6c7f2cf0fc
Show help text for unknown contact identity
...
Adds a new message string "theirIdentityUnknown".
Fixes #576
// FREEBIE
9 years ago
2-4601
ea0e013e81
Add a trifle of i18n to KeyVerificationView
...
Two strings were left behind:
- "Their identity (they read)"
- "Your identity (you read)"
I saved them.
// FREEBIE
9 years ago
Sam Lanning
ac25b62fdc
Improve implementation of i18n for Install Flow following comments on #611
...
* Move install flow i18n logic to install_view.js (from options.js)
* Switch to using placeholders (instead of jQuery) for i18n messages with html.
* Switch to using moustache template instead of jQuery for i18n substitution.
// FREEBIE
9 years ago
Sam Lanning
0825d3e22f
Implement i18n for Install Flow
...
Fixes #600
// FREEBIE
9 years ago
lilia
cdd139b44c
Refresh group contacts when rendering member list
...
Fix #581
// FREEBIE
9 years ago
Felix Epp
a65166ae3b
Fix #583 from/to label translatable
...
I just added i18n calls and the corresponding keys for en + de.
9 years ago
lilia
ceaf94e05b
Rename variable for consistency
...
// FREEBIE
9 years ago
lilia
c6956f81d0
i18n DebugLogView
...
// FREEBIE
9 years ago
lilia
1d6e391dd6
Prefer single quotes
...
// FREEBIE
9 years ago
lilia
0e2d2d60c2
i18n KeyConflictDialogue
...
// FREEBIE
9 years ago
lilia
3172c49436
i18n ContactView
...
Part of the MessageDetailView
// FREEBIE
9 years ago
lilia
d502f1bdee
i18n KeyConflictView
...
Also refactor generic error view to make this simpler.
// FREEBIE
9 years ago
lilia
ccdbfc3e12
i18n AttachmentView
...
// FREEBIE
9 years ago
lilia
47e33a14ac
i18n UnsupportedFileTypeToast
...
// FREEBIE
9 years ago
lilia
42f15011fa
i18n FileSizeToast
...
// FREEBIE
9 years ago
lilia
4066223d72
i18n SocketView
...
// FREEBIE
9 years ago
lilia
836a7cb8c5
i18n InboxView
...
// FREEBIE
9 years ago