Commit Graph

232 Commits (bea704ecf09f9fac818419e16388e1792584d07c)

Author SHA1 Message Date
Audric Ackermann 026a1930ed
add a getOrThrow to ConversationController when we expect this convo 5 years ago
Audric Ackermann 144ae41529
add type for ConversationController, remove showStartConversation
and cleanup scss
5 years ago
Audric Ackermann b7f5a32570
add reply to message UI logic 5 years ago
Audric Ackermann 4d991d3992
Merge branch 'clearnet' into react-refactor 5 years ago
Audric Ackermann dfff6c2149
Merge pull request #1374 from Bilb/hide-shorten-pubkey-except-public 5 years ago
Audric Ackermann 37dd7b87cc
remove right buttons on Message. use right click instead 5 years ago
Audric Ackermann 16b8fc8620
hide shortened pubkey except for public groups 5 years ago
Audric Ackermann d6ad2a1911
select message on click on message directly 5 years ago
Audric Ackermann 56cd42d34c
remove authorColor unused in Session 5 years ago
Audric Ackermann 6eb13e43e3
simplify a lot avatar props 5 years ago
Audric Ackermann 84c7ce006b
fix ctx menu on repeated block/unblock 5 years ago
Audric Ackermann 76664d9a11
use created_at for public group to order messages 5 years ago
Audric Ackermann 4070a7099f
Merge remote-tracking branch 'upstream/clearnet' into add-light-theme 5 years ago
Audric Ackermann 9cbf21547b
cleanup scss and themify message view 5 years ago
Audric Ackermann 70b739d24f
update translation to match android - part 1 5 years ago
Audric Ackermann 66d3a2b86c
replace unsend with deleteForEveryone 5 years ago
Audric Ackermann edf25e8cbc
clean up menu on message click 5 years ago
Vincent d7de09e475 linter-fixes 5 years ago
Vincent 2603401207 sleek-emoji-rendering 5 years ago
Vincent bf32cd3ae6 fixed up 5 years ago
Vincent 28a0d82ea2 Updating message recieving 5 years ago
Vincent 3591001ef1 audio component ui 5 years ago
Vincent c26e20d33f css-loader 5 years ago
Vincent 9ec99da9f9 SessionRecording-cleanup 5 years ago
Vincent 6078be1657 revive-ts-refactor 5 years ago
Vincent 83528f4b8d Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react 5 years ago
Audric Ackermann 1201707d17
show tiny wheel while message is in sending state 5 years ago
Mikunj Varsani 3e3df7717f
Merge pull request #1094 from Bilb/link-device-fixes
Link device fixes
5 years ago
Vincent cf05d4ff6c revivify 5 years ago
Audric Ackermann 6f8affe5c9
add spinner while unlinking device 5 years ago
Audric Ackermann 026844e40b
fix slaveMessages shown as someone else messages pubchats
When sending a message from a secondary device to a pubchat the
primary device would display this message on the left side on the
conversation view. It was due to the fact that the slaveDevices was not
built correctly.
5 years ago
Audric Ackermann 645b2d55fc
invite friends to closed group: hide already members 5 years ago
Audric Ackermann ab77b0f9a5
disable message contextmenu on group chats when kicked 5 years ago
Vincent 99200bb725 Message unsendability 5 years ago
Vincent d8a12aab0f conv tinkering 5 years ago
Vincent 6360b539a3 linting 5 years ago
Vincent 6135f4d334 Message selection correction 5 years ago
Vincent 4ed1e42cae Message selection debug and onenter 5 years ago
Vincent 1d289c04ed Message reading instantaneous completed 5 years ago
Vincent c7d96f2565 Marking messages as read completed 5 years ago
Vincent 9a6aafe99c Pull from clearnet 5 years ago
Vincent 3030b028eb Message selection 5 years ago
Vincent 548db7150d Start message selection reactification 5 years ago
Audric Ackermann 2d1739a1e7
add key to a list of badges (cause error on console) 5 years ago
Audric Ackermann 84d5cf4541
fix contextmenu caching on Message right click 5 years ago
Vincent 5d11ef1457 Header props 5 years ago
Vincent 82f1f2d1b1 More scroll management 5 years ago
Vincent 03df4891bd Conditional rendering of avatars 5 years ago
Audric Ackermann 0e2d95be03
fix #805 select message only onclick on it 5 years ago
Vincent c0a33a630f Join channel generalisation 5 years ago
Maxim Shishmarev 02320334f0 Remove P2P 5 years ago
Audric Ackermann 7e6bbe9c54 do not make highlighted message different for now 5 years ago
Vincent 98b4b18583 Added message selection inital functionality and added to buttons 5 years ago
Vincent c2c084920a Namespacing 5 years ago
Vincent c9887f7bc3 Exports simplification and message selection 5 years ago
Vincent 10676f5573 Improved file structuring 5 years ago
Vincent a17964beb7 Using singular enum names rather than plural 5 years ago
Vincent 141c0135fb Fixed styling 5 years ago
Vincent d62f1c6e22 Inital conversation restructuring 5 years ago
Vince 44ff75cc88 Fixed multi select by preventing select on clicking audio element in message list. 5 years ago
Maxim Shishmarev 1020f54b60
Merge pull request #662 from Bilb/655-clickable-profile
clickable profile
5 years ago
Vince a7a2f9289c Updated references to hasModPerms to isModerator for code consistency 5 years ago
Vince e9068d56ce Updated isModerator to senderIsModerator and fixed logic of isModerator function 5 years ago
Audric Ackermann acea116d4f Revert "Message: click on avatar show userDetailModal"
This reverts commit 2c914c554d.
5 years ago
Audric Ackermann be5f932c08 fix lint 5 years ago
Audric Ackermann c61249e5e0 put event in the avatar element and trigger it in conversation header 5 years ago
Audric Ackermann 2c914c554d Message: click on avatar show userDetailModal
Disable the click on avatar because before it selected the message.
OnClick on avatar -> trigger event to show the UserDetails modal with this pubkey.
5 years ago
Audric Ackermann 9992a3da1d Add a showUserDetails modal to display user's details
Relates #655
5 years ago
Beaudan Brown 43a91ab672 Linted 5 years ago
Beaudan Brown a3d171884d Added ban user right click functionality 5 years ago
Maxim Shishmarev 8b2876dadc Disable context menu and message selection for RSS feed 5 years ago
Maxim Shishmarev 2262b41cd7 Prevent hiding the context menu by clicking away to also potentially select messages 5 years ago
Maxim Shishmarev 2990c95e40 Fix incorrect margins for public messages and friend request bubbles 5 years ago
Maxim Shishmarev 7c96990119 Correctly handle server errors in multi-deletion 6 years ago
Maxim Shishmarev 8677fb15a0 Select multiple messages and bulk deletion 6 years ago
Maxim Shishmarev f5e9a870f7 Add support for mentions in private group chats 6 years ago
Maxim Shishmarev e64ccbdd2b Clean up RSS conversation 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
Maxim Shishmarev 08cab426c5 Shorten pubkeys in quotations too 6 years ago
Mikunj 0b898612d9 Linting. 6 years ago
Mikunj 0883b1b650 Updated styles.
Merge commit clearnet into mod-badges
6 years ago
Beaudan Brown e9a2b57d37 Show crown icon for moderators 6 years ago
Beaudan Brown 72b3d02b52 Poll for moderators, store them on the conversation and use the list to determine our own mod status 6 years ago
Beaudan 616e952f8e Add right click option to public chat messages to copy pubkey of sender 6 years ago
Beaudan Brown 351fa09ad6 Only show delete option if have mod status and show different modal for mod deletion 6 years ago
Beaudan Brown e4ecc5b389 A prepare for message deletion 6 years ago
Ryan Tharp c57571fdfd loki.network rss feed 6 years ago
Beaudan fce4d0ce79 Review cleanup 6 years ago
Beaudan 86e55e5dc6 Clean up bold check 6 years ago
Beaudan 3ea3a394e7 Only bold the profile name for messages 6 years ago
Beaudan 958766dc65 Bold the profile name and truncate the pubkey 6 years ago
Beaudan 1d0067e6e5 Forgot to add this part 6 years ago
Mikunj 3a8111020e Merge v1.23.0
# Conflicts:
#	background.html
#	package.json
#	yarn.lock
6 years ago
Mikunj 12ce0140de Left pane changes.
Merge commit 'b3ac1373fa64117fe2a9ccfddf3712f1826c06d9' into signal-1.23

# Conflicts:
#	_locales/en/messages.json
#	background.html
#	js/background.js
#	js/conversation_controller.js
#	js/models/conversations.js
#	js/models/messages.js
#	js/views/conversation_list_item_view.js
#	js/views/conversation_list_view.js
#	js/views/conversation_search_view.js
#	js/views/inbox_view.js
#	libtextsecure/account_manager.js
#	package.json
#	stylesheets/_global.scss
#	stylesheets/_index.scss
#	stylesheets/_modules.scss
#	test/_test.js
#	test/index.html
#	test/models/conversations_test.js
#	test/views/conversation_search_view_test.js
#	ts/components/ConversationListItem.tsx
#	ts/components/MainHeader.tsx
#	ts/components/conversation/ConversationHeader.tsx
#	ts/components/conversation/ResetSessionNotification.tsx
6 years ago
Mikunj e343a04eea Merge commit '18b5b7c046436f2defab2e20407e22da180bf97b' into signal-1.22
# Conflicts:
#	app/sql.js
#	background.html
#	config/default.json
#	js/background.js
#	js/models/conversations.js
#	js/models/messages.js
#	js/modules/data.js
#	js/signal_protocol_store.js
#	js/views/conversation_search_view.js
#	libtextsecure/message_receiver.js
#	libtextsecure/sendmessage.js
#	main.js
#	package.json
#	preload.js
#	test/index.html
#	ts/components/Avatar.tsx
#	ts/components/conversation/ConversationHeader.md
#	ts/components/conversation/ConversationHeader.tsx
6 years ago
Scott Nonnenberg 8c4d90df07 Send long text as an attachment instead of inline
Remove Android length warning

Handle incoming long message attachments

Show long download pending status in message bubble

Fix the width of the smallest spinner

Remove Android length warning from HTML templates
6 years ago
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 6 years ago
Beaudan 14367620d9 lint 6 years ago
Beaudan d0d57ea8c7 Add more functionality to the conversation right click menu, add right click for messages, change some of the ways toasts/confirmation dialogs are created, auto focus text input for nickname, clean up some stuff 6 years ago
Mikunj 9ac76e7e62 Linting 6 years ago
Mikunj 06be1da40d Added p2p message styling 6 years ago
Scott Nonnenberg 1d2c3ae23c Download attachments in separate queue from message processing 6 years ago
Scott Nonnenberg 813924685e Link Previews 6 years ago
Scott Nonnenberg 985b1d6aa6 New staged attachments UI, multiple image attachments per message 6 years ago
Scott Nonnenberg 99252702e1 Support receiving multiple images in one messages 6 years ago
Scott Nonnenberg 7789beec64 Calculate warning properly for all methods of attachment download 7 years ago
Scott Nonnenberg fbaef50c4a Android theme: Incoming quotes take color from containing message 7 years ago
Scott Nonnenberg bc0ec92ad2 Tests and increase consistency for isFileDangerous calls 7 years ago
Scott Nonnenberg 0850dc368a Lint fixes 7 years ago
Scott Nonnenberg 7d9711ba65 Restore iOS-specific theme; colors on left in android theme 7 years ago
Scott Nonnenberg ca61c9cb85 Warnings for dangerous files 7 years ago
Scott Nonnenberg 8f3e3b7aaf Update to new design for avatars: individual/group icons/colors
And two initials.
7 years ago
Scott Nonnenberg 10c53bddb0 Move to new colors, switch incoming/outgoing colors 7 years ago
Scott Nonnenberg 8290146721 Show generic attachment for non-loading/too-large images/videos 7 years ago
Scott Nonnenberg 37f3054976 Both UI timer and database timer will remove expired message 7 years ago
Scott Nonnenberg b3d56276a8 Conversations now better take advantage of wide screens 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 b0b1e9b8e3 Message: video/image attachment borders inline, on top of image
Otherwise, its transparency will result in a distracting line between it
and its attached message bubble
7 years ago
Scott Nonnenberg 8b92e6112c Add dir='auto' to Message and Quote body for RTL languages 7 years ago
Scott Nonnenberg 675e34fc8d New React component: ConversationListItem, installed in left pane
When collecting a conversation's last message, we grab that message's
status as well (if outgoing) and show it.
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
7 years ago
Daniel Gasienica 1dd87ad197 Format all source code using Prettier 7 years ago
Scott Nonnenberg 26e4e97592
Tighten up CSS
- Remove extra padding at top of Android bubbles, via sibling selector
- Don't include .attachments, .quote-wrapper, .content in bubble unless
  we actually need them. This allows for sibling selectors.
- This is a different technique for adding the ReactWrapperView for
  quotes - it is now appended to the DOM instead of attaching to
  something already in the DOM. This allows us to use .remove(), so it's
  a bit cleaner.
- Users of ReactWrapperView can now specify tagName and className
7 years ago
Scott Nonnenberg 3bbbf65a6b
Fix iOS: tail, blue partial border, extra attachment space
Turns out that display: inline on the img tag resulted in a mysterious
3px of space added below it.
7 years ago
Scott Nonnenberg 1cc0633786
Full support for quotations in Android theme 7 years ago
Scott Nonnenberg ae043bf239
In iOS theme, join attachment bubble with caption bubble 7 years ago
Scott Nonnenberg 3a76c3c86e
Styleguide: Incoming/outgoing attachments of all types 7 years ago
Scott Nonnenberg 23537546fe
Big refactor: ts/ directory for all typescript, including react
Split out test-specific and general utility react components too.

And moved our test/legacy* files for the Style Guide into a styleguide/
subdirectory of test/.

I think we'll be able to live in this directory structure for a while.
7 years ago