vn-verdnaturachat/app/lib/methods
Djorkaeff Alexandre 46e3db97e8
[NEW] Channel avatars (#2504)
* [WIP] Avatar cache invalidation

* [WIP] Avatar container

* [IMPROVEMENT] Avatar container

* [CHORE] Improve code

* Allow static image on Avatar

* Fix avatar changing while change username (#1583)

Co-authored-by: Prateek93a <prateek93a@gmail.com>

* Add default props to properly update on Sidebar and ProfileView

* Fix subscribing on the wrong moment

* Storyshots update

* RoomItem using Avatar Component

* use iife to unsubscribe from user

* Use component on avatar container

* RoomItem as a React.Component

* Move servers models to servers folder

* Avatar -> AvatarContainer

* Users indexed fields

* Initialize author and check if u is present

* Not was found -> User not found (turn comments more relevant)

* RoomItemInner -> Wrapper

* Revert Avatar Touchable logic

* Revert responsability of LeftButton on Tablet Mode

* Prevent setState on constructor

* Run avatarURL only when its not static

* Add streams RC Version

* Move entire add user logic to result.success

* Reorder init on RoomItem

* onPress as a class function

* Fix roomItem using same username

* Add avatar Stories

* Fix pick an image from gallery on ProfileView

* Format Avatar URL to use RoomId.

Co-authored-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>

* edit room avatar

* invalidate cache of room images

* reinit avatar if something change

* read avatar cache on search

* room avatar changed system message

* add avatar by rid test

* update snapshot

* etag cache on select channel

* reset room avatar

* increase caching to have a better image quality

* fix lgtm warn

* invalidate ci cache

* get avatar etag on select users of create discussion

* invalidate ci cache

* Fix migration

* Fix sidebar avatar not updating

* Remove outdated comment

* Tests

Co-authored-by: Prateek93a <prateek93a@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
2020-10-30 10:51:04 -03:00
..
helpers [NEW] Channel avatars (#2504) 2020-10-30 10:51:04 -03:00
subscriptions [NEW] Channel avatars (#2504) 2020-10-30 10:51:04 -03:00
actions.js [FIX] HTTP Basic Auth (#1753) 2020-02-20 09:58:13 -03:00
callJitsi.js [NEW] Log remaining events (#2368) 2020-08-05 10:15:56 -03:00
canOpenRoom.js [IMPROVEMENT] Add deep link to Jitsi calls (#2223) 2020-07-30 14:25:52 -03:00
enterpriseModules.js [CHORE] Change database location to Experimental Apps (#2483) 2020-09-23 14:16:04 -03:00
getCustomEmojis.js [FIX] Server Version (#1392) 2019-11-18 14:50:00 -03:00
getPermissions.js [FIX] Server Version (#1392) 2019-11-18 14:50:00 -03:00
getRoles.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
getRooms.js [FIX] Fetch rooms date (#662) 2019-02-27 17:29:37 -03:00
getSettings.js [CHORE] Change database location to Experimental Apps (#2483) 2020-09-23 14:16:04 -03:00
getSlashCommands.js [FIX] Delete slash commands (#1723) 2020-02-14 10:24:35 -03:00
getUsersPresence.js [FIX] Avatar cache invalidation (#2311) 2020-10-30 10:12:02 -03:00
loadMessagesForRoom.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
loadMissedMessages.js [FIX] Load messages (#1910) 2020-03-30 17:10:19 -03:00
loadThreadMessages.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
logout.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
readMessages.js [FIX] Load messages (#1910) 2020-03-30 17:10:19 -03:00
sendFileMessage.js [FIX] Allow special chars in Filename (#2020) 2020-04-30 15:20:29 -03:00
sendMessage.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
updateMessages.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00