Commit Graph

50 Commits (a5e6ed4cd33084b6fefd33a282b80c63678377ce)

Author SHA1 Message Date
Audric Ackermann ed461b8f18
Session v1.6.2 (#1639)
* padd Message buffer for all outgoing messages (even opengroupv2)

* pad and unpad message everywhere

attachment not padded for opengroup only

* lint

* enable fileserver v2 sending side

* removed all en unused local strings

* remove all unused keys for other locales

* update displayname even if we dont have avatar on incoming profile

* redesign group invitation message type

* ask confirmation before joining opengroup invitation

* remove the channelId from groupInvitation

* fallback to envelope timestamp if dataMessage.timestamp is 0

* match group invitation design with ios

* speed up first load of room message by prefetching token

* create convo for members if they don't exist

also, removing a private convo does not remove it entirely as we need
the convo to be able to remove members

* fix avatar download on restore when linking device

Fixes  #1601

* make sure the left member convo exist in rendering GroupUpdate

* Reply attachments (#1591)

* First attachment showing in reply composition.

* WIP: Adding thumbnail to quote response composition component.

* Added icon for voice recording attachment

* Updated formatting.

* Formatting.

* removed duplicate styling.

* WIP: Converting quote component to functional components.

* Fix bug where thumbnails for attachment replies wasn't showing.

* yarn Formatting.

* Removed old quote component.

* Add type to contentTypeSupported method.

* Moved  quote subcomponents out of Quote component.

* yarn format

* Add export to quote subcomponents.

* Fixing linting errors.

* remove commented line.

* Addressing PR comments.

* Allow pasting images into composition box as attachments (#1616)

* Allow pasting images into composition box as attachments

* Fix linter errors

* Fix typo

* Get snode from snode (#1614)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* Fix fonts sans serif (#1619)

* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo

* fix font sans serif by using roboto instead

Fixes #1617

* WIP: User nicknames (#1618)

* WIP Adding change nickname dialog.

* WIP adding nickname change dialog.

* WIP nickname dialog.

* WIP: Able to set conversation nicknames. Next step cleaning and adding to conversation list menu.

* Fix message capitilisations.

* Add change nickname to conversation list menu.

* Enable clear nickname menu item.

* Added messages for changing nicknames.

* Clearing nicknames working from header and message list.

* Adding modal styling to nickname modal.

* Reorder nickname menu item positions.

* Add group based conditional nickname menu options to conversation header menu.

* minor tidying.

* Remove unused error causing el option.

* Formatting.

* Linting fixes.

* Made PR fixes

* Prioritise displaying nicknames for inviting new closed group members
and updating closed group members.

* Fix app image start for non-debian based distribs (#1622)

Fixes #1620

* fixup nickname dialog for enter key pressed event (#1623)

also add some type for it and remove unused props

* Fix attachment extension vnd (#1628)

* allow openoffice document extension and don't use

* allow opendocument to be shared with the extension rather than mimetype

Fixes #1593

* allow message without padding

* add test for odt files

* More Japanese translations (#1632)

* Translate some untranslated strings into Japanese

* Tweak some Japanese translations

* Add new Japanese translations

* WIP: Closed group reliability (#1630)

* WIP: added non-durable messaging function.

* WIP: Non-durable sending

* WIP: adding dialog box.

* Creating dialog if group invite message promises don't return true.

* removed console log

* applied PR changes, linting and formatting.

* WIP: allowing resend invite to failures.

* using lookup.

* WIP: recursively opening dialog.

* WIP: debugging reject triggering on confirmation modal.

* register events fix.

* Closed group invite retry dialog working.

* Added english text to messages.

* Prevent saving of hexkey pair if it already exists.

* Fixed nickname edit
input trimming end letter.

* Don't show closed group invite dialog unless it has failed at least once.

* Fix linting error.

* Fix plurality.

* Ensure admin members are included in all invite reattempts, mixed plurality.

* test fixing windows build

* Revert "test fixing windows build"

This reverts commit 8ed2e0891d.

Co-authored-by: Warrick <wcor690@aucklanduni.ac.nz>
Co-authored-by: shellhazard <unva1idated@protonmail.com>
Co-authored-by: beantaco <64012487+beantaco@users.noreply.github.com>
5 years ago
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
5 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 5 years ago
Audric Ackermann 5c3cb0a165
make moderator dialogs the Session way 5 years ago
Audric Ackermann 0b4400837b
fix scroll to quoted message and contact display name of group updates 5 years ago
Audric Ackermann 6e07ee42f5
cleanup network status view and some UI constants 5 years ago
Audric Ackermann 16b8fc8620
hide shortened pubkey except for public groups 5 years ago
Audric Ackermann 56cd42d34c
remove authorColor unused in Session 5 years ago
Audric Ackermann 339bc35975
shorten pubkey when replying to a user 5 years ago
Audric Ackermann 9cbf21547b
cleanup scss and themify message view 5 years ago
Maxim Shishmarev f5e9a870f7 Add support for mentions in private group chats 6 years ago
Maxim Shishmarev 687e9db77b Custom message rendering of mentions 6 years ago
Maxim Shishmarev 0d9e4bbf45 Only shorten pubkeys if name is present 6 years ago
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 7 years ago
Scott Nonnenberg 1d2c3ae23c Download attachments in separate queue from message processing 7 years ago
Scott Nonnenberg 51f1ef5725 Don't linkify quoted message contents 7 years ago
Scott Nonnenberg 99252702e1 Support receiving multiple images in one messages 7 years ago
Scott Nonnenberg 7d9711ba65 Restore iOS-specific theme; colors on left in android theme 7 years ago
Scott Nonnenberg 10c53bddb0 Move to new colors, switch incoming/outgoing colors 7 years ago
Scott Nonnenberg fedfbed304 Copy quoted message contents into quote on receipt
Also:
  - visually distinguish any reference we couldn't verify on receipt
  - show toast on quote click if we can't scroll to message
  - toast visuals redesigned to match rest of app
7 years ago
Scott Nonnenberg a247ffe5cf When iOS device has been linked, use iOS color scheme 7 years ago
Scott Nonnenberg 8b92e6112c Add dir='auto' to Message and Quote body for RTL languages 7 years ago
Scott Nonnenberg 3c69886320 Finish new Message component, integrate into application
Also:
- New schema version 8 with video/image thumbnails, screenshots, sizes
- Upgrade messages not at current schema version when loading messages
  to show in conversation
- New MessageDetail react component
- New ConversationHeader react component
7 years ago
Scott Nonnenberg 43a44793c5 Remove jshint - move everything over to eslint
Also removed all hints of previous linters
7 years ago
Scott Nonnenberg dc11db92f9 New React component: Message
Also: Use react to render contects on the 'show group members' screen
7 years ago
Scott Nonnenberg 2988da0981 Turn on all of Microsoft's recommend lint rules
Biggest changes forced by this: alt tags for all images, resulting in
new strings added to messages.json, and a new i18n paramter/prop added
in a plot of places.

Another change of note is that there are two new tslint.json files under
ts/test and ts/styleguide to relax our rules a bit there. This required
a change to our package.json script, as manually specifying the config
file there made it ignore our tslint.json files in subdirectories
8 years ago
Scott Nonnenberg 23586be6b0 Add emojification to contact names shown in quotes 8 years ago
Scott Nonnenberg 4e5c8965ff Move to react for newlines, emoji, and links in message body 8 years ago
Daniel Gasienica 1dd87ad197 Format all source code using Prettier 8 years ago
Scott Nonnenberg c5935eef5d Show 'You' in Android theme quotes instead of contact name 8 years ago
Daniel Gasienica b65370c8d7 Prefer `GoogleChrome.is*` over `MIME.is*` 8 years ago
Daniel Gasienica 64c3d604aa Fix type errors 8 years ago
Daniel Gasienica cd6912f0dd 🎨 Autoformat code 8 years ago
Daniel Gasienica df2e6e7864 Port `MIME` module to TypeScript 8 years ago
Scott Nonnenberg fdc13d0af3
Fix some tslint errors
I really need to get it running in my editor!
8 years ago
Scott Nonnenberg 21713cbce7
Update quotes to render emoji just like normal messages 8 years ago
Scott Nonnenberg 37cac717cb
Use fit: cover for non-square thumbnails, better movie icon
Also: Match Android's X button in the quote composition area
8 years ago
Scott Nonnenberg 12257e1560
MessageView: Show menu w/ 'reply to message' on triple-dot click 8 years ago
Scott Nonnenberg f4d9ab8ba0
Put quote preview in text box for Android, above it in iOS 8 years ago
Scott Nonnenberg c71dcf0139
Show current quoted message above composition field
Note that substantial changes will be required for the updated Android
mockups, putting the quotation into the text box next to the attachment
preview.
8 years ago
Scott Nonnenberg d29162f3b6
CSS Refactor: Pull quote CSS out from parent classes
This is to prepare for it to be shown in the message composition area.
8 years ago
Scott Nonnenberg c283ba1a12
Remove pointer cursor when clicking on quote won't do anything 8 years ago
Scott Nonnenberg d91f40177e
Quote.tsx: Fix tslint errors
I really need to get tslint editor integration in place.
8 years ago
Scott Nonnenberg b458c7d449
android-dark: Constrain light play icon to with peer image 8 years ago
Scott Nonnenberg bdaebc24ae
A few tweaks for the android-dark theme 8 years ago
Scott Nonnenberg 087dd0f758
Support for iOS theme 8 years ago
Scott Nonnenberg 0f8dd7e2db
Fix a number of lint failures 8 years ago
Scott Nonnenberg 1cc0633786
Full support for quotations in Android theme 8 years ago
Scott Nonnenberg 21bf02c94d
Fixed examples in Quote.md, rough Android visuals 8 years ago
Scott Nonnenberg b4ce79cac0
Reply -> Quote 8 years ago