Commit Graph

5890 Commits (f379a52d745dbd765b4ba1fb3133ed6fad3e7c1b)

Author SHA1 Message Date
Eugen Rochko f14f462eaf Adding Turbolinks, adding status posting form on homepage
Eugen Rochko c28971c70c Fixed the lookup API method
Eugen Rochko 5b10329394 Resize default avatar cat to fit circle better
Eugen Rochko 02696a063e Change default avatar, redirect to home after sign up
Eugen Rochko 9d55529318 Fix text color in dashboard inputs, sanitize remote status content in UI,
simplify FanOutOnWriteService, add /api/accounts/lookup method
Eugen Rochko bf08d46e58 Improving borders between predecessor/successor statuses
Eugen Rochko 35aafdba96 Ancestors and descendants of statuses
Eugen Rochko 7e00a21ea6 Small optimizations in Atom feeds
Eugen Rochko 19a259915e Security update
Eugen Rochko 2ba6537f52 Escape PuSH challenge and change subscriptions and salmon APIs to text/plain
Eugen Rochko 46cbb9c551 Increase note truncation length on account grids, improve FanOutOnWrite a bit,
fix tests (the recorded Salmon fixture expects LOCAL_DOMAIN to be something
specific unfortunately)
Eugen Rochko 253ab26520 Adding more tests for helpers
Eugen Rochko b640f35621 Writing out more tests, fixed some bugs
Eugen Rochko e14b76c7cb On following/followers pages, show most recent first
Eugen Rochko 7e53efae31 Fix for incoming favourites
Eugen Rochko f4ad2fb35a Strip out HTML in plain text notification e-mails. Oh, and fix
Eugen Rochko 2b116131d7 Adding e-mail notifications about mentions, follows, favourites and reblogs. Fixing another mention recording bug
Eugen Rochko 5d72b92271 Improving account grid cards layout for longer usernames and notes
Eugen Rochko 71ae4dd3d2 Adding public following and followers pages, fix
Eugen Rochko c349200761 Removing some unused gems, adding pagination to profiles, fix
Eugen Rochko d4892ace62 Adding more test stubs
Eugen Rochko 66a2107527 Turns out that replies don't have to have the type comment. Changed handling
of those to depend on presence of <thr:in-reply-to /> instead
Eugen Rochko f97fc9744f Use FanOutOnWriteService AFTER processing mentions
Eugen Rochko 47d1cb4e21 TIL a return from a block seems to return from the whole method rather than
the block, even though the last line of a block is an implicit return. I am
confused to say the least
Eugen Rochko 071f64d317 Fix , Atom feeds now contain formatted post content
Eugen Rochko 580b91c387 Fix more subtle bugs with first_or_create
Eugen Rochko 48aeacd5f9 Fixed ANOTHER first_or_create bug. Seriously who came up with that API smh
Eugen Rochko 9a7485d034 Fix typo on /api/accounts/:id/statuses, fix potential case-sensitivity issue
when registering incoming status mentions, add Travis CI file
Eugen Rochko 323474c97e Fix , add rake task for PuSH-unsubscribing from remote users who have no
local followers. Remote users' usernames SHOULD be case-sensitive
Eugen Rochko af7ae348d7 Include AtomBuilderHelper (which declared url_for_target) to all services
Eugen Rochko e239fc3050 Fix error when unfollowing somebody who wasn't followed in the first place
Eugen Rochko d022975444 Fixing small bug with FollowRemoteAccountService usage
Eugen Rochko 086d487145 Fix unfollows
Eugen Rochko 9cb690c706 Access tokens no longer expire, case-insensitive local username validation, as well as case-insensitive Webfinger look-up
Eugen Rochko 8767a98fbb Adding CSS for form errors, adding missing indices
Eugen Rochko a9db42a956 Validations for local profiles
Eugen Rochko 5c99e304e5 Deleting statuses, deletion propagation
Eugen Rochko 75b3339a99 Respect "delete" verb on remote feeds
Eugen Rochko 6fec8afc3f Bind oauth applications to users
Eugen Rochko 25d7c1b6ea Customizing the last of doorkeeper views, adding CSS for dashboard forms
Eugen Rochko 3441361568 Adding simple_form, adding profile settings, header image
Eugen Rochko 1aa477ac2f Customized more doorkeeper views, only logged in users can create oauth apps
Eugen Rochko aab9f57e36 Adding config for puma, dashboard layout, fixing some queries
Eugen Rochko 447cfef62d Improving feed queries, switching API to doorkeeper authentication
Eugen Rochko b919f39b31 Customizing doorkeeper views for authorizing app
Eugen Rochko d4b9b289e8 Adding Mastodon logo
Eugen Rochko 6c4c84b161 Distrubute statuses as a fan-out-on-write system, with optional precomputing
Eugen Rochko fe57f6330f API methods for retrieving home and mentions timelines
Eugen Rochko f099bc6091 Adding API for favouriting a status
Eugen Rochko ffe48fd7c6 Improving how the API responses look
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.
Eugen Rochko 3824c58853 Adding GNU Public license, adding home timeline, reblog/favourite counters
Eugen Rochko c605b828b5 Adding routes to follow, unfollow, favourite and reblog (locally known models)
Eugen Rochko aab330eb2d Adjusting design of public pages, optimizing account page queries
Eugen Rochko ab80ebdeec Adjusting design of profile and entry pages, linkify mentions in statuses
Eugen Rochko 6045b6cb18 Customizing devise views and controllers
Eugen Rochko 7e93da3f8d Removing grape and adding devise
Eugen Rochko 3b4e04dc32 Fixing some bugs, adding pending test examples
Eugen Rochko 23d08c6749 Changing the use of config constants to the Rails configuration object
Eugen Rochko 0e8f59c16f Refactoring Grape API methods into normal controllers & other things
Eugen Rochko 11ff92c9d7 Adding a test for ReblogService, fixing mentions for remote statuses
Eugen Rochko 47d50b0e39 A lot of fixes from a live test
Eugen Rochko f1654da7ad Added <link> tags to profiles and entries
Eugen Rochko 9ec03ab5f5 Ping hubs when following somebody, too
Eugen Rochko 8fada4fae2 When posting a status or reblogging one, ping hubs about the feed update
Eugen Rochko ad5ae3f60e Update profile information and download avatar of remote accounts
Eugen Rochko 2825991e09 Improving status display design, including replies and threads
Eugen Rochko 5ae54f9e36 Adding avatars to profile page and statuses
Eugen Rochko 2c70f0ecaa Adding paperclip for avatars, fixing design of the public pages
Eugen Rochko fa29ef3a41 Improving design
Eugen Rochko 24646d5769 Adding views for the profile and entry pages
Eugen Rochko f16b31f077 Adding a bunch of tests
Eugen Rochko 44c5958203 Fixed small bugs and code style offences
Eugen Rochko 71fe24096c Adding a Mention model, test stubs
Eugen Rochko 42eeecba3f Service to reblog statuses
Eugen Rochko c967802c43 Notify remote users about mentions
Eugen Rochko 79609d6270 Add service for posting statuses (normal and replies), mention regex to
fetch webfinger information of mentioned accounts
Eugen Rochko 8da8387afe Add shared statuses to the database
Eugen Rochko fa7868675d Send Salmon interactions
Eugen Rochko 10eb47a33e Do not PuSH-subscribe to remote accounts when creating them for salmon
Eugen Rochko 784b9cca6a Forgotten argument fix
Eugen Rochko 9411e8c35a Feed processing except fetching remote statuses
Eugen Rochko 79baf2fd99 Process favourites, reblogs and replies from Salmon
Eugen Rochko ee73d35eea Incoming Salmon requests can be turned into follows and unfollows
Eugen Rochko fa33750105 Adding reblogs, favourites, improving atom generation
Eugen Rochko 3b0bc18db9 Improved Atom rendering templates, added README
Eugen Rochko 2bc48e9064 Individual atom entries
Eugen Rochko 1dad72bf13 Fixes and general progress
Eugen Rochko 709c6685a9 Made some progress
Eugen Rochko 9c4856bdb1 Initial commit