* 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>
* 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>
* Used Shared resource for File Handling
* Making use of shared attachment serve functionality
* Added license
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
* 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>
* 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
* 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.
* 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>
* Working in the new content block editor
* Moving blocksEditor content block into its own component
* Initial integration with quick development flow
* More WIP
* Adding drag and drop support with server side help
* Some extra work around the styles
* Adding image support
* Adding video and attachments, and fixing edit
* Putting everything behind a feature flag
* Adding support for download attachments
* Fixing compilation error
* Fixing linter errors
* Fixing javascript tests
* Fixing a typescript error
* Moving the move block to an action with undo support
* Fixing ci
* Fixing post merge errors
* Moving to more specific content-blocks api
* Apply suggestions from code review
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
* Fixing the behavior of certain blocks
* Fixing linter error
* Fixing javascript linter errors
* Adding permission testing for the new move content block api
* Adding some unit tests
* Improving a bit the tests
* Adding more unit tests to the backend
* Fixed PR suggestion
* Adding h1, h2 and h3 tests
* Adding image tests
* Adding video tests
* Adding attachment tests
* Adding quote block tests
* Adding divider tests
* Adding checkbox tests
* Adding list item block tests
* Adding text block tests
* Reorganizing a bit the code to support deveditor eagain
* Fixing dark theme on editor view
* Fixing linter errors
* Fixing tests and removing unneeded data-testid
* Adding root input tests
* Fixing some merge problems
* Fixing text/text.test.tsx test
* Adding more unit tests to the blocks editor
* Fix linter error
* Adding blocksEditor tests
* Fixing linter errors
* Adding tests for blockContent
* Update webapp/src/components/blocksEditor/blockContent.test.tsx
Fix linter warning
* Update webapp/src/components/blocksEditor/blockContent.test.tsx
Fix linter warning
* Update webapp/src/components/blocksEditor/blockContent.test.tsx
Fix linter error
* Fixing test
* Removing unneeded TODO
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
* 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
* Added category type and tests
* updated tests
* Fixed integration test
* type fix
* removed seconds from boards name
* wip
* debugging cy test
* Fixed a bug preventing users from collapsing boards category
* Debugging cypress test
* CI
* debugging cy test
* Testing a fix
* reverting test fix
* Handled personal server
* Fixed a case for personal server
* fixed a test
* retrieve all team members for specific lists
* retrieve all team members for specific lists
* final fixes
* update to use enum
* unit test fixes
* lint fixes
* fix integration test
* fixup integration test
* fix issues with making board private
* update to make webapp and server enums match
* fix to add member in correct role
* remove unnecessary property, check Open/Private board
* cleanup confirm for non admin
* some final cleanup
* move default to webapp
* only allow greater roles in drop down, change property name to minimumRole
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* Refactor error usage from the store level up and add API helpers
* Complete API tests
* Fix merge errorResponse calls
* Remove ensure helpers to allow for custom messages on permission errors
* Fix bad import and call
* Remove bad user check on auth that was added as part of the main merge
* Fix empty list test
* Replace deprecated proxy calls to ioutil.ReadAll with io.ReadAll
* Add information to the NotFound errors
* Add context to all remaining errors and address review comments
* Fix linter
* Adapt the new card API endpoints to the error refactor
* Remove almost all customErrorResponse calls
* Add request entity too large to errorResponse and remove customErrorResponse
* Fix linter
* fix: filter out bots for sharing and @mention-ing
* feat: add `?exclude_bots` to `getTeamUsers` API
* chore: `make swagger`
* chore: `make generate`
* fix: plugin store test function implementation
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
* cards apis wip
* create card API
* validate cards when creating
* create card fixes
* patch card wip
* wip
* unit test for createCard; CardPatch2BlockPatch
* unit test for PatchCard
* more APIs
* unit tests for GetCardByID
* register GetCard API
* Set FOCALBOARD_UNIT_TESTING for integration tests
* integration tests for CreateCard
* more integration tests for CreateCard
* integtration tests for PatchCard
* fix integration tests for PatchCard
* integration tests for GetCard
* GetCards API wip
* fix merge conflict
* GetCards API and unit tests
* fix linter issues
* fix flaky unit test for mySQL
* Update server/api/api.go
Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>
* Update server/api/api.go
Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>
* address review comments
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>