Commit graph

81 commits

Author SHA1 Message Date
Samuel Clay
0449af0615 Upping socket.io times, adding to haproxy. 2025-02-28 00:32:53 -08:00
Samuel Clay
60ad11863f Retooling socketio server 2025-02-28 00:22:14 -08:00
Samuel Clay
1d2804caa7 Logging socket_id 2025-02-28 00:13:34 -08:00
Samuel Clay
c56262e466 Adding a lot more socket.io logging. 2025-02-27 23:57:28 -08:00
Samuel Clay
78aef24198 Updating socket.io connection params. 2025-02-27 22:54:41 -08:00
Samuel Clay
57ba080792 Updating sentry node dependencies. 2025-02-02 23:07:00 -08:00
Samuel Clay
94044a775e Updating to altest socket.io redis adapter. 2025-02-02 22:56:57 -08:00
Samuel Clay
e9fdaadc70 Updating redis pubusb port 2024-02-25 14:24:58 -05:00
Samuel Clay
b6db14dacd Switching from Jammit to django-pipeline. Doesn't work yet, needs compressor hooked up and assets checked. 2021-11-14 13:42:06 -05:00
Samuel Clay
1c26ec2ce4 Don't know why this didn't take 2021-04-02 18:47:36 -04:00
Samuel Clay
da3643c24d Using redis-pubsub server and cleaning up unread counts node server. 2021-04-02 18:43:11 -04:00
Samuel Clay
2832380cac Whoops, wrong server for unread counts. 2021-04-02 18:35:36 -04:00
Samuel Clay
8ef854573c Turning logging down a bit in node servers unless debugging. 2021-03-19 11:16:29 -04:00
Samuel Clay
5ebc900779 Fixing unread counts websockets. 2021-03-16 20:07:46 -04:00
Samuel Clay
959481138d Updating docker-compose with new single node container. 2021-03-16 20:00:55 -04:00
Samuel Clay
2906e92499 Merging all four node servers into a single one on port 8008. Updating HAProxy on both consul and docker-compose. 2021-03-16 19:34:11 -04:00
Samuel Clay
b30638e819 Fixing broken node vars. 2021-02-26 11:09:50 -05:00
Samuel Clay
a86405a36e Refactoring NODE_ENV a bit to handle docker/prod/dev. 2021-02-25 17:12:26 -05:00
Samuel Clay
82fecb23a6 Merge branch 'docker_django3.1' into dashboard3
* docker_django3.1: (117 commits)
  Adding docker to node scripts.
  Removing node_modules from repo
  Whoops
  Better logging for broken paypal ipns.
  Adding RSS Tracker for Windows to Goodies.
  Refactoring socketio so real-time works around username restrictions.
  Socket.IO v3 on the server too.
  Switching to Socket.IO v3.
  Haproxy splitting for socketio 3
  Socket.io 3
  Handling missing feed.
  Only nb.local.com uses ports for websockets.
  Adding GrazeTEN
  Full node install on setup.
  Updating toprc
  correct newsblur to newsblur_web in tasks
  Changing mongodb server.
  Fixing toprc
  Attempting to collect queries for 1% of requests by using DEBUG.
  Fixing mongo install.
  ...
2021-01-05 19:36:49 -05:00
Samuel Clay
a0f157dd97 Adding docker to node scripts. 2021-01-05 19:34:28 -05:00
Samuel Clay
6e07dbaf0f Merge branch 'master' into docker_django3.1
* master: (22 commits)
  Whoops
  Better logging for broken paypal ipns.
  Adding RSS Tracker for Windows to Goodies.
  Refactoring socketio so real-time works around username restrictions.
  Socket.IO v3 on the server too.
  Switching to Socket.IO v3.
  Haproxy splitting for socketio 3
  Socket.io 3
  Handling missing feed.
  Only nb.local.com uses ports for websockets.
  Adding GrazeTEN
  Full node install on setup.
  Updating toprc
  Changing mongodb server.
  Fixing toprc
  Attempting to collect queries for 1% of requests by using DEBUG.
  Fixing mongo install.
  Recalculating premium expiration to take into account forced expirations after gifts.
  Fixing never expire -> 1 year
  Adding 1 year expire to admin.
  ...
2021-01-05 19:12:19 -05:00
Samuel Clay
06ec0d1099 Socket.IO v3 on the server too. 2021-01-04 18:14:52 -05:00
Jonathan Math
68830f00a0 merge master 2021-01-03 12:06:25 -05:00
Samuel Clay
72a76c9ccd Binding feeds. Hope this works. 2020-12-17 18:59:49 -05:00
Samuel Clay
ee7d2cc891 Adding real-time notification for shared stories. Not doing anything with this on the frontend yet, but the dashboard3 will use it for the global shared stories. 2020-12-17 18:52:06 -05:00
Samuel Clay
d18216e49d Adding more logging around real-time updates to debug dashboard swallowing story updates. 2020-12-17 18:09:38 -05:00
Samuel Clay
d4a362b1d8 Disconnect should have same context as connect. 2020-12-17 14:14:56 -05:00
Samuel Clay
323792691b All node stderr should go to the log files. Also fixing unread counts coffeescript. 2020-12-17 14:13:44 -05:00
Samuel Clay
7938fb589d Fixing favicon server. 2020-12-17 14:01:19 -05:00
Jonathan Math
0be547bbeb make redis run on port 6579 2020-10-26 10:36:24 +07:00
Jonathan Math
8b9d92b827 roll back changes for redis port because the initial change didn't work. Will figure out what needs to be done differently 2020-10-25 12:14:34 +07:00
Jonathan Math
54dfbe9c41 change redis port to 6579 when DOCKERBUILD is an env variable 2020-10-24 19:43:17 +07:00
Jonathan Math
a8bf9c4540 add docker env variable functionality to node files 2020-10-05 00:34:40 +07:00
Samuel Clay
2e6ad3afda Adding new node app: original_text. To replace Mercury Reader. Thanks for all the text. 2019-04-13 15:29:14 -04:00
Samuel Clay
c5d5ea5001 Attempting to fix dashboard stories by no longer relying on full river reloads when a new story comes in but to fetch that story if it is newer (or older) than last visible dashboard story. 2016-12-13 16:29:42 -08:00
Samuel Clay
aeb38a2de3 Fixing scope on error. 2016-12-05 14:18:48 -08:00
Samuel Clay
faa7593fd9 Error with username. 2016-12-05 14:17:10 -08:00
Samuel Clay
b222ee06d0 Attempting to add logging to socket.io. 2016-12-05 13:35:05 -08:00
Samuel Clay
5a053ab573 Adding node02 to handle new upgraded websockets. 2016-11-30 15:26:42 -08:00
Samuel Clay
7fcc8a4c71 Moving to new v2 of socket.io to allow existing real-time users to still work. 2016-11-30 13:43:13 -08:00
Samuel Clay
e3393ba238 Fixing nodejs redis flush/quit command. 2016-11-30 12:47:20 -08:00
Samuel Clay
5edf17e08f Fixing SSL node server, used for debugging. 2016-11-29 18:47:44 -08:00
Samuel Clay
406d196f87 Upgrading to latest socket.io. 2016-11-29 18:30:12 -08:00
Samuel Clay
3406958e8a Adding wsgi server to use new virtualenv gunicorn. 2016-02-05 15:26:10 -08:00
Samuel Clay
7c6cce7f5b Removing unused CA. 2015-06-02 11:24:38 -07:00
Samuel Clay
7706711143 Moving from X-Real-IP to X-Forwarded-For. 2013-09-06 16:26:02 -07:00
Samuel Clay
dcef8a48fa Moving node server to db pubsub role. 2013-08-12 12:39:03 -07:00
Samuel Clay
a5c03918cc Moving from specific db hosts to db roles, editable through /etc/hosts. 2013-08-12 12:26:49 -07:00
Samuel Clay
dcd37c4f50 Handling socket level errors in socketio/node. 2013-08-12 11:52:29 -07:00
Samuel Clay
456a4d1375 Catching exceptions for node redis. 2013-08-12 11:22:10 -07:00