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

414 Commits

Author SHA1 Message Date
Rajat Dabade
bfaa37fc24
[MM-59253]: Remove plugin code from focalboard repo (#5027)
* refactor: updated mysql docker image version

* refactor: removed isPlugin code from webapp

* refactor: removed isFocalboardPlugin from test

* refactor: removed package-lock.json from root

* removed unnecessary component

* nit: removed comments

* reverted the mysql docker version to original

* nit

* revert setting.json changes

* Removed `mattermost-plugin` folder (#5029)

* refactor: removed mattermost-plugin folder

* reverted the mysql image version

* Removed `mattermost-plugin` from make rules (#5030)

* removed mattermost-plugin from make rules

* removed: mattermost-plugin code from the repo

* updated snapshot and fix test (#5031)

* updated snapshot and fix test

* Updated snapshot and removed unnecessary tests

* chore: minor fix ci

* refactor: updated the mac-os version supported by github actions

* reverted: mac os version

* refactor: updated mac os version and also changed docker-compose to docker compose

* removed version from docker compose as no long needed

* reverted mysql docker version

* updated mysql version

* testing

* revert testing

* refactor: added version for mysql docker compose file

* test: test commit

* updated snapshot and fix test (#5032)

* removed mattermost-plugin from make rules

* removed: mattermost-plugin code from the repo

* updated snapshot and fix test

* Updated snapshot and removed unnecessary tests

* chore: minor fix ci

* refactor: removed isplugin code from server

* final attempt

* ci: Minor ci tweaks and upgrades

---------

Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>

* linter fixes

---------

Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
2024-08-28 22:16:15 +05:30
Rajat Dabade
c8e729b6fe
[Refactor]: updated dependency for focalboard server (#5009)
* refactor: updated dependency for focalboard server

* chore: more dependency fixes

* refactor: removed the unless code

* refactor: added ctx for login and removed unnessary code

* refactor: bump up go version

* refactor: removed the commented code

* chore: upgraded golinter version

* fix: linter issue

* refactor: removed feature flg fix golinter

* refactor: removed feature flag from code

* revert: statistic and it's function

* refactor: removed ProductLimit related code

* refactor: removed isWithinViewsLimit implementation

* refactor: moved function GetUsedCardsCount to statistics.go from cloud.go

* refactor: removed insight code board

* refactor: removed limit dialog

* refactor: updated dependencies for linux

* chore: golinter fix

* chore: updated helper test function to use newLogger

* fix: go test

* refactor: db ping attempts from config

* revert: feature in action

* revert: feature flag in action

* revert: boardsEditor setting

---------

Co-authored-by: Rajat Dabade <rajat@Rajats-MacBook-Pro.local>
2024-06-07 23:30:08 +05:30
Scott Bishel
134422df4d
MM-54366 Check guest access to other members (#4871)
* check guest access to other members

* lint fix
2023-09-25 08:19:53 -06:00
Elias Nahum
3625c53527
Sanitize user following config for ShowFullName and ShowEmailAddress (#4820) 2023-07-26 08:42:22 -04:00
Miguel de la Cruz
257cc5f1fd
Adds a database migration to restore the fileinfos that are deleted (#4815) 2023-07-21 19:42:29 +02:00
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