George Goldberg
078467ee96
PLT-7759: Make GetNewestJobByStatusAndType not fail when no jobs match. ( #7540 )
2017-10-02 09:15:51 -04:00
Joram Wilander
8b9dbb8613
PLT-7404 Return viewed at times in view channel API response ( #7428 )
...
* Return viewed at times in view channel API response
* Updated transaction to read and write once
* Remove transaction and only update if new value greater than older
2017-09-29 08:45:59 -07:00
George Goldberg
a06830b2f8
PLT-7644: Improve job scheduler architecture. ( #7532 )
2017-09-28 09:11:13 -07:00
George Goldberg
8d662105d3
PLT-7207: Change from fulltext to LIKE search for user filtering ( #7343 )
...
* PLT-7202: Switch user search to LIKE queries to avoid fulltext pitfalls.
* Add 2 char name unit test.
* Escape underscores properly.
* Add more tests and fix * handling.
* Make search/indexes case insensitive for postgres.
2017-09-27 18:44:22 +01:00
Chris
49fe5fbf3d
Move sql store code into store/sqlstore package ( #7502 )
...
* move sql store code into store/sqlstore package
* move non-sql constants back up to store
* fix api test
* derp
2017-09-25 10:11:25 -04:00
George Goldberg
e0d5703f72
PLT-7619: Cleanup flags in data retention. ( #7501 )
2017-09-22 13:23:16 -04:00
Chris
266ff86702
remove more global refs ( #7480 )
2017-09-21 10:13:34 +01:00
George Goldberg
c3916bb530
Add error codes to the remaining stores (Part 1). ( #7461 )
2017-09-20 09:34:50 -04:00
Chris
e7e10d36a9
interactive post update fix ( #7477 )
2017-09-19 17:05:20 -04:00
George Goldberg
3811b1ce1e
Add error codes to oauth/post/preference store errors. ( #7460 )
2017-09-19 17:24:52 +08:00
George Goldberg
61d0078e0a
Add error codes to the remaining stores (Part 2). ( #7462 )
2017-09-18 13:31:31 -04:00
George Goldberg
29e917486a
Add error codes to user and webhook store errors. ( #7459 )
2017-09-18 17:40:56 +01:00
George Goldberg
8195c80aa1
PLT-7639: Batch delete methods for data retention. ( #7444 )
2017-09-15 09:35:55 -07:00
Chris
b6fb98a431
remove more global references ( #7442 )
2017-09-14 13:01:44 -04:00
Joram Wilander
ed1363e1bf
Fix update SQL query to include refresh token ( #7425 )
2017-09-14 11:48:48 -04:00
Corey Hulen
1569702930
PLT-7556 fixing postgres issue with compliance for master ( #7414 )
2017-09-12 17:53:06 -07:00
Christopher Speller
29fca51821
Renaming repo
2017-09-06 23:11:59 -07:00
Chris
2205f6d074
add commented 4.3 upgrade func ( #7388 )
2017-09-06 17:47:52 -05:00
Chris
1adfd0e9be
app type transition ( #7167 )
2017-09-06 17:12:54 -05:00
Joram Wilander
66a4d01125
Update IsUniqueConstraint to check error codes instead of message text ( #7385 )
2017-09-06 14:00:56 -04:00
Chris
90da40b54c
pre 4.2 cut ( #7380 )
2017-09-05 19:29:26 -05:00
George Goldberg
3c717b514d
Add error codes to SqlChannelStore errors. ( #7364 )
2017-09-04 23:37:13 +08:00
Corey Hulen
9c1f6c9fd5
PLT-7497 adding DMs to complinace export ( #7353 )
2017-09-04 10:49:40 +01:00
Saturnino Abril
94c9138c19
[PLT-7385] Add AuthData to IsUniqueConstraintError to indicate duplicated email entry ( #7197 )
...
* add AuthData to IsUniqueConstraintError to indicate duplicated email entry
* add unique constraint for postgres
2017-09-02 05:59:01 +08:00
Christopher Brown
df94be8f37
[PLT-7055] Modified code arrangement for compatibility with 32-bit ARM ( #7281 )
...
Squashed commit of the following:
commit ba8e052d40f27123fbb5a94e9b30c05f51b90d36
Author: Christopher Brown <ccbrown112@gmail.com >
Date: Fri Sep 1 12:08:57 2017 -0500
style fixes
commit 121649f92f313813d9f105ddffb7d02ce5d3736f
Author: Syakyr Surani <coding@syakyr.me >
Date: Sat Aug 26 10:19:14 2017 +0800
Added comments for ARM/x86 (32-bit) compatibility
commit 4bd13dd0e378cd4866bd5aed762f2b4fb75d7de9
Author: Syakyr Surani <coding@syakyr.me >
Date: Sat Aug 26 05:20:43 2017 +0800
Added comments for ARM/x86 (32-bit) compatibility
commit 78027f616ab736076cef0b1fd8b3266b3c3010dc
Author: Syakyr Surani <coding@syakyr.me >
Date: Thu Aug 24 03:01:06 2017 +0800
[PLT-7055] Modified code arrangement for compatibility with 32-bit ARM
2017-09-01 12:09:35 -05:00
George Goldberg
77f0f2289c
PLT-7515: Fix getAllJobsPage test. ( #7329 )
2017-09-01 11:42:49 -04:00
Saturnino Abril
651dd33b29
set to default value with config is missing ( #7320 )
2017-08-30 13:54:16 -04:00
George Goldberg
50fc6e1e9e
PLT-???? Prepare file upload infrastructure for Data Retention. ( #7266 )
...
* Prepare file upload infrastructure for Data Retention.
This commit prepares the file upload infrastructure for the data
retention feature that is under construction. Changes are:
* Move file management code to utils to allow access to it from jobs.
* From now on, store all file uploads in a top level folder which is the
date of the day on which they were uploaded.
This commit is based on Harrison Healey's branch, but updated to work
with the latest master.
* Use NewAppError
2017-08-25 10:38:13 -04:00
Saturnino Abril
f6e0310b50
[PLT-7390] Add Type = 'O' in getting open teams at sql store ( #7207 )
...
* add Type = 'O' in getting open teams at sql store
* updated PR
2017-08-24 00:19:15 +08:00
Corey Hulen
b0e367b192
Fixing race in update channel ( #7269 )
...
* Fixing race in update channel
* Switching to struct copy
2017-08-22 10:20:54 -07:00
Christopher Speller
2461c55d0d
Ignoring primary key duplication errors on status saveorupdate ( #7255 )
2017-08-18 12:45:48 -07:00
Christopher Speller
fd1301779f
Merge branch 'release-4.1'
2017-08-17 09:35:36 -07:00
George Goldberg
22459ee17a
PLT-7302: Aggregate Elasticsearch indexes over a certain age. ( #7224 )
...
* PLT-7302: Aggregate Elasticsearch indexes over a certain age.
This is done by a scheduled daily job, in order to keep the shard count
to a sensible level in Elasticsearch.
* Use map[string]string instead of StringMap
2017-08-17 10:05:17 -04:00
Chris
b122381e87
PLT-1649: add response_url support for custom slash commands ( #6739 )
...
* add response_url support for custom slash commands
* pr suggestions
* pr update / suggestion
* test fix
2017-08-16 08:17:57 -04:00
JoramWilander
311335b62c
Another team update
2017-08-09 09:22:57 -04:00
Saturnino Abril
c42510a7f4
add preparatory upgrade code for 4.2 ( #7157 )
2017-08-08 16:13:55 -04:00
Saturnino Abril
dcaed2c8e3
uncomment upgrade for 4.1 ( #7128 )
2017-08-08 08:48:01 -04:00
Jonathan
28726460d7
PLT-7223: Update "Database schema cannot be upgraded" error message to indicate expected version ( #7079 )
...
* PLT-7223: Updated error message to include relevant schema versions
* PLT-7223: Removed unit test. It poisons database state, and there's no recovery mechanism, because the code under test causes an ungraceful exit, so we can't fix the database in a defer statement. This causes the next test execution or server start to fail.
* PLT-7223: Incorporated @crspeller's suggestions into error message string
2017-08-04 12:44:44 -04:00
Corey Hulen
2dbe30cba3
Adding debugging to index creation ( #7053 )
...
* Adding debugging to index creation
* Fixing debug stmt
* Fixing debug stmt
2017-08-03 14:03:29 -07:00
Joram Wilander
5da5c0bbfb
PLT-6987 User access token UI ( #7007 )
...
* Add user access token UI
* Fix enter press and update mattermost-redux
* Updating UI for access token stuff (#7066 )
* Revert segment key
2017-08-01 11:06:53 -04:00
Saturnino Abril
88f398ffdd
Revert " #4755 Combining consecutive user join/leave system messages to single message and few other changes." ( #7072 )
...
* Revert "PLT-6603: Don't return all posts on invalid query. (#7061 )"
This reverts commit 25a2013890 .
* Revert " #4755 Combining consecutive user join/leave system messages to single message and few other changes. (#5945 )"
This reverts commit 8a91235fb3 .
2017-08-01 08:16:45 -04:00
Debanshu Kundu
8a91235fb3
#4755 Combining consecutive user join/leave system messages to single message and few other changes. ( #5945 )
...
fix 7 and 8
remove @ at "{username} joined the channel"
refactor and update test
2017-08-01 02:17:21 +08:00
Joram Wilander
59992ae4a4
PLT-6763 Implement user access tokens and new roles (server-side) ( #6972 )
...
* Implement user access tokens and new roles
* Update config.json
* Add public post permission to apiv3
* Remove old comment
* Fix model unit test
* Updates to store per feedback
* Updates per feedback from CS
2017-07-31 12:59:32 -04:00
Chris
72f61ab96a
make cli team / channel delete operations also delete webhooks and slash commands ( #7028 )
2017-07-31 11:52:45 -04:00
Christopher Speller
09b49c26dd
PLT-5308 Caching layer part 2 ( #6973 )
...
* Adding Reaction store cache layer example
* Implementing reaction store in new caching system.
* Redis for reaction store
* Adding redis library
* Adding invalidation for DeleteAllWithEmojiName and other minor enhancements
2017-07-31 08:15:23 -07:00
George Goldberg
6c6f2a1138
PLT-6595-Server: Job Management APIs. ( #6931 )
...
* PLT-6595-Server: Job Management APIs.
* MANAGE_JOBS Permission
* Fix test.
2017-07-20 08:25:35 -07:00
Christopher Speller
97f34e483b
Merge branch 'release-4.0'
2017-07-18 15:45:23 -07:00
JoramWilander
b645bd3211
Postgres fix
2017-07-13 15:12:28 -04:00
Harrison Healey
4eed88e0c2
PLT-7092 Fixed creation of PostList with null Posts fields ( #6924 )
2017-07-13 08:12:11 -04:00
JoramWilander
259ad46f30
Minor fix
2017-07-12 16:58:51 -04:00