Commit Graph

787 Commits

Author SHA1 Message Date
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
codl 68ac747f7e
Merge remote-tracking branch 'github/master' into update-more-deps 2019-02-24 11:05:23 +01:00
dependabot[bot] 8ae7338652 Bump rollup from 0.66.6 to 1.2.3
Bumps [rollup](https://github.com/rollup/rollup) from 0.66.6 to 1.2.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/v0.66.6...v1.2.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-24 00:08:11 +00:00
codl d01b85b584
update more deps 2019-02-24 00:55:18 +01:00
dependabot[bot] cfd2318b2c Bump rollup-plugin-svelte from 4.3.2 to 5.0.3
Bumps [rollup-plugin-svelte](https://github.com/rollup/rollup-plugin-svelte) from 4.3.2 to 5.0.3.
- [Release notes](https://github.com/rollup/rollup-plugin-svelte/releases)
- [Changelog](https://github.com/rollup/rollup-plugin-svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup-plugin-svelte/compare/v4.3.2...v5.0.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-23 23:50:36 +00:00
codl e2cef52eb1
update changelog 2019-02-24 00:44:47 +01:00
codl 4d001f31f3
Merge branch 'update-deps' 2019-02-24 00:42:40 +01:00
dependabot[bot] c42265070b Bump coverage from 4.5.1 to 4.5.2
Bumps [coverage](https://bitbucket.org/ned/coveragepy) from 4.5.1 to 4.5.2.
- [Changelog](https://bitbucket.org/ned/coveragepy/src/default/CHANGES.rst)
- [Commits](https://bitbucket.org/ned/coveragepy/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-23 23:41:09 +00:00
codl e9749f70e0
no more florps. that joke is getting dated 2019-02-24 00:40:28 +01:00
codl fc25e6ca7b
fix picture tags having an extra comma in their srcset 2019-02-24 00:40:25 +01:00
dependabot[bot] af3a51ae19 Bump svelte from 2.15.0 to 2.16.1
Bumps [svelte](https://github.com/sveltejs/svelte) from 2.15.0 to 2.16.1.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/v2.16.1/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v2.15.0...v2.16.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-23 23:29:04 +00:00
dependabot[bot] bff6df0314 Bump raven from 6.9.0 to 6.10.0
Bumps [raven](https://github.com/getsentry/raven-python) from 6.9.0 to 6.10.0.
- [Release notes](https://github.com/getsentry/raven-python/releases)
- [Changelog](https://github.com/getsentry/raven-python/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/raven-python/compare/6.9.0...6.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-23 23:16:56 +00:00