Commit graph

1472 commits

Author SHA1 Message Date
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
Justine Geffen
1349e3b50b
Update _index.md (#573)
* Update _index.md

Added install steps, light formatting changes.

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

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

* Update _index.md

Removed "Enabling Focalboard" as it's been moved to a different section.
2021-06-21 16:11:05 +02:00
Miguel de la Cruz
fd9be03445
Use path.Join in plugin's webpath property (#610)
* Use path.Join in plugin's webpath property

* Update mattermost-plugin/server/plugin.go

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

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-06-21 12:08:33 +02:00
Harshil Sharma
67df905a42
Fixed issue with dropdown background being height-limited (#594)
* Fixed issue with dropdown background being height-limited

* Fixed height issue in a better way
2021-06-21 11:56:48 +02:00
Colton Shaw
cc06e0ff93
Updated lanquage selectors and fixed traditional chinese (#598)
* Updated lanquage selectors and fixed traditional chinese

#448 

- Modified the language selectors to remain the base language regardless of the translation.
- Traditional Chinese also had the wrong code and the name/code swapped.

* Removed the split on `-`

This was causing an issue with Chinese traditional / simplified.

* Updated supported lanquages for chinese

removed `zh` and replaced it with `zh-cn`. Modified the supported languages to match the `navigator.language` for chinese.

* Updated chinese lanquage codes

Updated the Chinese language codes to match the rest of the language codes.

* Fixing snapshots and fixing a deprecation problem

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-06-21 11:51:11 +02:00
Jesús Espino
8e6a71a028
Render react-select elements only on demand (#607)
* Render react-select elements only on demand

* Reverting unneded change

* Updating snapshots

* Fixing css inconsistencies

* Fix another tiny bug on mutil-select readonly view

* Updating snapshots
2021-06-21 11:24:26 +02:00
Weblate (bot)
a6f2c52a07
Translations update from Weblate (#608)
* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (174 of 174 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Hyia丶 <grsky360@live.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hant/
Translation: Focalboard/webapp

* Translated using Weblate (Swedish)

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
Translation: Focalboard/webapp

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: Pedro Tashima <pedrotashima42@gmail.com>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pt_BR/
Translation: Focalboard/webapp

* Translated using Weblate (Catalan)

Currently translated at 100.0% (174 of 174 strings)

Translated using Weblate (Spanish)

Currently translated at 78.7% (137 of 174 strings)

Added translation using Weblate (Catalan)

Co-authored-by: Adrià Tarroja Caubet <atarroja@kopen.es>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ca/
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/es/
Translation: Focalboard/webapp

Co-authored-by: Hyia丶 <grsky360@live.com>
Co-authored-by: MArtin Johnson <martinjohnson@bahnhof.se>
Co-authored-by: Pedro Tashima <pedrotashima42@gmail.com>
Co-authored-by: Adrià Tarroja Caubet <atarroja@kopen.es>
2021-06-21 11:24:12 +02:00
Miguel de la Cruz
bf18d39242
Fixes web files not found when plugin directory is custom (#609) 2021-06-21 11:22:58 +02:00
Doug Lauder
66975bdfe9
First pass linter cleanup (#603)
* first pass linter cleanup

* address review comments
2021-06-21 11:21:42 +02:00
Miguel de la Cruz
c4154cd2dd
Adds a link to the setup docs on the plugin's config header section (#582) 2021-06-21 10:13:15 +02:00
prakharporwal
e4fbd2aed5
Solved #387 Bug: Comment box doesn't clear after sending (#547)
Co-authored-by: prakharporwal <prakharporwal99@gmail.com>
2021-06-21 10:28:57 +05:30
Chen-I Lim
81192418d6 Website: Mattermost release, url update 2021-06-18 11:17:42 -07:00
Chen-I Lim
9fd20ccb2c Website: Update upgrade version url 2021-06-18 09:43:53 -07:00
ctlaltdieliet
f990d2efb3
Updated download link to 0.7.0 (#595) 2021-06-18 09:38:50 -07:00
Jesús Espino
c004c7c86d Migrating some icons to Compass icons 2021-06-18 18:08:15 +02:00
Scott Bishel
967e6e8078
Table unit tests (#554)
* update to useIntl()

* update to useIntl()

* implement unit tests for ./components/table/*

* fix lint

* update for useIntl()

* remove comments
2021-06-18 08:52:36 -06:00
Jesús Espino
d7442739b5 Fixing MM-36062 another detail 2021-06-18 16:47:12 +02:00
Doug Lauder
edc3eb7e8f
Refactor App lifecycle (#590)
* remove Server dep from App

* remove appbuilder
2021-06-18 16:03:42 +02:00
Doug Lauder
ddfae3266a
rename logger & audit config (#591) 2021-06-18 16:01:36 +02:00
Doug Lauder
d5096379de
Remove enterprise symlink (#589)
* fix make

* remove enterprise server build from make

* remove enterprise ifaces

* update .gitignore
2021-06-18 07:48:01 +02:00
Harshil Sharma
737975f7bf
Fixed horizontal scroll issue with table view (#586) 2021-06-18 11:12:03 +05:30
Harshil Sharma
b4be4041d5
Added build sttaus badge to readme (#588) 2021-06-18 11:11:28 +05:30
Chen-I Lim
d7c5825c02 Website: Instructions to install latest plugin 2021-06-17 10:38:48 -07:00