summaryrefslogtreecommitdiffstats
path: root/app/web_conn.go
Commit message (Collapse)AuthorAgeFilesLines
* Migrate to idiomatic error handling in app/web_conn.go (#9709)Hanzei2018-10-191-23/+14
|
* Pr 9039 (#9187)Martin Kraft2018-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * MM-11065: Allow to search and get archived channels from the API * Fixing more tests * Add some unit tests * Add includeDeleted parameter to session permissions check function * More test fixing * Adding archive channels list in channels search * Add restriction for archived channel edition * Reverting permissions checks modification * Changed the query parameter to include_deleted * Enable search archive channels as true by default * Adding tests for verify search on deleted channels * Allowing to override archive channels during the imports * Fixed test * Search in archive channels from the API must be explicitly requested * Removing includeDeleted parameter from GetChannelByName and GetChannelByNameForTeam * Back to ViewArchivedChannels config * Fixing tests * Reverting GetChannelByName parameter * Add include deleted parameter on GetChannel functions in plugins api * Fixing tests
* MM-10254 Add plugin APIs for getting/updating user statuses (#9101)Joram Wilander2018-07-161-1/+1
| | | | | | | | * Add plugin APIs for getting/updating user statuses * Add and update tests * Updates per feedback
* Reset status to away after web conn disconnect if necessary (#8988)Joram Wilander2018-06-271-8/+10
|
* Structured logging (#8673)Christopher Speller2018-04-271-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* MM-10007 Send an admin and regular WS events when a user is updated (#8588)Joram Wilander2018-04-201-0/+22
| | | | | | | | * Add user.DeepCopy() function * Add omit admins/non-admins to WS broadcast and use for updating users * Updates per feedback and adding unit test for ShouldSendEvent
* add App.License, remove utils.IsLicensed / utils.License calls (#8203)Chris2018-02-061-1/+1
|
* Remove utils.ClientCfg and utils.ClientCfgHash (#8041)Chris2018-01-051-1/+1
| | | | | | * remove utils.ClientCfg and utils.ClientCfgHash * remove unused import
* Fix webconn shutdown race (#7631)Chris2017-10-161-2/+3
| | | | | | | | | | * fix webconn shutdown race * make sure writePump returns promptly if readPump returns first * fix app shutdown race * minor improvement
* Fix races / finally remove global app for good (#7570)Chris2017-10-041-11/+23
| | | | | | | | | | | | * 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
* Goroutine wranglin (#7556)Chris2017-10-031-4/+18
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-1/+1
|
* remove einterface gets (#7455)Chris2017-09-191-3/+2
|
* remove more global references (#7442)Chris2017-09-141-5/+7
|
* Renaming repoChristopher Speller2017-09-061-3/+3
|
* app type transition (#7167)Chris2017-09-061-8/+8
|
* PLT-6226 fixing race in IsAuth (#7296)Corey Hulen2017-09-051-28/+62
| | | | | | | | | | * Fixing race in isAuth function * PLT-6226 fixing race in IsAuth * Moving int64 to top so it's aligned * Adding comment and fixing asymmetric call
* PLT-6226 Fixing races with licensing (#7213)Corey Hulen2017-08-161-1/+1
| | | | | | | | | | * PLT-6226 Fixing races with licensing * Fixing build issue * Fixing licensing issue * removing commented code
* PLT-6610 adding the view channel event as skippable (#6800)Corey Hulen2017-06-291-1/+3
|
* PLT-6610 sending websocket event for last channel viewed (#6787)Corey Hulen2017-06-291-2/+6
|
* Detach session activity update from statuses (#6379)Joram Wilander2017-05-101-1/+4
|
* Adding slow pump detection to web_conn and better metrics (#6114)Corey Hulen2017-04-211-21/+43
| | | | | | | | * Adding slow pump detection to web_conn and better metrics * Fixing bad merge * Fixing typo
* Merge branch 'release-3.8'Christopher Speller2017-04-171-1/+1
|\
| * PLT-5977: Only reload clients when client config changes. (#5989)George Goldberg2017-04-051-1/+1
| |
* | 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
* PLT-5750 Add sequence number to websocket connections and events (#5907)Joram Wilander2017-04-011-2/+13
| | | | | | | | * Add sequence number to websocket connections and events * Copy pointer instead of pass by value and use int64 over uint64 * Add more logging to missed events
* Fix policy application in team edition. (#5771)George Goldberg2017-03-151-1/+1
|
* Optimizing weh_hub.Start() for master (#5576)Corey Hulen2017-03-011-9/+19
| | | | | | | | | | | | * Optimizing weh_hub.Start() * Optimizing weh_hub.Start() * Optimizing weh_hub.Start() * Adding to IsAuthenticated * Fixing problem with IsAuthenticated
* Optimzing the user typing event in ShouldSendEvent() (#5560)Corey Hulen2017-02-281-13/+6
|
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+254
* 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