Commit graph

2573 commits

Author SHA1 Message Date
Scott Bishel
cbad8fe9d7
GH-2796 - Check my membership for sidebar items (#2820)
* check my membership for sidebard items

* update variable name

* Updated server tests

* fix lint errors

* revert board test changes

* fix unit tests

Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-18 09:59:26 -06:00
Scott Bishel
0489de8bd3
implement data retention for boards (#2588)
* implement data retention for boards

* fix lint errors

* start of orphans

* add and update tests

* fixes for merge

* fix tests

* fix lint

* reset from testing

* update setting unit test variable

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-18 09:03:42 -06:00
Scott Bishel
21667aa8d0
GH-2808: fix some logging issues with share board. (#2827)
* fix some logging issues

* fix unit test

* more test fixes

* unit test
2022-04-18 08:57:42 -06:00
Scott Bishel
37259afda4
GH-1871 fix background for today (#2826)
* make all duplicated boards private

* update background so it works for today

* updated style

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-18 07:58:56 -06:00
Doug Lauder
b47e70579b
cleanup log levels (#2824) 2022-04-18 08:21:44 -04:00
KyeongSoo Kim
62b2abc3d2
fix: delay title focus (#2795)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-15 15:11:25 -06:00
Scott Bishel
a2e7deba84
make all duplicated boards private (#2823) 2022-04-15 14:29:33 -06:00
Scott Bishel
5723709605
make board private when created from template (#2821) 2022-04-15 11:27:21 -06:00
Chen-I Lim
154c344077
Fix #2800. Add missing Swagger docs (#2801)
* Fix #2800. Add missing Swagger docs

* Add note that timestamps are  in miliseconds

* Fix merge, update docs.
2022-04-15 10:21:10 -07:00
Doug Lauder
554453c9e6
GH-2812 Hide delete template and edit template icons unless user has permission (#2818)
* hide delete template and edit template icons unless user has permission

* fix jest tests
2022-04-15 10:59:26 -06:00
Doug Lauder
ebf02366b4
revert ServerRoot path change (#2817) 2022-04-14 18:03:39 -06:00
Scott Bishel
90677ba7b8
GH 2393 Move calculationColumns from board to view (#2762)
* move calculation columns to view

* update tests

* add conversion for column calculations

* remove column_Calculations from boards and boards_history

* updates from testing

* update for sqlite

* fixes from testing

* fix lint, cleanup

* update templates,remove field from boards

* revert bad changes

* update snapshots

* Update server/services/store/sqlstore/migrations/000017_add_teams_and_boards.up.sql

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>

Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-14 10:33:57 -06:00
Chen-I Lim
c9e449ee85 CI: Mac - only run integration tests 2022-04-13 15:47:35 -07:00
Chen-I Lim
5b423d6647
CI updates: Speed up register / login, minimize Windows tests, and add Mac tests (#2784)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Add CI for macOS

* Lower password hash during unit tests

* Add comment

* Only integration tests on Windows

* Tweak TestCreateRecurringTask timings

* Fix server-test-mini-sqlite
2022-04-13 15:36:20 -07:00
Jesús Espino
bc37e97ae9
Applying migration changes (#2752)
* Applying migration changes

* Fixing linter erros

* Restoring userID

* Updated user id length

* Update server/app/category_boards.go

* Skiped creating categories for boards belonging to DMs

* Handled private group messages as well

* fix sql error for insert_at

* fix timestamp parsing

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-04-13 16:10:53 -06:00
Doug Lauder
89cc947a21
Implement permissions specs for mentions. (#2758)
* Implement permissions specs for mentions.
- public boards: admin, editor, commenter can mention team members and auto-add them to board; guests can mention board members
- private boards:  admin, editor, commenter, guest can mention board members
- viewers cannot mention
2022-04-13 18:09:55 -04:00
Miguel de la Cruz
4c61ae9623
Update focalboard endpoints to v2 namespace (#2781) 2022-04-13 15:24:32 -05:00
dependabot[bot]
42d24d279a
Bump lodash-es from 4.17.14 to 4.17.21 in /mattermost-plugin/webapp (#2544)
Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.14 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.21)

---
updated-dependencies:
- dependency-name: lodash-es
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-04-13 14:07:00 -06:00
Scott Bishel
a340a75d17
Merge pull request #2360 from mattermost/dependabot/npm_and_yarn/webapp/follow-redirects-1.14.9
Bump follow-redirects from 1.14.7 to 1.14.9 in /webapp
2022-04-13 13:59:05 -06:00
Scott Bishel
dbaecd437c
Merge pull request #2622 from asimsedhain/GH-2449
GH-2449 Limits gallery card and calendar title to 5 lines
2022-04-13 13:44:21 -06:00
Scott Bishel
daa608e53c
Merge pull request #2772 from kyeongsoosoo/GH2575
GH2575 - Focus title when card is created
2022-04-13 13:42:51 -06:00
Chen-I Lim
8433b9eada
Fix CI: Data tamper attempt (#2782)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Expected update time is right after insert returns
2022-04-13 12:17:30 -07:00
Chen-I Lim
3264902131
Fix #2770: Handle Windows path in import and tests (#2771)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Support Windows in import archive and tests

* Run CI on Windows too

* CI: Windows SQLite only

* Remove npm ci fromn Windows CI
2022-04-13 10:17:04 -07:00
Scott Bishel
cbd03bc612
Merge pull request #2761 from mattermost/gh-2337-hide-single-user-copy-link
fix: hide 'Copy link' for `single-user` installs
2022-04-13 10:33:42 -06:00
Scott Bishel
3e9ad7b9e1
Merge pull request #2743 from mattermost/category-websocket-broadcast-fix
Broadcasting category changes only to the correct user
2022-04-13 10:07:36 -06:00
Miguel de la Cruz
59b387035f
Remove export archive from plugin header (#2779)
* Remove export archive from plugin header

* Update snapshot
2022-04-13 17:52:11 +02:00
Scott Bishel
4fb14bc653
Merge pull request #2778 from wiggin77/GH-2744_export_with_pound
GH-2744 Fix export with hash sign (#) in block title breaks export to CSV
2022-04-13 09:49:25 -06:00
Paul Esch-Laurent
60ad0cc045 style: "single-user" -> 'single-user' for linting 2022-04-13 10:36:25 -05:00
Scott Bishel
5afa8699e1
Merge pull request #2766 from mattermost/gh-2709-update-link
update link for teams
2022-04-13 08:45:15 -06:00
Scott Bishel
fa15c291b7
Merge pull request #2768 from mattermost/gh-2759-fix-images
GH-2759 - fix path to file api
2022-04-13 08:43:29 -06:00
Scott Bishel
a69a6f65f5
Merge pull request #2774 from mattermost/mysql-5.7-uuid-fix
Avoided using UUID() as function param for MySQL migration
2022-04-13 08:39:54 -06:00
Scott Bishel
463297d0bd
Merge pull request #2776 from mattermost/export-all-boards
Use the correct endpoint for exporting all boards on a team
2022-04-13 08:37:08 -06:00
wiggin77
92c0a889b6 minor edit 2022-04-13 10:22:22 -04:00
wiggin77
471096d3ae fix hash sign in block title for CSV export 2022-04-13 10:10:29 -04:00
Miguel de la Cruz
9c03838840 Use the correct endpoint for exporting all boards on a team 2022-04-13 15:04:47 +02:00
Harshil Sharma
3f21b555a9 Merge branch 'category-websocket-broadcast-fix' of github.com:mattermost/focalboard into category-websocket-broadcast-fix 2022-04-13 15:47:00 +05:30
Harshil Sharma
d744d69b43 Added category change broaadcast to cluster 2022-04-13 15:46:35 +05:30
Harshil Sharma
280e38604f Merge branch 'main' into category-websocket-broadcast-fix 2022-04-13 15:09:49 +05:30
Asaad Mahmood
ec39401dc0
Various UI updates on permissions (#2765) 2022-04-13 14:07:47 +05:00
Harshil Sharma
15cac1b066 Avoided using UUID() as function param for MySQL migration 2022-04-13 12:12:50 +05:30
kyeongsoosoo
e3a812e6c1 fix: disable rerender when markdown-editor-input is mounted 2022-04-13 13:53:58 +09:00
wiggin77
2c75097680 unit test for export board 2022-04-12 23:41:32 -04:00
Mattermod
b4829f55e4
Merge branch 'main' into GH-2449 2022-04-13 02:28:22 +03:00
Mattermod
fdcc02c35e
Merge branch 'main' into category-websocket-broadcast-fix 2022-04-13 02:26:58 +03:00
Spiros Economakis
539aee6a46
Fix configuration for prometheus address (#2763)
The env variable for prometheus address is not respected as it should be set as
viper default config.

Ticket: https://mattermost.atlassian.net/browse/43295
2022-04-12 17:43:29 -04:00
Scott Bishel
36db054036 removing else section as its not used 2022-04-12 14:19:15 -06:00
Scott Bishel
786b97eb82 fix path to file api 2022-04-12 13:18:10 -06:00
Chen-I Lim
af35a8e2c2
GH 2593: Fix Windows migration (#2767)
* Upgrade npm in build-ubuntu

* npm i -S moment

* Don't upgrade npm

* macos-latest on build-mac

* Update dev-release.yml

* Fix #2593: Fix Windows migration
2022-04-12 12:17:58 -07:00
Scott Bishel
78ce579583 update link for teams 2022-04-12 10:51:06 -06:00
Chen-I Lim
2b3ed75b3b
Add readme for Mac and Win apps (#2757)
* Add readme for Mac and Win apps

* chore(Makefile): improve xcode error feedback

Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
2022-04-12 09:20:36 -07:00