Commit graph

1118 commits

Author SHA1 Message Date
Doug Lauder
870c56e6b3
Copy images when duplicating card/board (#2253)
* copy image for card/board dup

* revert store changes

* revert store changes
2022-02-04 15:12:28 -07:00
Harshil Sharma
475c96301c
Fied a bug where user Cannot edit description block if only a space (#2255) 2022-02-04 15:10:50 -07:00
Doug Lauder
9138c73f52
fix export archive file ext (#2254) 2022-02-04 17:03:50 -05:00
Scott Bishel
50d62db683
Update to version 0.15.0 (#2231)
* update to version 0.15.0

* update month

* update snapshots

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-04 11:21:33 -07:00
Harshil Sharma
55879bdf11
Fixed a bug causing double scroll bars to appear (#2217) 2022-02-02 13:48:46 -07:00
Chen-I Lim
b15dc028b1
Fix #2117. Remove Beta and Alpha language labels (#2118)
* Fix #2117. Remove Beta and Alpha language labels

* Update Jest snapshots
2022-02-02 12:23:32 -08: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
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
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]
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
Jesús Espino
98dde43556 Changing active-border to active-border-rgb in the css variables 2022-01-31 11:33:45 +01: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
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
Scott Bishel
922e9ecd1a
GH-2130: Remove subscriptions feature flag (#2132)
* remove subscriptions feature flag

* lint fix
2022-01-19 07:27:26 -07:00
Chen-I Lim
a92534d783
Fix #2136. Show release month+year for version. (#2137) 2022-01-18 12:07:14 -08:00
Jesús Espino
02dfb6eceb
Moving the history instance creation after the plugin initialization (to honor the SiteURL config) (#2109)
* Moving the history instance creation after the plugin initialization (to honor the SiteURL config)

* Fixing welcome page images urls generation

* Fixing share board url generation

* Fixing more subpath problems

* Adding some tests with subpath

* Adding subpath test to welcome page

* fix linter error
2022-01-17 20:21:25 +01:00
kamre
342c8df39d
[GH-1754] Feature: card badges (#2025)
* First shot implementation of badges for the card.

* Showing and hiding card badges in board/gallery views via header menu action added.

* Counting of checkboxes in markdown supported.

* Use Intl.formatMessage for badge titles.

* Unit tests for `CardBadges` component added. Some other unit tests fixed.

* Unit test for 'Show card badges' action in the view header menu added.

* Cypress test for card badges added:
 - card with comments, description and checkboxes added for testing
 - card badges are shown and hidden via view menu
 - new Cypress command `uiAddNewCard` added
 - label property added to `MenuWrapper` and used in `ViewHeaderActionsMenu`

* Unit tests fixed after change of the label for view menu.

* Fix stylelint issues.

* Class name for `CardBadges` component fixed.

* Show and hide for card badges moved to `Properties` menu:
 - field `cardBadgesVisible` removed from `BoardViewFields`
 - new constant `badgesColumnId` introduced and used as an element in `visiblePropertyIds`
 - card badges added to calendar view
 - added `role` and `aria-label` for menu component `SwitchOption`
 - unit and Cypress tests updated

* Fix Cypress test: use `blur` after typing text.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-13 09:26:27 -07:00
Asaad Mahmood
bfddc335bc
GH-2101 - Fixing card property and value bugs (#2103) 2022-01-12 09:35:02 -07:00
Harshil Sharma
d86d5005f6
Fixed a bug where mentions don't show up in descripotions (#2099) 2022-01-12 18:41:33 +05:30
Asaad Mahmood
de3f7f6103
GH-1948 - Updating overflow on input fields (#2088) 2022-01-11 12:48:29 -07:00
Asaad Mahmood
ac5d408859
GH-1960 - Fixing link color on card (Personal Server) (#2087)
* Fixing link color on card (Personal Server)

* Updating UI

* Updating css
2022-01-11 12:00:01 -07:00
Scott Bishel
9290194529
updated fix for comments display backwards (#2085) 2022-01-11 07:47:12 -07:00
Chen-I Lim
36f66e7ea5
Gh 2077 mac app update (#2078)
* Fix #2077. Mac app sometimes stops updating.

* Cleanup logging
2022-01-10 11:34:51 -08:00
Scott Bishel
33407e7dd9
fix comments being set backwards (#2076) 2022-01-10 09:46:47 -07:00
Harshil Sharma
155bf75718
Fixed bug of stale closure in markdown editor (#2058) 2022-01-07 12:29:57 -07:00
Tim Lange
e1d5e77e0e
Added better kanban edge scroll detection whilst dragging (#1913)
* added better kanban edge scroll detection whilst dragging

* update jest snapshots

* try to fix cypress on CI

* replace force clicks on cypress test

* make eslint happy

* fix unrelated failed tests and reorganize Cypress commands

* added test for drag direction from right to left

* make eslint happy

* cypress kanban drag test now checks other direction

* fix test and update eslit for cypress

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-07 11:58:28 -07:00
Scott Bishel
f0602a6eb6
Update version to 0.14.0 (#2057)
* update version to 0.13.0

* update to v0.14.0
2022-01-06 12:26:35 -07:00
Julien Fabre
dfbc36c404
Add unit tests for cardFilter (#2021)
* chore: add unit tests for cardFilter

* fix: eslint

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-05 16:01:45 -07:00
Scott Bishel
cf43caf634
set to first date if null (#2008)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-05 14:24:51 -07:00
Scott Bishel
9ed0922e8c
GH-2007 Use VisiblePropertyIds for view property order (#2010)
* update for views to use viewPropertyIds for order

* build fixes

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-05 14:24:22 -07:00
Chen-I Lim
6e747d5731
Fix #2038. Remove beta label (#2039) 2022-01-04 11:02:59 -08:00
Chen-I Lim
c6e9d670da
Fix #1999, fix #2002: Alt italics regex without lookbehind (#2035) 2022-01-03 21:07:47 -08:00
Chen-I Lim
5c69c2de57
Fix #1745. Delete socket only if it exists (#2034)
* Fix #1745. Delete socket only if it exists

* Update jest snapshots to fix last year date text
2022-01-03 10:42:28 -08:00
Asaad Mahmood
76e13723b9
GH-479 - Updating comment order and adding images (#1985)
* GH-479 - Updating comment order and images

* Updating default image url

* Updating test

* Updating image function

* Updating tests
2021-12-23 10:59:18 +05:00
Scott Bishel
98ac0e0966
fix linter error (#2006) 2021-12-21 10:23:58 -07:00
Steven Tang
bf22a6faf9
GH-1883] Fix error page button to follow base URL (#1885) 2021-12-17 17:44:49 +01:00
Chen-I Lim
387c7acc55
Fix #1992. Remove borders around code block lines. (#1993)
* Fix #1992. Remove borders around code block lines.

* Update webapp/src/components/markdownEditorInput/markdownEditorInput.scss

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

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2021-12-15 15:04:11 -08:00