Commit graph

2172 commits

Author SHA1 Message Date
Scott Bishel
3bb58b4916
fix cypress test for changed templates (#2230)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-02 11:52:38 -07:00
Doug Lauder
a47baf7f23
Multi version archive import (#2220)
* Fixed panic in PropDef.GetValue for `person` property types.
- the GetUserByID API can return a nil user and nil error

* return userid

* support old archive format

* move template init to app layer

* move app init

* init app

* revert

* ignore GetDefaultTemplate blocks call in store mock

* ignore GetDefaultTemplate blocks call in store mock2

* ignore InsertBlockss call in store mock3

* ignore RemoveDefaultTemplates call in store mock4

* ignore WriteFile call in files mock5

* ignore WriteFile call in files mock6

* ignore WriteFile call in files mock7

* ignore WriteFile call in files mock8

* fix unit tests

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-02 11:25:06 -07:00
Harshil Sharma
21ba0e00ce
Fixes bug where images don't show up in templates and boards created from templates (#2224)
* Base fix for bug causing images to not appear in templates created from boards

* Added some docs

* Fixed lint error

* Update server/app/blocks.go

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>

* used a better method name

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-02-02 10:12:59 -07:00
Doug Lauder
46801d72cb
Fix panic in PropDef.GetValue for person property types. (#2218)
* Fixed panic in PropDef.GetValue for `person` property types.
- the GetUserByID API can return a nil user and nil error

* return userid
2022-02-02 06:39:35 -07:00
Scott Bishel
5030b1e582
Update dependencies for webapp and mattermost-plugin/webapp (#2213)
* update for trim-newlines

* update for glob-parent

* update for fstream
2022-02-02 06:36:49 -07:00
Jesús Espino
dcf7600ca4
Adding the new template selector interface (#2172)
* Addinig initial version of a working template selector

* Some improvements

* Small improvements in the code

* More polishing

* Code reorganization

* Fixing tests

* Fixing linter errors

* Allowing to edit/delete templates

* Removing no longer needed code reducing race conditions

* Fixing some tests

* Adding some unit tests

* Adding more tests

* Splitting a bit more the board template selector for simplification

* Moving the delete dialog to the board template selector item

* Fixing some tests

* Fixing tests

* Exctracting i18n strings

* Trying to fix part of the cypress tests

* Fixing cypress tests

* Updating template selector UI

* Updating UI

* Updating padding

* Fixing css linter errors

* Fixing css error introduced in the previous commit

* Updating snapshots and fixing tests

* Fixing cypress tests again

* Adressing review comments

* Fixing tests

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
2022-02-02 09:38:57 +01:00
Doug Lauder
65c783c270
Import/export moved to server + image support + streaming (#2201) 2022-02-01 19:01:29 -05:00
Doug Lauder
42c6ec5b61
Upgrade default templates on launch (#2167)
* store ImportArchive

* fix db call

* blockModifier

* fix template cards appearing

* remove old templates

* disable max-lines eslint rule

* undo eslint rule chg

* updates default templates

* Update server/services/store/sqlstore/archive.go

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-01 19:36:12 +01:00
ogi-m
e3d42c6663
Merge pull request #2173 from kamre/gh-2147-url-property-improvement
[GH-2147] URL property improvement
2022-02-01 18:25:06 +01:00
Mattermod
5186372107
Merge branch 'main' into gh-2147-url-property-improvement 2022-02-01 17:25:34 +02:00
Michel Engelen
9349f47e03
Merge pull request #2203 from jespino/changing-css-variable
Changing active-border to active-border-rgb in the css variables
2022-02-01 09:17:26 +01:00
dependabot[bot]
49ec89d8d1
Bump nanoid from 3.1.29 to 3.2.0 in /experiments/webext (#2208)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.29 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.29...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-31 16:33:05 -07:00
Ossi Väänänen
a0185bf514
Add scorecards analysis (#2186)
Github Action for Scorecard
https://github.com/ossf/scorecard

The Scorecard provides a (somewhat opinionated) view on the security posture of the repository -- we (the product security team) would like to adopt this on our key repositories to identify possible security improvements
2022-01-31 14:40:20 -08:00
Scott Bishel
1df9e4ba14
update dependencies (#2207) 2022-01-31 15:29:19 -07:00
Weblate (bot)
555ba1c5c4
Translated using Weblate (Catalan) (#2204)
Currently translated at 56.8% (145 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ca/

Co-authored-by: Marc Celeiro <marc@marcceleiro.com>
2022-01-31 12:09:11 -08:00
ChaseKnowlden
0828cc5591
Add linode links (#2202) 2022-01-31 12:03:50 -08:00
dependabot[bot]
7754bc6edf
Bump marked from 3.0.6 to 4.0.12 in /webapp and /mattermost-plugin/webapp (#2182)
* Bump marked from 3.0.6 to 4.0.10 in /mattermost-plugin/webapp

Bumps [marked](https://github.com/markedjs/marked) from 3.0.6 to 4.0.10.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v3.0.6...v4.0.10)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* upgrade marked to 4.0.12

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2022-01-31 10:37:32 -07:00
Scott Bishel
7e0fb26875
implement registry for channel intro button (#2181) 2022-01-31 10:15:50 -07:00
Chen-I Lim
a07a48a9ae
Fix #2149. Website background. (#2185) 2022-01-31 08:48:14 -08:00
Mickael V
5600d79ff1
Add chown for nobody in the docker run example (#2193)
Co-authored-by: Mickael <me@mvest.tech>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-31 16:52:02 +05:30
Jesús Espino
98dde43556 Changing active-border to active-border-rgb in the css variables 2022-01-31 11:33:45 +01:00
Milo Ivir
0f96d49dd1
Milotype translations (#1845)
* Update README.md

Add info about multilingual statuts of the app and the possibility to translate the app.

* Update hero.html

Add information about multilingulaity on the website

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-01-28 12:39:19 -08:00
Scott Bishel
66f4b90ef2
change log from error to debug (#2199) 2022-01-28 11:24:22 -07:00
Scott Bishel
bccfbd3d2f
MM-40542: Verify config setting in api (#2170)
* verify config setting in api

* update message

* fix lint

* update/add unit test, throw error

* fix typo
2022-01-28 10:35:38 -07:00
Chen-I Lim
690dc365f5
Add note about Severity labels to bug template (#2195)
* Add note about Severity labels to bug template

* typo
2022-01-28 09:19:21 -08:00
Chen-I Lim
02b6cfc175
Update website links. (#2174)
Thanks Winson! Merging
2022-01-27 09:49:30 -08:00
Scott Bishel
8239bb70ad
update documents and import issues (#2141) 2022-01-26 21:35:28 +01:00
Asaad Mahmood
4662b03501
Adding gif support for boards (#2126)
* Adding gif support for boards

* Updating api
2022-01-26 18:45:44 +05:00
Carlos Tadeu Panato Junior
2278895217
Merge pull request #2175 from weblate/weblate-focalboard-webapp
Translations update from Mattermost Weblate
2022-01-26 11:33:03 +01:00
Kaya Zeren
08b1b27dd9 Translated using Weblate (Turkish)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-01-25 22:30:10 +01:00
Maksim Matveev
ae29eb4c90 Translated using Weblate (Russian)
Currently translated at 55.2% (141 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ru/
2022-01-25 22:30:10 +01:00
martin debnar
bd40c38e3b Translated using Weblate (Slovak)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sk/

Added translation using Weblate (Slovak)
2022-01-25 22:30:10 +01:00
aeomin
963bef43fd Translated using Weblate (Chinese (Simplified))
Currently translated at 69.0% (176 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
2022-01-25 22:30:10 +01:00
快乐的老鼠宝宝
997f22f1ca Translated using Weblate (Chinese (Simplified))
Currently translated at 69.0% (176 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/zh_Hans/
2022-01-25 22:30:10 +01:00
kaakaa
6056c6eca0 Translated using Weblate (Japanese)
Currently translated at 100.0% (255 of 255 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2022-01-25 22:30:10 +01:00
Doug Lauder
8f958abb9c
Don't log error message when multiple nodes try processing a notification hint at the same time. (#2166) 2022-01-25 14:30:06 -07:00
Chen-I Lim
b337392d0d
Website 012422 download links (#2171)
* Add Win direct download links to website.

* Update download links
2022-01-25 11:53:01 -08:00
Doug Lauder
1e053dc36d
Disable max-lines ESLint rule (#2161)
* Disable max-lines ESlint rule

There are several webapp files that exceed the default ESLint max-lines rule.  This commit disables the rule to avoid polluting the VSCode problems view with these warnings.

* fix tab versus space
2022-01-25 08:01:31 -05:00
kamre
f4bf7db996 Cypress test for new URL property behaviour added:
- using `cypress-real-events` for real hover
 - label for view header menu changed to 'View header menu'
 - label for view menu added
 - snapshots for unit tests updated
2022-01-25 14:57:59 +03:00
kamre
400738db76 Unit tests new URL property behaviour added. 2022-01-25 14:57:59 +03:00
kamre
83fd5899c5 Unit tests fixed (snapshots updated). 2022-01-25 14:57:59 +03:00
kamre
f8995351c9 Minor style fix for calendar card. 2022-01-25 14:57:59 +03:00
kamre
76401862cc Fixed clicking on the card in the calendar view. 2022-01-25 14:57:59 +03:00
kamre
58b418025d Fix background-color of URL property on the calendar cards. 2022-01-25 14:57:59 +03:00
kamre
6b278cd8cf Hide copy button for URLProperty in the table. 2022-01-25 14:57:59 +03:00
kamre
992ea70807 Buttons for edit and copy of URLProperty added:
- Compass icon is used for `EditIcon`
 - some CSS tweaks for proper hover effects
2022-01-25 14:57:59 +03:00
kamre
6034f76167 Initial implementation for URLProperty improvements:
- show preview with link and button for editing
 - minor fixes for CSS
2022-01-25 14:57:59 +03:00
João Aldeano
61e07c3df7
Fix mac m1 chip build, get architecture during make mac-app. Fixes #2160 (#2162)
* Fix mac m1 chip build, get architecture during make mac-app. Fixes #2160

* Added goarch amd64 or arm64 on building mac-app
2022-01-25 10:42:56 +01:00
kamre
2c16446efd
Remove link to deleted css file. (#2152) 2022-01-24 12:54:42 -05:00
Chen-I Lim
93a061792a
Update readme: Personal Desktop links (#2154) 2022-01-21 09:39:46 -08:00