Commit Graph

1284 Commits

Author SHA1 Message Date
Diego Mello 119666a0ac Add canToggleEncryption validation to RoomView/RightButtons 2024-05-14 16:14:23 -03:00
Diego Mello 6702893944 Limit room name to 30 on EncryptedRoom 2024-05-14 16:03:28 -03:00
Diego Mello 0bea843ffa Reenable header, add disable e2ee on header if needed, disable most of actions on RoomActionsView 2024-05-09 14:17:42 -03:00
Diego Mello 354e15619e Merge branch 'develop' into feat.block-room-content-e2ee 2024-05-09 10:53:34 -03:00
Diego Mello 7cacd11e61
chore: Revert encrypted file description (#5668) 2024-04-30 13:32:43 -03:00
Gleidson Daniel Silva e98ce32787
fix: add checks to draft auto save (#5639)
* fix: disable auto save draft on ShareView screen

* fix: remove unnecessary logic for draft saving

* fix: checks if any text has been changed before saving the draft on return

* chore: fix React warn (dont call state on unmonted component)

* chore: remove unnecessary console.log

* unmount hack

* wip
2024-04-26 10:10:48 -03:00
Gleidson Daniel Silva 3918b56a82
fix: ShareView and loading of image/videos colors (#5664)
* chore: change shareview and loading image/videos colors

* test: update snapshot

* fix: change header color

* chore: improve videoconf base color
2024-04-25 17:19:02 -03:00
Diego Mello a171357078 fix share list filter logic 2024-04-22 14:42:24 -03:00
Diego Mello 41d455fa4a Merge branch 'develop' into feat.block-room-content-e2ee
# Conflicts:
#	app/lib/encryption/encryption.ts
2024-04-19 17:22:03 -03:00
Diego Mello 94845cbfd2
feat: Encrypt file descriptions on E2EE rooms (#5599) 2024-04-19 17:19:30 -03:00
Diego Mello 9e89b57b03 Merge branch 'develop' into feat.block-room-content-e2ee
# Conflicts:
#	__tests__/containers/RoomHeader/__snapshots__/RoomHeader.stories.storyshot
#	app/i18n/locales/ar.json
#	app/i18n/locales/bn-IN.json
#	app/i18n/locales/de.json
#	app/i18n/locales/en.json
#	app/i18n/locales/fi.json
#	app/i18n/locales/fr.json
#	app/i18n/locales/hi-IN.json
#	app/i18n/locales/hu.json
#	app/i18n/locales/it.json
#	app/i18n/locales/ja.json
#	app/i18n/locales/nl.json
#	app/i18n/locales/pt-BR.json
#	app/i18n/locales/pt-PT.json
#	app/i18n/locales/ru.json
#	app/i18n/locales/sl-SI.json
#	app/i18n/locales/sv.json
#	app/i18n/locales/ta-IN.json
#	app/i18n/locales/te-IN.json
#	app/i18n/locales/tr.json
#	app/i18n/locales/zh-CN.json
#	app/i18n/locales/zh-TW.json
#	app/views/E2EEnterYourPasswordView.tsx
#	app/views/RoomView/index.tsx
2024-04-19 16:59:22 -03:00
Diego Mello 24464a8859 Refactor the logic on RoomView and apply filters on ShareListView and forward message 2024-04-19 16:13:53 -03:00
Diego Mello 9b7ab79fda Remove # 2024-04-19 13:29:43 -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
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
Diego Mello da7403c5d4 Chance encryption reducer a little bit and fix tests 2024-03-08 09:39:37 -03:00
Diego Mello 74b59a305e Update e2ee tests 2024-03-07 15:11:04 -03:00
Diego Mello 1dac91b6f5 Merge branch 'develop' into feat.block-room-content-e2ee 2024-03-07 14:48:29 -03:00
Diego Mello 8ae8fa7525 Fix header buttons rerender 2024-03-07 14:47:48 -03:00
Diego Mello 7cc5511bc1 Learn more url 2024-03-06 13:54:01 -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
Diego Mello dd704814f9 i18n, disable headers, #roomname 2024-03-05 18:00:12 -03:00
Diego Mello 033215081e i18n 2024-03-05 16:54:03 -03:00
Diego Mello 58067af860 Enter e2ee password toasts 2024-03-05 15:35:57 -03:00
Diego Mello 972d9ad1fa EncryptedRoom i18n 2024-03-05 13:43:16 -03:00
Diego Mello 58931817d5 Merge branch 'develop' into feat.block-room-content-e2ee
# Conflicts:
#	app/views/RoomView/RightButtons.tsx
2024-03-04 14:58:26 -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
Diego Mello 2b8c40c4ca Components working 2024-03-01 17:49:37 -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
Diego Mello 29779b89a7 Create structure 2024-03-01 13:45:57 -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
Gleidson Daniel Silva 55f3de5449
test: correction and improvement of unit tests in CI (#5591) 2024-02-26 07:43:02 -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
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 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
Gleidson Daniel Silva b81e22c934
feat: add draft and quote on shareview support (#5540) 2024-02-07 15:57:22 -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 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