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
d6ed2eb512
Prettier account and stream entry URLs
8 years ago
Eugen Rochko
1bfbce7b45
Clean up h-card mess of divs
8 years ago
Eugen Rochko
72c3a41bef
Fix h-card classes and remote follow button appearing when it shouldn't
8 years ago
Greg V
18deeb9db5
Add Microformats2 markup
...
h-feed, h-card and h-entry
8 years ago
Eugen Rochko
e09d3a2c66
Fix #249 - use window.location hack to let people login from sandboxed iOS homescreen
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
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
a4313224d9
Improve how public status pages look slightly
8 years ago
Eugen Rochko
451733961b
Show media of reblogged statuses in public html view
8 years ago
Eugen Rochko
188c6f326b
Making public pages responsive, removing reblogs/favs counts from them
8 years ago
Eugen Rochko
fb94013796
Improved partial rendering for threads
8 years ago
Eugen Rochko
3cc47beb6e
Refactored generation of unique tags, URIs and object URLs into own classes,
...
as well as formatting of content
8 years ago
Eugen Rochko
762157ee4e
Fix for single status pages
8 years ago
Eugen Rochko
0f4bc56719
Improving production logs, removing n+1 on media attachments in atom,
...
adding attachments display to static views
8 years ago
Eugen Rochko
882c94a6bf
Cleaning up status partial
9 years ago
Eugen Rochko
9d55529318
Fix text color in dashboard inputs, sanitize remote status content in UI,
...
simplify FanOutOnWriteService, add /api/accounts/lookup method
9 years ago
Eugen Rochko
bf08d46e58
Improving borders between predecessor/successor statuses
9 years ago
Eugen Rochko
35aafdba96
Ancestors and descendants of statuses
9 years ago
Eugen Rochko
aab9f57e36
Adding config for puma, dashboard layout, fixing some queries
9 years ago
Eugen Rochko
447cfef62d
Improving feed queries, switching API to doorkeeper authentication
9 years ago
Eugen Rochko
3824c58853
Adding GNU Public license, adding home timeline, reblog/favourite counters
9 years ago
Eugen Rochko
ab80ebdeec
Adjusting design of profile and entry pages, linkify mentions in statuses
9 years ago
Eugen Rochko
0e8f59c16f
Refactoring Grape API methods into normal controllers & other things
9 years ago
Eugen Rochko
47d50b0e39
A lot of fixes from a live test
9 years ago
Eugen Rochko
2825991e09
Improving status display design, including replies and threads
9 years ago
Eugen Rochko
5ae54f9e36
Adding avatars to profile page and statuses
9 years ago
Eugen Rochko
2c70f0ecaa
Adding paperclip for avatars, fixing design of the public pages
9 years ago
Eugen Rochko
fa29ef3a41
Improving design
9 years ago
Eugen Rochko
24646d5769
Adding views for the profile and entry pages
9 years ago