Commit graph

44 commits

Author SHA1 Message Date
Samuel Clay
8371c635f7 Merge branch 'master' into django2.0
* master: (27 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 09:09:25 -05:00
Samuel Clay
108fcd78da Handling ajax errors in json views. 2020-12-06 12:03:31 -05:00
Samuel Clay
42d4a4211f Fixing encoding issues. 2020-06-30 17:22:47 -04:00
Samuel Clay
9155216e46 So many bytes<>str encoding issues. Also mongoengine wants to create new indexes all the time. 2020-06-30 14:49:12 -04:00
Samuel Clay
0d6cb69548 Merge branch 'django1.11' into django2.0
* django1.11: (73 commits)
  Switching to new celery 4 standalone binary.
  Fixing various mongo data calls.
  Upgrading to latest celery 4 (holy moly), which required some big changes to project layout. Still needs supervisor scripts updated.
  Removing unused log on cookies.
  I believe this Context wrapping is still preserved. See this django ticket: https://code.djangoproject.com/ticket/28125. Reverting this fixes the error, so I'm assuming this is that type of render.
  Have to revert 3f122d5e03 because this broke existing sessions (logged me out) because the model has changed and the serialized model stored in redis no longer matches. Whew, this took a while to figure out.
  Upgrading redis cache.
  Adding cookies to path inspector.
  Removing dupe db log.
  Fixing missing DB logs (redis and mongo) due to this change in django 1.8: "connections.queries is now a read-only attribute."
  Removing migrations that set a default date of 2020-05-08. Not sure why this was committed. I thought we resolved the issue with default datetimes?
  Fixing CallableBool.
  Missing import
  Fixing runtime errors on django 1.10
  Fixing OAuth connect.
  Fixing various django1.9 issues, mainly around templates.
  BASE_DIR
  Not every story is from a feed.
  Styling background colors for newsletters.
  Styling more newsletter elements.
  ...
2020-06-30 12:34:59 -04:00
Samuel Clay
11c30d12ce Fixing CallableBool. 2020-06-26 10:15:45 -04:00
Jonathan Math
3a0a2c28b8 2to3 utils/*.py 2020-06-19 02:27:48 -04:00
jmath1
5c1e0a1c5e change force_str to force_text and smart_unicode to smart_bytes in utils/json_functions.py 2020-06-13 13:06:59 -04:00
jmath1
09fd8fa846 2to3 utils/json_functions.py 2020-06-13 13:04:33 -04:00
jmath1
7d95dbb5cf change User.is_authenticated() and User.is_anonymous() to attributes 2020-06-11 15:13:12 -04:00
jmath1
4e89bcd67a upgrade to django 1.6 and make migrations 2020-06-05 11:00:54 -04:00
Slavik Svyrydiuk
007da98f9d replaced 'unicode' with 'smart_unicode' in json_encode. added some PEP8 fixes. 2015-12-02 07:20:50 +01:00
Samuel Clay
df4b90fa41 Adding user_id to every response. 2014-07-21 21:08:38 -07:00
Samuel Clay
85120d3f99 Fixing Twitter sharing by upgrading to API v1.1. 2013-06-12 13:52:43 -07:00
Samuel Clay
2bd2589c80 Handling error when user is already refunded. 2013-05-10 12:15:54 -07:00
Samuel Clay
0a03154473 First half of DynamoDB trial, converting stories from mongo to dynamodb. Still needs to be updated/inserted on feed update, and then processed with all MStory uses. 2012-09-04 12:01:55 -07:00
Samuel Clay
8eb106612a Converting replies from original messages to reply ids. Also delaying emails on new replies and reshares so authors can change typos. Also dong a much better job with checking for dupe emails so no dupes ever get sent out. 2012-07-27 18:58:35 -07:00
Samuel Clay
86292822c0 Removing cjson. Fixing collect_stats requirement on bootstrap. 2012-07-17 12:07:26 -07:00
Samuel Clay
db49bb35b5 Adding user profile/preferences to flat feeds (for android and ios). 2012-07-13 18:42:44 -07:00
Samuel Clay
db3a809dd1 Adding first JS to blurblogs: loading public comments. 2012-06-29 21:06:33 -07:00
Samuel Clay
3c31c0c6a6 Merge branch 'master' into social
* master:
  Adding MongoDB logging for debug.
  Being far kinder during feed exception handling and showing users error text. Cannot believe this wasn't there.

Conflicts:
	media/css/reader.css
	templates/base.html
	utils/json_functions.py
2012-04-06 18:35:40 -07:00
Samuel Clay
21bd9a0c3d Being far kinder during feed exception handling and showing users error text. Cannot believe this wasn't there. 2012-04-06 16:21:16 -07:00
Samuel Clay
aaa5aa1cd6 Merge branch 'master' into social
* master:
  Changing copy on premium/feedchooser dialog.
  Styling errors on stripe payment form.
  Final stripe.js tweaks before launch.
  Adding Pay by Credit Card as an option to feed chooser dialog. Thus concludes Stripe.js integration. Time to launch!
  Styling the stripe.js background.
  Using correct kwargs for stripe signal.
  Wrapping up stripe.js form. Has validation, styling, and does the right thing for new subscriptions. Needs a link to the form, though.
  Setting up correct customer model for stripe webhook.
  Moving JS assets to bottom of the page for faster loadtimes.
  Fixing exception on missing param in feed address searching.
  Fixing recommendation date serialization bug.
  Fixing bugs around login with blank password using full password. Also fixing bug in signups with no username.
  Stripe.js payments using zebra. Adding zebra as a vendored dependency. Webhooks and views all in. Needs styling, custom username and email fields, and loads of testing.
  Adding error checking on requests in page fetching.
  Using a probability from redis to determine whether or not to skip a fetch.
  Allowing any password to be used on accounts with no password set.
  Adding paypal logo.

Conflicts:
	assets.yml
	media/js/newsblur/reader/reader_feedchooser.js
	settings.py
	templates/base.html
2012-02-29 16:22:47 -08:00
Samuel Clay
d2925e7efe Fixing recommendation date serialization bug. 2012-02-28 11:48:23 -08:00
Samuel Clay
8519d68c36 Including feeds that a user isn't subscribed to in social feeds. Also adding a new url for feed icons. 2012-01-26 18:59:40 -08:00
Samuel Clay
edb76d8c83 Adding feed update interval for non-premium users in Statistics. 2012-01-13 17:54:17 -08:00
Samuel Clay
bd87f3484b Adding handler to to_json calls on all serialized models. 2011-12-25 12:45:07 -08:00
Samuel Clay
3b061f9529 Hiding upload image. Changing a few bits of copy. 2011-12-25 12:27:05 -08:00
Samuel Clay
9837c5a9ee Merge branch 'master' into social
* master:
  Fixing two major bugs: auto filling stories now works far better nad doesn't lock you in. Also fixing the infernal unicode json parsing bug that's been effecting a bunch of sites.
2011-12-24 19:42:04 -08:00
Samuel Clay
6e1ebce64a Fixing two major bugs: auto filling stories now works far better nad doesn't lock you in. Also fixing the infernal unicode json parsing bug that's been effecting a bunch of sites. 2011-12-24 14:45:19 -08:00
Samuel Clay
cbea833e05 Adding Facebook OAuth and friend list saving. 2011-12-20 11:49:49 -08:00
Samuel Clay
b94d48b793 Adding shared stories model, saving shared stories (with comments), and loading shared stories in feed pages. Now just need to make a share feed, follow a share feed, and find friends to follow. 2011-12-15 09:10:37 -08:00
Samuel Clay
fb237e1049 Finishing up feed_link corrections. Just need feed_address (which is essentially a refactor and abstraction of this feed_link code), and then duplicate UI, which is pretty easy. Yay. 2011-11-16 18:41:36 -08:00
Samuel Clay
8c0906fbff Changing scroll speed. Adding authenticated info to every request. 2011-09-03 23:10:46 -07:00
Samuel Clay
96d8283ed0 Updating unit tests, fixing datetime issue in json serialization. 2011-08-31 09:41:34 -07:00
Samuel Clay
3cecc81eda Handling broken decodes in cjson. Also fixing river. 2011-08-29 21:45:47 -07:00
Samuel Clay
c64415a15e Getting rid of awful hack to make cjson encode dicts correctly with integer keys. 2011-08-29 21:28:12 -07:00
Samuel Clay
591d5d9660 Fixing two major issues: utf-8 encoding on cjson encoding (doh!) and when feeds are moved through de-duping, let the client know about the new feed id. This will help all new users. 2011-08-29 20:51:40 -07:00
Samuel Clay
f5a4e09751 Upgrading to cjson, which may just break EVERYTHING. 2011-08-22 18:17:42 -07:00
Samuel Clay
229bd75281 Went nuts and restyled a bunch of table cells. Also hooked up accounts. Need to clean up the login view, as well as finish the reading flow. 2011-07-20 21:08:57 -07:00
Samuel Clay
42d6abe247 Refactoring URLs for the reader. 2011-04-20 09:35:59 -04:00
Samuel Clay
173ba7f375 Handling add url errors correctly. Also handling duplicate stories being marked read. Lastly, fixing bug around future stories being marked as read and then falling into an inconsistent state. 2011-02-24 18:51:30 -05:00
Samuel Clay
9892670377 Correctly handling 404s when in JSON views. 2010-11-04 19:28:35 -04:00
Samuel Clay
10f58f8608 Renaming json.py to json_functions.py to resolve namespace conflict with anyjson. 2010-10-23 13:06:28 -04:00
Renamed from utils/json.py (Browse further)