Commit graph

5765 commits

Author SHA1 Message Date
Benoit Marty
b48c920292 Ganfra's review: use simple ViewModel 2019-06-10 16:45:42 +02:00
Benoit Marty
c0be04f46c Ganfra's review: use observeEvent 2019-06-10 16:39:46 +02:00
Benoit Marty
4eab0a3704 Add foreground attribute 2019-06-10 15:35:05 +02:00
Benoit Marty
933e06a7ef Auto collapse toolbar 2019-06-10 15:24:25 +02:00
Benoit Marty
ad8baf8091 Fix screen rotation issue 2019-06-10 14:13:14 +02:00
Benoit Marty
598245531a Fix compilation issue after rebase 2019-06-10 13:45:34 +02:00
Benoit Marty
4f044c0cd6 Create room screen - Navigate to change protocol 2019-06-10 13:39:51 +02:00
Benoit Marty
77fc793e89 Create room screen - Navigate to freshly created room 2019-06-10 13:39:51 +02:00
Benoit Marty
aa95ce3d02 Create room screen - Better navigation pattern 2019-06-10 13:39:51 +02:00
Benoit Marty
4c5bffe0f5 Create room screen - WIP TODO: screen rotation - navigate to created room 2019-06-10 13:39:51 +02:00
Benoit Marty
ed18a504e4 Open drawer when clicking on group avatar 2019-06-10 13:39:11 +02:00
Benoit Marty
aec7e72dcf Add missing files for Status theme 2019-06-10 13:39:11 +02:00
ganfra
f2722f4766 Crypto: fix a small issue 2019-06-07 20:38:39 +02:00
ganfra
07c516ccdd Merge branch 'develop' into feature/crypto 2019-06-07 19:25:55 +02:00
ganfra
81330d30cf Merge branch 'develop' into feature/crypto 2019-06-07 18:53:24 +02:00
ganfra
664e5354d3 Crypto: continue cleaning + fix some issues. 2019-06-07 16:01:24 +02:00
Valere
10251b906a clean / format 2019-06-07 15:57:55 +02:00
Valere
c9240c2dce Fix / disable context menu on not sent messages 2019-06-07 15:49:41 +02:00
Valere
220e6224e7 Merge develop 2019-06-07 15:42:04 +02:00
Valere
d3518c4944
Merge pull request #161 from vector-im/feature/fix_timeline_clicks
Fix / click|longclick link interference
2019-06-07 14:43:04 +02:00
Valere
5f34e58bd3 Fix / style on emoji picker appbar layout 2019-06-07 14:29:42 +02:00
Valere
438404b5ba code review cleaning 2019-06-07 14:14:51 +02:00
Valere
651d0472cd Show preview for notice events in context menu + fix merge issues 2019-06-07 14:14:51 +02:00
Valere
5cf9deb329 Menu action for non room messages 2019-06-07 14:14:51 +02:00
Valere
7409003949 Fix / Bug aggregation on initial sync
fix / All messages were not processed due to a test exiting the for loop
+ started adding context menu for non room messages
2019-06-07 14:14:51 +02:00
Valere
3f1bf00fdd Fix / use emoji Compat font for view reaction screen 2019-06-07 14:14:51 +02:00
Valere
04576ba7fd Permalink message action + Fix crash on injection of navigator 2019-06-07 14:14:51 +02:00
Valere
053dc1d8dd Show 'view reaction' option in context menu 2019-06-07 14:14:51 +02:00
Valere
834a865dfa Show text with only few emojis in bigger 2019-06-07 14:14:51 +02:00
Valere
e22b555b58 Refactoring (duplication in Message Item Factory) + cleaning 2019-06-07 14:14:51 +02:00
Valere
440442bb99 New View Reactions bottom sheet
+ visible on reaction long click
+ Reaction pills size adapt to count, and number format
2019-06-07 14:14:51 +02:00
Valere
d2f648edec Use Font emoji compat for quickReactions and pills 2019-06-07 14:14:51 +02:00
Valere
adbfde94d6 Fix / move read receipt on m.replace events 2019-06-07 14:14:51 +02:00
Valere
1b3ec2d0fb fix / review 2019-06-07 13:38:58 +02:00
Valere
ecccb80e04 Fix / No elevation on toolbars
In order to work se need to set a background on toolbar
2019-06-07 13:26:03 +02:00
Benoit Marty
fb9627b7c4 Share the debug signature to all machines which build the debug APK 2019-06-07 10:17:14 +02:00
Benoit Marty
b67c686d67 Fix lint warning 2019-06-06 19:23:14 +02:00
Benoit Marty
f2da46b5f9 Dark dialog 2019-06-06 19:09:59 +02:00
Benoit Marty
a0b2d4c8f2 L'oeil à l'interieur 2019-06-06 18:56:54 +02:00
Benoit Marty
1f85f4a007 Remove unused themes 2019-06-06 18:47:27 +02:00
Benoit Marty
2c2f517e52 Hot change of theme - WIP 2019-06-06 18:34:14 +02:00
Benoit Marty
bfbb29b2cf Theme FAB menu 2019-06-06 16:45:45 +02:00
Benoit Marty
dd563ec9ae Fix issue in theme 2019-06-06 15:56:05 +02:00
Benoit Marty
e2d36aa213 Fix issue in theme 2019-06-06 15:24:04 +02:00
Benoit Marty
2cc2844abf Fix issue in theme 2019-06-06 15:16:56 +02:00
Benoit Marty
75b8932395 Fix issue in theme 2019-06-06 14:37:30 +02:00
Benoit Marty
311d8484a2 Add test Theme Activity 2019-06-06 13:39:08 +02:00
Benoit Marty
917282303d Import test Activities from Riot 2019-06-06 10:28:11 +02:00
Benoit Marty
8afe31192b Fix issue in themes 2019-06-06 09:50:26 +02:00
Benoit Marty
bbbf64f543 Fix issue in themes 2019-06-06 09:39:08 +02:00
ganfra
6b0ab10231 Crypto: continue threading rework. WIP to shash 2019-06-05 22:18:16 +02:00
Benoit Marty
acedff4e89 FAB Menu
FAB Menu WIP

FAB Menu WIP

FAB Menu WIP
2019-06-05 18:59:50 +02:00
Benoit Marty
f9bfda059f Theme rework WIP 2019-06-05 16:16:37 +02:00
Benoit Marty
94c91e0dae Theme rework WIP 2019-06-05 15:58:00 +02:00
Benoit Marty
48fadd1a11 Theme rework WIP 2019-06-05 15:27:35 +02:00
Benoit Marty
51f5594ea0 Theme rework WIP 2019-06-05 14:57:30 +02:00
Benoit Marty
91114e2afe Quick and dirty implementation of password reveal on HomeScreen 2019-06-05 10:17:59 +02:00
Benoit Marty
e058fa9069 Add elevation on Toolbar 2019-06-04 18:10:38 +02:00
Benoit Marty
2ba7ec48f6 Code cleanup, remove duplicate code, and add some comments 2019-06-04 17:36:49 +02:00
Benoit Marty
ab6220a4cb Fix crash when reducing empty collection 2019-06-04 15:12:09 +02:00
Benoit Marty
2b6eee4237 Merge branch 'develop' into feature/home_rework 2019-06-04 12:54:16 +02:00
Benoit Marty
7eb1be4633 Valere's review 2019-06-04 12:35:50 +02:00
Valere
0ecc53f59c Added simple (limited) message preview 2019-06-04 12:02:34 +02:00
Benoit Marty
e3983deacc dispose uiDisposable in onDestroy() 2019-06-04 11:02:40 +02:00
Benoit Marty
9061d5c972 better code 2019-06-04 10:37:49 +02:00
Valere
471170a3e0 Fix / click|longclick link interference
+ some missing long click (image content wrapper)
+ update markwon version
2019-06-04 10:29:56 +02:00
Benoit Marty
43521c6e09 Cleanup 2019-06-04 10:25:29 +02:00
Benoit Marty
fc5edcdf0f Expanding Fab menu 2019-06-04 10:14:48 +02:00
ganfra
3d50393b33 Crypto: continue cleaning. Need threading refactoring 2019-06-03 18:39:37 +02:00
Benoit Marty
3475b169ea icon change 2019-06-03 16:46:27 +02:00
Benoit Marty
c1fa728c24 Public rooms little rework 2019-06-03 16:44:31 +02:00
Benoit Marty
3b12f5eec7 Room preview toolbar + link on topic 2019-06-03 14:37:22 +02:00
Benoit Marty
12b03a844d Room preview world readable room 2019-06-03 14:29:29 +02:00
Benoit Marty
4716ceb950 Correct initial state 2019-06-03 14:13:56 +02:00
Benoit Marty
c91a409258 Do not use execute{ } 2019-06-03 14:06:01 +02:00
Valere
99925d7cf9 Local echo for reactions/edits/redacts 2019-05-29 18:43:33 +02:00
Benoit Marty
ae38917a33 Home badge 2019-05-29 18:04:41 +02:00
Benoit Marty
9da727b623 All caught up screen 2019-05-29 16:20:25 +02:00
Benoit Marty
241ee1cb9d Fix issue with Avatar renderer in invitation screen 2019-05-29 15:07:08 +02:00
Benoit Marty
e959fe2e9d Hide FAB when list is scrolling 2019-05-29 14:52:08 +02:00
Benoit Marty
6978ec4246 cleanup 2019-05-29 14:19:40 +02:00
Benoit Marty
2b8bbc550c Room list 2019-05-29 13:36:24 +02:00
Benoit Marty
25f6528049 Drawer layout 2019-05-29 10:52:26 +02:00
Benoit Marty
3289cbd6e7 Cleanup 2019-05-29 09:58:29 +02:00
Benoit Marty
b91e7e9fb8 Cleanup 2019-05-29 09:39:55 +02:00
Benoit Marty
e70a483d6b Introduce Navigator 2019-05-28 21:24:29 +02:00
Benoit Marty
6244913ab9 Join room from room preview 2019-05-28 17:21:54 +02:00
Benoit Marty
33fbcc8ba3 RoomPreview when the room is not world readable 2019-05-28 15:58:30 +02:00
Valere
4a4c0a3da1 Added auto markdown (as per preference)
Fix / show formatted message preview upon composer in edit/quote/reply
Fix / use aggregated content to decide for actions on long click
2019-05-27 18:08:29 +02:00
Benoit Marty
dde94c0d0f Plug screens together 2019-05-27 17:28:18 +02:00
Valere
00d66ffd48
Merge branch 'develop' into feature/edit_message 2019-05-27 17:08:39 +02:00
Valere
c7c7211978 Fix layout preview 2019-05-27 17:02:12 +02:00
Benoit Marty
02a81dd9e1 Fix issue 2019-05-27 16:07:26 +02:00
Benoit Marty
02555fcbac Fix compilation issues after rebase 2019-05-27 15:43:26 +02:00
ganfra
b9d76f5047 Room list & event : decouple notice events formatting to be used within room controller 2019-05-27 15:37:18 +02:00
ganfra
9f9f4c0755 Home: change some UI in room list 2019-05-27 15:34:11 +02:00
ganfra
1691537a1e Room list : add chronological and alphabetical comparators 2019-05-27 15:32:20 +02:00
ganfra
eb2344a43f Home: continue room list rework. 2019-05-27 15:32:20 +02:00
ganfra
c0fd06fd2d Home: start reworking room list. 2019-05-27 15:31:26 +02:00
ganfra
275521db70 Home: continue architecture rework. WIP 2019-05-27 15:30:47 +02:00
ganfra
268730e71b Home: start reworking UX [WIP] 2019-05-27 15:28:27 +02:00
Benoit Marty
39f69a6c3b Code quality 2019-05-27 14:00:13 +02:00
Valere
d9fecabc1f Fix / Edits could break cells merging
Edits are not displayable
2019-05-27 12:30:05 +02:00
Benoit Marty
fe6e27fd6a Create ButtonStateView with some custom attributes 2019-05-27 12:08:18 +02:00
Valere
0e06908a48 Design update
+ Reply 
+ Better preview in action menu
2019-05-27 11:55:52 +02:00
Benoit Marty
390c6a1977 layout 2019-05-27 10:04:54 +02:00
ganfra
af338b0607 Crypto: decryption is working (but still a lot to do) 2019-05-26 19:21:45 +02:00
Valere
b45cc0e63f Refactoring/ create custom view for composerLayout in timeline
+ simplify quote/edit composer preview animation
2019-05-25 14:49:35 +02:00
Benoit Marty
128dea2677 Scope and error manager 2019-05-24 22:27:26 +02:00
Benoit Marty
cd5e808bb6 Retry join room 2019-05-24 17:38:46 +02:00
Benoit Marty
bbf2f96288 Add marging around item 2019-05-24 15:57:28 +02:00
Benoit Marty
2404eeadf0 RoomDirectoryPicker WIP 2019-05-24 15:43:12 +02:00
Benoit Marty
877de1f597 Get Public rooms and join public room 2019-05-24 11:36:04 +02:00
ganfra
3519ad7c8d Crypto : WIP 2019-05-23 19:12:06 +02:00
Valere
3c16701766 Fix / line too long 2019-05-23 17:56:05 +02:00
Valere
1da0b5be76 Fix / Block command completion in Quote and Edit mode 2019-05-23 17:53:11 +02:00
Valere
c6e428c047 Fix / remove DebugActivity + clean 2019-05-23 17:27:32 +02:00
Valere
45ea5c356e WIP / edit message 2019-05-23 16:44:51 +02:00
Benoit Marty
5da29e8063 Update MxRx library from 0.7.0 to 1.0.1 2019-05-22 16:36:31 +02:00
Benoit Marty
99087019d2 Input type on message text field (Fixes #129) 2019-05-22 15:33:22 +02:00
Valere
b0e80e49b3 QuickFix / Allow to scroll under login button 2019-05-21 16:28:47 +02:00
Valere
b8c3bdbbf6 Cleaning 2019-05-21 14:27:57 +02:00
Valere
d49007538b Fix / Annotate emote also 2019-05-21 14:26:46 +02:00
Valere
6f103101b6 Show edited annotation in timeline + simple edit history 2019-05-21 14:12:18 +02:00
Valere
a5a9fa3750 Color provider need to be aware of theme 2019-05-21 14:10:19 +02:00
Valere
8cb884f10e Support message edition 2019-05-20 18:52:48 +02:00
Benoit Marty
6d8000b957 Log 2019-05-20 17:13:08 +02:00
Benoit Marty
532a028e41 Split again 2019-05-20 16:13:50 +02:00
Valere
5dfc0b3c0e Toggle Quick React (agree/disagree like/dislike) 2019-05-20 12:43:02 +02:00
Valere
44d1d063e9 Fix / theme update after rebase was displaying emojis grayed out 2019-05-20 10:16:00 +02:00
Valere
71e364b42f Fix / Hide reactions on redacted message 2019-05-20 10:16:00 +02:00
Valere
3fa9d7a1d4 Fix formatting 2019-05-20 10:16:00 +02:00
Valere
6eafa3c43d Undo Reaction 2019-05-20 10:16:00 +02:00
Valere
207579c59f Fix / margin end-right missing for compatibility 2019-05-20 10:14:40 +02:00
ganfra
2780ca30a8 Merge branch 'feature/invites' into develop 2019-05-17 17:38:09 +02:00
Benoit Marty
de4662b9d5 Remove all async thread 2019-05-17 15:05:07 +02:00
Valere
f9142fedfd Increment reaction when reaction pill clicked in timeline 2019-05-16 18:33:32 +02:00
Benoit Marty
102bc9c01b SAS Tested 2019-05-16 17:28:51 +02:00
Valere
ef26519993 Send reaction view quick react and picker
+ fix / Error when to many reactions in cells (more than placeholders -8-)
+ fix / DefaultTimeline quick map access was not shifted when items inserted at given index
2019-05-16 16:35:54 +02:00
Valere
dc9db9a438 Fix / was using wrong emoji for agree 2019-05-16 10:56:37 +02:00
Valere
6fe455dac0 Support AddedByMe in reaction + context menu reflect agree/like state 2019-05-16 10:49:52 +02:00
Benoit Marty
1436667e7d Crypto 2019-05-16 10:34:17 +02:00
Valere
a9a1fe2aa0 Fix / hide keyboard when showing context action sheet
+ fix reaction colors
2019-05-16 09:33:49 +02:00
Valere
d68b447874 Relations Model + Aggregation + Reactions Summary 2019-05-16 09:21:10 +02:00
Valere
11e3a5def8 Moved reactions view to a stub 2019-05-16 09:20:24 +02:00
Valere
6aae943e77
Merge pull request #135 from vector-im/feature/reaction_timeline_ux
Reactions: Display existing reactions below the message
2019-05-15 11:24:00 +02:00
ganfra
8d0322c0c3 Hot fix LL not working 2019-05-15 11:11:38 +02:00
ganfra
f60a5f568f Invitation : start polishing but theme has to be rework. Waiting for Nad inputs. 2019-05-14 11:55:48 +02:00
Valere
00fd866cc8 Reactions: Display existing reactions below the message
- Reaction Button Bellow the message
- Upgrade to constraint layout 2.0.0 beta (for Constraint Helpers / Flow)
- Added tap on member name action
- Cleaning
2019-05-14 11:07:53 +02:00
Valere
73d5110d67 Code review / Renamed base item class name 2019-05-13 16:29:33 +02:00
Valere
0c559976d6 Default avatar style so small 2019-05-13 09:38:52 +02:00
Valere
540989f38a Fix / ripple effect broken after merge 2019-05-10 18:43:06 +02:00
Valere
608bbdd4ee Refactoring / Use view ViewStub to avoid layout xml duplication 2019-05-10 18:31:56 +02:00
Valere
6bf1deb99b Code Review 2019-05-10 12:14:40 +02:00
Valere
cfca4927e2 Cleaning 2019-05-10 09:28:52 +02:00
Valere
93cb7b8ce6 Cleaning 2019-05-09 18:43:10 +02:00
Valere
dcc430f91b Refactoring / revert reaction module to package in main module 2019-05-09 18:26:32 +02:00
Valere
64216f74ae fix / code quality 2019-05-09 09:15:30 +02:00
Valere
8fd15f4082 Debounce click + avatar click 2019-05-08 15:49:32 +02:00
Valere
38abf31889 Fix / ripple effect after merging 2019-05-08 10:33:14 +02:00
ganfra
c39cfbe2ae Invites : allow to accept or reject the invite + clean some code. Require UI polishing. 2019-05-07 19:33:58 +02:00
Valere
b00bff0af5 Icon Update / Added timestamp on context menu
+ played with avatar sizes
2019-05-07 18:03:56 +02:00
Valere
56a2a3a065 [WIP] Emoji Reactions 2019-05-07 18:01:51 +02:00
Valere
a64f509872 WIP / emoji picker 2019-05-07 17:20:48 +02:00
ganfra
72cd409735 Invites : start handling invite/left sync 2019-05-06 19:17:30 +02:00
ganfra
ceac06caf6
Merge pull request #109 from vector-im/feature/timeline_formatting 2019-05-06 15:01:08 +02:00
ganfra
694df9d845 Timeline : fix some timeline rendering issues (senderName, merge item, left event). Still need to work on it. 2019-05-06 14:26:41 +02:00
ganfra
287feace12 Timeline : merged events are now handled directly within the recyclerview and do not need a LinearLayout. 2019-04-20 10:42:37 +02:00
ganfra
b3e2eca43d Timeline : start to handle merging room member events. Need to get better perf. 2019-04-18 16:50:02 +02:00
Benoit Marty
b1b526a516 Clear cache and rework Signout 2019-04-17 15:55:38 +02:00
Benoit Marty
b6cbed1c90 Fix build after merge 2019-04-17 12:50:43 +02:00
Benoit Marty
bee5da8f64 Format and avoid long lines 2019-04-17 12:35:18 +02:00
Benoit Marty
ab7b807740 Rename APIs 2019-04-17 12:06:15 +02:00
Benoit Marty
d2e1aff453 Convert JsonFilter to FilterId 2019-04-17 12:05:39 +02:00
ganfra
2c83ba0824 Timeline : start to handle video media. Probably to amend 2019-04-12 13:46:59 +02:00
ganfra
657f4d3e9c Timeline : handle file/audio message 2019-04-12 12:38:02 +02:00
ganfra
9c9c09db2b Adjust colors for avatar and display names + start handling video in timeline 2019-04-11 19:19:52 +02:00
ganfra
c38a601bcc Timeline : apply color for sender 2019-04-11 15:40:07 +02:00
ganfra
dcac9aed55 Merge branch 'feature/media_attachment' into develop 2019-04-11 13:21:51 +02:00
ganfra
0225fc7120 Media upload: handle local echo by pinning at the bottom... will probably be changed 2019-04-11 12:48:35 +02:00
Benoit Marty
2a2b4e7bd9
Merge pull request #104 from vector-im/feature/emote
Send emote and update room topic
2019-04-10 09:40:32 +02:00
Benoit Marty
0055514f90 Update room topic 2019-04-09 18:33:28 +02:00
Benoit Marty
6248cc5552 Send emote 2019-04-09 17:53:23 +02:00
Benoit Marty
347967700b Linkification: import workaround done on Riot 2019-04-09 17:33:47 +02:00
Benoit Marty
63964ac101 SlashCommand: add TODO 2019-04-09 15:21:17 +02:00
Benoit Marty
3b52fa4be8 Command parser: check userId format 2019-04-09 14:52:31 +02:00
Benoit Marty
81ddb8c5fb SlashCommand: handle user invitation 2019-04-09 14:44:48 +02:00
Benoit Marty
eae8f993e6 SlashCommand: implement parser 2019-04-09 14:00:30 +02:00
Benoit Marty
fab1d249f4 Autocomplete : better code 2019-04-09 10:03:06 +02:00
Benoit Marty
3f1cc466ed Autocomplete : handle click 2019-04-09 09:58:07 +02:00
Benoit Marty
c64d6b6b28 Autocomplete : handle click and better detection for / commands 2019-04-08 18:31:24 +02:00
ganfra
c9658918ed Media upload : start handling progress. 2019-04-08 16:39:08 +02:00
Benoit Marty
6d3028c2d7 Autocomplete : start fetching users. Still need to adjust UI and manage selection. 2019-04-08 16:18:36 +02:00
Benoit Marty
56563412aa Autocomplete : start integrating commands. Still need to work on it 2019-04-08 15:51:35 +02:00
Benoit Marty
a9b8c57464 Allow cleartext communication on 127.0.0.1 (Fixes #98) 2019-04-08 15:21:12 +02:00
Benoit Marty
314771cce2 Allow cleartext communication on localhost (Fixes #98) 2019-04-08 15:15:11 +02:00
Benoit Marty
460a72e6b5 Create Room 2019-04-08 13:49:28 +02:00
Benoit Marty
968258852f Add a log 2019-04-05 11:01:43 +02:00
Benoit Marty
260cc0dd5f Rename class from Riot* to Vector* 2019-04-05 10:40:59 +02:00
Benoit Marty
57cea677e4 Import resource from Riot 2019-04-05 10:14:45 +02:00
ganfra
c47eeb9cec Send media: first working implementation. Then, need to fix local echo and handle other types than image. 2019-04-04 19:55:58 +02:00
Benoit Marty
82d89825d3 Differentiate icon from Riot one 2019-04-04 11:10:31 +02:00
Benoit Marty
772670252a Make build FDroid pass 2019-04-04 11:10:12 +02:00
ganfra
18591d0287 Media: start to play with uploading media 2019-04-03 23:06:17 +02:00
Benoit Marty
08dacacdda SignOut 2019-04-03 18:25:39 +02:00
Benoit Marty
3091a337c9 Launcher + Animated logo 2019-04-03 14:46:15 +02:00
Benoit Marty
73580493ea Import resource from riot 2019-04-03 14:34:52 +02:00
Benoit Marty
c188bb290f Not implemented toast or Snackbar 2019-04-03 14:08:25 +02:00
Benoit Marty
d9c8867c0b Introduce common parent for PreferenceFragment 2019-04-03 12:10:02 +02:00
Benoit Marty
87c9f6b2a0 Improve lint configuration 2019-04-03 12:04:24 +02:00
Benoit Marty
6830957d31 Import settings from Riot - not all fonctional of course 2019-04-02 18:08:43 +02:00
ganfra
96a67a44ac Media: grab some code from Riot legacy 2019-04-02 15:59:36 +02:00
Benoit Marty
b9b8527b38 Improve RiotFragment 2019-04-02 12:14:16 +02:00
Benoit Marty
10520fb1bd Upgrade string from Riot 2019-04-02 11:57:12 +02:00
Benoit Marty
9048a1dbbe Rename app to vector 2019-04-02 11:24:54 +02:00