Elias Nahum
0807a20946
fixed OpenSans, added Metropolis fonts & modified post text styles ( #5728 )
2021-10-07 17:20:39 -03:00
Elias Nahum
7f1f7110da
Exclude initial channel when loading other unread channels post
2021-10-06 20:35:01 -03:00
Elias Nahum
1c041072db
Update fastlane
2021-10-05 15:09:46 -03:00
Elias Nahum
0e4064c758
Enable Adapter JSI
2021-10-04 15:46:04 -03:00
Elias Nahum
907111b45a
unify defer entry actions
2021-10-04 15:45:37 -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
Elias Nahum
15cb53846b
Enable wdb-jsi on Android ( #5702 )
2021-09-29 13:22:52 -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
a9939ec230
Increase post list initial and batch items to render
2021-09-20 18:01:04 -03:00
Elias Nahum
2c9b74387e
Fix Markdown image layout on rotation
2021-09-20 18:00:24 -03:00
Elias Nahum
9ed616afa9
[Gekidou] iOS - Fetch and store data on push notification receipt
2021-09-20 17:59:42 -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
Miguel Alatzar
6c2e28afc2
[Gekidou] Android - Fetch and store data on push notification receipt ( #5662 )
...
* WIP
* Latest network client
* Init DatabaseHelper and Network
* Add request and query functions
* Fetch posts when push notification is received on Android
Co-authored-by: Elias Nahum <nahumhbl@gmail.com >
2021-09-12 15:35:01 -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
Elias Nahum
5eb8ac6afd
Android clear notification preferences on version change
2021-09-04 11:28:49 -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
Miguel Alatzar
c3cedc2901
Fix where clause ( #5646 )
2021-08-26 21:29:09 -04:00
Daniel Espino García
d02d1922c6
Remove duplicated code on cleanUrlForLogging ( #5642 )
2021-08-24 08:16:38 -04:00
Elias Nahum
65c3e05fd8
[Gekidou] groups ( #5593 )
...
* Rename groups in channel/team to group channel/team
* Redefine groups schema
* Groups action and operator
* Add group at mentions
* fix uni test
* Update types/database/models/servers/group.d.ts
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com >
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com >
2021-08-05 19:03:46 +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
7c5b3a1574
[Gekidou] Allow multiple posts in thread and posts in channel for a specific root or channel ( #5594 )
...
* Allow multiple posts in thread and posts in channel for a specific root or channel
* 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-04 15:43:25 -04: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
Elias Nahum
85bef9eefc
Fix database models type definition ( #5588 )
2021-08-03 08:26:15 +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
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 62ea11ae69 .
* 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
324dbbd054
[Gekidou] fix database schema and models ( #5553 )
...
* fix database schema and models
* fix types
2021-07-20 23:24:42 +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
801c954673
hasPermission role utility ( #5554 )
2021-07-20 09:58:10 -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
2dc37f1c92
feat: server_url and theme context ( #5540 )
2021-07-14 08:12:49 -04:00
Elias Nahum
0d18eb966a
Fix keychain patch
2021-07-13 11:13:53 -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
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