This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/lib
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
..
activitypub Fix some ActivityPub JSON bugs (#4796) 2017-09-04 18:26:33 +02:00
ostatus Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
settings
application_extension.rb
emoji.rb Change RuboCop rules to loose (#4464) 2017-07-31 15:19:13 +02:00
exceptions.rb Add callback_url/acct information for Sidekiq PuSH workers Exception. (#4281) 2017-07-27 00:38:20 +02:00
extractor.rb
feed_manager.rb
formatter.rb Don't normalize invalid domain names (#4499) 2017-08-02 14:54:33 +02:00
hash_object.rb
inline_renderer.rb
language_detector.rb Fix length validator counting things that look like URIs like URLs (#4462) 2017-07-31 05:06:20 +02:00
provider_discovery.rb
request.rb Add Digest header to requests with body, handle acct and URI keyId (#4565) 2017-08-09 23:54:14 +02:00
sanitize_config.rb
status_filter.rb
status_finder.rb Raise an error for remote url in StatusFinder (#4776) 2017-09-02 17:42:47 +02:00
tag_manager.rb Switch to static URIs, new URI format in both protocols for new statuses (#4815) 2017-09-06 19:01:28 +02:00
user_settings_decorator.rb
webfinger_resource.rb