Commit graph

523 commits

Author SHA1 Message Date
Samuel Clay
bd1da6bc93 Updating terraform 2022-06-22 15:06:10 -04:00
Samuel Clay
1f7a2e47aa Adding spam.py to work servers. 2022-06-06 16:03:11 -04:00
Samuel Clay
e64dc781ed Ignoring premium setup for now. 2022-06-05 19:19:33 -04:00
Samuel Clay
82c156daf2 Postgres restore now explicit about primary server. 2022-06-05 08:55:58 -04:00
Samuel Clay
c37a073f6a Merge branch 'master' into pro
* master: (33 commits)
  iOS v11.2.1
  Multiple redis servers.
  Data validation for classifiers.
  #1691 (optimistic premium upgrade)
  Fixed #1682 (column setting doesn't stick)
  Adding staging2 and staging3 subdomains.
  #1686 (scroll performance on story titles)
  #1686 (scroll performance on story titles)
  Fixed #1680 (notifications don't work)
  Fixed #1683 (sharing fails but then succeeds)
  Xcode update
  #1565 (story titles image preview doesn’t show until scroll gesture is finished)
  #1680 (notifications don't work)
  #1675 (fix iPad login/signup layout)
  Fixed #1658 (story is missing or offset on iPad 11")
  Fixed #1677 (headers are scrolling)
  Fixed crash when selecting a newly added feed on iPad
  iOS v11.2
  #1604 (preference for automatically opening folder)
  #1500 (load first story when opening feed)
  ...
2022-06-01 14:24:40 -04:00
Samuel Clay
010b9d4fb5 Multiple redis servers. 2022-06-01 11:08:20 -04:00
Samuel Clay
32ceca07d3 Adding signing keys to imageproxy. 2022-05-27 16:59:39 -04:00
Samuel Clay
ea485e464d Upgrading Postgres server. Just have mongo left to do and then :racecar: 2022-05-27 06:58:32 -04:00
Samuel Clay
30db103949 Merge branch 'master' into pro
* master:
  Redis consul
2022-05-27 06:44:08 -04:00
Samuel Clay
6514981e00 Redis consul 2022-05-26 21:18:07 -04:00
Samuel Clay
ed7fc4a4e8 Updating signed image to use https for image proxy. 2022-05-26 12:17:45 -04:00
Samuel Clay
aa3c33c7d3 Fixing docker permissions for redis, web, mongo. Also removing /etc/hosts. 2022-05-25 16:02:37 -04:00
Samuel Clay
b1e6e17426 Fixing redis permissions 2022-05-25 14:55:04 -04:00
Samuel Clay
656479a876 Upgrading redis story server. Also updating monitor requirements. 2022-05-25 11:02:17 -04:00
Samuel Clay
eb159cbb23 Bumping postgres, adding promote script. 2022-05-20 10:49:38 -04:00
Samuel Clay
3a106b51bb Merge branch 'master' into pro
* master:
  Don't change file permissions, let's see what happens.
  Bumping postgres server size, fixing monitor disk usage cronjob.
2022-05-16 10:34:40 -04:00
Samuel Clay
ed0dbd9ef8 Don't change file permissions, let's see what happens. 2022-05-13 17:15:42 -04:00
Samuel Clay
b2cdff8a85 Bumping postgres server size, fixing monitor disk usage cronjob. 2022-05-13 16:59:57 -04:00
Samuel Clay
9bb9700cc5 Merge branch 'master' into pro
* master:
  Handling getMore mongo log.
  Naming pg_basebackup
2022-05-11 13:12:06 -04:00
Samuel Clay
a77a858a85 Naming pg_basebackup 2022-05-11 11:55:56 -04:00
Samuel Clay
cb241f7545 Branch pro for repo. 2022-05-10 21:18:28 -04:00
Samuel Clay
5ff6a340f1 Merge branch 'master' into pro
* master:
  Upgrading to latest pymongo v3 to work with mongodb v4.0. Required rewrite of mongodb introspection, now using built-in pymongo monitoring. Should work on both web and celery.
  Removing unused mongo mms utils and configs.
  Updating pymongo to mongodb 4.0 compatible. Any further and we lose mongo wire protocol inspection.
  Full arm64 setup for imageproxy.
  Rearranging TF vars
  Upgrading to MongoDB 4.0, and upping mongo servers.
2022-05-10 20:59:03 -04:00
Samuel Clay
bdbe7b8797 Upgrading to MongoDB 4.0, and upping mongo servers. 2022-05-09 21:20:51 -04:00
Samuel Clay
870bda94a4 Merge branch 'master' into pro
* master:
  Stop postgres before basebackup.
  Archiving old postgres data when using basebackup, to be manually deleted (or not, should be empty on new secondaries).
  Adding pg_ident.conf.
2022-05-02 15:42:14 -04:00
Samuel Clay
e0ecf1d6ff Stop postgres before basebackup. 2022-05-02 15:41:45 -04:00
Samuel Clay
434df3be16 Archiving old postgres data when using basebackup, to be manually deleted (or not, should be empty on new secondaries). 2022-05-02 15:05:31 -04:00
Samuel Clay
4170cd8f77 Adding pg_ident.conf. 2022-05-02 13:21:02 -04:00
Samuel Clay
be1b55aa49 Adding pg_ident.conf. 2022-05-02 13:03:47 -04:00
Samuel Clay
7870eee728 Merge branch 'master' into pro
* master:
  Moving pg basebackup to a backup role
  Adding a secondary postgres that starts from a pg_basebackup. Still needs testing.
  Adding timestamps to backup logs
  No TTY/input needed on backups.
  Paths are in different environments.
  Renaming postgresql backups
  Adding postgres restore command and updating backup script.
2022-05-02 11:42:52 -04:00
Samuel Clay
b586d519c9 Moving pg basebackup to a backup role 2022-05-02 09:32:35 -04:00
Samuel Clay
3670faf99d Adding a secondary postgres that starts from a pg_basebackup. Still needs testing. 2022-04-30 07:24:46 -04:00
Samuel Clay
de309183c5 Adding timestamps to backup logs 2022-04-30 06:51:11 -04:00
Samuel Clay
9ea16aadb7 No TTY/input needed on backups. 2022-04-30 06:47:09 -04:00
Samuel Clay
464fecd18e Adding postgres restore command and updating backup script. 2022-04-29 16:45:17 -04:00
Samuel Clay
2d2ed0a30d Adding postgres restore command and updating backup script. 2022-04-29 16:44:46 -04:00
Samuel Clay
3b29c1d6dc Pulling latest docker image in a separate task. 2022-04-11 11:01:02 -04:00
Samuel Clay
b90501d955 Adding a paypal archive return page. Also redrawing when premium expire/renewal status changes on payment fetch in account dialog. 2022-04-06 15:56:13 -04:00
Samuel Clay
e44ed2b46b Merge branch 'master' into pro
* master:
  Rearranging urls for paypal. Also updating to latest gunicorn.
  Pulling latest docker image in a separate task.
2022-04-04 15:42:19 -04:00
Samuel Clay
f1c4da1ec5 Pulling latest docker image in a separate task. 2022-04-04 12:34:06 -04:00
Samuel Clay
65fac88590 Merge branch 'master' into pro
* master:
  Renaming www in terraform until next www server
  Removing audio handler
  Removing unused audio handler shim that turned audio into flash for older browsers.
  Adding global shared stories feeds so they appear on the dashboard even when not subscribed.
  Adding metrics to a single server, let's see how these shake out.
  Don't show prometheus metrics for migrations.
  Adding django prometheus metrics.
  Beginning upgrade to Mongo 4.0 (eventually to 5.0 to get time-series dbs)
2022-04-01 16:47:03 -04:00
Samuel Clay
203a6048bf Renaming www in terraform until next www server 2022-04-01 16:11:26 -04:00
Samuel Clay
8c56c6f98e www -> haproxy group 2022-03-15 17:19:01 -04:00
Samuel Clay
d231499672 Merge branch 'master' into pro
* master: (28 commits)
  Bumping up node images size.
  Android v11.3.0.
  #1600 Mark story as read button width
  Cleaning up preferences on android
  Merge master into sictiru
  #1600 Mark story read timer WIP
  #1600 Mark story read immediately or manually.
  #1634 Update infrequent logo
  #1606 Adjust story title length based on story content preview style.
  #1628 Handle feed missing metadata.
  Merge master into sictiru
  #1618 Handle multi window mode lifecycle.
  #1624 Offer context before potentially logging out.
  Android v11.2.2.
  #1598 Add immutable flag for PendingIntents
  Android v11.2.1.
  Fix reading pager fragment transaction.
  Open billing connection for the subscription sync service.
  Android v11.2
  Finishing up PostgreSQL migration. Needs to test backups.
  ...
2022-03-09 17:32:07 -05:00
Samuel Clay
ab63f9d2ae Bumping up node images size. 2022-03-09 17:31:56 -05:00
Samuel Clay
f33cbcf312 Merge branch 'master' into pro
* master: (72 commits)
  Missing import
  Correctly decoding shared stories in RSS feed.
  Adding scroll to feed and story options popover (Style menu).
  Magazine view blog post.
  Refactoring story content preview with newlines preserved.
  Boosting db profiling from 1% to 5%.
  Ignore data uris for widget, they are never the big images
  Wait to strip data uri header until it's time.
  Moving encoding
  Don't double encode base64 images for widgets.
  Preserving paragraphs in magazine and grid views.
  Fixing bad instrumentation on mongo and redis logs.
  Wrong url for db profiler.
  Let's try showing only single feeds in the DB profiler to see if it's better at showing abnormalities with less noise.
  Fixing strict bug where  wasn't defined.
  Showing grid image previews. Not sure how this ever worked before.
  Grid has image if found already.
  Showing grid image on load if youtube
  Only monitor river_stories for db times
  Not hitting a db shouldnt be colored any differently than a small value.
  ...
2022-03-09 11:41:40 -05:00
Samuel Clay
2491e3bf86 Fixing youtube story content encoding bug. 2022-03-03 11:21:06 -05:00
Samuel Clay
54bcd58f35 Adding Sentry update handler 2022-03-02 10:29:38 -05:00
Samuel Clay
f0f6c0a828 Fixing issue with some sites spewing tons of headers back and Python failing. 2022-03-02 10:29:24 -05:00
Samuel Clay
96c7416d1e Gunicorn workers at 3 or 4, depending on having at least 3.1+ GB of memory. 2022-02-28 14:41:29 -05:00
Samuel Clay
d7b81d7b68 Turning off use strict in prep for turning it right back on in the magazine branch. 2022-02-28 14:28:15 -05:00