summaryrefslogtreecommitdiffstats
path: root/store
Commit message (Collapse)AuthorAgeFilesLines
* Fix races / finally remove global app for good (#7570)Chris2017-10-041-0/+11
| | | | | | | | | | | | * finally remove global app for good * test compilation fixes * fix races * fix deadlock * wake up write pump so it doesn't take forever to clean up
* Parameterized post ids to avoid possible sql injection (#7575)Jonathan2017-10-041-3/+14
|
* PLT-7218: CLI to move slash commands between teams. (#7574)George Goldberg2017-10-043-0/+59
|
* PLT-7759: Make GetNewestJobByStatusAndType not fail when no jobs match. (#7540)George Goldberg2017-10-022-2/+6
|
* PLT-7404 Return viewed at times in view channel API response (#7428)Joram Wilander2017-09-292-30/+94
| | | | | | | | * 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
* PLT-7644: Improve job scheduler architecture. (#7532)George Goldberg2017-09-283-0/+163
|
* PLT-7207: Change from fulltext to LIKE search for user filtering (#7343)George Goldberg2017-09-273-62/+119
| | | | | | | | | | | | * 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.
* Move sql store code into store/sqlstore package (#7502)Chris2017-09-2551-2679/+2743
| | | | | | | | | | * move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp
* PLT-7619: Cleanup flags in data retention. (#7501)George Goldberg2017-09-223-0/+94
|
* remove more global refs (#7480)Chris2017-09-213-11/+7
|
* Add error codes to the remaining stores (Part 1). (#7461)George Goldberg2017-09-206-81/+87
|
* interactive post update fix (#7477)Chris2017-09-191-0/+2
|
* Add error codes to oauth/post/preference store errors. (#7460)George Goldberg2017-09-193-77/+76
|
* Add error codes to the remaining stores (Part 2). (#7462)George Goldberg2017-09-189-67/+58
|
* Add error codes to user and webhook store errors. (#7459)George Goldberg2017-09-182-70/+68
|
* PLT-7639: Batch delete methods for data retention. (#7444)George Goldberg2017-09-1513-0/+316
|
* remove more global references (#7442)Chris2017-09-1410-141/+152
|
* Fix update SQL query to include refresh token (#7425)Joram Wilander2017-09-141-2/+2
|
* PLT-7556 fixing postgres issue with compliance for master (#7414)Corey Hulen2017-09-121-2/+2
|
* Renaming repoChristopher Speller2017-09-0653-78/+78
|
* add commented 4.3 upgrade func (#7388)Chris2017-09-061-0/+8
|
* app type transition (#7167)Chris2017-09-067-9/+16
|
* Update IsUniqueConstraint to check error codes instead of message text (#7385)Joram Wilander2017-09-066-15/+25
|
* pre 4.2 cut (#7380)Chris2017-09-051-4/+3
|
* Add error codes to SqlChannelStore errors. (#7364)George Goldberg2017-09-041-59/+58
|
* PLT-7497 adding DMs to complinace export (#7353)Corey Hulen2017-09-042-3/+126
|
* [PLT-7385] Add AuthData to IsUniqueConstraintError to indicate duplicated ↵Saturnino Abril2017-09-021-1/+1
| | | | | | | | email entry (#7197) * add AuthData to IsUniqueConstraintError to indicate duplicated email entry * add unique constraint for postgres
* [PLT-7055] Modified code arrangement for compatibility with 32-bit ARM (#7281)Christopher Brown2017-09-011-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* PLT-7515: Fix getAllJobsPage test. (#7329)George Goldberg2017-09-011-3/+4
|
* set to default value with config is missing (#7320)Saturnino Abril2017-08-3010-57/+57
|
* PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)George Goldberg2017-08-253-9/+70
| | | | | | | | | | | | | | | | | * 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
* [PLT-7390] Add Type = 'O' in getting open teams at sql store (#7207)Saturnino Abril2017-08-241-1/+114
| | | | | | * add Type = 'O' in getting open teams at sql store * updated PR
* Fixing race in update channel (#7269)Corey Hulen2017-08-221-1/+1
| | | | | | * Fixing race in update channel * Switching to struct copy
* Ignoring primary key duplication errors on status saveorupdate (#7255)Christopher Speller2017-08-181-1/+4
|
* Merge branch 'release-4.1'Christopher Speller2017-08-172-1/+22
|\
| * Another team updateJoramWilander2017-08-092-1/+22
| |
* | PLT-7302: Aggregate Elasticsearch indexes over a certain age. (#7224)George Goldberg2017-08-172-8/+25
| | | | | | | | | | | | | | | | | | * 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
* | PLT-1649: add response_url support for custom slash commands (#6739)Chris2017-08-166-0/+210
| | | | | | | | | | | | | | | | | | | | * add response_url support for custom slash commands * pr suggestions * pr update / suggestion * test fix
* | add preparatory upgrade code for 4.2 (#7157)Saturnino Abril2017-08-081-0/+9
|/
* uncomment upgrade for 4.1 (#7128)Saturnino Abril2017-08-081-9/+8
|
* PLT-7223: Update "Database schema cannot be upgraded" error message to ↵Jonathan2017-08-041-14/+15
| | | | | | | | | | 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
* Adding debugging to index creation (#7053)Corey Hulen2017-08-031-3/+4
| | | | | | | | * Adding debugging to index creation * Fixing debug stmt * Fixing debug stmt
* PLT-6987 User access token UI (#7007)Joram Wilander2017-08-012-1/+7
| | | | | | | | | | * Add user access token UI * Fix enter press and update mattermost-redux * Updating UI for access token stuff (#7066) * Revert segment key
* Revert " #4755 Combining consecutive user join/leave system messages to ↵Saturnino Abril2017-08-013-62/+2
| | | | | | | | | | | | single message and few other changes." (#7072) * Revert "PLT-6603: Don't return all posts on invalid query. (#7061)" This reverts commit 25a2013890c7e07b4621fa9b18342e7f35363049. * Revert " #4755 Combining consecutive user join/leave system messages to single message and few other changes. (#5945)" This reverts commit 8a91235fb3cdc8d094dbc2eaa0d7baa447132b3c.
* #4755 Combining consecutive user join/leave system messages to single ↵Debanshu Kundu2017-08-013-2/+62
| | | | | | | | | message and few other changes. (#5945) fix 7 and 8 remove @ at "{username} joined the channel" refactor and update test
* PLT-6763 Implement user access tokens and new roles (server-side) (#6972)Joram Wilander2017-07-316-20/+390
| | | | | | | | | | | | | | | | * 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
* make cli team / channel delete operations also delete webhooks and slash ↵Chris2017-07-315-3/+147
| | | | commands (#7028)
* PLT-5308 Caching layer part 2 (#6973)Christopher Speller2017-07-3110-331/+525
| | | | | | | | | | | | * 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
* PLT-6595-Server: Job Management APIs. (#6931)George Goldberg2017-07-203-14/+101
| | | | | | | | * PLT-6595-Server: Job Management APIs. * MANAGE_JOBS Permission * Fix test.
* Merge branch 'release-4.0'Christopher Speller2017-07-182-0/+43
|\