verdnatura-chat/app/utils
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
..
base64-js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
log [NEW] Toggle analytics events (#2422) 2020-09-11 14:34:11 -03:00
navigation [FIX] Android stack animation throwing illegal node ID (#2260) 2020-07-08 16:38:36 -03:00
shortnameToUnicode [FIX] Remove unrecognized emoji flags on android (#1887) 2020-03-17 17:19:18 -03:00
appGroup.js [CHORE] App Group path as a iOS constant (#2439) 2020-08-31 17:29:44 -03:00
avatar.js [NEW] Channel avatars (#2504) 2020-10-30 10:51:04 -03:00
debounce.js [WIP] Improves (#245) 2018-03-02 21:31:44 +00:00
deferred.js [NEW] E2E Encryption (#2394) 2020-09-11 11:31:38 -03:00
deviceInfo.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
events.js [CHORE] Bugsnag logging setup (#1145) 2019-08-23 10:18:47 -03:00
fetch.js [IMPROVEMENT] Change server while connecting/updating (#1981) 2020-05-05 10:11:28 -03:00
goRoom.js [CHORE] Update react-navigation to v5 (#2154) 2020-06-15 11:00:46 -03:00
info.js [FIX] Logout from custom oauth (#2377) 2020-08-25 17:04:18 -03:00
isReadOnly.js [NEW] Send multiple attachments (#2162) 2020-06-26 17:22:56 -03:00
isValidEmail.js Use Rest API calls (#558) 2018-12-05 18:52:08 -02:00
layoutAnimation.js [FIX] Watermelon throwing "Cannot update a record with pending updates" (#1754) 2020-03-02 17:12:41 -03:00
localAuthentication.js [NEW] Encrypt user credentials and preferences (#2247) 2020-08-19 14:14:22 -03:00
media.js [NEW] Send multiple attachments (#2162) 2020-06-26 17:22:56 -03:00
messageTypes.js [NEW] Filter system messages per room (#1815) 2020-03-06 11:19:03 -03:00
moment.js [FIX] Moment locales (#1066) 2019-07-23 11:07:18 -03:00
openLink.js [NEW] Encrypt user credentials and preferences (#2247) 2020-08-19 14:14:22 -03:00
random.js [NEW] OAuth (#241) 2018-02-23 17:29:05 -03:00
review.js [NEW] Add to F-Droid (#2171) 2020-08-24 09:24:10 -03:00
room.js [FIX] Lint (#2030) 2020-04-13 10:56:30 -03:00
scaling.js [NEW] Tablet support (#1300) 2019-11-25 17:01:17 -03:00
scrollPersistTaps.js Emoji picker (#185) 2018-01-16 16:48:05 -02:00
server.js [NEW] Support client certificates for SSL (two-way authentication) (#1125) 2019-09-02 13:19:05 -03:00
theme.js [FIX] Wait attach activity before changeNavigationBarColor (#2111) 2020-05-13 17:26:26 -03:00
throttle.js Beta (#265) 2018-04-24 17:08:17 -03:00
touch.js [NEW] Themes (#1298) 2019-12-04 13:39:53 -03:00
twoFactor.js [NEW] Two Factor authentication via email (#1961) 2020-04-01 17:32:24 -03:00
url.js [NEW] Delete Server (#1975) 2020-05-04 17:20:45 -03:00