summaryrefslogtreecommitdiffstats
path: root/app/status.go
Commit message (Collapse)AuthorAgeFilesLines
* Structured logging (#8673)Christopher Speller2018-04-271-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implementing structured logging * Changes to en.json to allow refactor to run. * Fixing global logger * Structured logger initalization. * Add caller. * Do some log redirection. * Auto refactor * Cleaning up l4g reference and removing dependancy. * Removing junk. * Copyright headers. * Fixing tests * Revert "Changes to en.json to allow refactor to run." This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026. * Fixing some auto refactor strangeness and typo. * Making keys more human readable.
* Add Auto Responder handler (#8386)Stan Chan2018-04-121-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WIP Out Of Office Return error for status command if user status is OOO Ignore notifications if Out Of Office Disable AutoResponder if status is set to online Add test for AutoResponder DisableAutoResponse when manually setting status Remove check on status slash command return early if user does not exists in SendAutoResponse method Add proper error handling Add a newline after error handling Revert back to err == nil in api4/status.go Remove a.Go when using a.Publish Add name consistency with the feature auto responder Last changes for name consistency, also fix failing test with auto_responder Fix names of functions in auto responder test Add ExperimentalEnableAutomaticReplies flag Auto Responder reply to a post
* MM-9274- Sort Users in Channel by status (#8181)Stephen Kiers2018-03-091-22/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sort by lastActivity * added status ordering to Users * sort offline before dnd * remove data not needed * added seperate call for when order=‘status’ is on GetUser request * remove PrintLn * styling fix * remove mistake * mistake 2 * better comment * explicit if statemnt * writing tests * removed manually added mocks * generated mock * ICU-668 Added unit tests * style fix * sort by lastActivity * added status ordering to Users * sort offline before dnd * remove data not needed * added seperate call for when order=‘status’ is on GetUser request * remove PrintLn * styling fix * remove mistake * mistake 2 * better comment * explicit if statemnt * writing tests * removed manually added mocks * generated mock * ICU-668 Added unit tests * style fix * reverse dnd and offline * Fixed app.SaveStatusAndBroadcast * Fixed incorrect merge * Fixing incorrect merge again
* remove `go Publish(...)` idiom (#8373)Chris2018-03-021-12/+4
|
* more global config ref cleanup (#7802)Chris2017-11-091-5/+5
|
* [PLT-4341] add dnd command (#7694)Carlos Tadeu Panato Junior2017-10-251-0/+28
|
* Reduce utils.Cfg references (#7650)Chris2017-10-181-6/+6
| | | | | | | | | | | | * app.UpdateConfig method * test fix * another test fix * the config override option as-was is just error prone, remove it for now * derp
* Goroutine wranglin (#7556)Chris2017-10-031-3/+9
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-5/+5
|
* remove einterface gets (#7455)Chris2017-09-191-13/+12
|
* Renaming repoChristopher Speller2017-09-061-4/+4
|
* app type transition (#7167)Chris2017-09-061-16/+16
|
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-191-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Send status change event if status changes on channel view (#6389)Joram Wilander2017-05-111-4/+8
|
* Detach session activity update from statuses (#6379)Joram Wilander2017-05-101-5/+0
|
* Add config setting to disable statuses (#6254)Joram Wilander2017-04-281-0/+28
|
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* Implement POST /users/status/ids for apiv4 (#5894)Carlos Tadeu Panato Junior2017-03-301-0/+1
|
* [APIV4] GET /users/{user_id}/status - user status endpoint for apiV4 (#5824)Carlos Tadeu Panato Junior2017-03-241-0/+53
|
* Fix push notifications where channel is set to all activity (#5594)enahum2017-03-021-18/+0
| | | | | | | | | | | | * Fix push notifications where channel is set to all activity * feedback review * moved push notification logic to DoesStatusAllowPushNotification * Have every option handled in ShouldSendPushNotification * unit tests
* Adding go vet from hack-a-thon (#5328)Corey Hulen2017-02-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | * Adding go vet to the api package * Adding go vet to app package * Adding go vet to manualtesting package * Adding go vet to the model package * Adding go vet to the store dir * Adding go vet to utils package * Adding missing dirs with go files * Fixing up makefile * Fixing up makefile * Removing root dir
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+255
* Add app package and move logic over from api package * Change app package functions to return errors * Move non-api tests into app package * Fix merge