summaryrefslogtreecommitdiffstats
path: root/store
Commit message (Collapse)AuthorAgeFilesLines
* refactor max users per team (#7691)Chris2017-10-206-122/+118
|
* refactor max channels per team enforcement (#7690)Chris2017-10-207-103/+120
|
* [PLT-7794] Add user access token enable/disable endpoints (#7630)Nick Frazier2017-10-194-4/+109
| | | | | | | | | | | | * Add column to UserAccessTokens table * PLT-7794 Add user access token enable/disable endpoints * replaced eliminated global variable * updates to user_access_token_store and upgrade.go * style fix and cleanup
* Use tmpfs containers for api/api4 tests, move and speed up CLI tests (#7606)Chris2017-10-122-5/+2
| | | | | | | | | | | | * use tmpfs containers for api/api4, move and speed up cli tests * minor optimizations * add missing files, fix pre-existing race condition * add . to TestMain check * add requested log message
* [PLT-7764] Fix in:channel search when channel name/displayname includes `-` ↵Saturnino Abril2017-10-113-47/+159
| | | | | | | | | | (#7603) * fix in:channel search when channel name/displayname includes `-` * fix failing test in PostgreSQL * add lowercase indexes of channel's name and displayname to postgresql, and add unit tests
* Miscellaneous app cleanup (#7594)Chris2017-10-093-7/+12
| | | | | | | | | | | | * app cleanup * whoops, forgot a file * some minor cleanup * longer container deadline * defensive checks
* store/sqlstore cleanup and postgres tests (#7595)Chris2017-10-0916-96/+322
| | | | | | | | | | * sqlstore cleanup / postgres tests * remove stopped containers * cmd/platform compile fix * remove test-postgres target from makefile
* store/storetest package (#7588)Chris2017-10-0646-11071/+11095
| | | | | | * prerequisites * storetest package
* fix GetPostsByIds error (#7591)Chris2017-10-061-1/+1
|
* reduce store boiler plate (#7585)Chris2017-10-0635-3269/+589
|
* post-4.3 commit (#7581)Chris2017-10-051-0/+9
|
* 4.3 pre-cut (#7569)Chris2017-10-041-4/+4
| | | | | | * 4.3 pre-cut * fix
* 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