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
Eugen Rochko
bde5c0eaf9
Fix some views still not using counter caches
8 years ago
Eugen Rochko
de22c202f5
Add counter caches for a large performance increase on API requests
8 years ago
Eugen Rochko
35933167c0
Add counter caches for a large performance increase on API requests
8 years ago
Eugen Rochko
1c6b02f936
Fix #690 - Webfinger should handle new shortform profile URLs now (nice)
8 years ago
Eugen Rochko
9bf4c34919
Fix #675 - return created_at in notifications API
8 years ago
Eugen Rochko
88f32708c3
Web UI support for the new omnisearch
8 years ago
Eugen Rochko
05cf086766
New API method: /api/v1/search
...
Returns accounts, statuses, hashtags arrays
8 years ago
Eugen Rochko
6be7bde243
Fix #525 - Add instance information API
8 years ago
Eugen Rochko
caf5b8e975
Fix #431 - convert gif to webm during upload. Web UI treats them like it did
...
before. In the API, attachments now can be either image, video or gifv. Gifv
is to be treated like images in terms of behaviour, but are videos by file
type.
8 years ago
Kit Redgrave
442fdbfc53
Mute button progress so far. WIP, doesn't entirely work correctly.
8 years ago
Kibigo
620f70e42c
Adds site metadata access to the API
8 years ago
Eugen Rochko
3b81baaaaf
Adding POST /api/v1/reports API, and a UI for submitting reports
8 years ago
Evan Minto
94e213c6c1
Reuse existing controller and route
8 years ago
Eugen Rochko
87830f99e7
Fix #552 - Replace image links with image icons in status text in the UI
8 years ago
Eugen Rochko
21972bb398
No replies filter on home timeline no longer hides self-replies
8 years ago
Evan Minto
e2fbf8bc74
Add an account endpoint for ActivityPub and link to it on HTML profile pages
8 years ago
hoodie
d4d3a10c25
untested!! spoiler hotfix for replies
...
untested, my vagrant is bugged again, submitted at gargron's request
8 years ago
Eugen Rochko
999cde94a6
Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text
...
Federate spoiler_text using warning attribute on <content /> instead of a <category term="spoiler" />
Clean up schema file from accidental development migrations
8 years ago
blackle
bf0f6eb62d
Implement a click-to-view spoiler system
8 years ago
Eugen Rochko
f0de621e76
Fix #463 - Fetch and display previews of URLs using OpenGraph tags
8 years ago
Eugen Rochko
e9737c2235
Fix tests, add applications to eager loading/cache for statuses, fix
...
application website validation, don't link to app website if website isn't set,
also comment out animated boost icon from #464 until it's consistent with non-animated version
8 years ago
Effy Elden
d6bc0e8db4
Add tracking of OAuth app that posted a status, extend OAuth apps to have optional website field, add application details to API, show application name and website on detailed status views. Resolves #11
8 years ago
Eugen Rochko
a302e56f9a
Add API for retrieving favourites
8 years ago
Eugen Rochko
49834a6e7f
Add API for retrieving blocked accounts
8 years ago
Eugen Rochko
004382e4d0
Adding follow requests API
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
80e02b90e4
Private visibility on statuses prevents non-followers from seeing those
...
Filters out hidden stream entries from Atom feed
Blocks now generate hidden stream entries, can be used to federate blocks
Private statuses cannot be reblogged (generates generic 422 error for now)
POST /api/v1/statuses now takes visibility=(public|unlisted|private) param instead of unlisted boolean
Statuses JSON now contains visibility=(public|unlisted|private) field
8 years ago
Eugen Rochko
0542773bca
Make unfavouriting async to prevent timeout errors from leaving orphaned records behind
8 years ago
Eugen Rochko
5ae1b39ec9
Adjusting public display of statuses to look similar to logged-in UI,
...
fix #361 with rich OEmbed display via iframe, fix #237 by hiding sensitive
content behind a spoiler on public pages
8 years ago
Eugen Rochko
aed25932b5
Add OEmbed iframe HTML, convert emojis on public pages, increase size of attachment thumbnails
8 years ago
Eugen Rochko
64d109dc0e
Downsize originals in media attachments, small fixes
8 years ago
Eugen Rochko
f763e844e8
Do not use expiring links after all
8 years ago
Eugen Rochko
24e692b0cf
Set a specific S3 expiration time so that files can be cached
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
6ff93845d5
Add basic OEmbed provider API, fix #247
8 years ago
Eugen Rochko
0603971894
Adding sensitive marker to statuses in API
8 years ago
Eugen Rochko
f88ca4a206
Performance improvement for notifications API
8 years ago
Eugen Rochko
da2ef4d676
Adding unified streamable notifications
8 years ago
Eugen Rochko
9aecc0f48a
Move timelines API from statuses to its own controller, add a check for
...
resources that require a user context vs those that don't (such as public timeline)
/api/v1/statuses/public -> /api/v1/timelines/public
/api/v1/statuses/home -> /api/v1/timelines/home
/api/v1/statuses/mentions -> /api/v1/timelines/mentions
/api/v1/statuses/tag/:tag -> /api/v1/timelines/tag/:tag
8 years ago
Eugen Rochko
23fc424b7a
Account notes (bios) can now contain links. Character limit upped to 160
8 years ago
Eugen Rochko
48b9619439
Adding hashtags
8 years ago
Eugen Rochko
1828df9bc0
Disable accounts caching too
8 years ago
Eugen Rochko
abf664b560
Disable caching of statuses (maybe this will help with the weird bug)
8 years ago
Eugen Rochko
e4671adc25
Fix reblogged/favourited caching; add API endpoints for who favd/reblogged status
8 years ago
Eugen Rochko
c003e70758
Caching should work correctly now (fingers crossed)
8 years ago
Eugen Rochko
562044f36a
Need to disable caching again due to bug in Rabl
8 years ago
Eugen Rochko
0160d1d9b5
Enable caching for some rabl views
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