Matt Jankowski
16d50f60d1
Remove unused methods ( #1730 )
...
* Remove unused method #set_counters_maps from api controller
* Remove unused method #set_account_counters_maps from api controller
* Remove unused method Account#followers_domains
* Remove unused User.prolific scope
* Add mastodon:users:admins task to list all admin emails
* Use interpolated query style in Account.triadic_closures
* Coverage for Account.triadic_closures
8 years ago
Eugen
12f72e1740
When avatar/header are GIF, generate static versions ( #1428 )
...
* When avatar/header are GIF, generate static versions.
Account API returns "avatar"/"avatar_static", "header"/"header_static"
Static version is the same as original for other cases
Web UI de-animates avatars in toots, lists of users
Fix #441 , fix #596 , prerequisite for #1064
* Fix JS test
* Add rake task to generate static avatars/headers from GIF ones, add test
8 years ago
Matt Jankowski
0687ab8ae3
Clean up generation of account webfinger string ( #1477 )
...
* Consolidate webfinger string creation under Account#to_webfinger_s
* Introduce Account#local_username_and_domain for consolidation
8 years ago
Matt Jankowski
388ec0d5b6
Search cleanup ( #1333 )
...
* Clean up SQL output in Tag and Account search methods
* Add basic coverage for Tag.search_for
* Add coverage for Account.search_for
* Add coverage for Account.advanced_search_for
8 years ago
Joël Quenneville
d4c94fa004
DRY up reblog vs original status check
...
Checking reblog vs original status was happening in multiple places
across the app. For views, this logic was encapsulated in a helper
method named `proper_status` but in the other layers of the app, the
logic was duplicated.
Because the logic is used at all layers of the app, we extracted it into
a `Status#proper` method on the model and changed all uses of the logic
to use this method. There is now a single source of truth for this
condition.
We added test coverage to untested methods that got refactored.
8 years ago
Eugen Rochko
5aa3df017b
Fix full-text search query quotation, improve tag search performance with an index,
...
add ability to open status by URL from search (fix #53 )
8 years ago
Eugen Rochko
1b09c3cb17
More efficient single account retrieval (0.9ms vs 50ms before)
8 years ago
Eugen Rochko
2816b1bf8e
Federate header images, fix open-uri http->https redirection error
8 years ago
Eugen Rochko
ad0d82d3ce
Make account search blazing fast and rank followers/followees higher in the results
8 years ago
Eugen Rochko
017350e0ea
Add method for retrieving triadic closures
8 years ago
Eugen Rochko
4fb95c91fb
Fix wrongful matching of last period in extended usernames
...
Fix anchor tags in some wikipedia URLs being matches as a hashtag
8 years ago
Kit Redgrave
442fdbfc53
Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Eugen Rochko
175a9b9caa
Fix #104 - Style OAuth authorized applications page
...
Add ability to search accounts by display name
8 years ago
Eugen Rochko
53ae431867
Skip remote media URLs that don't have a hostname
8 years ago
Eugen Rochko
446aad4ce2
Make PuSH only distribute to subscriptions that match follower domains
...
Allow PuSH to distribute private toots with that condition
8 years ago
Eugen Rochko
f051c2e813
Fix statsd null backend not being initialized properly
8 years ago
Eugen
8b9206f7d9
Try to avoid any potential loops
8 years ago
Eugen Rochko
6cf44ca92c
Improve how the list entry Account component looks when target is blocked/follow is requested
8 years ago
Eugen Rochko
e25170f960
Add extended about page stub
8 years ago
Eugen Rochko
75f80bef10
Persist UI settings, add missing localizations for German
8 years ago
Eugen Rochko
2e71bb031b
Fix Paperclip timeout setting. Fix bug introduced in #437
8 years ago
Eugen
69643338f6
Merge pull request #437 from krainboltgreene/patch-1
...
Simplifying followers mappings
8 years ago
Kurtis Rainbolt-Greene
abe3ae1cc2
Simplifying followers mappings
...
Deduplicating some logic and switching to pluck, to avoid pulling the entire model in memory.
8 years ago
Kurtis Rainbolt-Greene
4a7e3e5082
Less complicated determination
8 years ago
Kurtis Rainbolt-Greene
e5d9009d71
Using "rails style" order arguments
8 years ago
Eugen Rochko
9d42bff285
Hide follow/unfollow button from public page if follow already requested
8 years ago
Eugen Rochko
b891a81008
Follow call on locked account creates follow request instead
...
Reflect "requested" relationship in API and UI
Reflect inability of private posts to be reblogged in the UI
Disable Webfinger for locked accounts
8 years ago
Eugen Rochko
f978b06dd1
Add suspend account functionality to admin UI
8 years ago
Eugen Rochko
80c44ed9c1
Do not autoplay videos, display play button instead. Use expiring links when using S3. Do not keep originals
...
for avatars/headers, resize avatars down to 120x120 instead of 300x300. Set cache headers on S3 stuff, also
make it private (aka only accessible via expiring links to prevent hotlinking)
8 years ago
Eugen Rochko
58b3f4fd67
Fix #329 - avatar errors no longer prevent remote accounts from being saved
...
(without avatar). Also improved search position of exact matches
8 years ago
Eugen Rochko
5973ca3d11
Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions of avatars
8 years ago
Eugen Rochko
2d2c81765b
Adding embedded PuSH server
8 years ago
Eugen Rochko
8a4913fde0
Public and hashtag timelines now exclude reblogs and replies
...
Fix #289 - don't download avatar unless the URL is http/https
Fix #293 - reblog/reblogged is now boost/boosted
8 years ago
Eugen Rochko
e3ed212b85
Filter statuses that mention blocked users
8 years ago
Eugen Rochko
8efa081f21
Remove Neo4J
8 years ago
Eugen Rochko
e8c27767aa
Remove orphaned notifications, add scopes param to app create API
8 years ago
Eugen Rochko
fdc17bea58
Fix rubocop issues, introduce usage of frozen literal to improve performance
8 years ago
Eugen Rochko
8152584cf5
Fix #142 - Escape ILIKE special characters from Account.find_remote
8 years ago
Eugen Rochko
20aa777c58
Weigh username matches higher than domain matches in account search
8 years ago
Eugen Rochko
09218d4c01
Use full-text search for autosuggestions
8 years ago
Eugen Rochko
b13e7dda1f
API pagination for all collections using Link header
8 years ago
Eugen Rochko
f5c6baf29d
Fix account and hashtag regex
8 years ago
Eugen Rochko
23fc424b7a
Account notes (bios) can now contain links. Character limit upped to 160
8 years ago
Eugen Rochko
7bb28bf780
Improve @mention regex
8 years ago
Eugen Rochko
62292797ec
Adding hashtag model
8 years ago
Eugen Rochko
57304ac375
Catch 404 errors when downloading remote media, add screenshot to landing page
8 years ago
Eugen Rochko
fa1cc2d05a
Limit returned followees/followers by API to 40 for now
8 years ago
Eugen Rochko
f10feb2e70
Fix common followers API
8 years ago
Eugen Rochko
e0a197650a
Adding common followers API, fixing fallback query again
8 years ago
Eugen Rochko
de1f3aab86
Fix #16 - Optimize n+1 queries when checking reblogged/favourited values for status lists in API
8 years ago