Commit graph

34 commits

Author SHA1 Message Date
Samuel Clay
d9e2b0db30 Adding SERVER_NAME to sentry to get through docker. 2021-07-09 17:09:28 -04:00
Samuel Clay
b74fc79266 Load local_settings on top of docker-local_settings. 2021-07-06 10:37:36 -04:00
Samuel Clay
fc0b26437d Turning off elasticsearch logging. 2021-06-09 13:09:53 -04:00
Samuel Clay
1012779bf3 Logging elasticsearch, fixing autocomplete on feeds styling. Still need to fix feed search. 2021-06-09 12:52:22 -04:00
Samuel Clay
1ab551f73d Turning off spam deleter due to captcha. 2021-05-13 14:33:56 -04:00
Samuel Clay
aac3fba63d Cleaner logs. 2021-05-12 19:00:07 -04:00
Samuel Clay
428647f70c Lowering readability logs. 2021-05-12 18:54:04 -04:00
Samuel Clay
0235a907da Let's try reducing celery worker counts and seeing if that boosts work performed. 2021-04-20 19:24:50 -04:00
Samuel Clay
230716465e Adding new optional app/task env settings. 2021-04-20 18:02:12 -04:00
Samuel Clay
c00630ecf2 Typo 2021-04-11 15:24:24 -04:00
Samuel Clay
1af8183550 Adding celery integration to sentry. 2021-04-11 12:25:17 -04:00
Samuel Clay
b561ce756b Fixing issue with dashboard river folder not being changeable or selectable. 2021-04-07 15:32:17 -04:00
Samuel Clay
fc5751da60 Adding unicode decode error handling for mongo. Let's hope I don't regret this. Test with Metafilter feed: 1168 2021-03-26 10:43:34 -04:00
Samuel Clay
e1b2583950 Swapping out pyes for elasticsearch-py. Half-way done, got indices and mappings in, now need to work on querying and storing. 2021-03-18 16:34:28 -04:00
Samuel Clay
05afdce691 Fixing search indexing. Also removing superfluous search_indexer_tasker queue. 2021-03-03 17:04:05 -05:00
Samuel Clay
01248e5a1b Fixing task servers. Also fixing sentry max size limit. 2021-02-25 18:50:20 -05:00
Samuel Clay
d3449db1ec Merge branch 'docker_django3.1' into dashboard3
* docker_django3.1:
  add swarm_instructions.sh
  update celery task name to cron_queue in settings.py.orig
  change redis port to 6579 in docker local settings
  update celery task name to cron_queue in settings.py
  add image building and deployment functionality to Makefile
  update docker files to include code in the image so we can use with swarm (without configuring shared volumes yet)
  change beat_tasks to cron_queue in config/supervision_celeryd_beat.conf
  change pymysql version in __init__ to the new django compatible version
  change names for swarm service in swarm haproxy.conf file
  remove ssl from nginx
  fix dependency issues
  change nginx check time in haproxy
  add .dockerignore
  update newsblur dir to newsblur_web in code
  adjust resource limits on containers in stack-compose and correct monitor command
  clean up and fix stack-compose.yml file
  correct docker-compose images
2021-01-23 19:31:06 -05:00
Samuel Clay
c3732d6d1c Fixing celery issues. 2021-01-19 18:00:10 -05:00
Jonathan Math
2ac910a305 update celery task name to cron_queue in settings.py 2021-01-19 09:55:07 -05:00
Samuel Clay
5869f40fe0 Weird encoding error on redis' part, where a DUMP causes an encoding error due to decode_responses=True. Seems easy enough to work around. 2021-01-14 19:42:38 -05:00
Samuel Clay
4a2afe15b6 Styling popovers, adding new display options to feed popover, fixing opening story on dashboard for read story feed (all other feeds need testing). 2021-01-14 14:16:51 -05:00
Samuel Clay
9accbf83c1 Turning off django's db logging in console. 2021-01-12 14:47:16 -05:00
Samuel Clay
518b47c726 More logs 2021-01-11 20:47:00 -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
Jonathan Math
68830f00a0 merge master 2021-01-03 12:06:25 -05:00
Jonathan Math
79f249878b remove use of ORIGINAL_PAGE_SERVER 2021-01-03 11:09:25 -05:00
Samuel Clay
05756155b1 Merge branch 'django3.0' into docker_django3.0
* django3.0: (184 commits)
  Removing log override
  Moving logging over to the newsblur log.
  Fixing search indexer background task for new celery.
  Attempting to add gunicorn errors to console/log.
  Better handling of missing subs.
  Handling missing user sub on feed delete.
  Correct encoding for strings on systems that don't have utf-8 as default encoding.
  Writing in the real urllib3 dependency for requests.
  Upgrading requests due to urllib3 incompatibility.
  Login required should use the next parameter.
  Upgrading django oauth toolkit for django 1.11.
  Handling newsletters with multiple recipients.
  Extracting image urls sometimes fails.
  Handling ajax errors in json views.
  Adding timeouts to most outbound requests.
  Sentry SDK 0.19.4.
  Removing imperfect proxy warning for every story.
  Found four more GET/POST crosses.
  Feed unread count may need a POST.
  Namespacing settings.
  ...
2020-12-08 13:04:39 -05:00
Jonathan Math
778ee2123f use pytest and add pytest.ini file 2020-11-06 14:47:41 +07:00
Jonathan Math
1f406bbb49 add nosetest, nosetest-exclude, and update Makefile 2020-10-27 16:24:34 +07:00
Jonathan Math
0be547bbeb make redis run on port 6579 2020-10-26 10:36:24 +07:00
Jonathan Math
67e644aab0 change mongodb port for docker build and fix celeryapp.py 2020-10-25 12:36:58 +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
2c0fd0ee2e use newsblur_web instead of newsblur as directory name 2020-10-13 22:02:55 +07:00
Renamed from newsblur/settings.py (Browse further)