Commit Graph

147 Commits

Author SHA1 Message Date
Audric Ackermann 51575d2f56
moved views to TS but broken 2022-03-24 11:15:21 +11:00
Audric Ackermann d99cdc48f4
rename background.js to main_start.js 2022-03-23 16:50:17 +11:00
Audric Ackermann 7d570fec52
move linkPreviews.js to ts 2022-03-23 16:19:38 +11:00
Audric Ackermann 747bcb766c
move notifications.js to ts 2022-03-23 14:27:10 +11:00
Audric Ackermann 3fed22048b
rename a few loki to session 2022-02-18 13:03:47 +11:00
Audric Ackermann 19722b6bdc
remove other emoji dependency and use unicode to render them in message
Relates #2151
2022-02-08 10:43:56 +11:00
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 2022-01-12 17:01:32 +11:00
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
2021-12-14 15:15:12 +11:00
Audric Ackermann 1e8c8991ad
more cleanup 2021-10-04 10:56:54 +11:00
Audric Ackermann 67f642596d remove SessionId reset dialog
consider user had the time to update now
2021-08-06 10:59:32 +10:00
Audric Ackermann 651921590c
reduxify remaining dialogs 2021-06-18 16:44:28 +10:00
Audric Ackermann 93e43fe929
move conversation dialogs to redux store 2021-06-18 14:31:16 +10:00
Audric Ackermann a5d7995168
merge dialog refctor with clearnet 2021-06-17 16:38:20 +10:00
Warrick cb307790f6
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.
2021-05-12 10:40:49 +10:00
Audric Ackermann bc938f650e
move AttachmentsDownload to typescript 2021-04-26 16:29:04 +10:00
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 2021-04-22 18:03:58 +10:00
Audric Ackermann 8ea9f02cec Move data.js to data.ts 2021-02-15 15:16:52 +11:00
Audric Ackermann a51f95d28c
move models to TS part1 2021-02-08 15:20:47 +11:00
Audric Ackermann 3d47d7d0e8
remove EbeddedContact components 2021-01-28 10:52:16 +11:00
Audric Ackermann 02fb5783a4
remove regionCode and PhoneNumber.ts 2021-01-28 09:46:15 +11:00
Audric Ackermann a6cecd33e3 remove ContactDetails unused 2021-01-27 15:49:06 +11:00
Audric Ackermann 5c3cb0a165
make moderator dialogs the Session way 2021-01-21 17:49:14 +11:00
Audric Ackermann 135fc3b366
remove prekeys 2021-01-21 17:49:07 +11:00
Audric Ackermann c0484207d1
Merge branch 'clearnet' into fix-ban-user 2021-01-19 15:44:29 +11:00
Audric Ackermann 6a776b56f6
fix ban of users on open group 2021-01-19 11:25:14 +11:00
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
2021-01-18 10:58:34 +11:00
Audric Ackermann cbd0e63641
add admin dialog to warn him about leaving for v2 closed group 2021-01-13 11:02:22 +11:00
Audric Ackermann b0a229bf13 add Dialog on app start to ask to update SessionID 2020-12-16 16:35:30 +11:00
Audric Ackermann 5109f9fdda
remove ConversationLoadingScreen (unused) 2020-12-14 16:23:27 +11:00
Audric Ackermann 788cb2a5fc fetch theme for each dialog, as they are out of the themed tree for now 2020-12-03 13:47:32 +11:00
Audric Ackermann 2ec337dd31
Add back ability to edit caption before sending attachments 2020-11-24 16:12:28 +11:00
Audric Ackermann 4d9371dfe7
fix SessionRegistrationView missing from signal.js 2020-11-19 13:55:01 +11:00
Audric Ackermann f8f15cb9f7
fix remove message for public groups 2020-11-19 13:26:59 +11:00
Audric Ackermann 531b227ae4
clean unused files and fix recovery dialog showing 2020-11-19 09:14:48 +11:00
Audric Ackermann b5af8eb215
Add Mentions with react-mentions 2020-11-18 15:27:13 +11:00
Audric Ackermann d2ada105ed
make session dropdown use hooks 2020-11-17 10:51:39 +11:00
Audric Ackermann f9ab90fb71
link backbone message added to redux 2020-11-16 14:45:13 +11:00
Audric Ackermann 2f2eb2ad53
link back backbone conversation events to redux store 2020-11-13 17:17:48 +11:00
Audric Ackermann 918eeae275
move InboxView to react 2020-11-13 14:29:59 +11:00
Audric Ackermann e45ce43e01
store messages currently loaded in convo on redux 2020-11-12 12:18:50 +11:00
Audric Ackermann e613613416
show toast with react-toastify and make them a styled-component 2020-11-09 11:25:57 +11:00
Audric Ackermann 48ecb8fc4b
cleanup unused code 2020-11-05 11:03:15 +11:00
Audric Ackermann 7ae79ee0a2
make timer notification work with empty profile name (display pubkey) 2020-11-04 13:44:37 +11:00
Audric Ackermann dfbcf3ac9b
do not remove convo when removing only message
use the user pubkey if group update notification with an unknown user
make GroupNotification a function component
2020-11-04 13:06:00 +11:00
Audric Ackermann d0bf8d54bc
fix theme of unlock settings with password 2020-11-04 10:56:56 +11:00
Audric Ackermann aad2d3232a
be able to show right panel for users too (and display convo medias) 2020-11-04 09:44:06 +11:00
Audric Ackermann a30ae8903b
remove bulk edit view and related stuff unused 2020-10-29 16:20:08 +11:00
Audric Ackermann 13e02b5bf1
add staged link previews for everything from signal 2020-10-28 11:06:47 +11:00
Audric Ackermann bcc54f2bd0
remove scroll down button backbone view as we are using it directly now 2020-10-27 10:07:11 +11:00
Audric Ackermann a7bdc93ca8
working drag and drop, but no scrolling on the conversation messages 2020-10-21 10:35:21 +11:00