Elias Nahum
55197b6125
update deps
2022-01-22 09:26:00 -03:00
Elias Nahum
2013f39a61
V2 dependency updates ( #5907 )
...
* Update to RN 0.67 & dependencies
* Update server displayName if already exists
* Allow adding only one reaction
* update to rn 0.67.1
2022-01-21 08:49:04 -03:00
Shaz Amjad
5762bc93b9
Corrects SemiBold to Semibold ( #5903 )
...
* Corrects SemiBold to Semibold
* Cleans font
2022-01-20 09:28:08 -03:00
Elias Nahum
6d73a14343
Fix re-login and hot reload crash ( #5894 )
2022-01-06 13:31:26 +02:00
Elias Nahum
fa88b86b36
downgrade from expo 44 to 43 ( #5891 )
2022-01-04 09:54:05 +02:00
Elias Nahum
112df5c3f8
dependency updates ( #5890 )
2022-01-04 08:30:55 +02:00
Elias Nahum
388a4248a0
Update dependencies ( #5885 )
2021-12-26 12:38:02 +02:00
Elias Nahum
442159ab78
Fix navigation
2021-12-14 11:45:12 +02:00
Elias Nahum
fb01c18143
[Gekidou] update dependencies ( #5871 )
...
* update dependencies
* Remove storybook env type def
2021-12-10 14:40:21 +02:00
Elias Nahum
3a8f1f1946
Update pods ( #5857 )
2021-11-30 11:43:35 +02:00
Jason Frerich
520a28962b
[Gekidou] MM-39736 Login Flow ( #5799 )
2021-11-18 22:07:41 +01:00
Elias Nahum
9af1c16147
[Gekidou] - Custom navigation header ( #5820 )
...
* Custom navigation header
* Add Search props to header
* Add Search props to header
* Simplify example
* Set large subtitle opacity to 80%
* Add extra spacing on large title
2021-11-10 10:16:58 -03:00
Elias Nahum
880cfbb7ac
Upgrade unimodules with expo to use expo-file-system
2021-11-06 18:08:22 -03: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
f19c3b3b6c
Enable Hermes on iOS ( #5800 )
2021-11-03 11:14:00 -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
Elias Nahum
3bbcf2d358
[Gekidou] Update deps ( #5772 )
2021-10-19 17:19:48 -03:00
Matthew Birtch
5575ce6927
changed flattened ios app icon as per marketing request ( #5768 )
2021-10-19 16:21:35 -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 5defc313212478a55abf2f92cb4bd64dc7877342.
* 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
0807a20946
fixed OpenSans, added Metropolis fonts & modified post text styles ( #5728 )
2021-10-07 17:20:39 -03:00
Elias Nahum
a31a361fca
[Gekidou] Upgrade to RN 0.66.0 ( #5711 )
...
* Upgrade to RN 0.66.0
* Fix Remove existing credentials on first run
* Fix TS for unusued expect-error
2021-10-03 14:19:16 -03:00
Elias Nahum
2f8160d360
Remove team unreads and rely on channel member instead ( #5710 )
2021-10-01 16:07:57 -03:00
Elias Nahum
e2ecf2f0f7
Entry point when upgrading from v1 ( #5707 )
2021-10-01 09:56:28 +04:00
Elias Nahum
9ce4bfac38
update dependencies with working ios unimodules
2021-09-30 19:03:13 -03:00
Elias Nahum
8b23f1df37
Revert "update dependencies"
...
This reverts commit 39ef8f4823 .
2021-09-30 18:14:40 -03:00
Elias Nahum
39ef8f4823
update dependencies
2021-09-30 11:19:04 -03: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
Elias Nahum
a021e42c80
Update Podfile.lock and iOS project
2021-09-23 14:46:15 -03:00
Elias Nahum
4e0688aef5
[Gekidou] update dependencies ( #5691 )
2021-09-23 14:44:50 -03:00
Elias Nahum
c236cd9ab8
project.pbproj update
2021-09-20 18:17:27 -03:00
Elias Nahum
9ed616afa9
[Gekidou] iOS - Fetch and store data on push notification receipt
2021-09-20 17:59:42 -03:00
Elias Nahum
5700ce7c86
[Gekidou] post component tree and partial postList ( #5637 )
2021-09-06 08:22:55 -03: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
Elias Nahum
b5c5949b7d
[Gekidou] Update Splash Screen / App icons and Android snooze Push Notifications ( #5658 )
...
* Android push notification snooze
* Android splash & icons
* iOS splash & icons
* Update project assets
* Replace iOS assets using Fastlane
* Remove configure_telemetry_android from Fastlane script
* Update Fastlane with master branch
* Fix Android fastlane build
* replace reference for com.mattermost.rnbeta.* imports
* Set iOS ENTRY_FILE as index.ts
2021-08-31 14:58:09 -04:00
Avinash Lingaloo
0ef1dd44ea
Gekidou about screen ( #5591 )
...
* Added about screen
* Remove TS error
* Needs clean up
* Testing login flow
* Converted About screen to functional component
* Improvements
* Sort imports
* Prevents double tapping
* Apply suggestions from code review
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Code clean up
* Adding translation keys
* Added some keys
* Updated AppVersion component
* Missed translation key
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-08-04 21:48:36 -07:00
Elias Nahum
733b10377b
[Gekidou] fixes ( #5590 )
...
* fix android authorized network requests
* Use default theme if no specific theme for team
* Avoid app from crashing if no team or channel is selected
* Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2021-08-03 17:01:45 -07: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
64c11580fc
MM-36721 [GEKIDOU] Porting Channel Nav Bar ( #5550 )
...
* MM_36721 : Added testscript for AppVersion component + Corrected imported Type definition
* Added CompassIcon component
* Adding TextProps to FormattedText component
* Added status bar component
* Added User status component
* Added ProfilePicture, did_update hook and sorted imports
* Added ChannelIcon component
* Added ChannelTitle component
* Added Channel Nav Bar component
* Added channel screen
* Added withSafeAreaInsets HOC and Added font compassIcon to Xcode
* Fix Android crashes as it is looking for MainSidebar and SettingsSidebar
* Revert "Fix Android crashes as it is looking for MainSidebar and SettingsSidebar"
This reverts commit 62ea11ae691e83bbe3c5e81c243b8ed89fa96083.
* Channel Icon clean up
* Updated assets/compass-icons files
* Updated channel title component
* ProfilePicture - Code clean up
* UserStatus component - cleaned
* Channel screen fix
* Fix TS issue
* Update index.tsx
* Removed ProfilePicture component
To be added when needed
* Removed UserStatus component
* Added IS_LANDSCAPE constant
* Code review correction
* Fix ts issue
* Added channel.displayName to reinforce security for findAndObserve on potential null teammate profile
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Fix observation on array vs single element
* Refactored ChannelTitle component
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Refactored ChannelGuestLabel
* Refactored ChannelDisplayName
* ChannelTitle cleaned up
* Fix roles check
* Removing unused user utils
* Minor clean up
* Fix TS issue
* Code Refactored.
* Fix render bug in channel_display_name
* Added logout button
* refactored code
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-07-22 13:41:07 -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
Elias Nahum
10bfc9d604
[Gekidou] update dependencies & use node 16 with npm 7 ( #5475 )
...
* [Gekidou] update dependencies & use node 16 with npm 7
* add npm7 circleCI changes
* use react-intl 5.17.7
* fix migration error type
2021-06-22 18:52:58 -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