instante-social/app
ThibG 31f0bcf804 Refresh webfinger (#1323)
* Refresh local info for remote accounts when webfinger returns new values

It only refreshes account info if one of the URLs or the public-key changes,
in which cases it refreshes the full info, re-downloading the feeds from that
user.

Some special handling should probably be done when the public key changes,
but I have been unable to find any use for it in Mastodon yet.

* Re-fetch remote users we aren't subscribed to.

This might induce performance issues, we might want to only do that for users
we explicitly attempted to subscribe but failed to.

* Refactor changes

* Do not refresh existing remote account details more than once a day

* Avoid re-fetching webfinger info in tests unless otherwise specified
2017-04-15 03:16:05 +02:00
..
assets jslint: fix jslint warnings (#1704) 2017-04-15 02:57:26 +02:00
controllers Send initial state in a <script type="application/json"> tag (#1806) 2017-04-15 02:32:42 +02:00
helpers Rename admin/accounts_helper to admin/filter_helper (#1816) 2017-04-15 03:09:55 +02:00
lib Allow running mastodon on a different domain as the one used for identifying users (#1267) 2017-04-15 02:15:46 +02:00
mailers Make Reporting admin section translatable (#1549) 2017-04-12 17:11:49 +02:00
models Remove .keep in models (#1748) 2017-04-14 12:43:29 +02:00
presenters Clean up about page (#1282) 2017-04-09 14:47:25 +02:00
services Refresh webfinger (#1323) 2017-04-15 03:16:05 +02:00
validators Organize coverage dirs (#1695) 2017-04-13 16:00:31 +02:00
views Use site title on tags#show page (#1802) 2017-04-15 02:37:20 +02:00
workers Quick best practice cleanup of views/helpers (#1546) 2017-04-12 18:24:18 +02:00