Commit Graph

627 Commits

Author SHA1 Message Date
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
dependabot[bot] 6266a1d603 Bump requests from 2.20.0 to 2.21.0
Bumps [requests](https://github.com/requests/requests) from 2.20.0 to 2.21.0.
- [Release notes](https://github.com/requests/requests/releases)
- [Changelog](https://github.com/requests/requests/blob/master/HISTORY.md)
- [Commits](https://github.com/requests/requests/compare/v2.20.0...v2.21.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-23 22:58:49 +00:00
dependabot[bot] 6355addcfb Bump redis from 2.10.6 to 3.0.1
Bumps [redis](https://github.com/andymccurdy/redis-py) from 2.10.6 to 3.0.1.
- [Release notes](https://github.com/andymccurdy/redis-py/releases)
- [Changelog](https://github.com/andymccurdy/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/andymccurdy/redis-py/compare/2.10.6...3.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-23 22:37:09 +00:00
codl 0cb94cfa01 remove x- prefix from headers 2018-11-30 23:04:37 +01:00
codl 74d04ce7aa
release v1.4.1 2018-10-29 22:07:48 +01:00
codl 170c535928
Merge remote-tracking branch 'github/master' 2018-10-29 22:01:53 +01:00
dependabot[bot] e647e5322a Bump pytest from 3.8.2 to 3.9.3
Bumps [pytest](https://github.com/pytest-dev/pytest) from 3.8.2 to 3.9.3.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/3.8.2...3.9.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 20:57:40 +00:00
dependabot[bot] f5f404b3d1 Bump rollup from 0.66.4 to 0.66.6
Bumps [rollup](https://github.com/rollup/rollup) from 0.66.4 to 0.66.6.
- [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.4...v0.66.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 20:49:37 +00:00
dependabot[bot] 3f0a5a193e Bump svelte from 2.13.5 to 2.15.0
Bumps [svelte](https://github.com/sveltejs/svelte) from 2.13.5 to 2.15.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v2.13.5...v2.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 20:40:03 +00:00
dependabot[bot] 536574df8b Bump flask-migrate from 2.2.1 to 2.3.0
Bumps [flask-migrate](https://github.com/miguelgrinberg/flask-migrate) from 2.2.1 to 2.3.0.
- [Release notes](https://github.com/miguelgrinberg/flask-migrate/releases)
- [Changelog](https://github.com/miguelgrinberg/Flask-Migrate/blob/master/CHANGELOG.md)
- [Commits](https://github.com/miguelgrinberg/flask-migrate/compare/v2.2.1...v2.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 20:26:56 +00:00
dependabot[bot] 71a6d52303 Bump brotli from 1.0.6 to 1.0.7
Bumps [brotli](https://github.com/google/brotli) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/google/brotli/releases)
- [Commits](https://github.com/google/brotli/compare/v1.0.6...v1.0.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-10-29 20:16:23 +00:00