1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-03 08:45:40 +02:00
Commit Graph

1594 Commits

Author SHA1 Message Date
Chen-I Lim
73225e959b Merge release-0.8.0 2021-07-16 10:30:45 -07:00
Jesús Espino
ee94e17f16
Add global templates to redux store (#731)
* Add global templates to redux store

* Removing unused import

* Remove unnecesary reducer

* Fixing eslint
2021-07-16 13:37:46 +02:00
Jesús Espino
e988812ccb
Removing the forceRefresh from the router (#732)
* Removing the forceRefresh from the router

* Fix eslint
2021-07-16 12:46:27 +02:00
kamre
b2346fcacf
Use cross-env instead of win-node-env (#656)
* File `package-lock.json` updated.

* Use `cross-env` for setting environment variables in npm scripts.

* Remove all the mentions of `win-node-env` because it is no longer needed for running npm scripts.

Co-authored-by: Chen-I Lim <46905241+chenilim@users.noreply.github.com>
2021-07-15 19:30:22 -07:00
Chen-I Lim
70bdf41f28 Merge branch 'main' of github.com:mattermost/focalboard 2021-07-15 13:55:51 -07:00
Chen-I Lim
155f703ac8 Website: Improve NGINX and DB setup docs 2021-07-15 13:55:46 -07:00
Doug Lauder
f317574a6d
add mlog package to stack filter list (#717) 2021-07-15 11:42:53 -04:00
Hossein
2ea4a85495
Description Section of Card can now Have Columns (#637)
* Grid Layout

* add margin

* add margin

* more work

* fix linting

* fix alignment

* update viewing

* fix editing

* wip

* some wip fix

* fix stuff

* fix linting

* fix type errors

* fix render of image

* fixl inting

* fix tests

* fix linting

* fix tests

* fix eslint

* remove ref

* fix colIndex

* address PR comments

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-15 10:38:12 -04:00
Jesús Espino
d6f760b06b
Sample using @reduxjs/toolkit (#646)
* Sample using @reduxjs/toolkit

* Some improvements related to typescript in the store

* Adding some extra data to the redux store

* Moving the workspace users into redux store

* Wrapping the language into the redux store

* Fix some wrong names

* Fixing typos

* Removing unused imports

* Removing unnecesary users context

* Fixing eslint error

* Fixing memory leak on tests

* Always using the redux store for workspace users

* Fix eslint

* Addressing PR review comments

* Fixing cypress tests

* Fixing cypress tests (second try)

* Fixing cypress tests (third try)
2021-07-14 21:22:40 +02:00
Doug Lauder
a0524dd386
Lint server & plugin for CI (#720)
* enable CI linting for server and plugin
* replace `golint` (deprecated) with `revive`
* use GH actions for lint
2021-07-14 09:36:18 -04:00
Harshil Sharma
7817958aa9
Fixed table row height (#723) 2021-07-14 11:12:25 +05:30
Jesús Espino
52062d452d
Remove showView and showBoard property drilling and migrate centerPanel to functional component (#649)
* Remove showView and showBoard property drilling and migrate centerPanel to functional component

* Make this backward compatible

* Fixing linter warnings

* Fixing call

* Fixing typescript types

* Addressing PR review comments

* Fixing cypress tests
2021-07-13 13:42:05 +02:00
Weblate (bot)
b791f288f1
Translations update from Weblate (#709)
* Translated using Weblate (Occitan)

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/oc/
Translation: Focalboard/webapp

* Translated using Weblate (Dutch)

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
Translation: Focalboard/webapp

* Translated using Weblate (Turkish)

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
Translation: Focalboard/webapp

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: aeomin <lin@aeomin.net>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translation: Focalboard/webapp

* Translated using Weblate (German)

Currently translated at 99.4% (173 of 174 strings)

Co-authored-by: Saalbuerger <janosch@famloehr.de>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

Co-authored-by: Quentin PAGÈS <quentinantonin@free.fr>
Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Co-authored-by: aeomin <lin@aeomin.net>
Co-authored-by: Saalbuerger <janosch@famloehr.de>
2021-07-12 10:01:59 +02:00
Chen-I Lim
eddbe7ad9a Update plugin min_server_version to 5.37 2021-07-09 11:34:18 -07:00
Chen-I Lim
1b45e16e52 Update to v0.8.0 2021-07-09 09:36:57 -07:00
Carlos Tadeu Panato Junior
4b1136900d
add codeowners to make the PR auto assignment to work (#697) 2021-07-09 13:25:01 +02:00
Doug Lauder
0dec704ddc
fix linter errors in plugin (#696) 2021-07-09 12:59:44 +02:00
Harshil Sharma
74cf28fee5
Added missed test (#695)
* Fixed missing errors

* Used missed test
2021-07-09 00:36:50 -04:00
Harshil Sharma
e0ccfb90e7
Fixed missing errors (#694) 2021-07-09 09:11:54 +05:30
Doug Lauder
ebd477464b
fix remaining golangci linter warnings (#686)
* fix remaining linter warnings
2021-07-08 21:09:02 -04:00
Chen-I Lim
0531d2eefc Update changelog 2021-07-08 11:16:01 -07:00
Harshil Sharma
e0ec1c03e0
New Props: Created By, Created At, Updated By, Updated At (#583)
* Added create_at column for blocks

* Populating created by

* Added logic for storing created by

* Added GetBlock by ID to store interface

* Added creayed by and modified by properties

* Added created by and modified by properties

* Added lastmodifiedat property

* Fixed existing webapp test

* Added webapp unit tests

* Added webapp unit tests

* Added webapp unit tests

* Adding server test

* Added server tests

* Fixed a bug causing created by to be set empty

* Avodining timezone specific test behavior

* Made cypress viewport bigger to avoid out-of-viewoport issues in multiple tests

* Removed a leftover comment

* Added updated at/by in table view

* Added updated at in card view

* Fixing sort

* Fixed sorting of updated by

* Fixed existing tests

* Added table tests

* Added cardTree fix

* Fixed tests

* Removed unused import

* Update snapshots

* Added a tamper attempt test

* Removed some leftover debug code

* Removed sending creator from client

* Fixed lint error

* Fixed a build issue

* Avoided setting insert query params multiple times

* Multiple minor review fixes

* Fixed test
2021-07-08 20:06:43 +05:30
darkLord19
16708e93cd
add user setting for preferred date format (#666)
* add user setting for preferred date format

* set date format value to local storage

* use user preferred date format to display dates

* use object destructuring

* fix tests and lint
2021-07-08 12:17:09 +05:30
kamre
5e945b5c6f
Minor improvements for VSCode: (#675)
- chrome launch configuration for webapp added,
  - include `*.tsx` files in `tsconfig.json` so that jest tests inside `*.tsx` files don't show errors about not found jest functions
2021-07-08 12:08:00 +05:30
kamre
f6746d8b32
Change dragged cards order in the active view when they are dropped to column. (#671) 2021-07-08 12:03:40 +05:30
Harshil Sharma
f01add651c
Fixed issue where color panel git cut off in value selector (#664) 2021-07-08 10:06:29 +05:30
ditsemto
5b82dfda4b
GH-629 - Property Popover in Kanban view (#643) 2021-07-07 01:46:37 -04:00
Miguel de la Cruz
4328375324
Prevent plugin from crashing if SiteURL is not set (#677)
* Prevent plugin from crashing if SiteURL is not set

* Change default baseURL to be . instead of empty string

* Revert "Change default baseURL to be . instead of empty string"

This reverts commit cceb380167.
2021-07-07 10:13:06 +05:30
Doug Lauder
6e214ebc3d
Ensure all code paths close *sql.Rows (#679)
* ensure all code paths close *sql.Rows
2021-07-06 16:44:11 -04:00
Jesús Espino
702b4b1061
Only allowing valid color classes (#665)
* Only allowing valid color classes

* Simplifying the menuColors map and addressing some PR review comments

* Fixing type problems

* Fixing color

* Fixing snapshots
2021-07-06 19:53:54 +02:00
James
fde98f230e
Upgraded links in plugin files to point to the focalboard repository since the older 'mattermost-plugin-focalboard' repository return a 404 error - also, generalized release notes URL (#669) 2021-07-06 19:45:51 +02:00
ctlaltdieliet
71fe928dd2
Adding MySQL to the documentation (#515)
* Update _index.md

* Adding Mysql to Ubuntu.md and Personal Server configuration

* Update website/site/content/guide/admin/_index.md

Co-authored-by: Jesús Espino <jespinog@gmail.com>

* removed typo 

Unneeded 16)

* Fixing error

* Update _index.md

In-doc editing for formatting and style.

* Update website/site/content/download/personal-edition/ubuntu.md

LGTM

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update website/site/content/download/personal-edition/ubuntu.md

LGTM

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update website/site/content/download/personal-edition/ubuntu.md

LGTM

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update website/site/content/download/personal-edition/ubuntu.md

LGTM

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* Update website/site/content/download/personal-edition/ubuntu.md

Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>

* replacing <pre>

replacing <pre> with ```

* Removed the last <pre>

Thank you @jespino for noticing the last <pre>

* Update ubuntu.md

Reviewed the code samples and added additional backticks. Also added linebreaks.

* Update _index.md

Minor addition: oxford comma in table.

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Jesús Espino <jespinog@gmail.com>
Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
2021-07-06 19:21:43 +02:00
Arvin
7d1a4f1393
feat: open card after duplicate (#674)
Co-authored-by: arvinWahyoo <arvin@wahyoo.com>
2021-07-06 10:00:25 +02:00
Weblate (bot)
766668ea82
Translated using Weblate (Japanese) (#676)
Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
Translation: Focalboard/webapp

Co-authored-by: kaakaa <stooner.hoe@gmail.com>
2021-07-06 09:18:53 +02:00
Jesús Espino
bb7867c2cb Configuring the logs by default in the plugin 2021-07-02 18:07:30 +02:00
Chen-I Lim
7ad24e6b1d Add workflow_dispatch to dev_release workflow - fix yml 2021-07-01 09:41:57 -07:00
Chen-I Lim
0a1de477e8 Add workflow_dispatch to dev-release workflow 2021-07-01 09:38:48 -07:00
Carlos Tadeu Panato Junior
41d01c18fb
docker: fix docker file image and apply some good practices (#552)
* docker: fix docker file image and apply some good practices

* update docker-compose
2021-07-01 11:46:03 +02:00
Jesús Espino
0811052a9b Fixing workspace title generation 2021-07-01 11:29:12 +02:00
Harshil Sharma
1020c03924
Prevented concurrent writes to websocket (#658)
* retained individual connection objects

* unlocking lock in defer

* Completely abstracted internal connection object

* Completely removed direct use of WS connection
2021-07-01 08:11:29 +02:00
kamre
ba69c8b083
Cypress test for hiding and showing the sidebar with active board added: (#659)
- active board is essential because it can cover the show  button,
  - presence of sidebar heading is used to check if sidebar is visible.
2021-07-01 09:27:46 +05:30
kamre
6cd5003a7a
Don't change visibility of MenuWrapper when hover state changes. (#653) 2021-06-30 17:14:51 +05:30
Weblate (bot)
0a0071bc11
Translated using Weblate (Turkish) (#642)
Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
Translation: Focalboard/webapp

Co-authored-by: Kaya Zeren <kayazeren@gmail.com>
2021-06-28 09:19:26 +02:00
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
Harshil Sharma
4f875a78d2
Fixed sxerver linter command (#617) 2021-06-24 10:28:01 +05:30
Harshil Sharma
0b38fc4f98
Fixed sorting icons (#611) 2021-06-23 13:43:41 +05:30
Scott Bishel
1021b199a8
update z-index on sidebar (#614) 2021-06-23 13:42:19 +05:30
Scott Bishel
c86d9b9ff5
fix double slash on buildURL (#615) 2021-06-22 09:26:00 -06:00
Stavros Foteinopoulos
1f7470aca7
Expose 9092 port on docker container (#517)
If this commit merged focalboard helm chart would be able to implement a metrics endpoint.
2021-06-22 11:08:16 +03:00
rohit1101
1f762b238a
GH-364 Automatically open new card for editing (#571)
* Make prebuild commit

* Implement open card by default on +New click in Board and Gallery View

* Remove horizontal scrollbar sidebar when options icon on click

* revert changes in package-lock.json
2021-06-21 17:50:21 +02:00