Commit Graph

2176 Commits

Author SHA1 Message Date
GleidsonDaniel 9142cf44e5 fix: refactor getServerInfo function to use fetch instead of RNFetchBlob in getServerInfo.ts 2024-04-19 15:46:39 -03:00
Gleidson Daniel Silva 197f13654f
feat: add Czech translation (#5658)
* feat: add Czech translation

* action: organized translations

* feat: add cs option

---------

Co-authored-by: GleidsonDaniel <GleidsonDaniel@users.noreply.github.com>
2024-04-19 11:05:44 -03:00
Gleidson Daniel Silva 0429cd421b
chore: feat: save ThreadMessagesView filter preferences on mmkv (#5653)
* chore: update currentFilter value in ThreadMessagesView

* feat: save ThreadMessagesView filter preferences on mmkv
2024-04-18 08:51:53 -03:00
Gleidson Daniel Silva d19239d290
feat: mobile color normalization (#5616)
* chore: remove auxiliaryText color

* chore: remove titleText

* chore: password colors change

* chore: use fontDefault on ActionSheet item

* wip: type

* chore: set custom icon default color

* remove tintActive color

* only set color when checked

* remove icon color

* remove tintActive

* chore: remove STATUS_COLORS

* chore: remove mentions colors

* chore: remove switch color

* chore: background color

* chore: auxiliaryBackground

* chore: one local colors

* wip: some colors

* wip: colors

* wip: colors

* wip: end colors

* test: update

* chore: fix some colors

* chore: fix lint

* chore: back to text props

* chore: fix ts errors

* revert

* chore: fix lint

* test: update snapshot

* update storybook

* cocoapods

* fix app theme color

* remove unused color

* fix login service button color

* remove unused color

* unused backgroundColor

* fix background color

* fix transparent color

* fix background color

* wip: key

* fix color

* chore: revert to 1 tick

* test: update

* chore: use same color as front end

* test: update

* fix radius

* fix background color

* fix wrong color

* change some colors

* chore: update stories

* chore: fix button style

* chore: fix item color

* lint

* update snapshot

* link

* remove background color

* change send to channel color

* call icons

* video conf colors

* fix app default color

* bottom sheet

* remove background

* two factor color

* update tests

* feat: add force-logout stream listener

* remove icon colors

* improve badge color

* update tests

* fix header colors

* fix collapsible icon color

* imagePreview color

* wip

* update test

* lint

---------

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2024-04-18 07:19:54 -03:00
Gleidson Daniel Silva 82d235f11e
feat: change default browser label (#5651)
* feat: change default browser label

* action: organized translations

---------

Co-authored-by: GleidsonDaniel <GleidsonDaniel@users.noreply.github.com>
2024-04-10 17:01:47 -03:00
Sathurshan a3a7b951c5
feat: copy username on long press in user info screen (#5633)
* copy usename on longpress

* copy name too

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-04-09 09:45:05 -03:00
Gleidson Daniel Silva 7caefa805c
fix: explicitly check the type of Accounts_AllowUserStatusMessageChange (#5642) 2024-04-02 11:43:04 -03:00
Diego Mello 5edb363f50
revert: "fix: commonmark code_block (#5531)" (#5627) 2024-03-21 12:47:17 -03:00
Sathurshan a2975f7c13
chore: migrate several class-based components to functional components (#5584) 2024-03-20 10:57:44 -03:00
Gleidson Daniel Silva 3fe24fac7b
regression: use correct parameters on upload image on profile view (#5620) 2024-03-19 16:40:48 -03:00
Gleidson Daniel Silva afe50aed7e
fix: set offset correctly on thread message view (#5609) 2024-03-13 10:29:25 -03:00
Gleidson Daniel Silva 20324e0a22
chore: sort translation keys alphabetically ignoring case (#5612)
* chore: sort translation keys alphabetically ignoring case

* chore: run script

* action: organized translations

---------

Co-authored-by: GleidsonDaniel <GleidsonDaniel@users.noreply.github.com>
2024-03-11 17:22:41 -03:00
Diego Mello 29421c940b
fix: request room e2ee key not working properly (#5607) 2024-03-07 14:45:29 -03:00
Diego Mello 3b6177002a
fix: message.md not getting cleaned up correctly (#5606) 2024-03-06 15:58:31 -03:00
Gleidson Daniel Silva 2c0cfa1681
regression: validate that the login error value is actually a string (#5602) 2024-03-06 10:04:12 -03:00
Gleidson Daniel Silva 2f4bde7749
chore: update notification troubleshoot page copy (#5603) 2024-03-06 10:02:02 -03:00
Reinaldo Neto 4c8caf0bfd
feat: mobile troubleshoot notifications (#5330)
* feat: troubleshoot notification (#5198)

* navigation done

* create the icon inside roomslistview, navigation to push troubleshot and layout push troubleshoot

* custom header

* fix the rooms list view header icon

* layout done

* update the pt-br i18n

* tweak on colors

* feat: create notification in room view (#5250)

* button and simple navigation done, missing master detail

* navigation

* add withTheme and colors to rightuttons

* fix e2e test

* feat: add troubleshooting to notifications pages (#5276)

* feat: add troubleshooting to notifications pages

* fix e2e test

* feat: device notification settings (#5277)

* iOS go to device notification setting to change the configuration

* go to notification settings with android

* add notifee

* add the reducer and action

* saga request done

* add the setInAlert action

* tweak at name and add focus to dispatch the request

* use the foreground inside pushTroubleShoot to request the notification and fix the icon color

* add the request at roomslistview didmount

* remove the notification modulo from android

* add patch

* minor tweak

* feat: test push notification (#5329)

* feat: test push notification

* restApi and definition

* push.info and change properly the troubleshootingNotification

* use the finally at try/catch

* minor tweak

* alert and push.info just for 6.6

* fix the react-native.config

* minor tweaks

* minor tweak

* push.test as rest api

* change the name from inAlertNotification to highlightTroubleshooting

* feat: push quota

* refactor the percentage state

* removed the push quota feature

* minor tweaks

* update the link to push notification

* the notification icon in the room header will appear if notifications are disabled or highlight troubleshoot is true

* remove push quota texts

* updated some of the push quota texts

* chore: rename highlightTroubleshooting

* chore: better prop naming

* wip

* chore: fix function name

* chore: fix colors

* fix: copy

* chore: 💅

* chore: use fork

* chore: naming

* chore: fix init

* chore: naming

* chore: naming

* Comment CE code

* Use put on troubleshooting saga

* Add db column

* fix: check notification payload

* action: organized translations

* fix: push init

---------

Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: GleidsonDaniel <GleidsonDaniel@users.noreply.github.com>
2024-03-04 08:27:24 -03:00
Sathurshan eefb8793a5
feat: display language icon for auto translated msgs (#5398)
* feat: display language icon for auto translated msgs

* add translate icon to stoybook

	modified:   app/containers/message/Message.stories.tsx

* fix test

* refactor: use colors straightly without finding them with theme

* refactor some code

* fix test storyshot

* fix test issue
2024-03-04 07:25:41 -03:00
Sathurshan 65e076be6b
feat: show toast msg in members view if direct msg is not allowed (#5410)
* feat: show toast on direct msg not allowed members view

* fix: use permission msg

* refactor some code
2024-03-01 14:15:13 -03:00
Gleidson Daniel Silva 54f2cea4e9
fix: empty draft when the message is sent (#5595)
* chore: move draftMessage to helpers

* fix: set draft when the message is sent
2024-02-28 08:49:14 -03:00
Gleidson Daniel Silva f3ee2dc7d9
feat: improve login error message (#5594)
* feat: improve login error message

* action: organized translations

* Update app/i18n/locales/en.json

Co-authored-by: Diego Mello <diegolmello@gmail.com>

* Update app/i18n/locales/en.json

Co-authored-by: Diego Mello <diegolmello@gmail.com>

* wip

* action: organized translations

---------

Co-authored-by: GleidsonDaniel <GleidsonDaniel@users.noreply.github.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2024-02-28 08:40:11 -03:00
Alex Plekhov f56f19abc6
feat: add search emoji by substring (#5585)
Before the fix emoji could be found only by a subsctring from a string start. 

For example, we have two emojis
1) foo
2) bar_foo

When you perform a search by keyword 'foo' only the first one will be found.

Now, both will be found.

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-02-26 08:25:27 -03:00
Gleidson Daniel Silva 55f3de5449
test: correction and improvement of unit tests in CI (#5591) 2024-02-26 07:43:02 -03:00
Diego Mello fb9c271fa4
fix: floating promises and fork usage on login saga (#5589) 2024-02-23 08:53:14 -03:00
Reinaldo Neto 2389a2790b
fix: the download's key for files with the same filename (#5534)
* fix: the download's key for files with the same filename

* refactor the functions to sanitize the strings

* chore: remove useless change

---------

Co-authored-by: GleidsonDaniel <gleidson10daniel@hotmail.com>
2024-02-22 16:56:42 -03:00
Gleidson Daniel Silva 645b188df8
fix: fix unread count on Header and roomListView (#5588)
* chore: add hideUnreadStatus to unreadsCount logic

* fix: sets the value of unreadStatus when it does not come from the backend
2024-02-22 10:40:52 -03:00
Reinaldo Neto 94807ef05b
fix: commonmark code_block (#5531)
* fix: commonmark code_block

* update the style of code blocks

* fix: bump commonmark and remove patch

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-02-22 10:27:02 -03:00
Gleidson Daniel Silva 06b8910731
chore: add a script to organize translations (#5586)
* chore: add script to organize translations

* chore: organize translations alphabetically

* chore: add workflow to organize translations and commit changes

* chore: naming

* chore: update action

* test action

* wip

* updated translations

* chore: finish action

* action: organized translations

* Shuffle 🤪

* action: organized translations

---------

Co-authored-by: GleidsonDaniel <GleidsonDaniel@users.noreply.github.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
Co-authored-by: diegolmello <diegolmello@users.noreply.github.com>
2024-02-21 11:00:12 -03:00
Gleidson Daniel Silva 116c217675
chore: apply alignSelf style only on LastMessage (#5580)
* chore: remove alignSelf Styles.ts

* chore: apply alignSelf style only on LastMessage

* test: update snapshot
2024-02-20 17:22:40 -03:00
Reinaldo Neto 316f771a8f
feat: play audio in sequence (#5526)
Co-authored-by: Sathurshan <jsathu07@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2024-02-20 17:17:46 -03:00
Gleidson Daniel Silva 37e936e1d6
chore: update totp copy (#5579) 2024-02-19 14:28:19 -03:00
Gleidson Daniel Silva c4a3f9ce19
fix: add a style to prevent Android from breaking when rendering a katex via webview (#5570) 2024-02-19 12:06:09 -03:00
Gleidson Daniel Silva 1beb0d0efa
fix: fixes the behavior of the alsoSendThreadToChannel property (#5573) 2024-02-19 11:56:22 -03:00
Diego Mello e55b172bc1
tests: message composer unit tests (#5556)
* jest.fn issue

* Working on tests

* Add quotes test

* Audio

* Mock search

* Fix some act errors from jest

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-02-19 11:08:17 -03:00
Gleidson Daniel Silva 7745de0e40
chore: remove todos related to actions (#5572) 2024-02-16 18:18:38 -03:00
Gleidson Daniel Silva 079b401b38
fix: add alignSelf style for Android to prevent text from getting cut off (#5571) 2024-02-16 18:17:14 -03:00
Reinaldo Neto f89a28e4f7
regression: open self profile from messages (#5554)
* fix: open self profile from messages

* fix the inAppFeedback reducer function name

* add e2e test to open profile by username

* update tests

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-02-15 18:07:48 -03:00
Gleidson Daniel Silva 2a1b59cd57
tests: add draft e2e tests (#5553)
* chore: update detox

* chore: improve mocks

* chore: add testId

* chore: add e2e tests

* add more time

* Fix tests

* fxi tests

* update yarn lock

* fix import

* wip

* test

* Fix deep linking tests

---------

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2024-02-15 16:41:03 -03:00
Diego Mello b189f59950
fix: NavBottomFAB position (#5555) 2024-02-08 14:49:09 -03:00
Fahad Ali c8e1f20d1e
feat: add support for tasks and unordered list markdown (#5057)
* merged conflicts

* test cases fixed

* test case fixed

* comments addressed

* test update

* checkbox package removed

* test case fixed

* podfile updated

* podlock file fixed

* fix test

* comments addressed

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-02-07 18:03:03 -03:00
Gleidson Daniel Silva b81e22c934
feat: add draft and quote on shareview support (#5540) 2024-02-07 15:57:22 -03:00
Diego Mello aa3938a2a4
fix: Disconnect from server when on expired support window screen (#5529) 2024-02-01 10:32:32 -03:00
Diego Mello d9dd6a3dd8
feat: button to refresh cloud data on support window expired screen (#5528) 2024-02-01 10:32:02 -03:00
Sanjay Sargam 50d534f71b
chore: improve encrypted button on create discussion view (#5466)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-02-01 10:29:45 -03:00
Amit giri 6907771bfe
feat: add take a photo button in profile (#5524)
* take new photo added for avatar

* code optimization

* Update app/views/ChangeAvatarView/index.tsx

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>

* improvements

* Update .detoxrc.js

* Update jest.config.js

---------

Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
2024-02-01 10:08:04 -03:00
Reinaldo Neto cc7d0893e7
fix: remove blocks when updating an old message (#5522)
* fix: remove blocks when updating an old message

* minior tweak, add to threadMessagesToUpdate

* remove the comments
2024-01-31 16:06:07 -03:00
Gleidson Daniel Silva 39f8a92059
feat: audio recording permission handling in MicOrSendButton component (#5515) 2024-01-31 11:28:34 -03:00
Diego Mello 7b73eac895
feat: better composer height calculation (#5523)
* Revert "feat: Send native calculated keyboard and tracking view height to TS (#5514)"

This reverts commit cedd0b98f2.

* better height calculation
2024-01-31 10:57:17 -03:00
Reinaldo Neto e06aaf1cc0
feat: haptics feedback in app notificaiton (#5507)
* create redux for inAppFeedback

* add the clear inAppFeedback, haptic feedback to room view

* added haptics feedback to room view

* add the user preference to in app vibration and the value

* minor tweak

* yarn prettier-lint
2024-01-29 12:54:37 -03:00
Gleidson Daniel Silva 501e42196d
feat: adds scroll when a new quote is added to the list (#5516) 2024-01-26 17:43:57 -03:00