Anurag Shivarathri
102789bbd9
[Gekidou MM-40089 MM-39318] CRT New Messages Line ( #6489 )
...
* New Messages Line + More Messages
* Misc
* Update app/actions/local/thread.ts
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com >
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com >
2022-07-22 17:28:14 +05:30
Anurag Shivarathri
306fbba3a7
[Gekidou MM-44135 MM-44134 MM-40088] Group & Clear channel and thread notifications when CRT is on ( #6429 )
...
* Android
* iOS changes
* client changes
* Misc
* Update CustomPushNotification.java
Co-authored-by: Mattermod <mattermod@users.noreply.github.com >
2022-06-30 21:26:14 +05:30
Daniel Espino García
d2e2cf3ec1
Substitute all console.x by an appropiate log util function ( #6427 )
...
* Substitute all console.x by an appropiate log util function
* Address feedback
2022-06-24 10:26:40 -04:00
Elias Nahum
8795ca85b5
[Gekidou] cleanup fixes ( #6376 )
...
* Separate NavigationStore from EphemeralStore
* Prevent WS to mark channel as read while switching to the channel
* Fix mark channel as unread
2022-06-13 08:07:24 -04:00
Elias Nahum
0b4980cf65
[Gekidou] multiple fixes ( #6335 )
...
* Fix navigation stack tracking
* Fix hardwareBackPress handlers
* Use user locale for formattedTime
* Show in-app notifications when in a thread but hide when in the same thread
* Fix post draft archived & read only safe area
* Do not show reply post option in thread screen
* Open permalink as full screen modal
* Fix crash when using chinese locale
* Fix team list and call handle team change
2022-06-03 07:18:29 -04:00
Elias Nahum
353e5ceb0a
[Gekidou] Skip push notification processing for CRT ( #6289 )
...
* Skip push notification processing for CRT
* Fix pushNotificationEntry
2022-05-19 13:03:14 -04:00
Daniel Espino García
75d1c9d228
Try to remove as many as as possible ( #6200 )
...
* Try to remove as many ` as ` as possible
* Fix imports
2022-05-12 15:46:11 +02:00
Elias Nahum
3aa0425fdd
Preserve notifications when tapping or clearing notifications from a channel ( #6209 )
2022-05-04 09:12:37 -04:00
Daniel Espino García
02b4295464
[Gekidou] [MM-39936] Add Select Team Screen ( #6180 )
...
* Add Select Team Screen
* Fixes for iPhone and iPad
* Fix tests
* Address feedback
* Fix tests
* Theme illustration
* Address feedback and fixes
* Remove database warnings by avoiding recalculations on repeated events.
* Address feedback
* Remove unneeded catch
Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local >
2022-05-03 17:22:21 +02:00
Elias Nahum
a2fac160ef
set badge count on cancel notifications ( #6189 )
2022-04-28 11:20:16 -04:00
Elias Nahum
6e2782ae1e
Use device locale to display the untrusted device alert ( #6194 )
2022-04-26 07:46:21 -04:00
Daniel Espino García
14d6d53cc9
[Gekidou] Move managers ( #6171 )
...
* Move managers to their own folder
* Fix lint
* Fix unit tests
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
2022-04-16 09:44:11 -04:00
Elias Nahum
2621d921d6
[Gekidou] Performance & UI fixes ( #6122 )
...
* Fix search bar style
* MM-42983 Align mention badge on channel list item
* MM-42985 polish channel intro UI
* MM-42984 update fonts on 'Show' bottom sheet
* MM-42982 Increase tap area of back button on channel view
* Set StatusBar style based on theme sidebarBg
* Reconnect other WS after 20 seconds insted of 5
* Only fetch missing profiles for DM/GMs
* Database prepare records optimization
* Do not use fallbackUsername for storing GM/DM in the database
* fix filter for fetching missing dm/gm
* remove use of indexOf inside another loop
* remove use of includes inside another loop
* remove use of find inside another loop
* Add missing translations
* disable Flipper on iOS
* Remove Flipper code from AppDelegate
* feedback review
* trim DM display name to make sure is not empty
* fixing missing direct channels display name
* UI/UX feedback
* fix WS channel viewed and mark as unread
* Remove duplicate emojis from reaction bar
2022-04-04 17:09:26 -04:00
Elias Nahum
a058eddb21
[Gekidou] multi server fixes ( #6102 )
2022-03-30 08:04:58 -03:00
Elias Nahum
527bd04170
Update dependencies
2022-03-26 20:33:13 -03:00
Daniel Espino García
2393151ff0
Add integrations manager, use base-64 to handle svgs and minor improvement and fixes in the components
2022-03-24 18:40:38 +01:00
Daniel Espino García
7c642b1e80
[Gekidou] Extract common observers to queries ( #5984 )
...
* Extract common observers to queries
* Separate also queries and more agressive refactoring
* Use query to avoid throws from findAndObserve
* Fix minor error
* Address feedback
* Address feedback
* Address feedback
* Fix model types
* Address feedback
2022-03-23 09:19:29 -03:00
Daniel Espino García
7e4b8b4dd9
[Gekidou] [MM-41524] Add tests to draft Upload Manager ( #5990 )
...
* Add tests to draft Upload Manager
* Address feedback
2022-03-11 14:00:09 -03:00
Elias Nahum
bd7ce77197
Fixes WS reconnection ( #6009 )
2022-02-28 16:40:01 -03:00
Elias Nahum
5b9492356b
Gekidou MultiServers second part ( #5963 )
...
* Edit Server display name
* Lock iPhone to portrait and iPad to landscape
* Create actions for app global to store device token and multi server tutorial
* Add MutliServer tutorial on first use
* WebSocket reconnection priority
* have isRecordGlobalEqualToRaw to not check for value
* Return early on edit server if error is found
* Prepopulate server screen with last logged out server address and name
* Add CompassIcon to circleCI asset generation
2022-02-17 10:42:06 -03:00
Elias Nahum
d35eac8bd3
Gekidou servers ( #5960 )
...
* Servers logout and websocket state
* addNewServer uility and rename file
* add LaunchType for add new server
* added time to LaunchProps type
* Remove unnecessary props for launchToHome
* Fix local action updateLastPostAt
* Batch fetchProfilesPerChannels requests in chunks of 50
* WS handleUserAddedToChannelEvent to return early if no channelId is set
* WS handleNewPostEvent to batch update last_post_at
* add common actions to sync other servers
* Entry actions to sync other servers data
* Do not attempt to fetch notification data if payload does not contain a channelId
* Set database as default at the end of the login flow
* Handle logout when other servers remain
* Handle Server options
* Show alert when logging out from the account screen
* Add workaround to have Lottie animate the loading component
* Fix badge position in ServerIcon component
* Server screen to support adding new server
* Fix login screen to display error when credentials do not match
* add localization strings
* fix DatabaseProvider to update on server switch
* Fix home icon and server icon subscriptions and badge display
* Add dependencies to onLogout callback
* feedback
* Only updateLastPostAt if needed
2022-02-14 16:39:29 -03:00
Elias Nahum
3ea065b845
[Gekidou] Fix & small refactor to the app entry logic and WS reconnection ( #5937 )
...
* Fix & small refactor to the app entry logic and WS reconnection
* Remove not needed log in MainActivity
* Replace async forEach with for await
* extract getClient to its own block
* replace double filter with reduce
* fix select channel on WS reconnect and user no longer belongs to current team
* feedback review on WS users actions
* Add windowFocusChanged for Android only
* on WS reconnection set team & channel if not member of current team
* reduce suggestion
* feedback review
2022-02-09 12:49:37 -03:00
Daniel Espino García
55324127e1
[Gekidou] Post input ( #5844 )
...
* Initial commit post input
* Fix message posting, add create direct channel and minor fixes
* Fix "is typing" and "react to last post" behaviour
* Some reordering, better handling of upload error, properly clear draft on send message, and fix minor progress bar misbehavior
* Add keyboard listener for shift-enter, add selection between video or photo while attaching, add alert when trying to attach more than you are allowed, add paste functionality, minor fixes and reordering
* Add library patch
* Fix lint
* Address feedback
* Address feedback
* Add missing negation
* Check for group name and fix typo on draft comparisons
* Address feedback
* Address feedback
* Address feedback
* Address feedback
* Fix several bugs
* Remove @app imports
* Address feedback
* fix post list & post draft layout on iOS
* Fix post draft cursor position
* Fix file upload route
* Allow to pick multiple images using the image picker
* accurately get the channel member count
* remove android cursor workaround
* Remove local const INPUT_LINE_HEIGHT
* move getPlaceHolder out of the component
* use substring instead of legacy substr for hardward keyboard
* Move onAppStateChange above the effects
* Fix camera action bottom sheet
* no need to memo SendButton
* properly use memberCount in sender handler
* Refactor how to get memberCount
* Fix queryRecentPostsInThread
* Remove unused isDirectChannelVisible && isGroupChannelVisible util functions
* rename errorBadUser to errorUnkownUser
* extract localized strings
* use ClientErrorProps instead of ClientError
* Minor improvements
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
2022-02-03 08:59:15 -03:00
Daniel Espino García
bebfccb964
[Gekidou] Add Draft Upload Manager ( #5910 )
...
* Add Draft Upload Manager
* Address feedback
* Use callbacks instead of events and add byteCount
* Address feedback
2022-02-01 17:26:26 +01:00
Elias Nahum
42f193c70c
Upgrade deps ( #5850 )
2021-11-29 23:19:39 +02:00
Elias Nahum
39982a4280
Gekidou deps ( #5815 )
...
* upgrade dependencies
* async-storage upgrade
2021-11-06 16:24:53 -03:00
Shaz Amjad
1c1d0e36aa
MM-38682: Gekidou Homepage (Static) ( #5756 )
...
* Home page first pass
* Adds missing static elements, introduces button component
* Removes inlines styles
* Various clean ups and button component added
* Updates typography, and adds button util
* Removes button component
* Uses stylesheet.create for memoization
* Snapshots updated
* Podfile update / fix
* Flatlist!
* Tests updated
* Moves out server icon, styling fixes
* Sneaky buttons added, compass-icons list, and server_icon removed
* Snapshots
* Adds chevron to header
* Removes unnecessary files
* Tidies up header and error
* Address feedback
* Compass Icon const removed
2021-11-04 10:32:35 -03:00
Elias Nahum
fbd8b92194
[Gekidou] Avoid technical debt ( #5795 )
...
* Apply Status bar color
* useIsTablet hook instead of useSplitView in combination with the constant
* Constants clean up
2021-10-28 10:15:17 -03:00
Elias Nahum
790b1beb22
[Gekidou] push notifications ( #5779 )
...
* Push notifications entry point
* Process android notification natively only if RN is not initialized
* Database changes to store local channel viewed_at
* EphemeralStore wait until screen removed
* Move schedule session notification to utility
* Fix channel remote & local actions + added actions for markChannelAsViewed & fetchMyChannel
* Add fetchMyTeam remote action
* Add dismissAllModalsAndPopToScreen to navigation
* Improve post list component & add app state to re-trigger queries
* Improve WS implementation
* Handle push notification events
* Fix postsInChannel since handler
* Handle in-app notifications
* Post list to listen to column changes
* Track selected bottom tab in ephemeral store
* add useIsTablet hook
* in-app notifications on tablets
2021-10-27 17:53:11 -03:00
Daniel Espino García
d1e0c99c3d
Gekidou websockets ( #5671 )
...
* Adapt websocket client
* Add Websocket Manager
* Address feedback
* Start websockets on init and login, and invalidate on logout
* Add temporal logging and bug fixing
* Working WS
* Add reconnect actions and periodic updates
* Address feedback
* Add missing change
* Several improvements on websocket reconnect and channel handling
* fix gekidou package-lock.json
* update Podfile.lock
* Address feedback
* Address feedback
* Address feedback
* Fix update channel delete at
* Catch errors on batchRecords
* Update app/queries/servers/channel.ts
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
2021-10-19 19:16:10 +02:00
Elias Nahum
fcc6394502
Gekidou fixes ( #5748 )
...
* Use Intl based on user locale
* set PROMPT_IN_APP_PIN_CODE_AFTER to wait for 5 mins
* Observables Improvements
* Fix iPad external keyboard listener
* file model description
2021-10-13 14:13:39 -03:00
Avinash Lingaloo
7f91a6a78a
Gekidou - Account Screen ( #5708 )
...
* Added DrawerItem component
* WIP Account Screen
* Added react-native-paper
* Added StatusLabel Component
* Extracted i18n
* TS fix DrawerItem component
* WIP Account Screen
* Added server name label under log out
* Updated translation
* WIP
* Fixes the Offline text style
* Added Metropolis fonts
* WIP
* Typo clean up
* WIP
* WIP
* WIP
* Added server display name
* Writing OpenSans properly
* WIP
* WIP
* Added OptionsModal
* Opening OptionsModal
* Added translation keys
* Writes status to local db
* Fix missing translation
* Fix OptionModal not dismissing
* Pushing status to server
* Refactored
* Added CustomStatusExpiry component
* Added sub components
* Added CustomLabel
* CustomStatus WIP
* Added Custom Status screen WIP
* WIP - unsetCustomStatus and CustomStatus constant
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Retrieving RecentCustomStatuses from Preferences table
* WIP
* WIP
* WIP
* Added Clear After Modal
* WIP - Transations
* WIP
* Done with showing modal cst
* wip
* Clear After Modal - DONE
* fix
* Added missing API calls
* wip
* Causing screen refresh
* wip
* WIP
* WIP
* WIP
* Code clean up
* Added OOO alert box
* Refactored Options-Item
* Refactored OptionsModalList component
* Opening 'status' in BottomSheet instead of OptionsModal
* AddReaction screen - WIP
* Add Reaction screen - WIP
* Added EmojiPickerRow
* Added @components/emoji_picker - WIP
* Emoji Picker - WIP
* WIP
* WIP
* WIP
* SectionList - WIP
* Installed react-native-section_list_get_item_layout
* Adding API calls - WIP
* WIP
* Search Bar component - WIP
* WIP
* WIP
* WIP
* Rendering Emoticons now - have to tackle some fixmes
* Code clean up
* Code clean up - WIP
* Code clean up
* WIP
* Major clean up
* wip
* WIP
* Fix rendering issue with SectionIcons and SearchBar
* Tackled the CustomEmojiPage
* Code clean up
* WIP
* Done with loading User Profiles for Custom Emoji
* Code clean up
* Code Clean up
* Fix screen Account
* Added missing sql file for IOS Pod
* Updated Podfile.lock
* Using queryConfig instead of queryCommonSystemValues
* Fix - Custom status
* Fix - Custom Status - Error
* Fix - Clear Pass Status - WIP
* Fix - Custom Status Clear
* Need to fix CST clear
* WIP
* Status clear - working
* Using catchError operator
* remove unnecessary prop
* Status BottomSheet now has colored indicators
* Added KeyboardTrackingView from 'react-native-keyboard-tracking-view'
* Code clean up
* WIP
* code clean up
* Added a safety check
* Fix - Display suggestions
* Code clean up based on PR Review
* Code clean up
* Code clean up
* Code clean up
* Corrections
* Fix tsc
* TS fix
* Removed unnecessary prop
* Fix SearchBar Ts
* Updated tests
* Delete search_bar.test.js.snap
* Merge branch 'gekidou' into gekidou_account_screen
* Revert "Merge branch 'gekidou' into gekidou_account_screen"
This reverts commit 5defc31321 .
* Fix fonts
* Refactor home account screen
* fix theme provider
* refactor bottom sheet
* remove paper provider
* update drawer item snapshots
* Remove options modal screen
* remove react-native-ui-lib dependency
* Refactor & fix custom status & navigation (including tablet)
* Refactor emoji picker
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
2021-10-12 19:24:24 +04:00
Elias Nahum
e2ecf2f0f7
Entry point when upgrading from v1 ( #5707 )
2021-10-01 09:56:28 +04:00
Miguel Alatzar
1d02d6e1e5
[Gekidou] app entry ( #5609 )
...
* Add channelEntry action
* Refactor appEntry
* Lint fix
* Some duplication removed
* Refactor app entry
* Refactor app entry and add prepareDestroyPermanentlyWithAssociations
* Handle team deletion
* Sync channels
* Lint fix
* Address review comments, take 1
* Address review comments, take 2
* Set initial channel ID to empty
* Fix types
* sort imports
* clean up app entry point
* Fix post header & highlight reply bar
* Style channel list text
* iOS Pods sync
* Rename goToChannel to goToHome
* Sync ios Gemfile.lock
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
2021-09-29 12:38:05 -03:00
Daniel Espino García
1c26f14fdb
Add import order lint rules ( #5672 )
...
* Add import order lint rules
* Address feedback
* Revert change
2021-09-13 10:18:03 +02:00
Elias Nahum
0139773c31
Fix logout on Android
2021-09-04 13:15:54 -04:00
Miguel Alatzar
06dc849c97
iOS - Fetch and store data on push notification receipt ( #5645 )
...
* Gekidou package and postNotificationReceipt
* Add back UploadAttachments functions
* ios - Fetch and store Posts
* ios - handle PostsInChannel
* Use queue and group for fetchAndStoreDataForPushNotification
* Handle channel and channel membership
* Handle post props
* Handle reactions
* Handle files
* Handle emojis
* Handle images
* Use notification data
* Credential fixes
* Lint fixes
* Fixes
* Call content handler after requests and db writes
* Handle posts in thread
* Remove comment
2021-08-31 15:43:57 -07:00
Avinash Lingaloo
2c193f2133
[GEKIDOU] Bottom Tab Navigation ( #5600 )
...
* Started with bottom tabs layout
* code clean up
* Added animation to bottom tab bar
* returns null if not focused
* code clean up
* Updating layout
* Updated modal screen
* Updated animation
* Updated animation
* Fix SafeArea on Home
* A few clean ups
* code clean up
* Fix issue with navigation on Android
* Use React Navigation in combination of RNN & create bottom tab bar
* Set tab bar line separator height to 0.5
* Fix snapshot tests
* Add home tab mention badge
* Apply new themes
* Home Tab badge
* Remove unused constants
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
2021-08-31 14:58:53 -04:00
Avinash Lingaloo
e8ce78f39d
MM-36721 - [GEKIDOU] Porting Markdown components ( #5586 )
...
* Started with Channel Post List
* Added markdown hashtag
* Added TouchableWithFeedback component
* Added utils/bottom_sheet
* Removed BottomSheet in favor of future SlideUpPanel
* Added markdown_block_quote
* Added markdown_list_item
* Added markdown_list
* Added MarkDownTableCell component
* Markdown_table - in progress - need to verify TS
* Added markdown_table
* Update Podfile.lock
* Added deep_linking constant
* Added utils/draft
* Update config to include ExperimentalNormalizeMarkdownLinks
* Added markdown_link
* Added markdown_table_row
* Added ProgressiveImage and RetriableImage components and images utils
* Converted Retriable component to functional component
* Added type definition for commonmark
* Continuing with markdown TS
* Markdown - Typing props [ in progress ]
* Fix boolean flag with mardown block quote
* Adding observable config to markdown_link
* TS Fixes [ in progress ]
* TS fixes
* TS fixes - TextStyles
* Update markdown.tsx
* TS fixes on markdown
* TS Fixes - AtMention component
* AtMention [ IN PROGRESS ]
* Add markdown support
* Fix emoji and jumboEmoji on iOS
* Fix handleMyTeam operator
* Fix navigation style based on theme
* Fix iOS MattermostManaged deleteDatabse return error type
* wrap setNavigationStackStyles under a requestAnimationFrame
* Add preventDoubleTap to channel mention
* Increase double tap to 750ms
* Fix handleReceivedPostsInChannel chunk query
* Set initial navigation theme
* Swizzle FastImage on iOS
* fix preventDoubleTap test
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
2021-08-02 20:30:17 +04:00
Elias Nahum
8d2bd32897
[Gekidou] Update dependencies ( #5581 )
...
* Update detox deps
* Push notifications (android & launcher)
* Update dependencies
2021-08-01 21:09:19 -04:00
Elias Nahum
c452ef8038
[Gekidou] Login entry point ( #5568 )
...
* Login entry point
* feedback review
* sort imports
* Fix model relations
* Handle when no current team or current channel has been selected
* Fix MFA unit test
* update prepareCommonSystemValues arguments
2021-07-26 12:03:43 +04:00
Avinash Lingaloo
bd0f22fcd1
[Gekidou] Awaiting client creation ( #5556 )
...
* Awaiting client creation
* Update app/init/network_manager.ts
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
2021-07-20 12:04:35 -04:00
Elias Nahum
8cd127a223
[Gekidou] Typings & PostMetadata structure ( #5542 )
...
* Typings & PostMetadata structure
* comment out unused code
* Remove duplicate interface
* Fix getPreferenceAsBool defaultValue
2021-07-15 11:49:02 -04:00
Elias Nahum
c64277bdbf
Gekidou Update deps ( #5530 )
2021-07-11 07:52:44 -04:00
Miguel Alatzar
134c4a49c5
Integrate react-native-network-client ( #5499 )
...
* fix: handle NSMutableData
* feat: integrate react-native-network-client
* fix: typos
* fix: semicolon
* fix: rename to urlVersion
* fix: add returnDataOnly arg
* fix: configure network client
* fix: headers
* fix: handling of serverVersion
* fix: rename requests to actions
* fix: action imports
* fix: no need to stringify body
* fix: sso flow
* fix: address PR feedback
* fix: invalidate client on logout
* fix: address PR feedback take 2
* fix: address PR feedback take 3
* fix: tsc issues
* fix: get csrf token during client creation
* fix: linter
* fix: invalidate client onLogout
* fix: event emitter
* fix: unit tests
* fix: apply linter fixes
* fix lint
* Modify actions to add / update database values
* Rename clien4.d.ts to client.d.ts
* fix empty & missing translations
* cleanup api client
* Cleanup init & squash some TODO's
* Emit certificate errors in NetworkManager
* cleanup user actions
* Fix NetworkManager invalidate client
* Invalidate client when server screen appears
* Update kotlin to 1.4.30 required by network-client
* patch react-native-keychain to remove cached credential
* update react-native-network-client
* Use app.db instead of default.db in native code
* fix use of rnnc on Android
* Init PushNotifications
* No need to reset serverVersion on logout
* fix logout action
* fix deleteServerDatabase
* fix schedule expired session notification
* use safeParseJSON for db json fields
* unsubscribe when database component unmounts
* cleanup init
* session type
* pass launchprops to entire login flow
* Properly remove third party cookies after SSO login
* recreate network client if sso with redirect fails
* add missing launch props from server screen
* use query prefix for database queries
* Add temporary logout function to channel screen
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
2021-07-06 11:16:35 -04:00
Avinash Lingaloo
7ff119fdc1
MM_36721 : Restructure Entities - Global & System ( #5504 )
2021-07-02 05:08:12 -04:00
Miguel Alatzar
3b9fd5c03a
[Gekidou] Get all existing server credentials on init ( #5468 )
...
* feat: get all existing server credentials on init
* fix: react-native-keychain patch
* fix: await in for loop
* fix: no need to normalize server URL
2021-06-21 14:08:06 -07:00
Elias Nahum
17e832e689
[Gekidou] Refactor storage layer ( #5471 )
...
* Refactored storage layer - in progress
* Refactored DatabaseManager & Operators
* Renamed isRecordAppEqualToRaw to isRecordInfoEqualToRaw
* Review feedback
* Update app/database/models/app/info.ts
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com >
* Update app/database/models/server/my_team.ts
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com >
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com >
2021-06-21 17:06:18 -04:00
Avinash Lingaloo
3ee6e673c8
MM-35115 [Gekidou] Login flow - Email and Password ( #5402 )
...
* MM_35115: ADDED select_server screen
* MM_35115: ADDED select_server screen
* MM_35115: ADDED files on which select_server is dependent
* MM_35115: ADDED react-native-button
* MM_35115: Fixing TS issues [IN PROGRESS]
* MM_35115: Started withObservables [IN PROGRESS]
* MM_35115: Started withObservables [IN PROGRESS]
* MM_35115: withObservables - defaulting when no connection is available [IN PROGRESS]
* MM_35115: withObservables - some code clean up [IN PROGRESS]
* MM_35115: withObservables - some code clean up [IN PROGRESS]
* MM_35115: withObservables - some code clean up [IN PROGRESS]
* MM_35115: Substituting mapDispatchToProps [IN PROGRESS]
* MM_35115: Substituting mapDispatchToProps [IN PROGRESS]
* MM_35115: Substituting mapDispatchToProps [IN PROGRESS]
* MM_35115: Removed resetPing action [IN PROGRESS]
* MM_35115: ADDED app/client
* MM_35115: Preparing scheduleExpiredNotification
* MM_35115: Adding some todos
* Server & LoginOptions
* Use default server if available and autoconnect if configured
* Fix login header & manual server url
* MM_35115: Login Options[IN PROGRESS]
* MM_35115: Login screen - email [IN PROGRESS]
* MM_35115: Login screen - email [IN PROGRESS]
* MM_35115: Login screen - email - login api call [IN PROGRESS]
* MM_35115: Login screen - email - login api call [IN PROGRESS]
* MM_35115: Login screen - email - saving to server db [IN PROGRESS]
* MM_35115: Login screen - email - saving to System, Preferences to db [IN PROGRESS]
* MM_35115: Login screen - enforcing unique check on System entity [IN PROGRESS]
* MM_35115: Login screen - writing TeamMembership [IN PROGRESS]
* MM_35115: Login screen - writing Teams [IN PROGRESS]
* MM_35115: Login screen [IN PROGRESS]
* MM_35115: Login screen- Refactored DataOperator handlers [IN PROGRESS]
* MM_35115: Login screen - Proper clean up [IN PROGRESS]
* MM_35115: Login screen - completeLogin [IN PROGRESS]
* MM_35115: Improving DataOperator
* MM_35115: Improving DataOperator
* MM_35115: 80% DONE - login with email and password - some todos
* MM_35115: 80% DONE - login with email and password - some todos
* MM_35115: 80% DONE - login with email and password - some todos
* MM_35115: Removing unused app/queries folder
* MM_35115: Clean up
* MM_35115: Clean up
* MM_35115: Clean up
* MM_35115: Clean up
* MM_35115: Clean up
* MM_35115: Adding roles for MYTEAM
* MM_35115: Code clean up
* MM_35115: Code clean up
* MM_35115: Code clean up
* MM_35115: Adding rn-fetch-blob for Android
* MM_35115: Code clean up
* MM_35115: Code clean up
* MM_35115: Added test setup
* MM_35115: Fix database utils
* MM_35115: ADDED loadRolesIfNeeded
* MM_35115: Fix TS issue
* MM_35115: ADDED Tests setup
* MM_35115: Fix TS issues
* MM_35115: Fix TS issues
* MM_35115: Fix TS issues
* MM_35115: Added alternative to site name
* MM_35115: Added alternative to site name
* MM_35115: Removed hardcoded values
* MM_35115: Clean up
* MM_35115 - Fixed Android platform check instead of hermes
* MM_35115 - Replaced emptyErrorHandlingFunction with emptyFunction
* MM_35115 : Implemented TS fixes
* Update index.ts
* MM-35115 - Fix react-test-renderer issue
* MM_35115 - Optimizing DatabaseManager
* MM_35115 : Implemented getDatabaseConnection
* MM_35115 : Refactoring set/getActiveDatabase to use flag record
* MM_35115 : Refactored active database to use flag in Global entity
* MM_35115 : Updated manual database manager test
* MM_35115 : Fix operator/utils/test
* MM_35115 : Fix for base_handler
* MM_35115 : Fix test issues with Handlers
* MM_35115 : Fix test issues with prepareRecords
* MM_35115 : Fix wrapper test issue
* MM_35115 : Updated getMostRecentServerConnection to return the serverUrl as well as the connection
* MM_35115 : Refactored the way we call DataOperator
* MM_35115 : Updated database manager mock
* Add getMostRecentServerUrl function (#5440 )
* fix: add getMostRecentServerUrl func
* fix: add ts and tsx to editorconfig
* fix: rename functions
* fix: return type
* Fix unit test setup
* fix login screen unit tests
* MM-36205 [GEKIDOU] Login Flow SSO (#5454 )
* MM_35115: Starting LoginOptions SSO
* MM_36205: SSO [IN PROGRESS]
* MM_36205 : SSO [ IN PROGRESS ]
* Update sso_with_redirect_url.tsx
* MM_36205 : SSO Tests [ IN PROGRESS ]
* MM_36205 : Passing serverUrl to SSO screen
* Update sso.test.tsx
* Fix ViewTypes imports and keyMirror method
* MM_36205 : Code clean up
* Fix : Clean up imports
* Update: Aligning with PR 5452
* Fix: AndroidManifest file to include redirection ofr scheme mmauthbeta
* refactor: SSO Login method via Gitlab now navigates to Channel screen
* refactor: SSO Login without redirectURL is also working
* feat: SSO - main test completed
* feat: ADDED test for sso_with_redirect_url
* fix : eslint correction
* fix: Updated Loading component name
* fix : code clean up from reviews
* fix: reviews check
* fix: Added mmauthbeta into info.plist
* Revert "fix: Added mmauthbeta into info.plist"
This reverts commit d87cc23f5b .
* Update Info.plist
* Update AppDelegate.m
* feat: ADDED Forgot Password - Test [ IN PROGRESS ]
* feat: Forgot Password - Completed & Tested
* fix: Including MFA screen [ IN PROGRESS ]
* MFA - Properly tested
* Properly testing forgot_password screen
* Fix login.test.tsx
* Fix SSO method calls chain
* Update index.tsx
* Sort imports for sceen/navigation
* fix: Reviews
* Update signing + act in test
* Removed todo comment on MFA
* feedback review
* fix login tests
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
* App initialization refactor (#5430 )
* fix: initial init refactor
* fix: await isServerPresent
* fix: more refactor
* fix: move out launch functions
* fix: remove comment
* fix: update credential functions
* fix: refactor launch functions
* fix: deep link parsing
* fix: lint change
* fix: update deeplink and notification handlers
* fix: indentation
* fix: add relaunchApp
* fix eslint
* refactor launchProps and autoconnect server for deeplink
* fix: use undefined
* fix: define OptionalLaunchProps
* fix: Android - handle server URL in push notification
* fix: rename func
* fix: use boolean launchError instead
* fix: use DatabaseModule
* fix: use DatabaseHelper instead
* fix: remove unnecessary null check
* fix: iOS - support for serverUrl
* fix: iOS - extract serverUrl in reply action
* fix: iOS - expose objc specific func
* fix: remove unnecessary deviceToken param
* fix: return if device is untrusted
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
* fix: bye bye modulePaths
* fix: ios build
* chore: remove unused aliases from babel.config
* chore: fix dependency format in package-lock.json
* chore: remove transparent window background color for android AppTheme
* chore: remove mattermost.js and use index.ts as app entry
* fix: login flow screens theme
* fix: Launch types
* chore: remove OptionalLaunchProps type
* fix: url utils unit tests
* chore: update en.json
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com >
2021-06-18 00:57:40 -04:00
Elias Nahum
9a4a93a1a5
Update v2 dependencies ( #5312 )
2021-04-14 10:55:29 -04:00