Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MM-58805]: Remove Standalone code part - 1 #2

Merged
merged 27 commits into from
Jul 30, 2024
Merged

Conversation

Rajat-Dabade
Copy link
Contributor

@Rajat-Dabade Rajat-Dabade commented Jun 27, 2024

The PR mainly focus on removing standalone code which include

  • isPlugin
  • isSingleUser

@Rajat-Dabade Rajat-Dabade self-assigned this Jun 28, 2024
@@ -154,6 +154,14 @@ endif

@echo plugin built at: dist/$(BUNDLE_NAME)

info: ## Display build information
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was only added for debugging purposes. Will remove this after the plugin becomes stable.
Created the issue to track this down: #3

@Rajat-Dabade Rajat-Dabade changed the title [MM-58805]: Remove Standalone code [MM-58805]: Remove Standalone code part - 1 Jun 28, 2024
@Rajat-Dabade Rajat-Dabade added 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester Do Not Merge Should not be merged until this label is removed Do Not Merge/Awaiting PR Awaiting another pull request before merging (e.g. server changes) and removed Do Not Merge Should not be merged until this label is removed labels Jul 2, 2024
@marianunez marianunez requested a review from sbishel July 2, 2024 13:11
Copy link
Member

@harshilsharma63 harshilsharma63 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look fine overall but we need to keep those guest user checks as they are still needed in plugin. For example, a guest user in Mattermost shouldn't be allowed to access all the templates.

server/api/archive.go Outdated Show resolved Hide resolved
server/api/archive.go Show resolved Hide resolved
Copy link
Member

@harshilsharma63 harshilsharma63 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀 🚀 🚀

Copy link
Member

@sbishel sbishel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I believe all the Cypress tests run in Standalone code. I don't see any updates for those here. So I would expect those to fail.

* refactor: removed the mattermost auth check

* refactor: removed standalone sql part of code

* refactor: removed not required function from store level

* refactor: removed session check for plugin

* refactor: removed the unnecessary test

* refactor: removed MattermostAuth

* Deperate isPlugin and isSingleUser part - 2 (#5)

* removed remaining singleUser and isPlugin code

* chore: linter fixes
* fix: webapp test cases

* refactor: added rules to makefile and added github workflow for testing

* chore: added ci github workflow

* chore: updated github flow for ci and typos

* chore: typefix

* refactor: added rule to install golangci lint

* chore: to trigger action

* fix: error in ci.yml

* refactor: updated rule

* refactor: fix linter issue
* refactor: get rid of mattermost auth layer

* chore: removed removeDuplicate from isboardsFromRow

* refactor: changed method to private'

* refactor: private method calls private method

* refactor: get license from server API
* refactor: updated workflow and Readme

* chore: added Contributing and security.md

* refactor: updated README and makefile with new release process

* refactor: updated the protected branch name

* refactor: readme

* refactor: updated README

* refactor: removed focalboard references

* refactor: updated README
* refactor: changed name for generating tar

* refactor: changed from board to boards

* refactor: changed the folder name from board to boards
@Rajat-Dabade Rajat-Dabade removed the Do Not Merge/Awaiting PR Awaiting another pull request before merging (e.g. server changes) label Jul 30, 2024
@Rajat-Dabade Rajat-Dabade merged commit 8b7b5b0 into main Jul 30, 2024
6 checks passed
@Rajat-Dabade Rajat-Dabade deleted the deprecate-isplugin branch July 30, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants