Matt Jankowski
7f0a865b05
Allow import/export of mutes list ( #1541 )
...
* Allow export of mutes list
* Allow importing of mutes list
* Refactor to use Settings::Exports::BaseController and DRY up exports code
2017-04-12 18:20:44 +02:00
Carlos A. Escobar
3064ef96a1
Added missing Spanish translations strings ( #1292 )
...
* Added missing Spanish translations strings
* fix bad translation
* resolve conflict with tootsuite/master
* agreements from spanish community
* Add some missing strings
2017-04-12 17:16:40 +02:00
lindwurm
ee69ece7b5
[web] Moving docs link to tootsuite/documentation ( #1581 )
...
related: 1236529e39
and fc47c1d00e
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
2017-04-12 17:13:19 +02:00
Thomas Citharel
d90d23699c
Make Reporting admin section translatable ( #1549 )
...
* Make Reporting admin section translatable
And translate it into english and french
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Make subject of emails translatable and improve french translation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Make error pages translatable and translate them in english and french
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Translate site setting section
* Insert instance in registration emails and improve them a bit
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2017-04-12 17:11:49 +02:00
Thor Harald Johansen
1f5ff46fd9
Working translation for Norwegian. ( #1611 )
2017-04-12 17:07:51 +02:00
Matt Jankowski
13528f50c3
Params compact deprecation warning ( #1580 )
...
* Move filter_link_to class formation to separate method in admin/accounts helper
* Remove deprecated #compact method usage on strong parameters
2017-04-12 16:12:56 +02:00
Matt Jankowski
dd1ae3b109
Simplify the way the embed view is created ( #1590 )
...
* Add coverage for embedded status view
* Refactor embed view to eliminate @external_links variable
2017-04-12 16:12:42 +02:00
Matt Jankowski
b352a8e5d4
Default to json type for webfinger requests ( #1583 )
2017-04-12 16:03:37 +02:00
Matt Jankowski
fd102059aa
Clean up stylesheet organization ( #1591 )
2017-04-12 16:01:59 +02:00
Matt Jankowski
323671a653
Silence more scope order warnings ( #1604 )
2017-04-12 15:58:08 +02:00
Koala Yeung
24eb45425e
Add Traditional Chinese, Hong Kong translation (zh-HK) ( #1544 )
...
* Added Chinese Traditional Hong Kong (zh-HK) for Ruby
* Added translations for Ruby.
* Added Chinese Traditional Hong Kong (zh-HK) for JS
* Added translations for javascript code.
* Rearrange language references in mastodon.jsx
* Break `addLocaleData` into multiple lines. Make future commit more readable.
* Roughly re-sort the languages in alphabetical orders
(only manually put English on top because it is default).
* Sort application.rb locale with alphabetical order
With exception that English (default language) goes first.
Improve code readability.
* Resort language selection box alphabetically
Sort HUMAN_LOCALES in the alphabetical order of display name
(except English, the default language, come first).
Improve usability.
2017-04-12 08:50:50 +02:00
Eugen
8ead070b94
Improve emoji picker look ( #1493 )
...
* Improve emoji picker look
* Add hover animation to emojis in picker
2017-04-11 23:23:34 +02:00
Eugen
b22b2cbfac
Fix #1491 - Fix broken notifications, broken Link header parsing for exclude_types ( #1548 )
2017-04-11 22:53:58 +02:00
Matt Jankowski
3ddd936b03
Refactor exports controller ( #1567 )
...
* Add basic coverage for settings/exports controller
* Remove unused @account variable from settings/exports controller
* Add coverage for download export actions
* Remove deprecated `render :text` in favor of `send_data` for csv downloads
* Add model to handle exports
* Use Export class in settings/exports controller
* Simplify settings/exports controller methods
* Move settings/export to more restful routes
2017-04-11 22:00:43 +02:00
Henry Smith
1921c5416b
Fix console error when scrolling a column with no scrollable content ( #1574 )
2017-04-11 21:58:28 +02:00
lindwurm
fc47c1d00e
[about] Moving docs link to tootsuite/documentation ( #1573 )
...
related: 1236529e39
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
2017-04-11 21:57:05 +02:00
Thomas Citharel
327a6e166f
Update french locale ( #1525 )
...
* Update devise.fr.yml fixing minor typos
* add missing strings
* Fix a translation and add translation for devise part
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2017-04-11 21:54:40 +02:00
pinfort
6f5268b02d
Add Japanese translation ( #1552 )
...
* add device.ja.yml
* update device.ja.yml
* add file simple_form.ja.yml
* 👍 Added doorkeeper.ja.yml
* add ja.yml
* Update doorkeeper.ja.yml
fixed url to uri
* update ja.yml
* fix some translations
* fix japanese grammar of a translate
* fix some translates
* fix ja.yml
* add ja.jsx
* add Japanese user mail views
* Added japanese translate locales
* Added :ja to available_locales
こっちも
* Added "日本語" to HUMAN_LOCALES
* Imported/Added ja to addLocaleData
* update ja.jsx
2017-04-11 21:52:09 +02:00
Matt Jankowski
89e8e110c8
Imports controller errors ( #1553 )
...
* Add spec for settings/imports controller
* Add failing spec for settings/imports#create
* Fix broken imports
* Refactor ImportWorker
2017-04-11 21:40:14 +02:00
Eugen Rochko
9f7ea77d0c
Merge branch 'master' of github.com:tootsuite/mastodon
2017-04-11 21:30:48 +02:00
Eugen Rochko
960181fd99
Fix look of the modals
2017-04-11 21:24:17 +02:00
Eugen Rochko
2a7602cad4
Merge branch 'master' of https://github.com/blackle/mastodon into blackle-master
2017-04-11 20:43:56 +02:00
Komic
47aacb773b
Better background-photo.jpeg ( #1560 )
...
Fixed the nasty banding & recompressed it at about the same level
2017-04-11 19:51:13 +02:00
Matt Jankowski
82d9336114
Increase breakpoint size for bio on account show ( #1559 )
2017-04-11 19:35:06 +02:00
Matt Jankowski
e60286a344
Remove unused methods from StreamEntriesHelper ( #1365 )
...
Removes:
- avatar_for_status_url
- relative_time
- reblogged_by_me_class
- favourited_by_me_class
2017-04-11 19:32:02 +02:00
Matt Jankowski
53850bce93
Remove unused AtomBuilderHelper ( #1364 )
...
This was used in the views/atom/user_stream.xml.ruby file, which no longer is
used.
2017-04-11 19:31:22 +02:00
blackle
06444bf050
Allow user to disable the boost confirm dialog in preferences
2017-04-11 10:10:16 -04:00
blackle
f53fb6aa66
Bypass boost confirm modal if alt is pressed
2017-04-11 08:34:14 -04:00
Corey Dutson
c9b9225951
Adjust css for user detail page ( #1463 )
...
- details a background for contrast
- add 5px padding to the top of the `details-counters` children to line them up with the bio to the right (Which has a 5px padding on the top)
2017-04-11 14:20:18 +02:00
blackle
01e5447e35
Add boost confirm modal
2017-04-10 22:35:55 -04:00
Matt Jankowski
4ada50985a
Pagination improvements ( #1445 )
...
* Replace will_paginate with kaminari
* Use #page instead of #paginate in controllers
* Replace will_paginate.page_gap with pagination.truncate in i18n
* Customize kaminari views to match prior styles
* Set kaminari options to match prior behavior
* Replace will_paginate with paginate in views
2017-04-11 01:11:41 +02:00
Eugen
12f72e1740
When avatar/header are GIF, generate static versions ( #1428 )
...
* When avatar/header are GIF, generate static versions.
Account API returns "avatar"/"avatar_static", "header"/"header_static"
Static version is the same as original for other cases
Web UI de-animates avatars in toots, lists of users
Fix #441 , fix #596 , prerequisite for #1064
* Fix JS test
* Add rake task to generate static avatars/headers from GIF ones, add test
2017-04-11 00:38:58 +02:00
Matt Jankowski
b57eed4584
Remove order prior to .find_in_batches ( #1470 )
...
The `Status` class has a default order on it, so when this query gets built and
gets all the way to `find_in_batches` there is an order already there.
When `find_in_batches` is run it discards any existing order on the query, and
emits a warning to the logs if there is one there.
This change removes the order prior calling `find_in_batches`, which will stop
the logged warning from occurring as well.
2017-04-11 00:38:34 +02:00
Matthias Jouan
3fd5385e7b
Add username as a title for mentions ( #1385 )
...
Add a title attribute on mention links for both notifications
and mentions in statuses.
Related to #1350
2017-04-11 00:35:35 +02:00
Eugen
2810013b93
API param to exclude notification types from response ( #1341 )
...
* Add exclude_types param to /api/v1/notifications
* Exclude notification types in web UI through exclude_types in the API
2017-04-10 23:45:29 +02:00
Matt Jankowski
0687ab8ae3
Clean up generation of account webfinger string ( #1477 )
...
* Consolidate webfinger string creation under Account#to_webfinger_s
* Introduce Account#local_username_and_domain for consolidation
2017-04-10 22:58:06 +02:00
Chris Martin
ae57b3a8c5
Add more specific class names to notification divs ( #1120 )
2017-04-10 22:41:52 +02:00
Rachel H
f690320fb9
Keep newlines in xml ( #1397 )
2017-04-10 21:32:45 +02:00
Stephen Burgess
553170b77a
Fix #1097 When onClick is falsy, do not make status content clickable ( #1434 )
2017-04-10 21:31:26 +02:00
Jessica Stokes
8a6096a3de
Allow typing a toot while an image uploads ( #1429 )
...
This patch stops disabling the toot text field when an image is uploading. Instead, you can type to your heart's content and when the image uploads it'll append the image URL, and restore the position of your cursor to wherever it was in the toot text just prior. Effectively, the image URL is appended to the toot, and typing is not interrupted at all! ✨
2017-04-10 21:30:58 +02:00
Matt Jankowski
d2f6d9b9fb
Fix issue with missing emojify class in views ( #1455 )
...
* Add missing emojify class to landing strip
* Add missing emojify class to simple_status partial
2017-04-10 21:27:52 +02:00
Matt Jankowski
dbe9f33fdc
Admin base controller ( #1465 )
...
* Add Admin::BaseController to wrap admin area
Extracts the setting of the `admin` layout and verifying that users are admins
to a common base class for the admin/ controllers.
* Add basic coverage for admin/reports and admin/settings controllers
2017-04-10 21:27:03 +02:00
Corey Dutson
087ca3009b
Adjust background of emoji panel ( #1461 )
...
Addresses #1451 which notes the emoji picker is too light. I agree, so I submit this adjustment.
Changes:
Changed the background to a darkened version of another system color
2017-04-10 20:56:14 +02:00
Jessica Stokes
db7c7d1af1
Improve scrolling behaviour ( #1415 )
...
* Replace column margin with padding
This improves horizontal scrolling behaviour significantly; scrolled flex elements are... a little weird.
* Move clear column button styling to css
2017-04-10 16:27:30 +02:00
Ram Lmn
42fb4faa0f
Fix icon and emoji sizes ( #1403 )
...
Fixes icons and emoji size issues described in #1233 .
2017-04-10 13:02:09 +02:00
Ratmir Karabut
9043b32183
Add Russian translation (ru) ( #1023 )
...
* Add Russian translation (ru)
* Fix a missing comma
* Fix the wording for better consistency
2017-04-10 12:52:06 +02:00
Jantso Porali
e30bbb1cb0
Fix for Import issue from URL ( #1416 )
2017-04-10 12:49:34 +02:00
Gavin Mogan
8bdf02812c
Add search to emoji picker ( #1395 )
2017-04-10 09:58:09 +02:00
Eugen
93db265be7
Do not store last visited URL from API controllers ( #1330 )
...
Sign-in redirects you back to last visited URL, but in case of API requests,
this sometimes redirected users to an API URL that, of course, greeted them
with an {"error":"The access token is invalid"}
2017-04-09 22:21:52 +02:00
Eugen
c172919745
Fix #1339 - better Atom titles ( #1343 )
2017-04-09 20:55:54 +02:00
Eugen
15d442cf9d
Fix /api/v1/accounts/update_credentials tests ( #1357 )
2017-04-09 20:23:14 +02:00
Hugo Gameiro
4ea4ef9d0f
update portuguese translation ( #1280 )
...
added the missing fields and improved the translation
2017-04-09 18:49:26 +02:00
ThibG
d19ed18388
Get handle from atom feed's author/email field instead of guessing from URL ( #1344 )
...
The goal of this change is to enhance Mastodon's handling of remote domains
for which the APIs reside on a different host (see issue #1032 ).
Indeed, when a remote user unknown to Mastodon is mentionned, only its profile
URL (e.g. https://social.example.org/users/User ) is known, and Mastodon has to
build a @username@domain handle for it. To do so, Mastodon fetches the user's
atom feed (e.g., https://social.example.org/users/User.atom ) and uses its
content to get the username part of the handle, and the URL's host part to
build the domain (e.g., @User@social.example.org). This handle is then used
for a Webfinger request.
In the case where example.org serves the Webfinger info for @User@example.org
and all feeds and APIs are hosted at social.example.org, Mastodon will still
build @User@social.example.org and fail at resolving the account's details
through Webfinger.
This patch changes this behaviour by using the author's email address from
the atom feed to build the handle. In Mastodon-generated atom feeds, the
email address is always the handle it expects for federation.
2017-04-09 18:43:48 +02:00
David Authier
f0bd439486
Use HTTP Accept-Language to detect locale ( #1166 )
...
* Use HTTP Accept-Language to detect locale
* Fix gem order to comply with codeclimate
* Sort gem to comply with rubocop
* I18n.default_locale fallback when there is no accept-language header
2017-04-09 18:40:24 +02:00
David Celis
d4fe6cd2bf
Allow users to update their Account in the API ( #1179 )
...
* Allow users to update their Account in the API
It would be nice for API clients to be able to allow users to update
their accounts without having to wrap Mastodon in a web view. This patch
adds an API endpoint to let users submit a PATCH for their account.
Signed-off-by: David Celis <me@davidcel.is>
* Add /api/v1/accounts/update_credentials to the API docs
Signed-off-by: David Celis <me@davidcel.is>
2017-04-09 18:33:40 +02:00
Matt Jankowski
ea6c930c04
Helper cleanup ( #1348 )
...
* Remove unused helper files
* Add coverage for application helper
* Add coverage for StreamEntriesHelper #display_name
2017-04-09 17:11:37 +02:00
StefOfficiel
12e29c9660
Update fr.jsx ( #1329 )
...
* Update fr.jsx
* Remove duplicate translation
2017-04-09 14:58:08 +02:00
Olivier Humbert
082bef3027
French translation update ( #1271 )
...
* Update confirmation_instructions.fr.html.erb
consistency across the French translation
* Update
consistency across the French translation
* Update fr.yml
a bunch of consistency across the French translation + a few typos
* Update doorkeeper.fr.yml
consistency across the French translation (punctuation)
2017-04-09 14:55:58 +02:00
Jonathan Klee
ba2aea3a80
add empty notifications french translation ( #1111 )
2017-04-09 14:54:02 +02:00
Matt Jankowski
e5282e4ec0
Clean up about page ( #1282 )
...
* Add InstancePresenter to expose site details
* Clean up about controller, use instance presenter
2017-04-09 14:47:25 +02:00
Brian Mock
53eb31f124
Fixes #1311 margin shouldn't stay fixed ( #1312 )
2017-04-09 14:45:26 +02:00
Matt Jankowski
388ec0d5b6
Search cleanup ( #1333 )
...
* Clean up SQL output in Tag and Account search methods
* Add basic coverage for Tag.search_for
* Add coverage for Account.search_for
* Add coverage for Account.advanced_search_for
2017-04-09 14:45:01 +02:00
Rachel H
b1881a3d48
Fix nonworking clear notices button ( #1316 )
2017-04-09 11:35:23 +02:00
Eugen
b89f007862
Make public timelines API not require user context/app credentials ( #1291 )
...
* Make /api/v1/timelines/public and /api/v1/timelines/tag/:id public
Fix #1156 - respect query params when generating pagination links in API
* Apply pagination fix to more APIs
2017-04-08 23:39:31 +02:00
Eugen
9acdb166e8
Fix #795 , fix #704 , fix #835 - 2FA requires confirmation to be enabled ( #1278 )
...
* Fix #795 , fix #704 , fix #835 - 2FA requires confirmation to be enabled
TOTP secret is not shown again after 2FA is enabled
* Clean up
2017-04-08 22:20:08 +02:00
Pavel Djundik
470eb0042e
Improve responsiveness of registration form and closed banner ( #1265 )
2017-04-08 18:31:50 +02:00
Pavel Djundik
fc146a19cc
Improve about page responsiveness ( #1252 )
2017-04-08 15:28:23 +02:00
Eugen
982fef811e
Fix #1141 , fix #1126 - Avatar/profile info fetching ( #1215 )
...
* Fix #1141 , fix #1126 - Work through UpdateRemoteProfileService for both <feed> and <entry> top-level tags
* Improve code quality, remove line unrelated to fix
2017-04-08 13:26:03 +02:00
Thomas Citharel
41f8fde83e
Update french translation ( #1148 )
...
Add french translation for emails sent
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Add non-breaking spaces
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
changes and fixes to the nbsps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
French update
a few fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2017-04-08 13:11:16 +02:00
Markus Amalthea Magnuson
157f0a2aa7
Add titles to more icons, and change clear notifications icon. ( #1101 )
2017-04-08 13:07:55 +02:00
Nicolai von Neudeck
c803f5b440
Updated German translation ( #1248 )
...
Fixed various spelling and grammar mistakes.
Used more gender-neutral language.
2017-04-08 13:04:58 +02:00
Alda Marteau-Hardi
35eff3f2d0
Add some missing strings to prevent some React warning in the console ( #1230 )
2017-04-08 12:16:16 +02:00
Matt Jankowski
ca44c13455
Use Setting.site_title value for og:site_name
occurrences ( #1194 )
...
* Add helper method to return Setting.site_title
* Use site_title helper in application layout
* Use site_title value for og:site_name
2017-04-08 12:15:40 +02:00
Eugen
7d5ea5c170
Merge pull request #1224 from chrisheninger/patch-1
...
Add SVG version of logo to repo
2017-04-08 11:37:37 +02:00
Eugen
33849acfa7
Merge pull request #1218 from R0ckweb/patch-2
...
Fix #1141 on remote follow
2017-04-08 11:37:13 +02:00
Eugen
c141f0a886
Merge pull request #1216 from tootsuite/fix-default-locale-regression
...
Fix #1165 - Default locale no longer breaks form submissions
2017-04-08 11:36:43 +02:00
Eugen
55d03da303
Merge pull request #1213 from tootsuite/fix-accounts-initial-case
...
Fix #801 - Respect webfinger's canonical response of username/domain
2017-04-08 11:36:35 +02:00
Kurtis Rainbolt-Greene
40703b96fa
Merge branch 'master' into fix-default-locale-regression
2017-04-07 20:50:21 -07:00
Kurtis Rainbolt-Greene
1e4453405b
Merge branch 'master' into patch-2
2017-04-07 20:48:27 -07:00
Chris Heninger
0ad694f96b
Add SVG version of logo to repo
2017-04-07 20:40:18 -07:00
Shel R
fef478781d
Merge branch 'master' into master
2017-04-07 22:21:21 -04:00
Shel R
9f43e3b428
Merge branch 'master' into patch-4
2017-04-07 22:02:26 -04:00
Yann GUERN
485d75a805
#1141 on remote follow
...
The async action is send before persist, account.id not yet generated
Pull queue receive 'nil' so no profile update.
2017-04-08 03:24:35 +02:00
Eugen Rochko
4b621188ad
Fix #1165 - before_action was called before protect_from_forgery
2017-04-08 02:30:50 +02:00
Eugen Rochko
b2a7218ab7
Fix #801 - Respect webfinger's canonical response of username/domain
2017-04-08 01:07:42 +02:00
Eugen
1961825ff9
Merge pull request #1183 from thoughtbot/cp-post-status-service-specs
...
Add specs for PostStatusService
2017-04-07 22:30:28 +02:00
Chad Pytel
ad5ddd5e95
Use I18n for media attachment validation errors
...
These are currently user facing errors, but are not localized. This adds the
ability for these messages to be localized.
2017-04-07 14:23:18 -04:00
Joël Quenneville
d4c94fa004
DRY up reblog vs original status check
...
Checking reblog vs original status was happening in multiple places
across the app. For views, this logic was encapsulated in a helper
method named `proper_status` but in the other layers of the app, the
logic was duplicated.
Because the logic is used at all layers of the app, we extracted it into
a `Status#proper` method on the model and changed all uses of the logic
to use this method. There is now a single source of truth for this
condition.
We added test coverage to untested methods that got refactored.
2017-04-07 14:18:30 -04:00
Eugen
4e41cd9ab8
Merge pull request #1146 from tootsuite/fix-object-type-nil-exception
...
Fix nil#object_type error
2017-04-07 13:08:51 +02:00
Eugen
c9b23a93c7
Merge branch 'master' into fix-object-type-nil-exception
2017-04-07 13:07:36 +02:00
Eugen
0adee18d73
Merge branch 'master' into feature-customized-default-locale
2017-04-07 13:07:03 +02:00
Eugen Rochko
8a6d8de60a
Fix nil#object_type error
2017-04-07 13:05:34 +02:00
Jantso Porali
786e6f94b9
Update Finnish translations, add sample Minio config ( #954 )
2017-04-07 12:58:12 +02:00
Eugen Rochko
e3a3422a65
Allow setting of default language through config
...
Setting of locale in controller extracted to Localized concern,
the doorkeeper authorized applications controller moved under
custom namespace with inclusion of Localized, which resolves the
"it sometimes appears in a different random language" bug
2017-04-07 12:40:26 +02:00
Eugen Rochko
624a9a7136
Re-add forgotten <author> element on standalone <entry>
2017-04-07 12:21:00 +02:00
Eugen
1c351709bc
Force UTF8 encoding on generated XML ( #1140 )
2017-04-07 11:09:14 +02:00
Eugen
6d6a429af8
Rewrite Atom generation from stream entries to use Ox instead of Nokogiri ( #1124 )
...
* Rewrite Atom generation from stream entries to use Ox instead of Nokogiri::Builder
StreamEntry is now limited to only statuses, which allows some optimization. Removed
extra queries on AccountsController#show. AtomSerializer instead of AtomBuilderHelper
used in AccountsController#show, StreamEntriesController#show, StreamEntryRenderer
and PubSubHubbub::DistributionWorker
PubSubHubbub::DistributionWorker moves n+1 DomainBlock query to PubSubHubbub::DeliveryWorker
instead.
All Salmon slaps that aren't based on StreamEntry still use AtomBuilderHelper and Nokogiri
* All Salmon slaps now use Ox instead of Nokogiri. No touch from status on account
2017-04-07 05:56:56 +02:00
Matt Jankowski
97ae53daa8
Reduce size of background-photo.jpeg
...
Reduced by running through `guetzli` image optimizer.
2017-04-06 16:24:57 -04:00
Eugen Rochko
51d7caaf19
Fix wrong pubsub channel on public timelines
2017-04-06 04:03:23 +02:00
Eugen
a9c0062e80
Merge pull request #1013 from blackle/master
...
Catch more errors in process_follows so it doesn't fail
2017-04-06 02:35:34 +02:00
Eugen Rochko
dbd529109e
Fix notifications delivered to wrong pubsub channel, optimized RemoveStatusService,
...
slightly optimized FanOutOnWriteService again
2017-04-06 02:26:59 +02:00
blackle
540d6efe88
Catch more errors in process_follows so it doesn't fail
2017-04-05 20:04:13 -04:00
Eugen Rochko
5442083b3c
Split SalmonWorker into smaller parts, move profile updating into another job
2017-04-05 21:43:10 +02:00
André Lewin
bf7cefa516
Merge branch 'master' into master
2017-04-05 20:28:58 +02:00
Eugen Rochko
5b95be1c42
Replace calls to FeedManager#inline_render and #broadcast
2017-04-05 19:45:18 +02:00
Eugen
c9ebd5d19f
Fix wrong variable used in publish channel
2017-04-05 18:58:32 +02:00
Eugen
1b8c244dff
Add proper message to PushUpdateWorker, use redis directly
2017-04-05 18:48:41 +02:00
Eugen
3d8b80e1cc
Merge branch 'master' into broadcast-to-worker
2017-04-05 18:44:33 +02:00
tom
8989569dd4
Update components.scss
...
Use nicer scrollbars in MS edge
2017-04-05 12:10:25 -04:00
Eugen Rochko
220bc48e8e
Only render public payload once in FanOutOnWrite
2017-04-05 14:26:17 +02:00
Eugen Rochko
8530f9413b
Replace ActionCable broadcast call with simple redis publish
2017-04-05 13:28:46 +02:00
Eugen
1904a1aa14
Merge pull request #919 from JantsoP/master
...
More updates to Finnish language
2017-04-05 10:27:12 +02:00
Eugen
6b566c6b88
Merge pull request #908 from krainboltgreene/application-worker-for-shared-logic
...
ApplicationWorker for shared worker behavior
2017-04-05 10:23:52 +02:00
JantsoP
20b53e6add
Merge branch 'master' into master
2017-04-05 10:07:17 +02:00
JantsoP
b8a867adcc
updated translation
...
Updated some translations after seeing them in service. Should be better now
2017-04-05 09:56:10 +02:00
Brad Urani
6a1da87cd3
Eliminate unnecessary queries and query clauses with none and all
2017-04-05 06:02:58 +00:00
Kurtis Rainbolt-Greene
22dcadedb4
We're going to want these nice helper methods, lets share them with a parent class that matches Rails 5 practices (application level abstraction)
2017-04-04 21:14:37 -07:00
Kurtis Rainbolt-Greene
7bed4e51db
Moved to the worker
2017-04-04 20:51:44 -07:00
Kurtis Rainbolt-Greene
9638894233
Moving in the inline render
2017-04-04 20:51:18 -07:00
Kurtis Rainbolt-Greene
220051b8b2
I don't actually think we need that.
2017-04-04 20:48:22 -07:00
Kurtis Rainbolt-Greene
0069c01285
Moving the queue_at into the worker
2017-04-04 20:39:14 -07:00
Kurtis Rainbolt-Greene
dc5704b0b0
This method isn't used anymore
2017-04-04 20:38:07 -07:00
Kurtis Rainbolt-Greene
96ef933820
Replacing the broadcast method with the one defined in the feed manager
2017-04-04 20:36:03 -07:00
Kurtis Rainbolt-Greene
1e96ce378e
By pushing this into a worker we can reduce the amount of time the feed manager using workers eat up a connection
2017-04-04 20:23:40 -07:00
Eugen
4c92f15664
Merge branch 'master' into add_more_tests_to_models
2017-04-05 03:27:38 +02:00
Eugen
afdcdce551
Merge pull request #839 from SirCmpwn/profile-readability
...
Improve readability of text on profiles
2017-04-05 03:23:16 +02:00
Drew DeVault
c106b6d3e0
Improve readability of text on profiles
2017-04-04 21:13:23 -04:00
Eugen
e76dd52b08
Merge pull request #818 from JantsoP/master
...
Updated Finnish Translation
2017-04-05 03:09:20 +02:00
Eugen
117b22e905
Merge pull request #852 from peterkeen/email-whitelist-817
...
[#817 ] Add email whitelist
2017-04-05 03:04:58 +02:00
Eugen
909d81923e
Merge pull request #898 from SirCmpwn/remote-follow-improvements
...
Remote follow improvements
2017-04-05 02:54:03 +02:00
Eugen
2edeb3fe1c
Merge pull request #858 from krainboltgreene/patch-6
...
Use active record shorthand
2017-04-05 02:53:39 +02:00
Drew DeVault
f7e35d90db
Remote follow improvements
...
This stores the @username@instance you provide in your session and
reuses it the next time you remote follow someone from this instance.
2017-04-04 20:52:31 -04:00
Eugen Rochko
bda37489ac
Remove PuSH subscriptions when delivery is answered with a 4xx error
2017-04-05 02:34:33 +02:00
Samy KACIMI
79ef756f64
fix rubocop issues
2017-04-05 00:47:17 +02:00
Samy KACIMI
81c76fe375
add more tests to models
2017-04-05 00:29:56 +02:00
axolotl
8736ef50ad
Added Esperanto translation inside the javascripts folder
2017-04-04 20:54:42 +02:00
Eugen Rochko
6fd865c000
Spawn FeedInsertWorker to deliver status into personal feed
2017-04-04 19:21:37 +02:00
Kurtis Rainbolt-Greene
731e650681
Use active record shorthand
2017-04-04 09:04:07 -07:00
Pete Keen
e9a6da6bc7
[ #817 ] Add email whitelist
...
This adds the ability to filter user signup with a whitelist
instead of or in addition to a blacklist.
Fixes #817
2017-04-04 11:20:15 -04:00
Eugen Rochko
5f54981846
New admin setting: open/close registrations, with custom message, from the admin UI
2017-04-04 15:28:12 +02:00
JantsoP
10a8666e04
updated line 28 about GitHub
2017-04-04 15:07:15 +02:00
Eugen
405c495c23
Merge pull request #804 from fhalna/development
...
Accessibility Fix.
2017-04-04 14:52:27 +02:00
Eugen Rochko
82aaedec46
Reduce number of items in feeds, optimize regeneration worker slightly,
...
make regeneration worker unique, (only schedule/execute once at a time)
2017-04-04 13:58:34 +02:00
Eugen Rochko
b1f3499c38
Optimize FeedManager#unmerge, and slightly optimize FeedManager#merge
2017-04-04 13:43:36 +02:00
Eugen Rochko
b21f7c28f6
Move OStatus processing back into default queue
2017-04-04 13:02:49 +02:00
Eugen Rochko
ce9df2fa82
Optimize filter methods in FeedManager a bit, use redis pipelining on merge/unmerge feed methods,
...
do not re-create a dynamic class on each feed push call, make sure redis-rb uses hiredis
2017-04-04 13:01:14 +02:00
halna_Tanaguru
3abb0f7bc7
Merge branch 'master' into development
2017-04-04 12:06:53 +02:00
JantsoP
db4a41cf58
Merge branch 'master' into master
2017-04-04 08:41:46 +02:00
JantsoP
b8243c1b49
changed line 25 for better translation
2017-04-04 08:26:59 +02:00
Eugen Rochko
eb023beb49
Fix #808 - smaller elephant friend PNG for frontpage
2017-04-04 02:03:16 +02:00
Eugen Rochko
b510a56c0c
Only call regeneration worker after first login after a 14 day break
2017-04-04 02:00:10 +02:00
Eugen Rochko
4c53af64f0
Fix ActionController::Parameters in API issue
2017-04-04 01:33:34 +02:00
Eugen Rochko
f722bd2387
Separate background jobs into different queues. ATTENTION: new queue "pull"
...
must be added to the Sidekiq invokation in your systemd file
The pull queue will handle link crawling, thread resolving, and OStatus
processing. Such tasks are more likely to hang for a longer time (due to
network requests) so it is more sensible to not make the "in-house" tasks
wait for them.
2017-04-04 00:53:20 +02:00
Eugen Rochko
8232f76c48
Add check for visibility.nil? even though it can't ever be, to check for race conditions
2017-04-03 22:54:46 +02:00
halna_Tanaguru
3f30ae1f97
accessibility fix
...
eanable focus on ClearColumnButton
2017-04-03 22:45:29 +02:00
axolotl
0700521ef3
added Esperanto (eo)
2017-04-03 20:22:50 +02:00
Eugen Rochko
68f829e11c
Add basic logging of who resolved report
2017-04-03 19:35:00 +02:00
Eugen Rochko
71458dc6df
When taking action on a report (silence/suspend), it dismisses all other
...
reports for that user automatically
2017-04-03 19:19:54 +02:00
Eugen Rochko
b7c1b12367
Make default admin UI page reports. Add admin UI for creating a domain block
2017-04-03 18:55:06 +02:00
David Baumgold
5652f00d81
GitHub should be capitalized
2017-04-03 11:44:11 -04:00
JantsoP
a229840ffe
fixed typo
2017-04-03 14:16:03 +02:00
JantsoP
bfa99981e5
Merge branch 'master' into master
2017-04-03 13:50:57 +02:00
JantsoP
ae95f35fe6
add finnish translation
...
add finnish translation
2017-04-03 13:34:26 +02:00
JantsoP
22f88b845a
add finnish translation
...
add finnish translation
2017-04-03 13:33:43 +02:00
JantsoP
eabb86b124
add finnish language
...
add finnish language
2017-04-03 13:32:10 +02:00
Eugen
5d854f37b4
Merge pull request #764 from ticky/tweak-quick-start-area
...
Fix the position of the Mastodon mascot in the UI
2017-04-03 12:59:16 +02:00
JantsoP
69fc95a2f5
Create Finnish translation for Mastodon
...
Create Finnish translation for Mastodon
2017-04-03 12:09:33 +02:00
Marvin Kopf
1236a12cae
add mute option in status dropdown
2017-04-03 10:44:08 +02:00
Jessica Stokes
2d384850cb
Fix the position of the Mastodon mascot in the UI
...
The Mastodon mascot was previously anchored to the bottom, and that was since broken. This restores that behaviour!
It also disables the double-scrollbar behaviour that was caused by this area allowing overflow-y in addition to its parent doing so.
2017-04-03 13:16:14 +10:00
Eugen
d2358aefec
Merge branch 'master' into master
2017-04-03 01:07:53 +02:00
Eugen
61894582b8
Merge pull request #746 from eramdam/feature/improve-french-locales
...
Feature/improve french locales (again)
2017-04-03 00:25:56 +02:00
Kazhnuz
c76d20c2a0
Add forgotten comma
2017-04-02 23:39:41 +02:00
Damien Erambert
4f7cce25ac
Add more lcoales in fr.jsx
2017-04-02 14:23:40 -07:00
Kazhnuz
633e5ec6f6
Update French Translation
2017-04-02 23:18:01 +02:00
Eugen
09b4b65fde
Merge pull request #740 from 0x70b1a5/master
...
remove black border on video mute/spoiler buttons
2017-04-02 22:22:56 +02:00
Eugen
48cb2dccd2
Merge pull request #741 from eramdam/feature/improve-french-locales
...
Improve/add some French locales
2017-04-02 22:22:44 +02:00
Eugen Rochko
a23e4380b2
Avoid re-loading already loaded relationships. Also fixes issue where wrong
...
button would be displayed in account lists for unloaded relationships
2017-04-02 22:02:38 +02:00
Eugen Rochko
aaa4d1b0fb
Keep track of which timelines are connected live to avoid redundant
...
refreshes on navigation
2017-04-02 21:44:06 +02:00
Eugen Rochko
2d07cb5771
Catching rack timeout from rails doesn't work
2017-04-02 21:12:18 +02:00
Tobias Merkle
f25fc04ea1
single-quotes
2017-04-02 14:55:13 -04:00
Tobias Merkle
ca21be3e16
remove black border on buttons
2017-04-02 14:54:24 -04:00
Eugen Rochko
5b12624847
Add proper error page for request timeouts
2017-04-02 19:43:44 +02:00
Olivia Mossberg
30da6440d0
Merge branch 'master' of github.com:tootsuite/mastodon
...
It's just an upstream merge
2017-04-02 17:04:31 +02:00
Olivia Mossberg
f4b5fe9caf
Fix word-break in account profiles
...
word-break:break-all is a surefire way to break things. It should be set
to normal.
This merge just set it back to what it should be.
Tested on Firefox 52.0.2 and Chrome 56.0.2924.87 with no detected
errors.
2017-04-02 16:54:24 +02:00
Eugen Rochko
4b7dca4713
Fix wording "show reblogs" -> "show boosts", order reports chronologically in
...
admin UI
2017-04-02 16:45:49 +02:00
Eugen Rochko
d6b965cf08
Fix issue with feed merge-in code as well
2017-04-02 15:58:25 +02:00
Eugen Rochko
e809caa0e1
Fix feed regeneration bug
2017-04-02 15:46:31 +02:00
Eugen Rochko
34aff3e269
Merge branch 'master' of https://github.com/maximeborges/mastodon into maximeborges-master
2017-04-02 12:36:26 +02:00
Damien Erambert
3ed75efc31
Add fr locale for community_timeline in fr.jsx
2017-04-01 23:45:53 -07:00
Eugen Rochko
433cb198fa
Fix landing page sign up form ignoring username field
2017-04-02 04:13:22 +02:00
Tobias Merkle
ae43978433
improve video button visibililty
2017-04-01 21:02:30 -04:00
Eugen Rochko
a8c2e44fee
Fix broken reference
2017-04-01 22:29:20 +02:00
Eugen Rochko
808017ff18
Paperclip will complain on its own if this variable is missing
2017-04-01 22:16:26 +02:00
Eugen Rochko
60ebfa182f
Made modal system more generic
2017-04-01 22:11:28 +02:00
Maxime BORGES
f693ab69f3
Fix word-break in profile's note on profile page and profile component
2017-04-01 20:17:28 +02:00
Eugen Rochko
13dfd8d109
Improve mobile tabs a little
2017-04-01 15:17:35 +02:00
Eugen Rochko
d93d6f5124
Fix reworked search
2017-03-31 22:45:56 +02:00
Eugen Rochko
b4046c5957
Rework search
2017-03-31 21:11:09 +02:00
shel
f20f6b25b9
Merge branch 'master' into patch-2
2017-03-31 10:34:14 -04:00
Eugen Rochko
680f9efe9c
Fix web UI profile clickable area overlapping with follow button area
2017-03-31 14:23:44 +02:00
Eugen Rochko
bde5c0eaf9
Fix some views still not using counter caches
2017-03-31 14:02:07 +02:00
Eugen Rochko
5e26295e06
Fix #700 - hide spoilers on static pages
2017-03-31 13:54:36 +02:00
Eugen Rochko
3ac4455160
:active and :focus states same as :hover for buttons
2017-03-31 12:08:51 +02:00
Eugen Rochko
bf61bc1b96
Fix drag & drop overlay flickering
2017-03-31 11:48:25 +02:00
Eugen Rochko
e8875c6046
Import feature for following/blocking lists (addresses #62 , #177 , #201 , #454 )
2017-03-30 19:42:33 +02:00
Eugen Rochko
de22c202f5
Add counter caches for a large performance increase on API requests
2017-03-30 15:06:59 +02:00
Eugen Rochko
333e44c3fc
Improve emojis - use SVGs where possible
2017-03-29 22:27:24 +02:00
Eugen Rochko
bb7006bda1
Hide drag & drop area on drop event regardless of success
2017-03-28 14:17:24 +02:00
Eugen Rochko
139fc994e2
Fix #408 - link @ names in bios
2017-03-28 14:16:08 +02:00
Eugen Rochko
1c6b02f936
Fix #690 - Webfinger should handle new shortform profile URLs now (nice)
2017-03-28 11:25:43 +02:00
shel
76188d61f2
Clarify post privacy warning
...
I was informed that the current warning if you @ a remote server in a private post is inadequate. These are suggested changes to better inform users.
2017-03-26 12:49:14 -04:00
Eugen Rochko
c334541011
Add tooltip to privacy dropdown
2017-03-26 13:30:57 +02:00
Eugen Rochko
f864fee116
Fix up some localizations
2017-03-26 13:22:38 +02:00
Eugen Rochko
efbbd42216
Fix style issue
2017-03-26 13:13:41 +02:00
Eugen Rochko
dddb2eb84f
Merge branch 'feature/language_zh-cn' of https://github.com/leopku/mastodon into leopku-feature/language_zh-cn
2017-03-26 13:10:04 +02:00
Eugen Rochko
6ec6fe259a
Compose form layout fixes
2017-03-26 13:08:15 +02:00
leopku
d5d5afff9c
🌐 add simplified chinese language
2017-03-26 14:13:18 +08:00
shel
5f7c997654
Change to using variables
...
Thanks garg
2017-03-25 20:42:49 -04:00
shel
2b7e3d56c8
Increase color contrast
...
Privacy descriptions were very difficult to reason. This is the minimal level of color contrast to be WCAG AA compliant.
2017-03-25 20:02:36 -04:00
shel
c66dc0d114
Clarify privacy options
...
Descriptions of differences between scope are more clear
2017-03-25 19:59:38 -04:00
Eugen Rochko
1fd88e3bad
Fix up visual indicators for compose form privacy
2017-03-25 20:24:30 +01:00
Eugen Rochko
b8f9de8636
Improve sign up page on small screens
2017-03-25 20:13:34 +01:00
Eugen Rochko
a9303e7062
When replying to status with content warning, prefill content warning
2017-03-25 19:30:56 +01:00
Eugen Rochko
ad1af951fb
Temporary spacing fix
2017-03-25 19:27:31 +01:00
Eugen Rochko
bd1ceb1daa
Privacy dropdown i18n
2017-03-25 19:22:24 +01:00
Eugen Rochko
99ca63a543
Fix public profile pagination links
2017-03-25 19:16:17 +01:00
Eugen Rochko
d8c5a83827
Redesigned compose form
2017-03-25 19:14:12 +01:00
Eugen Rochko
9bf4c34919
Fix #675 - return created_at in notifications API
2017-03-24 03:55:45 +01:00
Eugen Rochko
d7c6c6dbe1
Fancier drag & drop indicator, emoji icon for emoji, upload progress ( fix #295 )
2017-03-24 03:55:45 +01:00
Eugen Rochko
d6ed2eb512
Prettier account and stream entry URLs
2017-03-22 19:55:14 +01:00
Eugen Rochko
33fac87e81
Shorter timeout on FetchAtomService
2017-03-22 17:41:52 +01:00
Eugen Rochko
5aa3df017b
Fix full-text search query quotation, improve tag search performance with an index,
...
add ability to open status by URL from search (fix #53 )
2017-03-22 17:36:34 +01:00
Eugen Rochko
88f32708c3
Web UI support for the new omnisearch
2017-03-22 04:09:28 +01:00
Eugen Rochko
acfee0945c
Merge branch 'master' into feature-omnisearch
...
this merge is necessary,
2017-03-22 03:34:58 +01:00
Eugen Rochko
8aae42f3d8
German toot -> "tröt"
2017-03-22 03:22:44 +01:00
Eugen Rochko
1b09c3cb17
More efficient single account retrieval (0.9ms vs 50ms before)
2017-03-22 03:21:38 +01:00
Eugen Rochko
05cf086766
New API method: /api/v1/search
...
Returns accounts, statuses, hashtags arrays
2017-03-22 02:32:27 +01:00
Eugen Rochko
98571b0ce4
Don't list "direct" under default post privacy settings
2017-03-21 19:45:25 +01:00
Eugen Rochko
8803ca9efe
Improved landing page
2017-03-21 19:18:37 +01:00
Eugen Rochko
6b1db5c2b2
Add landing strip
2017-03-20 03:36:29 +01:00
Eugen Rochko
56d998cbdb
Export follow/block lists as CSV
2017-03-19 20:29:41 +01:00
Eugen Rochko
08b96f1b9f
Fix wrong HTTP status codes on error pages
2017-03-19 20:03:28 +01:00
Eugen Rochko
2816b1bf8e
Federate header images, fix open-uri http->https redirection error
2017-03-18 22:51:20 +01:00
Eugen Rochko
5cfc9c7487
Forgot to hook up API with the latest method
2017-03-17 21:02:47 +01:00
Eugen Rochko
ac406a31b0
Start page links a bit more readable
2017-03-17 20:49:34 +01:00
Eugen Rochko
ad0d82d3ce
Make account search blazing fast and rank followers/followees higher in the results
2017-03-17 20:48:14 +01:00
shel
38dceb3bf7
Promote Apps ( #670 )
...
"Various apps are available" is now a hyperlink
2017-03-17 16:16:39 +01:00
Eugen Rochko
017350e0ea
Add method for retrieving triadic closures
2017-03-16 20:10:51 +01:00
Eugen Rochko
6be7bde243
Fix #525 - Add instance information API
2017-03-15 23:12:48 +01:00
Eugen Rochko
7b58c1a694
Merge branch 'mastodon-site-api' of https://github.com/marrus-sh/ardipithecus into marrus-sh-mastodon-site-api
2017-03-15 22:55:58 +01:00
Eugen Rochko
74ae158c2f
Add "direct" visibility level in the backend. Web UI is not yet
...
adjusted to allow choosing it, yet
2017-03-15 22:55:45 +01:00
Eugen
e245115f47
Merge branch 'master' into mastodon-site-api
2017-03-15 22:55:22 +01:00
Eugen Rochko
02349b3269
Obfuscate filenames better, double rate limits
2017-03-14 15:59:21 +01:00
Eugen Rochko
952bce3023
Replace howler.js with simple <audio />, will hopefully resolve
...
some weird mobile browser behaviours
2017-03-13 17:12:30 +01:00
Eugen Rochko
a5daa806f2
Fix casuality of processing remote mentions such that notifications
...
about them would be processed only after the entire status is processed
2017-03-13 16:34:15 +01:00
Eugen Rochko
47bf592db7
Try to detect iOS and *not* autoplay any videos
...
Technically the check for iOS from components is a side effect, because it's
neither in state nor props, but the user agent does not change, so I think
that's okay.
2017-03-07 09:54:57 +01:00
Eugen Rochko
1fb3e8988b
Revert earlier fix due to new bug reports
2017-03-06 02:25:41 +01:00
Eugen Rochko
d6cb4bbe99
Performance improvement for profiles
2017-03-06 01:50:35 +01:00
Eugen Rochko
03a857f59a
Use more widely supported MP4 format for gifv's
2017-03-06 00:30:03 +01:00
Eugen Rochko
8d93f0ca56
Increase max bitrate of converted webms, slightly optimized counter queries
...
(Because postgres can tell that count(*) needs no extra checks, but
counting a specific column requires them)
2017-03-05 23:43:58 +01:00
Eugen Rochko
6382ef2bc6
Add vsync -cfr option when converting gif to webm
2017-03-05 23:27:25 +01:00
Eugen Rochko
79b08c5f0a
Higher quality webms? Might improve conversation of some types of gifs
2017-03-05 23:13:21 +01:00
Eugen Rochko
85fce04d1b
Detect videos with no sound, handle them like gifv
2017-03-05 22:55:24 +01:00
Eugen Rochko
4fb95c91fb
Fix wrongful matching of last period in extended usernames
...
Fix anchor tags in some wikipedia URLs being matches as a hashtag
2017-03-05 18:08:19 +01:00
Eugen Rochko
5f4e402204
Improved /api/v1/accounts/:id/statuses with new params: only_media, exclude_replies
...
Redirect /:username to /users/:username
Redirect /:username/:id to /users/:username/updates/:id
Updated API documentation and sponsors
2017-03-05 17:27:17 +01:00
Eugen Rochko
07b166af64
Make gifvs always use media gallery component
2017-03-05 02:04:31 +01:00
Eugen Rochko
caf5b8e975
Fix #431 - convert gif to webm during upload. Web UI treats them like it did
...
before. In the API, attachments now can be either image, video or gifv. Gifv
is to be treated like images in terms of behaviour, but are videos by file
type.
2017-03-04 23:02:24 +01:00
Eugen Rochko
5d100293fb
Rename "the whole known network" timeline to "federated timeline"
...
Remove note about following Gargron@mastodon.social from getting started text
2017-03-04 00:19:18 +01:00
Eugen Rochko
6b81d10030
Add digest e-mails
2017-03-04 00:00:48 +01:00
Eugen Rochko
4690236724
Make confirmation text more specific
2017-03-02 19:25:11 +01:00
Eugen Rochko
b9345b3fc6
Fix #620 - Add confirmation dialog for notifications clear
2017-03-02 19:24:12 +01:00
Eugen Rochko
4d23a85c29
Fix up storybook
2017-03-02 18:55:15 +01:00
Eugen Rochko
c64a1c25c4
Fix #231 - Muting
2017-03-02 18:49:32 +01:00
Kit Redgrave
442fdbfc53
Mute button progress so far. WIP, doesn't entirely work correctly.
2017-03-01 22:31:21 -06:00
Eugen Rochko
89fc2d7f48
Fix #372 - Emoji picker
2017-03-02 00:57:55 +01:00
Eugen Rochko
95ebfa5610
Simplify passing of prop
2017-03-01 13:57:30 +01:00
Eugen Rochko
1fa2e7cc86
Merge branch 'mastodon-paste-support' of https://github.com/marrus-sh/ardipithecus into marrus-sh-mastodon-paste-support
2017-03-01 13:54:52 +01:00
Kibigo
91c79f2445
Better smart/dumb component separation
2017-03-01 02:56:15 -08:00
Kibigo
5f6f7aaa27
Making the back button a little smarter
2017-02-28 22:24:34 -08:00
Kibigo
e84c1dc95f
Support for pasting images from clipboard
2017-02-28 18:52:46 -08:00
Eugen Rochko
5960bac11e
Fix incorrect detection of local vs remote user in web UI
2017-03-01 02:00:21 +01:00
Eugen Rochko
3208979655
Fix typo
2017-03-01 01:57:48 +01:00
Eugen Rochko
fbdb3bcf1e
Revert infinite scroll in timelines back to looking at ID of oldest
...
loaded status; do not preload submitted statuses into community/public
timelines, unless those timelines have already been loaded; do not
close streaming API connections for community/public timelines, once
they have been established (most users navigate back to them eventually)
2017-03-01 01:43:29 +01:00
Eugen Rochko
e1b00757a6
Fix #291 - Add visual indication that numbers for remote users may be inaccurate
2017-03-01 01:18:34 +01:00
Eugen Rochko
7f0d1b8cc0
If a status is within 40 statuses from the top of a home feed, do not
...
reinsert it when someone boosts it
2017-03-01 01:07:11 +01:00
Eugen Rochko
92569b1f0d
Improved dropdowns
2017-03-01 00:53:11 +01:00
Eugen Rochko
955e9088d7
Fix #561 - Detect presence of audio in video, hide mute toggle when none
2017-02-28 23:48:41 +01:00
Eugen Rochko
d180aaa2a7
Fix #186 - Add RTL support to the compose form textarea and statuses output
2017-02-28 01:52:31 +01:00
Eugen Rochko
809455aaae
Add elephant friend to missing indicator
2017-02-28 00:43:36 +01:00
Eugen
9214b5d02e
Add new illustration
2017-02-27 22:51:24 +01:00
Kibigo
4d2af0d664
Character counter fix
2017-02-27 04:32:41 -08:00
Kibigo
620f70e42c
Adds site metadata access to the API
2017-02-27 04:06:25 -08:00
Eugen Rochko
af5cb0f853
Only use bigger compose form/search form font on mobile layout
2017-02-27 00:46:45 +01:00
Eugen Rochko
175a9b9caa
Fix #104 - Style OAuth authorized applications page
...
Add ability to search accounts by display name
2017-02-27 00:15:00 +01:00
Eugen Rochko
2826e6dada
Fix #612 - Set font size to 16px in compose form and search form to prevent iOS
...
from zooming in on them
2017-02-26 23:30:18 +01:00
Eugen Rochko
5f511324b6
Add validation of media attachments, clean up mastodon-own exception classes
2017-02-26 23:23:06 +01:00
Eugen Rochko
063432d7e3
Merge branch 'fix_462' of https://github.com/rmhasan/mastodon into rmhasan-fix_462
2017-02-26 23:09:18 +01:00
Eugen Rochko
4fbdf100c4
Add <MissingIndicator /> when status or account are not found, skip alerts
...
for those errors
2017-02-26 23:06:27 +01:00
Eugen Rochko
4bb8ff7c8e
Merge branch 'fix_626' of https://github.com/rmhasan/mastodon into rmhasan-fix_626
2017-02-26 22:44:31 +01:00
Eugen Rochko
b44dd38360
Fix broken dependency on inner react utility function
2017-02-26 01:34:56 +01:00
Eugen Rochko
e2209e1104
Fix local timeline showing unread status of TWKN timeline
2017-02-26 01:27:22 +01:00
Eugen Rochko
2c50687279
Improve compose form performance, upgrade JS dependencies. LightingBox
...
now allows to cycle through multiple images
2017-02-26 01:23:44 +01:00
Eugen Rochko
3e9d794ea5
Add tuning documentation, add <content> tags back to most salmons,
...
make status pagination headers generation more lax about next page
existing
2017-02-25 03:34:37 +01:00
Eugen Rochko
9d4cad6307
Improve glow
2017-02-23 02:14:35 +01:00
Eugen Rochko
53ae431867
Skip remote media URLs that don't have a hostname
2017-02-22 19:55:14 +01:00
Eugen Rochko
3202bdd744
Fix #555 - Use a better URL parser
2017-02-22 19:35:11 +01:00
Eugen Rochko
c96fd24f48
Improve status reselect, do not display "load more" when no next link available
2017-02-22 16:30:09 +01:00
Eugen Rochko
c77a54fe0a
Fix #651 - Do not reinsert original status into all followers feeds
...
upon un-reblogging. Check if the reblog was in the feed in the first
place. It might have been filtered on distribution.
2017-02-22 15:52:47 +01:00
Eugen Rochko
974d712fbe
Improve performance of compose form
2017-02-22 15:43:07 +01:00
Eugen Rochko
5997bb47a8
Fix #38 - Unread indicator when new content appears above the fold
2017-02-21 00:10:49 +01:00
Eugen
f338cc6c94
Fix scroll to top not registering because of wrong debounce usage
2017-02-20 19:01:47 +01:00
Eugen Rochko
e8ea9669c9
Fix links and wording
2017-02-19 22:42:38 +01:00
Eugen Rochko
6b4ef92c6f
Adjust naming of public timeline -> "local timeline" vs "whole known network"
2017-02-19 21:49:14 +01:00
Eugen Rochko
c50256d25c
Fix infinite scrolling breaking after navigation
2017-02-19 21:37:04 +01:00
Eugen Rochko
4aa5ebe591
Split public timeline into "public timeline" which is local, and
...
"whole known network" which is what public timeline used to be
Only domain blocks with suspend severity will block PuSH subscriptions
Silenced accounts should not appear in conversations unless followed
2017-02-19 20:25:54 +01:00
Rakib Hasan
dfd4a42b35
added if else clause in fetchContext
...
So that if we get an error, then we will
only delete status if it is an 404 error
2017-02-19 10:55:22 +00:00
Rakib Hasan
9433d03705
Removed try clause from create action in status controller
...
Using catch statement in api_controller.rb to catch NotPermitted
Exception, and render error message
2017-02-19 08:29:56 +00:00
Rakib Hasan
87a6bed9e9
previous commit was creating the status regardless
...
of mix of video and images in status, just wasn't rendering
the show action. I moved the validation before the status creation
2017-02-19 08:28:33 +00:00
Rakib Hasan
6f9ecd899e
revisted fix for #462
...
Moved validation to services/post_status_service.rb
2017-02-19 08:28:33 +00:00
Rakib Hasan
6d2301988f
Fix for issue #462
...
Modified uploadCompose action to send media ids of attached
media when sending a request. Modified create method in MediaController
to check if when posting a video, there are no other media attached
to the status by looking at the media ids sent from the uploadCompose
action.
2017-02-19 08:28:33 +00:00
Rakib Hasan
910df0f795
Removing dispatch of fetchContextFail
...
No need to flash error message when status is not found.
The column will display the message "status not found"
2017-02-19 08:21:45 +00:00
Rakib Hasan
8e760d5f62
adding new react class StatusNotFound
2017-02-19 08:21:37 +00:00
Rakib Hasan
9e0dbb7337
Fixing issue #626
...
The status is not showing anymore after clicking on it
2017-02-19 08:21:05 +00:00
Eugen Rochko
9e99b8c068
Fix #642 - Add "empty column" text to home/notifications
2017-02-18 02:37:59 +01:00
shel
6a6d8f60c4
Add target="_blank" to github link
...
This makes so clicking the link to the github opens in a new tab or windows.
I just keep getting frustrated clicking the link to github and then losing my place in my home timeline >_> that's all
2017-02-17 14:50:50 -05:00
nicolas
ca57f17d3d
French translation update
2017-02-17 10:27:00 +01:00
Eugen Rochko
a1e96ae94f
Add foreign key to prevent reblogs of non-existent (after race conditions) statuses from happening
...
Fix issue with detailed status view not supporting unreblogging/unfavouriting
2017-02-17 02:33:10 +01:00
Eugen Rochko
5ddad41245
Do not display non-Status stream entries anymore
2017-02-17 02:20:52 +01:00
Eugen Rochko
dbd80465c8
Fix small styling issues
2017-02-17 02:05:15 +01:00
Eugen Rochko
f2931af61e
Quick fix for avatars with the same URL not being perceived as updated and in need of re-download
2017-02-17 01:50:01 +01:00
Eugen Rochko
8b16f81882
Close dropdown when clicking items
2017-02-17 01:44:06 +01:00
Eugen Rochko
0cbf3a146f
Speed up/optimize loading of statuses, context and cards by not re-fetching what is already loaded
2017-02-17 01:34:37 +01:00
Eugen Rochko
8132cf8153
Add GET /api/v1/accounts/:id/statuses/media that returns only statuses with media attachments
...
Make replies default to privacy settings of the status being replied to
2017-02-17 01:30:24 +01:00
Eugen Rochko
d0f087db2d
Add UI to view report details, remove reported statuses, quick links to resolve/silence/suspend from report
2017-02-17 00:42:52 +01:00
Eugen Rochko
24ba7c9762
Adding index overview for reports in admin UI
2017-02-16 02:28:10 +01:00
Eugen Rochko
f722aa8c75
Fix Salmon issue
2017-02-16 01:59:34 +01:00
Eugen Rochko
5426f06ac2
Fix admin UI for accounts somewhat
2017-02-15 00:22:58 +01:00
Eugen Rochko
0a2427f79b
Fix #634 - Only include innermost-level statuses in report UI
...
Fix #635 - Include the initially-reported status in report UI even if it's not
among the user's most recent statuses
2017-02-15 00:01:52 +01:00
Eugen Rochko
3b81baaaaf
Adding POST /api/v1/reports API, and a UI for submitting reports
2017-02-14 20:59:26 +01:00
Eugen Rochko
40a4053732
Disable PuSH for blocked domains
2017-02-14 04:01:37 +01:00
Eugen Rochko
63886bdc59
Fix #587 - Display TOTP secret next to QR code
2017-02-13 20:56:03 +01:00
Eugen Rochko
ec521e6bfc
Add remote mentions warning when composing a private status
2017-02-13 18:38:00 +01:00
Eugen Rochko
2ab7bd13e2
Merge branch 'patch-5' of https://github.com/yiskah/mastodon into yiskah-patch-5
2017-02-13 17:22:40 +01:00
Eugen Rochko
677e95031e
Clean up collapsible components
2017-02-13 17:20:18 +01:00
Eugen Rochko
2d8a4c4390
Add "next" link to Atom feeds
2017-02-13 15:38:45 +01:00
Eugen
63b3cb37db
Merge pull request #627 from halcy/style-fixes
...
Activity stream background should use $color5
2017-02-13 15:16:15 +01:00
Your Name
e4a7e8222e
Activity stream background should use $color5
2017-02-13 12:31:52 +00:00
Eugen Rochko
8e08ae5bb9
Add IDs to salmon slaps even if they are transient. Add title, too, mostly
...
in case of debugging incoming salmons. Add <thr:in-reply-to /> to favourite
salmons because it seems to be required by GS.
2017-02-13 13:30:33 +01:00
Eugen Rochko
df63461ff0
Add handler for salmons of undoing favourites
2017-02-12 19:50:18 +01:00
Eugen Rochko
720ff55262
Adding more unit tests. Fixing Salmon slaps XML
2017-02-12 17:30:15 +01:00
Eugen Rochko
446267d1bf
Deduplicate delete salmons (send only one per mentioned-account domain)
2017-02-12 17:30:15 +01:00
Eugen Rochko
db814543c0
Take out private toot distribution out of PuSH again
2017-02-12 01:31:04 +01:00
Eugen Rochko
0518492158
Stop trying to shoehorn all Salmon updates into the poor database-connected
...
StreamEntry model. Simply render Salmon slaps as they are needed
2017-02-12 01:19:14 +01:00
shel
968fae2603
Add privacy disclaimer
...
I haven't had a chance to test this, because I don't currently have a fully functioning computer I can set up a dev-environment on, but this *should* make it so when a user toggles a post to be private, a disclaimer appears clarifying what "private" really means.
2017-02-11 17:42:19 -05:00
shel
3893ff1604
Add privacy disclaimer
...
Add variable for text of privacy disclaimer
2017-02-11 16:47:01 -05:00
Eugen Rochko
94d2182717
Resolve issue with rendering authorize/reject Salmon slaps
2017-02-11 19:42:05 +01:00
Eugen Rochko
31c633e528
Fix Status.permitted_for scope query
2017-02-11 19:16:10 +01:00
Eugen Rochko
50660d54e8
Fix semantics of follow requests another slaps
2017-02-11 17:13:11 +01:00
Eugen Rochko
446aad4ce2
Make PuSH only distribute to subscriptions that match follower domains
...
Allow PuSH to distribute private toots with that condition
2017-02-11 15:41:39 +01:00
Eugen Rochko
dc851c922e
Mentions in private statuses allow mentioned people to see them
2017-02-11 15:10:22 +01:00
Eugen Rochko
00b5731ecb
After FollowService, re-fetch remote account asynchronously, do nothing
...
if account lock info was up to date, otherwise re-do the FollowService
with now updated information
2017-02-11 14:25:01 +01:00
Eugen Rochko
e610555e10
Fix processing of incoming authorizations/rejections
2017-02-11 13:55:07 +01:00
Eugen Rochko
514fdfa268
Don't PuSH-resubscribe if already subscribed
2017-02-11 13:48:28 +01:00
Eugen Rochko
149887a0ff
Make follow requests federate
2017-02-11 02:58:00 +01:00
Eugen Rochko
d551e43a9b
Improve public tag page
2017-02-10 23:21:01 +01:00
Eugen Rochko
8cca6bc58c
Fix spoiler link color in muted context
2017-02-10 23:01:02 +01:00
Eugen Rochko
5c4c046132
Finish up moving colors from JSX to Sass ( #584 , #348 )
2017-02-10 22:58:29 +01:00
Eugen Rochko
d2619e0b53
Site title is now a setting
2017-02-10 22:37:11 +01:00
Eugen
874fffb7dc
Merge branch 'master' into patch-3
2017-02-10 19:15:13 +01:00
Eugen
73e388e0d8
Merge pull request #617 from halcy/style-changes
...
Style changes
2017-02-10 19:10:15 +01:00
shel
3f1f3d0827
Add link to other instances list
...
This should help federation
2017-02-10 13:06:38 -05:00
Lorenz Diener
cbb962fd77
Move more colours to scss
2017-02-10 16:30:06 +00:00
Lorenz Diener
c9f42a7b85
Move more inline colours to scss
2017-02-10 15:35:19 +00:00
Eugen Rochko
0afed995ce
Fix the fix
2017-02-09 21:22:49 +01:00
Eugen Rochko
6331ed16e5
Fix #614 - extra reply-boolean on statuses to account for cases when replied-to
...
status is not in the system at time of distribution; fix #607 - reset privacy
settings to defaults when cancelling replies
2017-02-09 20:25:39 +01:00
Eugen Rochko
c424df5192
Progress on moving color styles to Sass
2017-02-09 01:20:09 +01:00
Eugen
942a2e7d68
Fix reblogs not having content warnings forwarded
2017-02-08 18:05:46 +01:00
Eugen
d96e031dfc
Fix #611 - Layout setting in registrations controller
2017-02-08 03:04:29 +01:00
Isabelle Knott
1d273e4430
Change blocked users icon to fa-ban in getting started view ( #608 )
2017-02-07 23:48:50 +01:00
Eugen Rochko
02e91a96dd
Make streaming API use one pattern-matching redis pubsub connection
...
Refresh timelines when streaming API reconnects in the UI
2017-02-07 14:39:08 +01:00
Eugen
9d5fb49cd8
Merge pull request #603 from evanminto/activitypub-account
...
Expose ActivityStreams 2.0 representation of accounts
2017-02-07 02:08:40 +01:00
Evan Minto
28cbb6dc21
Add AS2 format to RABL files
2017-02-06 17:00:55 -08:00
Eugen Rochko
8a081ce588
Fix wrong prediction of whether toot will apear on public timeline in UI
2017-02-07 00:40:35 +01:00
Eugen Rochko
714e41d472
Fix preferences save
2017-02-07 00:23:38 +01:00
Eugen Rochko
ac035108aa
Add "clear notifications" button, exclude posts from people who have blocked *you* from public/hashtag timelines
2017-02-07 00:06:40 +01:00
Eugen Rochko
c8252759df
Add streaming API channels for local-only statuses
2017-02-06 23:46:14 +01:00
Eugen Rochko
347a153b3d
Add API modifiers to limit returned toots from public/hashtag timelines
...
to only those from local users; Add link to "extended information" to
getting started in the UI; Add defaults for posting privacy; Change
how publish button looks depending on posting privacy chosen
2017-02-06 23:16:20 +01:00
Evan Minto
53234e5947
Add trailing newline
2017-02-06 12:15:47 -08:00
Evan Minto
3fa5d05997
Simplify RABL
2017-02-06 11:39:08 -08:00
Evan Minto
94e213c6c1
Reuse existing controller and route
2017-02-06 01:19:26 -08:00
Eugen Rochko
0af3401553
Don't allow people to follow people they blocked without unblocking first
2017-02-05 21:04:22 +01:00
Eugen Rochko
eee8afb0b7
Remove bios from blocked users list, filter out broken entries from API response
2017-02-05 19:39:00 +01:00
Eugen Rochko
c5a08eb56e
Add link to blocked users to getting started page
2017-02-05 19:22:05 +01:00
Eugen Rochko
920ba5fc4e
Fix #61 - Add list of blocked users to the UI; clean up failed push notifications API
...
Try to fix Travis CI setup
2017-02-05 19:18:11 +01:00
Eugen Rochko
77e13c2bc9
Removing failed push notification API, make context loads use cache
2017-02-05 17:51:44 +01:00
Eugen Rochko
19b9e1e2c3
Preheat status cache
2017-02-05 17:24:18 +01:00
Eugen Rochko
6fa4e01139
Fix showing ellipsis even when link hasn't been cut off
2017-02-05 15:29:16 +01:00
Eugen Rochko
87830f99e7
Fix #552 - Replace image links with image icons in status text in the UI
2017-02-05 15:25:55 +01:00
Eugen Rochko
ff2da21d3c
Fix content warning margin
2017-02-05 14:50:58 +01:00
Eugen Rochko
b5bf807a34
Remove react-dnd as it was interfering with text selection. Move content
...
warning mentions preview into area where actual content would be
2017-02-05 04:11:14 +01:00
Eugen Rochko
fb6aa7ad5c
Add tracking of delay to streaming API
2017-02-05 03:19:04 +01:00
Eugen Rochko
6cdcac1396
Fix #598 - arrow keys to navigate media; fix #481 - non-exact matches no longer
...
overshadow requirement for remote-lookup
2017-02-05 03:01:23 +01:00
Eugen Rochko
44fad0160f
Add next/previous navigation in modal for media attachments
2017-02-05 02:48:11 +01:00
Eugen Rochko
21972bb398
No replies filter on home timeline no longer hides self-replies
2017-02-05 02:02:46 +01:00
Eugen Rochko
dbb7e5a644
Getting started on draggable columns
2017-02-05 01:58:25 +01:00
Eugen Rochko
a012e4c7ff
Fix column settings not being scrollable on short screens
2017-02-05 01:27:31 +01:00
Eugen Rochko
af007f2def
Display mentions prepended to the content warning
2017-02-05 01:19:27 +01:00
Evan Minto
8bd8ea7c04
Remove unnecessary leftover code
2017-02-04 14:49:24 -08:00
Evan Minto
e2fbf8bc74
Add an account endpoint for ActivityPub and link to it on HTML profile pages
2017-02-04 14:46:23 -08:00
hoodie
d4d3a10c25
untested!! spoiler hotfix for replies
...
untested, my vagrant is bugged again, submitted at gargron's request
2017-02-04 17:33:46 -05:00
Eugen Rochko
ccb8ac8573
Make the streaming API also handle websockets (because trying to get the browser EventSource interface to
...
work flawlessly was a nightmare). WARNING: This commit makes the web UI connect to the streaming API instead
of ActionCable like before. This means that if you are upgrading, you should set that up beforehand.
2017-02-04 00:34:31 +01:00
hoodie
ac3f5a8316
easier comprehension of toot settings and properties ( #595 )
...
sounds complex, but really it just reorganizes the posting options and
adds a seperator line
2017-02-03 15:54:23 +01:00
Eugen Rochko
889b814385
Fix bug
2017-02-02 16:57:09 +01:00
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