* Added getWorkspaceUsers API
* Integrated workspace user API in UI
* Integrated workspace user API in UI
* Added toto for implementation slot
* Implemenmted getWorkspaceUSers to get data from Focalboard DB
* Updated store mocks
* Made select styles a shared constant
* Removed unwanted diffs
* Removed unwanted diffs
* Updated snapshots for new property type
* Added user store test
* Added missing copyright notice
* Returning error if no users found to retain original behavior
* Minor fixes and added tests
* Minor fixes
* Used React context for workspace users
* Used useContext hook, and added additional user ID -> user context to avoid that computation by all componnets
* Mergerd both workspace user contextx
* Minor review fix
- structured, asynchronous logging
- supports discreet log levels, including custom levels
- supports output to console, files, and all common log aggregators.
- supports JSON, plain text and GELF formats
- lazy formatting and writing
* Improving mattermost auth implementation
* Making mattermost-auth based on shared database access
* Reverting unneeded changes in the config.json file
* Fixing tiny problems
* Removing the need of using the mattermost session token
* Fixing some bugs and allowing to not-bind the server to any port
* Small fix to correctly get the templates
* Adding the mattermost-plugin code inside focalboard repo
* Adding a not working code part of the cluster websocket communication
* Updating the mattermost version
* Adding the cluster messages for the websockets
* Updating to the new node version
* Making it compatible with S3
* Addressing some tiny problems
* Fixing server tests
* Adds support for MySQL migrations and initialization
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
As an SRE team we would like to expose standard metrics and grouped by version
of the application. Right now will expose only metrics related to Go but instrumentor
should be used in other parts of the codebase so we can track other metrics, eg.
number of tasks, boards, users etc. Similar as we do in MM.
It will run in port `localhost:9092` and it is a new config `prometheus_address`.
Also in the commit we introduced, `group.Add` which helps us to handle gracefully
errors for goroutines. It's a good practice and there are couple of articles by
Golang for this.
* Adding mysql support
* Fixing other test cases
* Tests passing on mysql
* Fix the row number generation
* Adding blocks_history table
* merging the migrations in one single set of files
* Passing mysql tests
* Fixing default encoding on mysql
* Simplifying things
* Removing from the blocks table all deleted blocks
* Better indentation
* Moving db types to constants to make it less error prone
* reducing duplicated code
* Removing log line
* Now sql tests are running properly in mysql, sqlite and postgres
* Addining subpath support
* Fixing a subpath problem in suburls
* Using the server root for allow subpaths
* Fixing baseURL variable name
* Some improvements
* Making it work in mattermost plugin
* Fixing eslint warnings
* Fixing cypress tests