Commit graph

15652 commits

Author SHA1 Message Date
Samuel Clay
e41319f657 Dark mode colors for premium dialog. 2022-01-21 13:01:24 -05:00
Samuel Clay
ee63184075 Restyling premium upgrade dialog. Needs stripe/paypal hookup and billing integration. 2022-01-21 12:55:12 -05:00
Samuel Clay
4cf8aa9def Merge branch 'master' into pro
* master:
  Better handling of Twitter being down (and returning a 503).
2022-01-21 06:54:45 -05:00
Samuel Clay
71eae2c640 Better handling of Twitter being down (and returning a 503). 2022-01-21 06:52:10 -05:00
Samuel Clay
8164767a59 Merge branch 'master' into pro
* master:
  Cleaning up django collection pipeline.
  Upgrading jQuery and jQuery UI, fixing closure compiler language output to work in older browser.
  Fixing scope of webmanifest.
  Changing webmanifest scope.
  Adding Web App Manifest for PWA.
2022-01-20 16:56:51 -05:00
Samuel Clay
0011249cad Cleaning up django collection pipeline. 2022-01-20 16:32:37 -05:00
Samuel Clay
ced2e7d6a6 Upgrading jQuery and jQuery UI, fixing closure compiler language output to work in older browser. 2022-01-20 13:19:35 -05:00
Samuel Clay
81516fd93b Fixing scope of webmanifest. 2022-01-20 12:16:12 -05:00
Samuel Clay
e2ea1dc8d3 Changing webmanifest scope. 2022-01-20 11:48:07 -05:00
Samuel Clay
4e559be2a4 Adding Web App Manifest for PWA. 2022-01-20 11:36:50 -05:00
Samuel Clay
f82d8e7227 Merge branch 'master' into pro
* master:
  Handling missing body-plain in mailgun.
  Bumping feed story header.
  We no longer know if the original story could not be proxied because an .contents() failed to find a body.
2022-01-19 17:51:37 -05:00
Samuel Clay
e27ef5fef0 Handling missing body-plain in mailgun. 2022-01-19 17:23:32 -05:00
Samuel Clay
cc1ca40aa8 Bumping feed story header. 2022-01-19 16:57:17 -05:00
Samuel Clay
dd2ad179a3 We no longer know if the original story could not be proxied because an .contents() failed to find a body. 2022-01-19 16:28:36 -05:00
Samuel Clay
2074f6d6a3 Merge branch 'master' into pro
* master:
  Deploying new asset pipeline
  Removing unused google-closure-compiler executable. Now using java.
  Sanity checker logs needs permissions for writing.
  Fixing Import Sites button, broken by a typo.
  Newsletters bouncing looks good.
  Fixing string interpolation
  Image previews should be 60% on read stories.
  Turning off keyfile
2022-01-19 15:27:35 -05:00
Samuel Clay
4e8ffa2094 Deploying new asset pipeline 2022-01-19 15:22:05 -05:00
Samuel Clay
7f4209fd24 Removing unused google-closure-compiler executable. Now using java. 2022-01-19 14:56:26 -05:00
Samuel Clay
26dd479714 Merge branch 'pipeline'
* pipeline:
  Installing Java in deploy image to get closure compiler working. Also updating closure binary path.
  Ensuring dependencies met for deployment on local.
  Updating to docker buildx for multi-arch builds (amd64 + arm64)
  Looks like redis wasn't being saved properly in docker-compose.
  Turning off logging for debug_assets=True.
  Integrating admin without gziping, as that's causing issues. Ready to go.
  Fixing static files so that at least newsblur is packaged correctly. Admin static is still not able to be processed.
  Cleaning up pipeline and adding admin static assets, but now certain admin static assets are being post-processed multiple times but with different cache manifests, resulting in a file not found error. This needs work.
  Fixing bookmarklet, moving endlne fleuron, adding load-line, archviing Jammit.
  Cleaning up static assets. Needs to run on first make nb or DEBUG_ASSETS needs to always be set to True.
  Attempting symlinks for pipeline.
  Cleaning up pipeline
  Renaming css files and fixing debug assets pipeline collector by forcing it to munge the static url with the media, non-cached, name. nginx should do the caching, not the url.
  Turning on DEBUG_ASSETS so developers dont need to compress their own assets.
  Fixing remaining broken js files. Collect static command now works as expected.
  Cleaning up pipeline dirs.
  Switching from yuglify to the original closure compiler. Everything's working well, although deployment needs to be rearranged a bit.
  add collectstatic make command and newsblur_deploy dockerfile
  New file system finder, finds static assets.
  Switching from Jammit to django-pipeline. Doesn't work yet, needs compressor hooked up and assets checked.
2022-01-19 14:35:39 -05:00
Samuel Clay
43b9bdd378 Merge branch 'mongoauth'
* mongoauth:
  Sanity checker logs needs permissions for writing.
  Fixing Import Sites button, broken by a typo.
  Newsletters bouncing looks good.
  Fixing string interpolation
  Image previews should be 60% on read stories.
  Turning off keyfile
2022-01-19 14:35:14 -05:00
Samuel Clay
db24fe35da Merge branch 'master' into mongoauth
* master: (419 commits)
  Looks like redis wasn't being saved properly in docker-compose.
  Celery also has a set user.
  Setting the user for celery and newsblur_web in both prod and docker-compose so that logs are always under the right user. Fixes #1593.
  Making add_site callback optional to support iOS. #1584
  Adding check for renaming a feed that a user isn't subscribed to.
  Finishing up PostgreSQL migration. Needs to test backups.
  Handling unreadable POST for push feeds and their fat pings.
  Android v11.2
  Schedule and cancel subscription sync services based on user auth state.
  Check for authenticated user before a subscription sync.
  Subscription sync service running every 24 hours to sync if necessary the user's premium subscription state between NewsBlur and Play Store.
  Upgrade subscriptions to billing 4.0
  Subscription manager to handle billing and subscription syncs between Play Store and NewsBlur.
  #1573 Feed search favicon loading.
  Replace cursor loaders (#9)
  Fixing grafana sentry integration.
  Adding sentry grafana pluging.
  Boosting timeout for docker prune
  Don't prune docker unless needed.
  Fixing names for state timeline, also fixing node server bootstrap.
  ...
2022-01-19 14:35:01 -05:00
Samuel Clay
3940e3f2a4 Less text 2022-01-19 14:32:27 -05:00
Samuel Clay
2554984717 Merge branch 'pipeline' into pro
* pipeline:
  Installing Java in deploy image to get closure compiler working. Also updating closure binary path.
  Ensuring dependencies met for deployment on local.
  Updating to docker buildx for multi-arch builds (amd64 + arm64)
2022-01-19 13:01:38 -05:00
Samuel Clay
fc8f3cb03e Installing Java in deploy image to get closure compiler working. Also updating closure binary path. 2022-01-19 13:01:31 -05:00
Samuel Clay
d0fdbde96b Ensuring dependencies met for deployment on local. 2022-01-19 10:48:11 -05:00
Samuel Clay
0f27ba81e0 Updating to docker buildx for multi-arch builds (amd64 + arm64) 2022-01-18 17:25:07 -05:00
Samuel Clay
fdeca57412 Changing cutoff dates when fetching stories, fixing issues around Oldest first for both unreads and all stories. 2022-01-18 15:25:15 -05:00
Samuel Clay
0baaa951b9 Adding preference for changing days of unreads. Need to kick off a re-counter on preference change. 2022-01-18 12:40:49 -05:00
Samuel Clay
6ec1d762b7 Migration to add days of unread to profiles. 2022-01-13 17:09:23 -05:00
Samuel Clay
2792e7305a Syncing redis on premium upgrade to sync new unread date possibilities for archive users. 2022-01-13 16:56:30 -05:00
Samuel Clay
1dd921fa61 Adding DAYS_OF_UNREAD_ARCHIVE and updating all the upread_cutoff's I could find. Doesn't seem to work yet when marking an older story as unread, but there's probably a line somewhere that's preventing the unread from working. 2022-01-13 14:55:44 -05:00
Samuel Clay
548ea15a9f Scheduling feed fetches immediately if found in safety net. 2022-01-12 12:04:25 -05:00
Samuel Clay
3ef72e6f83 Fixing feed fetch status screen to better show how subs are being fetched. 2022-01-12 11:58:28 -05:00
Samuel Clay
ef7b7f053b Merge branch 'pipeline' into pro
* pipeline:
  Looks like redis wasn't being saved properly in docker-compose.
  Looks like redis wasn't being saved properly in docker-compose.
2022-01-11 17:24:34 -05:00
Samuel Clay
31eb94f58f Merge branch 'master' into pipeline
* master:
  Looks like redis wasn't being saved properly in docker-compose.
2022-01-11 17:24:30 -05:00
Samuel Clay
00c362f7d0 Looks like redis wasn't being saved properly in docker-compose. 2022-01-11 17:24:05 -05:00
Samuel Clay
41469acd73 Looks like redis wasn't being saved properly in docker-compose. 2022-01-11 17:23:58 -05:00
Samuel Clay
3d360eb1d8 Looks like redis wasn't being saved properly in docker-compose. 2022-01-11 17:23:14 -05:00
Samuel Clay
f615fccdad Coutning archive and pro premiums correctly. 2022-01-11 15:56:19 -05:00
Samuel Clay
5d0c9e0b27 Adding email for new premiums, though not done. 2022-01-11 13:43:38 -05:00
Samuel Clay
444c4a461f Merge branch 'pipeline' into pro
* pipeline:
  Turning off logging for debug_assets=True.
2022-01-11 11:02:45 -05:00
Samuel Clay
88d000a2f9 Turning off logging for debug_assets=True. 2022-01-11 11:02:40 -05:00
Samuel Clay
b8030b4701 Merge branch 'pipeline' into pro
* pipeline:
  Celery also has a set user.
  Setting the user for celery and newsblur_web in both prod and docker-compose so that logs are always under the right user. Fixes #1593.
  Making add_site callback optional to support iOS. #1584
  Adding check for renaming a feed that a user isn't subscribed to.
  Finishing up PostgreSQL migration. Needs to test backups.
  Handling unreadable POST for push feeds and their fat pings.
  Android v11.2
  Schedule and cancel subscription sync services based on user auth state.
  Check for authenticated user before a subscription sync.
  Subscription sync service running every 24 hours to sync if necessary the user's premium subscription state between NewsBlur and Play Store.
  Upgrade subscriptions to billing 4.0
  Subscription manager to handle billing and subscription syncs between Play Store and NewsBlur.
  #1573 Feed search favicon loading.
  Replace cursor loaders (#9)
  Fixing grafana sentry integration.
  Adding sentry grafana pluging.
  Boosting timeout for docker prune
  Don't prune docker unless needed.
  Update docker-compose.yml
2022-01-11 11:00:12 -05:00
Samuel Clay
61450de5f8 Merge branch 'master' into pipeline
* master:
  Celery also has a set user.
  Setting the user for celery and newsblur_web in both prod and docker-compose so that logs are always under the right user. Fixes #1593.
  Making add_site callback optional to support iOS. #1584
  Adding check for renaming a feed that a user isn't subscribed to.
  Finishing up PostgreSQL migration. Needs to test backups.
  Handling unreadable POST for push feeds and their fat pings.
  Android v11.2
  Schedule and cancel subscription sync services based on user auth state.
  Check for authenticated user before a subscription sync.
  Subscription sync service running every 24 hours to sync if necessary the user's premium subscription state between NewsBlur and Play Store.
  Upgrade subscriptions to billing 4.0
  Subscription manager to handle billing and subscription syncs between Play Store and NewsBlur.
  #1573 Feed search favicon loading.
  Replace cursor loaders (#9)
  Fixing grafana sentry integration.
  Adding sentry grafana pluging.
  Boosting timeout for docker prune
  Don't prune docker unless needed.
  Update docker-compose.yml
2022-01-11 11:00:06 -05:00
Samuel Clay
cab90d6ace Adding archive premium accounts. 2022-01-11 10:59:45 -05:00
Samuel Clay
221bf86664 Color 2022-01-11 10:48:07 -05:00
Samuel Clay
9857ddbcb5 Typo 2022-01-10 17:09:55 -05:00
Samuel Clay
db2a87df06 Counting pro subscribers. 2022-01-10 17:00:27 -05:00
Samuel Clay
66863653aa Adding is_pro field to Profile, also making a bunch of null/blank ALTER TABLE migrations and seeing how long they take to apply to a staging prod db. 2022-01-10 16:07:49 -05:00
Samuel Clay
72bb032842 Celery also has a set user. 2022-01-10 09:52:57 -05:00
Samuel Clay
8f894bce31 Setting the user for celery and newsblur_web in both prod and docker-compose so that logs are always under the right user. Fixes #1593. 2022-01-10 09:51:46 -05:00