Miguel de la Cruz
e0dbb380a3
Adds the parent ID filter when fetching child blocks to extract fileId and attachmentId ( #4802 )
2023-07-20 09:50:25 +02:00
Miguel de la Cruz
5dfd402e26
Unify and enhance block validation ( #4790 )
...
* Adds limit check for block titles
* Adds limit check for the aggregation of the fields
* Fix linter
* Adds tests
* Fix err check method order
2023-06-26 13:37:37 -06:00
Miguel de la Cruz
e4630d1a84
Remove product references ( #4744 )
2023-05-31 15:52:44 -06:00
Christopher Speller
c3b1c82b1a
Fix cards not deleting properly. ( #4746 )
...
* Fix cards not deleting properly.
* Review feedback
* Test and lint fixes.
* Fix tests.
2023-05-31 08:26:19 -06:00
Miguel de la Cruz
acc9750d97
Add table_schema filter when checking for migrations table shape ( #4717 )
2023-04-26 22:01:47 +02:00
Harshil Sharma
2634924150
Cherrypicking 22606 to old focalboard ( #4673 )
2023-03-30 10:50:50 +02:00
Miguel de la Cruz
1fff221da9
Adds escaping when normalizing table names for MySQL on DB helpers ( #4653 )
...
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-27 13:56:39 +02:00
Harshil Sharma
e59b61937f
Counting on specific column
2023-03-09 11:20:32 +05:30
Harshil Sharma
761eaa759b
Merge branch 'main' into deduplicate_category_boards
2023-03-09 11:17:24 +05:30
Harshil Sharma
fa72286427
Board teamless file path ( #4577 )
...
* Updated upload and donwload code
* Removed archived file handling as we no longer have cloud limits
* Fixed server lint
* Restored unused
* CI
* Added new tests
* Fixed integration tests
* Added Path column for personal server's FileInfo table
* Removed sophesticated, elegant debug logs
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-07 10:21:53 +05:30
Harshil Sharma
f9aa6c1668
Fixed server test
2023-03-03 18:49:53 +05:30
Harshil Sharma
1e3c033547
shortcircuit for mysql
2023-03-03 15:55:52 +05:30
Harshil Sharma
7195a2bf1d
Lint fix
2023-03-03 15:45:24 +05:30
Harshil Sharma
39dbdbba77
Added data migration to de-duplicate data from category_boards table
2023-03-03 15:10:23 +05:30
Doug Lauder
6576d75192
improve logging ( #4578 )
2023-02-14 16:42:32 -05:00
Scott Bishel
098868387e
initial implementation of SysAdmin/TeamAdmin feature ( #4537 )
...
* initial implementation of SysAdmin/TeamAdmin feature
* fix adminBadge tests
* updating tests
* more fixes for unit tests
* lint fixes
* update snapshots
* update cypress test for call change
* add additional unit tests
* update test for lint errors
* fix reviews implement tests
* fix for merge, reset dialog before redirection
* remove unused test code
* fix more tests
* fix swagger doc for missing parameters
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-14 09:17:33 -07:00
Rajat Dabade
cc9a689c8b
Added the bot-notification changes for attachment ( #4301 )
...
* Added the bot-notification changes for attachment
* Linter fixes
* Added Todo for i18n
* Grammer fix
* Statement Corrections
* Grammer fix
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-13 14:30:15 -07:00
Doug Lauder
935e5c68fd
Use name
column to determine if schema_migrations table is correct format ( #4557 )
...
* Use name column to determine if schema_migrations table is correct format
* fix result when table missing
* fix result when table missing
* really fix result when table missing
* fix linter
* more linter
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-13 16:16:20 +01:00
Doug Lauder
c1c94e9794
Fix notifications for deleted card content blocks ( #4508 )
...
* comment only
* add getBlockHistoryNewestChildren store method
* fixed delete comment notify
* fix notification for content block deletion
* fix linter errors
* address review comments
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-03 11:54:14 +01:00
wiggin77
a31bda28ce
more linter fixes
2023-01-26 12:54:59 -05:00
wiggin77
0c19e1c950
fix linter errors
2023-01-26 12:26:01 -05:00
wiggin77
d1255cc76e
address review comments; return pointers to all structs; implement DBVersion
2023-01-26 12:12:28 -05:00
wiggin77
7ebf861f1c
fix merge conflict
2023-01-24 16:25:23 -05:00
Harshil Sharma
03f4717e96
Hide board feature ( #4409 )
...
* WIP
* Added migrations
* Updating store method
* WIP
* WIP
* Updated DND
* WIP
* WIP
* WIP
* WIP
* WIP
* wip
* WIP
* Adding new DB tool
* Used migration functions in new migrations
* Unique constraint migration
* Unique constraint migration
* Added SQLITE migrations
* Added SQLITE support in few more migrations
* Added SQLITE support in few more migrations
* WIP
* Used old-fashioned way to add unique constraint
* Using oldsqlite method
* Using oldsqlite method
* Fixed all store and app layer tests
* fixed integration tests
* test and lint fix
* Updated migration for MySQL and Postgres on personal server
* Types fix
* sqlite fix
* fix typo
* misc cleanup
* added new tests
* added new tests
* de-duping input for postgres
* integration tests, rmeoved uneeded migration
* Added some migration tests
* Added some migration tests
* Fixed a test
* completed migration tests
* completed migration tests
* Removed leftover debug statements
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-24 15:41:54 +05:30
Agniva De Sarker
d6207dde6c
MM-49703: Bump to Go 1.19 ( #4489 ) ( #4502 )
...
Also fix some gofmt issues
https://mattermost.atlassian.net/browse/MM-49703
2023-01-23 12:43:40 +05:30
Mattermost Build
a422f213d4
Merge branch 'main' into compliance-history-export
2023-01-21 04:59:49 +02:00
Doug Lauder
50e15f3804
Revert "MM-49703: Bump to Go 1.19 ( #4489 )" ( #4499 )
...
This reverts commit 2d0dde21dd
.
2023-01-20 21:58:27 +05:30
Agniva De Sarker
2d0dde21dd
MM-49703: Bump to Go 1.19 ( #4489 )
...
* MM-49703: Bump to Go 1.19
Also fix some gofmt issues
https://mattermost.atlassian.net/browse/MM-49703
* Bump versions in go.mod
* Update go.work as well
* Bump GolangCI to 1.50.1
* Upgraded to new builder image
2023-01-20 11:06:16 -05:00
Doug Lauder
23e7cf06de
Use GetDirectChannelOrCreate when notifying block chg in MPA mode ( #4496 )
...
* handle getDirectChannel returning nil,nil
* Use GetDirectChannelOrCreate for bot notify channel
2023-01-20 07:55:07 -05:00
Doug Lauder
333b448705
handle getDirectChannel returning nil,nil ( #4487 )
2023-01-18 17:06:59 -05:00
wiggin77
ca704a2760
fix merge conflict
2023-01-17 14:54:37 -05:00
Scott Bishel
ff3a8d2096
Implement Person filter and groupBy ( #4414 )
...
* implement person filter
* implement groupBy
* cleanup and fix adding filtered values
* fixes for existing unit tests
* add unit tests
* add unit tests
* fix lint issues
* lint, test fixes
* handle unknown and undefined users
* dont allow edit on person options
* add displaying Me, remove bots
* update i18n-extract
* update snapshots from merge, fix unit test failure, add unit test for 'Me'
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-01-17 12:02:54 -07:00
wiggin77
4df8c43410
comments
2023-01-13 21:25:56 -05:00
wiggin77
5b345bd401
fix queries for Postgres; fix unit tests
2023-01-13 20:44:07 -05:00
wiggin77
0f24032560
store unit tests
2023-01-13 11:14:12 -05:00
wiggin77
76a084ebab
fix comment
2023-01-10 13:16:20 -05:00
wiggin77
50d6b1a4bf
store unit tests
2023-01-05 10:15:57 -05:00
wiggin77
a8baf0c4b9
fix sql for mysql
2023-01-02 16:41:40 -05:00
wiggin77
23c3bda971
fix linter errors
2023-01-01 19:10:37 -05:00
wiggin77
866d23529e
integration tests for GetBlocksComplianceHistory
2023-01-01 14:16:46 -05:00
wiggin77
4272e2eac0
integration tests for GetBoardsComplianceHistory
2022-12-31 16:33:05 -05:00
wiggin77
96b790672b
wip
2022-12-23 23:31:39 -05:00
wiggin77
0990089f35
Merge remote-tracking branch 'upstream/main' into compliance-history-export
2022-12-23 11:36:10 -05:00
Ibrahim Serdar Acikgoz
8585ff04d2
services/store: use mattermost sql settings for migration connections ( #4395 )
...
* services/store: use mattermost sql settings for migration connections
* fix db type issue
2022-12-23 11:19:37 -05:00
Mattermod
625a3e12af
Merge branch 'main' into compliance-history-export
2022-12-23 03:12:01 +02:00
Scott Bishel
f09cc00521
rename migration 24 back to original name ( #4367 )
2022-12-19 16:46:53 -07:00
Harshil Sharma
78ac6924e8
Dnd remove default column value ( #4337 )
...
* Revert "Revert dnd (#4294 )"
This reverts commit 9fac8f476e
.
* removed default value of new column for DND
* Used a column function, and collases for default value
* fix bad merge
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-12-19 14:37:51 -07:00
Doug Lauder
b63542fb63
Search boards by prop ( #4291 )
...
* SearchBoardsForUser API with property name search.
2022-12-16 11:46:00 -05:00
Doug Lauder
2a5c033fa5
Idempotent schema and data migrations ( #4253 )
...
* modify all migration scripts for idempotency
* Add readme
2022-12-16 11:15:38 -05:00
Miguel de la Cruz
78ff5c08ad
Fix default collation on preferences table ( #4347 )
2022-12-15 16:35:32 -05:00