1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-05 02:09:05 +09:00
YuruToot/app/services
Keiji, Yoshimi 7a5086729a reduce unneed query when post without attachements. (#1907)
* reduce unneed query when post without attachements.

This commit reduce following query:

```
 MediaAttachment Load (0.9ms)  SELECT "media_attachments".* FROM "media_attachments" WHERE "media_attachments"."status
_id" IS NULL AND 1=0 ORDER BY id asc
```

* fixed for more simple changes.
2017-04-17 04:23:13 +02:00
..
concerns Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
pubsubhubbub ActiveRecord::Relation does not respond to #id (#1834) 2017-04-15 13:16:24 +02:00
account_search_service.rb Account search service refactor (#1791) 2017-04-15 03:17:07 +02:00
after_block_service.rb Silence more scope order warnings (#1604) 2017-04-12 15:58:08 +02:00
authorize_follow_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
base_service.rb Remove unused AtomBuilderHelper (#1364) 2017-04-11 19:31:22 +02:00
block_domain_service.rb Make file attachment on MediaAttachment optional (#1865) 2017-04-16 12:51:30 +02:00
block_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
fan_out_on_write_service.rb Silence more scope order warnings (#1604) 2017-04-12 15:58:08 +02:00
favourite_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
fetch_atom_service.rb Shorter timeout on FetchAtomService 2017-03-22 17:41:52 +01:00
fetch_link_card_service.rb Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB, 2017-01-27 16:57:23 +01:00
fetch_remote_account_service.rb Get handle from atom feed's author/email field instead of guessing from URL (#1344) 2017-04-09 18:43:48 +02:00
fetch_remote_resource_service.rb Fix full-text search query quotation, improve tag search performance with an index, 2017-03-22 17:36:34 +01:00
fetch_remote_status_service.rb Fix full-text search query quotation, improve tag search performance with an index, 2017-03-22 17:36:34 +01:00
follow_remote_account_service.rb Clean up check that account needs a webfinger update (#1932) 2017-04-16 16:38:29 +02:00
follow_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
mute_service.rb Silence more scope order warnings (#1604) 2017-04-12 15:58:08 +02:00
notify_service.rb Check @recipient.user at the first (#1939) 2017-04-16 18:04:05 +02:00
post_status_service.rb reduce unneed query when post without attachements. (#1907) 2017-04-17 04:23:13 +02:00
precompute_feed_service.rb Spawn FeedInsertWorker to deliver status into personal feed 2017-04-04 19:21:37 +02:00
process_feed_service.rb Add language detection (#1772) 2017-04-16 20:32:17 +02:00
process_hashtags_service.rb Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text 2017-01-25 01:29:16 +01:00
process_interaction_service.rb Split SalmonWorker into smaller parts, move profile updating into another job 2017-04-05 21:43:10 +02:00
process_mentions_service.rb Fix casuality of processing remote mentions such that notifications 2017-03-13 16:34:15 +01:00
reblog_service.rb Add "direct" visibility level in the backend. Web UI is not yet 2017-03-15 22:55:45 +01:00
reject_follow_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
remove_status_service.rb Fix wrong pubsub channel on public timelines 2017-04-06 04:03:23 +02:00
search_service.rb Fix reworked search 2017-03-31 22:45:56 +02:00
send_interaction_service.rb Make follow requests federate 2017-02-11 02:58:00 +01:00
subscribe_service.rb Fix rubocop issues, introduce usage of frozen literal to improve performance 2016-11-15 16:56:29 +01:00
suspend_account_service.rb Make file attachment on MediaAttachment optional (#1865) 2017-04-16 12:51:30 +02:00
unblock_domain_service.rb Make file attachment on MediaAttachment optional (#1865) 2017-04-16 12:51:30 +02:00
unblock_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
unfavourite_service.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
unfollow_service.rb Fixed NoMethodError in UnfollowService (#1918) 2017-04-16 14:55:43 +02:00
unmute_service.rb Fix #231 - Muting 2017-03-02 18:49:32 +01:00
unsubscribe_service.rb Fix #329 - avatar errors no longer prevent remote accounts from being saved 2016-12-02 14:14:49 +01:00
update_remote_profile_service.rb Fix #1141, fix #1126 - Avatar/profile info fetching (#1215) 2017-04-08 13:26:03 +02:00
warm_cache_service.rb Preheat status cache 2017-02-05 17:24:18 +01:00