1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
Commit Graph

396 Commits

Author SHA1 Message Date
Scott Bishel
1c0393716c Merge pull request #4614 from mattermost/deduplicate_category_boards
Deduplicate category boards

(cherry picked from commit 64f4684564)
2023-03-09 08:47:35 -07:00
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
Scott Bishel
f20f0c6d9d
Update query to only allow open boards for team members (#4335)
* update query to only allow open boards for team members

* remove debug lines
2022-12-14 10:56:40 -07:00
Harshil Sharma
eceb406535
Revert "Revert dnd (#4294)" (#4324)
This reverts commit 9fac8f476e.
2022-12-14 14:21:53 +05:30
Miguel de la Cruz
f2d98f940f
Updates migrations to check collation/charset before trying to fix it (#4325)
* Updates migrations to check collation/charset before trying to fix it

* Update server/services/store/sqlstore/data_migrations.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-12-13 12:28:57 -07:00
Miguel de la Cruz
5d82fb8181
Fixes positional arguments in UNION queries (#4327)
* Fixes positional arguments in UNION queries

* Fix linter

* Fix error statements
2022-12-13 09:26:35 -07:00
Doug Lauder
1d0fda2f7d
Modify query in SearchBoardsForUser to use union. (#4312) 2022-12-12 09:12:35 -07:00
Miguel de la Cruz
b22a115ee8
Replace SearchBoardsForUserInTeam query with a more efficient one (#4308)
* Replace SearchBoardsForUserInTeam query with a more efficient one

* Fix linter
2022-12-07 12:59:59 -05:00
Paul Esch-Laurent
79184eb9ba wip: punt order by 2022-12-05 16:33:33 -06:00
Miguel de la Cruz
9fac8f476e
Revert dnd (#4294)
* Revert "Fixed bug where boards would move to category of a different team (#4284)"

This reverts commit e075f408d3.

* Revert "Merge branch 'main' into only-explicit-boards-on-default-category"

This reverts commit 7db7e56296, reversing
changes made to 3feda10b6d.

* Revert "DND support for category and boards in LHS (#3964)"

This reverts commit 9918a0b3f8.
2022-12-05 15:03:34 -05:00
Shivashis Padhi
35f681dd75
Change activeUsers field type to []string (#3909)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-12-05 17:20:15 +05:30
Paul Esch-Laurent
88abeb89ee wip: todos 2022-12-02 10:56:54 -06:00
Paul Esch-Laurent
c4de1b9250 wip 2022-12-02 10:40:48 -06:00
Rajat Dabade
6674402079
File attachment in the card (#4053)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-24 17:16:59 +05:30
Harshil Sharma
9918a0b3f8
DND support for category and boards in LHS (#3964)
* WIP

* WIP

* Removed unused webapp util

* Added server tests

* Lint fix

* Updating existing tests

* Updating existing tests

* Updating existing tests

* Fixing existing tests

* Fixing existing tests

* Fixing existing tests

* WIP

* Added category sort order migration

* Added logic to set new category on top

* Implemented api, WS listein logic remining

* finished webapp implementation

* Added category type and tests

* updated tests

* Fixed integration test

* type fix

* WIP

* implemented boards DND to other category and in same category

* removed seconds from boards name

* wip

* debugging cy test

* Enabled hiding views list while DNDing

* Removed some debug logs

* Fixed a bug preventing users from collapsing boards category

* WIP

* Debugging cypress test

* CI

* debugging cy test

* Testing a fix

* reverting test fix

* Handled personal server

* WIP

* WIP

* Adding support for building with esbuild

* Using different index.html templates for esbuild

* WIP

* WIP

* Fixed delete category and rename category

* WIP

* WIP

* Finally, its done.

* Adde suppor tot update board-category mapping in bulk

* Fixed a bug where create category option didn't show up on default category

* Fixed bug where new board was added as last board in Boards category instead of first board

* Minor cleanup

* WIP

* Added support to drab boards onto collapsed categories

* Fixed route order from specific to generic

* Fix linter

* Updated existin server tests

* fixed integration tests

* Fixed webapp test err

* Removed accidental dependencies

* Adding  new server tests

* Finished server tests

* added api to client.go

* Added API integration test

* Fixed existing webapp tests

* WIP

* WIP

* WIP

* WIP

* WIP

* Fixed missing paranthesis

* Some cleanup

* fixed server lint

* noopped down migration

* Fixed issue with DND not working great with newly added category

* Fixed a test

* Fixed a test

* Fixed a test

* Fixed console error while DNDing

* pakg lock restore

* Fixed missing react beautiful dnd in package.lock.json

* updated snapshots

* Fixed webapp test

* Review fixes

* Added API permission check

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2022-11-24 15:31:32 +05:30