Commit graph

185 commits

Author SHA1 Message Date
Samuel Clay
ec44039cc9 Updating certs. 2024-03-02 08:37:20 -05:00
Samuel Clay
25d6d84971 Bumping concurrency for feed fetchers. 2024-02-26 21:08:40 -05:00
Samuel Clay
dc59b019a3 Moving to new redis ports. 2024-02-25 13:54:14 -05:00
Samuel Clay
56f5ff501a Old task servers should use smaller concurrency. 2024-02-25 12:36:08 -05:00
Samuel Clay
27d5803ca9 SERVER_NAME needs the env 2024-02-18 08:09:08 -05:00
Samuel Clay
f17d12a10c Work servers only need 4 celery. 2024-02-18 08:08:25 -05:00
Samuel Clay
caa7e05ee9 Upping task concurrency 2024-02-18 07:03:21 -05:00
Samuel Clay
f709bd7e18 Updating consul and docker for arm64. Using old redis ports. 2024-02-17 17:14:35 -05:00
Samuel Clay
7a049c1e55 Switching to new redis ports. 2024-02-11 13:48:33 -05:00
Samuel Clay
58c01922da Max emails sent per user per day is now 20 emails for story notifications. This affects only two users. 2023-05-02 09:31:43 -04:00
Samuel Clay
6095bd709d Fixing relative image urls to be absolute urls. Looks like a BeautifulSoup4 upgrade didn't catch the new attrs syntax. Also fixing bookmarklet loading wrong JS/CSS in development. 2022-11-24 12:53:40 -05:00
Samuel Clay
221743acbd Keep auto premium on for docker installs. 2022-09-26 09:40:18 -04:00
Samuel Clay
9e21d03255 Merging SDIFFSTORE and ZINTERSTORE into a single ZDIFFSTORE, thanks to redis 6.2.0. Requires new docker image. 2022-07-19 21:02:42 -04:00
Samuel Clay
8f1655d7d1 Revert "Merging SDIFFSTORE and ZINTERSTORE into a single ZDIFFSTORE, thanks to redis 6.2.0. Requires new docker image."
This reverts commit b3ec9fd748.
2022-07-18 22:45:22 -04:00
Samuel Clay
b3ec9fd748 Merging SDIFFSTORE and ZINTERSTORE into a single ZDIFFSTORE, thanks to redis 6.2.0. Requires new docker image. 2022-07-18 22:34:07 -04:00
Samuel Clay
108d88b785 Attempting to reduce redis db size by deleting unread stories list when no longer needed. 2022-06-27 12:24:49 -04:00
Samuel Clay
9848bb5051 Bumping archive fetch to 15 minutes. 2022-06-23 10:58:52 -04:00
Samuel Clay
81f51f1723 Handling soft time limits while fetching archives. 2022-06-22 17:40:16 -04:00
Samuel Clay
c20eed028c Attempting to impose longer time limits for archive fetch. 2022-06-22 15:44:39 -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
31de0f7a97 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. 2022-05-10 20:58:47 -04:00
Samuel Clay
6b0250ab55 Merge branch 'master' into pro
* master:
  Another Elasticsearch More Like This implementation, but it still doesn't surface anything close to correct.
2022-05-05 14:26:18 -04:00
Samuel Clay
926a3f0841 Another Elasticsearch More Like This implementation, but it still doesn't surface anything close to correct. 2022-05-05 14:26:00 -04:00
Samuel Clay
0883c20378 Merge branch 'master' into pro
* master:
  Handling missing histogram prometheus counter.
2022-04-18 16:24:43 -04:00
Samuel Clay
dd646d1c4d Handling missing histogram prometheus counter. 2022-04-18 16:24:33 -04:00
Samuel Clay
11f4f57eba Merge branch 'master' into pro
* master:
  Clear prometheus cache on reload.
  Rearranging urls for paypal. Also updating to latest gunicorn.
  Pulling latest docker image in a separate task.
  Update elasticsearch:7.16.3 (Log4j 2.17.1)
2022-04-11 11:47:17 -04:00
Samuel Clay
f7f5425d8f Clear prometheus cache on reload. 2022-04-11 11:03:14 -04:00
Samuel Clay
283bba5cd3 Rearranging urls for paypal. Also updating to latest gunicorn. 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
f40854bd8b Rearranging urls for paypal. Also updating to latest gunicorn. 2022-04-04 15:40:04 -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
7405cfc686 Removing unused audio handler shim that turned audio into flash for older browsers. 2022-03-31 20:41:03 -04:00
Samuel Clay
90725d14c1 Don't show prometheus metrics for migrations. 2022-03-31 16:52:29 -04:00
Samuel Clay
893619596b Adding django prometheus metrics. 2022-03-31 15:34:33 -04:00
Samuel Clay
ea31cef872 Fixed an issue where a feed going from 0 unreads to a manually marked unread would not show up in the river because the unread count was still marked as dirty. Now client will force an immediate feed recount when marking unread. 2022-03-29 12:25:38 -04:00
Samuel Clay
a633c0983b Taking archive unreads into account in single feeds. 2022-03-23 16:25:03 -04:00
Samuel Clay
778d913463 Merge branch 'master' into pro
* master: (196 commits)
  Adding count to activity for exported OPML, for #1646.
  Submitting iOS v11.1 to the App Store.
  Showing OPML backup exports and imports in activity popover. Closes #1646.
  Don't accept anything under /api/* unless explicit. This would've prevented the #1575 url miscommunication by returning a 404.
  /api/add_url for #1575.
  #1607 (widget is slow to reload)
  #1575 (include a subscribe to site page on the share sheet)
  Accepted GET or POST for /api/add_site. For #1575.
  #1575 (include a subscribe to site page on the share sheet)
  #1575 (include a subscribe to site page on the share sheet)
  Build 135
  Found another strict variable reference.
  #1515 (add private save to sharing extensions)
  #1597 (account deletion)
  #1607 (widget is slow to reload)
  #1607 (widget is slow to reload)
  Ignoring spurious server error when logging in as another user
  #1607 (widget is slow to reload)
  #1637 (moving Delete this site in story detail menu)
  #1641 (folder highlight does not deactivate upon return)
  ...
2022-03-14 16:01:47 -04:00
Samuel Clay
5d25d6d75e Don't accept anything under /api/* unless explicit. This would've prevented the #1575 url miscommunication by returning a 404. 2022-03-14 10:31: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
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
sictiru
3dd01ba2ef Merge master into sictiru 2022-03-06 20:33:19 -08:00
Samuel Clay
c227a335f3 Use strict 2022-02-28 15:10:25 -05:00
Samuel Clay
c09a877b24 Merge branch 'master' into magazine
* master:
  Gunicorn workers at 3 or 4, depending on having at least 3.1+ GB of memory.
  Turning off use strict in prep for turning it right back on in the magazine branch.
2022-02-28 15:10:08 -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
Samuel Clay
443925b6b7 Fixing starred date in header. 2022-02-28 12:20:14 -05:00
Samuel Clay
13533f84b7 Removing broken CSS. 2022-02-24 10:41:20 -05:00
Samuel Clay
0c8dbda555 Fixing path for closure compiler jar file. Thanks to @louis-pre. This fixes #1631. 2022-02-18 12:47:37 -05:00
sictiru
df6a225da2 Merge master into sictiru 2022-02-16 21:16:24 -08:00
Samuel Clay
8dc3573b7d Adding active_provider field to profile to capture most recent payment provider in order to show correction options on feedchooser/premium dialog. Paypal now upgrades, just need to write messaging stating switches should happen at rewewal. 2022-02-16 09:20:43 -05:00