Eugen
47a3702db4
Fix /api/v1/accounts/update_credentials tests ( #1357 )
8 years ago
Hugo Gameiro
eb6c3fdca9
update portuguese translation ( #1280 )
...
added the missing fields and improved the translation
8 years ago
ThibG
e326eb53dd
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.
8 years ago
David Authier
9252133084
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
8 years ago
David Celis
6e0b4032b3
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>
8 years ago
Matt Jankowski
3b3671c797
Helper cleanup ( #1348 )
...
* Remove unused helper files
* Add coverage for application helper
* Add coverage for StreamEntriesHelper #display_name
8 years ago
StefOfficiel
288bbf6ffb
Update fr.jsx ( #1329 )
...
* Update fr.jsx
* Remove duplicate translation
8 years ago
Olivier Humbert
d473a092e3
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)
8 years ago
Jonathan Klee
dd12af9fd9
add empty notifications french translation ( #1111 )
8 years ago
Matt Jankowski
41b79ae693
Clean up about page ( #1282 )
...
* Add InstancePresenter to expose site details
* Clean up about controller, use instance presenter
8 years ago
Brian Mock
b92480bc01
Fixes #1311 margin shouldn't stay fixed ( #1312 )
8 years ago
Matt Jankowski
641e809eaf
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
8 years ago
Rachel H
ff75c89585
Fix nonworking clear notices button ( #1316 )
8 years ago
Eugen
3047a8da74
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
8 years ago
Eugen
b532134503
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
8 years ago
Pavel Djundik
ae422d872c
Improve responsiveness of registration form and closed banner ( #1265 )
8 years ago
Pavel Djundik
72a526010d
Improve about page responsiveness ( #1252 )
8 years ago
Eugen
697e4da6cb
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
8 years ago
Thomas Citharel
a9863c1708
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>
8 years ago
Markus Amalthea Magnuson
41aa5b0d58
Add titles to more icons, and change clear notifications icon. ( #1101 )
8 years ago
Nicolai von Neudeck
e885aeed92
Updated German translation ( #1248 )
...
Fixed various spelling and grammar mistakes.
Used more gender-neutral language.
8 years ago
Alda Marteau-Hardi
f34314fd52
Add some missing strings to prevent some React warning in the console ( #1230 )
8 years ago
Matt Jankowski
0d9a420c1a
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
8 years ago
Eugen
cc6ec445b8
Merge pull request #1224 from chrisheninger/patch-1
...
Add SVG version of logo to repo
8 years ago
Eugen
0b8bd5a9ce
Merge pull request #1218 from R0ckweb/patch-2
...
Fix #1141 on remote follow
8 years ago
Eugen
eb68ecc9d7
Merge pull request #1216 from tootsuite/fix-default-locale-regression
...
Fix #1165 - Default locale no longer breaks form submissions
8 years ago
Eugen
22eff0449f
Merge pull request #1213 from tootsuite/fix-accounts-initial-case
...
Fix #801 - Respect webfinger's canonical response of username/domain
8 years ago
Kurtis Rainbolt-Greene
b399356fa5
Merge branch 'master' into fix-default-locale-regression
8 years ago
Kurtis Rainbolt-Greene
a1ab8bff51
Merge branch 'master' into patch-2
8 years ago
Chris Heninger
68e2f357c0
Add SVG version of logo to repo
8 years ago
Shel R
3b9a56d4b3
Merge branch 'master' into master
8 years ago
Shel R
17c734b017
Merge branch 'master' into patch-4
8 years ago
Yann GUERN
33b00dd70f
#1141 on remote follow
...
The async action is send before persist, account.id not yet generated
Pull queue receive 'nil' so no profile update.
8 years ago
Eugen Rochko
07f42f0824
Fix #1165 - before_action was called before protect_from_forgery
8 years ago
Eugen Rochko
81b7c81200
Fix #801 - Respect webfinger's canonical response of username/domain
8 years ago
Eugen
c3f2975fa4
Merge pull request #1183 from thoughtbot/cp-post-status-service-specs
...
Add specs for PostStatusService
8 years ago
Chad Pytel
1a82d2bde6
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.
8 years ago
Joël Quenneville
8a67fb5eca
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.
8 years ago
Eugen
2f1bd3462e
Merge pull request #1146 from tootsuite/fix-object-type-nil-exception
...
Fix nil#object_type error
8 years ago
Eugen
7215446774
Merge branch 'master' into fix-object-type-nil-exception
8 years ago
Eugen
ef7240169a
Merge branch 'master' into feature-customized-default-locale
8 years ago
Eugen Rochko
eaa0b8e669
Fix nil#object_type error
8 years ago
Jantso Porali
fb0ce9d38d
Update Finnish translations, add sample Minio config ( #954 )
8 years ago
Eugen Rochko
9bb84337a7
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
8 years ago
Eugen Rochko
a1c63cb01d
Re-add forgotten <author> element on standalone <entry>
8 years ago
Eugen
1781fcaea4
Force UTF8 encoding on generated XML ( #1140 )
8 years ago
Eugen
24c77e57b2
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
8 years ago
Matt Jankowski
7411863663
Reduce size of background-photo.jpeg
...
Reduced by running through `guetzli` image optimizer.
8 years ago
Eugen Rochko
0db2a0c7c4
Fix wrong pubsub channel on public timelines
8 years ago
Eugen
f10668da16
Merge pull request #1013 from blackle/master
...
Catch more errors in process_follows so it doesn't fail
8 years ago
Eugen Rochko
fb6459d303
Fix notifications delivered to wrong pubsub channel, optimized RemoveStatusService,
...
slightly optimized FanOutOnWriteService again
8 years ago
blackle
70f485a9e7
Catch more errors in process_follows so it doesn't fail
8 years ago
Eugen Rochko
cd68e54a7d
Split SalmonWorker into smaller parts, move profile updating into another job
8 years ago
André Lewin
783de713cd
Merge branch 'master' into master
8 years ago
Eugen Rochko
5189ce9cd1
Replace calls to FeedManager#inline_render and #broadcast
8 years ago
Eugen
54329947ab
Fix wrong variable used in publish channel
8 years ago
Eugen
b9ddfff8f6
Add proper message to PushUpdateWorker, use redis directly
8 years ago
Eugen
d67e1fe44d
Merge branch 'master' into broadcast-to-worker
8 years ago
tom
ea10ddedaa
Update components.scss
...
Use nicer scrollbars in MS edge
8 years ago
Eugen Rochko
8f38353c4d
Only render public payload once in FanOutOnWrite
8 years ago
Eugen Rochko
3cc7378924
Replace ActionCable broadcast call with simple redis publish
8 years ago
Eugen
cae7d221c7
Merge pull request #919 from JantsoP/master
...
More updates to Finnish language
8 years ago
Eugen
39e5ecb61d
Merge pull request #908 from krainboltgreene/application-worker-for-shared-logic
...
ApplicationWorker for shared worker behavior
8 years ago
JantsoP
c0295924bc
Merge branch 'master' into master
8 years ago
JantsoP
6a33b51fd2
updated translation
...
Updated some translations after seeing them in service. Should be better now
8 years ago
Brad Urani
522410589e
Eliminate unnecessary queries and query clauses with none and all
8 years ago
Kurtis Rainbolt-Greene
192f855952
We're going to want these nice helper methods, lets share them with a parent class that matches Rails 5 practices (application level abstraction)
8 years ago
Kurtis Rainbolt-Greene
9b8f587c8d
Moved to the worker
8 years ago
Kurtis Rainbolt-Greene
bea03b4553
Moving in the inline render
8 years ago
Kurtis Rainbolt-Greene
dd66bce930
I don't actually think we need that.
8 years ago
Kurtis Rainbolt-Greene
7d887cea4b
Moving the queue_at into the worker
8 years ago
Kurtis Rainbolt-Greene
9e58c2b0e3
This method isn't used anymore
8 years ago
Kurtis Rainbolt-Greene
4f2985cddc
Replacing the broadcast method with the one defined in the feed manager
8 years ago
Kurtis Rainbolt-Greene
de1bb4bd56
By pushing this into a worker we can reduce the amount of time the feed manager using workers eat up a connection
8 years ago
Eugen
744456cb55
Merge branch 'master' into add_more_tests_to_models
8 years ago
Eugen
bb582ac177
Merge pull request #839 from SirCmpwn/profile-readability
...
Improve readability of text on profiles
8 years ago
Drew DeVault
27e4759c00
Improve readability of text on profiles
8 years ago
Eugen
c571ed77d7
Merge pull request #818 from JantsoP/master
...
Updated Finnish Translation
8 years ago
Eugen
4751381a24
Merge pull request #852 from peterkeen/email-whitelist-817
...
[#817 ] Add email whitelist
8 years ago
Eugen
a8468cc6cc
Merge pull request #898 from SirCmpwn/remote-follow-improvements
...
Remote follow improvements
8 years ago
Eugen
6a8bb89f80
Merge pull request #858 from krainboltgreene/patch-6
...
Use active record shorthand
8 years ago
Drew DeVault
932b0b2f1f
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.
8 years ago
Eugen Rochko
d2b7daf6bb
Remove PuSH subscriptions when delivery is answered with a 4xx error
8 years ago
Samy KACIMI
06424fd912
fix rubocop issues
8 years ago
Samy KACIMI
9f80b2dd4e
add more tests to models
8 years ago
axolotl
f6463e595f
Added Esperanto translation inside the javascripts folder
8 years ago
Eugen Rochko
fa2a1af90a
Spawn FeedInsertWorker to deliver status into personal feed
8 years ago
Kurtis Rainbolt-Greene
8dace45447
Use active record shorthand
8 years ago
Pete Keen
f28fcf9080
[ #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
8 years ago
Eugen Rochko
353a30810c
New admin setting: open/close registrations, with custom message, from the admin UI
8 years ago
JantsoP
c3db103305
updated line 28 about GitHub
8 years ago
Eugen
79828478c6
Merge pull request #804 from fhalna/development
...
Accessibility Fix.
8 years ago
Eugen Rochko
e60c473917
Reduce number of items in feeds, optimize regeneration worker slightly,
...
make regeneration worker unique, (only schedule/execute once at a time)
8 years ago
Eugen Rochko
9123aca6df
Optimize FeedManager#unmerge, and slightly optimize FeedManager#merge
8 years ago
Eugen Rochko
1484df2db5
Move OStatus processing back into default queue
8 years ago
Eugen Rochko
fbf64105a5
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
8 years ago
halna_Tanaguru
c7e14e496b
Merge branch 'master' into development
8 years ago
JantsoP
0c0e1c2519
Merge branch 'master' into master
8 years ago
JantsoP
fc2b031506
changed line 25 for better translation
8 years ago
Eugen Rochko
5110975df4
Fix #808 - smaller elephant friend PNG for frontpage
8 years ago
Eugen Rochko
7a56845060
Only call regeneration worker after first login after a 14 day break
8 years ago
Eugen Rochko
24793cdbaa
Fix ActionController::Parameters in API issue
8 years ago
Eugen Rochko
8eca42b265
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.
8 years ago
Eugen Rochko
8796f7a125
Add check for visibility.nil? even though it can't ever be, to check for race conditions
8 years ago
halna_Tanaguru
4833f53a37
accessibility fix
...
eanable focus on ClearColumnButton
8 years ago
axolotl
d6d192c914
added Esperanto (eo)
8 years ago
Eugen Rochko
c9ffa7ab1d
Add basic logging of who resolved report
8 years ago
Eugen Rochko
ceaafb22d3
When taking action on a report (silence/suspend), it dismisses all other
...
reports for that user automatically
8 years ago
Eugen Rochko
6ebe31e716
Make default admin UI page reports. Add admin UI for creating a domain block
8 years ago
David Baumgold
3e38b3989f
GitHub should be capitalized
8 years ago
JantsoP
f0be0d36c9
fixed typo
8 years ago
JantsoP
35ad63910d
Merge branch 'master' into master
8 years ago
JantsoP
bb8d80f1b0
add finnish translation
...
add finnish translation
8 years ago
JantsoP
4949cc46d8
add finnish translation
...
add finnish translation
8 years ago
JantsoP
a3e82c4fa5
add finnish language
...
add finnish language
8 years ago
Eugen
a2224bb6ac
Merge pull request #764 from ticky/tweak-quick-start-area
...
Fix the position of the Mastodon mascot in the UI
8 years ago
JantsoP
7227a992fc
Create Finnish translation for Mastodon
...
Create Finnish translation for Mastodon
8 years ago
Marvin Kopf
61333ed232
add mute option in status dropdown
8 years ago
Jessica Stokes
f7bc9938a8
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.
8 years ago
Eugen
8ba7d4ed82
Merge branch 'master' into master
8 years ago
Eugen
720922cd13
Merge pull request #746 from eramdam/feature/improve-french-locales
...
Feature/improve french locales (again)
8 years ago
Kazhnuz
e6a6c102f6
Add forgotten comma
8 years ago
Damien Erambert
5f0e912d87
Add more lcoales in fr.jsx
8 years ago
Kazhnuz
6ac05fc74b
Update French Translation
8 years ago
Eugen
e3509e02c0
Merge pull request #740 from 0x70b1a5/master
...
remove black border on video mute/spoiler buttons
8 years ago
Eugen
0335a52e28
Merge pull request #741 from eramdam/feature/improve-french-locales
...
Improve/add some French locales
8 years ago
Eugen Rochko
4bfabbd5e2
Avoid re-loading already loaded relationships. Also fixes issue where wrong
...
button would be displayed in account lists for unloaded relationships
8 years ago
Eugen Rochko
eb85833dc7
Keep track of which timelines are connected live to avoid redundant
...
refreshes on navigation
8 years ago
Eugen Rochko
1ee4c6415c
Catching rack timeout from rails doesn't work
8 years ago
Tobias Merkle
bba468bcca
single-quotes
8 years ago
Tobias Merkle
034cfeb1ac
remove black border on buttons
8 years ago
Eugen Rochko
00e99e58db
Add proper error page for request timeouts
8 years ago
Olivia Mossberg
6e4703703a
Merge branch 'master' of github.com:tootsuite/mastodon
...
It's just an upstream merge
8 years ago
Olivia Mossberg
2d8a0caf98
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.
8 years ago
Eugen Rochko
f04816f005
Fix wording "show reblogs" -> "show boosts", order reports chronologically in
...
admin UI
8 years ago
Eugen Rochko
4db2e2f4eb
Fix issue with feed merge-in code as well
8 years ago
Eugen Rochko
572cf64791
Fix feed regeneration bug
8 years ago
Eugen Rochko
347830262f
Merge branch 'master' of https://github.com/maximeborges/mastodon into maximeborges-master
8 years ago
Damien Erambert
22fb48ca13
Add fr locale for community_timeline in fr.jsx
8 years ago
Eugen Rochko
e407ed24a6
Fix landing page sign up form ignoring username field
8 years ago
Tobias Merkle
8befce32f3
improve video button visibililty
8 years ago
Eugen Rochko
431bfcaad6
Fix broken reference
8 years ago
Eugen Rochko
d1f8bd2673
Paperclip will complain on its own if this variable is missing
8 years ago
Eugen Rochko
b794690bfe
Made modal system more generic
8 years ago
Maxime BORGES
9f0d00567b
Fix word-break in profile's note on profile page and profile component
8 years ago
Eugen Rochko
348e817d53
Improve mobile tabs a little
8 years ago
Eugen Rochko
3c6e9ee33c
Fix reworked search
8 years ago
Eugen Rochko
a895f0d448
Rework search
8 years ago
shel
57e3d4c58b
Merge branch 'master' into patch-2
8 years ago
Eugen Rochko
7931d5886c
Fix web UI profile clickable area overlapping with follow button area
8 years ago