Commit graph

188 commits

Author SHA1 Message Date
Elias Nahum
fe916ec740
Refactor category channels to react to setting changes and apply the correct order (#7170)
* Refactor category channels to react to setting changes and apply the correct order

* feedback review
2023-03-03 15:53:29 +02:00
Daniel Espino García
f6610693e2
Bump app build number to 459 (#7165)
Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2023-02-24 17:37:05 +02:00
Elias Nahum
ff73d946ae
Bump app build number to 458 (#7147) 2023-02-17 16:19:49 +02:00
Elias Nahum
77b0851213
Update Dependencies (#7140)
* upgrade android dependencies

* upgrade iOS dependencies

* Enable network plugin in flipper for Android

* update JS dependencies
2023-02-16 11:20:31 +02:00
Elias Nahum
ee13679f38
Android refactor push notifications to store data or send to JS for processing (#7127)
* Android refactor push notifications to store data or send to JS for processing

* remove blank line

* rename variable
2023-02-15 17:07:27 +02:00
Elias Nahum
23cbf82353
Use LRU to cache the Avatar shown in push notifications (#7124)
* iOS switch from file cache to memory cache and use last_picture_update to update the avatar if needed

* Android switch from file cache to memory cache and use last_picture_update to update the avatar if needed, split function to multiple files and catch potential exceptions
2023-02-15 11:19:31 +02:00
Elias Nahum
1b94bbc0ad
Bump version 2.1 build 457 (#7120)
* Bump app version number to 2.1.0

* Bump app build number to 457
2023-02-14 23:06:46 +02:00
Elias Nahum
6c3027c06e
Bump app build number to 456 (#7102) 2023-02-08 17:02:55 +02:00
Elias Nahum
cb717aba0c
Android fix (#7099)
* Fix android notifications permission

* fix unsigned android build
2023-02-08 16:55:04 +02:00
Elias Nahum
e9b6124479
Bump app build number to 455 (#7085) 2023-02-03 17:25:42 +02:00
Joseph Baylon
70bdfcf8fd
Detox Maintenance: Update deps, fix import, fix failing tests -- iOS only (#7070)
* Detox Maintenance: Update deps, fix import, fix failing tests

* Revert message reply step 3

* Try fresh install per test file
2023-02-01 08:32:57 -08:00
Elias Nahum
265b8b2193
Request permissions for Android push notifications and refactor code to use network client (#7059) 2023-01-31 21:33:35 +02:00
Avinash Lingaloo
b2fb4d7ec2
Bump app build number to 454 (#7042)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-27 22:21:05 +02:00
Elias Nahum
7ed2e73a91
catch exceptions in Android Database helper (#7027) 2023-01-27 18:49:31 +02:00
Elias Nahum
9bae53b4ad
Fix crash when dismissing notification on android (#7029)
* Fix crash when dismissing notification on android

* ensure notification channels are created
2023-01-27 17:55:22 +02:00
Elias Nahum
c1fbaffd3e
Support for Android Tablets & Foldable (#7025)
* Add Support for Android tablets & foldables

* add tablet and book posture

* Regenerate disposed observable on WindowInfoTracker
2023-01-26 20:31:18 +02:00
Elias Nahum
7aa5bd0611
Update Dependencies and bug fixes (#7000)
* update dependencies

* update dependencies

* feedback review

* update @mattermost/react-native-turbo-mailer
2023-01-24 09:14:23 +02:00
Avinash Lingaloo
24ec88096c
Bump app build number to 453 (#6995) 2023-01-20 21:27:41 +04:00
Daniel Espino García
2597e06ac2
Add webhook image to notification in missing scenarios (#6971)
* Add webhook image to notification in missing scenarios

* Improve urlOverride check
2023-01-19 10:53:09 +01:00
Elias Nahum
d417b95643
Bump app build number to 452 (#6974) 2023-01-13 21:11:35 +02:00
Elias Nahum
9411dbd669
Bump app build number to 451 (#6967) 2023-01-12 13:02:47 +02:00
Elias Nahum
4199b13843
Bump build number to 450 (#6950)
* Fix upgrade path

* Introduce Upgrade helper

* Reset server database schema version to 1

* Enable release builds on the CI

* Bump build number to 450
2023-01-11 21:40:49 +02:00
Elias Nahum
69e27ae812
Bump app build number to 449 (#6940) 2023-01-07 18:42:27 +02:00
Elias Nahum
107416109a
Bump app build number to 448 (#6939) 2023-01-07 13:55:27 +02:00
Elias Nahum
68ec90df90
Bump app build number to 447 (#6937) 2023-01-06 21:46:07 +02:00
Elias Nahum
ca1f6df1c6
Generate video thumb from file url instead of public url (#6922) 2023-01-05 13:49:04 +02:00
Elias Nahum
a058ca57ca
Android Fixes (#6915)
* Fix android back button handler

* Fix Android crash caused by react native screens

* Prevent Android crash and log stack trace when receiving a push notification
2023-01-02 12:53:08 +02:00
Elias Nahum
5feb690ebc
Bump app build number to 446 (#6914) 2022-12-28 16:12:52 +02:00
Elias Nahum
b663ec6b38
Bump app build number to 445 (#6905) 2022-12-24 00:27:32 +02:00
Daniel Espino García
95e3c04658
Fix webhook picture on notifications (#6894) 2022-12-23 16:45:27 +02:00
Avinash Lingaloo
bd6c363d82
Bump app build number to 444 (#6876) 2022-12-16 20:59:40 +04:00
Joseph Baylon
f120282465
Detox/E2E: Fix android detox build and upgrade simulator to iPhone 14 (#6864)
* Detox/E2E: Fix android detox build

* Upgrade to sim iPhone 14
2022-12-14 12:54:49 -08:00
Avinash Lingaloo
26d32285e5
Bump app build number to 443 (#6862) 2022-12-13 14:36:11 +04:00
Avinash Lingaloo
e0f9ea3f95
Bump app build number to 442 (#6857) 2022-12-09 23:33:28 +04:00
Elias Nahum
83b251d1ff
update dependencies (#6840)
* update dependencies

* fix iOS SQLite.swift

* update fastlane dependencies
2022-12-08 09:46:44 +02:00
Avinash Lingaloo
b3bc582cda
Bump app build number to 441 (#6820) 2022-12-03 12:35:30 +04:00
Elias Nahum
25fcb066a7
Fix Android crash when push notification is received and app not initialized (#6817) 2022-12-02 20:47:40 +04:00
Elias Nahum
330fd42212
update turbo-mailer (#6809) 2022-12-01 16:45:08 +02:00
Elias Nahum
6eadc527bb
Gekidou Android share extension (#6803)
* Refactor app database queries to not require the app database as argument

* Android Share Extension and fix notifications prompt

* feedback review
2022-11-30 23:18:56 +02:00
Matthew Birtch
a90f96930a
MM-48692 Splash Screen Update (#6799)
* replace splash screen for dark mode to align with new onboarding

* optimized images

* updated values-night with new background color for splash screen
2022-11-29 19:39:19 +02:00
Avinash Lingaloo
c1254b7741
Bump app build number to 440 (#6789) 2022-11-25 21:23:19 +04:00
Avinash Lingaloo
d28b5b1f74
Bump app build number to 439 (#6776) 2022-11-18 20:44:01 +04:00
Elias Nahum
e4bff927c3
Bump app build number to 438 (#6767) 2022-11-14 19:48:14 +02:00
Avinash Lingaloo
57f3a408b9
Bump app build number to 437 (#6762) 2022-11-11 22:56:44 +04:00
Elias Nahum
e90dfb4065
apply android rn build fix 2022-11-05 10:10:02 +02:00
Avinash Lingaloo
17d525d273
Bump app build number to 432 (#6734) 2022-11-04 21:29:52 +04:00
Avinash Lingaloo
b3daa5e3f4
Bump app build number to 430 (#6712) 2022-10-28 22:04:55 +04:00
Avinash Lingaloo
4f4a3c30f4
Bump app build number to 429 (#6705) 2022-10-27 10:27:50 +04:00
Elias Nahum
cae9dc21d2
[Gekidou] Upgrade to RN 0.70 (#6690)
* Upgrade to RN 0.70

* fix assembleAndroidTest
2022-10-20 10:18:25 -03:00
Elias Nahum
52215b7749
CI Build fix (#6685)
* use xcode 14.0.0 in ci

* update jvmargs to use 2048m
2022-10-14 14:57:49 -03:00
Avinash Lingaloo
f000014809
Bump app build number to 428 (#6684) 2022-10-14 21:02:56 +04:00
Elias Nahum
5c7e89d7de
[Gekidou] update deps (#6667)
* Fix login not showing the usernames (#6652)

* update dependencies

* feedback review

* feedback review 2

* remove unused dependencies

* remove duplicate gesture-handler dependency

* add -XX:+HeapDumpOnOutOfMemoryError to gradle

* adjust gradle memory

* update android ci image

* android executor xlarge

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2022-10-13 08:41:18 -03:00
Avinash Lingaloo
3e7ebfe95c
[Gekidou] Bump app build number to 427 (#6671)
* Bump app build number to  427

* Update Gemfile.lock
2022-10-07 21:08:02 +04:00
Elias Nahum
bcd6cbbdbc
Bump app build number to 426 (#6648) 2022-09-18 08:50:35 -04:00
Elias Nahum
4c389a49fa
Gekidou session expired notification (#6639)
* Fix crash on Android when session expired notification is presented

* react-native-notification patch for schedule fix on android and open local notification on iOS

* Fix android scheduled session notification crash

* patch react-native-navigation to support blur/focus AppState on Android

* remove schedule session expired notification from login entry point

* schedule session expired notification actions

* add session manager

* Handle open session expired notification
2022-09-18 06:57:55 -04:00
Avinash Lingaloo
86b1163a4f
Bump app build number to 425 (#6641) 2022-09-13 10:27:22 +04:00
Avinash Lingaloo
d469ffedfd
Bump app build number to 424 (#6632) 2022-09-09 21:01:05 +04:00
Elias Nahum
335ec0c588
Bump app build number to 422 (#6617) 2022-09-03 04:57:35 -04:00
Christopher Poile
f6c3dabc57
MM-46685 MM-45753 - Fix voice activity indicator and Android speakerphone (#6606)
* voice activity indicator fix

* fix android speakerphone
2022-08-31 15:50:25 -04:00
Elias Nahum
fa24f4a5e4
Bump app build number to 421 (#6604) 2022-08-30 00:13:00 -04:00
Elias Nahum
2703407e3a
Bump app build number to 420 (#6587) 2022-08-20 09:57:51 -04:00
Christopher Poile
d30b97ba99
MM-45747 - Cloud freemium limits & Max participants limits (#6578) 2022-08-20 08:57:14 -04:00
Elias Nahum
c2f5092678
[Gekidou] refactor clean notifications (#6566) 2022-08-19 16:29:15 -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
Avinash Lingaloo
f94dfc9adf
Bump app build number to 415 (#6523) 2022-07-29 21:52:49 +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 f9bd171a544de9c02da8387455f904b3840fc5dc.

* 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
Elias Nahum
d09ead850e
[Gekidou] Fix video uploads (#6440) 2022-06-30 19:16: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
4a79ae0574
Fix android build 2022-06-29 17:31:01 -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
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
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
e883186fde
[Gekidou] retry post (#6293)
* Add try again functionality to failed posts

* Fix attach files on Android

* feedback review

* Prevent android crash when uploading files for the first time

* Update the timestamp for updateAt when retrying to post

* Add POST TIME TO FAIL

* use function isPostFailed
2022-05-20 13:23:19 -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
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
abe23b926c
Bump app version to 2.0.0 build to 393 2022-04-29 12:57:19 -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
527bd04170
Update dependencies 2022-03-26 20:33:13 -03:00
Elias Nahum
5de54471b7
[Gekidou] Gallery (#6008)
* Gallery screen (ground work)

* Open the gallery from posts

* Open the gallery from post draft

* feedback review

* Feedback review 2

* do not remove dm channel names and localization fix

* update to the latest network-client

* do not override file width, height and imageThumbail if received file does not have it set

* bring back ScrollView wrapper for message component

* Remove Text wrapper for markdown paragraph

* Fix YouTube play icon placeholder

* Make video file play button container round

* Add gif image placeholder

* Save images & videos to camera roll

* Feedback review 3

* load video thumbnail when post is in viewport

* simplify prefix
2022-03-01 13:55:44 -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
Elias Nahum
98fa1b0a55
[Gekidou] compass icons (#5940) 2022-02-08 16:16:30 -03:00