hometown/app
Eugen Rochko e7adbf572a Switch to static URIs, new URI format in both protocols for new statuses (#4815)
* Decouple Status#local? from uri being nil

* Replace on-the-fly URI generation with stored URIs

- Generate URI in after_save hook for local statuses
- Use static value in TagManager when available, fallback to tag format
- Make TagManager use ActivityPub::TagManager to understand new format
- Adjust tests

* Use other heuristic for locality of old statuses, do not perform long query

* Exclude tombstone stream entries from Atom feed

* Prevent nil statuses from landing in Pubsubhubbub::DistributionWorker

* Fix URI not being saved (#4818)

* Add more specs for Status

* Save generated uri immediately

and also fix method order to minimize diff.

* Fix alternate HTML URL in Atom

* Fix tests

* Remove not-null constraint from statuses migration to speed it up
2017-09-06 19:01:28 +02:00
..
controllers Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
helpers swift-enable the paperclip! 📎 (#2322) 2017-09-05 23:17:06 +02:00
javascript Add Smartphone screen favourite back button and adjust styles (#4813) 2017-09-06 17:32:15 +02:00
lib Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
mailers Set default From address in config (#3756) 2017-07-07 00:12:12 +02:00
models Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Fix #4794 - Fake instant follow in API response when account is believed unlocked (#4799) 2017-09-05 17:48:13 +02:00
serializers Adjust status embeds (#4808) 2017-09-05 12:31:24 +02:00
services Fix mentions in direct statuses not being delivered via AP (#4806) 2017-09-05 20:55:25 +02:00
validators Pinned statuses (#4675) 2017-08-25 01:41:18 +02:00
views Adjust status embeds (#4808) 2017-09-05 12:31:24 +02:00
workers Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00