summaryrefslogtreecommitdiffstats
path: root/api/post.go
Commit message (Collapse)AuthorAgeFilesLines
* PLT-3462 Add the ability to clear push notifications after channel is viewed ↵Joram Wilander2016-08-311-65/+97
| | | | | | | | (#3834) * Add the ability to clear push notifications after channel is viewed * Fix race condition between updating the mention count and reading it when sending push notifications
* PLT-1527 Add a slash command to set yourself away (#3752)Dmitri Aizenberg2016-08-311-3/+3
| | | | | | | | | | | | | | * added handlers for slash commands * added manual status persistance * added tests * removed extra debug output and comments * rebase - fixing the PR * making echo messages after slash commands ephemeral
* Revert/Fix PLT-2805 (#3873)David Lu2016-08-291-41/+52
|
* Add channel name on email notification. (#3824)Sang Jun Lee2016-08-241-11/+29
|
* Add notification settings to control what statuses allow push notifications ↵Joram Wilander2016-08-231-5/+20
| | | | (#3829)
* Prevent flagging of deleted posts and don't show deleted posts in flagged ↵Joram Wilander2016-08-221-0/+8
| | | | post list (#3846)
* Refactored CreatePost to not use context (#3813)David Lu2016-08-191-54/+42
|
* PLT-3955/PLT-3956 Fixing issues with mentions (#3820)Harrison Healey2016-08-181-14/+16
| | | | | | * PLT-3955 Fixed @here sending push notifications to people not in the channel * PLT-3956 Fixed mention numbers not being incremented
* PLT-3647 Email Batching (#3718)Harrison Healey2016-08-161-28/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-3647 Added config settings for email batching * PLT-3647 Refactored generation of email notification * PLT-3647 Added serverside code for email batching * PLT-3647 Updated settings UI to enable email batching * PLT-3647 Removed debug code * PLT-3647 Fixed 0-padding of minutes in batched notification * PLT-3647 Updated clientside UI for when email batching is disabled * Go fmt * PLT-3647 Changed email batching to be disabled by default * Updated batched email message * Added email batching toggle to system console * Changed Email Notifications > Immediate setting to a 30 second batch interval * Go fmt * Fixed link to Mattermost icon in batched email notification * Updated users to use 30 second email batching by default * Fully disabled email batching when clustering is enabled * Fixed email batching setting in the system console * Fixed casing of 'Send Email notifications' -> 'Send email notifications' * Updating UI Improvements for email batching (#3736) * Updated text for notification settings and SiteURL. * Prevented enabling email batching when SiteURL isn't set in the system console * Re-added a couple debug messages * Added warning text when clustering is enabled
* Refactored mention parsing and added unit tests (#3806)Harrison Healey2016-08-161-151/+164
|
* Changed autodetection of SiteURL (#3764)Harrison Healey2016-08-091-0/+1
| | | | | | * Changed autoconfiguration of SiteURL to be done on every request * Added SiteURL to system console
* Fix garbled mail subject (#3694)MARUYAMA Takayuki2016-08-041-1/+1
| | | | | | * Fix garbled mail subject * Notification email subject including full month
* PLT-3506 Added flagged posts functionality (#3679)Joram Wilander2016-08-041-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added flagged posts functionality * UI Improvements to flags (#3697) * Added flag functionality for mobile * Updating flagged text (#3699) * Add back button to RHS thread when coming from flagged posts * Updating position of flags (#3708) * Plt 3506 - Reverting flag position (#3724) * Revert "Updating position of flags (#3708)" This reverts commit aaa05632c5d9eda35a048300a5bd7e99584c5b58. * Fixing the icon in search * Help text and white space improvements (#3730) * Updatng help text and some white spacing. * Updating help text
* PLT-3408 Add SiteURL to config.json (#3692)Harrison Healey2016-08-021-1/+0
| | | | | | | | * PLT-3408 Changed serverside code to get the service's URL from config.json * PLT-3408 Changed most clientside code to use the SiteURL config setting instead of window.location * PLT-3408 Changed default SiteURL to be autodetected
* Add option to trigger outgoing webhook if first word starts with trigger ↵Pierre Rudloff2016-07-261-4/+11
| | | | word (#3611)
* PLT-2408 Adds here mention for online users (#3619)Joram Wilander2016-07-211-7/+38
| | | | | | | | | | * Added @here mention that notifies online users * Fixed existing race condition that would sometime cause clients to miss mention count changes * Added missing localization strings * Prevent @here from mentioning the user who posted it
* PLT-914 Add mention notifications for replies on a comment thread (#3130)samogot2016-07-191-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PLT-914 Add mention notifications for replies on a comment thread * remove useless store method fix highlighting comments posted before th user write something to thread * refactor out isCommentMention function after rebase * change comment bar highlighting to replay icon mention highlighting * settings and always visible highlight * fix unit tests for new settings * change highlight behaviour - if any message in comment thread generates mention - all thread is highlighted - remove always visible highlightion * fix bug about the textarea in the center channel not clearing * fix default settings value notify_props.comments * do not highlight own comments if there is no other user's messages in thread * refactor out ReactDOM.findDOMNode * refactor out using of UserStore from component
* PLT-2241 Refactored statuses into a more real-time system (#3573)Joram Wilander2016-07-181-1/+7
| | | | | | | | | | * Refactored statuses into a more real-time system * Updated package.json with correct commit and fixed minor bug * Minor updates to statuses based on feedback * When setting status online, update only LastActivityAt if status already exists
* Added infrastructure for basic WebSocket API (#3432)Joram Wilander2016-07-121-6/+6
|
* Fix connection leaks in push notifications, diagnostics and oauth (#3469)Joram Wilander2016-07-061-1/+4
|
* Changing email notifications to use permalinks (#3399)Christopher Speller2016-06-281-1/+1
|
* Make sure profile is not nil when assigning in sendNotifications (#3395)Joram Wilander2016-06-211-1/+3
|
* Fixed @all not working as intended (#3335)David Lu2016-06-151-6/+2
|
* System messages trigger notifications when user is mentioned (#3235)Joram Wilander2016-06-061-24/+23
|
* PLT-2990 Clicking on a desktop notification from another team opens the team ↵enahum2016-06-061-0/+1
| | | | (#3253)
* PLT-2994 Added @all (#3233)David Lu2016-06-041-4/+4
| | | | | | * Added @all * Uncomment @all server side
* Don't allow users to be added to a channel they are not in the team of (#3246)Joram Wilander2016-06-041-1/+4
|
* Close HTTP response bodies properly in golang driver (and some api ↵Joram Wilander2016-06-021-0/+5
| | | | functions) (#3217)
* PLT-2170 Send payload in application/json for outgoing webhooks (#3160)Thomas Balthazar2016-05-311-30/+28
| | | | | | | | | | | | | | | * 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 websocket event for system message posts (#3162)Joram Wilander2016-05-311-15/+17
|
* Send Post ID in webhooks (#3120)Thomas Balthazar2016-05-261-0/+2
|
* PLT-2664 Split out push notifications from email notifications (#3049)Joram Wilander2016-05-191-177/+206
| | | | | | | | * Split out push and email notification logic, always send push notifications on mention * Add user setting to control push notifications * Minor changeto simplify code
* Move away from the "andForget" style of function (#3046)Thomas Balthazar2016-05-181-185/+174
| | | | | This is the second and last part of the refactoring. First part is documented here: https://github.com/mattermost/platform/pull/3043
* PLT-1909 Removed the ability to edit system posts (#3013)Harrison Healey2016-05-171-0/+6
| | | | | | * Removed the ability to edit system posts * Added increased timeout to SpinnerButton unit tests
* Fix parsing attachment field links into markdown (#2958) (#2959)thoemy2016-05-121-4/+4
| | | Field contents are stored in 'value' not 'text'.
* Recent mention searches now OR terms instead of AND (#2931)Joram Wilander2016-05-091-2/+9
|
* Port HPNS from 2.2 to master (#2863)Joram Wilander2016-05-031-43/+48
|
* PLT-2687 sending email on upgrade and moving profile pic to new location (#2808)Corey Hulen2016-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Fixing CLI and adding unit tests * Adding the upgrade_db_30 to the help text * Adding the upgrade_db_30 to the help text * Adding the upgrade_db_30 to the help text * Fixing CLI tests * PLT-2687 sending email on upgrade and moving profile pic to new location * Fixing img move * Fixing moving of profile image * making upgrade email localizable * Fixing email template
* Fixing permalinks to channels your not a memeber of (#2805)Christopher Speller2016-04-271-0/+48
|
* Use any whitespace as a demlimter when checking for outgoing webhook ↵Joram Wilander2016-04-261-1/+7
| | | | triggers (#2801)
* PLT-2057 User as a first class object (#2648)Corey Hulen2016-04-211-41/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Send notifications to the creator of a posting webhookJoramWilander2016-04-041-1/+1
|
* Update webhook posts to never show in collapsed viewJoramWilander2016-03-311-2/+0
|
* Option to enable full snippets in push notificationsElias Nahum2016-03-171-4/+21
|
* Convering client to react-router.Christopher Speller2016-03-141-3/+4
|
* Deleting posts with files now renames the file so that public links to those ↵JoramWilander2016-03-081-0/+18
| | | | files no longer work
* Fix for PLT-2218 & PLT-2222Elias Nahum2016-03-061-2/+2
| | | | | - Also includes missing loc strings for frontend es.json - Sort web [locale].json by id
* Fixing IE expire issue=Corey Hulen2016-02-111-1/+0
|
* Make insecure TLS connections configurableJoramWilander2016-02-051-3/+5
|
* Accept unsigned TLS certs for SSO and outgoing hooks, also fix delete hooks bugJoramWilander2016-02-051-1/+6
|