Commit Graph

13 Commits

Author SHA1 Message Date
Gleidson Daniel Silva 89e0a40d95
Chore: remove lib/rocketchat step 2 (#4035)
* create index file

* remove roomTypeToApiType from rocketchat and fix imports

* move TOKEN_KEY to const file

* move CURRENT_SERVER to const file

* move CERTIFICATE_KEY to const file

* getRoom

* rename getSlashCommands

* getSlashCommands

* readMessages

* getRooms

* loadThreadMessages

* loadNextMessages

* loadSurroundingMessages

* loadMessagesForRoom

* loadMissedMessages

* clearCache

* canOpenRoom

* setUser

* userPreferencesMethods

* getCustomEmojis

* callJtisi

* triggerActions

* getPermissions

* getRoles

* getSettings

* getUsersPresence

* logout

* sendFileMessage

* shareExtension

* sendMessage

* enterpriseModules

* getPermalinks

* search

* change RocketChat.metodo to direct call

* fix types

* Fix login

* Fix createChannel

* migrate service methods to Service.method call

* change call directly to RocketChat because the use of this

* rollback

* rollback

* fix create discussion

* fix import

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-04-28 17:37:25 -03:00
Gerzon Z b9651493d2
Chore: update `theme` type (#4025)
* chore: update `theme` type

* update: components

* update: storyshots

* add: `theme` type to `DirectoryItem`

* chore: update theme type on `message/index.tsx`

* update: `RoomTypeIcon`'s useTheme
2022-04-12 12:27:05 -04:00
Alex Junior c6e0751581
[FIX] Force mime type when the image does not have a filename (#4006) 2022-04-11 15:17:28 -03:00
Gleidson Daniel Silva bdf83e546e
Chore: Move constants away from rocketchat folder - Typescript (#4022)
* create keys file and export all consts

* fix import E2E_MESSAGE_TYPE

* fix constants import

* fix constants import

* fix E2E_BANNER_TYPE import

* fix E2E_ROOM_TYPES import

* fix THEME_PREFERENCES_KEY import

* fix CRASH_REPORT_KEY and ANALYTICS_EVENTS_KEY import

* fix MIN_ROCKETCHAT_VERSION import

* fix constantDisplayMode import

* fix environment imports

* fix links imports

* fix localAuthentication imports

* fix localPath imports

* fix messagesStatus imports

* fix messageTypeLoad imports

* fix defaultSettings imports

* fix tablet imports

* update with todo for colors

* move to lib folder

* change constant/colors to constant
2022-04-07 11:10:03 -03:00
Diego Mello 6b3730ce43
Chore: Migrate RoomView to Typescript (#3754) 2022-03-02 11:18:01 -03:00
Gerzon Z e58bdb8fe7
Chore: Migrate sendMessage to TS (#3712)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-02-22 09:04:01 -03:00
Alex Junior 17c63c717b
Chore: Migrate methods/sendFileMessage to typescript (#3683)
* chore: start the migration

* chore: update sendFileMessage to ts

* chore: removing an `any` from uploadQueue

* chore: minor tweak

* chore: minor tweak

* chore: minor tweaks after merge with developer

* chore: minor tweak after merge develop into current
2022-02-21 13:06:57 -03:00
Gerzon Z 2946c4724e
[FIX] TypeScript's errors raised by HOCs (#3535)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2022-01-17 13:10:39 -03:00
Reinaldo Neto a2b92f5e70
Chore: Migrate Utils Folder to Typescript (#3544)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2022-01-12 09:54:04 -03:00
Reinaldo Neto 13af9d80ed
Chore: Migrate Model's folder to Typescript (#3564) 2022-01-11 10:51:48 -03:00
Reinaldo Neto a1cee02fb0
[NEW] Permission for uploading files (#3505)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-12-13 13:27:01 -03:00
Gerzon Z 691bf1ef17
Chore: Migrate react-navigation to TypeScript (#3480)
Co-authored-by: AlexAlexandre <alexalexandrejr@gmail.com>
2021-12-03 16:27:57 -03:00
Reinaldo Neto 2b3542d4ae
Chore: Migrate ShareView to Typescript (#3481) 2021-11-16 13:19:50 -03:00