Ezequiel de Oliveira
36b37eb747
[CHORE] Create DimensionsContext ( #2098 )
...
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-17 14:35:58 -03:00
Ezequiel de Oliveira
2632ef50f5
[IMPROVEMENT] Use react-native-notifier for in-app notifications ( #2139 )
...
Signed-off-by: Ezequiel De Oliveira <ezequiel1de1oliveira@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-06-16 17:32:30 -03:00
Diego Mello
98ed84ba5c
[CHORE] Update react-navigation to v5 ( #2154 )
...
* react-navigation v5 installed
* compiling
* Outside working
* InsideStack compiling
* Switch stack
* Starting room
* RoomView header
* SafeAreaView
* Slide from right stack animation
* stash
* Fix params
* Create channel
* inapp notification
* Custom status
* Add server working
* Refactor appStart
* Attachment
* in-app notification
* AuthLoadingView
* Remove compat
* Navigation
* Outside animations
* Fix new server icon
* block modal
* AttachmentView header
* Remove unnecessary code
* SelectedUsersView header
* StatusView
* CreateDiscussionView
* RoomInfoView
* RoomInfoEditView style
* RoomMembersView
* RoomsListView header
* RoomView header
* Share extension
* getParam
* Focus/blur
* Trying to fix inapp
* Lint
* Simpler app container
* Update libs
* Revert "Simpler app container"
This reverts commit 1e49d80bb49481c34f415831b9da5e9d53e66057.
* Load messages faster
* Fix safearea on ReactionsModal
* Update safe area to v3
* lint
* Fix transition
* stash - drawer replace working
* stash - modal nav
* RoomActionsView as tablet modal
* RoomStack
* Stop showing RoomView header when there's no room
* Custom Header and different navigation based on stack
* Refactor setHeader
* MasterDetailContext
* RoomView header
* Fix isMasterDetail rule
* KeyCommands kind of working
* Create channel on tablet
* RoomView sCU
* Remove withSplit
* Settings opening as modal
* Settings
* StatusView headerLeft
* Admin panel
* TwoFactor style
* DirectoryView
* ServerDropdown and SortDropdown animations
* ThreadMessagesView
* Navigate to empty RoomView on server switch when in master detail
* ProfileView header
* Fix navigation issues
* Nav to any room info on tablet
* Room info
* Refactoring
* Fix rooms search
* Roomslist commands
* SearchMessagesView close modal
* Key commands
* Fix undefined subscription
* Disallow navigate to focused room
* isFocused state on RoomsListView
* Blur text inputs when focus is lost
* Replace animation
* Default nav theme
* Refactoring
* Always open Attachment with close modal button
* ModalContainer backdrop following themes
* Screen tracking
* Refactor get active route for in-app notification
* Only mark room as focused when in master detail layout
* Lint
* Open modals as fade from bottom on Android
* typo
* Fixing tests
* Fix in-app update
* Fixing goRoom issues
* Refactor stack names
* Fix unreadsCount
* Fix stack
* Fix header animation
* Refactor ShareNavigation
* Refactor navigation theme
* Make sure title is set
* Fix create discussion navigation
* Remove unused variable
* Create discussions from actions fixed
* Layout animation
* Screen lock on share extension
* Unnecessary change
* Admin border
* Set header after state callback
* Fix key commands on outside stack
* Fix back button pressed
* Remove layout animations from Android
* Tweak animations on Android
* Disable swipe gesture to open drawer
* Fix current item on RoomsListView
* Fix add server
* Fix drawer
* Fix broadcast
* LayoutAnimation instead of Transitions
* Fix onboarding back press
* Fix assorted tests
* Create discussion fix
* RoomInfoView header
* Drawer active item
2020-06-15 11:00:46 -03:00
Djorkaeff Alexandre
9e89316e2a
[NEW] Livechat ( #2004 )
...
* [WIP][NEW] Livechat info/actions
* [IMPROVEMENT] RoomActionsView
* [NEW] Visitor Navigation
* [NEW] Get Department REST
* [FIX] Borders
* [IMPROVEMENT] Refactor RoomInfo View
* [FIX] Error while navigate from mention -> roomInfo
* [NEW] Livechat Fields
* [NEW] Close Livechat
* [WIP] Forward livechat
* [NEW] Return inquiry
* [WIP] Comment when close livechat
* [WIP] Improve roomInfo
* [IMPROVEMENT] Forward room
* [FIX] Department picker
* [FIX] Picker without results
* [FIX] Superfluous argument
* [FIX] Check permissions on RoomActionsView
* [FIX] Livechat permissions
* [WIP] Show edit to livechat
* [I18N] Add pt-br translations
* [WIP] Livechat Info
* [IMPROVEMENT] Livechat info
* [WIP] Livechat Edit
* [WIP] Livechat edit
* [WIP] Livechat Edit
* [WIP] Livechat edit scroll
* [FIX] Edit customFields
* [FIX] Clean livechat customField
* [FIX] Visitor Navigation
* [NEW] Next input logic LivechatEdit
* [FIX] Add livechat data to subscription
* [FIX] Revert change
* [NEW] Livechat user Status
* [WIP] Livechat tags
* [NEW] Edit livechat tags
* [FIX] Prevent some crashes
* [FIX] Forward
* [FIX] Return Livechat error
* [FIX] Prevent livechat info crash
* [IMPROVEMENT] Use input style on forward chat
* OnboardingSeparator -> OrSeparator
* [FIX] Go to next input
* [NEW] Added some icons
* [NEW] Livechat close
* [NEW] Forward Room Action
* [FIX] Livechat edit style
* [FIX] Change status logic
* [CHORE] Remove unnecessary logic
* [CHORE] Remove unnecessary code
* [CHORE] Remove unecessary case
* [FIX] Superfluous argument
* [IMPROVEMENT] Submit livechat edit
* [CHORE] Remove textInput type
* [FIX] Livechat edit
* [FIX] Livechat Edit
* [FIX] Use same effect
* [IMPROVEMENT] Tags input
* [FIX] Add empty tag
* Fix minor issues
* Fix typo
* insert livechat room data to our room object
* review
* add method calls server version
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-05-08 14:36:10 -03:00
Diego Mello
61afa86c0e
[NEW] Passcode and biometric unlock ( #2059 )
...
* Update expo libs
* Configure expo-local-authentication
* ScreenLockedView
* Authenticate server change
* Auth on app resume
* localAuthentication util
* Add servers.lastLocalAuthenticatedSession column
* Save last session date on background
* Use our own version of app state redux
* Fix libs
* Remove inactive
* ScreenLockConfigView
* Apply on saved data
* Auto lock option label
* Starting passcode
* Basic passcode flow working
* Change passcode
* Check if biometry is enrolled
* Use fork
* Migration
* Patch expo-local-authentication
* Use async storage
* Styling
* Timer
* Refactor
* Lock orientation portrait when not on tablet
* share extension
* Deep linking
* Share extension
* Refactoring passcode
* use state
* Stash
* Refactor
* Change passcode
* Animate dots on error
* Matching passcodes
* Shake
* Remove lib
* Delete button
* Fade animation on modal
* Refactoring
* ItemInfo
* I18n
* I18n
* Remove unnecessary prop
* Save biometry column
* Raise time to lock to 30 seconds
* Vibrate on wrong confirmation passcode
* Reset attempts and save last authentication on local passcode confirmation
* Remove inline style
* Save last auth
* Fix header blink
* Change function name
* Fix android modal
* Fix vibration permission
* PasscodeEnter calls biometry
* Passcode on the state
* Biometry button on PasscodeEnter
* Show whole passcode
* Secure passcode
* Save passcode with promise to prevent empty passcodes and immediately lock
* Patch expo-local-authentication
* I18n
* Fix biometry being called every time
* Blur screen on app inactive
* Revert "Blur screen on app inactive"
This reverts commit a4ce812934adcf6cf87eb1a92aec9283e2f26753.
* Remove immediately because of how Activities work on Android
* Pods
* New layout
* stash
* Layout refactored
* Fix icons
* Force set passcode from server
* Lint
* Improve permission message
* Forced passcode subtitle
* Disable based on admin's choice
* Require local authentication on login success
* Refactor
* Update tests
* Update react-native-device-info to fix notch
* Lint
* Fix modal
* Fix icons
* Fix min auto lock time
* Review
* keep enabled on mobile
* fix forced by admin when enable unlock with passcode
* use DEFAULT_AUTO_LOCK when manual enable screenLock
* fix check has passcode
* request biometry on first password
* reset auto time lock when disabled on server
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-05-08 14:04:37 -03:00
Siddharth Padhi
6d80f147ac
[FIX] AttachmentView (Android)(Tablet) ( #2047 )
...
* [fix]Tablet attachment View and Room Navigation
* fix weird navigation and margin bottom
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-30 15:11:34 -03:00
Djorkaeff Alexandre
c313a63d8a
[FIX] Change notifications preferences ( #2000 )
...
* [FIX] Change notifications preferences
* [IMPROVEMENT] Picker View
* [I18N] Translations
* [FIX] Picker Selection
* [FIX] List border
* [FIX] Prevent crash
* [FIX] Not-Pref tablet
* [FIX] Use same style of LanguageView
* [IMPROVEMENT] Send listItem title
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-04-06 18:40:18 -03:00
Diego Mello
6982d7676a
[NEW] Two Factor authentication via email ( #1961 )
...
* First api call working
* [NEW] REST API Post wrapper 2FA
* [NEW] Send 2FA on Email
* [I18n] Add translations
* [NEW] Translations & Cancel totp
* [CHORE] Totp -> TwoFactor
* [NEW] Two Factor by email
* [NEW] Tablet Support
* [FIX] Text colors
* [NEW] Password 2fa
* [FIX] Encrypt password on 2FA
* [NEW] MethodCall2FA
* [FIX] Password fallback
* [FIX] Wrap all post/methodCall with 2fa
* [FIX] Wrap missed function
* few fixes
* [FIX] Use new TOTP on Login
* [improvement] 2fa methodCall
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-04-01 17:32:24 -03:00
Djorkaeff Alexandre
d8c8817f04
[NEW] Custom Status ( #1811 )
...
* [NEW] Custom Status
* [FIX] Subscribe to changes
* [FIX] Improve code using Banner component
* [IMPROVEMENT] Toggle modal
* [NEW] Edit custom status from Sidebar
* [FIX] Modal when tablet
* [FIX] Styles
* [FIX] Switch to react-native-promp-android
* [FIX] Custom Status UI
* [TESTS] E2E Custom Status
* Fix banner
* Fix banner
* Fix subtitle
* status text
* Fix topic header
* Fix RoomActionsView topic
* Fix header alignment on Android
* [FIX] RoomInfo crashes when without statusText
* [FIX] Use users.setStatus
* [FIX] Remove customStatus of ProfileView
* [FIX] Room View Thread Header
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-30 17:19:01 -03:00
Djorkaeff Alexandre
475ccbd9c7
[NEW] Create discussions ( #1942 )
...
* [WIP][NEW] Create Discussion
* [FIX] Clear multiselect & Translations
* [NEW] Create Discussion at MessageActions
* [NEW] Disabled Multiselect
* [FIX] Initial channel
* [NEW] Create discussion on MessageBox Actions
* [FIX] Crashing on edit name
* [IMPROVEMENT] New message layout
* [CHORE] Update README
* [NEW] Avatars on MultiSelect
* [FIX] Select Users
* [FIX] Add redirect and Handle tablet
* [IMPROVEMENT] Split CreateDiscussionView
* [FIX] Create a discussion inner discussion
* [FIX] Create a discussion
* [I18N] Add pt-br
* Change icons
* [FIX] Nav to discussion & header title
* Fix header
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-30 16:50:27 -03:00
Diego Mello
acdf39b32d
[NEW] Onboarding layout ( #1954 )
...
* Onboarding texts
* OnboardingView
* FormContainer
* Minor fixes
* NewServerView
* Remove code
* Refactor
* WorkspaceView
* Stash
* Login with email working
* Login with
* Join open
* Revert "Login with"
This reverts commit d05dc507d2e9a2db76d433b9b1f62192eba35dbd.
* Fix create account styles
* Register
* Refactor
* LoginServices component
* Refactor
* Multiple servers
* Remove native images
* Refactor styles
* Fix testid
* Fix add server on tablet
* i18n
* Fix close modal
* Fix TOTP
* [FIX] Registration disabled
* [FIX] Login Services separator
* Fix logos
* Fix AppVersion name
* I18n
* Minor fixes
* [FIX] Custom Fields
Co-authored-by: Djorkaeff Alexandre <djorkaeff.unb@gmail.com>
2020-03-30 16:20:50 -03:00
Djorkaeff Alexandre
1a3551169f
[IMPROVEMENT] Create App Group property on Info.plist ( #1858 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-03-11 16:06:55 -03:00
Djorkaeff Alexandre
f33e98b516
[FIX] Close tablet modal ( #1773 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-28 14:26:31 -03:00
Djorkaeff Alexandre
06cca9c615
[NEW] Default browser ( #1752 )
...
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2020-02-19 17:52:05 -03:00
Diego Mello
6a40d4cefb
[CHORE] Memory leaks investigation ( #1675 )
2020-02-17 16:06:18 -03:00
Djorkaeff Alexandre
777cb28a6f
[FIX] UIKit Modal: Weird behavior on Android Tablet ( #1742 )
2020-02-17 13:42:34 -03:00
Djorkaeff Alexandre
b87472f10b
[NEW] UiKit Beta ( #1497 )
2020-02-11 11:01:35 -03:00
Diego Mello
0673081465
[NEW] Invite links ( #1534 )
2020-01-28 10:22:35 -03:00
Djorkaeff Alexandre
66d21408b6
[NEW] Image Viewer ( #1479 )
2019-12-18 18:13:11 -03:00
Diego Mello
0e87e1f6f4
[FIX] Init local settings on notification tap ( #1438 )
2019-12-04 13:50:22 -03:00
Diego Mello
7b51df377d
[NEW] Themes ( #1298 )
2019-12-04 13:39:53 -03:00
Djorkaeff Alexandre
a0dc2bad4a
[NEW] Tablet support ( #1300 )
2019-11-25 17:01:17 -03:00
Diego Mello
682ac6b4a5
[FIX] Paste ( #1350 )
2019-11-04 12:19:27 -03:00
Diego Mello
0a8404d723
[REGRESSION] Use LayoutAnimation instead of Transition API ( #1338 )
2019-10-30 12:43:57 -03:00
Diego Mello
121ff45f90
Revert react-native-safe-area-view ( #1265 )
2019-10-02 09:18:08 -03:00
Djorkaeff Alexandre
1c22cc2f9f
[CHORE] Update react-native-safe-area-view ( #1219 )
2019-09-26 13:52:22 -03:00
Djorkaeff Alexandre
0ff47f477a
[CHORE] Update react-native-jitsi-meet ( #1235 )
2019-09-25 19:13:39 -03:00
vitorandos
94346634ae
[CHORE] Use React Fragment shorthand ( #1212 )
2019-09-24 17:26:56 -03:00
Djorkaeff Alexandre
69839d59cd
[CHORE] Revert react-navigation-drawer ( #1227 )
2019-09-24 14:37:13 -03:00
Diego Mello
81198b4c4f
[IMPROVEMENT] Use Reanimated's Transitions instead of LayoutAnimation ( #1206 )
...
* [IMPROVEMENT] Use Reanimated's Transitions instead of LayoutAnimation
* Don't run on Android
* Refactor
* Remove unnecessary code
2019-09-19 10:32:24 -03:00
Diego Mello
2887ff04e7
[CHORE] Update navigation lib ( #1201 )
...
* Bump react-navigation
* Bump react-native-screens
* Bump react-navigation-drawer and react-native-gesture-handler
* Update mocks
* Add supportLibVersion
2019-09-17 16:24:47 -03:00
Djorkaeff Alexandre
c78732729d
[IMPROVEMENT] Markdown refactored ( #1151 )
2019-08-27 09:25:38 -03:00
pranavpandey1998official
86a9d405cc
[IMPROVEMENT] Notification Preference ( #1105 )
2019-08-23 13:24:15 -03:00
IlarionHalushka
59a71ffaef
[CHORE] Bugsnag logging setup ( #1145 )
...
* initial bugsnag setup
* upload sourcemaps to bugsnag during ios-build job
* fix: spacing in config.yml
* add yarn global add react-native
* add separate step: Upload sourcemaps to Bugsnag
* add brew install watchman
* install react-native-cli, remove install watchman
* upload source maps for android build
* add yarn add global react-native react-native-cli for android-build ci job
* add working_directory to android-build
* install npm i -g react-native react-native-cli
* add Install Node step to android-build job
* export path to node to bash_profile
* add step Install React Native CLI to android build job
* use yarn generate-source-maps in ci; exchange firebase log -> bugsnag log
* implement send(toggle) crash reports button
* move BUGSNAG_API_KEY to config file; remove generated source maps files
* unlink bugsnag
* add ios/Pods files connected to Bugsnag; fix ci android build job
* export firebase analytics also from /utils/log
* use `log(e)` instead of `log(error)`
* API Key changes
* pod install
* Fix iOS build
* Simulate error
* lint
* Add navigation
* Use projectRoot
* Revert project root
* - Don't run on forks
- Upload dSYMs
* Remove error sim
* Remove automatic dSYMs upload
* Remove fastlane-plugin-bugsnag
2019-08-23 10:18:47 -03:00
Filipe Brito
59426f470b
[NEW] SAML authentication support ( #1108 )
2019-08-09 14:28:46 -03:00
pranavpandey1998official
aac6da34af
[IMPROVEMENT] Reusable toast ( #1065 )
2019-07-23 11:02:57 -03:00
Djorkaeff Alexandre
18ef6c5430
[NEW] Share extension ( #942 )
2019-07-18 14:44:02 -03:00
Diego Mello
346fa3cf61
Load views as needed ( #1056 )
2019-07-17 10:37:20 -03:00
Diego Mello
b3986b98b5
[NEW] Auto-translate ( #1012 )
...
* Update realm
* View original and translate working
* Read AutoTranslate_Enabled setting
* RocketChat.canAutoTranslate()
* AutoTranslateView
* Save language
* Auto-translate switch
* Translate message
2019-06-28 14:02:30 -03:00
pranavpandey1998official
c14714f16f
[NEW] Settings view ( #900 )
...
* new settings view
* fix eslint
* fix eslint
* fix eslint
* fix eslint
* fix eslint
* fix eslint
* fix eslint
* fix eslint
* fix eslint
* fix eslint
* fix eslint
* eslint fixed all bugs and setup on my device
* move version from sidebar to settingsView
* add server Version not hard coded
* goto root stack after change language
* support RTL
* fix the ui of last section
* fixed bugs done requested changes
* added actions for contact us and license
* done requested changes
* removed verticle scroll indicator
* removed default export of device info
* fixed separator styling
* refactor Items in settings view
* changed language view
* change activeOpacity
* done requested changes
* fixed lint
* changed layout
* added test
* fix bug
* fix bug
* added e2e tests
* undone unnessary changes
* undone unnessary changes
* removed firebase
* Comment slash e2e tests
* Refactor Settings
* Refactor LanguageView
* Separator
* Unified styles
* fix indentation
2019-06-11 11:01:40 -03:00
Diego Mello
d68eb01b82
[NEW] Read receipt ( #975 )
...
* switching to ubountu
* added read Recipt functionality to the app
fix : #542
* placed the check icon on the end of timestamp
* removed linting errors
* updating snapshots
* done requested changes
* removed width scrollView
* done required changes
* fixed linting errors
* added migrations
* resolved conflicts and done requested changes
* undone uneesasary changes
* adding migrations
* done requested changes
* Add stories and fix some issues
2019-06-10 15:36:31 -03:00
Diego Mello
467a2d4002
[NEW] In-app notification ( #964 )
...
* added Notification badge
* added notification to state
* added condition not see notification of current room
* fixed lint
* fixed some bugs
* fixed some bugs
* removed navigation prop
* fixed navigation bug
* removed unessary changes
* done requested chamges
* made separate notification for ios and android
* merged notification
* Removed unnecessary sub
* Animation
* Layout changes
* Refactor
2019-06-10 13:23:19 -03:00
Diego Mello
b7e6d3615f
[NEW] Directory and Federation ( #967 )
...
* Initial
* Search working
* Refactor layout
* Layout and search working
* Navigate
* Remove inline styles and fix i18n
* Federation setting
* Missing i18n
* Fix android style
* Refactor
2019-06-10 13:22:35 -03:00
Diego Mello
9e4a4d2454
[CHORE] Use react-native-firebase ( #928 )
...
We need to migrate from deprecated react-native-fabric to react-native-firebase.
This PR enables following Firebase features:
* Analytics
* Crashlytics
* Performance
It also tracks screen view without the necessity of HOC.
Future work:
I won't do it in this PR because it's large enough, but we need to log more app events, like 'sent_message', 'open_admin', 'media_upload', etc.
2019-05-28 10:03:08 -03:00
pranavpandey1998official
31cf0e5f2f
[NEW] Admin ( #800 )
...
* added admin panel
* reverting some changes
* fixed problem with authToken
* changed tab to space
* done requested changes
* fixed lint
* added react-native-webview
* Install webview pod
2019-05-18 16:31:33 -03:00
IlarionHalushka
3733f776fc
issue #799 merger message views ( #876 )
...
On Room Actions, we have Files, Mentions, Starred and Pinned.
They have similar APIs and logic.
All of those could be merged into one generic view (MessagesView).
Maybe even Search could be in this merge.
Note: They're similar, but have own rules (unstar, unpin, etc).
This change may reduce 1MB to our release bundle size, since we're going to remove a lot of boilerplate.
2019-05-10 14:09:07 -03:00
Diego Mello
c15fab7c84
Load legal pages from web ( #849 )
2019-04-26 17:51:09 -03:00
Diego Mello
5744114d7d
[FIX] Threads ( #838 )
...
Closes #826
Closes #827
Closes #828
Closes #829
Closes #830
Closes #831
Closes #832
Closes #833
2019-04-24 15:36:29 -03:00
Diego Mello
03adaa3f81
Lock drawer when stack is not on root screen ( #825 )
2019-04-18 10:43:44 -03:00
Diego Mello
9cf81bbab9
[NEW] Threads ( #798 )
2019-04-17 14:01:03 -03:00