Joram Wilander
2114e96f00
Reset status to away after web conn disconnect if necessary ( #8988 )
2018-06-27 14:19:06 -07:00
Joram Wilander
91c9981563
More potential panic fixes ( #8776 )
2018-05-11 11:56:02 -04:00
Joram Wilander
8449982576
Attempt to fix hub nil panic ( #8766 )
2018-05-10 14:17:01 -04:00
Joram Wilander
68340d4715
Prevent divide by zero if there are no hubs ( #8763 )
2018-05-10 11:22:10 -04:00
Christopher Speller
686c2fbab7
Structured logging ( #8673 )
...
* 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 fd8249e99b .
* Fixing some auto refactor strangeness and typo.
* Making keys more human readable.
2018-04-27 12:49:45 -07:00
Corey Hulen
2acbc77d78
MM-10375 Fixing connected socket count ( #8682 )
...
* Fixing connected socket count
* Adding unit test
2018-04-27 10:38:40 -07:00
Chris
19a5d0047d
MM-8710: Web Hub optimizations ( #8293 )
...
* webhub optimizations
* test fix
* minor fix
* big perf improvement to ToJson after precomputing
* fix hub connection count
2018-02-20 10:50:10 -08:00
Chris
865f9f83a7
Improve test coverage reporting / accuracy ( #7819 )
...
* improve test coverage reporting / accuracy
* handle absolute coverpaths
* move tests into multiple files
* rename codecov.yml (https://github.com/codecov/support/issues/426 )
2017-11-13 11:59:51 -08:00
Chris
c5e8cb25ca
simplify things ( #7735 )
2017-10-30 11:57:24 -05:00
Chris
2a76eeeeee
fix websocket deadlock ( #7577 )
2017-10-04 22:48:14 -07:00
Chris
07777f5ff9
Fix races / finally remove global app for good ( #7570 )
...
* 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
2017-10-04 13:09:41 -07:00
Chris
5e69ce099f
Goroutine wranglin ( #7556 )
...
* goroutine wranglin
* synchronize WebConn.WritePump
2017-10-03 10:53:53 -05:00
Chris
8c80cdde38
remove remaining Global() calls (outside of tests) ( #7521 )
2017-09-28 00:52:34 +08:00
Chris
ac74066f0e
remove einterface gets ( #7455 )
2017-09-19 18:31:35 -05:00
Christopher Speller
29fca51821
Renaming repo
2017-09-06 23:11:59 -07:00
Chris
1adfd0e9be
app type transition ( #7167 )
2017-09-06 17:12:54 -05:00
Christopher Brown
df94be8f37
[PLT-7055] Modified code arrangement for compatibility with 32-bit ARM ( #7281 )
...
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
2017-09-01 12:09:35 -05:00
Christopher Speller
09b49c26dd
PLT-5308 Caching layer part 2 ( #6973 )
...
* 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
2017-07-31 08:15:23 -07:00
Corey Hulen
36f216cb7c
PLT-6080 moving clustering to memberlist ( #6499 )
...
* 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
2017-06-19 08:44:04 -07:00
Corey Hulen
86c7e7cacd
Adding hub deadlock detection into master ( #6100 )
2017-04-18 14:28:02 -07:00
Harrison Healey
fb6f2a123c
PLT-5860 Updated copyright date ( #6058 )
...
* 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
2017-04-12 08:27:57 -04:00
Corey Hulen
6bf080393d
Fixing race conditions in the code base ( #5966 )
...
* 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
2017-04-04 14:42:07 -04:00
Joram Wilander
95da05a8c9
PLT-5750 Add sequence number to websocket connections and events ( #5907 )
...
* 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
2017-04-01 11:39:13 -04:00
Joram Wilander
83291e4c8f
Merge 3.7 changes into master ( #5679 )
...
* Save schema version for 3.7 (#5675 )
* Adding index and cache to reactinos store (#5654 )
* Fix badge count for push notifications (#5672 )
2017-03-07 16:05:01 -05:00
Corey Hulen
7829c24e92
Removing typing check for master ( #5583 )
...
* Removing typing check for master
* Removing typing check for master
2017-03-01 12:49:46 -05:00
Corey Hulen
71e6a423e8
Optimizing weh_hub.Start() for master ( #5576 )
...
* Optimizing weh_hub.Start()
* Optimizing weh_hub.Start()
* Optimizing weh_hub.Start()
* Adding to IsAuthenticated
* Fixing problem with IsAuthenticated
2017-03-01 11:03:21 -05:00
Corey Hulen
838bb8cee2
Optimzing the user typing event in ShouldSendEvent() ( #5560 )
2017-02-28 17:49:25 -05:00
Christopher Speller
83c113595a
Revert "Adding caching to get channel member ( #5518 )"
...
This reverts commit ba028ed74b .
2017-02-27 17:43:23 -05:00
Christopher Speller
72de977c52
Adding recovery to web hub ( #5546 )
2017-02-27 14:27:15 -05:00
Christopher Speller
ba028ed74b
Adding caching to get channel member ( #5518 )
2017-02-24 09:15:36 -05:00
enahum
748a416961
PLT-3193 Add channel notification preferences for push and email noti… ( #5500 )
...
* 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
2017-02-23 11:08:48 -03:00
Christopher Speller
9934954d18
Adding websocket event metrics ( #5342 )
2017-02-10 07:01:08 -08:00
Christopher Speller
b26329cdda
Fix small bug in webhub. ( #5229 )
2017-01-30 15:36:31 -05:00
Christopher Speller
721ac52784
Changing map to array for web_hub connections. ( #5226 )
2017-01-30 13:01:20 -05:00
Joram Wilander
097289f8e4
Merge 3.6.2 into master ( #5211 )
...
* Add webhook cache
* Add channel by name cache
* Fxing profiles in channels cache
* Fix merge
2017-01-27 14:07:34 -05:00
Joram Wilander
97558f6a6e
PLT-4938 Add app package and move logic over from api package ( #4931 )
...
* 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
2017-01-13 13:53:37 -05:00