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
86dcb8c25b
Add warning to API readme ( #2140 )
2022-01-18 13:02:43 -08:00
Doug Lauder
60af00ac3c
Resolve usernames for person
property type ( #2116 )
...
* resolve usernames for property types
2022-01-18 13:08:28 -05:00
Miguel de la Cruz
b92890f238
Fix default schema type for focalboard blocks history ( #2122 )
2022-01-15 17:12:11 -07:00
Doug Lauder
b33b998f9e
Fix prop change formatting for date & multiselect ( #2110 )
...
* fix prop value formatting for date & multiselect
* support date ranges
2022-01-12 15:24:28 -07:00
Doug Lauder
c6714a76bc
fix card link in notifications; card pointer was cached by template ( #2096 )
2022-01-11 18:14:21 -07:00
Jesús Espino
106a8e5b2e
Fixing unique ID problems on content order with multiple colums ( #2071 )
...
* Fixing unique ID problems on content order with multiple colums
* Fixing duplication
* Fix linter errors
2022-01-11 13:25:51 -07:00
Doug Lauder
855ea70a44
Stayin' Alive: Log & recover from web server panics ( #2072 )
...
* log webserver panics
* move panic handling to separate func
2022-01-10 15:33:05 -05:00
Doug Lauder
3f66fb52cc
List all authors of a card diff in the notification ( #2055 )
2022-01-07 10:11:36 -05: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
Harshil Sharma
85c04ff4a6
Fixed a bug which didn't update block IDs in content order ( #2054 )
2022-01-06 07:41:18 -07:00
Doug Lauder
72bf464b22
Improved diff to markdown for card notifications ( #2037 )
...
* improved text diff for notifications
* fix panic selecting insert_at
* improvements wip
* simplified v1
* improved diff to markdown
* address review comments
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-01-05 14:11:58 -07:00
Doug Lauder
8cf73382b4
fix crash in DeleteBlock ( #2040 )
...
* fix crash in deleteblock
* fix unit test
2022-01-05 10:02:06 +01: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
Doug Lauder
2640cbd3ed
fix panic selecting insert_at ( #2009 )
...
Fixes a panic at start-up for plugin + postgres/mysql. When selecting on a timestamp database type, the type of the var to scan into is different based on database type. The fix is to convert the timestamp to string within the query and scan into a string.
2021-12-21 17:18:55 -05:00
Doug Lauder
7af9e18a49
Test all supported databases in CI ( #2000 )
...
* add mysql and postgres tests to CI
2021-12-17 12:30:47 -05:00
Doug Lauder
bf23bd0d25
Remove noisy error log for unit tests
2021-12-17 01:05:05 -05:00
Doug Lauder
11703acb8a
fix syntax errors for mysql ( #1997 )
2021-12-16 12:43:50 -05:00
Jesús Espino
2e4d015586
Fixing and regenerating swagger documentation ( #1990 )
2021-12-15 20:54:23 +01:00
Doug Lauder
75bd409ba0
Notifications phase 1 ( #1851 )
...
Backend support for subscribing/unsubscribing to blocks, typically cards and boards. Notifies subscribers when changes are made to cards they are subscribed to.
2021-12-10 10:46:37 -05:00
Jesús Espino
7952d6b018
Include migration for content order on unique id migration ( #1965 )
...
* Include migration for content order on unique id migration
* Adding test case for other workspace
* making lines shorter
2021-12-10 09:33:41 -05:00
Scott Bishel
3450eb6d4f
Gh 1841 batch patches ( #1935 )
...
* Updating table row css (#1787 )
* package patchBlocks as batches, move updateBlocks to transactional
* fix lint errors
* fix from review
Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-12-10 07:17:00 -07:00
Doug Lauder
3be03f0cd0
fix mysql migration ( #1964 )
...
Fix unsupported SQL syntax for MySQL
2021-12-10 08:56:11 -05:00
Hossein
199da41f6d
Fix MM-40428 ( #1926 )
2021-12-10 08:28:52 -05:00
Harshil Sharma
6b23795ff3
Removed unused fields ( #1944 )
...
* removed unused fields
* lint fix
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
2021-12-08 12:47:47 -07:00
Hossein
dc36afcfba
GH-1878: Display Bot Badge in Auto Complete ( #1906 )
2021-12-08 10:04:19 -05:00
Hossein
c8d4c98f8c
Fix Issues ( #1923 )
2021-12-08 09:07:28 -05:00
Doug Lauder
487d59b790
don't notify @mnetioned user who are not members of channel ( #1912 )
2021-12-03 13:33:59 -05:00
Doug Lauder
8be71b1498
Don't insert nulls into blocks_history table. ( #1890 )
...
Ensure all fields are non-NULL when inserting into blocks_history (on block delete).
2021-12-03 12:32:57 -05:00
Chen-I Lim
ed2c916afa
Update to v0.12 ( #1904 )
2021-12-01 14:55:47 -08:00
Jesús Espino
2f08c67827
Adding explict logout logic ( #1895 )
...
* Adding explict logout logic
* Fixing golangci-lint errors
2021-12-01 10:21:31 +01:00
Chen-I Lim
91dc9def9b
Update version to 0.11.0 ( #1859 )
2021-11-22 16:15:03 -08:00
PrasannaSudharsan R
09f0f0717c
425|Added unit tests for workspaces.go ( #1800 )
2021-11-22 01:46:51 -05:00
Miguel de la Cruz
e7c38c8822
Adds data migrations and the unique IDs migration ( #1776 )
...
* Adds data migrations and the unique IDs migration
* Adds GetSystemSetting tests
* Add log statements to data migrations
* Move migrations to the store and ensure they follow an order mixing database and data migrations
* Fix system settings
* Add tests for unique id migration
* Small comment change
* Make a couple of methods private and wrap the migration in a transaction
* Update public methods
* Add database mutex to data migrations
* Create server params and pass a mutex factory to the store
* Fix plugin linter
* Make isPlugin private
* Fix comment typo
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
2021-11-11 17:01:43 +01:00
Scott Bishel
f74eea11ba
Fix for feature flag handling ( #1753 )
...
* fix for handling feature flags changing
* update tests
* fix tests
* lint fixes
* feedback updates
* use getConfig instead
* linter fix
* more linter
* revert changes
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-09 07:56:04 -07:00
Miguel de la Cruz
fa36e092bb
Server generated ids ( #1667 )
...
* Adds server ID generation on the insert blocks endpoint
* Fix linter
* Fix server linter
* Fix integration tests
* Update endpoint docs
* Update code to use the BlockType2IDType function when generating new IDs
* Handle new block ids on boards, templates and views creation
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-05 11:54:27 +01:00
Miguel de la Cruz
751f632c36
Modify store creation not to fail on template initialization failure ( #1722 )
2021-11-03 19:10:32 +01:00
Doug Lauder
849cc5c195
Move BlockType2IDType from utils to model ( #1744 )
2021-11-03 12:01:39 -04:00
Miguel de la Cruz
59413a9fc4
Changed server not bind to any port to debug, as it's a plugin only option ( #1743 )
2021-11-03 15:24:31 +01:00
Doug Lauder
c3a08c3418
utils.BlockType2IDType ( #1715 )
2021-11-02 09:17:53 +01:00
Scott Bishel
9b9682f626
Create FeatureFlags in configurations ( #1622 )
...
* create FeatureFlags in configurations
* update for unit tests
* update unit tests, go.mod
* update go.sum
* fix lint errors
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-01 19:12:43 -06:00
Doug Lauder
c9a629d135
typed block type ( #1672 )
2021-10-26 21:11:19 -04:00
Archit Mathur
5848ea1c07
[GH-1256] feat: config file flag ( #1418 )
...
* feat: adds support for --config
* feat: adds support for configFilePath in startServer
* chore: removes ugly spacing
2021-10-26 17:49:20 +05:30
Harshil Sharma
1eb5c22571
Removed nullability of block created by and modified by fields: ( #1603 )
...
* Rmeoved nullability of block created by and modified by fields:
* Fixed incorrect column name in migration
2021-10-25 19:50:38 +05:30
Chen-I Lim
ae552e260c
Update to v0.10 ( #1633 )
2021-10-22 13:59:05 -07:00
Hossein
eed1f86c15
Unfurl Focalboard Link ( #1081 )
2021-10-22 12:13:31 -04:00
Miguel de la Cruz
8666bc833a
Adds a generator that wraps store methods with transactions and migrates implementations to use transactions ( #1440 )
...
* Adds a generator that wraps store methods with transactions and migrates implementations to use transactions
* Remove OpenTracing parameters from the generator
* Remove unused template methods
* Generate transactional methods only for those labelled as so
* Fix linter
2021-10-22 12:48:53 +02:00
Scott Bishel
d0083f6ed0
GH-1489: Add Telemetry for Shared Boards ( #1610 )
...
* add telemetry for shared boards
* move where setting view out of Routes
* add for configuration setting
* fix spacing
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-10-21 11:17:31 -06:00
Doug Lauder
4b5436696f
don't allow notifications for import ( #1565 )
2021-10-15 15:09:43 -06:00
Scott Bishel
a756b7e1c6
remove connection string from log ( #1564 )
2021-10-14 13:04:35 -04:00