Commit graph

95 commits

Author SHA1 Message Date
Kyle Mahan
ffb2e1d033 start using alembic 2015-04-18 17:44:00 -07:00
Kyle Mahan
b57e0cca26 add div/span to bleach's allowed tags 2015-04-18 15:36:58 -07:00
Kyle Mahan
398dd39929 some live bugfixes 2015-04-18 22:35:31 +00:00
Kyle Mahan
24abdc076e Merge in changes from trunk 2015-04-17 16:35:24 +00:00
Kyle Mahan
d62c58cae8 better formatting of timestamps, add pre to bleach whitelist 2015-04-17 16:33:41 +00:00
Kyle Mahan
22dc633071 added default config file to create_app func 2015-04-17 09:32:21 -07:00
Kyle Mahan
caf470733e added audio and video for rss feeds, borrowed from unmung 2015-04-17 09:32:21 -07:00
Kyle Mahan
67c617e9dc do not use Flask-SQLAlchemy from async tasks 2015-04-02 15:12:20 +00:00
Kyle Mahan
56b1485d21 fix X-Hub-Signature comparison 2015-04-02 06:35:56 +00:00
Kyle Mahan
85e53fa4f6 fat pings for PuSH 2015-04-01 23:17:48 -07:00
Kyle Mahan
90f5a273a3 remove tornado from the fabfile 2015-04-01 19:38:50 -07:00
Kyle Mahan
482ca0ca83 refresh expiring push subscription sooner 2015-04-02 02:38:09 +00:00
Kyle Mahan
6aebe0287d canonicalize URLs, split jobs into high and low priority 2015-04-01 18:44:47 +00:00
Kyle Mahan
127035e328 proper sort order when reading more than one entry at a time
put entries in the feed, sorted by the retrieved date first, then
break ties based on the published date.
2015-03-20 23:07:52 -07:00
Kyle Mahan
5f1baa228f better debug logging even in prod 2015-03-21 05:10:40 +00:00
Kyle Mahan
fa4064ab31 cache the result of running bleach in the db, too slow to do on render 2015-03-18 08:53:37 -07:00
Kyle Mahan
a4113c9416 subqueryload to dramatically reduce the number of queries required 2015-03-17 21:03:45 -07:00
Kyle Mahan
17da903db7 fetch reply contexts only after saving the original set of entries 2015-03-18 00:57:51 +00:00
Kyle Mahan
db006d58d6 update references to use // instaed of http:// where possible 2015-03-17 02:46:42 +00:00
Kyle Mahan
db877f0c2e update ini files to run asyncio process as a daemon 2015-03-15 10:52:15 -07:00
Kyle Mahan
9ec34de4fc Merge branch 'master' of github.com:kylewm/woodwind 2015-03-15 10:40:51 -07:00
Kyle Mahan
dae2a0db02 use asyncio instead of tornado to handle websocket stuff 2015-03-15 10:40:41 -07:00
Kyle Mahan
6d1f621009 full path to daemon in uwsgi ini file 2015-03-15 17:39:48 +00:00
Kyle Mahan
20b757c315 remove reference to celery in fabric file 2015-03-14 20:02:47 +00:00
Kyle Mahan
ce5a1dfe98 move uwsgi timers call to its own module; it can't live under tasks because rqworker can't import the uwsgi module 2015-03-14 20:00:19 +00:00
Kyle Mahan
7aca475393 slightly nicer styling for link to duplicates 2015-03-14 19:21:54 +00:00
Kyle Mahan
e93b9e8891 use simpler RQ library instead of celery 2015-03-14 12:17:34 -07:00
Kyle Mahan
9b1b7c1202 normalize html content before comparing old entry to new 2015-03-11 09:19:02 -07:00
Kyle Mahan
8bc33dc611 dedupe syndicated copies if the original has u-syndication 2015-03-03 22:07:32 -08:00
Kyle Mahan
80bf15238f add a little padding to the top of the screen 2015-03-04 03:41:39 +00:00
Kyle Mahan
215444a9b9 fix some silly typos 2015-03-03 16:31:42 +00:00
Kyle Mahan
cbf7fb9c15 try ordering posts by retrieved date instead of published date 2015-03-01 21:16:00 -08:00
Kyle Mahan
f2a3680667 add link to entries for this-feed-only view
fixes #12, thanks for the suggestion @gRegorLove
2015-03-01 17:05:19 -08:00
Kyle Mahan
ed0a9b8bbc relative time filter, show negative times (future) 2015-03-02 00:42:20 +00:00
Kyle Mahan
a9bb8e4835 add push_expiry to the feed details 2015-02-27 08:31:49 -08:00
Kyle Mahan
d7beee9843 support hub.lease_seconds
- re-subscribe when we start to get close to the expiration
2015-02-27 08:16:15 -08:00
Kyle Mahan
903b4ce4ee when updating post, don't bother deleting the old one 2015-02-27 15:58:28 +00:00
Kyle Mahan
fff53125dd oops remove subscribers when they disconnect 2015-02-24 22:47:08 -08:00
Kyle Mahan
6efa7f8d1d port websocket_server from Node to Tornado 2015-02-24 21:54:06 -08:00
Kyle Mahan
5ae94c2273 minor template tweaks 2015-02-25 04:55:57 +00:00
Kyle Mahan
52a8564b97 add realtime update notification 2015-02-22 21:55:45 -08:00
Kyle Mahan
f8eee5261a typo; flip dt and now in relative date formatter 2015-02-22 09:33:27 -08:00
Kyle Mahan
f0f3ee6512 use time tag for relative dates 2015-02-22 09:31:27 -08:00
Kyle Mahan
9842187266 look for link=hub/self in feed body in addition to http headers 2015-02-22 09:26:50 -08:00
Kyle Mahan
6f2dc85110 add prelim support for pubsubhubbub enabled feeds 2015-02-21 22:59:26 -08:00
Kyle Mahan
8e3a671531 Merge branch 'master' of github.com:kylewm/woodwind 2015-02-19 23:21:49 -08:00
Kyle Mahan
ff7d71e685 reduce margin between note and replyContext 2015-02-19 23:21:24 -08:00
Kyle Mahan
740ffd47b4 cache bust static resources 2015-02-19 17:34:20 +00:00
Kyle Mahan
f7eaba5406 reply context: use domain for url instead of feed name 2015-02-19 09:32:54 -08:00
Kyle Mahan
c007c6ff7a limit the width of videos in the feed 2015-02-19 09:30:40 -08:00