]> cat aescling's git repositories - mastodon.git/log
mastodon.git
9 years agoImprove code style
Eugen Rochko [Thu, 29 Sep 2016 19:28:21 +0000 (21:28 +0200)]
Improve code style

9 years agoFix handling of multiple Link headers (that should not be a thing though)
Eugen Rochko [Tue, 27 Sep 2016 21:49:12 +0000 (23:49 +0200)]
Fix handling of multiple Link headers (that should not be a thing though)

9 years agoFix tests
Eugen Rochko [Tue, 27 Sep 2016 21:23:23 +0000 (23:23 +0200)]
Fix tests

9 years agoAdding landing page
Eugen Rochko [Tue, 27 Sep 2016 21:12:33 +0000 (23:12 +0200)]
Adding landing page

9 years agoFix #58 - disable compose form while image is uploading
Eugen Rochko [Tue, 27 Sep 2016 15:02:30 +0000 (17:02 +0200)]
Fix #58 - disable compose form while image is uploading

9 years agoFix #52 - Add API versioning (v1)
Eugen Rochko [Tue, 27 Sep 2016 14:58:23 +0000 (16:58 +0200)]
Fix #52 - Add API versioning (v1)

9 years agoFix subtle home feed filtering bug
Eugen [Tue, 27 Sep 2016 08:52:37 +0000 (10:52 +0200)]
Fix subtle home feed filtering bug

9 years agoReplace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
Eugen Rochko [Mon, 26 Sep 2016 21:55:21 +0000 (23:55 +0200)]
Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
registration API

9 years agoImprove redirect handling in FetchAtomService
Eugen Rochko [Mon, 26 Sep 2016 15:04:05 +0000 (17:04 +0200)]
Improve redirect handling in FetchAtomService

9 years agoFix #54 - Fetch remote accounts by URL from mentions
Eugen Rochko [Mon, 26 Sep 2016 14:42:38 +0000 (16:42 +0200)]
Fix #54 - Fetch remote accounts by URL from mentions

Fetching atom extracted from FetchRemoteAccountService and FetchRemoteStatusService
into FetchAtomService. Mentions of the constant "http://activityschema.org/collection/public"
skipped as it's not a real URL/user.

9 years agoFix #55 - Filter self from pre-filled mentions
Eugen Rochko [Mon, 26 Sep 2016 13:49:28 +0000 (15:49 +0200)]
Fix #55 - Filter self from pre-filled mentions

9 years agoImproved style of settings page
Eugen Rochko [Sun, 25 Sep 2016 13:48:20 +0000 (15:48 +0200)]
Improved style of settings page

9 years agoLimit usernames to 30 chars, statuses to 500, open account after follow form success
Eugen Rochko [Sun, 25 Sep 2016 13:26:56 +0000 (15:26 +0200)]
Limit usernames to 30 chars, statuses to 500, open account after follow form success

9 years agoImproved styling for media/videos in detailed status view
Eugen Rochko [Sun, 25 Sep 2016 12:58:07 +0000 (14:58 +0200)]
Improved styling for media/videos in detailed status view

9 years agoBetter styling for selected status in detailed view
Eugen Rochko [Sun, 25 Sep 2016 12:20:29 +0000 (14:20 +0200)]
Better styling for selected status in detailed view

9 years agoAdd screenshot to readme
Eugen [Sat, 24 Sep 2016 18:44:47 +0000 (20:44 +0200)]
Add screenshot to readme

9 years agoSome extra scopes for user sorting
Eugen Rochko [Sat, 24 Sep 2016 12:59:52 +0000 (14:59 +0200)]
Some extra scopes for user sorting

9 years agoDon't generate stream entries for streamables of remote accounts
Eugen Rochko [Sat, 24 Sep 2016 12:42:29 +0000 (14:42 +0200)]
Don't generate stream entries for streamables of remote accounts

9 years agoImproved partial rendering for threads
Eugen Rochko [Sat, 24 Sep 2016 12:34:44 +0000 (14:34 +0200)]
Improved partial rendering for threads

9 years agoFix #6 - Rate limit GET reqs to 300/5min, POST to 100/5min
Eugen Rochko [Sat, 24 Sep 2016 11:53:54 +0000 (13:53 +0200)]
Fix #6 - Rate limit GET reqs to 300/5min, POST to 100/5min

9 years agoOnly load JS on homepage, no other page uses it
Eugen Rochko [Sat, 24 Sep 2016 11:47:51 +0000 (13:47 +0200)]
Only load JS on homepage, no other page uses it

9 years agoImprove partial rendering and Haml performance (Haml->Hamlit)
Eugen Rochko [Sat, 24 Sep 2016 11:40:42 +0000 (13:40 +0200)]
Improve partial rendering and Haml performance (Haml->Hamlit)

9 years agoTemporarily link "settings" to the static version of the form
Eugen Rochko [Fri, 23 Sep 2016 19:59:21 +0000 (21:59 +0200)]
Temporarily link "settings" to the static version of the form

9 years agoImproved ColumnsArea on smaller windows, improved how ActionBar looks
Eugen Rochko [Fri, 23 Sep 2016 19:52:28 +0000 (21:52 +0200)]
Improved ColumnsArea on smaller windows, improved how ActionBar looks

9 years agoChange output of api/accounts/:id/follow and unfollow to return relationship
Eugen Rochko [Fri, 23 Sep 2016 18:23:26 +0000 (20:23 +0200)]
Change output of api/accounts/:id/follow and unfollow to return relationship
Track relationship in redux state. Display follow/unfollow and following-back
information on account view (unstyled)

9 years agoUploading/undoing media modifies status text. Also: status text trimmed before validation
Eugen Rochko [Thu, 22 Sep 2016 19:39:53 +0000 (21:39 +0200)]
Uploading/undoing media modifies status text. Also: status text trimmed before validation

9 years agoHandle remote account mentions a little better by trying a URL lookup in the db
Eugen Rochko [Thu, 22 Sep 2016 19:10:36 +0000 (21:10 +0200)]
Handle remote account mentions a little  better by trying a URL lookup in the db

9 years agoInfinite scroll for account timelines
Eugen Rochko [Thu, 22 Sep 2016 18:58:35 +0000 (20:58 +0200)]
Infinite scroll for account timelines

9 years agoFix #51 - prevent duplicate attachments for remote statuses
Eugen Rochko [Thu, 22 Sep 2016 18:42:20 +0000 (20:42 +0200)]
Fix #51 - prevent duplicate attachments for remote statuses

9 years agoAdd BTC address for donations to readme
Eugen [Thu, 22 Sep 2016 10:20:46 +0000 (12:20 +0200)]
Add BTC address for donations to readme

9 years agoInfinite scroll for timeline columns
Eugen Rochko [Wed, 21 Sep 2016 23:08:35 +0000 (01:08 +0200)]
Infinite scroll for timeline columns

9 years agoMake in-text mentions open account detailed view when possible
Eugen Rochko [Wed, 21 Sep 2016 22:32:27 +0000 (00:32 +0200)]
Make in-text mentions open account detailed view when possible

9 years agoAPI returns mentions for statuses, compose form pre-fills all relevant usernames...
Eugen Rochko [Wed, 21 Sep 2016 22:09:21 +0000 (00:09 +0200)]
API returns mentions for statuses, compose form pre-fills all relevant usernames into the form when replying

9 years agoImprove README, fix #48
Eugen Rochko [Wed, 21 Sep 2016 21:32:53 +0000 (23:32 +0200)]
Improve README, fix #48

9 years agoFix #50 - Order ancestors/descendants by tree path
Eugen Rochko [Wed, 21 Sep 2016 21:18:28 +0000 (23:18 +0200)]
Fix #50 - Order ancestors/descendants by tree path

9 years agoFix #49 - License changed from GPL-2.0 to AGPL-3.0
Eugen Rochko [Wed, 21 Sep 2016 21:04:34 +0000 (23:04 +0200)]
Fix #49 - License changed from GPL-2.0 to AGPL-3.0

9 years agoFix notifications in UI, added new API for fetching account relationships
Eugen Rochko [Wed, 21 Sep 2016 20:07:18 +0000 (22:07 +0200)]
Fix notifications in UI, added new API for fetching account relationships

9 years agoFix #24 - Thread resolving for remote statuses
Eugen Rochko [Tue, 20 Sep 2016 23:34:14 +0000 (01:34 +0200)]
Fix #24 - Thread resolving for remote statuses

This is a big one, so let me enumerate:

Accounts as well as stream entry pages now contain Link headers that
reference the Atom feed and Webfinger URL for the former and Atom entry
for the latter. So you only need to HEAD those resources to get that
information, no need to download and parse HTML <link>s.

ProcessFeedService will now queue ThreadResolveWorker for each remote
status that it cannot find otherwise. Furthermore, entries are now
processed in reverse order (from bottom to top) in case a newer entry
references a chronologically previous one.

ThreadResolveWorker uses FetchRemoteStatusService to obtain a status
and attach the child status it was queued for to it.

FetchRemoteStatusService looks up the URL, first with a HEAD, tests
if it's an Atom feed, in which case it processes it directly. Next
for Link headers to the Atom feed, in which case that is fetched
and processed. Lastly if it's HTML, it is checked for <link>s to the Atom
feed, and if such is found, that is fetched and processed. The account for
the status is derived from author/name attribute in the XML and the hostname
in the URL (domain). FollowRemoteAccountService and ProcessFeedService
are used.

This means that potentially threads are resolved recursively until a dead-end
is encountered, however it is performed asynchronously over background jobs,
so it should be ok.

9 years agoFix #47 by renaming TIMELINE_SET action to TIMELINE_REFRESH_SUCCESS
Eugen Rochko [Tue, 20 Sep 2016 21:18:00 +0000 (23:18 +0200)]
Fix #47 by renaming TIMELINE_SET action to TIMELINE_REFRESH_SUCCESS

9 years agoSince GNU Social hubs don't seem to return a hub.lease_seconds param in the subscript...
Eugen Rochko [Tue, 20 Sep 2016 01:24:04 +0000 (03:24 +0200)]
Since GNU Social hubs don't seem to return a hub.lease_seconds param in the subscription confirmation request,
we'll have to default that value to the GS "minimum" (from their code) which is 24 hours.

9 years agoMore debugging for PuSH confirmations
Eugen Rochko [Tue, 20 Sep 2016 01:18:55 +0000 (03:18 +0200)]
More debugging for PuSH confirmations

9 years agoAdd more logging to PuSH callback
Eugen Rochko [Tue, 20 Sep 2016 01:12:23 +0000 (03:12 +0200)]
Add more logging to PuSH callback

9 years agoUpgrade to PubSubHubbub 0.4 (removing verify_token)
Eugen Rochko [Tue, 20 Sep 2016 00:43:20 +0000 (02:43 +0200)]
Upgrade to PubSubHubbub 0.4 (removing verify_token)

9 years agoFix rake tasks and loading bar
Eugen Rochko [Mon, 19 Sep 2016 23:53:30 +0000 (01:53 +0200)]
Fix rake tasks and loading bar

9 years agoOStatus2 and Goldfinger gems now have timeouts for requests
Eugen Rochko [Mon, 19 Sep 2016 23:10:51 +0000 (01:10 +0200)]
OStatus2 and Goldfinger gems now have timeouts for requests

9 years agoSeparate PuSH subscriptions from following, add mastodon:push:refresh task,
Eugen Rochko [Mon, 19 Sep 2016 22:39:03 +0000 (00:39 +0200)]
Separate PuSH subscriptions from following, add mastodon:push:refresh task,
respect hub.lease_seconds (fix #46)

9 years agoUpdate OStatus2 library
Eugen Rochko [Mon, 19 Sep 2016 21:52:42 +0000 (23:52 +0200)]
Update OStatus2 library

9 years agoRemove background mask from avatars
Eugen Rochko [Mon, 19 Sep 2016 21:28:22 +0000 (23:28 +0200)]
Remove background mask from avatars

9 years agoRe-organizing components to be more modular, adding loading bars
Eugen Rochko [Mon, 19 Sep 2016 21:25:59 +0000 (23:25 +0200)]
Re-organizing components to be more modular, adding loading bars

9 years agoFix type mistake in account component
Eugen Rochko [Sun, 18 Sep 2016 16:44:52 +0000 (18:44 +0200)]
Fix type mistake in account component

9 years agoLive update account timelines, small fix for replyCompose
Eugen Rochko [Sun, 18 Sep 2016 16:38:44 +0000 (18:38 +0200)]
Live update account timelines, small fix for replyCompose

9 years agoImprove how account detailed view looks, load account's statuses
Eugen Rochko [Sun, 18 Sep 2016 16:18:46 +0000 (18:18 +0200)]
Improve how account detailed view looks, load account's statuses

9 years agoRemove unused action constants
Eugen Rochko [Sun, 18 Sep 2016 11:45:39 +0000 (13:45 +0200)]
Remove unused action constants

9 years agoSmall rubocop offences removed
Eugen Rochko [Sun, 18 Sep 2016 11:42:24 +0000 (13:42 +0200)]
Small rubocop offences removed

9 years agoUpdate sidekiq, remove sinatra dependency
Eugen Rochko [Sun, 18 Sep 2016 11:40:30 +0000 (13:40 +0200)]
Update sidekiq, remove sinatra dependency

9 years agoDetailed status view scrollable
Eugen Rochko [Sun, 18 Sep 2016 11:03:37 +0000 (13:03 +0200)]
Detailed status view scrollable

9 years agoAdd ancestors/descendants during normalization in timeline reducer
Eugen Rochko [Sun, 18 Sep 2016 10:51:09 +0000 (12:51 +0200)]
Add ancestors/descendants during normalization in timeline reducer
This way replies will appear in the detailed view live if they are from
statuses that would be delivered to the user normally

9 years agoVolume toggle control in VideoPlayer
Eugen Rochko [Sun, 18 Sep 2016 10:39:00 +0000 (12:39 +0200)]
Volume toggle control in VideoPlayer

9 years agoFix #43
Eugen Rochko [Sun, 18 Sep 2016 10:28:49 +0000 (12:28 +0200)]
Fix #43

9 years agoFix typo in dockerfile
Eugen Rochko [Sat, 17 Sep 2016 16:29:15 +0000 (18:29 +0200)]
Fix typo in dockerfile

9 years agoUpdate doorkeeper dependency and replace libav with backported ffmpeg in docker
Eugen Rochko [Sat, 17 Sep 2016 16:24:58 +0000 (18:24 +0200)]
Update doorkeeper dependency and replace libav with backported ffmpeg in docker

9 years agoAdding webm playback to UI
Eugen Rochko [Sat, 17 Sep 2016 16:05:02 +0000 (18:05 +0200)]
Adding webm playback to UI

9 years agoAdding media controller, 1 webm/compose form allowed, previews generated
Eugen Rochko [Sat, 17 Sep 2016 15:47:26 +0000 (17:47 +0200)]
Adding media controller, 1 webm/compose form allowed, previews generated

9 years agoFix how other services used old FollowRemoteAccountService
Eugen Rochko [Sat, 17 Sep 2016 15:07:45 +0000 (17:07 +0200)]
Fix how other services used old FollowRemoteAccountService

9 years agoImproved error handling for FollowRemoteService
Eugen Rochko [Sat, 17 Sep 2016 15:03:36 +0000 (17:03 +0200)]
Improved error handling for FollowRemoteService

9 years agoFix #41, debug #42
Eugen Rochko [Sat, 17 Sep 2016 14:36:10 +0000 (16:36 +0200)]
Fix #41, debug #42

9 years agoStop event propagation after IconButton onClick
Eugen [Fri, 16 Sep 2016 09:20:39 +0000 (11:20 +0200)]
Stop event propagation after IconButton onClick

9 years agoTest case for new api endpoint
Eugen Rochko [Thu, 15 Sep 2016 22:27:09 +0000 (00:27 +0200)]
Test case for new api endpoint

9 years agoSetting up preliminary "detailed" routes in the UI, new API end-point for fetching...
Eugen Rochko [Thu, 15 Sep 2016 22:21:51 +0000 (00:21 +0200)]
Setting up preliminary "detailed" routes in the UI, new API end-point for fetching status context

9 years agoAdding sense of self to the UI, cleaning up routing, adding third (detail) column
Eugen Rochko [Tue, 13 Sep 2016 00:24:40 +0000 (02:24 +0200)]
Adding sense of self to the UI, cleaning up routing, adding third (detail) column

9 years agoAdding a notification stack for error messages
Eugen Rochko [Mon, 12 Sep 2016 17:20:55 +0000 (19:20 +0200)]
Adding a notification stack for error messages

9 years agoSend "delete" Salmons to remote mentioned accounts on status removal
Eugen Rochko [Mon, 12 Sep 2016 16:33:16 +0000 (18:33 +0200)]
Send "delete" Salmons to remote mentioned accounts on status removal
Fixes #27

9 years agoffmpeg is not a package on debian, fix dockerfile
Eugen Rochko [Mon, 12 Sep 2016 16:28:26 +0000 (18:28 +0200)]
ffmpeg is not a package on debian, fix dockerfile

9 years agoFixing image upload limits, allowing webm, merge/unmerge events trigger
Eugen Rochko [Mon, 12 Sep 2016 16:22:43 +0000 (18:22 +0200)]
Fixing image upload limits, allowing webm, merge/unmerge events trigger
timeline reload in UI, other small fixes

9 years agoFix formatter return block
Eugen Rochko [Sat, 10 Sep 2016 17:18:17 +0000 (19:18 +0200)]
Fix formatter return block

9 years agoMerge and unmerge timelines on follow/unfollow, solves #21, #22
Eugen Rochko [Sat, 10 Sep 2016 16:36:48 +0000 (18:36 +0200)]
Merge and unmerge timelines on follow/unfollow, solves #21, #22

9 years agoImprove rake tasks
Eugen Rochko [Sat, 10 Sep 2016 14:21:17 +0000 (16:21 +0200)]
Improve rake tasks

9 years agoFix local mention regex so it works on newlines in HTML (with a preceding tag)
Eugen Rochko [Sat, 10 Sep 2016 08:19:50 +0000 (10:19 +0200)]
Fix local mention regex so it works on newlines in HTML (with a preceding tag)

9 years agoStyling for paragraphs in statuses
Eugen Rochko [Sat, 10 Sep 2016 08:14:36 +0000 (10:14 +0200)]
Styling for paragraphs in statuses

9 years agoNewlines and paragraphs in local statuses properly formatted
Eugen Rochko [Sat, 10 Sep 2016 08:07:56 +0000 (10:07 +0200)]
Newlines and paragraphs in local statuses properly formatted

9 years agoDisallow self-follow
Eugen Rochko [Sat, 10 Sep 2016 08:01:08 +0000 (10:01 +0200)]
Disallow self-follow

9 years agoShorten mentions to only usernames
Eugen Rochko [Sat, 10 Sep 2016 07:57:41 +0000 (09:57 +0200)]
Shorten mentions to only usernames

9 years agoValidates local username, max sizes for uploads. Fixes #32
Eugen Rochko [Sat, 10 Sep 2016 07:43:45 +0000 (09:43 +0200)]
Validates local username, max sizes for uploads. Fixes #32

9 years agoFix typo in deleteFromTimelines action creator
Eugen [Fri, 9 Sep 2016 18:54:49 +0000 (20:54 +0200)]
Fix typo in deleteFromTimelines action creator

9 years agoRefactored generation of unique tags, URIs and object URLs into own classes,
Eugen Rochko [Fri, 9 Sep 2016 18:04:34 +0000 (20:04 +0200)]
Refactored generation of unique tags, URIs and object URLs into own classes,
as well as formatting of content

9 years agoProbably fixes #31
Eugen Rochko [Fri, 9 Sep 2016 13:29:41 +0000 (15:29 +0200)]
Probably fixes #31

9 years agoFix for single status pages
Eugen Rochko [Thu, 8 Sep 2016 19:23:29 +0000 (21:23 +0200)]
Fix for single status pages

9 years agoOptimized n+1 queries in accounts Atom and HTML views
Eugen Rochko [Thu, 8 Sep 2016 18:36:01 +0000 (20:36 +0200)]
Optimized n+1 queries in accounts Atom and HTML views
Added stack trace for SQL queries in development
Removed badly thought out accounts/lookup API

9 years agoRemoving default avatars
Eugen Rochko [Thu, 8 Sep 2016 16:23:59 +0000 (18:23 +0200)]
Removing default avatars

9 years agoFix local follows, 404 in logs
Eugen Rochko [Thu, 8 Sep 2016 00:40:51 +0000 (02:40 +0200)]
Fix local follows, 404 in logs

9 years agoImproving production logs, removing n+1 on media attachments in atom,
Eugen Rochko [Wed, 7 Sep 2016 23:24:26 +0000 (01:24 +0200)]
Improving production logs, removing n+1 on media attachments in atom,
adding attachments display to static views

9 years agoFixing atom feeds for accounts, adding tests that would catch such bugs in future
Eugen Rochko [Wed, 7 Sep 2016 22:33:07 +0000 (00:33 +0200)]
Fixing atom feeds for accounts, adding tests that would catch such bugs in future

9 years agoUI for uploading media attachments (and cancelling them)
Eugen Rochko [Wed, 7 Sep 2016 16:17:15 +0000 (18:17 +0200)]
UI for uploading media attachments (and cancelling them)
Mostly resolves #8, though attachments are still not displayed in public view

9 years agoFix enclosures not being parsed for reblogged statuses
Eugen [Tue, 6 Sep 2016 10:30:15 +0000 (12:30 +0200)]
Fix enclosures not being parsed for reblogged statuses

9 years agoFix for Drawer growing horizontally
Eugen Rochko [Mon, 5 Sep 2016 23:45:17 +0000 (01:45 +0200)]
Fix for Drawer growing horizontally

9 years agoFixed styling for media attachments in statuses (margins)
Eugen Rochko [Mon, 5 Sep 2016 23:26:35 +0000 (01:26 +0200)]
Fixed styling for media attachments in statuses (margins)

9 years agoAdd icons to column headers, click them to scroll to top
Eugen Rochko [Mon, 5 Sep 2016 22:44:28 +0000 (00:44 +0200)]
Add icons to column headers, click them to scroll to top

9 years agoFix styling of media attachments in statuses
Eugen Rochko [Mon, 5 Sep 2016 22:23:27 +0000 (00:23 +0200)]
Fix styling of media attachments in statuses

9 years agoFix reply bug introduced when compose form started using normalized data
Eugen [Mon, 5 Sep 2016 20:43:34 +0000 (22:43 +0200)]
Fix reply bug introduced when compose form started using normalized data

9 years agoBetter layout for attachments in <MediaGallery>
Eugen Rochko [Mon, 5 Sep 2016 18:59:56 +0000 (20:59 +0200)]
Better layout for attachments in <MediaGallery>