* 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>
* Wip
* update name so it references changing the reaction on a post
* handleAddEmoji -> handleAddCustomEmoji
* add remove reaction logic
* sanitizeReactions
* use skipSync to return early if not deleting any records that are
not in the server db
* return the filtered delete results and have the handler destroy the
records
* fix lint
* use forEach instead of map.
* PR feedback
* PR feedback
* Update app/actions/websocket/reactions.ts
* remove console.log
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Manage user websocket events
* Revert ChannelMembership -> MyChannelMembership
* Address feedback
* Update channel display name when the user changes
* Minor name and refactoring changes from feedback
* Address feedback
* Address feedback
* Add line breaks for readability
* Make message_count become has_unreads
* Fix lint
* Re-add the message count
* rename has_unreads to is_unread and address feedback
* fix query with is_unread
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Channel Intro
* Move avatar margins to post component per feedback review
* Channel intro redesign
* Fix preferences unit test
* Change group intro sizes
* Add Bot tag to DM Intro if they have it
* fix channel isTablet layout on split screen
* update snapshot
* [Gekidou]: MM-39757 - Recent mentions
* Refactor channel_info to a separate component
* Fixes schema tests
* Fixes channel_info theme color
* Removes RECEIVED_MENTIONS table and model
Removes RECEIVED_MENTIONS table and model and saves recent_mentions in
the SYSTEM table under the recentMentions ID.
* Cleanup recent_mentions handler
* Adds i18n in recent_mentions screen
* Observe changes on the post messages
* Addresses review comments
* Batches records
* Addresses review comments
* Addresses review comments
* Addresses review comments
* Addresses review comments
* Fetches channels and users needed for mentions
Fetching mentions from all teams might result in missing info like user
profiles, and channels missing from the DB.
This commit fetches all missing users and channels.
* Adds empty state for recent mentions
* Prepares all missing models for channels
* Addresses review comments
* Fixes mention keys for recent mentions
User mention keys when asking for mentions should not include general
purpose ones, like @channel, @all, @here.
Fixes ActivityIndicator color in recent mentions screen.
* Removes top margin of mention message
* Addresses review comments
* Fixes group.name undefined
* Renames header
* Adds Server Display Name Context
* Adds server and team name to header
* Snapshot fail fixed
* rename serverUrl context to server and include displayName
* Add server display name and use only team display name in channel list header
* Improve channel_list test
* Fix channel list on tablets when team sidebar is present
* Fix Server icon color
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Push notifications entry point
* Process android notification natively only if RN is not initialized
* Database changes to store local channel viewed_at
* EphemeralStore wait until screen removed
* Move schedule session notification to utility
* Fix channel remote & local actions + added actions for markChannelAsViewed & fetchMyChannel
* Add fetchMyTeam remote action
* Add dismissAllModalsAndPopToScreen to navigation
* Improve post list component & add app state to re-trigger queries
* Improve WS implementation
* Handle push notification events
* Fix postsInChannel since handler
* Handle in-app notifications
* Post list to listen to column changes
* Track selected bottom tab in ephemeral store
* add useIsTablet hook
* in-app notifications on tablets
* Use Intl based on user locale
* set PROMPT_IN_APP_PIN_CODE_AFTER to wait for 5 mins
* Observables Improvements
* Fix iPad external keyboard listener
* file model description
* Started with bottom tabs layout
* code clean up
* Added animation to bottom tab bar
* returns null if not focused
* code clean up
* Updating layout
* Updated modal screen
* Updated animation
* Updated animation
* Fix SafeArea on Home
* A few clean ups
* code clean up
* Fix issue with navigation on Android
* Use React Navigation in combination of RNN & create bottom tab bar
* Set tab bar line separator height to 0.5
* Fix snapshot tests
* Add home tab mention badge
* Apply new themes
* Home Tab badge
* Remove unused constants
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* Rename groups in channel/team to group channel/team
* Redefine groups schema
* Groups action and operator
* Add group at mentions
* fix uni test
* Update types/database/models/servers/group.d.ts
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
* Allow multiple posts in thread and posts in channel for a specific root or channel
* Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Login entry point
* feedback review
* sort imports
* Fix model relations
* Handle when no current team or current channel has been selected
* Fix MFA unit test
* update prepareCommonSystemValues arguments
* Database HOC component to set the active server database in WDB Provider
* Adding is_secured and last_active_at to database schema + test + models
* Update baseHandler and `general` prepareRecords for isSecured and lastActiveAt
* Update withServer component for it to use the dbInstance.
Co-authored-by: Avinash Lingaloo <>
* MM_30475 : ADDED default schema
* MM_30475 : ADDED todo for field 'value' of default/Global entity
* MM_30476 : Created schema for SERVER DB
* MM_30476 : Server model [ IN PROGRESS ]
* MM_30476 : Including types for group, groups_in_channel and role
* MM_30476 : ADDED models for Group
- @typings absolute path has been added to the tsconfig.json
* MM_30476 : ADDED typings to current models
* MM_30476 : ADDED typings to current models
* MM_30476 : ADDED models related to TEAM section of the ERD
* MM_30476 : ADDED models for User section of the ERD
* MM_30476 : ADDED models for POST section of the ERD
* MM_30476 : ADDED models for Channel section of the ERD
* MM_30475 : Updated typings and references to MM_TABLES
* MM_30476 : Verified all field names
* MM_30476 : Verified every table associations
* MM_30476 : Verified all relation fields
* MM_30476 : Updated primary id of the main models
We will override the wdb id at component level when we create a new records. This involves the models : channel, group, post, team and user.
* MM_30476 : Including 1:1 relationship amongs some entities
* MM_30476 : ADDED Schema Managers
* The migration array will hold all the migration steps.
* The initial app release (e.g. v2 )will have an empty array and subsequent releases (e.g. v2.1 ) will have the steps listed in that array.
* On initialization, the database will perform the migration to accomodate for new columns/tables creation and while it will conserve the mobile phone's data, it will also make it conform to this new schema.
* If a migration fails, the migration process will rollback any changes. This migration will be thoroughly tested in development before pushing it live.
* Revert "MM_30476 : ADDED Schema Managers"
This reverts commit a505bd5e11.
* MM_30478 : Converted schema_manager into a function
* MM_30478 : Updated schema manager and included patch for wdb
* MM_30478: Updated watermelondb patch package
* MM_30478 : Update function create_schema_manager to createSqliteAdaptorOptions
* MM_30476 : Update constant name to reflect directory name
* MM_30476 : Updated msgCount from my_channel model to message_count in server schema
* MM_30482 : Added tests for schema_manager
* MM_30482 : Database Manager [ IN PROGRESS ]
* MM_30478 : Returning an sqliteAdapter instead of an object
* MM_30476 : Apply suggestions from code review
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM_30476 : Updated all imports as per instruction.
* MM_30476 : Shortening object chains by destructuring
* MM_30476 : Updated schema file structure
* MM_30476 : Prettifying @typings folder
* MM_30476 : Removing useless ids
* MM_30476 : Prettify imports for decorators
* MM_30476 : ADDED documentations and lazy queries to Channel and Channel_Info
* MM_30476 : ADDED documentations for default schema
* MM_30476 : Documentation [ IN PROGRESS ]
- Following JSDoc syntax for single line comment
- Removed redundant fields in the 'membership' tables and left only the @relation records.
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS]
Updated
1) my_team and team,
2) my_channel and channel,
to each have 1:1 relationship with one another
* MM_30476 : Updated all Typescript definitions
* MM_30476 :Updated @relation to @immutableRelation
* MM_30476 : Updated description for previous_post_id
* MM_30478 : Updated patch package for wdb module
* MM_30478: DB Manager [IN PROGRESS ]
* MM_30478: DB Manager [IN PROGRESS]
* MM_30478: DB Manager [IN PROGRESS]
* MM_30478 : DB Manager [IN PROGRESS]
* MM_30478 : Deleting .db file on iOS
* MM_30478: Successfully deleting .db files and directory on iOS side
* MM_30478 : Update definition for default/global
* MM_30478 : Updated all models
* MM_30478 : Doing a bit of house cleaning
* MM_30478: Record of new server connection added to default/servers db
* TS Definitely Typed Assignment issue is now FIXED
* MM_30478 : TS Definitely Typed Assignment \n Removed all the constructors but error still in editor tabs. But this time the app is not crashing
* MM_30478 : Attempt 1 [SUCCESSFUL]
* MM_30478 : Removing useDefineForClassFields
* MM_30478 : Retrieving the servers in a list + Improved the DB Manager and Babel config
* MM_30478 : Updated babel.config.js
* MM_30478 : Minor UI correction
* MM_30478 : Jest and Typescript configuration
* MM_30478 : A bit of housekeeping
* MM_30478 : Installed WDB on Android
* MM_30478 : Deletes new server record from default DB
* MM_30478 : Returns subset of server db instances
* MM_30478 : Code clean up
* MM_30478 : Code clean up on db manager
* MM_30478 : House keeping + Patch for WDB
* MM_30478 : Android - Saving & Deleting in FilesDir [COMPLETED]
* MM_30478 : Code clean up
* MM_30478 : Code clean up
* MM_30478 : Code clean up
* MM_30478 : Test successful on Android device
* MM_30478 : Rolling back change to jest.config.js
* MM_30478 : Updated test to test_integration
* MM_30478 : Fix imports
* MM_30478 : Refactored the manual testscript
* MM_30478 : Renamed database manager test file
* MM_30478 : Code clean up
* MM_30478 : Updated manual test file with a note.
* MM_30482 : DataOperator [ IN PROGRESS ]
* MM_30482 : DataOperator - setting up the factory [ IN PROGRESS ]
* MM_30482: Code refactoring
* MM_30482 : DataOperator - setting up the factory [ IN PROGRESS ]
* MM_30482 : DataOperator - code clean up [ IN PROGRESS ]
* MM_30482 : Minor code clean up
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Implementing JEST test cases
* MM_30478 : Implementing JEST last test cases
* MM_30478 : Jest fixing ts errors
* MM_30478 : Database Manager Jest testing [ IN PROGRESS ]
* MM_30482 - Fixing DataOperator [ IN PROGRESS ]
* MM_30482 : Code clean up
* MM_30482 - Creates multiple records [ IN PROGRESS ]
* MM_30482 - Creates multiple records [ IN PROGRESS ]
* MM_30482 : Update operation [ COMPLETED ]
* MM_30482 : Code clean up
* MM_30482 : Updated TS for Data Operator
* Update mobile v2 detox deps
* MM_30482 : Added factories for all isolated tables
* MM_30482 : Refactored TS
* MM_30482 : Refactored base factory
* MM_30482 : Updated JSDoc for operateBaseRecord - Delete CASE
* MM_30482 : Implementing test for Data Operator
* MM_30482 : Completed tests for all isolated tables
* MM_30482 : Renamed entity_factory into operators
* MM_30482 : Fix all imports
* MM_30482 : Update multiple records
* MM_30482 : Edge case for existing records ( update instead of create )
* MM_30482 : Edge case - create instead of update
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* MM_30482 : Imposing usage of correct table name for isolated entities
* MM_30482 : Code improvement as per Joseph reviews
* MM_30482 : Updated tests to validate choice of operator service wrt tableName
* MM_30482 : Updated PR as per suggestions
* MM_30482 : Updated comments to follow jsdoc conventions
* MM_33223 : Renamed DBInstance to DatabaseInstance
* MM_33223 : ADDED Prettier
* MM_33223 - Prettier formatting
* MM_33223 : Prettier formatting
* MM_33223 - Post section [ in progress ]
* MM_33223 : PostsInThread [99% completed ]
* MM_33223: Reaction entity completed
* MM_33223: Added Reaction to the Post
* MM_33223 : Refactored reactions utils
* MM_33223 : Added previous post id to all posts
* MM_33223 : Added File Metadata
* MM_33223 : Code clean up
* MM_33223 : Added PostMetadata
* MM_33223 : Added Draft
* MM_33223 - Removed Prettier
* MM_33223 - Undo files changes due to Prettier
* MM_33223 : Making use of MM eslint plugins
* MM_33223 : PostsInChannel [ IN PROGRESS ]
* MM_33223 : Including update_at in Post schema
* MM_33223: Code clean up
* MM_33223: Code clean up
* MM_33223 : Code clean up
* MM_33223: Testing Reaction [IN PROGRESS]
* MM_33223 : Updated typings for RawCustomEmoji in Reactions
* MM_33223 : Refactored DataOperator test
* MM_33223 : Jest - handleReactions - Completed
* MM_33223 : Jest - HandleDraft - Completed
* MM_33223 : Jest - HandleFiles - Completed
* MM_33223 : Refactored DataOperator-PostMetadata
* MM_33223 : Jest - HandlePostMetadata - Completed
* MM_33223 : Refactored posts into ordered and unordered
* MM_33223 : Refactoring + Jest Utils [ IN PROGRESS ]
* MM_33223 - Jest Utils - Completed
* MM_33223 : Jest - Remaining operators - Completed
* MM_33223 : Jest - Handler PostsInThread - Completed
* MM_33223 : Jest - HandlePostsInChannel - Completed
* MM_33223 : Refactored DataOperator class
* MM_33223 : DataOperator test clean up
* MM_33223 : DataOperator code clean up
* MM_33223 : Jest - HandlePosts - Completed
* MM_33223: JSDoc - Operators - Completed
* MM_33223 : Refactoring file types.ts
* MM_33223 : Refactored import statements
* MM_33223 : Added @database alias
* MM_33223 : Added missing JSDoc
* MM_33223 : Minor code clean up
* MM_33223 : Lint fixed
* MM_33223 : Disable eslint rules for Notification
* MM_33223 : Disable eslint rule for screens
* Update app/database/admin/data_operator/index.ts
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM_33223 : Update data_operatator as per suggestion
* MM_33226: Removed optType
* MM_33226 : ADDED User Handler+Operator+Jest, Included update_at field for User
* MM_33226 : Preference entity - Completed
* MM_33226 : Team Membership entity - Completed
* MM_33226 : Team Membership - Jest - Completed
* MM_33226 : Removing duplicates for TeamMembership and Preferences
* MM_33226 : Refactored Custom Emojis to remove duplicates
* MM_33226 : Group Membership - Completed
* MM_33226 : ChannelMembership - Completed
* MM_33226 : Refactored some handlers whose response have no Ids
* MM_33226 : Refactoring - in progress
* MM_33226 : Refactoring - in progress
* MM_33226 : Refactoring - in progress
* MM_33226 : Code clean up
* MM_33226 : Polishing Operator tests
* MM_33226 : Removing redundant test cases
* MM_33226 : Polishing Operators
* MM_33226 : Testing for duplicate post id in Raw values
* MM_33226 : Including some error-throwing in the Database Manager
* MM_33226 : Merged in DataOperator/Post-section
* MM_33226 : Fixing the merging issues
* MM_33226 : fixing merge issues
* MM_33226 : Code polishing
* MM_33226 : Enabling user notify props comment
* MM_33226 : Correcting type casting
* MM_33226 : Correcting data operators
* MM_33225 : Group - Completed
* MM_33225 : GroupsInTeam - Completed
* MM_33225 : GroupsInChannel - Completed
* MM_33226 : Corrections
* MM_33225: Adding a todo comment
* MM_33225 : Added a todo for the Group section operator
* MM_33226 : Code clean up
* MM_33226 : Rename oneOfField to fieldName
* MM_33226 : Renaming comparators to Boolean name and oneOfField to fieldName
* MM_33226 : Putting back custom emoji into handleIsolatedEntity
* MM_33226 : Comparing simple arrays
* MM_33226 : Renaming DiscardDuplicates to ProcessInputs
* MM_33226 : Sort imports
* MM_33225 : Renamed some Group comparators
* MM_33226 : Types clean up
* MM_33225 : Types clean up
* MM_33225 : Further clean up
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM_30475 : ADDED default schema
* MM_30475 : ADDED todo for field 'value' of default/Global entity
* MM_30476 : Created schema for SERVER DB
* MM_30476 : Server model [ IN PROGRESS ]
* MM_30476 : Including types for group, groups_in_channel and role
* MM_30476 : ADDED models for Group
- @typings absolute path has been added to the tsconfig.json
* MM_30476 : ADDED typings to current models
* MM_30476 : ADDED typings to current models
* MM_30476 : ADDED models related to TEAM section of the ERD
* MM_30476 : ADDED models for User section of the ERD
* MM_30476 : ADDED models for POST section of the ERD
* MM_30476 : ADDED models for Channel section of the ERD
* MM_30475 : Updated typings and references to MM_TABLES
* MM_30476 : Verified all field names
* MM_30476 : Verified every table associations
* MM_30476 : Verified all relation fields
* MM_30476 : Updated primary id of the main models
We will override the wdb id at component level when we create a new records. This involves the models : channel, group, post, team and user.
* MM_30476 : Including 1:1 relationship amongs some entities
* MM_30476 : ADDED Schema Managers
* The migration array will hold all the migration steps.
* The initial app release (e.g. v2 )will have an empty array and subsequent releases (e.g. v2.1 ) will have the steps listed in that array.
* On initialization, the database will perform the migration to accomodate for new columns/tables creation and while it will conserve the mobile phone's data, it will also make it conform to this new schema.
* If a migration fails, the migration process will rollback any changes. This migration will be thoroughly tested in development before pushing it live.
* Revert "MM_30476 : ADDED Schema Managers"
This reverts commit a505bd5e11.
* MM_30478 : Converted schema_manager into a function
* MM_30478 : Updated schema manager and included patch for wdb
* MM_30478: Updated watermelondb patch package
* MM_30478 : Update function create_schema_manager to createSqliteAdaptorOptions
* MM_30476 : Update constant name to reflect directory name
* MM_30476 : Updated msgCount from my_channel model to message_count in server schema
* MM_30482 : Added tests for schema_manager
* MM_30482 : Database Manager [ IN PROGRESS ]
* MM_30478 : Returning an sqliteAdapter instead of an object
* MM_30476 : Apply suggestions from code review
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM_30476 : Updated all imports as per instruction.
* MM_30476 : Shortening object chains by destructuring
* MM_30476 : Updated schema file structure
* MM_30476 : Prettifying @typings folder
* MM_30476 : Removing useless ids
* MM_30476 : Prettify imports for decorators
* MM_30476 : ADDED documentations and lazy queries to Channel and Channel_Info
* MM_30476 : ADDED documentations for default schema
* MM_30476 : Documentation [ IN PROGRESS ]
- Following JSDoc syntax for single line comment
- Removed redundant fields in the 'membership' tables and left only the @relation records.
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS]
Updated
1) my_team and team,
2) my_channel and channel,
to each have 1:1 relationship with one another
* MM_30476 : Updated all Typescript definitions
* MM_30476 :Updated @relation to @immutableRelation
* MM_30476 : Updated description for previous_post_id
* MM_30478 : Updated patch package for wdb module
* MM_30478: DB Manager [IN PROGRESS ]
* MM_30478: DB Manager [IN PROGRESS]
* MM_30478: DB Manager [IN PROGRESS]
* MM_30478 : DB Manager [IN PROGRESS]
* MM_30478 : Deleting .db file on iOS
* MM_30478: Successfully deleting .db files and directory on iOS side
* MM_30478 : Update definition for default/global
* MM_30478 : Updated all models
* MM_30478 : Doing a bit of house cleaning
* MM_30478: Record of new server connection added to default/servers db
* TS Definitely Typed Assignment issue is now FIXED
* MM_30478 : TS Definitely Typed Assignment \n Removed all the constructors but error still in editor tabs. But this time the app is not crashing
* MM_30478 : Attempt 1 [SUCCESSFUL]
* MM_30478 : Removing useDefineForClassFields
* MM_30478 : Retrieving the servers in a list + Improved the DB Manager and Babel config
* MM_30478 : Updated babel.config.js
* MM_30478 : Minor UI correction
* MM_30478 : Jest and Typescript configuration
* MM_30478 : A bit of housekeeping
* MM_30478 : Installed WDB on Android
* MM_30478 : Deletes new server record from default DB
* MM_30478 : Returns subset of server db instances
* MM_30478 : Code clean up
* MM_30478 : Code clean up on db manager
* MM_30478 : House keeping + Patch for WDB
* MM_30478 : Android - Saving & Deleting in FilesDir [COMPLETED]
* MM_30478 : Code clean up
* MM_30478 : Code clean up
* MM_30478 : Code clean up
* MM_30478 : Test successful on Android device
* MM_30478 : Rolling back change to jest.config.js
* MM_30478 : Updated test to test_integration
* MM_30478 : Fix imports
* MM_30478 : Refactored the manual testscript
* MM_30478 : Renamed database manager test file
* MM_30478 : Code clean up
* MM_30478 : Updated manual test file with a note.
* MM_30482 : DataOperator [ IN PROGRESS ]
* MM_30482 : DataOperator - setting up the factory [ IN PROGRESS ]
* MM_30482: Code refactoring
* MM_30482 : DataOperator - setting up the factory [ IN PROGRESS ]
* MM_30482 : DataOperator - code clean up [ IN PROGRESS ]
* MM_30482 : Minor code clean up
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Implementing JEST test cases
* MM_30478 : Implementing JEST last test cases
* MM_30478 : Jest fixing ts errors
* MM_30478 : Database Manager Jest testing [ IN PROGRESS ]
* MM_30482 - Fixing DataOperator [ IN PROGRESS ]
* MM_30482 : Code clean up
* MM_30482 - Creates multiple records [ IN PROGRESS ]
* MM_30482 - Creates multiple records [ IN PROGRESS ]
* MM_30482 : Update operation [ COMPLETED ]
* MM_30482 : Code clean up
* MM_30482 : Updated TS for Data Operator
* Update mobile v2 detox deps
* MM_30482 : Added factories for all isolated tables
* MM_30482 : Refactored TS
* MM_30482 : Refactored base factory
* MM_30482 : Updated JSDoc for operateBaseRecord - Delete CASE
* MM_30482 : Implementing test for Data Operator
* MM_30482 : Completed tests for all isolated tables
* MM_30482 : Renamed entity_factory into operators
* MM_30482 : Fix all imports
* MM_30482 : Update multiple records
* MM_30482 : Edge case for existing records ( update instead of create )
* MM_30482 : Edge case - create instead of update
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* MM_30482 : Imposing usage of correct table name for isolated entities
* MM_30482 : Code improvement as per Joseph reviews
* MM_30482 : Updated tests to validate choice of operator service wrt tableName
* MM_30482 : Updated PR as per suggestions
* MM_30482 : Updated comments to follow jsdoc conventions
* MM_33223 : Renamed DBInstance to DatabaseInstance
* MM_33223 : ADDED Prettier
* MM_33223 - Prettier formatting
* MM_33223 : Prettier formatting
* MM_33223 - Post section [ in progress ]
* MM_33223 : PostsInThread [99% completed ]
* MM_33223: Reaction entity completed
* MM_33223: Added Reaction to the Post
* MM_33223 : Refactored reactions utils
* MM_33223 : Added previous post id to all posts
* MM_33223 : Added File Metadata
* MM_33223 : Code clean up
* MM_33223 : Added PostMetadata
* MM_33223 : Added Draft
* MM_33223 - Removed Prettier
* MM_33223 - Undo files changes due to Prettier
* MM_33223 : Making use of MM eslint plugins
* MM_33223 : PostsInChannel [ IN PROGRESS ]
* MM_33223 : Including update_at in Post schema
* MM_33223: Code clean up
* MM_33223: Code clean up
* MM_33223 : Code clean up
* MM_33223: Testing Reaction [IN PROGRESS]
* MM_33223 : Updated typings for RawCustomEmoji in Reactions
* MM_33223 : Refactored DataOperator test
* MM_33223 : Jest - handleReactions - Completed
* MM_33223 : Jest - HandleDraft - Completed
* MM_33223 : Jest - HandleFiles - Completed
* MM_33223 : Refactored DataOperator-PostMetadata
* MM_33223 : Jest - HandlePostMetadata - Completed
* MM_33223 : Refactored posts into ordered and unordered
* MM_33223 : Refactoring + Jest Utils [ IN PROGRESS ]
* MM_33223 - Jest Utils - Completed
* MM_33223 : Jest - Remaining operators - Completed
* MM_33223 : Jest - Handler PostsInThread - Completed
* MM_33223 : Jest - HandlePostsInChannel - Completed
* MM_33223 : Refactored DataOperator class
* MM_33223 : DataOperator test clean up
* MM_33223 : DataOperator code clean up
* MM_33223 : Jest - HandlePosts - Completed
* MM_33223: JSDoc - Operators - Completed
* MM_33223 : Refactoring file types.ts
* MM_33223 : Refactored import statements
* MM_33223 : Added @database alias
* MM_33223 : Added missing JSDoc
* MM_33223 : Minor code clean up
* MM_33223 : Lint fixed
* MM_33223 : Disable eslint rules for Notification
* MM_33223 : Disable eslint rule for screens
* Update app/database/admin/data_operator/index.ts
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM_33223 : Update data_operatator as per suggestion
* MM_33226: Removed optType
* MM_33226 : ADDED User Handler+Operator+Jest, Included update_at field for User
* MM_33226 : Preference entity - Completed
* MM_33226 : Team Membership entity - Completed
* MM_33226 : Team Membership - Jest - Completed
* MM_33226 : Removing duplicates for TeamMembership and Preferences
* MM_33226 : Refactored Custom Emojis to remove duplicates
* MM_33226 : Group Membership - Completed
* MM_33226 : ChannelMembership - Completed
* MM_33226 : Refactored some handlers whose response have no Ids
* MM_33226 : Refactoring - in progress
* MM_33226 : Refactoring - in progress
* MM_33226 : Refactoring - in progress
* MM_33226 : Code clean up
* MM_33226 : Polishing Operator tests
* MM_33226 : Removing redundant test cases
* MM_33226 : Polishing Operators
* MM_33226 : Testing for duplicate post id in Raw values
* MM_33226 : Including some error-throwing in the Database Manager
* MM_33226 : Merged in DataOperator/Post-section
* MM_33226 : Fixing the merging issues
* MM_33226 : fixing merge issues
* MM_33226 : Code polishing
* MM_33226 : Enabling user notify props comment
* MM_33226 : Correcting type casting
* MM_33226 : Correcting data operators
* MM_33226 : Corrections
* MM_33226 : Code clean up
* MM_33226 : Rename oneOfField to fieldName
* MM_33226 : Renaming comparators to Boolean name and oneOfField to fieldName
* MM_33226 : Putting back custom emoji into handleIsolatedEntity
* MM_33226 : Comparing simple arrays
* MM_33226 : Renaming DiscardDuplicates to ProcessInputs
* MM_33226 : Sort imports
* MM_33226 : Types clean up
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM_30475 : ADDED default schema
* MM_30475 : ADDED todo for field 'value' of default/Global entity
* MM_30476 : Created schema for SERVER DB
* MM_30476 : Server model [ IN PROGRESS ]
* MM_30476 : Including types for group, groups_in_channel and role
* MM_30476 : ADDED models for Group
- @typings absolute path has been added to the tsconfig.json
* MM_30476 : ADDED typings to current models
* MM_30476 : ADDED typings to current models
* MM_30476 : ADDED models related to TEAM section of the ERD
* MM_30476 : ADDED models for User section of the ERD
* MM_30476 : ADDED models for POST section of the ERD
* MM_30476 : ADDED models for Channel section of the ERD
* MM_30475 : Updated typings and references to MM_TABLES
* MM_30476 : Verified all field names
* MM_30476 : Verified every table associations
* MM_30476 : Verified all relation fields
* MM_30476 : Updated primary id of the main models
We will override the wdb id at component level when we create a new records. This involves the models : channel, group, post, team and user.
* MM_30476 : Including 1:1 relationship amongs some entities
* MM_30476 : ADDED Schema Managers
* The migration array will hold all the migration steps.
* The initial app release (e.g. v2 )will have an empty array and subsequent releases (e.g. v2.1 ) will have the steps listed in that array.
* On initialization, the database will perform the migration to accomodate for new columns/tables creation and while it will conserve the mobile phone's data, it will also make it conform to this new schema.
* If a migration fails, the migration process will rollback any changes. This migration will be thoroughly tested in development before pushing it live.
* Revert "MM_30476 : ADDED Schema Managers"
This reverts commit a505bd5e11.
* MM_30478 : Converted schema_manager into a function
* MM_30478 : Updated schema manager and included patch for wdb
* MM_30478: Updated watermelondb patch package
* MM_30478 : Update function create_schema_manager to createSqliteAdaptorOptions
* MM_30476 : Update constant name to reflect directory name
* MM_30476 : Updated msgCount from my_channel model to message_count in server schema
* MM_30482 : Added tests for schema_manager
* MM_30482 : Database Manager [ IN PROGRESS ]
* MM_30478 : Returning an sqliteAdapter instead of an object
* MM_30476 : Apply suggestions from code review
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM_30476 : Updated all imports as per instruction.
* MM_30476 : Shortening object chains by destructuring
* MM_30476 : Updated schema file structure
* MM_30476 : Prettifying @typings folder
* MM_30476 : Removing useless ids
* MM_30476 : Prettify imports for decorators
* MM_30476 : ADDED documentations and lazy queries to Channel and Channel_Info
* MM_30476 : ADDED documentations for default schema
* MM_30476 : Documentation [ IN PROGRESS ]
- Following JSDoc syntax for single line comment
- Removed redundant fields in the 'membership' tables and left only the @relation records.
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS]
Updated
1) my_team and team,
2) my_channel and channel,
to each have 1:1 relationship with one another
* MM_30476 : Updated all Typescript definitions
* MM_30476 :Updated @relation to @immutableRelation
* MM_30476 : Updated description for previous_post_id
* MM_30478 : Updated patch package for wdb module
* MM_30478: DB Manager [IN PROGRESS ]
* MM_30478: DB Manager [IN PROGRESS]
* MM_30478: DB Manager [IN PROGRESS]
* MM_30478 : DB Manager [IN PROGRESS]
* MM_30478 : Deleting .db file on iOS
* MM_30478: Successfully deleting .db files and directory on iOS side
* MM_30478 : Update definition for default/global
* MM_30478 : Updated all models
* MM_30478 : Doing a bit of house cleaning
* MM_30478: Record of new server connection added to default/servers db
* TS Definitely Typed Assignment issue is now FIXED
* MM_30478 : TS Definitely Typed Assignment \n Removed all the constructors but error still in editor tabs. But this time the app is not crashing
* MM_30478 : Attempt 1 [SUCCESSFUL]
* MM_30478 : Removing useDefineForClassFields
* MM_30478 : Retrieving the servers in a list + Improved the DB Manager and Babel config
* MM_30478 : Updated babel.config.js
* MM_30478 : Minor UI correction
* MM_30478 : Jest and Typescript configuration
* MM_30478 : A bit of housekeeping
* MM_30478 : Installed WDB on Android
* MM_30478 : Deletes new server record from default DB
* MM_30478 : Returns subset of server db instances
* MM_30478 : Code clean up
* MM_30478 : Code clean up on db manager
* MM_30478 : House keeping + Patch for WDB
* MM_30478 : Android - Saving & Deleting in FilesDir [COMPLETED]
* MM_30478 : Code clean up
* MM_30478 : Code clean up
* MM_30478 : Code clean up
* MM_30478 : Test successful on Android device
* MM_30478 : Rolling back change to jest.config.js
* MM_30478 : Updated test to test_integration
* MM_30478 : Fix imports
* MM_30478 : Refactored the manual testscript
* MM_30478 : Renamed database manager test file
* MM_30478 : Code clean up
* MM_30478 : Updated manual test file with a note.
* MM_30482 : DataOperator [ IN PROGRESS ]
* MM_30482 : DataOperator - setting up the factory [ IN PROGRESS ]
* MM_30482: Code refactoring
* MM_30482 : DataOperator - setting up the factory [ IN PROGRESS ]
* MM_30482 : DataOperator - code clean up [ IN PROGRESS ]
* MM_30482 : Minor code clean up
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Implementing JEST test cases
* MM_30478 : Implementing JEST last test cases
* MM_30478 : Jest fixing ts errors
* MM_30478 : Database Manager Jest testing [ IN PROGRESS ]
* MM_30482 - Fixing DataOperator [ IN PROGRESS ]
* MM_30482 : Code clean up
* MM_30482 - Creates multiple records [ IN PROGRESS ]
* MM_30482 - Creates multiple records [ IN PROGRESS ]
* MM_30482 : Update operation [ COMPLETED ]
* MM_30482 : Code clean up
* MM_30482 : Updated TS for Data Operator
* Update mobile v2 detox deps
* MM_30482 : Added factories for all isolated tables
* MM_30482 : Refactored TS
* MM_30482 : Refactored base factory
* MM_30482 : Updated JSDoc for operateBaseRecord - Delete CASE
* MM_30482 : Implementing test for Data Operator
* MM_30482 : Completed tests for all isolated tables
* MM_30482 : Renamed entity_factory into operators
* MM_30482 : Fix all imports
* MM_30482 : Update multiple records
* MM_30482 : Edge case for existing records ( update instead of create )
* MM_30482 : Edge case - create instead of update
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* MM_30482 : Imposing usage of correct table name for isolated entities
* MM_30482 : Code improvement as per Joseph reviews
* MM_30482 : Updated tests to validate choice of operator service wrt tableName
* MM_30482 : Updated PR as per suggestions
* MM_30482 : Updated comments to follow jsdoc conventions
* MM_33223 : Renamed DBInstance to DatabaseInstance
* MM_33223 : ADDED Prettier
* MM_33223 - Prettier formatting
* MM_33223 : Prettier formatting
* MM_33223 - Post section [ in progress ]
* MM_33223 : PostsInThread [99% completed ]
* MM_33223: Reaction entity completed
* MM_33223: Added Reaction to the Post
* MM_33223 : Refactored reactions utils
* MM_33223 : Added previous post id to all posts
* MM_33223 : Added File Metadata
* MM_33223 : Code clean up
* MM_33223 : Added PostMetadata
* MM_33223 : Added Draft
* MM_33223 - Removed Prettier
* MM_33223 - Undo files changes due to Prettier
* MM_33223 : Making use of MM eslint plugins
* MM_33223 : PostsInChannel [ IN PROGRESS ]
* MM_33223 : Including update_at in Post schema
* MM_33223: Code clean up
* MM_33223: Code clean up
* MM_33223 : Code clean up
* MM_33223: Testing Reaction [IN PROGRESS]
* MM_33223 : Updated typings for RawCustomEmoji in Reactions
* MM_33223 : Refactored DataOperator test
* MM_33223 : Jest - handleReactions - Completed
* MM_33223 : Jest - HandleDraft - Completed
* MM_33223 : Jest - HandleFiles - Completed
* MM_33223 : Refactored DataOperator-PostMetadata
* MM_33223 : Jest - HandlePostMetadata - Completed
* MM_33223 : Refactored posts into ordered and unordered
* MM_33223 : Refactoring + Jest Utils [ IN PROGRESS ]
* MM_33223 - Jest Utils - Completed
* MM_33223 : Jest - Remaining operators - Completed
* MM_33223 : Jest - Handler PostsInThread - Completed
* MM_33223 : Jest - HandlePostsInChannel - Completed
* MM_33223 : Refactored DataOperator class
* MM_33223 : DataOperator test clean up
* MM_33223 : DataOperator code clean up
* MM_33223 : Jest - HandlePosts - Completed
* MM_33223: JSDoc - Operators - Completed
* MM_33223 : Refactoring file types.ts
* MM_33223 : Refactored import statements
* MM_33223 : Added @database alias
* MM_33223 : Added missing JSDoc
* MM_33223 : Minor code clean up
* MM_33223 : Lint fixed
* MM_33223 : Disable eslint rules for Notification
* MM_33223 : Disable eslint rule for screens
* Update app/database/admin/data_operator/index.ts
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM_33223 : Update data_operatator as per suggestion
* Update app/database/admin/data_operator/index.ts
* MM_33223 : Removed OptType as the operator can do without it.
* MM_33223 : Code correction after review
* MM_33223 : Refactored Data Operator following reviews
* MM_33223 : Including a wrapper to DataOperator
* MM_33223 : Completing tests for wrapper
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM_30475 : ADDED default schema
* MM_30475 : ADDED todo for field 'value' of default/Global entity
* MM_30476 : Created schema for SERVER DB
* MM_30476 : Server model [ IN PROGRESS ]
* MM_30476 : Including types for group, groups_in_channel and role
* MM_30476 : ADDED models for Group
- @typings absolute path has been added to the tsconfig.json
* MM_30476 : ADDED typings to current models
* MM_30476 : ADDED typings to current models
* MM_30476 : ADDED models related to TEAM section of the ERD
* MM_30476 : ADDED models for User section of the ERD
* MM_30476 : ADDED models for POST section of the ERD
* MM_30476 : ADDED models for Channel section of the ERD
* MM_30475 : Updated typings and references to MM_TABLES
* MM_30476 : Verified all field names
* MM_30476 : Verified every table associations
* MM_30476 : Verified all relation fields
* MM_30476 : Updated primary id of the main models
We will override the wdb id at component level when we create a new records. This involves the models : channel, group, post, team and user.
* MM_30476 : Including 1:1 relationship amongs some entities
* MM_30476 : ADDED Schema Managers
* The migration array will hold all the migration steps.
* The initial app release (e.g. v2 )will have an empty array and subsequent releases (e.g. v2.1 ) will have the steps listed in that array.
* On initialization, the database will perform the migration to accomodate for new columns/tables creation and while it will conserve the mobile phone's data, it will also make it conform to this new schema.
* If a migration fails, the migration process will rollback any changes. This migration will be thoroughly tested in development before pushing it live.
* Revert "MM_30476 : ADDED Schema Managers"
This reverts commit a505bd5e11.
* MM_30478 : Converted schema_manager into a function
* MM_30478 : Updated schema manager and included patch for wdb
* MM_30478: Updated watermelondb patch package
* MM_30478 : Update function create_schema_manager to createSqliteAdaptorOptions
* MM_30476 : Update constant name to reflect directory name
* MM_30476 : Updated msgCount from my_channel model to message_count in server schema
* MM_30482 : Added tests for schema_manager
* MM_30482 : Database Manager [ IN PROGRESS ]
* MM_30478 : Returning an sqliteAdapter instead of an object
* MM_30476 : Apply suggestions from code review
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM_30476 : Updated all imports as per instruction.
* MM_30476 : Shortening object chains by destructuring
* MM_30476 : Updated schema file structure
* MM_30476 : Prettifying @typings folder
* MM_30476 : Removing useless ids
* MM_30476 : Prettify imports for decorators
* MM_30476 : ADDED documentations and lazy queries to Channel and Channel_Info
* MM_30476 : ADDED documentations for default schema
* MM_30476 : Documentation [ IN PROGRESS ]
- Following JSDoc syntax for single line comment
- Removed redundant fields in the 'membership' tables and left only the @relation records.
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS ]
* MM_30476 : Documentations [ IN PROGRESS]
Updated
1) my_team and team,
2) my_channel and channel,
to each have 1:1 relationship with one another
* MM_30476 : Updated all Typescript definitions
* MM_30476 :Updated @relation to @immutableRelation
* MM_30476 : Updated description for previous_post_id
* MM_30478 : Updated patch package for wdb module
* MM_30478: DB Manager [IN PROGRESS ]
* MM_30478: DB Manager [IN PROGRESS]
* MM_30478: DB Manager [IN PROGRESS]
* MM_30478 : DB Manager [IN PROGRESS]
* MM_30478 : Deleting .db file on iOS
* MM_30478: Successfully deleting .db files and directory on iOS side
* MM_30478 : Update definition for default/global
* MM_30478 : Updated all models
* MM_30478 : Doing a bit of house cleaning
* MM_30478: Record of new server connection added to default/servers db
* TS Definitely Typed Assignment issue is now FIXED
* MM_30478 : TS Definitely Typed Assignment \n Removed all the constructors but error still in editor tabs. But this time the app is not crashing
* MM_30478 : Attempt 1 [SUCCESSFUL]
* MM_30478 : Removing useDefineForClassFields
* MM_30478 : Retrieving the servers in a list + Improved the DB Manager and Babel config
* MM_30478 : Updated babel.config.js
* MM_30478 : Minor UI correction
* MM_30478 : Jest and Typescript configuration
* MM_30478 : A bit of housekeeping
* MM_30478 : Installed WDB on Android
* MM_30478 : Deletes new server record from default DB
* MM_30478 : Returns subset of server db instances
* MM_30478 : Code clean up
* MM_30478 : Code clean up on db manager
* MM_30478 : House keeping + Patch for WDB
* MM_30478 : Android - Saving & Deleting in FilesDir [COMPLETED]
* MM_30478 : Code clean up
* MM_30478 : Code clean up
* MM_30478 : Code clean up
* MM_30478 : Test successful on Android device
* MM_30478 : Rolling back change to jest.config.js
* MM_30478 : Updated test to test_integration
* MM_30478 : Fix imports
* MM_30478 : Refactored the manual testscript
* MM_30478 : Renamed database manager test file
* MM_30478 : Code clean up
* MM_30478 : Updated manual test file with a note.
* MM_30482 : DataOperator [ IN PROGRESS ]
* MM_30482 : DataOperator - setting up the factory [ IN PROGRESS ]
* MM_30482: Code refactoring
* MM_30482 : DataOperator - setting up the factory [ IN PROGRESS ]
* MM_30482 : DataOperator - code clean up [ IN PROGRESS ]
* MM_30482 : Minor code clean up
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Fixed JEST issue with TS
* MM_30478 : Implementing JEST test cases
* MM_30478 : Implementing JEST last test cases
* MM_30478 : Jest fixing ts errors
* MM_30478 : Database Manager Jest testing [ IN PROGRESS ]
* MM_30482 - Fixing DataOperator [ IN PROGRESS ]
* MM_30482 : Code clean up
* MM_30482 - Creates multiple records [ IN PROGRESS ]
* MM_30482 - Creates multiple records [ IN PROGRESS ]
* MM_30482 : Update operation [ COMPLETED ]
* MM_30482 : Code clean up
* MM_30482 : Updated TS for Data Operator
* Update mobile v2 detox deps
* MM_30482 : Added factories for all isolated tables
* MM_30482 : Refactored TS
* MM_30482 : Refactored base factory
* MM_30482 : Updated JSDoc for operateBaseRecord - Delete CASE
* MM_30482 : Implementing test for Data Operator
* MM_30482 : Completed tests for all isolated tables
* MM_30482 : Renamed entity_factory into operators
* MM_30482 : Fix all imports
* MM_30482 : Update multiple records
* MM_30482 : Edge case for existing records ( update instead of create )
* MM_30482 : Edge case - create instead of update
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* MM_30482 : Code clean up
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* Update app/database/admin/data_operator/operators.ts
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
* MM_30482 : Imposing usage of correct table name for isolated entities
* MM_30482 : Code improvement as per Joseph reviews
* MM_30482 : Updated tests to validate choice of operator service wrt tableName
* MM_30482 : Updated PR as per suggestions
* MM_30482 : Updated comments to follow jsdoc conventions
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Avinash Lingaloo <>
Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>