Rocket.Chat.ReactNative/app
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
..
actions [NEW] Toggle analytics events (#2422) 2020-09-11 14:34:11 -03:00
constants [IMPROVEMENT] Add "Allow_Save_Media_to_Gallery" setting (#2459) 2020-09-15 10:34:49 -03:00
containers [NEW] Channel avatars (#2504) 2020-10-30 10:51:04 -03:00
ee [IMPROVEMENT] Move toggle and inquiry to Enterprise Edition license (#2426) 2020-08-28 16:41:08 -03:00
i18n [NEW] Channel avatars (#2504) 2020-10-30 10:51:04 -03:00
lib [NEW] Channel avatars (#2504) 2020-10-30 10:51:04 -03:00
notifications/push [NEW] Add to F-Droid (#2171) 2020-08-24 09:24:10 -03:00
presentation [NEW] Channel avatars (#2504) 2020-10-30 10:51:04 -03:00
reducers [NEW] Toggle analytics events (#2422) 2020-09-11 14:34:11 -03:00
sagas [FIX] Avatar cache invalidation (#2311) 2020-10-30 10:12:02 -03:00
selectors [IMPROVEMENT] Move toggle and inquiry to Enterprise Edition license (#2426) 2020-08-28 16:41:08 -03:00
stacks [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
static/images Several fixes for 1.2.1 (#448) 2018-09-19 11:18:32 -03:00
utils [NEW] Channel avatars (#2504) 2020-10-30 10:51:04 -03:00
views [NEW] Channel avatars (#2504) 2020-10-30 10:51:04 -03:00
AppContainer.js [FIX] Handle TypeErrors on navigationRef and draftMessage due to null properties (#2232) 2020-07-02 14:10:11 -03:00
ReactotronConfig.js [CHORE] Bugsnag logging setup (#1145) 2019-08-23 10:18:47 -03:00
commands.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
dimensions.js [CHORE] Create DimensionsContext (#2098) 2020-06-17 14:35:58 -03:00
emojis.js [FIX] Remove unrecognized emoji flags on android (#1887) 2020-03-17 17:19:18 -03:00
index.js [NEW] Add to F-Droid (#2171) 2020-08-24 09:24:10 -03:00
share.js [NEW] Encrypt user credentials and preferences (#2247) 2020-08-19 14:14:22 -03:00
theme.js [NEW] Action Sheet (#2114) 2020-06-15 16:35:45 -03:00