summaryrefslogtreecommitdiffstats
path: root/app/web_hub.go
Commit message (Collapse)AuthorAgeFilesLines
* Reset status to away after web conn disconnect if necessary (#8988)Joram Wilander2018-06-271-1/+39
|
* More potential panic fixes (#8776)Joram Wilander2018-05-111-6/+9
|
* Attempt to fix hub nil panic (#8766)Joram Wilander2018-05-101-1/+1
|
* Prevent divide by zero if there are no hubs (#8763)Joram Wilander2018-05-101-2/+12
|
* Structured logging (#8673)Christopher Speller2018-04-271-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-10375 Fixing connected socket count (#8682)Corey Hulen2018-04-271-0/+1
| | | | | | * Fixing connected socket count * Adding unit test
* MM-8710: Web Hub optimizations (#8293)Chris2018-02-201-50/+83
| | | | | | | | | | | | * webhub optimizations * test fix * minor fix * big perf improvement to ToJson after precomputing * fix hub connection count
* Improve test coverage reporting / accuracy (#7819)Chris2017-11-131-2/+2
| | | | | | | | | | * improve test coverage reporting / accuracy * handle absolute coverpaths * move tests into multiple files * rename codecov.yml (https://github.com/codecov/support/issues/426)
* simplify things (#7735)Chris2017-10-301-1/+1
|
* fix websocket deadlock (#7577)Chris2017-10-041-4/+16
|
* Fix races / finally remove global app for good (#7570)Chris2017-10-041-3/+7
| | | | | | | | | | | | * 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-1/+3
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-40/+34
|
* remove einterface gets (#7455)Chris2017-09-191-17/+20
|
* Renaming repoChristopher Speller2017-09-061-4/+4
|
* app type transition (#7167)Chris2017-09-061-31/+31
|
* [PLT-7055] Modified code arrangement for compatibility with 32-bit ARM (#7281)Christopher Brown2017-09-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit ba8e052d40f27123fbb5a94e9b30c05f51b90d36 Author: Christopher Brown <ccbrown112@gmail.com> Date: Fri Sep 1 12:08:57 2017 -0500 style fixes commit 121649f92f313813d9f105ddffb7d02ce5d3736f Author: Syakyr Surani <coding@syakyr.me> Date: Sat Aug 26 10:19:14 2017 +0800 Added comments for ARM/x86 (32-bit) compatibility commit 4bd13dd0e378cd4866bd5aed762f2b4fb75d7de9 Author: Syakyr Surani <coding@syakyr.me> Date: Sat Aug 26 05:20:43 2017 +0800 Added comments for ARM/x86 (32-bit) compatibility commit 78027f616ab736076cef0b1fd8b3266b3c3010dc Author: Syakyr Surani <coding@syakyr.me> Date: Thu Aug 24 03:01:06 2017 +0800 [PLT-7055] Modified code arrangement for compatibility with 32-bit ARM
* PLT-5308 Caching layer part 2 (#6973)Christopher Speller2017-07-311-17/+0
| | | | | | | | | | | | * Adding Reaction store cache layer example * Implementing reaction store in new caching system. * Redis for reaction store * Adding redis library * Adding invalidation for DeleteAllWithEmojiName and other minor enhancements
* PLT-6080 moving clustering to memberlist (#6499)Corey Hulen2017-06-191-25/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Adding hub deadlock detection into master (#6100)Corey Hulen2017-04-181-13/+79
|
* 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
* Fixing race conditions in the code base (#5966)Corey Hulen2017-04-041-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adding initial race detector * Remove setting of config twice * Fixing config file watch and config reload on license save * Fixing config file watch and config reload on license save * Fixing build error * Fixing locking issue * Fixing makefile * Fixing race in config * Fixing race in status unit test * Adding EE race tests * Fixing race in cluster info * Removing code that's isn't needed * Fixing some more races * Fixing govet issue
* PLT-5750 Add sequence number to websocket connections and events (#5907)Joram Wilander2017-04-011-2/+0
| | | | | | | | * 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
* Merge 3.7 changes into master (#5679)Joram Wilander2017-03-071-0/+12
| | | | | | | | * Save schema version for 3.7 (#5675) * Adding index and cache to reactinos store (#5654) * Fix badge count for push notifications (#5672)
* Removing typing check for master (#5583)Corey Hulen2017-03-011-19/+0
| | | | | | * Removing typing check for master * Removing typing check for master
* Optimizing weh_hub.Start() for master (#5576)Corey Hulen2017-03-011-17/+24
| | | | | | | | | | | | * 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-12/+25
|
* Revert "Adding caching to get channel member (#5518)"Christopher Speller2017-02-271-12/+0
| | | | This reverts commit ba028ed74b69bd1dd902344663fbf8ba4f1dfb87.
* Adding recovery to web hub (#5546)Christopher Speller2017-02-271-2/+31
|
* Adding caching to get channel member (#5518)Christopher Speller2017-02-241-0/+12
|
* PLT-3193 Add channel notification preferences for push and email notiā€¦ (#5500)enahum2017-02-231-0/+12
| | | | | | | | | | | | | | | | * PLT-3193 Add channel notification preferences for push and email notifications * unit tests, model validation and localization * Feedback review * Adding back allowFromCache check * Setting push and email to use default settings * Move props as constants * address feedback
* Adding websocket event metrics (#5342)Christopher Speller2017-02-101-0/+4
|
* Fix small bug in webhub. (#5229)Christopher Speller2017-01-301-1/+3
|
* Changing map to array for web_hub connections. (#5226)Christopher Speller2017-01-301-17/+30
|
* Merge 3.6.2 into master (#5211)Joram Wilander2017-01-271-4/+33
| | | | | | | | | | * Add webhook cache * Add channel by name cache * Fxing profiles in channels cache * Fix merge
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-0/+241
* 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