Commit graph

1511 commits

Author SHA1 Message Date
Harshil Sharma
04707a9298
Revert "fix cards not dragging sometimes (#772)" (#781)
This reverts commit 9195df65e5.
2021-07-26 12:18:32 +05:30
Hossein
9195df65e5
fix cards not dragging sometimes (#772)
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2021-07-26 10:42:19 +05:30
Harshil Sharma
e086888c7c
Fixed card drop to column not working (#754)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-26 10:41:39 +05:30
Chen-I Lim
3b11202e3d
InsertBlock per workspace logic (#777) 2021-07-24 08:08:25 -07:00
Chen-I Lim
7a85202830
Fix #757: Ignore invalid values in filter logic (#758) 2021-07-24 07:33:06 -07:00
Asaad Mahmood
c2519d435a
Gh 744 - Improving UI for share board popup and improving buttons (#765)
* Updating z-index and sidebar button

* Updating button css

* Updating emphasis class name

* Adding button text container

* Updating snapshots
2021-07-22 19:36:09 +05:00
Asaad Mahmood
64acecb1b0
GH-535 - Updating spacing for show/hide description (#767) 2021-07-22 18:53:48 +05:00
Asaad Mahmood
4d5c445141
GH-633 - Updating active indicator for boards (#766)
* GH-663 - Updating active indicator for boards

* Passed active view ID to sidebar component

* Updating view selected state

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-22 18:52:45 +05:00
dave
bafa32108d
[GH-428] Add unit tests for ./store/sqlstore/session.go (#729)
* fix can't delete session

* Add unit tests for  ./server/store/sqlstore/session.go

* fix ci lint complain

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-07-22 07:56:25 -04:00
Asaad Mahmood
7c2874081a
Issue 678 - Updating default dark theme label (#726) 2021-07-20 20:54:03 +05:00
jingkai
6df2dd93dd
fix: fixed user nobody not owning /data (#683)
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Carlos Tadeu Panato Junior <carlos@mattermost.com>
2021-07-20 15:01:02 +02:00
Harshil Sharma
037ca41b64
Added hash when loacind JS file to bust cache (#755) 2021-07-20 16:48:41 +05:30
Harshil Sharma
9b253ffee1
Fixed horizontal scroll bar appearing too high (#751) 2021-07-19 16:29:27 +05:30
Miguel de la Cruz
0bd6233fac
Refactor the websockets connection messages and lifecycle (#749)
* Refactor the websockets connection messages and lifecycle

* Modify frontend to subscribe to a workspace instead of a set of blocks

* Fixing linter errors

Co-authored-by: Jesús Espino <jespinog@gmail.com>
2021-07-19 15:04:17 +05:30
Harshil Sharma
325b664257
Fixed kanban view header not scrolling (#730) 2021-07-19 13:55:45 +05:30
Weblate (bot)
db3963989e
Translated using Weblate (German) (#750)
Currently translated at 100.0% (174 of 174 strings)

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
Translation: Focalboard/webapp

Co-authored-by: JtheBAB <srast@bioc.uzh.ch>
2021-07-19 09:28:26 +02:00
Chen-I Lim
77a90a473c
Fix #739: Don't show account options as plugin (#745) 2021-07-17 09:01:45 -07:00
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