verdnatura-chat/app/actions
Gung Wah e98116587d
[CHORE] Add permissions to Redux (#2914)
* [FIX] Add permissions to Redux store

* add only permissions being used in the app

* add clear permissions reducer

* call RocketChat.hasPermission from reducer

* add server version comparison on getPermissions

* refactor hasPermission function

* refactor hasPermission function

* remove uncomment code

* use Q.experimentalSortBy()

* add coerce function

* Change Rocketchat.hasPermission

* Apply on isReadOnly

* Apply to RoomInfoEditView

* Apply to RoomInfoView and RoomInfoEditView

* canAutoTranslate

* Unnecessary clear permissions

* Revert getUpdatedSince

* Naming fix

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-25 13:41:44 -03:00
..
actionsTypes.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
activeUsers.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
app.js [FIX] Back button closing activity when on root stack screen (#2804) 2021-01-15 14:49:00 -03:00
connect.js Use Rest API calls (#558) 2018-12-05 18:52:08 -02:00
crashReport.js [NEW] Toggle analytics events (#2422) 2020-09-11 14:34:11 -03:00
createChannel.js Beta (#265) 2018-04-24 17:08:17 -03:00
createDiscussion.js [NEW] Create discussions (#1942) 2020-03-30 16:50:27 -03:00
customEmojis.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
deepLinking.js Deep linking (#291) 2018-05-07 17:43:26 -03:00
encryption.js [NEW] Encrypted Discussions (#2813) 2021-01-20 14:34:01 -03:00
enterpriseModules.js [IMPROVEMENT] Verify Enterprise status on Omnichannel (#2399) 2020-08-21 10:38:50 -03:00
inviteLinks.js [NEW] Invite links (#1534) 2020-01-28 10:22:35 -03:00
login.js [FIX] Screen Lock (#2177) 2020-06-09 17:19:54 -03:00
messages.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00
permissions.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
room.js [NEW] Livechat (#2004) 2020-05-08 14:36:10 -03:00
rooms.js [NEW] Pull to refresh RoomsList (#1701) 2020-02-11 17:13:44 -03:00
selectedUsers.js Update dependencies (#431) 2018-09-25 16:28:42 -03:00
server.js [FIX] Rooms list not being updated on some cases (#2765) 2021-01-13 11:16:00 -03:00
settings.js [FIX] Clear settings on server change (#1967) 2020-04-01 16:24:42 -03:00
share.js [FIX] App always sends auth for Avatar requests (#2517) 2020-10-30 12:54:02 -03:00
sortPreferences.js Sort/group rooms local only (#425) 2018-09-04 11:29:20 -03:00
usersTyping.js [CHORE] Migrate to Watermelon (#1171) 2019-09-16 17:26:32 -03:00