summaryrefslogtreecommitdiffstats
path: root/api
Commit message (Collapse)AuthorAgeFilesLines
* parallel tests (#7629)Chris2017-10-165-20/+36
|
* Use tmpfs containers for api/api4 tests, move and speed up CLI tests (#7606)Chris2017-10-123-419/+103
| | | | | | | | | | | | * 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
* Miscellaneous app cleanup (#7594)Chris2017-10-092-26/+15
| | | | | | | | | | | | * app cleanup * whoops, forgot a file * some minor cleanup * longer container deadline * defensive checks
* Fix races / finally remove global app for good (#7570)Chris2017-10-041-5/+0
| | | | | | | | | | | | * 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
* PLT-7718 Patch for files (#7564)Joram Wilander2017-10-041-2/+20
| | | | | | | | | | * Patch for files * Fix merge * Fix tests * Fix another test
* PLT-7782 Fix for OAuth (#7566)Joram Wilander2017-10-041-8/+0
| | | | | | * Fix for oauth * Fix test
* Goroutine wranglin (#7556)Chris2017-10-034-9/+14
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* Don't use global app for api / api4 tests (#7528)Chris2017-10-0234-180/+561
| | | | | | | | | | | | | | * don't use global app for api / api4 tests * put sleep back. we're gonna have to do some goroutine wrangling * fix oauth test config assumptions * jobs package, i'm comin' for you next * app test fix * try increasing sleep a little
* PLT-7404 Return viewed at times in view channel API response (#7428)Joram Wilander2017-09-291-1/+1
| | | | | | | | * 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-7684 Add support to outgoing webhooks and slash commands to set post ↵Joram Wilander2017-09-281-0/+10
| | | | | | | | type and props (#7531) * Add support to outgoing webhooks and slash commands to set post type and props * Fix nil access
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-288-31/+10
|
* PLT-7470: Add metrics for searches. (#7507)George Goldberg2017-09-251-0/+12
|
* Move sql store code into store/sqlstore package (#7502)Chris2017-09-251-7/+8
| | | | | | | | | | * move sql store code into store/sqlstore package * move non-sql constants back up to store * fix api test * derp
* remove global refs from api/api4 (#7496)Chris2017-09-2221-340/+349
|
* remove more global refs (#7480)Chris2017-09-212-19/+18
|
* remove einterface gets (#7455)Chris2017-09-193-29/+26
|
* Fixing profile image tag (#7435)Corey Hulen2017-09-192-3/+3
| | | | | | | | * Fixing profile image tag * Fixing unit test * Fixing unit test
* generate web error when opening an invalid public file link (#7475)Saturnino Abril2017-09-191-0/+4
|
* PLT-7539: Remove redundant license checks from CLI commands. (#7451)George Goldberg2017-09-151-106/+57
|
* Fix update SQL query to include refresh token (#7425)Joram Wilander2017-09-141-0/+29
|
* fix plugin test (#7436)Chris2017-09-121-3/+5
| | | | | | | | | | | | * fix plugin test * ugh. global state * Fix plugin test * Fix TestDeleteChannel * Remove plugin config listener when shutting down
* Remove global app references (#7433)Chris2017-09-123-50/+37
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* Disabling oauth testChristopher Speller2017-09-071-2/+2
|
* Adjustments to JenkinsfileChristopher Speller2017-09-071-20/+20
|
* Renaming repoChristopher Speller2017-09-0649-146/+146
|
* Adding jenkinsfile for new build server.Christopher Speller2017-09-062-16/+2
|
* Merge release-4.2Christopher Speller2017-09-064-6/+70
|\
| * Various patchesJoramWilander2017-09-064-6/+70
| |
* | app type transition (#7167)Chris2017-09-0632-430/+436
|/
* Revert "[PLT-7475] Add S3 region to system console and add S3 validation ↵Saturnino Abril2017-09-062-9/+9
| | | | | | | | (#7373)" (#7387) This reverts commit 8d680cf64ec7fb6c8b242b8048989d0f0550cb68. Move to 4.3. Will discuss more if validation is necessary.
* [PLT-7475] Add S3 region to system console and add S3 validation (#7373)Saturnino Abril2017-09-062-9/+9
| | | | | | | | | | * add S3 region to system console and add S3 validation * update translation message * add bool as return value to Validate* functions * update Validate* functions to be pure
* Api: NewLocAppError -> NewAppError (#7280)George Goldberg2017-09-0113-159/+92
|
* Config to make town square read only (#7140)David Meza2017-09-013-2/+64
| | | | | | | | | | | | | | | | | | | | | | * Be able to make Town Square read-only (Disable typing messages for non admins). * Do not emit UserTypingEvent when TownSquareIsReadOnly and is Town Square. * Add unit tests for TownSquareIsReadOnly config value and logic. * Add TownSquareIsReadOnly to System console>Policy. Added Telemetry. * Add control for TownSquareIsReadOnly=true only for License Enterprise Edition E10 & E20. * Update en.json * Update en.json * Update policy_settings.jsx * Change config value from TownSquareIsReadOnly to ExperimentalTownSquareIsReadOnly. * Refactored to simplify. Avoid code repeat and multiple db calls.
* [PLT-5170] Add join the channel system message for the person who created ↵Saturnino Abril2017-08-303-10/+24
| | | | | | | | the channel (#7299) * add join the channel system message for the person who created the channel * update test
* set to default value with config is missing (#7320)Saturnino Abril2017-08-309-40/+40
|
* PLT-5745 Cleaning up duplicate calls (#7298)Corey Hulen2017-08-281-3/+3
| | | | | | | | * PLT-5745 Cleaning up duplicate calls * Fixing missing calls * Fixing broken test
* PLT-???? Prepare file upload infrastructure for Data Retention. (#7266)George Goldberg2017-08-253-14/+51
| | | | | | | | | | | | | | | | | * 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
* Remove temporary cookie code (#7218)Joram Wilander2017-08-181-14/+0
|
* [PLT-3377] Open up a shortcuts dialog instead of printing help text (#7064)Saturnino Abril2017-08-181-14/+1
| | | | | | | | | | | | | | | | | | * open up a shortcuts dialog instead of printing help text * Updating UI for keyboard shortcuts modal * update PR per PLT-7284 * fix typo error * fix mixed up shortcut keys * move to client side * fix shortcuts list, remove unused function and revert server side code for autocompletion * remove quick team switcher
* Merge branch 'release-4.1'Christopher Speller2017-08-173-61/+41
|\
| * PLT-7408 Move webhook handling into api4 package to fix EnableAPIv3 config ↵Joram Wilander2017-08-161-52/+0
| | | | | | | | | | | | | | | | setting (#7219) * Move webhook handling into api4 package to fix EnableAPIv3 config setting * Fix unit test
| * PLT-7336: Fix team API endpoints.George Goldberg2017-08-112-3/+22
| |
| * Minor updates to teamJoramWilander2017-08-082-7/+19
| |
* | PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-1610-160/+160
| | | | | | | | | | | | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* | PLT-1649: add response_url support for custom slash commands (#6739)Chris2017-08-161-2/+1
| | | | | | | | | | | | | | | | | | | | * add response_url support for custom slash commands * pr suggestions * pr update / suggestion * test fix
* | PLT-6358: Server HTTP client improvements (#6980)Chris2017-08-092-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * restrict untrusted, internal http connections by default * command test fix * more test fixes * change setting from toggle to whitelist * requested ui changes * add isdefault diagnostic * fix tests
* | PLT-7206: Remove the "Delete Channel" option for private channels if you're ↵Jonathan2017-08-092-17/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | the last channel member and policy setting restricts channel deletion (#7050) * PLT-7206: UI changes. Removed last user in channel loophole, refactored code to clean it up, added differentiated support for public and private channels, added unit tests. Still need to implement server-side checks * PLT-7206: All helper methods in channel_utils.jsx now accept the same three boolean variables in the same order and use the same boolean logic to check their values. * PLT-7206: Added unit tests for showManagementOptions(...) * PLT-7206: Fixed test case descriptions * Added unit tests for showCreateOption(...) * PLT-7206: Added unit tests for canManageMembers(...) * PLT-7206: Removed last person in channel loophole from server-side code * PLT-7206: Reverted config.json * PLT-7206: Fixed double negatives in unit test names * PLT-7206: PR feedback - Removed confusing comment and unused variable
* PLT-7261 Fixed incorrect content type for preview and thumbnail images (#7119)Harrison Healey2017-08-041-2/+7
|
* PLT-6484 Add /leave command to leave a channel (#6402)David Meza2017-08-031-0/+66
| | | | | | | | | | | | | | | | | | * PLT-6484 Add /leave command to leave a channel * Text changes requeted on review. * PLT-6484 Display the right error message when trying to /leave town-square * PLT-6484 Be able to execute /leave command in direct and group message channels with the same effect as clicking x * PLT-6484 Refactor to create new leave_private_channel_modal.jsx * PLT-6484 Remove previous leave private channel logic to use new leave_private_channel_modal.jsx * Remove dot in command description. Change localized error when leaving Town square. * disable /leave command in reply threads on the right-hand sidebar, since it is not obvious which channel you should leave
* If login is using mobile respond with JSON object (#7030)enahum2017-08-031-5/+11
|