Commit Graph

115 Commits

Author SHA1 Message Date
Elias Nahum
2703407e3a Bump app build number to 420 (#6587) 2022-08-20 09:57:51 -04:00
Elias Nahum
c2f5092678 [Gekidou] refactor clean notifications (#6566) 2022-08-19 16:29:15 -04:00
Daniel Espino García
ea595f1ced Fix MM-46309 (#6567)
* Fix MM-46309

* Address feedback

* Update dbPath and rename server databas instead of deleting

* ios fixes

Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-08-15 10:55:54 -04:00
Elias Nahum
63e6290c76 Gekidou bump build to 419 (#6576)
* Fix profile picture update locking the screen

* Bump app build number to  419

* update fastlane
2022-08-13 09:00:25 -04:00
Elias Nahum
dcc05956b6 Gekidou upgrade RN to 0.69.3 and dependencies (#6537)
* module dependencies

* update fastlane

* upgrade types dependencies

* update dev deps

* update react-native-notifications

* update react-native-keychain

* update sentry

* update detox

* Upgrade to RN 69.3

* increase MaxMetaspaceSize gradle opts

* feedback review
2022-08-08 09:06:20 -04:00
Avinash Lingaloo
e849bad37e Bump app build number to 417 (#6553) 2022-08-05 21:07:11 +04:00
Elias Nahum
d83c2a6ff1 fix podfile lock missing user-agent (#6550) 2022-08-05 16:57:25 +04:00
Avinash Lingaloo
f94dfc9adf Bump app build number to 415 (#6523) 2022-07-29 21:52:49 +04:00
Elias Nahum
3a3123674a [Gekidou] iOS Share extension (#6432)
* iOS Share extension

* Add Fastlane steps for iOS Share Extension

* new multi file layout

* Add recent label

* Refactor code & identation

* ux feedback

* downsample images

* remove options horizontal padding
2022-07-27 10:31:45 -04:00
Christopher Poile
5bb240dec8 MM-43300: Calls v2 first cut (#6475)
* Android and iOS requirements

* external types

* babel config for calls, package.json for calls dependencies

* state in rxJS; tests

* actions, client/rest, websocket events, constants

* webrtc connection logic

* calls components / screens

* handle peer destroyed gracefully

* PR comments

* remove ViewPropTypes from mocks; no need to ignore error in LogBox

* calls.d.ts -> calls.ts; i18-extract

* @app/products/calls -> @calls

* PR comments; test cleanup

* Revert "remove ViewPropTypes from mocks; no need to ignore error in LogBox"

This reverts commit f9bd171a54.

* working on typing withServerUrl

* added exportedForInternalUse instead of commenting "internal export"

* better switchToThread in call_screen

* i18n

* typed withServerUrl
2022-07-22 15:57:12 -04:00
Avinash Lingaloo
9bbd59e4dd [Gekidou] Bump app build number to 414 (#6501)
* Update Gemfile.lock

* Bump app build number to  414
2022-07-22 20:56:46 +04:00
Avinash Lingaloo
52d5f903f3 Bump app build number to 413 (#6478) 2022-07-15 16:32:08 +04:00
Elias Nahum
1b0e0fffb6 Bump app build number to 412 (#6464) 2022-07-08 13:32:48 -04:00
Elias Nahum
eefeb3b0a7 Bump app build number to 411 (#6452) 2022-07-01 18:53:37 -04:00
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
Elias Nahum
dd1af41400 Unwapped optional value 2022-06-29 13:52:11 -04:00
Elias Nahum
75ed884e65 Add column last_fetched_at to MyChannel & Thread tables and the migration (#6433)
* Add column last_fetched_at to MyChannel & Thread tables and the migration

* Fix schema tests

* Handle lastFetchAt, retrieve threads on init and properly observe thread unreads (#6436)

* [Gekidou] Set lastFetchAt when fetching posts for a channel (#6437)

* Set lastFetchAt when fetching posts for a channel

* When resetting _preparedState set always to null

* Revert changes in WS

* Handle and set lastFetchedAt for MyChannel in iOS push notification

* feedback review

* iOS fallback to last post createAt if no lastFetchAt set

* Handle lastFetchAt on Android push notifications

* create storePostsForChannel local action

* Fix iOS fallback to last post create_at

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2022-06-29 13:28:50 -04:00
Elias Nahum
45f76cbc50 Bump app build number to 409 (#6430) 2022-06-25 08:20:18 -04:00
Elias Nahum
07df681193 [Gekidou] Bump app build number to 408 (#6407)
* update react-native-network-client

* Bump app build number to  408
2022-06-17 19:20:31 -04:00
Elias Nahum
6f6dded978 Bump app build number to 407 (#6383) 2022-06-13 15:41:19 -04:00
Elias Nahum
707625501f Bump app build number to 406 (#6375) 2022-06-10 17:42:43 -04:00
Anurag Shivarathri
efd259a523 [Gekidou] Open CRT notifications (#6369)
* Open CRT notification

* Changes

* fix own DM

* Removed unwanted functions

* WS post commit createThreadFromNewPost as soon as possible

* Addressing the feedback

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-06-10 17:27:34 -04:00
Anurag Shivarathri
1b5e41b424 [Gekidou MM-40097 MM-44133] Save thread related data when client receives a push notification (#6275)
* Android changes

* Fixed updating records from native side

* Android: Handle crt related issues

* Android threads fix

* Android misc fixes

* Android addressing feedback

* ios changes WIP

* Update Podfile.lock

* iOS changes

* iOS feedback

* iOS updates the existing record like android

* Android misc

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-09 16:50:14 +05:30
Elias Nahum
f97d943f9a Bump app build number to 405 (#6349) 2022-06-03 13:55:55 -04:00
Elias Nahum
f2777d46bb Bump app build number to 403 (#6320) 2022-05-27 14:43:32 -04:00
Elias Nahum
d1c9c98900 Fix WS connection for cloud servers 2022-05-24 17:39:12 -04:00
Elias Nahum
19ecc150b6 [Gekidou] Update dependencies (#6305)
* Update dependencies

* Fix iOS build

* update fastlane
2022-05-24 08:47:12 -04:00
Elias Nahum
b6e3c2c66d Bump app build number to 402 (#6301) 2022-05-20 14:17:29 -04:00
Elias Nahum
2511ab45cd Bump app build number to 401 (#6273) 2022-05-13 12:33:57 -04:00
Elias Nahum
e473894032 Bump app build number to 400 (#6270) 2022-05-13 11:37:29 -04:00
Elias Nahum
08d80e6236 Replace lottie loading spinner for activity indicator (#6266) 2022-05-12 12:54:43 -04:00
Elias Nahum
f62dcd42f7 Open Find Channels with keyboard shortcut (#6260) 2022-05-11 12:33:21 -04:00
Elias Nahum
10f7f008e4 Remove react-native-youtube and allow the link to be handled natively (#6239) 2022-05-06 14:28:33 -04:00
Elias Nahum
9d3e1fbf59 Bump app build number to 399 (#6244) 2022-05-06 11:50:57 -04:00
Elias Nahum
0c1e9a4812 Remove Share Extensions (#6238) 2022-05-06 08:32:04 -04:00
Elias Nahum
14abe4d2ac Remove jcenter (#6226) 2022-05-04 17:26:32 -04:00
Elias Nahum
ee01febbb8 Fix iPad build 2022-04-29 17:18:14 -04:00
Elias Nahum
abe23b926c Bump app version to 2.0.0 build to 393 2022-04-29 12:57:19 -04:00
Elias Nahum
22a173ec97 [Gekidou] Add Latex support (#6195)
* Add Latex support

* Markdown memoization

* feedback review

* feedback review 2
2022-04-28 12:27:10 -04:00
Elias Nahum
b530dbeb09 [Gekidou] upgrade to RN 68 (old arch) (#6138)
* upgrade to RN 68 (old arch)

* remove test setup unused & commented mock

* Android target set to 30

* Fix theme when opening app from push notification

* upgrade common mark
2022-04-08 12:40:44 -04:00
Elias Nahum
73d23ea515 [Gekidou] ci updates (#6123)
* use Flipper 0.125.0

* update fastlane

* update ci images & use node 16.14.2

* remove npm-install argument

* Remove DFB_SONARKIT_ENABLED flag in iOS Release mode
2022-04-04 18:37:56 -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
Joseph Baylon
b13a4abc27 Apply patch for minSdkVersion (#6121) 2022-04-05 00:01:43 +08:00
Daniel Espino García
d1322e84ce [Gekidou] Add performance and code improvements around post_list (#6113)
* Add performance and code improvements around post_list

* Fix test

* Move observers from utils to queries

* remove Flipper on iOS to fix CI build

* Fix observePermissionForChannel for DM/GM

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-04-04 08:14:55 -04:00
Elias Nahum
ed96601839 update react-native-safe-area-context 2022-03-28 09:05:49 -03:00
Elias Nahum
8901afb0d8 Enable Flipper on iOS 2022-03-26 20:36:21 -03:00
Elias Nahum
527bd04170 Update dependencies 2022-03-26 20:33:13 -03:00
Elias Nahum
088aa193ab [Gekidou] Use localPath when available (#6058)
* Use localPath when available

* Revert changes to replace space for dash in the filename

* Rename other action to external and always call onDownloadSuccess if defined

* add missing localization strings
2022-03-17 08:58:49 -03:00
Avinash Lingaloo
1e1992e979 MM-41391 Gekidou - Update Info.plist (#6000)
* update instance to workspace

* reviews from @carrie

Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>

* replaced Mattermost with $(PRODUCT_NAME)

except the 'Beta' under CFBundleDisplayName

* Update ios/Mattermost/Info.plist

Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-07 09:57:37 +04:00
Daniel Espino García
d5ece8a4a7 Handle test notifications on iOS (#6002)
* Handle test notifications on iOS

* Update ios/Mattermost/AppDelegate.m

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* Update ios/Mattermost/AppDelegate.m

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* Fix indent

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-04 10:10:56 +01:00