Skip to content

Commit

Permalink
[MM-58805]: Remove Standalone code part - 1 (#2)
Browse files Browse the repository at this point in the history
* refactor: isPlugin for API level

* chore: removed GetContextConn as it is not required

* chore: clean up api.go removed none required function

* chore: removed commented code

* refactor: removed the admin as its no log required

* refactor: removed handlePostTeamRegenerateSignupToken as not used anymore

* refactor: updated make file rules

* refactor: removed isGuest code

* refactor: removed auth login password changepassword code

* chore: linter fixes

* refactor: removed user login register code

* chore: linter fixes

* refactor: removed auth layer

* refactor: removed isSingle user checks

* chore: removed debugging logs

* chore: removed debugging logs

* revert: isGuestUser check

* Deprecate standalone SQL store level (#4)

* 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

* MM-59356: Fixing testcase for webapp and server (#6)

* 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

* [MM-59349]: Getting Rid of Mattermost Auth layer (#10)

* 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

* [MM-59824]: Removed website code. (#12)

* MM-59294: Workflow updated and release process (#7)

* 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

* From `focalboard` to `board` to generate tar bundle (#14)

* refactor: changed name for generating tar

* refactor: changed from board to boards

* refactor: changed the folder name from board to boards

* fix: ci issue

* chore: ci fix

* chore: ci fix

* minor fix
  • Loading branch information
Rajat-Dabade authored Jul 30, 2024
1 parent 62495d9 commit 8b7b5b0
Show file tree
Hide file tree
Showing 327 changed files with 19,658 additions and 19,253 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Check-in tests

on:
push:
branches:
- 'main'
- 'releases-**'
pull_request:
workflow_dispatch:

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
EXCLUDE_ENTERPRISE: true

jobs:
webapp-test:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: "focalboard"
- name: npm ci
run: |
cd focalboard/webapp && npm ci
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.11.0

- name: Lint & test webapp
run: cd focalboard; make webapp-ci

- name: set up golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.0

- name: Lint & test server
run: cd focalboard; make server-ci
67 changes: 0 additions & 67 deletions .github/workflows/dev-release.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/workflows/prod-release.yml

This file was deleted.

29 changes: 3 additions & 26 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,10 @@ pids
go.work
go.work.sum

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
Expand All @@ -43,36 +35,21 @@ build/Release

# Dependency directory
# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
node_modules
webapp/node_modules
webapp/dist
webapp/pack
dist
pack
package
bin
debug
__debug_bin
files
octo*.db
focalboard*.db
*.boardarchive
.eslintcache
.vscode/settings.json
# config.json is copied from app-config.json in the Makefile
mac/resources/config.json
mac/temp
mac/dist
mac/*.xcodeproj/**/xcuserdata
linux/bin
linux/dist
linux/temp
win/temp
win/dist
webapp/cypress/screenshots
webapp/cypress/videos
server/swagger/clients
server/vendor
.idea
docker/certs
docker/data
server/**/*.coverage
./dist
./vendor
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 8b7b5b0

Please sign in to comment.