Eugen Rochko
1ee4a17f37
Add logging and filtering to the node.js streaming API
2017-02-02 13:56:14 +01:00
Eugen Rochko
17ae7d132c
Prevent potential issue with public/hashtag statuses arriving after
...
they have been loaded and favourited/reblogged from another source
Since the status JSON returned from public/hashtag streams does not
contain favourited/reblogged attributes, merging them should not
override existing ones.
2017-02-02 00:49:25 +01:00
Eugen Rochko
ede04cdb24
Move rendering of JSON payloads for public/hashtag timelines to
...
FanOutOnWriteService. The only recipient-specific part on them
is reblogged/favourited. But since only newly created statuses
appear on them, it is safe to assume that both attributes would
be false
2017-02-02 00:39:17 +01:00
Eugen Rochko
d9ca46b464
Cleaning up format of broadcast real-time messages, removing
...
redis-backed "mentions" timeline as redundant (given notifications)
2017-02-02 00:03:31 +01:00
Eugen Rochko
bf60f2898d
Fix #529 - Make hashtag timelines show conversations, fix hashtag loading in the UI
2017-01-31 22:35:38 +01:00
Eugen Rochko
8ef79d8dc9
Revert to animating avatars by default
2017-01-31 19:16:35 +01:00
Eugen Rochko
8b9c537d5a
Fix elephant friend
2017-01-31 19:08:24 +01:00
Eugen Rochko
52d68be157
Fix CORS issue on avatars resampling
2017-01-31 19:06:13 +01:00
tom
b84d1533d4
Fix text overlapping image in Edge and on mobile ( #582 )
...
Changing the way the background image is positioned and the box is sized should fix problems with the text overlapping the image on mobile browsers and Edge.
2017-01-31 19:06:03 +01:00
Eugen Rochko
c2fbd144cf
Add "open in web" link to detailed public status pages
2017-01-30 23:01:37 +01:00
Eugen Rochko
86b3cb5120
Fix not reloading account/fetching relationship on newly independent components
2017-01-30 22:35:36 +01:00
Eugen Rochko
f21e7d6ac0
Make profile header scroll along with contents. AccountTimeline, Followers and Following are no longer
...
nested inside a common parent (<Account>), instead they all embed <HeaderContainer />
2017-01-30 21:44:11 +01:00
Eugen Rochko
404d2050d3
Add explicit "load more" link to the bottom of StatusList and notifications
2017-01-30 18:07:17 +01:00
Eugen Rochko
02cd2e42b2
Improve avatar resampling of non-animated canvas
2017-01-30 15:43:48 +01:00
Eugen Rochko
9bde804ba2
Resolve confusion between ColumnBackButton and the slim version that
...
the public timeline has been using
2017-01-30 15:22:04 +01:00
Billie Thompson
b1571b1e1d
Add missing back button to "Follow Requests"
...
Currently we have the problem where the follow request button is missing
from the Follow request tab. This means that when you visit that tab you
either have to press the back button in the browser or re-enter the home
page, which breaks the app flow.
This will resolve that issue by adding a new back button to that tab,
in the same way that the public timeline, and favourites have.
2017-01-29 18:53:51 +00:00
Misty De Meo
a30e669df2
Fix avatar scaling on high-DPI displays ( #573 )
2017-01-29 14:26:50 +01:00
Eugen Rochko
83ccdeb87a
Fix tests
2017-01-29 12:25:10 +01:00
Eugen Rochko
3f075c7794
API for apps to register for push notifications
2017-01-29 01:30:32 +01:00
Eugen Rochko
9b2c728251
Fix settings design on mobile
2017-01-28 21:57:03 +01:00
Eugen Rochko
23b997ae55
Split 2FA login into two prompts
2017-01-28 20:43:38 +01:00
Eugen Rochko
36c57ef8af
Add pixel background to modal images
2017-01-28 04:04:09 +01:00
Eugen Rochko
f4bc9620a9
Update settings to re-use admin layout, one big navigation tree, improve settings forms
2017-01-28 03:56:10 +01:00
Eugen Rochko
04bce0cdf2
Clean up
2017-01-27 20:38:35 +01:00
Eugen Rochko
ba192f12e3
Added optional two-factor authentication
2017-01-27 20:35:16 +01:00
Zachary Spector
237cb41ab4
Less ambiguous sensitive content toggle label ( #556 )
2017-01-27 19:31:14 +01:00
hoodie
6c37285580
fix button outline showing on clicks for prettiness
...
remove button outlines on-click for retweet, boost, favourite, and reply
buttons
2017-01-27 12:39:36 -05:00
Eugen Rochko
450ad43180
Do not run FetchLinkCardService on local URLs, increase file size limit to 8MB,
...
fix ProcessFeedService pushing status into distribution if called a second time
while the first is still running (i.e. when a PuSH comes after a Salmon slap),
fix not running escape on spoiler text before emojify
2017-01-27 16:57:23 +01:00
Eugen Rochko
f8bd44a747
Fix font weight
2017-01-26 23:34:40 +01:00
Billie Thompson
55fa8e61e2
Move the fonts from Google Fonts to local assets
...
Currently we have two problems that are resolved by this change.
The first is that we have a dependency on Google Fonts, which means
that should it ever go down, or it have issues we would also have
issues. This will resolve this by moving the dependencies we load from
there to the local server.
The second issue is that Google Fonts is currently returning the
`local()` css font source. This causes a problem where the users browser
fails to fallback to a missing glyph, resulting in many unusual
characters displaying the failure glyph. This will resolve this by
creating a font-family definition that does not use the `local()`
source.
I did not update the error pages with local fonts, they still use the
remote google fonts api, so they're a self contained page that does not
use the asset pipeline.
This resolves tootsuite/mastodon#531 and tootsuite/mastodon#12
2017-01-26 20:09:03 +00:00
Eugen Rochko
7329fbd8a4
Fix up timeout, improve contrast on "show more", add responsive style
...
for extremely wide monitors
2017-01-26 18:48:56 +01:00
Eugen Rochko
cc5c1e5feb
Removed accidental n+1 query from notifications, updated some deps,
...
improved how "show more" link looks
2017-01-26 14:52:07 +01:00
Anthony Bellew
589837cfc7
Removed line break before spoiler link, changed color of bg for spoiler link
2017-01-26 03:07:02 -07:00
Anthony Bellew
ebe5095665
Add Padding to inline styles for spoiler
2017-01-26 03:03:26 -07:00
Anthony Bellew
8f18c8f9ad
Added inline spoiler button styles
2017-01-26 03:02:42 -07:00
Anthony Bellew
d944946c52
Moved brackets outside of localized strings at Gargron's suggestion
2017-01-26 00:24:52 -07:00
Anthony Bellew
baa52984e9
Add brackets to visually distinguish show more / show less text
2017-01-25 20:56:33 -07:00
Eugen Rochko
905c829179
Improve infinite scroll on notifications
2017-01-26 04:30:40 +01:00
Eugen Rochko
57f7cf8349
Follow request authorizations faster
2017-01-26 03:56:26 +01:00
Eugen Rochko
eb62778bec
Fix #537 - opengraph description should display spoiler text when present
2017-01-26 03:45:14 +01:00
Eugen Rochko
1c507ff172
Fix #538 - Darken buttons to increase contrast
2017-01-26 03:32:00 +01:00
Eugen Rochko
3a310e8f63
Fix CSS mistake
2017-01-26 03:17:48 +01:00
Eugen
97d9517b6b
Merge pull request #534 from yiskah/patch-2
...
Increase color contrast on getting started text
2017-01-26 02:51:27 +01:00
blackle
6bba337080
Only open status on left mouse press
2017-01-25 20:43:41 -05:00
shel
33e09cc76b
Increase color contrast on getting started text
...
Currently, the getting started text fails WCAG standards for color contrast by a lot. Especially on the part overlapping with the elephant graphic which is nearly unreadable even for users with 20|20 vision. This change doesn't fix the elephant overlap but at least makes the text meet AAA WCAG Small Text color contrast standards, making it easier to read.
2017-01-25 20:19:37 -05:00
Eugen Rochko
97da56d02b
Fix loading of avatars before drawing them to canvas
2017-01-25 17:23:17 +01:00
Eugen Rochko
00fa850bdc
Fix #187 , address #441 - <Avatar> component now plays gifs only while hovered
2017-01-25 17:07:57 +01:00
Eugen Rochko
3beb24ad55
Use <summary> to encode content warnings instead
2017-01-25 16:53:30 +01:00
Eugen Rochko
51a7047367
Fix order of migrations
2017-01-25 15:01:00 +01:00
Eugen
41f5459af5
Merge pull request #524 from blackle/master
...
fix up spoilers
2017-01-25 02:16:36 +01:00
blackle
ca13ec04a8
fix up spoilers
2017-01-24 20:14:20 -05:00
Eugen Rochko
10ffd455a8
Fix #522 - prevent blocked users from reblogging
2017-01-25 01:48:46 +01:00
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
2017-01-25 01:29:16 +01:00
Eugen
f8da0dd490
Merge branch 'master' into master
2017-01-24 21:56:06 +01:00
Eugen Rochko
8a880a3d46
Make blocks create entries and unfollows instantly, but do the clean up
...
in the background instead. Should fix delay where blocked person
can interact with blocker for a short time before background job
gets processed
2017-01-24 21:40:41 +01:00
Misty De Meo
adda642c63
Fix invisible
CSS class
2017-01-24 11:49:31 -08:00
Eugen Rochko
e47b8e778b
Fix links in toots opening the toot at first
2017-01-24 18:51:09 +01:00
Eugen Rochko
80cefd5b3c
Fix #204 , fix #515 - URL truncating is now a style so copypasting is not
...
affected, replaced onClick handler with onMouseUp/Down to detect text
selection not trigger onClick handler then
2017-01-24 17:05:44 +01:00
Eugen
4f3264d291
Merge branch 'master' into boostspin
2017-01-24 14:27:13 +01:00
blackle
4a146a0d18
Make boost animation an SVG that uses SCSS colours
2017-01-24 07:48:13 -05:00
Eugen Rochko
21c209636d
Set isLoading false on timelines when request fails
2017-01-24 13:04:12 +01:00
Eugen Rochko
1f5792c834
API now respects ?limit param as long as it's within 2x default limit
2017-01-24 04:22:10 +01:00
Eugen Rochko
d9022884c6
Smarter infinite scroll
2017-01-24 04:12:10 +01:00
blackle
bf0f6eb62d
Implement a click-to-view spoiler system
2017-01-23 21:07:40 -05:00
Eugen Rochko
1761d3f9c3
Fix mistake
2017-01-23 22:18:08 +01:00
Eugen Rochko
d00189b55a
Domains with reject_media? set to true won't download avatars either
2017-01-23 21:55:29 +01:00
Eugen Rochko
8aab692034
Less re-rendering
2017-01-23 21:40:48 +01:00
Eugen Rochko
434cf8237e
Optional domain block attribute that prevents media attachments from being downloaded
2017-01-23 21:36:08 +01:00
Eugen Rochko
cca82bf0a2
Move merging/unmerging of timelines into background. Move blocking into
...
background as well since it's a computationally expensive
2017-01-23 21:29:34 +01:00
Eugen Rochko
f392030ab8
Add /api/v1/notifications/clear, non-existing link cards for statuses will
...
now return empty hash instead of throwing a 404 error. When following,
merge into timeline will filter statuses
2017-01-23 21:09:27 +01:00
Eugen Rochko
f2e08ff568
Remove unneeded block check
2017-01-23 17:40:23 +01:00
Eugen Rochko
6d98a73180
Domain blocks now have varying severity - auto-suspend vs auto-silence
2017-01-23 17:38:38 +01:00
Eugen Rochko
ef2b924679
Forgot to commit
2017-01-23 17:18:41 +01:00
Eugen Rochko
f855d645b2
Move all hex colors in SASS to variables and all variations to darken/lighten
2017-01-23 16:01:46 +01:00
Eugen Rochko
d4d56b8af0
Fix #365 , 1/2 of #408 - replace rails_autolink with URI.regexp, run link_hashtags on simplified_format
2017-01-23 14:45:09 +01:00
Eugen Rochko
aa9c51a34c
Fix a couple unhandled exceptions
2017-01-23 13:56:57 +01:00
Eugen Rochko
a1894786cf
Potentially fix notifications issue
2017-01-23 13:43:14 +01:00
Misty De Meo
33fd8a7d95
Textarea: fix clicking on name suggestions
...
This was broken in c3e9ba6a
, which added an onBlur to hide the
suggestions when the textarea loses focus. Unfortunately, this fired
even when the textarea lost focus to its own suggestions box, and that
meant that onSuggestionClick is never called.
Setting a short window in which onSuggestionClick can still happen
before hiding the suggestion area ensures that clicking still works,
while still hiding the suggestions if the user clicks on something else.
2017-01-22 22:57:58 -08:00
Eugen
1953e3b6ed
Fix inflection
2017-01-22 23:08:51 +01:00
Eugen
cea9fb31fe
Mitigate inconsistent notifications
2017-01-22 21:50:17 +01:00
Eugen Rochko
e22a56183a
Improve error page layouting. 500 page has to stay static because it's
...
used from nginx when Rails fails.
2017-01-21 22:30:47 +01:00
Eugen Rochko
b4a4eb73ae
Merge branch 'fix/error-pages' of https://github.com/ineffyble/mastodon into ineffyble-fix/error-pages
2017-01-21 22:20:01 +01:00
Eugen Rochko
3a4b5961be
Method to fetch a single notification
2017-01-21 22:14:13 +01:00
Effy Elden
8f21f5522f
Call uniq on the string version of mb_chars tags
2017-01-21 21:02:42 +11:00
Eugen Rochko
1aae0cfc2c
Fix #475 - add space after autocomplete
2017-01-20 21:39:41 +01:00
Eugen Rochko
9bd3b11cfb
Instead of refusing to create accounts, domain blocks auto-suspend new accounts from that domain
2017-01-20 20:14:02 +01:00
Eugen Rochko
05abd977c1
Fix preview cards layout, do preview card crawling for remote statuses
2017-01-20 18:31:49 +01:00
blackle
7f63edd820
Show visibility toggle on videos, show regardless of sensitivity
2017-01-19 21:24:30 -05:00
Eugen Rochko
c8e4b9c663
No loading bars for cards, no failure if it 404s (that's expected)
2017-01-20 01:07:53 +01:00
Eugen Rochko
f0de621e76
Fix #463 - Fetch and display previews of URLs using OpenGraph tags
2017-01-20 01:00:14 +01:00
Eugen Rochko
8d0284f8d9
Hide more non-essential loading bars
2017-01-19 11:23:24 +01:00
Eugen Rochko
98560b232a
Don't show loading bar when re-loading already loaded status. Don't even try to fetch ancestors from DB when in_reply_to_id is nil
2017-01-19 11:06:06 +01:00
Eugen Rochko
9b0941182f
Don't show loading bar when checking account timeline for newer stuff
2017-01-19 11:01:01 +01:00
Eugen Rochko
46be4631ae
Fix #222 - Update followers count when following/unfollowing
...
Also, since the root component connects to the stream that updates home/notification columns,
there is pretty much no case for refreshing those columns beyond initial load. So, move the
loading of those columns into the root component, to prevent unneccessary reloads when switching tabs
on mobile or resizing desktop window between mobile/desktop layouts
2017-01-19 10:54:18 +01:00
Eugen Rochko
f051c2e813
Fix statsd null backend not being initialized properly
2017-01-19 09:37:07 +01:00
Eugen
8b9206f7d9
Try to avoid any potential loops
2017-01-19 02:14:57 +01:00
Eugen Rochko
306eb6e9c9
Add optional StatsD performance tracking
2017-01-18 23:44:29 +01:00
Eugen Rochko
7cfd5b680a
Fix forgotten change of settings
2017-01-17 20:37:54 +01:00
Eugen Rochko
c468446f4c
Fix boops?
2017-01-17 20:28:32 +01:00
Eugen Rochko
cde0476ca2
Fix #487
2017-01-17 20:11:16 +01:00
Eugen Rochko
fcb5a85cdd
Add sounds for notifications. Boop by @jk@mastodon.social
2017-01-17 20:09:03 +01:00
Eugen Rochko
6cf44ca92c
Improve how the list entry Account component looks when target is blocked/follow is requested
2017-01-16 19:36:32 +01:00
blackle
889709a2a6
Show 'do not display in public timeline' when replying to self
2017-01-16 10:26:44 -05:00
Eugen Rochko
1a33e4042e
Fix upload file input being re-rendered needlessly
2017-01-16 14:21:55 +01:00
Eugen Rochko
7d53ee73f3
Fix #238 - Add "favourites" column
2017-01-16 13:28:25 +01:00
Eugen Rochko
da5d366230
Fix #414 - Improve lightbox, add loading indicator
2017-01-16 12:04:02 +01:00
Eugen Rochko
2ae0fb4419
Merge branch 'sensitive' of https://github.com/blackle/mastodon into blackle-sensitive
2017-01-16 11:36:02 +01:00
Eugen Rochko
0439c7d58b
Move follow requests link above logout link in getting started column
2017-01-16 11:35:32 +01:00
blackle
144402ec7e
Show visibility toggle on media gallery for sensitive images
2017-01-15 20:27:08 -05:00
blackle
383114add3
Change boost sprite to look like fa-retweet
2017-01-15 11:40:05 -05:00
Eugen Rochko
926459fc0a
Fix typo introduced in #470 which made unlisted toggle only fade in/out and not also collapse
2017-01-15 14:59:25 +01:00
Eugen Rochko
7d7a11250c
Fix #427 - don't suggest hashtag if the search value contains a space
2017-01-15 14:47:39 +01:00
Eugen Rochko
1d5cbfa356
Fix #449 - don't do relationships fetch for empty array of IDs
2017-01-15 14:47:39 +01:00
Eugen Rochko
cc1eccc8bc
Fix #466 - when logged in, make "get started" link to the frontpage instead of sign up
2017-01-15 14:47:39 +01:00
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
2017-01-15 14:01:33 +01:00
Eugen Rochko
ab165547fd
Merge branch 'feature/toot-app-source' of https://github.com/ineffyble/mastodon into ineffyble-feature/toot-app-source
2017-01-15 13:23:47 +01:00
Eugen
1f7c0ad8d3
Merge pull request #464 from blackle/backflip
...
Make boost button spin around
2017-01-15 13:19:15 +01:00
Effy Elden
e45fed58cb
Add a textual 'Back to Mastodon' link in footer of settings pages
2017-01-15 11:03:35 +11:00
Effy Elden
ed41f9f0b1
Add nice error page for CSRF errors/cookie issue, and fix error page handling altogether
2017-01-15 10:30:23 +11:00
Effy Elden
3f84816b24
Add nice error page for CSRF errors/cookie issue, and fix error page handling altogether
2017-01-15 10:27:54 +11:00
blackle
a67ffcbf56
Make boost button arrows spin around
2017-01-14 17:56:24 -05:00
Effy Elden
f81dc7a33a
Merge branch 'feature/toot-app-source' of github.com:ineffyble/mastodon into feature/toot-app-source
2017-01-15 09:12:11 +11:00
Effy Elden
6c002cf615
Test for presence of Application in haml before trying to render details, to fix errors identified by CI
2017-01-15 09:10:44 +11:00
Effy Elden
65122798b2
Fix typo in rel
2017-01-15 09:04:14 +11:00
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
2017-01-15 08:58:50 +11:00
Effy Elden
32d756fb22
Hide 'Do not display on public timeline' for reply toots. Fixes #412 .
2017-01-15 06:10:23 +11:00
Eugen
f63f0c4625
Fix too late return
2017-01-14 02:22:16 +01:00
Eugen Rochko
7cde08e30b
Improve extended about page layout
2017-01-13 20:27:02 +01:00
Eugen Rochko
c01dd089ff
Adding about/more page with extended information that can be set up by an admin
2017-01-13 20:16:38 +01:00
Eugen Rochko
e25170f960
Add extended about page stub
2017-01-13 03:24:41 +01:00
Eugen Rochko
2939e9898b
Extend rails-settings-cached to merge db-saved hash values with defaults
2017-01-13 02:42:22 +01:00
Eugen Rochko
ca50ceeaf0
Add settings for contact information
2017-01-12 20:54:14 +01:00
Eugen Rochko
b11fdc3ae3
Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings
...
with YAML-defined defaults. Add admin page for editing global settings. Add "site_description"
setting that would show as a paragraph on the frontpage
2017-01-12 20:46:24 +01:00
Eugen Rochko
4a2ee43e80
Fix #457 - escape JSON in INITIAL_STATE (this bug only ever allowed a user to xss themselves rather than anyone else)
2017-01-12 03:54:50 +01:00
Eugen Rochko
7951e7ffd5
Add ruby version to Gemfile, move devDependencies in package.json to dependencies,
...
fix bug in process feed service
2017-01-11 15:39:31 +01:00
Eugen
10739df458
Merge pull request #456 from ineffyble/fix-repo-url
...
Fix repo URL
2017-01-11 14:19:19 +01:00
Eugen Rochko
3ad0496ccb
Better animations
2017-01-11 04:21:49 +01:00
Effy Elden
f876a8681d
Update the Mastodon repository URL from Gargron/ to tootsuite/ in various places
2017-01-11 13:24:14 +11:00
Eugen Rochko
18b11100e7
Fix issue when settings are not defined for column type
2017-01-10 17:33:32 +01:00
Eugen Rochko
312c51b5c8
Home column filters
2017-01-10 17:25:10 +01:00
Eugen Rochko
1e9d2c4b1e
Add "not found" component to UI
2017-01-10 13:50:59 +01:00
Eugen
67a31454ad
Merge pull request #450 from blackle/master
...
simplify emojification on public pages with .emojify class
2017-01-10 12:21:06 +01:00
blackle
917cf0bf5d
simplify emojification on public pages with .emojify class
2017-01-09 22:41:47 -05:00
Eugen Rochko
205ba00017
Fix sandboxed iOS login again
2017-01-09 19:43:53 +01:00
Eugen Rochko
def1f8c5b3
Merge branch 'master' of https://github.com/blackle/mastodon into blackle-master
2017-01-09 14:12:40 +01:00
Eugen Rochko
3bddd647e0
Merge branch 'dropdown' of https://github.com/blackle/mastodon into blackle-dropdown
2017-01-09 14:10:32 +01:00
Eugen Rochko
75f80bef10
Persist UI settings, add missing localizations for German
2017-01-09 14:00:55 +01:00
Eugen Rochko
23ebf60b95
Improve initialState loading
2017-01-09 12:37:53 +01:00
blackle
131bae89fd
Generate key for each input so we can upload the same file even after deleting
2017-01-08 21:00:13 -05:00
blackle
d64c454cfe
Switch to compose view when tapping 'mention' in dropdown on mobile
2017-01-08 17:12:00 -05:00
Eugen Rochko
2e71bb031b
Fix Paperclip timeout setting. Fix bug introduced in #437
2017-01-08 19:12:54 +01:00
Eugen
38bc85e695
Merge pull request #443 from blackle/master
...
Add call-to developers on getting started page
2017-01-08 13:36:02 +01:00
blackle
05e964688d
Expand dropdown leftways on status view
2017-01-08 06:32:37 -05:00
blackle
b4f09bae1d
Add call-to developers on getting started page
2017-01-08 00:23:22 -05:00
Eugen
69643338f6
Merge pull request #437 from krainboltgreene/patch-1
...
Simplifying followers mappings
2017-01-08 04:14:54 +01:00
Kurtis Rainbolt-Greene
abe3ae1cc2
Simplifying followers mappings
...
Deduplicating some logic and switching to pluck, to avoid pulling the entire model in memory.
2017-01-07 18:09:00 -08:00
Kurtis Rainbolt-Greene
4a7e3e5082
Less complicated determination
2017-01-07 17:59:51 -08:00
Kurtis Rainbolt-Greene
e5d9009d71
Using "rails style" order arguments
2017-01-07 17:55:40 -08:00
Eugen
7a0a13ab53
Merge pull request #432 from blackle/volume-icon
...
Show correct volume icons on video player
2017-01-08 02:36:12 +01:00
blackle
8a571158c9
Show correct volume icons on video player
2017-01-07 20:23:15 -05:00
Eugen
cec7e69827
Merge pull request #430 from blackle/logout_mobile
...
Show logout button on getting started so it's available on mobile
2017-01-08 01:24:06 +01:00
blackle
e1ca354956
Show logout button on getting started so it's available on mobile
2017-01-07 18:41:57 -05:00
blackle
57ff221c0f
Emojify display names in notifcations
2017-01-07 18:16:14 -05:00
blackle
61211b509c
Improve contrast of bio and username text in account info
2017-01-07 16:39:30 -05:00
Eugen Rochko
be6ae3546f
Replace getting started icon on desktop nav bar with asterisk instead of hamburger
2017-01-07 15:46:39 +01:00
Eugen Rochko
5c7add2176
Fix #147 - Unreblogging will leave original status in feeds
2017-01-07 15:44:22 +01:00
Eugen Rochko
989c3f4002
Add tab bar alternative to desktop UI, upgrade react & react-redux
2017-01-06 22:09:55 +01:00
Eugen Rochko
1bfbce7b45
Clean up h-card mess of divs
2017-01-06 20:24:51 +01:00
Eugen Rochko
72c3a41bef
Fix h-card classes and remote follow button appearing when it shouldn't
2017-01-06 20:15:24 +01:00
Greg V
18deeb9db5
Add Microformats2 markup
...
h-feed, h-card and h-entry
2017-01-06 18:10:10 +03:00
Eugen
92bd5f62f6
Merge pull request #417 from ineffyble/twitter-card-metadata
...
Twitter Cards support
2017-01-06 01:16:45 +01:00
Eugen Rochko
7b9f8766e8
Fix #416 - Generate random unique 14-byte (19 characters) shortcodes
...
for local attachments, use them in URLs. Check status privacy
before redirecting to actual file.
2017-01-06 00:29:12 +01:00
Effy Elden
819bfb75c6
Add twitter:card metatag to enable Twitter Cards support
2017-01-06 09:47:40 +11:00
Effy Elden
10a9ebae3b
Add tag property to desktop notifications, preventing duplicates (i.e. when multiple Mastodon tabs are open)
2017-01-06 08:26:45 +11:00
Eugen Rochko
00b9ba64c9
Fixed unexpected error
2017-01-05 14:23:59 +01:00
Eugen Rochko
a1de2e332d
Fix compose form bug
2017-01-05 14:18:38 +01:00
Eugen Rochko
ca7dce4a5a
Fix selection resetting in compose form after unrelated data updates
2017-01-05 14:11:18 +01:00
Eugen Rochko
10e6288444
Revert to Roboto for all
2017-01-05 13:59:58 +01:00
Eugen
9e6ceb3201
Revert "Display native emoji on browsers which support it"
2017-01-05 13:45:21 +01:00
Eugen
87f76d4095
Merge pull request #403 from ticky/use-system-fonts
...
Use system fonts on more platforms
2017-01-05 13:37:48 +01:00
Eugen
c3c9879b5e
Merge pull request #404 from mistydemeo/emoji
...
Display native emoji on browsers which support it
2017-01-05 13:37:29 +01:00
Eugen
df89cb5488
Merge pull request #399 from ticky/public-timeline-de-hoist
...
Public timeline de-hoist
2017-01-05 13:36:55 +01:00
Eugen
92638308ee
Merge pull request #400 from ticky/differentiate-settings-links
...
Differentiate settings links
2017-01-05 13:36:13 +01:00
Misty De Meo
53b765f4b1
Bump emoji requirement to Unicode 9
2017-01-04 22:47:51 -08:00
Misty De Meo
c318e6e42e
Display native emoji on browsers which support it
2017-01-04 22:23:02 -08:00
Jessica Stokes
1f3c895ffb
Use system fonts on more platforms
...
This allows other platforms such as Windows, macOS and iOS to use their system fonts rather than downloading a copy of Roboto. It also makes the app feel a little closer to native on those platforms!
2017-01-04 20:24:27 -08:00
Misty De Meo
c100b83b98
Automatically position cursor when writing a reply toot
2017-01-04 20:04:14 -08:00
Jessica Stokes
7ac55d2674
Differentiate settings links
...
The "settings" links in the Getting Started section (or, if #399 were to happen, "more" menu) and compose sections are now different; the "compose" link is "Edit profile," while the one in the Getting Started section is now "Preferences."
All languages have been updated to accommodate this, based on the existing usages of these phrases in language files in the Rails part of the app!
addresses part of #384
2017-01-04 19:47:02 -08:00
Jessica Stokes
05cc5636d8
Remove hamburger from "getting started"
2017-01-04 19:30:39 -08:00
Jessica Stokes
9c493b1ea2
Replace "Public" in tab bar with "More" hamburger
2017-01-04 19:30:22 -08:00
Jessica Stokes
0c600e9db6
Move "getting started" to its own route
2017-01-04 19:30:02 -08:00
Eugen
9bb1b97d2a
Merge pull request #394 from ticky/email-reblog-to-boost
...
"Reblog" -> "boost" in more places
2017-01-05 03:35:22 +01:00
Eugen
3b604d2786
Merge pull request #395 from ticky/hide-media-list-if-no-media
...
Don't render the media list when there's no media
2017-01-05 03:34:49 +01:00
Eugen
879aa9ad26
Merge pull request #397 from ticky/friendlier-unknown-errors
...
Friendlier unknown errors
2017-01-05 03:34:06 +01:00
Eugen
52850c51db
Merge pull request #396 from ticky/fix-cmd-enter
...
Fix Command-enter tooting
2017-01-05 03:34:01 +01:00
Jessica Stokes
cc46c6b493
Friendlier unknown errors
...
Don't ask users to check the console - if they're on mobile, they probably can't anyway ;)
2017-01-04 18:31:45 -08:00
Jessica Stokes
1da73ecade
Fix Command-enter tooting
...
metaKey is only set correctly on keyDown, not keyUp, so this swaps to using that
2017-01-04 18:29:43 -08:00
Eugen Rochko
6c28886317
Improve background jobs params and error handling
2017-01-05 03:28:21 +01:00
Eugen Rochko
251b04298e
Fix undesired delivering of private toot to remote accounts that follow author
2017-01-05 03:17:23 +01:00
Eugen Rochko
98729d50c8
Make shortcode emojis work, make getting started area scrollable
2017-01-05 03:14:33 +01:00
Jessica Stokes
cbcb7e1241
Don't render the media list when there's no media
...
This stops the empty compose view from scrolling on 4-inch devices.
2017-01-04 18:10:45 -08:00
Jessica Stokes
bb033c1d37
"Reblog" -> "boost" in more places
...
A couple of places were using "reblog" rather than "boost" - this updates them to match the web UI
2017-01-04 18:00:50 -08:00
Jessica Stokes
aaee8c9b5d
Disallow compose navbar from being shrunk
2017-01-04 17:44:41 -08:00
Jessica Stokes
312736cd1b
Stop Mastodon friend from overlapping text 🐘
2017-01-04 17:33:05 -08:00
Jessica Stokes
5b75f6d0f3
Make tabs bar take up less room on 4-inch phones
2017-01-04 17:32:11 -08:00
Jessica Stokes
3807b0b171
Improve quality of life for 4-inch phones
...
Removes extra UI margins < 360px, and allows the tab bar to scroll. Also slightly improves horizontal scrolling behaviour on desktop.
2017-01-04 17:29:09 -08:00
Eugen Rochko
98b83aca37
Fix #391 - relative timestamps now contain an exact datetime in title
2017-01-04 15:43:28 +01:00
Eugen Rochko
1bbcd71cd4
Fix #390 - fix redirect after sign-up (to login page instead of homepage)
2017-01-04 15:31:25 +01:00
Anthony Bellew
1fcb807d91
Reduce height of media query to hide avatar/bio
...
An additional selector was provided to make the bio only hide on the timeline and not on the user page itself.
2017-01-03 11:55:36 -07:00
Mitchell Hentges
4d300e2507
On file-drag, show a border around textarea
2017-01-03 00:43:45 -08:00
Eugen Rochko
3125dd8920
Add "back" button on column headers of public and hashtag timelines. The "back"
...
button takes you back to getting started page
2017-01-03 01:15:42 +01:00
Eugen Rochko
86be6d48c9
Fix accidental distribution of hidden stream entries to PuSH subscribers
2017-01-03 00:44:23 +01:00
Eugen Rochko
f79ba2de83
Fix admin UI not loading JS, make sure to strip "acct:" out of remote account's usernames when authorizing follow
2017-01-02 22:31:10 +01:00
Eugen Rochko
136e18b875
Unblocks also federate
2017-01-02 14:19:02 +01:00
Eugen Rochko
65647a2472
See #244 - Added notifications column settings to filter what's displayed
...
in the column and what appears as desktop notifications. Settings do not
persist yet
2017-01-02 14:09:57 +01:00
Eugen Rochko
75122e162d
Fix uri expansion during remote follow
2017-01-02 12:19:02 +01:00
Eugen Rochko
c04002b340
Federate blocks with the http://mastodon.social/schema/1.0 verb namespace
2017-01-02 12:17:51 +01:00
Eugen Rochko
9f9e11ce07
Update screenshot on about page
2017-01-01 19:55:33 +01:00
Eugen Rochko
8f47f6a7ec
Adding remote follow button
2017-01-01 19:54:34 +01:00
Eugen Rochko
8d44281677
Set in_reply_to_account on statuses to non-self value when possible, thus
...
resolving the confusion from self-chain replies ultimately linking to a
non-self status. Adjust filters
2016-12-31 14:36:25 +01:00
Eugen Rochko
a302e56f9a
Add API for retrieving favourites
2016-12-29 20:33:26 +01:00
Eugen Rochko
49834a6e7f
Add API for retrieving blocked accounts
2016-12-29 20:12:32 +01:00
Eugen Rochko
8724094ed0
Support remote follow request providing URL instead of acct
2016-12-29 17:23:27 +01:00
Eugen Rochko
d7dc84439c
Add ability to use remote follow function on other sites
2016-12-29 16:54:54 +01:00
Eugen Rochko
8b94d283fb
Fix wrong person being notified after nested reblog call, fix favourites leaking private toots in Atom feeds
2016-12-28 13:21:12 +01:00
Eugen Rochko
e2c2fefc36
Add illustration to getting started column
2016-12-27 23:30:11 +01:00
Eugen
9aaf223ae2
Add getting started illustration
2016-12-27 23:18:56 +01:00
Eugen Rochko
eca6110fc4
Add preferences for follow request notification e-mails
2016-12-26 22:04:16 +01:00
Eugen Rochko
5418df467d
Only display follow requests link in getting started window if account is locked
2016-12-26 21:55:52 +01:00
Eugen Rochko
2146ac91a0
Follow requests send e-mail notifications, but are excluded from notifications API
...
Better initial state for unlisted/nsfw toggles
2016-12-26 21:52:03 +01:00
Eugen Rochko
3689c119f0
Replacing follow requests in the settings area with in-UI column
2016-12-26 21:33:51 +01:00
Eugen Rochko
004382e4d0
Adding follow requests API
2016-12-26 19:30:45 +01:00
Eugen Rochko
7376af90f7
Don't show statuses to blocked users
2016-12-26 19:13:56 +01:00
Eugen Rochko
3282448878
Fix #86 - resolve layout breaking on zoom-out on accounts grid
2016-12-26 18:48:33 +01:00
Eugen Rochko
c3e9ba6a66
Fix #357 - Also make textarea blur close suggestions which make it more accessible on touch devices
2016-12-24 01:39:14 +01:00
Eugen Rochko
0a84ab43d2
Fix #367 - Lock icon instead of retweet icon on boost button on private statuses
2016-12-24 01:33:55 +01:00
Eugen Rochko
0bc6da89d2
Hide unlisted toggle when private is active, hide nsfw toggle when no files added
2016-12-24 01:28:10 +01:00
Anthony Bellew
538d109a82
Re-add unlisted toggle to the UI
2016-12-24 01:28:02 +01:00
Eugen Rochko
6e064cf715
Fix account timelines bug
2016-12-23 01:13:16 +01:00
Eugen Rochko
26f969665d
Fix alignment
2016-12-23 00:45:16 +01:00
Eugen Rochko
b191afcb5b
Fix confirmation email being sent to old address when changing it
2016-12-23 00:43:03 +01:00
Eugen Rochko
de9b6e3a6a
Compose form in the UI now has public/private toggle instead of public/unlisted
2016-12-23 00:38:16 +01:00
Eugen Rochko
b302b9202b
Add page for authorizing/rejecting follow requests
2016-12-23 00:04:52 +01:00
Eugen Rochko
05b13c38b5
Re-enable Webfinger for locked accounts but don't handle "follow" events
...
coming in via Salmon.
Currently no way to prevent remote follows, but they will only receive public
and unlisted posts
2016-12-22 23:17:57 +01:00
Eugen Rochko
f729cfc881
Private posts mentioning non-followers should not notify them, neither locally nor via Salmon
2016-12-22 23:14:24 +01:00
Eugen Rochko
9d42bff285
Hide follow/unfollow button from public page if follow already requested
2016-12-22 23:07:46 +01:00
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
2016-12-22 23:03:57 +01:00
Eugen Rochko
2d2154ba75
Add "locked" flag to accounts, prevent blocked users from following, force-unfollow blocked users
2016-12-22 21:34:19 +01:00
Eugen Rochko
f91b6fa9e1
Merge branch 'master' into development
2016-12-22 11:35:00 +01:00
Eugen Rochko
3caf0cfb03
Ensure that reblogs and favs always refer to the original status rather than a reblog wrapper
2016-12-22 11:34:05 +01:00
Eugen Rochko
025f7bb223
Fix notifications reducer bug
2016-12-22 11:23:30 +01:00
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
2016-12-21 20:04:13 +01:00
Eugen Rochko
c4bc5c8930
Federated profile bio now formatted
2016-12-21 19:10:19 +01:00
Eugen Rochko
318e63cb79
Fix #250 - no text adjust
2016-12-21 00:56:13 +01:00
Eugen Rochko
587bf6820e
Improved launcher icon on Android
2016-12-21 00:28:57 +01:00
Eugen Rochko
e09d3a2c66
Fix #249 - use window.location hack to let people login from sandboxed iOS homescreen
2016-12-21 00:13:13 +01:00
Toby Pinder
ae7a2957aa
Smush assets for quicker load times/less bandwidth used.
2016-12-20 19:49:44 +00:00
Eugen Rochko
4c6809f6ab
Adding some rescues to workers, e.g. don't fail removal job when status can't be found in the first place (already removed)
2016-12-19 09:31:12 +01:00
Eugen Rochko
0542773bca
Make unfavouriting async to prevent timeout errors from leaving orphaned records behind
2016-12-19 09:12:29 +01:00
Eugen
6b67b55cee
Merge pull request #356 from victorhck/master
...
added two missings spanish translations
2016-12-18 21:22:46 +01:00
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
2016-12-18 19:47:11 +01:00
Eugen Rochko
aed25932b5
Add OEmbed iframe HTML, convert emojis on public pages, increase size of attachment thumbnails
2016-12-18 15:20:39 +01:00
Eugen Rochko
6de079a5af
Removing external hub completely, fix #333 fixing digit-only hashtags,
...
removing web app capability from non-webapp pages
2016-12-18 12:24:37 +01:00
Eugen Rochko
c4ffffbeed
Add a better cropped image
2016-12-15 01:07:58 +01:00
Eugen Rochko
642e464670
Adding art by cutewitchirl, open graph tags for about page
2016-12-15 00:59:49 +01:00
victorhck
f5c8d64b6d
added to missings spanish translations
2016-12-14 18:43:00 +01:00
Eugen Rochko
4df38516e6
Fix key up listener on compose form
2016-12-14 18:38:28 +01:00
Eugen Rochko
b27066e154
Re-implemented autosuggestions component for the compose form
...
Fix #205 , fix #156 , fix #124
2016-12-14 18:21:31 +01:00
Eugen Rochko
4284093aa3
Fixed AS delete verb
2016-12-14 15:13:39 +01:00
Eugen Rochko
76ec907993
Improved admin UI
2016-12-13 13:42:10 +01:00
Eugen Rochko
668013265c
Restoring old async behaviour of thread resolving as it proved to be more robust
2016-12-12 21:12:19 +01:00
Eugen Rochko
908fcf83c6
Fix timelines loading bug
2016-12-12 14:39:18 +01:00
Eugen Rochko
6d1066fe61
Adding some navigation items from #262 to the getting started screen
2016-12-12 14:27:52 +01:00
Eugen Rochko
6e7e97c849
Fix metaKey usage
2016-12-11 23:54:32 +01:00
Eugen Rochko
73c142fb94
Fix #167 - Enable cmd+enter on Mac to submit form
2016-12-11 23:39:25 +01:00
Eugen Rochko
cda297450f
Fix #171 - You can now drag & drop files to be uploaded
2016-12-11 23:35:06 +01:00
Eugen Rochko
f92cb02b9b
Fix #203 - try/catch around JSON parse
2016-12-11 23:18:41 +01:00
Eugen Rochko
2b22c33039
Fix #157 - labels/titles on follow/unfollow buttons
2016-12-11 23:13:54 +01:00
Eugen Rochko
6a5036ab19
Fix whitespace preservation in status text
2016-12-11 23:08:46 +01:00
Eugen Rochko
e90fcb46e3
Sensitive content federates using the "nsfw" hashtag
2016-12-11 22:49:25 +01:00
Eugen Rochko
f90133d2ad
Thread resolving no longer needs to be separate from ProcessFeedService,
...
since that is only ever called in the background
2016-12-11 22:23:11 +01:00
Eugen Rochko
6c60757e99
Improve images in opengraph meta tags
2016-12-09 12:08:39 +01:00
Eugen Rochko
c8e0ceed56
Fix OpenGraph meta tags
2016-12-09 11:56:27 +01:00
Eugen Rochko
0c491ea928
Fix translations
2016-12-09 11:52:09 +01:00
Stanislav Makar
d2ab41aea4
Declare Ukrainian
...
Closes : #345
2016-12-08 18:57:58 +02:00
Vladyslav
d85c566960
Final steps for Ukrainian translation
2016-12-07 20:39:22 +02:00
Eugen Rochko
06dd359239
Downsize attachment previews, but improve quality from 80 to 90
2016-12-07 12:09:20 +01:00
Eugen Rochko
bf5f8a2449
Fix #341 - Remove react-responsive in favour of simpler resize handler/window width
2016-12-06 19:18:37 +01:00
Eugen Rochko
2ef9f36cf2
Improve suspend account service
2016-12-06 18:32:36 +01:00
Eugen Rochko
f978b06dd1
Add suspend account functionality to admin UI
2016-12-06 18:22:59 +01:00
Eugen Rochko
f406e01fcf
Add filters for suspended accounts
2016-12-06 18:03:30 +01:00
Eugen Rochko
2488162733
Adding suspend account service
2016-12-06 17:41:42 +01:00
Eugen Rochko
1357c1cb3d
Add single user mode
2016-12-06 17:19:26 +01:00
Eugen Rochko
84d2371d6a
Fix
2016-12-06 00:24:33 +01:00
Eugen Rochko
39cc9fde8a
Add account suspension
2016-12-05 22:59:30 +01:00
Eugen Rochko
64d109dc0e
Downsize originals in media attachments, small fixes
2016-12-05 17:13:44 +01:00
Eugen Rochko
b362de2232
Adding configurable e-mail blacklist
2016-12-04 19:07:02 +01:00
Eugen Rochko
41b4be699f
Fix rule
2016-12-04 18:34:30 +01:00
Eugen Rochko
d5da55c6cc
Fix mutating objects
2016-12-04 18:32:31 +01:00
Eugen Rochko
d4559402e4
Better responsiveness
2016-12-04 18:13:07 +01:00
Eugen Rochko
9d9f796130
Adding more to admin accounts UI
2016-12-04 18:10:40 +01:00
Eugen Rochko
d236dcded2
Fix public tags page
2016-12-04 16:56:45 +01:00
Eugen Rochko
00e9dac1d3
Automatically block outgoing notifications from silenced accounts to users
...
who don't follow them
2016-12-04 16:51:49 +01:00
Eugen Rochko
f763e844e8
Do not use expiring links after all
2016-12-04 13:02:43 +01:00
Eugen Rochko
24e692b0cf
Set a specific S3 expiration time so that files can be cached
2016-12-04 12:58:35 +01:00
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)
2016-12-04 12:28:10 +01:00
Eugen Rochko
565cd95bca
Keep timelines in the UI trimmed when possible
2016-12-03 21:04:57 +01:00
Eugen Rochko
b14b5e3b44
Improve notification model
2016-12-03 20:04:19 +01:00
Eugen Rochko
5abf64d647
Add "next" pagination to public profiles
2016-12-03 19:30:13 +01:00
Eugen Rochko
ec44cff9a2
Admin accounts page lists accounts
2016-12-03 19:08:07 +01:00
Eugen Rochko
816284d739
Fix #248 - Reload all accounts when fetching from cache
2016-12-03 18:21:26 +01:00
Eugen Rochko
8cfcc52876
Make all account links into permalinks (open public except on left click)
2016-12-02 15:05:50 +01:00
Eugen Rochko
470f629b06
Fix #284 - Alignment in notifications column
2016-12-02 14:52:41 +01:00
Eugen Rochko
d9232959df
Fix #298 - Esc to close modal
2016-12-02 14:37:00 +01:00
Eugen Rochko
3114e55c7a
Fix #323 - self-replies to appear in public timelines again
2016-12-02 14:33:20 +01:00
Eugen Rochko
58b3f4fd67
Fix #329 - avatar errors no longer prevent remote accounts from being saved
...
(without avatar). Also improved search position of exact matches
2016-12-02 14:14:49 +01:00
Eugen
2b2797d6a5
Merge pull request #327 from TazeTSchnitzel/clearer_unlisted
...
Replace “Unlisted mode” with “Do not show on public timeline”
2016-12-01 20:58:00 +01:00
Andrea Faulds
1c1102008f
Fix line endings for Portuguese locale
2016-12-01 17:27:47 +00:00
Andrea Faulds
fd01f13b3c
Replace "Unlisted mode" with more explicit text
2016-12-01 17:19:58 +00:00
Eugen Rochko
1d0321fc45
Fix pt translations, improve pre-cache queries, removing will_paginate
...
from accounts/tags because it's a terribly inefficient way to paginate
large sets of data
2016-12-01 16:26:25 +01:00
Eugen
bdf7d8f8fd
Fix opengraph preview image
2016-12-01 01:56:43 +01:00
unsmell
2b13df4a8d
Create pt.jsx
2016-11-30 23:05:24 -01:00
Eugen Rochko
6ff93845d5
Add basic OEmbed provider API, fix #247
2016-11-30 23:01:03 +01:00
Eugen Rochko
14bd46946d
Per-status control for unlisted mode, also federation for unlisted mode
...
Fix #233 , fix #268
2016-11-30 21:34:59 +01:00
Eugen Rochko
1b447c190e
Preparing sensitive content for text
2016-11-30 16:10:19 +01:00
Eugen Rochko
a21bcac9e1
Further abstract caching for includes
2016-11-30 15:57:56 +01:00
Eugen Rochko
356d3874eb
Normalize localizations, add stub for admin/accounts
2016-11-30 15:32:26 +01:00
Eugen Rochko
4a2347da41
Track successful PuSH deliveries
2016-11-30 15:24:57 +01:00
Eugen Rochko
ff21ff1489
Make User#current_sign_in_at actually track when user was last active,
...
by updating it at least every 24h if the user visits the site
2016-11-30 15:17:03 +01:00
Eugen
18da021529
Merge pull request #235 from TazeTSchnitzel/settings_contrast
...
Improve contrast for settings pages (fixes #173 )
2016-11-29 17:50:19 +01:00
Eugen
1e99a2bb03
Fix trying to PuSH-publish updates of remote removals
2016-11-29 17:41:47 +01:00
Eugen Rochko
7e90772c92
Unify collection caching code
2016-11-29 15:49:39 +01:00
Eugen Rochko
93a90cd9c3
Delete statuses asynchronously but provide instant feedback in the API
2016-11-29 15:32:25 +01:00
Eugen Rochko
5973ca3d11
Upgrade Paperclip to 5, AWS-SDK to 2, do not generate medium/small versions of avatars
2016-11-29 14:20:15 +01:00
Eugen Rochko
cc70f28f19
Adding rack timeout of 30sec, PuSH jobs moved to push queue so they
...
can be processed separately
2016-11-29 02:07:14 +01:00
Eugen Rochko
4e351baf88
Fix URLs in inline-rendered XML
2016-11-29 00:26:01 +01:00
Eugen Rochko
5b076cbafb
Fix delete Salmons
2016-11-28 19:44:27 +01:00
Eugen Rochko
3ba6531611
Fix setting of confirmed=true on successful confirmation
2016-11-28 19:24:49 +01:00
Eugen Rochko
50638174c8
More logging to ConfirmationWorker
2016-11-28 19:15:28 +01:00
Eugen Rochko
4eba76711b
Adding backtracing to Salmon/Processing workers
2016-11-28 19:11:36 +01:00
Eugen Rochko
27fc49d745
Add simple admin overview of PuSH subscriptions
2016-11-28 18:45:13 +01:00
Eugen Rochko
7e5e33df48
Fix Pubsubhubbub::UnsubscribeService
2016-11-28 18:14:49 +01:00
Eugen Rochko
79e41fbd51
Forgot to enable hungarian translation in the frontend
2016-11-28 13:55:45 +01:00
Eugen Rochko
66ab0d0d56
Enabling portuguese and hungarian translations, which are awfully incomplete
2016-11-28 13:55:03 +01:00
Eugen
ea05fdaa57
Merge pull request #304 from unsmell/patch-1
...
activate portuguese translation
2016-11-28 13:51:09 +01:00
Eugen Rochko
f860d15d39
Fix order of attachments (see #269 )
2016-11-28 13:49:55 +01:00
Eugen Rochko
2d2c81765b
Adding embedded PuSH server
2016-11-28 13:36:47 +01:00
unsmell
7109711b71
activate portuguese translation
2016-11-27 14:57:09 -01:00
Eugen
26287b6e7d
Merge pull request #275 from kodacs/master
...
Hungarian translation for Mastodon.
2016-11-26 18:33:48 +01:00
Eugen
0cfb8dbd20
Merge pull request #282 from nclm/misc
...
Allow vertical resizing of the toot textarea
2016-11-26 18:30:03 +01:00
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
2016-11-26 15:45:35 +01:00
Eugen Rochko
054138797f
Fix #288 - Strip first @ from search query, don't search accounts if it begins with #
2016-11-26 15:32:29 +01:00
Eugen Rochko
950312bada
Fix #278 - Use mb_chars.downcase on hashtags
2016-11-26 15:24:14 +01:00
Eugen Rochko
2cb3dc5e5a
Update hub URL and re-subscribe if hub URL changes
2016-11-26 15:18:21 +01:00
nicolas
9f731b6a27
Allow vertical resizing of the toot textarea
2016-11-25 18:17:47 +01:00
Eugen Rochko
4495baf451
X-RateLimit-Reset formatted with iso8601
2016-11-25 15:21:22 +01:00
Eugen Rochko
898ab66e2e
Fix checkbox spacing
2016-11-25 14:02:12 +01:00
nicolas
c1aab76da4
Checkboxes label adjustement
...
When the label of a checkbox is more than one line long, avoid unalignment.
2016-11-25 14:02:12 +01:00
nicolas
959e4b8198
Merge branch 'master' into french-translation
2016-11-25 13:33:00 +01:00
nicolas
effdb42f4c
Update fr.jsx
2016-11-25 13:31:46 +01:00
Eugen Rochko
8a3745a4df
Remove stale entries from cache results
2016-11-25 13:25:40 +01:00
Eugen
1c9e21a507
Merge pull request #273 from nclm/french-translation
...
French localisation update
2016-11-25 13:14:30 +01:00
Eugen Rochko
71401659b8
Fix #65 - Options to block notifications from people you don't follow/who don't follow you
2016-11-25 13:13:16 +01:00
kodacs
eb3a12bba6
Server side HU translation + Toot fix.
2016-11-25 12:43:23 +01:00
Eugen Rochko
e3ed212b85
Filter statuses that mention blocked users
2016-11-25 12:35:52 +01:00
kodacs
7d6c461739
Hungarian translation
2016-11-25 09:43:19 +01:00
nicolas
03d22fabb7
Update fr.jsx
2016-11-25 09:25:28 +01:00
Eugen Rochko
543d06971e
Fix bad reference
2016-11-24 23:56:37 +01:00
Eugen Rochko
34e18eb251
Fix forgotten reference
2016-11-24 23:49:45 +01:00
Eugen Rochko
8efa081f21
Remove Neo4J
2016-11-24 23:46:27 +01:00
Eugen Rochko
fca183968e
Center header in account column, hide media in "muted" status components (notifications)
2016-11-24 23:09:53 +01:00
nicolas
60577f4c6e
Merge branch 'master' into french-translation
2016-11-24 20:13:30 +01:00
nicolas
5e33445c5f
Update index.jsx
...
Forgot to add `fr` here.
2016-11-24 20:12:16 +01:00
Eugen Rochko
8e34bed7cc
Mini Profiler not working well, remove it
2016-11-24 19:59:11 +01:00
Eugen Rochko
b6ee2fb1c6
Add some OpenGraph tags to public statuses
2016-11-24 18:28:10 +01:00
Eugen Rochko
4f1d863615
Only distribute statuses to followers who signed in in the last 2 weeks, add rake task for clearing feeds of inactive users
2016-11-24 18:17:58 +01:00
Eugen
7baca3fe4d
Merge pull request #242 from TazeTSchnitzel/media_uri_obfuscation
...
Rename media to avoid exposing filename (fixes #207 )
2016-11-24 16:27:32 +01:00
Alyssa Ross
cefef2c571
Extract filename obfuscation into module
2016-11-24 00:30:58 +00:00
Eugen Rochko
cbc50016eb
Follow/unfollow button outside of dropdown, also make favs/reblogs update indicator instantly and
...
then adjust to failure later if the request fails
2016-11-23 23:34:12 +01:00
Eugen Rochko
7cee27f517
Fix unfollows not clearing reblogs, fix blocks not clearing reblogs and notifications,
...
skip ActionCable for follow/unfollow/block events, instead clear UI from
blocked account's posts instantly if block request succeeds. Add forgotten
i18n for sensitive content
2016-11-23 22:57:57 +01:00
Andrea Faulds
7161f91313
Rename media to avoid exposing filename ( fixes #207 )
2016-11-23 21:03:03 +00:00
Eugen Rochko
3373ae02de
Merge branch 'development'
2016-11-23 19:01:12 +01:00
Eugen Rochko
79a0135869
Cache accounts/:id/statuses and single statuses too
2016-11-23 19:00:43 +01:00
Eugen Rochko
2112a81e86
Adding content sensitivity toggle, spoilers for media
2016-11-23 18:53:23 +01:00
Andrea Faulds
8e936b03d5
Improve contrast for settings pages ( fixes #173 )
2016-11-23 17:37:10 +00:00
nicolas
e8725d2d98
Rename ‘Publier’ to ‘Pouet’ in French locale.
...
🎺 https://mastodon.social/users/Pierrec/updates/100589
2016-11-23 15:53:49 +01:00
Eugen Rochko
5434ad3002
Add content spoilers for media in sensitive-content statuses
2016-11-23 11:23:32 +01:00
Eugen Rochko
0603971894
Adding sensitive marker to statuses in API
2016-11-23 10:46:48 +01:00
Eugen Rochko
4bdb6a0eaf
Rename "publish" to "toot" in english locale, fix lightbox showing old image
...
before loading new one, cache notifications API, fix missing follow button
on public profiles
2016-11-23 09:20:34 +01:00
Eugen Rochko
9b53c7d353
Fix #168 - Turn off e-mail notifications by default
2016-11-23 08:39:04 +01:00
Eugen Rochko
cf912e01fd
Implement includes caching for timelines APIs
2016-11-23 08:34:35 +01:00
Eugen Rochko
5c78547198
More query optimizations
2016-11-22 23:18:54 +01:00
Eugen Rochko
fc90d38893
Moving some counter queries out of subqueries in the API
2016-11-22 22:59:54 +01:00
Eugen Rochko
45c7ee39b3
Remove unneeded indices, improve error handling in background workers, don't needlessly reload reblogged status, send Devise e-mails asynchronously
2016-11-22 17:32:51 +01:00
nicolas
c7031fd535
Update fr.jsx
2016-11-22 10:49:50 +01:00
nicolas
89dab7c534
Merging code updates (Unlisted Mode)
2016-11-22 10:25:17 +01:00
nicolas
f9bd3d8808
Adding French locale to mastodon.jsx
2016-11-22 10:21:56 +01:00
nicolas
115ce90578
Adding French locale to settings_helper.rb
2016-11-22 10:20:28 +01:00
Eugen Rochko
1788164352
Local accounts can control "silenced" attribute which removes them from public timeline
2016-11-21 23:06:41 +01:00
Eugen Rochko
7abbb02824
Fix #163 - No need for Safari chrome on iOS
2016-11-21 22:33:44 +01:00
nicolas
835d5483fe
First version for fr.jsx
2016-11-21 22:06:05 +01:00
Eugen Rochko
7944ed6fe5
Adding option to specify asset server, filter followers query by local accounts
...
during Fan Out On Write to load less stuff into memory
2016-11-21 22:04:10 +01:00
nicolas
6b6243a186
Create fr.jsx
2016-11-21 21:51:34 +01:00
Eugen Rochko
627a85f4e4
Better error message in doorkeeper json response
2016-11-21 16:19:35 +01:00
Eugen Rochko
f88ca4a206
Performance improvement for notifications API
2016-11-21 16:10:42 +01:00
Eugen Rochko
52119104b9
Remove some n+1 queries from notifications API
2016-11-21 15:16:04 +01:00
Eugen Rochko
e8c27767aa
Remove orphaned notifications, add scopes param to app create API
2016-11-21 14:59:13 +01:00
Eugen Rochko
e3665c1d67
Try to fix for browsers that don't support notifications
2016-11-21 10:59:59 +01:00
Eugen Rochko
c41dc5e8e9
Icon for desktop notifications
2016-11-21 10:55:49 +01:00
Eugen Rochko
d32e0364f9
Switch to compose route when replying and compose is not mounted
2016-11-21 10:52:11 +01:00
Eugen Rochko
93577f74e7
Use old rules for mention notifications as for mentions timeline
2016-11-21 10:37:34 +01:00
Eugen Rochko
fb48cc3b74
Desktop notifications
2016-11-21 10:24:50 +01:00
Eugen Rochko
e616ffc5d6
Fix responsive layout breakpoint, replace mentions column with notifications
2016-11-21 10:03:55 +01:00
Eugen Rochko
29b12f9e0a
Call NotifyService about remote reblogs
2016-11-21 09:56:01 +01:00
Eugen Rochko
38dd85daab
Adding notifications column
2016-11-20 19:39:58 +01:00
Eugen Rochko
da2ef4d676
Adding unified streamable notifications
2016-11-20 19:39:58 +01:00
caesarologia
3838e6836d
Portuguese translation (front-end)
2016-11-20 11:40:26 +01:00
Eugen Rochko
51dc725794
Graphic emoji in usernames in the "reblogged" string above status
2016-11-19 00:28:42 +01:00
Eugen Rochko
39533190c2
Display human names of locales in dropdown
2016-11-19 00:19:57 +01:00
Eugen Rochko
c7a1b78536
Activating Spanish i18n
2016-11-19 00:10:47 +01:00
Eugen Rochko
ac2403fb24
Add more Spanish i18n
2016-11-19 00:01:02 +01:00
Eugen Rochko
7dea6a23f7
Move Salmon processing to background as well as PuSH
2016-11-18 23:24:57 +01:00
Eugen Rochko
2c58e7e06a
Catch validation errors in ProcessFeedService so that one failing entry wouldn't stop others from going through
2016-11-18 23:19:38 +01:00
Eugen Rochko
e4f56fa942
Don't create attachments if remote file cannot be fetched
2016-11-18 23:16:34 +01:00
Eugen Rochko
882de42bab
Validate presence of text even for remote statuses
2016-11-18 23:14:41 +01:00
Eugen Rochko
7b7bf834e9
Fix OAuth authorization page and add a spec for it
2016-11-18 23:10:44 +01:00
victorhck
2f1b6d4f41
fixed typos
2016-11-18 20:07:48 +01:00
Victorhck
1fd2ac774f
Added spanish translation ( #150 )
2016-11-18 19:12:44 +01:00
Eugen
3794e4e307
Fix syntax error
2016-11-18 19:10:38 +01:00
victorhck
9d9bb1d728
doing spanish translation
2016-11-18 19:06:33 +01:00
victorhck
305d0375ab
added spanish translation
2016-11-18 18:52:48 +01:00
Eugen Rochko
85d1b74ac3
Adding german localization
2016-11-18 15:53:46 +01:00
Eugen Rochko
a6e4f754fc
Add an Intl polyfill
2016-11-17 16:34:36 +01:00
Eugen Rochko
7ac574d9a9
Fix #148 - Devise mailer fixed, test spec added so it won't slip past again
2016-11-17 12:29:11 +01:00
Eugen Rochko
b2e504616a
Remove broken test
2016-11-16 19:11:30 +01:00
Eugen Rochko
116ab27e08
i18n for devise mailer too
2016-11-16 18:25:21 +01:00
Eugen Rochko
2c766bd4b4
Add user locale setting
2016-11-16 17:56:31 +01:00
Eugen Rochko
01e43c3e57
Adding react-intl i18n to the frontend. No translations yet
2016-11-16 17:20:52 +01:00
Eugen Rochko
546c4718e7
Localizations for most server-side strings
2016-11-16 00:55:33 +01:00
Eugen Rochko
3ce6ac0ce2
Adding some localizations
2016-11-15 23:02:57 +01:00
Eugen Rochko
a4313224d9
Improve how public status pages look slightly
2016-11-15 18:45:54 +01:00
Eugen Rochko
489bd99803
Support emojis in display name, bio
2016-11-15 18:38:57 +01:00
Eugen Rochko
4f07fb1f0a
Fix #144 - Filter statuses from blocked users out of ancestors/descendants results
2016-11-15 17:33:41 +01:00
Eugen Rochko
fdc17bea58
Fix rubocop issues, introduce usage of frozen literal to improve performance
2016-11-15 16:56:29 +01:00
Eugen Rochko
a91c3ef6ce
Delegate processing of incoming PuSH data to background workers
2016-11-15 15:43:33 +01:00
Eugen Rochko
cea28e0c1d
Fix wrong link header on followers API, wrong link in tabs component, order
...
account results
2016-11-14 01:19:25 +01:00
Eugen Rochko
f8f15e5697
Fix #63 - Filter mentions that reply to blocked users
2016-11-13 21:11:45 +01:00
Eugen Rochko
bcfa49aea7
Fix another mistake with infinite user list for following
2016-11-13 21:02:10 +01:00
Eugen Rochko
4286d49ade
Fix another mistake
2016-11-13 20:55:24 +01:00
Eugen Rochko
44f236e889
Fix infinite scrolling mistake
2016-11-13 20:52:11 +01:00
Eugen Rochko
dbfe1e4be6
Infinite scroll for followers/following lists
2016-11-13 20:42:54 +01:00
Eugen Rochko
49b7896953
Fix stale reference
2016-11-13 19:44:19 +01:00
Eugen Rochko
3f54fba0d3
Use privacy policy from Discourse
2016-11-13 19:35:45 +01:00
Eugen Rochko
7ce4670164
Force utf-8 encoding when processing XML
2016-11-13 19:12:40 +01:00
Eugen Rochko
50d3083cbd
Making upload button into a smaller icon button
2016-11-13 19:08:52 +01:00
Eugen Rochko
d42ed78aa4
Fix #110 - Make web UI use browser history, change links in e-mails to link to that
2016-11-13 14:02:34 +01:00
Eugen Rochko
c4eb63c1d4
Debounce autosuggestions requests
2016-11-13 13:13:36 +01:00
Eugen Rochko
f0bdfadab7
Search component
2016-11-13 13:04:18 +01:00
Eugen Rochko
8152584cf5
Fix #142 - Escape ILIKE special characters from Account.find_remote
2016-11-13 11:27:13 +01:00
Eugen Rochko
20aa777c58
Weigh username matches higher than domain matches in account search
2016-11-12 14:56:40 +01:00
Eugen Rochko
afded319d2
Add limit to search results
2016-11-12 14:49:28 +01:00
Eugen Rochko
09218d4c01
Use full-text search for autosuggestions
2016-11-12 14:36:10 +01:00
Eugen Rochko
1c17b932fe
Enable emojis in reply indicator as well
2016-11-10 23:30:42 +01:00
Eugen Rochko
82fd74d101
Fix modals sizing and add animation to it, fix #140 by only making the text of
...
status clickable (this also fixes multiple dropdown being openable at the same
time)
2016-11-10 23:21:24 +01:00
Eugen Rochko
0320ea4b85
Fix public timeline query
2016-11-10 21:58:22 +01:00
Eugen Rochko
36921be9aa
Fix #131 - Make active favourite buttons yellow
2016-11-10 01:32:32 +01:00
Eugen Rochko
ca3b364aea
Fix #122 - Add microformats-2 classes to mention links
2016-11-10 01:19:33 +01:00
Eugen Rochko
bf5f55a6bb
Fix live status removal from public/hashtag channels
2016-11-10 00:47:47 +01:00
Eugen Rochko
aabf884c5f
Discard misattributed remote statuses, improve timelines filter
2016-11-10 00:15:49 +01:00
Eugen Rochko
17903c6dae
Improve filtering of public/hashtag timelines, both in backlog and real-time
2016-11-10 00:03:33 +01:00
Eugen Rochko
c5e03a2e0d
Status removal is broadcast to public/hashtag timelines too
2016-11-09 19:16:27 +01:00
Eugen Rochko
448ab18a20
Replace setting custom CORS headers with rack-cors, set it on /oauth/token endpoint
2016-11-09 18:06:01 +01:00
Eugen Rochko
b13e7dda1f
API pagination for all collections using Link header
2016-11-09 17:48:44 +01:00
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
2016-11-08 23:29:08 +01:00
Eugen Rochko
86574ea524
Adding Emoji One
2016-11-08 21:46:29 +01:00
Eugen Rochko
b6832553ff
Adding more logging
2016-11-08 19:37:08 +01:00
Eugen Rochko
cff0b03cbb
Fix for thread resolve service and process feed service url method
2016-11-08 19:09:22 +01:00
Eugen Rochko
2f21f4cc01
Fix region setting for AWS gem
2016-11-08 18:55:46 +01:00
Eugen Rochko
bb4d1eb2e8
Improve feed regeneration
2016-11-08 02:08:32 +01:00
Eugen Rochko
096bfbad96
Fix typo
2016-11-08 01:48:17 +01:00
Eugen Rochko
11cbe49ffc
ProcessFeedService refactor
2016-11-08 01:44:51 +01:00
Eugen Rochko
dbe00a4156
Improved configuration from ENV, cleaned up timeline filter methods
...
to be more readable, add extra logging to process feed service
2016-11-07 23:20:52 +01:00
Eugen Rochko
0400734df7
Click video player to toggle playback
2016-11-07 19:05:32 +01:00
Eugen Rochko
a39a92bd22
Fix #135 - More prominent focus style for inputs
2016-11-07 18:45:44 +01:00
Eugen Rochko
bec47e40f5
Better look/behaviours for video player/lightbox
2016-11-07 18:42:39 +01:00
Eugen Rochko
d0d799f911
Replace react-skylight with own solution that centers images better
2016-11-07 18:23:36 +01:00
Eugen Rochko
f5c6baf29d
Fix account and hashtag regex
2016-11-07 17:35:25 +01:00
Eugen Rochko
c3559d18a3
Do not modify scroll position unless content has been added to the top, not bottom
2016-11-07 02:11:38 +01:00
Eugen Rochko
4a6cc46e81
Keep scroll position when scrolled down and new content is added
2016-11-07 02:02:55 +01:00
Eugen Rochko
23fc424b7a
Account notes (bios) can now contain links. Character limit upped to 160
2016-11-07 01:14:12 +01:00
Eugen Rochko
d14967e1c8
Fix URL configuration when S3 is enabled
2016-11-06 20:43:16 +01:00
Eugen Rochko
93212bc2c4
Add test for FanOutOnWriteService
2016-11-06 15:56:34 +01:00
Eugen Rochko
7bb28bf780
Improve @mention regex
2016-11-05 22:09:51 +01:00
Eugen Rochko
262adb9791
Fix remote hashtag linking
2016-11-05 17:54:19 +01:00
Eugen Rochko
eb47409036
Fix mistake
2016-11-05 17:48:53 +01:00
Eugen Rochko
a698b767c1
Fix linking of remote hashtags in UI, add public view of hashtags
2016-11-05 17:44:14 +01:00
Eugen Rochko
48b9619439
Adding hashtags
2016-11-05 17:13:14 +01:00
Eugen Rochko
62292797ec
Adding hashtag model
2016-11-04 19:12:59 +01:00
Eugen Rochko
4ea13d8dc9
Fix web app manifests
2016-11-04 14:19:58 +01:00
Eugen Rochko
2463c72006
Add forgotten reducer for FAVOURITES_FETCH_SUCCESS
2016-11-04 14:15:25 +01:00
Eugen Rochko
087b993892
Adding list of who favourited status
2016-11-04 13:39:24 +01:00
Eugen Rochko
6d5ef89356
Reduce code duplication, add touch scrolling behaviour for webkit browsers
...
on scrollable areas
2016-11-04 13:32:14 +01:00
Eugen Rochko
98c3a5e9c3
Optimize how statuses are re-rendered and relative time intervals
2016-11-04 12:48:53 +01:00
Eugen Rochko
6d26bfd147
Add list of who reblogged status
2016-11-03 20:16:14 +01:00
Eugen Rochko
0405ef977a
Aria-labels actually didn't work in React, so removing. Fixing some bugs
2016-11-03 19:52:09 +01:00
Eugen Rochko
159203a7bc
Fix #136 : Add aria-labels
2016-11-03 19:19:39 +01:00
Eugen Rochko
1828df9bc0
Disable accounts caching too
2016-11-03 19:06:11 +01:00
Eugen Rochko
abf664b560
Disable caching of statuses (maybe this will help with the weird bug)
2016-11-03 18:55:55 +01:00
Eugen Rochko
3731230c6d
Allow @username@domain/@username in follow form, prevent duplicate accounts
...
created via remote look-up when domains differ but point to the same resource
2016-11-03 16:57:44 +01:00
Eugen Rochko
e4671adc25
Fix reblogged/favourited caching; add API endpoints for who favd/reblogged status
2016-11-03 14:50:22 +01:00
Eugen Rochko
c003e70758
Caching should work correctly now (fingers crossed)
2016-11-03 14:12:45 +01:00
Eugen Rochko
562044f36a
Need to disable caching again due to bug in Rabl
2016-11-03 13:59:31 +01:00
Eugen Rochko
0160d1d9b5
Enable caching for some rabl views
2016-11-03 13:28:36 +01:00
Eugen Rochko
aff22bfdb5
Add own composed status to home without waiting for websocket event
...
This makes the UI appear less laggy. After all, the status *is* created
right there and then, it's the distribution to home timelines that can take
a while
2016-11-03 11:06:55 +01:00
Eugen Rochko
4b357ecf98
Fix subtle bugs, new icon button
2016-11-02 22:29:19 +01:00
Eugen
d427df4a8a
Merge pull request #132 from marcus-herrmann/master
...
a11y: Improve icon button component regarding semantics, screen reader usage
2016-11-02 21:53:05 +01:00
Eugen
76a717d549
Merge pull request #129 from fhemberger/fix/a11y-labels
...
a11y: Add labels to input fields for screenreader
2016-11-02 21:53:00 +01:00
mhe
87aabeb7af
a11y: Improve icon button component regarding semantics and screen reader usage
2016-11-02 20:18:39 +01:00
Eugen
bc1dba22c5
Fix syntax errors
2016-11-02 17:13:47 +01:00
Frederic Hemberger
e7cd6da938
Add touch icons for Chrome, iOS and Windows 10
2016-11-02 16:05:08 +01:00
Frederic Hemberger
5ff2762fcf
a11y: Add labels to input fields for screenreader
...
See: https://dequeuniversity.com/rules/axe/2.1/label
2016-11-02 14:53:39 +01:00
Eugen Rochko
9467b900a2
Make cookies https-only if LOCAL_HTTPS is true, set X-Frame-Options to DENY,
...
add permissive CORS to API controllers
2016-11-02 12:58:15 +01:00
Frederic Hemberger
d991869498
a11y: Add HTML lang attribute and utf8 encoding meta tag
...
See: https://dequeuniversity.com/rules/axe/2.1/html-has-lang
2016-11-02 11:01:18 +01:00
Eugen Rochko
dd03118098
Fix follow icon changing plus to minus, add terms page stub
2016-11-01 18:05:55 +01:00
Eugen Rochko
57304ac375
Catch 404 errors when downloading remote media, add screenshot to landing page
2016-11-01 16:58:13 +01:00
Eugen Rochko
bab4904492
Actually fix the reblogs/favs reducer issue
2016-10-31 18:11:49 +01:00
Eugen
d88d148d89
Fix forgotten reducers for reblogs/favourites
2016-10-31 16:59:36 +01:00
Eugen
50aaf4667f
Fix accounts not being normalized from context statuses
2016-10-31 01:27:19 +01:00
Eugen Rochko
7e35650398
Actually complete the autosuggestion feature
2016-10-30 18:21:38 +01:00
Eugen Rochko
c49f6290eb
Basic username autocomplete for text area
2016-10-30 18:13:05 +01:00
Eugen Rochko
fa1cc2d05a
Limit returned followees/followers by API to 40 for now
2016-10-30 15:14:07 +01:00
Eugen Rochko
f10feb2e70
Fix common followers API
2016-10-30 15:08:36 +01:00
Eugen Rochko
e8ff4c8e56
Refactoring redux state into different reducers
2016-10-30 15:06:43 +01:00
Eugen Rochko
7060bdf04b
Hide notes on user lists for now
2016-10-29 01:31:33 +02:00
Eugen Rochko
e0a197650a
Adding common followers API, fixing fallback query again
2016-10-29 01:29:19 +02:00
Eugen Rochko
c913bdfc98
Fix follow suggestion fallback to exclude already followed users
2016-10-28 20:35:30 +02:00
Eugen Rochko
bfb6cc5f2c
Make suggestions box also use user list components
2016-10-28 20:26:49 +02:00
Eugen Rochko
ac4f53a3a2
Improved how user lists look, added follow button to them
2016-10-28 20:05:44 +02:00
Eugen Rochko
1c84d505c8
Adding following/followers lists to the UI
2016-10-27 21:59:56 +02:00
Eugen Rochko
909d0d5e88
Adding public timeline silencing
2016-10-27 19:33:04 +02:00
Eugen Rochko
e5565a7e4a
Fix suggestions fallback query
2016-10-27 19:03:05 +02:00
Eugen Rochko
c1a0633a12
Guard against unexisting statuses rendering
2016-10-25 11:13:16 +02:00
Eugen Rochko
de50eff6ac
Add opening images in a modal window
2016-10-24 18:08:23 +02:00
Eugen Rochko
f8f40f15da
Move status components inside individual containers. We still need to select
...
all statuses/accounts to assemble, but at least lists don't have to be
re-rendered all the time now. Also add "mention" dropdown option
2016-10-24 18:08:23 +02:00
Eugen Rochko
b746a931a5
Fix OAuth authorization redirect
2016-10-23 12:05:55 +02:00
Eugen Rochko
abb8f5837e
Fix public channel
2016-10-23 11:56:04 +02:00
Eugen Rochko
a9e40a3d80
Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
...
to the API
2016-10-22 19:39:44 +02:00
Eugen Rochko
852c82435d
Fix method return when rescuing
2016-10-20 18:36:12 +02:00
Eugen Rochko
04bbc57690
Fix #100 - Add "back" button to certain views
...
Also fix reloading of timelines after merge-type events
2016-10-19 18:20:19 +02:00
Eugen Rochko
8698cd3281
Remember scroll position when navigating back, do not needlessly reload
...
entire timelines (only fetch since last known ID). Side effect: account
timelines no longer update in real-time
2016-10-18 23:06:28 +02:00
Eugen Rochko
1d2175f73c
Do not force-transcode uploaded videos to webm (leave mp4 as-is)
2016-10-18 17:51:45 +02:00
Eugen Rochko
f88b8ce757
Improve how errors are displayed in the UI
2016-10-18 17:09:45 +02:00
Eugen Rochko
aea151a0de
Fix #97 - plain text version of devise e-mails
2016-10-18 16:39:21 +02:00
Eugen Rochko
43df35213e
Improving all forms
2016-10-18 16:37:15 +02:00
Eugen Rochko
2e0a38d07c
Added e-mail edit field to settings, proper format default for webfinger
2016-10-18 03:34:26 +02:00
Eugen Rochko
d5e086a47b
Adding application/jrd+json webfinger resource
2016-10-18 02:54:49 +02:00
Eugen Rochko
7bb72ff198
Small clean up
2016-10-18 01:48:46 +02:00
Eugen Rochko
b62c31306e
This should fix it
2016-10-18 01:44:31 +02:00
Eugen Rochko
f8b9b0810d
Debugging
2016-10-18 01:38:32 +02:00
Eugen Rochko
225ce8cfce
More debugging
2016-10-18 01:34:38 +02:00
Eugen Rochko
ea44d89383
More debugging
2016-10-18 01:31:03 +02:00
Eugen Rochko
dd02fc0ec4
More debugging
2016-10-18 01:22:28 +02:00
Eugen Rochko
f3e5625d2d
More debugging
2016-10-18 01:16:50 +02:00
Eugen Rochko
fdd30af595
Will this fix the issue?
2016-10-18 01:11:00 +02:00
Eugen Rochko
6611e3a2ef
More debugging
2016-10-18 00:59:18 +02:00
Eugen Rochko
564e01eaf6
Add console.error to all axios failures
2016-10-18 00:42:04 +02:00
Eugen Rochko
6c05e3063a
Include <id> (identical value to <uri>) on person-type objects in Atom
...
This might help with GS compatibility
2016-10-17 15:36:37 +02:00
Eugen Rochko
a782e3b39d
Actually fix public timeline
2016-10-17 01:59:34 +02:00
Eugen Rochko
e865673175
Fix #82 - only show latest reblog of status in UI
2016-10-17 01:34:16 +02:00
Eugen Rochko
b5c6d00afa
Fix #99 - public timeline not just reblogs, fix #98 infinite scrolling issues
2016-10-17 01:23:41 +02:00
Eugen Rochko
13ee88926d
Increase default number of loaded suggestions to 10
2016-10-16 19:30:01 +02:00
Eugen Rochko
f0f791bb76
Don't preload timelines as props, load them when timeline component is mounted
...
This prevents the bug where if you go "back" to the UI after navigating to
another page it loads with the old set of statuses
2016-10-16 19:23:17 +02:00
Eugen Rochko
0895ff414e
Fix RemoveStatusService trying to send delete salmons on behalf of remote statuses
2016-10-16 19:14:23 +02:00
Eugen Rochko
de1f3aab86
Fix #16 - Optimize n+1 queries when checking reblogged/favourited values for status lists in API
2016-10-16 19:10:16 +02:00
Eugen Rochko
1de2833f30
Filter out reblogs of blocked users from public timeline (the not real-time variant)
2016-10-16 18:35:20 +02:00
Eugen Rochko
b8eda3026f
Fix scrolling on small devices for account timelines and compose column
2016-10-16 17:09:00 +02:00
Eugen Rochko
4470330385
Backfill follow suggestions with fallback when not enough results. Cycling
...
through suggestions in UI
2016-10-16 17:04:13 +02:00
Eugen Rochko
db4671fd3f
Fix suggestions fallback
2016-10-15 17:34:00 +02:00
Eugen Rochko
6e0b3ddb0d
Fix follow suggestions order
2016-10-15 17:19:18 +02:00
Eugen Rochko
df2c0b8dad
Fix typo
2016-10-15 16:57:10 +02:00
Eugen Rochko
04bfd4262f
Fix follow suggestions ranking
2016-10-15 16:54:50 +02:00
Eugen Rochko
7075cef8f9
Adding sort by node rank to follow suggestions and fallback to most influential users
2016-10-15 16:46:15 +02:00
Eugen Rochko
67b35a601a
Exclude blocked users from follow suggestions, fix tests
2016-10-15 13:48:38 +02:00
Eugen Rochko
aa9d48343d
Fix suggestions box style for long names
2016-10-15 13:05:37 +02:00
Eugen Rochko
edefd87adf
Fix multiple results return from FollowSuggestion.get
2016-10-15 13:00:21 +02:00
Eugen Rochko
4d336cefac
Add sync command for neo4j, fix configuration, add neo4j to docker-compose, fix seed
2016-10-15 12:37:43 +02:00
Eugen Rochko
20f581f796
Display follow suggestions
2016-10-15 12:06:30 +02:00
Eugen Rochko
e21a3fe0cd
Adding sync of follow relationships to Neo4J, accounts/suggestions API
2016-10-14 23:10:07 +02:00
Eugen Rochko
91144d46ec
Fix duplication of media attachments when a remote status reblogs a local one
2016-10-14 20:15:37 +02:00
Eugen Rochko
244d1307a3
Fix remove status service sending salmons
2016-10-14 20:09:33 +02:00
Eugen Rochko
a3384b6ea6
Add "edit profile" link to dropdown on own profile
2016-10-14 02:45:20 +02:00
Eugen Rochko
7a6d95f70c
E-mail preferences page
2016-10-14 02:28:49 +02:00
Eugen Rochko
9b195f5dd3
Add window titles to auth pages and about page, link sign up/login from about page
2016-10-14 01:03:12 +02:00
Eugen Rochko
33f7e1cf99
Shorten rendered links (strip protocol and www, truncate to 30 chars), redirect
...
to sign in page after sign up instead of root path which redirects to /about
2016-10-13 16:51:34 +02:00
Eugen Rochko
157f03f8bd
No-op for Salmons without body, fail fast if Webfinger does not contain
...
all required resource links (profile page, salmon, atom feed, magic key)
2016-10-13 13:41:06 +02:00
Eugen Rochko
36e7eeb6b9
Treat dfrn:owner like xmlns:author for Friendica compatibility
2016-10-12 22:55:00 +02:00
Eugen Rochko
64302b3c99
Improve Friendica support (but still not there yet)
2016-10-12 21:07:00 +02:00
Eugen Rochko
160b5148ec
Fix magic key in webfinger XRD href
2016-10-12 19:30:41 +02:00
Eugen Rochko
c257b29d86
Fix up a few exceptions
2016-10-12 19:25:46 +02:00
Eugen Rochko
f7f3e6e3be
Fix styles
2016-10-12 19:14:47 +02:00
Eugen Rochko
2ddf4e09f9
Change how convert options are escaped
2016-10-12 14:39:54 +02:00
Eugen Rochko
cdc49c6b4b
Allow mp4 uploads, convert to WebM
2016-10-12 14:29:10 +02:00
Eugen Rochko
45776b55b0
Responsively changing layout to single-column + nav on smaller screens
2016-10-12 13:17:17 +02:00
Eugen Rochko
77efdfa110
Fixing namespaces issue
2016-10-10 19:16:23 +02:00
Eugen Rochko
451733961b
Show media of reblogged statuses in public html view
2016-10-10 18:23:08 +02:00
Eugen Rochko
68eed8c61f
Stop logging incoming Atom
2016-10-10 18:16:39 +02:00
Eugen Rochko
87b618ab02
Fix namespace parsing in Atom feeds
2016-10-10 18:16:07 +02:00
Eugen Rochko
f49ed8c819
Log incoming Atom from PuSH
2016-10-10 17:40:28 +02:00
Eugen Rochko
38ce960ff9
Use Account#find_remote method when possible
2016-10-10 17:30:49 +02:00
Eugen Rochko
cfba03bd27
Don't return unsaved status from ProcessFeedService
2016-10-10 16:49:05 +02:00
Eugen Rochko
81065bc06c
Adding test for ProcessFeedService
2016-10-10 16:03:38 +02:00
Eugen Rochko
3306a5d524
Improve process feed service
2016-10-10 15:27:39 +02:00
Eugen Rochko
dd5e724c3f
Fix reblog mentions Atom
2016-10-10 15:08:24 +02:00
Eugen Rochko
f249a8c187
Include mentions and media attachments of reblogged posts in Atom
2016-10-10 14:22:09 +02:00
Eugen Rochko
65ae9637d6
PuSH unsubscribe needs correct callback URL
2016-10-10 03:40:08 +02:00
Eugen Rochko
aec51e40ee
Make account domains case-insensitive, downcase before checking against local
2016-10-10 03:34:15 +02:00
Eugen Rochko
5f737c7228
Fix default assumed object type (note->activity), make stream entry threaded? check aware of orphaned replies
2016-10-10 02:55:30 +02:00
Eugen Rochko
0634e8dee5
Improved how in-UI profiles look
2016-10-09 22:19:15 +02:00
Eugen Rochko
29e79f770f
Making AccountTimeline into a sub-route
2016-10-09 20:18:54 +02:00
Eugen Rochko
427ba27641
Public timeline to exclude users you blocked
2016-10-09 15:15:21 +02:00
Eugen Rochko
769b1ebbe0
Filter block users and reblogs of them from public timeline
2016-10-09 15:05:07 +02:00
Eugen Rochko
22a8801dbc
Adding domain blocks
2016-10-09 14:48:59 +02:00
Yann Vaillant
35de03fbe3
Strip exif data from uploaded images
...
Using `-strip` cli options from ImageMagick
http://www.imagemagick.org/script/command-line-options.php#strip
fix #85
2016-10-08 15:18:20 +02:00
Eugen Rochko
d85df27053
Fix mistake
2016-10-08 00:39:46 +02:00
Eugen Rochko
bef4d8dab8
Add link to public timeline to getting started screen
2016-10-08 00:30:56 +02:00
Eugen Rochko
ef9d4f4e06
Use reselect to memoize denormalization in UI state
...
Also upgrade react-redux to latest version. This is a performance update
2016-10-08 00:01:22 +02:00
Eugen Rochko
1f650d327d
Adding public timeline
2016-10-07 16:00:11 +02:00
Eugen Rochko
06016453bd
Adding user settings (model and mailer), no form yet
2016-10-07 13:17:56 +02:00
Eugen Rochko
943c69c65d
Fix #73 - Click on in-UI profile avatar/name to open public profile
2016-10-06 23:15:50 +02:00
Eugen Rochko
a4b8069cf5
Styling loading indicator, removing unused routes, adding "getting started" explanation
...
Also, only update relative time every minute instead of 6 seconds. My bad
2016-10-06 22:47:35 +02:00
Eugen Rochko
e8a8703a4b
Fix how missing display name is displayed (fallback to username)
2016-10-06 22:07:32 +02:00
Eugen Rochko
296ce2d45a
Adjusting new CSS for smaller screens
2016-10-06 22:00:56 +02:00
Eugen Rochko
2af3abd279
Fix #79 - break too long lines and hide overflowing characters in status content
2016-10-06 21:56:07 +02:00
Eugen Rochko
05af66d6b9
Fix #80 - pretty scrollbars for lucky webkit users
2016-10-06 21:39:30 +02:00
Eugen Rochko
d772db4344
Fix #83 - if user cannot be found (or is self) throw error, don't return empty 200
...
This prevents the undefined profile from being opened in the first place on such an error
2016-10-06 21:33:33 +02:00
Eugen Rochko
3554d638b3
Fix #72 - add follow/unfollow button to public profiles
2016-10-06 21:27:58 +02:00
Eugen Rochko
87ba52ad3f
Fix delete option missing from statuses in detailed view
2016-10-06 17:27:07 +02:00
Eugen Rochko
15d01a5e08
Better comparison of "local" domain
2016-10-06 16:36:16 +02:00
Eugen Rochko
b304cc07d5
Fix #76 - set scrollTop property of element node rather than use scrollTo() method
2016-10-06 16:18:32 +02:00
Eugen Rochko
b60430fe8f
Fix sign-in redirecting "back" to a missing image because missing static files hit the raise_not_found method
2016-10-06 15:42:00 +02:00
Eugen Rochko
8bdbe99d69
Fix #71 - Add logout link to UI
2016-10-06 15:34:11 +02:00
Eugen Rochko
68402228f3
Fix #70 - disable autocomplete on follow form
2016-10-06 15:24:28 +02:00
Eugen Rochko
5cfc9efad3
Update OStatus2 to handle malformed Salmon without raising unexpected exceptions
2016-10-06 14:47:38 +02:00
Eugen Rochko
2f5b205916
Catch Paperclip errors on /api/v1/media, return early from update profile service if XML given is nil
2016-10-06 14:40:15 +02:00
Yann Vaillant
038a407b9e
Update default devise wording to include reference to Mastodon
...
Fix #68
2016-10-06 07:45:07 +02:00
Eugen Rochko
3319473b2c
Move PubSubHubbub pinging to a background worker
...
It can take as much as 0.5s if not longer to complete
2016-10-05 13:50:21 +02:00
Eugen Rochko
2febc6ed65
Fix typo
2016-10-05 13:40:14 +02:00
Eugen Rochko
fe77921e47
Catching more exceptions that slipped through, removing AR logging from
...
production as it's very verbose and not very useful
2016-10-05 13:26:44 +02:00
Eugen Rochko
b078885414
Catch :warden correctly
2016-10-03 19:19:03 +02:00
Eugen Rochko
feda1e6554
Catch warden throw in actioncable
2016-10-03 19:10:56 +02:00
Eugen Rochko
70e9dd0b5b
Blocking will prevent e-mail notifications from blocked user, blocks in UI
2016-10-03 18:49:52 +02:00
Eugen Rochko
7b9a4af311
API for blocking and unblocking
2016-10-03 18:17:06 +02:00
Eugen Rochko
2c9e672ee2
Integrating block relationships into the API (read-only for now)
2016-10-03 17:16:58 +02:00
Eugen Rochko
9d59d7b463
Adding a block model and filter mentions from blocked users ( fix #60 )
2016-10-03 17:12:13 +02:00
Eugen Rochko
a488b05726
Cleaning up unused views
2016-10-03 16:52:45 +02:00
Eugen Rochko
fc198a8b4c
Adding e-mail confirmations
2016-10-03 16:51:00 +02:00
Eugen Rochko
b3c7c8700d
Fix most pages on small screens
2016-10-03 16:17:28 +02:00
Eugen Rochko
188c6f326b
Making public pages responsive, removing reblogs/favs counts from them
2016-10-03 00:26:00 +02:00
Eugen Rochko
d74da1a89a
Small fixes
2016-10-02 23:46:25 +02:00
Eugen Rochko
9fd3d7b6cd
Add since_id param to feeds
2016-10-02 22:35:27 +02:00
Eugen Rochko
a0f85774c4
Redirect after sign in to previous page (unless it's a sign in/up/etc page)
2016-10-02 17:11:08 +02:00
Eugen Rochko
6d7290f47c
Add API for getting info about authenticated user: /api/v1/accounts/verify_credentials
2016-10-02 16:14:21 +02:00
Eugen Rochko
31a0202546
Slightly improved e-mail notifications
2016-10-02 15:37:35 +02:00
Eugen Rochko
2d4f9ecebf
Validate against multiple reblogs of same status by same account
2016-10-02 15:33:24 +02:00
Eugen Rochko
be86d4e0a3
Preparing feeds for better filtering
2016-10-02 15:28:47 +02:00
Eugen Rochko
1fce687f8e
Unreblogging and unfavouriting from the UI
2016-10-02 15:14:26 +02:00
Eugen Rochko
4909bbf415
Add logging for outgoing http requests
2016-10-02 14:58:06 +02:00
Eugen Rochko
96ad9b0db1
Meaningful validation errors in API response
2016-09-30 22:31:16 +02:00
Eugen Rochko
62b057b085
Adjust client registration API
2016-09-30 00:03:08 +02:00
Eugen Rochko
ef2b50c9ac
Deleting statuses from UI
2016-09-30 00:00:45 +02:00
Eugen Rochko
a4f7eca5fa
Fix #25 - Only latest reblog of status kept on feed as zset value is set to "true" status ID
2016-09-29 21:40:37 +02:00
Eugen Rochko
927333f4f8
Improve code style
2016-09-29 21:28:21 +02:00
Eugen Rochko
e4aebad35a
Fix handling of multiple Link headers (that should not be a thing though)
2016-09-27 23:49:12 +02:00
Eugen Rochko
e63aebff7a
Adding landing page
2016-09-27 23:12:33 +02:00
Eugen Rochko
45a96e899e
Fix #58 - disable compose form while image is uploading
2016-09-27 17:02:30 +02:00
Eugen Rochko
4f9b7432dd
Fix #52 - Add API versioning (v1)
2016-09-27 16:59:08 +02:00
Eugen
3f75f52285
Fix subtle home feed filtering bug
2016-09-27 10:52:37 +02:00
Eugen Rochko
7e14eefc81
Replace logo, fix #57 - delete/unreblog/unfavourite API, fix #45 - app
...
registration API
2016-09-26 23:56:53 +02:00
Eugen Rochko
210362e665
Improve redirect handling in FetchAtomService
2016-09-26 17:04:05 +02:00
Eugen Rochko
c6b0311b86
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.
2016-09-26 16:44:40 +02:00
Eugen Rochko
0bd4608ad1
Fix #55 - Filter self from pre-filled mentions
2016-09-26 15:49:28 +02:00
Eugen Rochko
693383234c
Improved style of settings page
2016-09-25 15:48:20 +02:00
Eugen Rochko
e9bc4a4a08
Limit usernames to 30 chars, statuses to 500, open account after follow form success
2016-09-25 15:26:56 +02:00
Eugen Rochko
62b384824d
Improved styling for media/videos in detailed status view
2016-09-25 14:58:07 +02:00
Eugen Rochko
15f51dbf8c
Better styling for selected status in detailed view
2016-09-25 14:20:29 +02:00
Eugen Rochko
1215ab57ff
Some extra scopes for user sorting
2016-09-24 14:59:52 +02:00
Eugen Rochko
a706f1af04
Don't generate stream entries for streamables of remote accounts
2016-09-24 14:42:29 +02:00
Eugen Rochko
fb94013796
Improved partial rendering for threads
2016-09-24 14:34:44 +02:00
Eugen Rochko
db6df6ddb3
Only load JS on homepage, no other page uses it
2016-09-24 13:47:51 +02:00
Eugen Rochko
57583f3fb8
Improve partial rendering and Haml performance (Haml->Hamlit)
2016-09-24 13:40:42 +02:00
Eugen Rochko
95d72b2249
Temporarily link "settings" to the static version of the form
2016-09-23 21:59:21 +02:00
Eugen Rochko
0c75ce1122
Improved ColumnsArea on smaller windows, improved how ActionBar looks
2016-09-23 21:52:28 +02:00
Eugen Rochko
3f9708edc4
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)
2016-09-23 20:23:26 +02:00
Eugen Rochko
c6d893a71d
Uploading/undoing media modifies status text. Also: status text trimmed before validation
2016-09-22 21:39:53 +02:00
Eugen Rochko
b1a670af8d
Handle remote account mentions a little better by trying a URL lookup in the db
2016-09-22 21:10:36 +02:00
Eugen Rochko
2a84271e85
Infinite scroll for account timelines
2016-09-22 20:58:35 +02:00
Eugen Rochko
4a670780f0
Fix #51 - prevent duplicate attachments for remote statuses
2016-09-22 20:42:20 +02:00
Eugen Rochko
2c0261ac25
Infinite scroll for timeline columns
2016-09-22 01:08:35 +02:00
Eugen Rochko
74dfefabd3
Make in-text mentions open account detailed view when possible
2016-09-22 00:32:27 +02:00
Eugen Rochko
bc98865c1a
API returns mentions for statuses, compose form pre-fills all relevant usernames into the form when replying
2016-09-22 00:09:21 +02:00
Eugen Rochko
c0e9603c92
Fix #50 - Order ancestors/descendants by tree path
2016-09-21 23:18:28 +02:00
Eugen Rochko
e46abc71ca
Fix notifications in UI, added new API for fetching account relationships
2016-09-21 22:07:18 +02:00
Eugen Rochko
4bec613897
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.
2016-09-21 01:50:31 +02:00
Eugen Rochko
6d89edc4f7
Fix #47 by renaming TIMELINE_SET action to TIMELINE_REFRESH_SUCCESS
2016-09-20 23:18:00 +02:00
Eugen Rochko
1d2856c2af
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.
2016-09-20 03:24:04 +02:00
Eugen Rochko
246330493b
More debugging for PuSH confirmations
2016-09-20 03:18:55 +02:00
Eugen Rochko
a66d34878c
Add more logging to PuSH callback
2016-09-20 03:12:23 +02:00
Eugen Rochko
608a2bfffc
Upgrade to PubSubHubbub 0.4 (removing verify_token)
2016-09-20 02:43:20 +02:00
Eugen Rochko
a86f21cf90
Fix rake tasks and loading bar
2016-09-20 01:53:30 +02:00
Eugen Rochko
1cfc9aa20e
OStatus2 and Goldfinger gems now have timeouts for requests
2016-09-20 01:10:51 +02:00
Eugen Rochko
059ebbf48d
Separate PuSH subscriptions from following, add mastodon:push:refresh task,
...
respect hub.lease_seconds (fix #46 )
2016-09-20 00:43:36 +02:00
Eugen Rochko
1245ee42fb
Update OStatus2 library
2016-09-19 23:52:42 +02:00
Eugen Rochko
98de6927f3
Remove background mask from avatars
2016-09-19 23:28:22 +02:00
Eugen Rochko
337462aa5e
Re-organizing components to be more modular, adding loading bars
2016-09-19 23:26:21 +02:00
Eugen Rochko
f820edb463
Fix type mistake in account component
2016-09-18 18:44:52 +02:00
Eugen Rochko
ee770c3fd3
Live update account timelines, small fix for replyCompose
2016-09-18 18:38:44 +02:00
Eugen Rochko
0967961de7
Improve how account detailed view looks, load account's statuses
2016-09-18 18:18:46 +02:00
Eugen Rochko
dafcb02153
Remove unused action constants
2016-09-18 13:45:39 +02:00
Eugen Rochko
9863196f7b
Small rubocop offences removed
2016-09-18 13:42:24 +02:00
Eugen Rochko
08896f7dcf
Detailed status view scrollable
2016-09-18 13:03:37 +02:00
Eugen Rochko
ab7291b8fe
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
2016-09-18 12:51:09 +02:00
Eugen Rochko
dfd5deacf4
Volume toggle control in VideoPlayer
2016-09-18 12:39:00 +02:00
Eugen Rochko
adffc7a495
Fix #43
2016-09-18 12:28:49 +02:00
Eugen Rochko
5342629a0a
Adding webm playback to UI
2016-09-17 18:05:02 +02:00
Eugen Rochko
bd5ad304ba
Adding media controller, 1 webm/compose form allowed, previews generated
2016-09-17 17:47:26 +02:00
Eugen Rochko
183a23943b
Fix how other services used old FollowRemoteAccountService
2016-09-17 17:07:45 +02:00
Eugen Rochko
0e9c1a297a
Improved error handling for FollowRemoteService
2016-09-17 17:03:36 +02:00
Eugen Rochko
8c0b19012b
Fix #41 , debug #42
2016-09-17 16:36:10 +02:00
Eugen
e906677092
Stop event propagation after IconButton onClick
2016-09-16 11:20:39 +02:00
Eugen Rochko
5b0cef9781
Setting up preliminary "detailed" routes in the UI, new API end-point for fetching status context
2016-09-16 00:21:51 +02:00
Eugen Rochko
2e7aac793a
Adding sense of self to the UI, cleaning up routing, adding third (detail) column
2016-09-13 02:24:40 +02:00
Eugen Rochko
d6a64f45fd
Adding a notification stack for error messages
2016-09-12 19:20:55 +02:00
Eugen Rochko
05b0c985b4
Send "delete" Salmons to remote mentioned accounts on status removal
...
Fixes #27
2016-09-12 18:33:34 +02:00
Eugen Rochko
ce29624c6d
Fixing image upload limits, allowing webm, merge/unmerge events trigger
...
timeline reload in UI, other small fixes
2016-09-12 18:22:43 +02:00
Eugen Rochko
3d566279cb
Fix formatter return block
2016-09-10 19:18:17 +02:00
Eugen Rochko
0077fc26df
Merge and unmerge timelines on follow/unfollow, solves #21 , #22
2016-09-10 18:36:48 +02:00
Eugen Rochko
7d45a4e692
Fix local mention regex so it works on newlines in HTML (with a preceding tag)
2016-09-10 10:19:50 +02:00
Eugen Rochko
457625591d
Styling for paragraphs in statuses
2016-09-10 10:14:36 +02:00
Eugen Rochko
73615d7a79
Newlines and paragraphs in local statuses properly formatted
2016-09-10 10:07:56 +02:00
Eugen Rochko
76c40cbfb1
Disallow self-follow
2016-09-10 10:01:08 +02:00
Eugen Rochko
33ad2e5423
Shorten mentions to only usernames
2016-09-10 09:57:41 +02:00
Eugen Rochko
d6b3113304
Validates local username, max sizes for uploads. Fixes #32
2016-09-10 09:43:45 +02:00
Eugen
de7eb2341a
Fix typo in deleteFromTimelines action creator
2016-09-09 20:54:49 +02:00
Eugen Rochko
3cc47beb6e
Refactored generation of unique tags, URIs and object URLs into own classes,
...
as well as formatting of content
2016-09-09 20:04:34 +02:00
Eugen Rochko
735b4cc62e
Probably fixes #31
2016-09-09 15:29:41 +02:00
Eugen Rochko
762157ee4e
Fix for single status pages
2016-09-08 21:23:29 +02:00
Eugen Rochko
85d89b472d
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
2016-09-08 20:36:01 +02:00
Eugen Rochko
a4cc966476
Removing default avatars
2016-09-08 18:23:59 +02:00
Eugen Rochko
509c18eb13
Fix local follows, 404 in logs
2016-09-08 02:40:51 +02:00
Eugen Rochko
0f4bc56719
Improving production logs, removing n+1 on media attachments in atom,
...
adding attachments display to static views
2016-09-08 01:24:26 +02:00
Eugen Rochko
87576e1ab1
Fixing atom feeds for accounts, adding tests that would catch such bugs in future
2016-09-08 00:33:07 +02:00
Eugen Rochko
499beb4484
UI for uploading media attachments (and cancelling them)
...
Mostly resolves #8 , though attachments are still not displayed in public view
2016-09-07 18:21:57 +02:00
Eugen
1efa8e48d1
Fix enclosures not being parsed for reblogged statuses
2016-09-06 12:30:15 +02:00
Eugen Rochko
aca988a16b
Fix for Drawer growing horizontally
2016-09-06 01:45:17 +02:00
Eugen Rochko
75fbde1c1a
Fixed styling for media attachments in statuses (margins)
2016-09-06 01:27:40 +02:00
Eugen Rochko
ac77170d19
Add icons to column headers, click them to scroll to top
2016-09-06 00:44:28 +02:00
Eugen Rochko
1f18cf97b5
Fix styling of media attachments in statuses
2016-09-06 00:23:27 +02:00
Eugen
265215dae9
Fix reply bug introduced when compose form started using normalized data
2016-09-05 22:43:34 +02:00
Eugen Rochko
5f36d8828a
Better layout for attachments in <MediaGallery>
2016-09-05 20:59:56 +02:00
Eugen Rochko
fc222dfa49
Displaying media attachments in timelines
2016-09-05 20:38:31 +02:00
Eugen Rochko
14fb0ab4a2
Improve JSON output for media attachments, generate :small preview for them
2016-09-05 19:26:24 +02:00
Eugen Rochko
ed94e998bc
Fix for media attachments remote URL download
2016-09-05 19:11:25 +02:00
Eugen Rochko
1d9c886518
Adding enclosures to Atom and statuses JSON
2016-09-05 18:57:59 +02:00
Eugen Rochko
eec0dc46a6
PostStatusService can attach media to status, ProcessFeedService likewise
2016-09-05 18:39:53 +02:00
Eugen Rochko
ae1fac0062
Add API to upload media attachments
2016-09-05 17:46:36 +02:00
Eugen Rochko
05001d54d1
Make compose form also use normalized data
2016-09-05 16:56:43 +02:00
Eugen Rochko
926eea89b5
RemoveStatusService fleshed out, still doesn't send Salmon slaps though
2016-09-05 01:59:46 +02:00
Eugen Rochko
b5ebf99439
Possibly fix issue with stale favourite/reblog information after API call
2016-09-04 21:28:48 +02:00
Eugen Rochko
35dfc0fbcb
Fixed more case-sensitivity issues
2016-09-04 21:15:52 +02:00
Eugen Rochko
29996a7e8b
Fix wrongful mentions breaking status update
2016-09-04 21:07:29 +02:00
Eugen Rochko
54ea7f5dfe
Case-insensitive search by usernames
2016-09-04 21:06:04 +02:00
Eugen Rochko
a82f2e4b82
Fix timelines for users whose user id and account_id are not the same
2016-09-04 19:22:27 +02:00
Eugen Rochko
a289c1d52f
Handle delete Salmons, todo: clean up timelines
2016-09-04 14:44:16 +02:00
Eugen Rochko
1022d682dc
Normalized data in Redux, fix for asset URLs when rendered outside request
2016-09-04 14:04:26 +02:00
Eugen Rochko
d0e2733f63
Fix reblogs of reblogs in UI, add follow form in UI
2016-09-03 14:01:42 +02:00
Eugen Rochko
2d57bcf1b7
Preparing for follow form
2016-09-01 15:13:02 +02:00
Eugen Rochko
c249ceb10c
Reblogs fixed
2016-09-01 14:12:11 +02:00
Eugen Rochko
595c8dda60
Favouriting works, reblogging is a little broken because of <Status>
2016-09-01 13:21:48 +02:00
Eugen Rochko
c2a4d70265
Small style fixes
2016-09-01 12:13:41 +02:00
Eugen Rochko
2093cda89a
Fixing one more typo
2016-08-31 23:07:46 +02:00
Eugen Rochko
d6873797ac
Fix typo
2016-08-31 23:03:01 +02:00
Eugen Rochko
dbae8062f4
Replies in the compose form
2016-08-31 22:58:10 +02:00
Eugen Rochko
1e0e17ba85
Improving styling a little bit
2016-08-31 16:48:21 +02:00
Eugen Rochko
72591cc6d5
Cleaning up action names and compose drawer
2016-08-31 16:15:12 +02:00
Eugen Rochko
92afd29650
The frontend will now be an OAuth app, auto-authorized. The frontend will use an access token for API requests
...
Adding better errors for the API controllers, posting a simple status works from the frontend now
2016-08-26 19:12:19 +02:00
Eugen Rochko
44e57f64dd
Improving statuses, adding a composer drawer, which doesn't work yet
2016-08-25 19:52:55 +02:00
Eugen
f5e1127894
Forgotten return
2016-08-24 23:33:46 +02:00
Eugen Rochko
a541e937ca
More styling for statuses
2016-08-24 21:08:00 +02:00
Eugen Rochko
bc0692d75b
Removing mini-profiler that doesn't work, formatting timelines a bit better
2016-08-24 19:23:37 +02:00
Eugen Rochko
03f5ffcd06
Dockerfile adjustments
2016-08-24 18:51:36 +02:00
Eugen Rochko
49520d6e62
Adding React.js, Redux, revamping dashboard
2016-08-24 17:56:44 +02:00
Eugen Rochko
8985f8e66c
Fixing more configuration issues with ActionCable
2016-08-18 18:39:35 +02:00
Eugen Rochko
8459acd123
Fix for force SSL issue with websockets
2016-08-18 17:48:57 +02:00
Eugen Rochko
6426819b6f
Fix tests
2016-08-18 17:22:44 +02:00
Eugen Rochko
6deb9f966e
Live timelines using ActionCable
2016-08-18 15:49:51 +02:00
Eugen Rochko
10ba09f546
Upgrade to Rails 5.0.0.1
2016-08-17 17:58:00 +02:00
Eugen Rochko
ff2cbc0753
Remember me enabled by default
2016-03-28 00:06:52 +02:00
Eugen Rochko
c38ad208c3
Fix mentions regex to exclude usernames in Medium URLs
2016-03-27 23:51:18 +02:00
Eugen Rochko
039e6f951c
Fix issue with unresolvable usernames
2016-03-27 23:38:46 +02:00
Eugen Rochko
882c94a6bf
Cleaning up status partial
2016-03-26 14:42:05 +01:00
Eugen Rochko
85b00d19b8
Moving Salmon notifications to background processing, fixing mini-profiler
...
behaviour with Turbolinks enabled, optimizing Rabl for production
2016-03-26 13:42:10 +01:00
Eugen Rochko
da4b675aca
Fix favourite handling in ProcessInteractionService
2016-03-26 01:34:12 +01:00
Eugen Rochko
43bb8a25e7
Remember user logins by default
2016-03-26 01:14:37 +01:00
Eugen Rochko
f2da848a3e
Add alternate link to entries Atom
2016-03-26 01:10:18 +01:00
Eugen Rochko
5764d52b04
Fix Sidekiq pooling issues. Remove API docs from homepage, replace with
...
a basic home timeline
2016-03-25 16:10:14 +01:00
Eugen Rochko
318886287b
Fixing some stuff for Turbolinks, adding gzip on top, fixing a n+1 query
2016-03-25 15:09:40 +01:00
Eugen Rochko
e24bfbde1a
Fixing FanOutOnWriteService, fixing Sidekiq not having enough DB connections
...
in the pool, adding a throttle of 60rpm per IP, adding mini profiler, adding
admin status to users
2016-03-25 14:12:24 +01:00
Eugen Rochko
8eeec389c1
Add link to github project to footer, move FanOutOnWriteService calls to
...
DistributionWorker. That isn't the heaviest service, yet, but gotta start
somewhere
2016-03-25 03:22:26 +01:00
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
2016-03-25 02:13:30 +01:00
Eugen Rochko
9594f0e858
Fix preloading
2016-03-24 13:28:11 +01:00
Eugen Rochko
97d5aba1ec
Do not try to send notification e-mails for reblogs if the reblog is not of a
...
local account
2016-03-24 13:25:33 +01:00
Eugen Rochko
0f5bbb999c
Pre-loading polymorphic associations for Atom feeds
2016-03-24 13:21:53 +01:00
Eugen Rochko
7e58303a8d
Limit Atom feeds to 20 items by default, add pagination by max_id
...
(But there are no Atom feed pagination elements yet)
2016-03-24 12:49:34 +01:00
Eugen Rochko
c8999a116e
Sanitize remote html in atom feeds, API (not just UI), use cached mention
...
relations on Status#mentions
2016-03-24 12:43:55 +01:00
Eugen Rochko
7cd3de3494
Do display top-level content on remote shared notices
2016-03-24 12:34:32 +01:00
Eugen Rochko
082e1cbe5a
Fix default max_id query in paginate_by_max_id
2016-03-22 21:53:33 +01:00
Eugen Rochko
12559b01ea
Add pagination by max_id instead of offset/limit
2016-03-22 21:38:47 +01:00
Eugen Rochko
02e4fb2e06
Only re-download avatar if URL changed ( fix #19 )
2016-03-22 21:05:23 +01:00
Eugen Rochko
921f40c187
Omit empty tags in Atom feed
2016-03-22 20:20:37 +01:00
Eugen Rochko
12d1d9dd80
Reblogs in Atom feeds now have published, updated, and activity:verb. Still related to #20
2016-03-22 09:49:54 +01:00
Eugen Rochko
78137929e6
Fix #20 , reblogs in Atom should be formatted correctly now
2016-03-22 09:03:03 +01:00
Eugen Rochko
f14f462eaf
Adding Turbolinks, adding status posting form on homepage
2016-03-21 18:26:47 +01:00
Eugen Rochko
c28971c70c
Fixed the lookup API method
2016-03-21 17:33:04 +01:00
Eugen Rochko
5b10329394
Resize default avatar cat to fit circle better
2016-03-21 17:22:17 +01:00
Eugen Rochko
02696a063e
Change default avatar, redirect to home after sign up
2016-03-21 17:18:30 +01:00
Eugen Rochko
9d55529318
Fix text color in dashboard inputs, sanitize remote status content in UI,
...
simplify FanOutOnWriteService, add /api/accounts/lookup method
2016-03-21 17:02:16 +01:00
Eugen Rochko
bf08d46e58
Improving borders between predecessor/successor statuses
2016-03-21 12:14:19 +01:00
Eugen Rochko
35aafdba96
Ancestors and descendants of statuses
2016-03-21 11:43:21 +01:00
Eugen Rochko
7e00a21ea6
Small optimizations in Atom feeds
2016-03-21 10:31:20 +01:00
Eugen Rochko
19a259915e
Security update
2016-03-21 10:08:19 +01:00
Eugen Rochko
2ba6537f52
Escape PuSH challenge and change subscriptions and salmon APIs to text/plain
2016-03-21 09:24:29 +01:00
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)
2016-03-21 08:44:30 +01:00
Eugen Rochko
253ab26520
Adding more tests for helpers
2016-03-20 13:50:22 +01:00
Eugen Rochko
b640f35621
Writing out more tests, fixed some bugs
2016-03-20 13:03:06 +01:00
Eugen Rochko
e14b76c7cb
On following/followers pages, show most recent first
2016-03-19 22:54:40 +01:00
Eugen Rochko
7e53efae31
Fix for incoming favourites
2016-03-19 22:46:58 +01:00
Eugen Rochko
f4ad2fb35a
Strip out HTML in plain text notification e-mails. Oh, and fix #14
2016-03-19 19:34:31 +01:00
Eugen Rochko
2b116131d7
Adding e-mail notifications about mentions, follows, favourites and reblogs. Fixing another mention recording bug
2016-03-19 19:20:07 +01:00
Eugen Rochko
5d72b92271
Improving account grid cards layout for longer usernames and notes
2016-03-19 14:11:09 +01:00
Eugen Rochko
71ae4dd3d2
Adding public following and followers pages, fix #3
2016-03-19 14:02:30 +01:00
Eugen Rochko
c349200761
Removing some unused gems, adding pagination to profiles, fix #10
2016-03-19 12:49:34 +01:00
Eugen Rochko
d4892ace62
Adding more test stubs
2016-03-19 12:13:47 +01:00
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
2016-03-19 11:59:23 +01:00
Eugen Rochko
f97fc9744f
Use FanOutOnWriteService AFTER processing mentions
2016-03-19 00:41:29 +01:00
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
2016-03-19 00:23:46 +01:00
Eugen Rochko
071f64d317
Fix #13 , Atom feeds now contain formatted post content
2016-03-19 00:16:04 +01:00
Eugen Rochko
580b91c387
Fix more subtle bugs with first_or_create
2016-03-19 00:02:39 +01:00
Eugen Rochko
48aeacd5f9
Fixed ANOTHER first_or_create bug. Seriously who came up with that API smh
2016-03-18 23:47:02 +01:00
Eugen Rochko
9a7485d034
Fix typo on /api/accounts/:id/statuses, fix potential case-sensitivity issue
...
when registering incoming status mentions, add Travis CI file
2016-03-18 23:23:19 +01:00
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
2016-03-17 12:02:45 +01:00