Commit Graph

698 Commits

Author SHA1 Message Date
dependabot[bot] 4fa26dc3c7 [Security] Bump urllib3 from 1.24.1 to 1.24.2
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.24.1 to 1.24.2. **This update includes security fixes.**
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/master/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.24.1...1.24.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-19 20:23:56 +00:00
dependabot[bot] 6902f9a7d8 [Security] Bump jinja2 from 2.10 to 2.10.1
Bumps [jinja2](https://github.com/mitsuhiko/jinja2) from 2.10 to 2.10.1. **This update includes security fixes.**
- [Release notes](https://github.com/mitsuhiko/jinja2/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/docs/changelog.rst)
- [Commits](https://github.com/mitsuhiko/jinja2/compare/2.10...2.10.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-13 19:07:06 +00:00
codl 93b0f2c11d
release 1.5.0 2019-03-15 21:53:12 +01:00
codl 8b1af6ecb6
Merge pull request #176 from codl/175
move known instance buttons entirely client-side
2019-03-15 21:50:36 +01:00
codl a00bbe0e14
update changelog 2019-03-15 21:37:14 +01:00
codl ab4cc996ab
move normalize to the more general known_instances.js 2019-03-15 21:28:41 +01:00
codl bd795157c7
fix duplicate instances between known and top 2019-03-15 21:23:20 +01:00
codl b4c332190e
return 404 on empty known instances cookie
that way it will use the default
2019-03-15 21:21:56 +01:00
codl ca5ccada19
remove stray console.logs 2019-03-15 21:15:55 +01:00
codl 2bacbaa8b1
known instances: bump instance counter when logging in 2019-03-15 21:09:22 +01:00
codl 915a6029d7
port algorithm for normalizing known instances to five visible slots 2019-03-15 20:25:45 +01:00
codl 17f59a018f
script to show known instances from cookie, mmoving it to localstorage 2019-03-15 19:46:18 +01:00
codl ec10d15217
pad to avoid oracle attacks on /api/known_instances 2019-03-15 18:29:55 +01:00
codl 8cca6c2fe3
add templates for instance buttons 2019-03-15 17:59:44 +01:00
codl 8cf12f31c8
add endpoint to access and clear existing known instances cookie 2019-03-15 17:18:43 +01:00
codl b57f71ae58
remove known instances 2019-03-15 17:17:00 +01:00
codl 41683fcffd
Merge pull request #172 from codl/avoid-limit
mastodon: stop before hitting the rate limit
2019-03-11 16:40:33 +01:00
codl 843825b1d9
update changelog 2019-03-11 16:37:47 +01:00
codl a68a673925
mastodon: stop before hitting the rate limit 2019-03-11 16:35:43 +01:00
codl 689c013f55
Merge pull request #173 from codl/clean-tasks
make fetch_acc unique, various task cleanup
2019-03-11 16:33:48 +01:00
codl 27df3e1a51
update changelog 2019-03-11 16:25:15 +01:00
codl 2b39a61442
increased task frequency for refreshes. decreased for bookkeeping 2019-03-11 12:18:51 +01:00
codl 0f3df6ad24
remove leftover debug print, standardise task prints 2019-03-11 12:12:04 +01:00
codl 249fab7014
make fetch_acc unique
now that it doesn't carry state info in its arguments, it's safe to skip
dupes
2019-03-11 12:08:47 +01:00
codl 095952f767
update changelog. release v1.4.3 2019-03-11 03:31:04 +01:00
codl fc06355bca
Merge pull request #170 from codl/fix-fetch-acc
fix crash in fetch_acc when user has no posts
2019-03-11 03:19:14 +01:00
codl 1430361763
Merge pull request #169 from codl/fix-deadlock
disable autoflush in refresh_posts, fixing deadlocks. closes GH-19
2019-03-11 03:18:58 +01:00
codl 7647ca86fc
Merge pull request #168 from codl/crash-backoff
refresh_account: increment backoff if something crashes
2019-03-11 03:17:57 +01:00
codl 6d6184f3d8
disable autoflush in refresh_posts, fixing deadlocks. closes GH-19 2019-03-11 03:10:32 +01:00
codl 84089f8a40
refresh_account: increment backoff if something crashes
this is kind of a hotfix for the thing with pleroma returning bad error
messages crashing mastodon.py. but it's good practice anyway
2019-03-11 03:10:06 +01:00
codl 84e0ad6b1f
fix crash in fetch_acc when user has no posts 2019-03-09 15:56:07 +01:00
codl 78c84ed92c
Merge branch 'existenz' 2019-03-08 01:27:23 +01:00
codl dfcc9287b8
check for existence before refreshing oldest post/account
this only happens when you don't have any accounts yet and it is a bad
look the first time you set up a new forget install
2019-03-08 01:24:13 +01:00
codl 280a5bee3f cough. nothing to see here [skip ci] 2019-03-08 01:09:41 +01:00
codl 89a718cfea document config.example.py better 2019-03-08 01:02:25 +01:00
codl 445caf1daa Update README.markdown
npm ci only exists in recent-ish versions of npm. replaced with npm install
2019-03-07 12:12:21 +01:00
dependabot[bot] eae4d06f42 Bump rollup from 1.2.3 to 1.3.3
Bumps [rollup](https://github.com/rollup/rollup) from 1.2.3 to 1.3.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v1.2.3...v1.3.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 03:02:02 +00:00
codl 44474f096d
update promo screenshot 2019-02-25 01:46:46 +01:00
codl fa832412fa
readme: update maintenance badge 2019-02-25 01:07:59 +01:00
codl 316e747b9b
update requirements files
oops i forgot
2019-02-25 00:57:10 +01:00
codl ce9feb0e0e
release 1.4.2 2019-02-24 16:45:51 +01:00
codl 61131f4298
Merge branch 'fix-refresh' 2019-02-24 16:36:23 +01:00
codl 4054ebfffd
Merge branch 'master' into fix-refresh 2019-02-24 16:35:44 +01:00
codl b3168278d3
Merge branch 'new-fetch' 2019-02-24 16:32:27 +01:00
codl 34814b4661
update changelog 2019-02-24 16:31:57 +01:00
codl d5e0b43c9e
fix: posts not getting refreshed
turns out i was not touching updated_at, so i'd always be refreshing
the same posts unless one of them actually changed

this is embarassing, there are posts in the DB that haven't been
refreshed since 2017
2019-02-24 16:28:59 +01:00
codl b4ce1964f5
update changelog 2019-02-24 15:40:41 +01:00
codl a6c5361138
more robust fetching. closes #13
this also refactors libforget so neither the twitter or mastodon lib
insert posts directly
2019-02-24 15:40:41 +01:00
codl 649b68793c
libforget mastodon: same thing. raise temporaryerror if no access 2019-02-24 13:11:31 +01:00
codl 60e2357597
twitter: raise temporaryerror when no access instead of silently failing 2019-02-24 12:48:58 +01:00