Jesse Hallam
6496c7735e
stop logging errors for api error responses
...
From a cursory glance, when a real error occurs, we already log
something at the application layer, so there's no reason to echo every
api error response as an error log too. Errors should be actionable, but
these logs were not, e.g.:
> access denied to templates
or:
> category ID specified in input does not exist for user
2024-07-04 12:16:52 -03:00
maria.nunez
94e5ff5393
Update to version 8.0
2024-06-10 12:41:40 -04:00
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
Scott Bishel
e6b67af8b1
update version v7.12.0 ( #4814 )
2023-07-21 18:57:10 +02:00
Scott Bishel
9901557d99
update minimum dependencies ( #4811 )
...
* update minimum dependencies
* update minimum dependencies
2023-07-21 10:27:13 +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
Scott Bishel
a745c29cb1
update version to v7.11.1 ( #4797 )
2023-07-10 09:46:55 -06: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
625526c3e7
Updates import to read with a scanner ( #4788 )
...
* Updates import to read with a scanner
* Fix linter
2023-06-22 11:31:08 +02:00
Scott Bishel
343b7bdc4b
check 'path' for 'empty' as well ( #4785 )
2023-06-20 11:36:13 +02: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
Scott Bishel
888c169910
Backport fixes for import/export attachments and fixes ( #4741 )
...
* Backport fixes for import/export attachments and fixes
* fix bad merge
* lint fixes
* Update server/app/boards.go
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
---------
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
2023-05-22 10:31:24 -06:00
Scott Bishel
b7d94a8fe2
update to version v7.11.0 ( #4742 )
2023-05-22 13:11:06 +02:00
Scott Bishel
d10e4070ba
Fix public boards setting not applying properly ( #4739 )
2023-05-11 08:06:06 -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
Doug Lauder
2b9eec1bec
Avoid panic in file request handler on error ( #4693 )
...
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-03 17:43:58 -04:00
Harshil Sharma
2634924150
Cherrypicking 22606 to old focalboard ( #4673 )
2023-03-30 10:50:50 +02:00
Scott Bishel
0192ef6f3f
only send category updates to user ( #4672 )
...
* only send category updates to user
* remove unused function
* Revert "remove unused function"
This reverts commit 8c4fc9b2002635ea13c73cde31fb32845eca8cb2.
* remove unused function
* fix test
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-29 16:27:18 -06: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
Scott Bishel
d8e1fb4832
copy safe writeFileResponse into personal server/desktop ( #4654 )
...
* copy safe writeFileResponse into personal server/desktop
* lint fix
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-03-22 13:28:23 -06:00
Scott Bishel
64f4684564
Merge pull request #4614 from mattermost/deduplicate_category_boards
...
Deduplicate category boards
2023-03-09 08:11:38 -07:00
Scott Bishel
3a9f0fed7e
Merge pull request #4620 from mattermost/MM-51062-fix-api
...
check permissions to channel before patching via api
2023-03-09 07:49:13 -07: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
Scott Bishel
184250018a
Merge pull request #4623 from mattermost/update-version-7.10.0
...
update version to v7.10.0
2023-03-08 13:50:31 -07:00
Scott Bishel
dda3b8f13a
lint fixes
2023-03-07 11:01:52 -07:00
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
Scott Bishel
5ac5eadbee
adding a successful test
2023-03-06 15:10:58 -07:00
Scott Bishel
fe29ec8826
check permissions to channel before patching via api
2023-03-06 12:26:39 -07:00
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
Scott Bishel
c01776e92a
update version to v7.10.0
2023-03-02 16:35:51 -07:00
Scott Bishel
f88ee1ece3
Fix for users adding board links to Read-only channels ( #4581 )
...
* initial commit for channel permissions
* add test
* check for write post when returning channels
* lint fix
* fix test
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-22 14:55:13 -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
Rajat Dabade
5a89960b64
Fixed duplicate attachment in board template ( #4444 )
...
* Fixed duplicate attachment in board template
* Linter fixes
* Duplicate attachment fix
* Code optimismed
* Linter fixes
* Updated test cases
* update some error handling, update attachments on duplicate card
* Fixed attachment section width
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2023-02-09 12:50:44 +05:30
Rajat Dabade
c91a67fbe6
Used Shared resource from MM-server for attachment serving ( #4542 )
...
* Used Shared resource for File Handling
* Making use of shared attachment serve functionality
* Added license
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-08 20:44:28 -07:00
Harshil Sharma
06984c7856
Added check for to-be-added user into team ( #4515 )
...
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-02-07 09:09:26 +05:30
Scott Bishel
acec7f0f40
Merge pull request #4545 from mattermost/version-update-7.9.0
...
Update version to 7.9.0
2023-02-03 08:15:43 -07: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
Scott Bishel
c8fd8c31c0
update version to 7.9.0
2023-02-02 15:43:49 -07:00
Julien Tant
61563daabd
Merge pull request #4541 from mattermost/work-template-insurance
2023-02-02 11:45:38 -07:00