Commit graph

3166 commits

Author SHA1 Message Date
Scott Bishel
10f7e46038
check createdBy instead of team id to determine global templates (#3766)
* check createdBy instead of team id to determine global templates

* fix tests

* remove import

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-09-05 17:02:39 -06:00
Asaad Mahmood
f9e6eb2791
GH-3768 - Search icon fix (#3778) 2022-09-05 12:53:01 +05:30
Scott Bishel
af2727085d
Fix template websocket (#3747)
* fix websockets with templates

* add more unit tests

* add synthetic, update tests

* Update mattermost-plugin/server/manifest.go

* clean up lint, reduce cyclomatic complexity

* update tests that call patchBoard with patch.Type set

* cleanup messages

* cleanup code more readable

* fixes from code review

* fix null check

* remove log lines
2022-09-04 16:51:31 -06:00
Miguel de la Cruz
956675aa07
Fix migration 27 and update boards_migrator_test to support sqlite (#3775)
* Fix migration 27 and update boards_migrator_test to support sqlite

* Adds comments for clarity
2022-09-02 13:39:00 -06:00
Rajat Dabade
970fda3b1d
Undefined check for propertyValue (#3769) 2022-09-02 12:19:02 -05:00
Scott Bishel
a6ca2c2011
Merge pull request #3774 from mattermost/mysql-extra-safe
Extra safe MySQL migration
2022-09-02 10:00:22 -06:00
Harshil Sharma
80d2984cf8 Fixed an incorrect case in table name 2022-09-02 11:28:37 +05:30
Miguel de la Cruz
3acd505618
Refactor schema table migration mechanism (#3709)
* Refactor schema table migration mechanism

The old schema table migration code was initializing the migration
engine before changing the migrations table and was mixing queries on
two different database connections (the `s.db` connection and the
migrations `db` connection).

The changes on this commit take care of changing the migrations table
before the morph migration engine is initialized and they use the same
connection for all operations, better isolating the schema table
migration process.

* Update migrate function to take the cluster mutex first thing

* Split migration code and orchestration on different functions

* Wrap custom errors on data migrations

* Rename private migration method

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

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2022-09-01 15:05:11 +02:00
Harshil Sharma
66e8af85a8 Extra safe MySQL migration 2022-09-01 16:15:31 +05:30
Harshil Sharma
12ba9a6382 Extra safe MySQL migration 2022-09-01 16:07:11 +05:30
Scott Bishel
270a110dc1
Merge pull request #3761 from mattermost/mentions-and-guests
Fix @-mentions in boards & for guests
2022-08-31 13:40:32 -06:00
Scott Bishel
37e089dbee
Merge pull request #3757 from sbishel/gh-3704
GH-3704 - Fix for not copying all content items.
2022-08-31 13:31:44 -06:00
Scott Bishel
568f08d610 update to break and not push to parent if already exists 2022-08-31 10:51:54 -06:00
Scott Bishel
54ff7b4e6e
Merge pull request #2852 from kyeongsoosoo/GH2520
GH-2520 make cut/undo/redo work in comments
2022-08-31 08:16:20 -06:00
Harrison Healey
9c16d94854 Merge branch 'main' into MM-46274_module-federation-poc 2022-08-30 16:47:29 -04:00
Paul Esch-Laurent
31569c655a
fix: reference Uppercase MM tables (#3756) 2022-08-30 14:32:31 -05:00
Rajat Dabade
ce74950566
Added functionality to close boardSelector after linking board (#3758) 2022-08-30 14:32:10 -05:00
Mattermod
ba479b9a52
Merge branch 'main' into GH2520 2022-08-30 22:23:27 +03:00
Paul Esch-Laurent
9101ef81e2 style: golang linting (shadow declaration) 2022-08-30 12:45:20 -05:00
Paul Esch-Laurent
448df85ed8 fix: don't search users for @-mentions as a guest 2022-08-30 11:56:24 -05:00
Paul Esch-Laurent
b7ead8a7e0 fix: handle includePublicBoards 2022-08-30 11:56:24 -05:00
Paul Esch-Laurent
33987d5c5b fix: invalid db query for guests 2022-08-30 11:56:24 -05:00
Paul Esch-Laurent
2e9e6ef771 fix: filter at-mention users in private boards 2022-08-30 11:56:24 -05:00
Asaad Mahmood
7bf8f9ba41
Minor menu and dialog UI fixes (#3742)
* Varios UI fixes

* Fixing lint error

* Updating dialog

* Updating colors for icons
2022-08-30 19:47:12 +05:00
Doug Lauder
2035337049
getBlocks store API with query options (#3755) 2022-08-30 15:56:41 +02:00
Scott Bishel
be9825e4ae don't return until all blocks handled 2022-08-29 19:44:04 -06:00
Tom De Moor
e0439e1c42 Translated using Weblate (Dutch)
Currently translated at 96.0% (386 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/nl/
2022-08-30 00:13:49 +03:00
Matthew Williams
488437b161 Translated using Weblate (English (Australia))
Currently translated at 100.0% (402 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/en_AU/
2022-08-30 00:13:49 +03:00
Milo Ivir
e63591ee47 Translated using Weblate (Croatian)
Currently translated at 100.0% (402 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/hr/
2022-08-30 00:13:49 +03:00
Varghese Jose
b8498d3993 Translated using Weblate (Malayalam)
Currently translated at 68.6% (276 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ml/
2022-08-30 00:13:49 +03:00
master7
ab4a11c13f Translated using Weblate (Polish)
Currently translated at 100.0% (402 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pl/
2022-08-30 00:13:49 +03:00
MArtin Johnson
cb5b329c92 Translated using Weblate (Swedish)
Currently translated at 88.5% (356 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/sv/
2022-08-30 00:13:49 +03:00
Mário Victor Ribeiro Silva
b69ae71303 Translated using Weblate (Portuguese (Brazil))
Currently translated at 38.8% (156 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/pt_BR/
2022-08-30 00:13:49 +03:00
Kaya Zeren
25de577fae Translated using Weblate (Turkish)
Currently translated at 100.0% (402 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/tr/
2022-08-30 00:13:49 +03:00
kaakaa
bccfe455e6 Translated using Weblate (Japanese)
Currently translated at 100.0% (402 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/ja/
2022-08-30 00:13:49 +03:00
jprusch
862a271679 Translated using Weblate (German)
Currently translated at 100.0% (402 of 402 strings)

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/de/
2022-08-30 00:13:49 +03:00
Hosted Weblate
a4438e7cd5 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Focalboard/webapp
Translate-URL: https://translate.mattermost.com/projects/focalboard/webapp/
2022-08-30 00:13:49 +03:00
Scott Bishel
282e24890e
Merge pull request #3729 from sbishel/close-template-selector
Close template selector if same board/view clicked
2022-08-29 14:56:36 -06:00
Scott Bishel
d85824492e fix bad merge 2022-08-29 08:02:28 -06:00
Harshil Sharma
63edf2c987
Props to preferences (#3722)
* Added tab;le creation migration

* WIP

* Finished base impl

* Added MySQL migration

* WIP

* Added personal server store methods

* WIP

* Fixed webapp tests

* Updated server tests

* generated code

* generated code

* generated code

* used raw queries instead of plugin methods to avoid updating productapi package

* Added API doc

* Added sqlite migratins

* used plugin APIs again s=instead of raw queries

* WIP

* Added missed case of SQL migration where personal server can run on Postgres and MySQL

* CI

* Removed unsupported POSL operator

* Low on caffine. Making silly mistakes

* json handling

* int test

* hope tests pass

* Fix incorrect column size

* Webapp lint fixes

* remived debug code

* Updated moigration version

* Review fixes
2022-08-29 12:55:12 +05:30
Scott Bishel
cb21d48838
Merge pull request #3750 from sbishel/fix-weblate
Fix weblate
2022-08-26 08:33:52 -06:00
Scott Bishel
8f3e1cd9a6 fix weblate 2022-08-26 07:41:12 -06:00
Allan Guwatudde
82007d81e4
Merge pull request #3668 from mattermost/MM-45761
[MM-45761] - Telemetry: Track how many users end up in purchase/pricing modal/notify admin
2022-08-26 15:17:30 +03:00
Scott Bishel
52598b583f
fix sql statement, add 'isGuest' (#3745) 2022-08-25 13:36:39 -05:00
Scott Bishel
40045d9f7b
fix issue with deleted members not updated via websocket (#3743) 2022-08-25 19:21:04 +02:00
Scott Bishel
9e2e91e522
Merge branch 'main' into close-template-selector 2022-08-25 09:07:04 -06:00
Scott Bishel
aa0ed504d0 update unit tests 2022-08-25 08:53:40 -06:00
Asaad Mahmood
62ffa9c39a
Adding menu options in sidebar, and improving order (#3713)
* Adding category and board options at the top

* Updating UI

* Updating test

* Updating test

* Updating icon

* Fixing bug and translation

* Updating createCategory component

* Removing unused vars

* Removing unused vars

* Updating UI

* fixed tests

* fixed tests

* fixed tests

* Updating test

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Harshil Sharma <harshilsharma63@gmail.com>
2022-08-25 18:09:09 +05:00
Jesús Espino
61a8af8f34
Restoring guest account access and adding backend part of the guest accounts support (#2929)
Co-authored-by: Paul Esch-Laurent <paul.esch-laurent@mattermost.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-24 17:08:58 -05:00
Miguel de la Cruz
e1a39e57ff
Adds a check that errors on store start if MariaDB is detected (#3725)
* Adds a check that errors on store start if MariaDB is detected

* Fix linter

* Update error message

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-08-24 14:36:43 -06:00