Commit Graph

72 Commits

Author SHA1 Message Date
Elias Nahum
83b251d1ff update dependencies (#6840)
* update dependencies

* fix iOS SQLite.swift

* update fastlane dependencies
2022-12-08 09:46:44 +02:00
Elias Nahum
5e3e7b151e Place cursor position in between the phrase modifier (#6828) 2022-12-06 18:36:48 +02:00
Elias Nahum
5645084a3a Fix iOS notifications patch (#6765) 2022-11-14 18:15:03 +02:00
Elias Nahum
ae0eb43793 [Gekidou] EMM fixes (#6730) 2022-11-08 22:49:39 +02: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
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
Elias Nahum
391c120db9 Fix iOS keyboard tracking when paused (#6676) 2022-10-11 10:29:14 -03:00
Elias Nahum
b20a3c96a2 patch android react-native-notifications launch intent 2022-09-18 08:41:23 -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
Daniel Espino García
9ab4c935ef Fix autocomplete not scrolling in search in Android (#6596) 2022-09-08 04:39:15 -03:00
Elias Nahum
0d7cc9fa75 Patch RNNotification Android (#6615) 2022-09-02 10:45:23 -04:00
Daniel Espino García
de328f0ebe Fix login crash when ExtendedSessionLengthWithActivity === false (#6605)
Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-09-02 08:32:29 -04:00
Joseph Baylon
eaa09cbf66 Gekidou: Create patches for node modules failing on android build (#6603)
* Gekidou: Create patches for node modules failing on android build

* Trim unnecessary data from patch
2022-08-29 12:59:19 -07:00
Elias Nahum
c2f5092678 [Gekidou] refactor clean notifications (#6566) 2022-08-19 16:29:15 -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
Elias Nahum
2249af4cde [Gekidou] RN patch (#6513) 2022-07-26 11:37:59 -04:00
Elias Nahum
4ab7a6baa6 [Gekidou] commonmark feature parity (#6303)
* Initial attempt at search highlighting for Markdown

* Remove fonts from highlighted text so that it can be bolded

* Add initial task list support

* Render markdown checkbox

* Switch to Commonmark fork

* Use searchPatterns prop

* searchPatterns prop at post level

* Update app/components/markdown/transform.ts

Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>
2022-05-27 14:30:34 -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
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
14abe4d2ac Remove jcenter (#6226) 2022-05-04 17:26:32 -04:00
Elias Nahum
c8e46607b7 upgrade exoplayer 2022-05-04 13:13:23 -04:00
Elias Nahum
692795a9a1 [Gekidou] Code syntax highlight (#6156)
* Code syntax highlight

* fix code syntax imports for jest

* feedback review
2022-04-12 08:59:50 -04:00
Elias Nahum
4746ae4996 Set background color to black when video goes fullscreen 2022-04-09 13:27:47 -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
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
527bd04170 Update dependencies 2022-03-26 20:33:13 -03:00
Elias Nahum
3e94958ab0 Patch react-native-animated-numbers to not re-render indefinitely (#6080) 2022-03-22 11:21:36 -03:00
Elias Nahum
acf4cbde8d [Keyboard] Keyboard tracking (#6050)
* Pause/Resume tracking keyboard

* fix keyboard tracking view on tablets

* add EDIT_POST screen to pause keyboard tracking
2022-03-14 16:21:45 -03:00
Elias Nahum
0c0f92a237 [Gekidou] Markdown SVG & image size support (#6032)
* Support Markdown svg and custom size inline images

* remove commonmark patches

* move getMarkdownImageSize to @utils/markdown

* Fix worklet not present while running unit tests that use calculateDimensions

* Set max size for SVG

* Set svg dimensions based on calculated size

* feedback review
2022-03-10 09:03:09 -03:00
Daniel Espino García
684d9421a7 Add sample test for local actions (#5945)
* Add sample test for local actions

* Fix the tests and add all missing tests

* Address feedback

* Sort imports

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-03-02 09:36:10 -03:00
Elias Nahum
eaf4f3166e [Gekidou] update dependencies (#6019)
* Dependency updates

* npm audit fixes
2022-03-01 18:52:01 -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
92e069f00c Patch WDB to add cancelPrepareUpdate to be used in unit tests (#5946) 2022-02-09 10:52:57 -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
Elias Nahum
4e8d655167 Fix gif animation speed on iOS ProMotion enabled devices 2022-02-01 17:56:21 -03:00
Elias Nahum
c9ca9fa093 update dependencies 2022-02-01 10:06:16 -03:00
Elias Nahum
aa84ccd808 update dependencies 2022-01-29 15:30:08 -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
Elias Nahum
b8b51296c0 [Gekidou] post list (#5893) 2022-01-17 07:06:26 -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
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
86dfcf0515 Fix android build 2021-12-12 13:22:16 +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
42f193c70c Upgrade deps (#5850) 2021-11-29 23:19:39 +02: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
39982a4280 Gekidou deps (#5815)
* upgrade dependencies

* async-storage upgrade
2021-11-06 16:24:53 -03:00