Commit Graph

123 Commits (943775fd9071d5c9c155aa10f6bad69ec8cc8758)

Author SHA1 Message Date
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
Eugen Rochko aec51e40ee Make account domains case-insensitive, downcase before checking against local 8 years ago
Eugen Rochko 22a8801dbc Adding domain blocks 8 years ago
Eugen Rochko 2c9e672ee2 Integrating block relationships into the API (read-only for now) 8 years ago
Eugen Rochko 9d59d7b463 Adding a block model and filter mentions from blocked users (fix #60) 8 years ago
Eugen Rochko 927333f4f8 Improve code style 8 years ago
Eugen Rochko e9bc4a4a08 Limit usernames to 30 chars, statuses to 500, open account after follow form success 8 years ago
Eugen Rochko e46abc71ca Fix notifications in UI, added new API for fetching account relationships 8 years ago
Eugen Rochko 608a2bfffc Upgrade to PubSubHubbub 0.4 (removing verify_token) 8 years ago
Eugen Rochko 1cfc9aa20e OStatus2 and Goldfinger gems now have timeouts for requests 8 years ago
Eugen Rochko 059ebbf48d Separate PuSH subscriptions from following, add mastodon:push:refresh task,
respect hub.lease_seconds (fix #46)
8 years ago
Eugen Rochko ce29624c6d Fixing image upload limits, allowing webm, merge/unmerge events trigger
timeline reload in UI, other small fixes
8 years ago
Eugen Rochko 7d45a4e692 Fix local mention regex so it works on newlines in HTML (with a preceding tag) 8 years ago
Eugen Rochko d6b3113304 Validates local username, max sizes for uploads. Fixes #32 8 years ago
Eugen Rochko a4cc966476 Removing default avatars 8 years ago
Eugen Rochko ae1fac0062 Add API to upload media attachments 8 years ago
Eugen Rochko 54ea7f5dfe Case-insensitive search by usernames 8 years ago
Eugen Rochko d0e2733f63 Fix reblogs of reblogs in UI, add follow form in UI 8 years ago
Eugen Rochko 595c8dda60 Favouriting works, reblogging is a little broken because of <Status> 8 years ago
Eugen Rochko 10ba09f546 Upgrade to Rails 5.0.0.1 8 years ago
Eugen Rochko c38ad208c3 Fix mentions regex to exclude usernames in Medium URLs 9 years ago
Eugen Rochko a08e724476 Fix subscriptions:clear task, refactor feeds, refactor streamable activites
and atom feed generation to some extent, as well as the way mentions are
stored
9 years ago
Eugen Rochko 02e4fb2e06 Only re-download avatar if URL changed (fix #19) 9 years ago
Eugen Rochko 9a7485d034 Fix typo on /api/accounts/:id/statuses, fix potential case-sensitivity issue
when registering incoming status mentions, add Travis CI file
9 years ago
Eugen Rochko 323474c97e Fix #2, add rake task for PuSH-unsubscribing from remote users who have no
local followers. Remote users' usernames SHOULD be case-sensitive
9 years ago
Eugen Rochko e239fc3050 Fix error when unfollowing somebody who wasn't followed in the first place 9 years ago
Eugen Rochko 9cb690c706 Access tokens no longer expire, case-insensitive local username validation, as well as case-insensitive Webfinger look-up 9 years ago
Eugen Rochko a9db42a956 Validations for local profiles 9 years ago
Eugen Rochko 3441361568 Adding simple_form, adding profile settings, header image 9 years ago
Eugen Rochko ab6696e855 Adding doorkeeper, adding a REST API
POST /api/statuses                  Params: status (text contents), in_reply_to_id (optional)
GET  /api/statuses/:id
POST /api/statuses/:id/reblog

GET  /api/accounts/:id
GET  /api/accounts/:id/following
GET  /api/accounts/:id/followers
POST /api/accounts/:id/follow
POST /api/accounts/:id/unfollow

POST /api/follows                  Params: uri (e.g. user@domain)

OAuth authentication is currently disabled, but the API can be used with HTTP Auth.
9 years ago
Eugen Rochko 6045b6cb18 Customizing devise views and controllers 9 years ago
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things 9 years ago
Eugen Rochko 11ff92c9d7 Adding a test for ReblogService, fixing mentions for remote statuses 9 years ago
Eugen Rochko 8fada4fae2 When posting a status or reblogging one, ping hubs about the feed update 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 f16b31f077 Adding a bunch of tests 9 years ago
Eugen Rochko 79609d6270 Add service for posting statuses (normal and replies), mention regex to
fetch webfinger information of mentioned accounts
9 years ago
Eugen Rochko 79baf2fd99 Process favourites, reblogs and replies from Salmon 9 years ago
Eugen Rochko fa33750105 Adding reblogs, favourites, improving atom generation 9 years ago
Eugen Rochko 2bc48e9064 Individual atom entries 9 years ago
Eugen Rochko 1dad72bf13 Fixes and general progress 9 years ago
Eugen Rochko 709c6685a9 Made some progress 9 years ago
Eugen Rochko 9c4856bdb1 Initial commit 9 years ago