summaryrefslogtreecommitdiffstats
path: root/store
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\
| * Postgres fixJoramWilander2017-07-131-1/+9
| |
| * Minor fixJoramWilander2017-07-122-0/+35
| |
* | PLT-7092 Fixed creation of PostList with null Posts fields (#6924)Harrison Healey2017-07-132-3/+2
| |
* | PLT-6475: Elasticsearch Indexing Worker. (#6879)George Goldberg2017-07-113-0/+111
| |
* | PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-079-352/+685
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit redesigns the jobserver to be based around an architecture of "workers", which carry out jobs of a particular type, and "jobs" which are a unit of work carried by a particular worker. It also introduces "schedulers" which are responsible for scheduling jobs of a particular type automatically (jobs can also be scheduled manually when apropriate). Workers may be run many times, either in instances of the platform binary, or the standalone jobserver binary. In any mattermost cluster, only one instance of platform OR jobserver must run the schedulers. At the moment this is controlled by a config variable, but in future will be controlled through the cluster leader election process.
* | add preparatory upgrade code for 4.1 (#6870)Saturnino Abril2017-07-071-0/+9
|/
* Uncomment upgrade for 4.0 (#6844)Saturnino Abril2017-07-061-5/+3
|
* PLT-6753 Fixed deactivated users counting against max members on a team (#6758)Harrison Healey2017-07-052-2/+24
| | | | | | * PLT-6753 Fixed deactivated users counting against max members on a team * Removed nested sql query when checking the number of team members
* Adding back ping retry (#6810)Corey Hulen2017-07-041-6/+20
|
* Add paging to the GET /emojis endpoint (#6802)Joram Wilander2017-07-033-6/+7
|
* Add some basic sorting support for GET /users endpoint (#6801)Joram Wilander2017-06-303-9/+59
|
* PLT-6909 Remove deleted emojis from cache (#6757)Harrison Healey2017-06-291-1/+5
| | | | | | * PLT-6909 Remove deleted emojis from cache * Fixed unit tests
* Fixed error information being obscured when joining teams with API v4 (#6751)Harrison Healey2017-06-281-2/+2
|
* Stage 1 of caching layer. Framework (#6693)Christopher Speller2017-06-2730-1036/+1235
|
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-261-2/+2
|
* PLT-6759 Show deactivated users in GMs (#6703)Joram Wilander2017-06-221-1/+1
| | | | | | * Show deactivated users in GMs * Fix runtime error when DMing deactivated user
* PLT-6761 fixing unit tests (#6671)Corey Hulen2017-06-195-157/+157
|
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-194-31/+488
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6080 adding cluster discovery service * Adding memberlist lib * Adding memberlist lib * WIP * WIP * WIP * WIP * Rolling back config changes * Fixing make file * Fixing config for cluster * WIP * Fixing system console for clustering * Fixing default config * Fixing config * Fixing system console for clustering * Tweaking hub setting * Bumping up time * merging vendor dir * Updating vendor dir * Fixing unit test * Fixing bad merge * Remove some testing code * Moving comment * PLT-6868 adding db ping retry * Removing unused loc strings * Adding defer to cancel
* Add preparatory upgrade code for 4.0 (#6616)Joram Wilander2017-06-091-0/+10
|