1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-03 08:45:40 +02:00
Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
Go to file
Agniva De Sarker 8e72b9c528
Add RPC API support to plugin (#619)
* Add RPC API support to plugin

We use the mattermost-plugin-api client to create the sql.DB object
and pass it to the store.

To keep a common point of entry for both the standalone server
and plugin, we refactor the store creation part out of server.New
and pass the DB as a dependency to the server constructor.

This allow us to create different stores in plugin and standalone,
so that the server code remains unaware of any differences.

https://focalboard-community.octo.mattermost.com/workspace/zyoahc9uapdn3xdptac6jb69ic?id=285b80a3-257d-41f6-8cf4-ed80ca9d92e5&v=495cdb4d-c13a-4992-8eb9-80cfee2819a4&c=c7386db7-65fd-469b-8bcf-8dc8f8e61e4f

* Support linux desktop app

* refactor

* fix typos

* Change authlayer to use existing DB conn too
2021-06-25 16:49:06 +02:00
.github Add the plugin build to prod-release 2021-06-10 16:29:27 -07:00
.vscode VSCode go.delveConfig settings 2021-03-19 09:41:03 -07:00
build Update MIT-COMPILED-LICENSE.md 2021-03-19 18:26:59 -07:00
docker Expose 9092 port on docker container (#517) 2021-06-22 11:08:16 +03:00
import npm audit fix (#405) 2021-05-13 16:17:07 -06:00
linux Add RPC API support to plugin (#619) 2021-06-25 16:49:06 +02:00
mac Mac: Update rate button text. 2021-06-15 15:11:24 -07:00
mattermost-plugin Add RPC API support to plugin (#619) 2021-06-25 16:49:06 +02:00
server Add RPC API support to plugin (#619) 2021-06-25 16:49:06 +02:00
webapp Fixed sorting icons (#611) 2021-06-23 13:43:41 +05:30
website Update _index.md (#573) 2021-06-21 16:11:05 +02:00
win-wpf windows: updates based on tests for gitlab (#546) 2021-06-09 12:03:19 +02:00
.editorconfig Adding initial coding style checking 2020-10-15 01:02:41 +02:00
.gitignore Remove enterprise symlink (#589) 2021-06-18 07:48:01 +02:00
.gitlab-ci.yml add variable to define the image (#581) 2021-06-15 14:00:05 +02:00
app-config.json Fix indentation 2021-02-10 10:13:04 -08:00
CHANGELOG.md Merge release-0.6.7 2021-05-24 09:59:30 -07:00
config.json rename logger & audit config (#591) 2021-06-18 16:01:36 +02:00
CONTRIBUTING.md Adding Documentation section to CONTRIBUTING.md 2021-03-20 03:27:28 -07:00
Dockerfile.build Add GitLab ci to build internally and bump go to 1.16 (#468) 2021-05-26 12:34:42 +02:00
LICENSE.txt License product name 2021-01-26 13:55:35 -08:00
Makefile Fixed sxerver linter command (#617) 2021-06-24 10:28:01 +05:30
NOTICE.txt Add webapp/NOTICE.txt 2021-01-27 12:03:39 -08:00
README.md Added build sttaus badge to readme (#588) 2021-06-18 11:11:28 +05:30
responsibile_disclosure_policy.md Adding responsible disclosure policy 2021-03-05 05:38:21 -08:00
server-config.json Enable prometheus metrics for Focalboard to enable observability (#414) 2021-05-18 17:12:51 +03:00

Focalboard

CI Status Mac Build Ubuntu Build Windows Build CodeQL Dev Release Plugin Release Prod Release

Like what you see? 👀 Give us a GitHub Star!

Focalboard

Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.

It helps define, organize, track and manage work across individuals and teams. Focalboard comes in two editions:

  • Focalboard Personal Desktop: A stand-alone desktop app for your todos and personal projects. This is a single-tenant locally run server running Focalboard for optimal speed and performance.

  • Focalboard Personal Server: A self-hosted server for your team to collaborate.

The same MIT-licensed binary powers both desktop and server editions.

Try out Focalboard

Focalboard Personal Desktop (Windows, Mac or Linux Desktop)

Try out Focalboard Personal Desktop by going to the Windows Store or the Apple AppStore, searching for Focalboard and installing to run the compiled version locally.

If you're running a Linux Desktop, download the latest focalboard-linux.tar.gz release, unpack the .tar.gz archive, and open focalboard-app from the focalboard-app folder.

Note: For Windows and Mac users, while we don't yet offer Focalboard Personal Desktop outside of Store-based installs, it is in consideration for the future (please upvote the ticket if you're interested in this addition).

Focalboard Personal Server (Ubuntu)

You can download and run the compiled Focalboard Personal Server by following our latest install guide.

Download the latest server release from GitHub releases

Building the server

Please refer to the Developer's Tips & Tricks for more detailed steps. Here's a summary:

First, install basic dependencies:

  • Go 1.15+
  • Node 10+ and npm
  • Mingw64 on Windows
make prebuild
make

Running and testing the server

To start the server, run ./bin/focalboard-server

Server settings are in config.json.

Open a browser to http://localhost:8000 to start.

Building and running standalone desktop apps

You can build standalone apps that package the server to run locally against SQLite:

  • Mac:
    • make mac-app
    • run mac/dist/Focalboard.app
    • Requires: macOS Catalina (10.15)+, Xcode 12+.
  • Linux:
    • Install webgtk dependencies
      • sudo apt-get install libgtk-3-dev
      • sudo apt-get install libwebkit2gtk-4.0-dev
    • make linux-app
    • run linux/dist/focalboard-app
    • Tested with: Ubuntu 18.04
  • Windows:
    • Open a git-bash prompt
    • Install win-node-env npm install -g win-node-env
    • make win-wpf-app
    • run cd win-wpf/msix && focalboard.exe
    • Requires: Windows 10

Cross-compilation currently isn't fully supported, so please build on the appropriate platform. Refer to the GitHub Actions workflows (build-mac.yml, build-win.yml, build-ubuntu.yml) for the detailed list of steps on each platform.

Unit tests

Before checking-in commits, run: make ci, which is similar to the ci.yml workflow and includes:

  • Server unit tests: make server-test
  • Webapp eslint: cd webapp; npm run check
  • Webapp unit tests: cd webapp; npm run test
  • Webapp UI tests: cd webapp; npm run cypress:ci

Stay informed on progress

Share your feedback

File bugs, suggest features, join our forum, learn more here!

Contributing

Contribute code, bug reports, and ideas to the future of the Focalboard project. We welcome your input! Please see CONTRIBUTING.md for details on how to get involved.