summaryrefslogtreecommitdiffstats
path: root/api/post_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Add a wait condition in outgoing webhook test to prevent race condition (#3177)Joram Wilander2016-05-311-0/+5
|
* PLT-2170 Send payload in application/json for outgoing webhooks (#3160)Thomas Balthazar2016-05-311-58/+64
| | | | | | | | | | | | | | | * Send payload in application/json for outgoing webhooks The Add outgoing webhook UI now has a 'Content-Type' field that allows to choose between application/x-www-form-urlencoded and application/json. All outgoing webhooks created before this change will be considered as x-www-form-urlencoded. There's also a minor change in the way the outgoing webhook summary is displayed: the 'Callback URLs' label was missing. * Fix JS formatting errors * Increase ContentType field length to 128
* Send Post ID in webhooks (#3120)Thomas Balthazar2016-05-261-3/+134
|
* PLT-1909 Removed the ability to edit system posts (#3013)Harrison Healey2016-05-171-0/+11
| | | | | | * Removed the ability to edit system posts * Added increased timeout to SpinnerButton unit tests
* Recent mention searches now OR terms instead of AND (#2931)Joram Wilander2016-05-091-24/+30
|
* PLT-2258 Unified login screen and related APIs (#2820)Harrison Healey2016-05-031-3/+3
| | | | | | | | | | | | | | | | | | | | * Unified login screen and related APIs * Refactored login API call to be less convoluted * Removed LDAP login prompt from invite process * Fixed existing LDAP users being able to log in if LDAP was configured, but disabled * Gofmt * Future proofed login API * Updated login APIs based on feedback * Added additional auditing to login API * Actually removed loginById
* Fixed typo (#2862)Arif Usman2016-05-031-3/+3
|
* PLT-2057 User as a first class object (#2648)Corey Hulen2016-04-211-284/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding TeamMember to system * Fixing all unit tests on the backend * Fixing merge conflicts * Fixing merge conflict * Adding javascript unit tests * Adding client side unit test * Cleaning up the clint side tests * Fixing msg * Adding more client side unit tests * Adding more using tests * Adding last bit of client side unit tests and adding make cmd * Fixing bad merge * Fixing libraries * Updating to new client side API * Fixing borken unit test * Fixing unit tests * ugg...trying to beat gofmt * ugg...trying to beat gofmt * Cleaning up remainder of the server side routes * Adding inital load api * Increased coverage of webhook unit tests (#2660) * Adding loading ... to root html * Fixing bad merge * Removing explicit content type so superagent will guess corectly (#2685) * Fixing merge and unit tests * Adding create team UI * Fixing signup flows * Adding LDAP unit tests and enterprise unit test helper (#2702) * Add the ability to reset MFA from the commandline (#2706) * Fixing compliance unit tests * Fixing client side tests * Adding open server to system console * Moving websocket connection * Fixing unit test * Fixing unit tests * Fixing unit tests * Adding nickname and more LDAP unit tests (#2717) * Adding join open teams * Cleaning up all TODOs in the code * Fixing web sockets * Removing unused webockets file * PLT-2533 Add the ability to reset a user's MFA from the system console (#2715) * Add the ability to reset a user's MFA from the system console * Add client side unit test for adminResetMfa * Reorganizing authentication to fix LDAP error message (#2723) * Fixing failing unit test * Initial upgrade db code * Adding upgrade script * Fixing upgrade script after running on core * Update OAuth and Claim routes to work with user model changes (#2739) * Fixing perminant deletion. Adding ability to delete all user and the entire database (#2740) * Fixing team invite ldap login call (#2741) * Fixing bluebar and some img stuff * Fix all the different file upload web utils (#2743) * Fixing invalid session redirect (#2744) * Redirect on bad channel name (#2746) * Fixing a bunch of issue and removing dead code * Patch to fix error message on leave channel (#2747) * Setting EnableOpenServer to false by default * Fixing config * Fixing upgrade * Fixing reported bugs * Bug fixes for PLT-2057 * PLT-2563 Redo password recovery to use a database table (#2745) * Redo password recovery to use a database table * Update reset password audits * Split out admin and user reset password APIs to be separate * Delete password recovery when user is permanently deleted * Consolidate password resetting into a single function * Removed private channels as an option for outgoing webhooks (#2752) * PLT-2577/PLT-2552 Fixes for backstage (#2753) * Added URL to incoming webhook list * Fixed client functions for adding/removing integrations * Disallowed slash commands without trigger words * Fixed clientside handling of errors on AddCommand page * Minor auth cleanup (#2758) * Changed EditPostModal to just close if you save without making any changes (#2759) * Renamed client -> Client in async_client.jsx and fixed eslint warnings (#2756) * Fixed url in channel info modal (#2755) * Fixing reported issues * Moving to version 3 of the apis * Fixing command unit tests (#2760) * Adding team admins * Fixing DM issue * Fixing eslint error * Properly set EditPostModal's originalText state in all cases (#2762) * Update client config check to assume features is defined if server is licensed (#2772) * Fixing url link * Fixing issue with websocket crashing when sending messages to different teams
* Removed search test case where MySQL and PostgreSQL didn't agreeJoramWilander2016-03-181-4/+0
|
* Reworked the code for sending notifications and checking for out of channel ↵hmhealey2016-02-041-5/+31
| | | | mentions to share some data
* Changed out of channel mention tests to use proper email addresseshmhealey2016-02-041-6/+7
|
* Added serverside check for a post that @mentions someone who isn't in the ↵hmhealey2016-02-041-0/+68
| | | | channel
* Fixing email unit tests=Corey Hulen2016-02-011-20/+20
|
* Updated search test casesJoramWilander2016-01-271-4/+10
|
* Update search query to ignore system messagesJoramWilander2016-01-261-8/+6
|
* Revert " PLT-7 adding loc for db calls"Corey Hulen2016-01-201-22/+22
|
* PLT-7 adding loc db calls for users table=Corey Hulen2016-01-201-21/+21
|
* PLT-7 adding loc for db calls audits and prefs=Corey Hulen2016-01-201-1/+1
|
* Updated emails in unit tests to include '+'Reed Garmsen2015-12-131-20/+20
|
* Moved logic for making direct channels visible to both members on post to ↵hmhealey2015-12-071-0/+48
| | | | the server
* Changed post searching to ignore requests to return everything by searching ↵hmhealey2015-11-041-0/+4
| | | | for *
* Adding ability to fetch posts around a specifc postChristopher Speller2015-11-031-0/+77
|
* Moved logic for searching for posts by multiple users/channels into the sql ↵hmhealey2015-10-261-0/+3
| | | | query
* Changed post searching to allow searching by multiple users/channelshmhealey2015-10-231-1/+36
|
* Added from:, in:, and channel: search modifiershmhealey2015-10-191-0/+122
|
* Changing SpinPunch to Mattermost in copyrightChristopher Speller2015-10-081-1/+1
|
* Adding team settings to admin console=Corey Hulen2015-09-221-92/+0
|
* Implement OAuth2 service provider functionality.JoramWilander2015-09-161-2/+2
|
* Merge pull request #486 from asubset/masterJoram Wilander2015-08-281-2/+2
|\ | | | | Fix getParentsPosts() query
| * fix GetParentPosts() queryJason Rossman2015-08-271-2/+2
| |
* | Refactored post handling/updating on both the client and server.JoramWilander2015-08-271-0/+70
|/
* Merge branch 'master' into mm-1420=Corey Hulen2015-07-221-1/+1
|\
| * fixed unit tests to work with team domain changes and update partial url ↵JoramWilander2015-07-211-1/+1
| | | | | | | | regex for files
| * Fixing issues with files trasitioning to relative pathsChristopher Speller2015-07-211-1/+1
| |
* | fixing merge conflicts=Corey Hulen2015-07-211-43/+55
|\|
| * Changing the way we mattermost handles URLs. team.domain.com becomes ↵Christopher Speller2015-07-201-28/+28
| | | | | | | | | | | | | | domain.com/team. Renaming team.Name to team.DisplayName and team.Domain to team.Name. So: team.Name -> url safe name. team.DisplayName -> nice name for users
| * Renamed FullName column in database to Nickname. Renamed all serverside ↵hmhealey2015-07-171-16/+16
| | | | | | | | references from FullName to Nickname.
| * removed testing materialnickago2015-07-161-1/+0
| |
| * removed testing materialnickago2015-07-161-4/+0
| |
| * Check your credentials from sessionnickago2015-07-161-0/+5
| |
| * Team admin can now delete any postnickago2015-07-141-1/+13
| |
* | minor tweaks to make sure mysql still runs=Corey Hulen2015-07-121-0/+1
|/
* Fixing unit tests=Corey Hulen2015-07-061-15/+16
|
* fixing race condition in unit tests=Corey Hulen2015-07-051-15/+15
|
* move valet feature switch to DB from configJoramWilander2015-06-171-1/+1
|
* remove useless lineJoramWilander2015-06-151-1/+0
|
* update unit testJoramWilander2015-06-151-45/+54
|
* first commit=Corey Hulen2015-06-141-0/+566