summaryrefslogtreecommitdiffstats
path: root/api4
Commit message (Collapse)AuthorAgeFilesLines
* fix dm custom slash command regression (#7008)Chris2017-07-251-1/+7
|
* PLT-6595-Server: Job Management APIs. (#6931)George Goldberg2017-07-203-38/+234
| | | | | | | | * PLT-6595-Server: Job Management APIs. * MANAGE_JOBS Permission * Fix test.
* PLT-6760 Allowed TestUploadFile to pass when http client errors (#6985)Harrison Healey2017-07-201-1/+4
|
* PLT-6595: API to purge Elasticsearch indexes. (#6971)George Goldberg2017-07-192-0/+26
|
* Merge branch 'release-4.0'Christopher Speller2017-07-187-49/+101
|\
| * PLT-6983 Allowed team invite IDs of arbitrary lengths to match API v3 (#6944)Harrison Healey2017-07-152-4/+11
| |
| * Fixed downloading of image files (#6934)Harrison Healey2017-07-151-31/+62
| | | | | | | | | | | | | | | | | | | | * Fixed downloading of image files * Fixed captitalization * Fixed missing import * Rename image to media
| * PLT-7025: Fix Slack Import API. (#6905)George Goldberg2017-07-122-5/+11
| |
| * Redirect OAuth SSO errors to error page (#6898)Joram Wilander2017-07-111-3/+9
| |
| * Minor status updates (#6889)Joram Wilander2017-07-111-0/+2
| |
| * Fixing error in apiv4 flagged posts route (#6880)Christopher Speller2017-07-091-2/+2
| |
| * Minor fixJoramWilander2017-07-062-5/+5
| |
* | [PLT-6676] Make OutgoingWebhook to fire when post has no text content but ↵Saturnino Abril2017-07-181-0/+156
| | | | | | | | | | | | | | | | only attachment (#6935) * make OutgoingWebhook to fire when post has no text content but only attachment * update per comment and modify payload & test
* | Add optional config parameter to test elasticsearch endpoint. (#6877)George Goldberg2017-07-071-1/+6
| |
* | PLT-6916: Redesign the jobs package and Jobserver. (#6733)George Goldberg2017-07-072-22/+22
|/ | | | | | | | | | | | | | 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.
* [PLT-6838] Restrict channel delete option per permission policy even for ↵Saturnino Abril2017-07-052-14/+20
| | | | | | | | | | last channel member (#6706) * channel delete option is hidden from the menu unless there is appropriate permissions as set in the policy page * apply to public channel only and add restriction to API layer * updated channel deletion
* Add paging to the GET /emojis endpoint (#6802)Joram Wilander2017-07-032-3/+10
|
* Add some basic sorting support for GET /users endpoint (#6801)Joram Wilander2017-06-302-7/+83
|
* [PLT-5864] Move teammate name display setting to the System Console (#6681)Saturnino Abril2017-06-301-1/+2
| | | | | | | | | | * move teammate name display setting to the system console * update all the likes of TeammateNameDisplay names * fix gofmt error * rebase and fix conflict
* PLT-6474: Server: Add elasticsearch/test endpoint to API. (#6792)George Goldberg2017-06-293-0/+56
|
* Add /help slash command (#6650)Jaehyun, Park2017-06-291-0/+33
| | | | | | | | | | | | | | | | * Add /help slash command * Fix copyright year * go fmt * Add help command test at api4 * Fix jasonblais's issue * Update test code * Fix unit test issue - keep config unchanged
* [PLT-5639] Show a message when invited addresses are blocked (#6691)Pieter Lexis2017-06-291-0/+16
| | | | | | | | | | | | | | | | * Show a message when invited addresses are blocked When using the "Send Email Invite" functionality. Emails were sent to domains that were not on the `RestrictCreationToDomains` list. This would lead to users getting a message that they can't create an account if they follow the link in the email. This commit will check the email addresses before the mails are sent and warn the user typing them in which ones are blocked. * Add unit test for domain restrictions on invite * Invite Member: Clear serverError on toggle
* PLT-6909 Remove deleted emojis from cache (#6757)Harrison Healey2017-06-291-4/+4
| | | | | | * PLT-6909 Remove deleted emojis from cache * Fixed unit tests
* Make sure to log errors when failing to send emails (#6754)Joram Wilander2017-06-281-2/+2
|
* PLT-6931 Properly parse request body in post search (#6768)Joram Wilander2017-06-281-8/+4
| | | | | | * Properly parse request body in post search * Update driver to use correct body
* Fixed error information being obscured when joining teams with API v4 (#6751)Harrison Healey2017-06-283-13/+4
|
* Fixing mean request time (#6760)Corey Hulen2017-06-261-1/+1
|
* fix permission app error with updatePost (#6749)Saturnino Abril2017-06-262-0/+6
|
* PLT-6815 Do not disconnect websocket when joining a team (#6746)Joram Wilander2017-06-262-8/+8
| | | | | | * Do not disconnect websocket when joining a team * Fix eslint error
* Move remaining actions over to use redux and v4 endpoints (#6720)Joram Wilander2017-06-267-45/+140
|
* Fix panic in v4 client (#6704)Joram Wilander2017-06-211-1/+1
|
* fix intermittent failure of TestGetPostsForChannel on CI server (#6702)Saturnino Abril2017-06-201-3/+5
|
* Setting per-paging for logs to load 10K initially like the old apis (#6697)Corey Hulen2017-06-201-8/+8
| | | | | | * Setting per-paging for logs to load 10K initially like the old apis * Fixing unit test
* Add GET /teams/invite/{invite_id} endpoint for v4 (#6685)Joram Wilander2017-06-204-0/+62
|
* Add GET /analytics/old endpoint for v4 (#6666)Joram Wilander2017-06-192-0/+71
|
* Move integrations over to redux and v4 (#6679)Joram Wilander2017-06-191-7/+11
|
* Add POST and DELETE /license endpoints for v4 (#6665)Joram Wilander2017-06-192-0/+112
| | | | | | * Add POST and DELETE /license endpoints for v4 * Fix comment text
* PLT-6761 fixing unit tests (#6671)Corey Hulen2017-06-191-8/+8
|
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-192-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* PLT-6678 Change Cache-Control to private for files (#6660)Harrison Healey2017-06-161-1/+1
|
* Merge release-3.10 into master (#6654)Joram Wilander2017-06-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-6787 Fixed being able to send a post before files finished uploading (#6617) * Fix quick switcher for channels/users not stored locally (#6610) * Fix button text on confirm mention modal (#6609) * fix post delete permission of channel admin (#6608) * open comment thread for the most recent reply-able message (#6605) * Use mutex flag with yarn to prevent concurrent builds interfering (#6619) * Use mutex flag with yarn to prevent concurrent builds interfering * Remove yarn mutex file with clean * Minor bug fixes (#6615) * PLT-6774 - Fixing color for offline icon * PLT-6784 - Fixing status icon * Fixing icon margin * Updating caret position * PLT-6070 Have ChannelMentionProvider stop searching after a term returns no results (#6620) * Fixing JS error (#6623) * Minor bug fixes (#6622) * PLT-6808 - Updating channel switcher on mobile * PLT-6743 - Updating scrollbar styling * Login instead of failing if user exists in OAuth sign-up flow (#6627) * PLT-6802 Disable team switcher (#6626) * Disable team switcher * Fix ESLint errors * PLT-6807 Ensured select teams page can scroll on iOS (#6630) * Do not redirect from account switch pages on 401 (#6631) * Fixing loadtest command and renaming to /test (#6624) * PLT-6820 Update mattermost-redux dependency (#6632) * translations PR 20170612 (#6629) * Bump HTTP client timeout to 30 seconds (#6633) * For team unreads return empty array instead of null (#6636) * PLT-6831 Fix status modal localization IDs (#6637) * Fix status modal localization IDs * Update test snapshot
* Add APIv4 endpoint to permanently delete teams (#6604)Zeger-Jan van de Weg2017-06-153-3/+47
| | | | | Tests are added, however, it only tests the property if its soft deleted. In the background it will be hard deleted, but that is untestable through a integration test.
* add stop server to API 4 tests (#6638)Saturnino Abril2017-06-142-0/+15
|
* PLT-6657 Move system console to use v4 endpoints and redux (#6572)Joram Wilander2017-06-145-21/+14
| | | | | | | | | | | | * Move system console to use v4 endpoints and redux * Rename logs dir to get past gitignore * Fix test email * Update brand unit test * Updates per feedback
* [PLT-5465/APIV4] GET /system/health - Improve ping health check to have ↵Carlos Tadeu Panato Junior2017-05-302-6/+32
| | | | | | | | | | limits (#6331) * implement PLT-5465 - Improve ping health check to have limits * update /ping and delete /health * remove permission check
* Support AWS Signature V2 for Mattermost for S3 storage. (#6462)Harshavardhana2017-05-301-1/+9
| | | | | | | Certain S3 compatible servers only use Legacy Signature (AWS Signature V2), current code only supports signature v4. This PR adds facility to click a button on the UI to enable legacy signature with S3 compatible servers.
* Adding short unit tests by default (#6494)Christopher Speller2017-05-251-0/+4
|
* PLT-6471 Properly panic when translations can't be loaded (#6414)Harrison Healey2017-05-232-2/+4
| | | | | | | | | | * PLT-6471 Properly panic when translations can't be loaded * Print usage messages when errors occur during CLI initialization * Reverted behaviour of FindDir and added second return value to it * Fixed merge conflict
* PLT-6408 Framework for job server (#6404)Harrison Healey2017-05-185-0/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added initial job server * Added job server to be ran as part of platform * Added test job to the enterprise repo * Fixed job server not loading license * Renamed job package to jobs * Fixed TE not being buildable * Added JobStatus table to database * Changed fields used by JobStatus * Added APIs to query job status * Added config change listener to server * Added option to run job server from Makefile * Added ability to enable/disable jobs from config * Commented out placeholder for search indexing job * Fixed govet * Removed debug messages and fixed job api init message
* Ability to use OAuth login from mobile (#6432)enahum2017-05-171-5/+28
|