]> cat aescling's git repositories - mastodon.git/log
mastodon.git
8 years agoFix tests issue introduced in #1607 (#1639)
Eugen [Thu, 13 Apr 2017 00:17:40 +0000 (02:17 +0200)]
Fix tests issue introduced in #1607 (#1639)

8 years agoAdjustments to the Norwegian translation (#1648)
Thor Harald Johansen [Thu, 13 Apr 2017 00:17:26 +0000 (02:17 +0200)]
Adjustments to the Norwegian translation (#1648)

* Working translation for Norwegian.

* Fixes to Norwegian translation.

* Further adjustments to Norwegian translation.

* Further adjustments to Norwegian translation.

8 years agoUse shift+click instead of alt+click to bypass boost dialog (#1638)
Isabelle Knott [Thu, 13 Apr 2017 00:15:45 +0000 (20:15 -0400)]
Use shift+click instead of alt+click to bypass boost dialog (#1638)

8 years agoFix visuals introduced in #1463 (#1634)
Eugen [Wed, 12 Apr 2017 18:54:49 +0000 (20:54 +0200)]
Fix visuals introduced in #1463 (#1634)

8 years ago[l10n] ja: Improve Japanese Translations (#1631)
lindwurm [Wed, 12 Apr 2017 18:41:50 +0000 (03:41 +0900)]
[l10n] ja: Improve Japanese Translations (#1631)

* ja: about: Fix highlighting
* ja: Update Translations
* ja: Translate admin settings

Signed-off-by: lindwurm <lindwurm.q@gmail.com>
8 years agoFix missing compose box when viewport width is exactly 1024px (#1632)
Isabelle Knott [Wed, 12 Apr 2017 18:40:03 +0000 (14:40 -0400)]
Fix missing compose box when viewport width is exactly 1024px (#1632)

8 years agoAdded norwegian version of terms of service and privacy policy (#1625)
Knut Erik [Wed, 12 Apr 2017 18:28:56 +0000 (20:28 +0200)]
Added norwegian version of terms of service and privacy policy (#1625)

8 years agofix Japanese translation (#1623)
pinfort [Wed, 12 Apr 2017 18:19:38 +0000 (03:19 +0900)]
fix Japanese translation (#1623)

* 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

* fix translations
翻訳の誤りの修正と改善

* freeの訳修正

* いいねをお気に入りに統一

* Revert "いいねをお気に入りに統一"

This reverts commit 568d5cccfa0b6620ccb6c9db8346c52c0396d99f.
間違ってtranslateブランチにコミットしたため取り消し

* Revert "freeの訳修正"

This reverts commit 565658a60583ff7e1e7a63ef597bf3ac6118e1bf.

* revertでミスったので戻す

* Revert "ミスったので戻す"

This reverts commit 00be7a748a6a2ae85a62be847172424278c52ec7, reversing
changes made to b4e1e06503c77e079cb2569a53ab4d6fcfcfd116.

* freeの訳修正

* いいねをお気に入りに統一

* 一回戻す

* 戻しきれてなかった

* 再度変更

* 戻す

* 再度変更

* 再度変更

* Update doorkeeper.ja.yml

Fixed a lot of unnatural translations

* Update ja.yml

資格情報 isn't easy to understanding. so fixed to ログイン情報.

* Update ja.yml

fixed some unnatural translations

* Update simple_form.ja.yml

Fixed wrong translate 「アカウント」 to 「アイコン画像」

* Update simple_form.ja.yml

* Update doorkeeper.ja.yml

* Revert "多くの不自然な翻訳を解消しました。"

* Update ja.jsx

fixed typo

* 文字化け修正

8 years agoFix incorrect notation in simple_form.ja.yml (#1620)
Manato Kameya [Wed, 12 Apr 2017 18:19:27 +0000 (03:19 +0900)]
Fix incorrect notation in simple_form.ja.yml (#1620)

8 years agoUpdate fr.jsx (#1551)
goofy-bz [Wed, 12 Apr 2017 18:11:09 +0000 (20:11 +0200)]
Update fr.jsx (#1551)

fixing to minor typos

8 years agosignificant improvement in microformats markup (#1063)
Ben Roberts [Wed, 12 Apr 2017 18:04:33 +0000 (14:04 -0400)]
significant improvement in microformats markup (#1063)

* significant improvement in microformats markup

This is a huge improvement and I believe will close #965.

Had these microformats reviewed by others in the community to help
ensure they are at least correct, if not complete.

I did not want to change the structure of the page, and so there it does
not fully mark up the entire ancestry chain, or reply chain, only the
direct decendants and direct ancestors are correctly associated, but
this is likely fine as the most important bit is to have access to the
urls for those toots which are now correctly fetchable.

* improve code climate

* trying to pass code climate tests

* code climate

* fix p-summary for content warning posts

* fix error introduced when merging via github

8 years agoUpdate fr.yml (#1600)
CgX [Wed, 12 Apr 2017 17:56:09 +0000 (19:56 +0200)]
Update fr.yml (#1600)

Mistake on %{link} variable

8 years agolocale-fr: fix typo (#1603)
karlyeurl [Wed, 12 Apr 2017 17:54:16 +0000 (19:54 +0200)]
locale-fr: fix typo (#1603)

In this case, the adjective applies to a feminine noun.

8 years agoImprove docker update instructions (#1619)
Eugen [Wed, 12 Apr 2017 17:34:40 +0000 (19:34 +0200)]
Improve docker update instructions (#1619)

8 years agovector (svg) logo with correct inner shape and colors (#1362)
Julien Deswaef [Wed, 12 Apr 2017 17:10:52 +0000 (13:10 -0400)]
vector (svg) logo with correct inner shape and colors (#1362)

* vector (svg) logo with correct inner shape and colors

* minimized svg logo

8 years agoFix target blank on "open_in_web" link (#1612)
David Libeau [Wed, 12 Apr 2017 17:09:58 +0000 (19:09 +0200)]
Fix target blank on "open_in_web" link (#1612)

When you render the "embed" view in an iframe, this link bugs when clicked, due to missing target blank.

8 years agoRequest documentation (#1616)
Shel R [Wed, 12 Apr 2017 16:27:33 +0000 (12:27 -0400)]
Request documentation (#1616)

This addition to the submission guidelines requests that contributors remember to document their code. It's not a hard fast rule just a reminder.

8 years agoQuick best practice cleanup of views/helpers (#1546)
Matt Jankowski [Wed, 12 Apr 2017 16:24:18 +0000 (12:24 -0400)]
Quick best practice cleanup of views/helpers (#1546)

* Remove trailing whitespace

* Use query methods instead of explicit .blank? checks

8 years agoWebfinger resource to extract username from resource string (#1607)
Matt Jankowski [Wed, 12 Apr 2017 16:22:38 +0000 (12:22 -0400)]
Webfinger resource to extract username from resource string (#1607)

* Add WebfingerResource class to extract usernames

* Use WebfingerResource in xrd#webfinger

8 years agoFocus textarea when text is inserted (#1320)
Rachel H [Wed, 12 Apr 2017 16:21:07 +0000 (09:21 -0700)]
Focus textarea when text is inserted (#1320)

Place space after uploaded filenames

8 years agoAllow import/export of mutes list (#1541)
Matt Jankowski [Wed, 12 Apr 2017 16:20:44 +0000 (12:20 -0400)]
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

8 years agoAdd unit tests for https://github.com/tootsuite/mastodon/pull/1574 (#1584)
Henry Smith [Wed, 12 Apr 2017 15:16:59 +0000 (17:16 +0200)]
Add unit tests for https://github.com/tootsuite/mastodon/pull/1574 (#1584)

8 years agoAdded missing Spanish translations strings (#1292)
Carlos A. Escobar [Wed, 12 Apr 2017 15:16:40 +0000 (10:16 -0500)]
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

8 years ago[web] Moving docs link to tootsuite/documentation (#1581)
lindwurm [Wed, 12 Apr 2017 15:13:19 +0000 (00:13 +0900)]
[web] Moving docs link to tootsuite/documentation (#1581)

related: https://github.com/tootsuite/mastodon/commit/1236529e39a7e2534fdd34686a749b5a386c109b and https://github.com/tootsuite/mastodon/commit/fc47c1d00e507f0bee2575c91822d68b72a22bac

Signed-off-by: lindwurm <lindwurm.q@gmail.com>
8 years agoMake Reporting admin section translatable (#1549)
Thomas Citharel [Wed, 12 Apr 2017 15:11:49 +0000 (17:11 +0200)]
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>
8 years agoWorking translation for Norwegian. (#1611)
Thor Harald Johansen [Wed, 12 Apr 2017 15:07:51 +0000 (17:07 +0200)]
Working translation for Norwegian. (#1611)

8 years agoParams compact deprecation warning (#1580)
Matt Jankowski [Wed, 12 Apr 2017 14:12:56 +0000 (10:12 -0400)]
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

8 years agoSimplify the way the embed view is created (#1590)
Matt Jankowski [Wed, 12 Apr 2017 14:12:42 +0000 (10:12 -0400)]
Simplify the way the embed view is created (#1590)

* Add coverage for embedded status view

* Refactor embed view to eliminate @external_links variable

8 years agoDefault to json type for webfinger requests (#1583)
Matt Jankowski [Wed, 12 Apr 2017 14:03:37 +0000 (10:03 -0400)]
Default to json type for webfinger requests (#1583)

8 years agoClean up stylesheet organization (#1591)
Matt Jankowski [Wed, 12 Apr 2017 14:01:59 +0000 (10:01 -0400)]
Clean up stylesheet organization (#1591)

8 years agoSilence more scope order warnings (#1604)
Matt Jankowski [Wed, 12 Apr 2017 13:58:08 +0000 (09:58 -0400)]
Silence more scope order warnings (#1604)

8 years agoFix issue with intermittent api/v1/notifications failure (#1606)
Matt Jankowski [Wed, 12 Apr 2017 13:53:55 +0000 (09:53 -0400)]
Fix issue with intermittent api/v1/notifications failure (#1606)

The spec was checking the activity_id of the activities held in notifications
within the controller.

Because the activities are different models, it is possible that they are
created with the same database IDs, and when they are this spec fails because an
activity which should not count as a match is counted as one.

8 years agoFix redirect link on Tuning.md (#1595)
Christopher Su [Wed, 12 Apr 2017 10:40:37 +0000 (03:40 -0700)]
Fix redirect link on Tuning.md (#1595)

8 years agoAdd Traditional Chinese, Hong Kong translation (zh-HK) (#1544)
Koala Yeung [Wed, 12 Apr 2017 06:50:50 +0000 (14:50 +0800)]
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.

8 years agoupdate Docker section of README (#1231)
Eric Blade [Tue, 11 Apr 2017 23:14:56 +0000 (19:14 -0400)]
update Docker section of README (#1231)

Re-ordered the steps so it doesn't read "Do this, but first, do this
other step"
Added note about keeping the REDIS and DB settings as they are for
Docker use
Add which variables you will NEED to set to make the Mastodon work
Add how to generate the secrets
Add how to connect to your Mastodon
Add a note to read the Production-guide

8 years agoChange default log level in production from :debug to :info for less I/O (#1579)
Eugen [Tue, 11 Apr 2017 21:28:23 +0000 (23:28 +0200)]
Change default log level in production from :debug to :info for less I/O (#1579)

8 years agoImprove emoji picker look (#1493)
Eugen [Tue, 11 Apr 2017 21:23:34 +0000 (23:23 +0200)]
Improve emoji picker look (#1493)

* Improve emoji picker look

* Add hover animation to emojis in picker

8 years agoFix #1491 - Fix broken notifications, broken Link header parsing for exclude_types...
Eugen [Tue, 11 Apr 2017 20:53:58 +0000 (22:53 +0200)]
Fix #1491 - Fix broken notifications, broken Link header parsing for exclude_types (#1548)

8 years agoAdd task in order to delete unconfirmed users (older than 2days) (#1571)
d0p1 [Tue, 11 Apr 2017 20:51:17 +0000 (22:51 +0200)]
Add task in order to delete unconfirmed users (older than 2days) (#1571)

* add task in order to delete unconfirmed user

* change 7 days to 2

8 years agoFix #1535 - #1372 set a wrong default on :openssl_verify_mode (#1563)
Eugen [Tue, 11 Apr 2017 20:49:53 +0000 (22:49 +0200)]
Fix #1535 - #1372 set a wrong default on :openssl_verify_mode (#1563)

8 years agoRefactor exports controller (#1567)
Matt Jankowski [Tue, 11 Apr 2017 20:00:43 +0000 (16:00 -0400)]
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

8 years agoFix console error when scrolling a column with no scrollable content (#1574)
Henry Smith [Tue, 11 Apr 2017 19:58:28 +0000 (21:58 +0200)]
Fix console error when scrolling a column with no scrollable content (#1574)

8 years ago[about] Moving docs link to tootsuite/documentation (#1573)
lindwurm [Tue, 11 Apr 2017 19:57:05 +0000 (04:57 +0900)]
[about] Moving docs link to tootsuite/documentation (#1573)

related: https://github.com/tootsuite/mastodon/commit/1236529e39a7e2534fdd34686a749b5a386c109b

Signed-off-by: lindwurm <lindwurm.q@gmail.com>
8 years agoUpdate french locale (#1525)
Thomas Citharel [Tue, 11 Apr 2017 19:54:40 +0000 (21:54 +0200)]
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>
8 years agoAdd Japanese translation (#1552)
pinfort [Tue, 11 Apr 2017 19:52:09 +0000 (04:52 +0900)]
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

8 years agoRevised finnish translation (#1537)
jukper [Tue, 11 Apr 2017 19:41:40 +0000 (22:41 +0300)]
Revised finnish translation (#1537)

8 years agoUpdate language files (#1516)
Jantso Porali [Tue, 11 Apr 2017 19:41:29 +0000 (21:41 +0200)]
Update language files (#1516)

* update faq with default language

* update translation for about page

* update Minio config

Thanks to @Gargon for helping me. I hope this will help others as well

* update import and export translation

* translate emails to finnish

* add finnish translation for emails

* add finnish translation for emails

* add finnish translation

* add missing dot

* update finnish language to emails

* add finnish translation for emails

* add dot and fix typo

* updated some minor typos

* remove language change due breaking emails

And by dev request

* updated minio config by dev request

* updated about page translation

* fix for Amazon S3/Minio instance setups

If you were using S3 or Minio for your files, this will fix the Import issue :)

* update translation according to issue #1515

See issue #1515

* update translation for issue #1515

see issue #1515

8 years agoImports controller errors (#1553)
Matt Jankowski [Tue, 11 Apr 2017 19:40:14 +0000 (15:40 -0400)]
Imports controller errors (#1553)

* Add spec for settings/imports controller

* Add failing spec for settings/imports#create

* Fix broken imports

* Refactor ImportWorker

8 years agoMerge branch 'master' of github.com:tootsuite/mastodon
Eugen Rochko [Tue, 11 Apr 2017 19:30:48 +0000 (21:30 +0200)]
Merge branch 'master' of github.com:tootsuite/mastodon

8 years agoMerge branch 'blackle-master'
Eugen Rochko [Tue, 11 Apr 2017 19:30:34 +0000 (21:30 +0200)]
Merge branch 'blackle-master'

8 years agoFix look of the modals
Eugen Rochko [Tue, 11 Apr 2017 19:24:17 +0000 (21:24 +0200)]
Fix look of the modals

8 years agoMerge branch 'master' of https://github.com/blackle/mastodon into blackle-master
Eugen Rochko [Tue, 11 Apr 2017 18:43:56 +0000 (20:43 +0200)]
Merge branch 'master' of https://github.com/blackle/mastodon into blackle-master

8 years agoBetter background-photo.jpeg (#1560)
Komic [Tue, 11 Apr 2017 17:51:13 +0000 (19:51 +0200)]
Better background-photo.jpeg (#1560)

Fixed the nasty banding & recompressed it at about the same level

8 years agoIncrease breakpoint size for bio on account show (#1559)
Matt Jankowski [Tue, 11 Apr 2017 17:35:06 +0000 (13:35 -0400)]
Increase breakpoint size for bio on account show (#1559)

8 years agoRemove unused methods from StreamEntriesHelper (#1365)
Matt Jankowski [Tue, 11 Apr 2017 17:32:02 +0000 (13:32 -0400)]
Remove unused methods from StreamEntriesHelper (#1365)

Removes:

- avatar_for_status_url
- relative_time
- reblogged_by_me_class
- favourited_by_me_class

8 years agoRemove unused AtomBuilderHelper (#1364)
Matt Jankowski [Tue, 11 Apr 2017 17:31:22 +0000 (13:31 -0400)]
Remove unused AtomBuilderHelper (#1364)

This was used in the views/atom/user_stream.xml.ruby file, which no longer is
used.

8 years agoMoving docs to tootsuite/documentation (#1550)
Eugen [Tue, 11 Apr 2017 16:03:02 +0000 (18:03 +0200)]
Moving docs to tootsuite/documentation (#1550)

8 years agoAllow user to disable the boost confirm dialog in preferences
blackle [Tue, 11 Apr 2017 14:10:16 +0000 (10:10 -0400)]
Allow user to disable the boost confirm dialog in preferences

8 years agoAdd (commented) volume in docker-compose && Mitigating the HTTPoxy Vulnerability...
Valentin Ouvrard [Tue, 11 Apr 2017 14:04:56 +0000 (01:04 +1100)]
Add (commented) volume in docker-compose && Mitigating the HTTPoxy Vulnerability (#1253)

* enable commented volume in docker-compose.yml

* Disable unworking Nginx root directory && Mitigating the HTTPoxy Vulnerability

* add my instance to the list

* enable GZIP on nginx.conf

* readd root /home/mastodon/live/public;

8 years agofix(*): ruby version was updated in .ruby-version but not Vagrant. Make them match...
Gavin Mogan [Tue, 11 Apr 2017 13:06:07 +0000 (06:06 -0700)]
fix(*): ruby version was updated in .ruby-version but not Vagrant. Make them match (#1502)

8 years agoBypass boost confirm modal if alt is pressed
blackle [Tue, 11 Apr 2017 12:34:14 +0000 (08:34 -0400)]
Bypass boost confirm modal if alt is pressed

8 years agoAvoid user enumeration with devise paranoid mode (#1527)
Yann GUERN [Tue, 11 Apr 2017 12:21:15 +0000 (14:21 +0200)]
Avoid user enumeration with devise paranoid mode (#1527)

8 years agoAdjust css for user detail page (#1463)
Corey Dutson [Tue, 11 Apr 2017 12:20:18 +0000 (08:20 -0400)]
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)

8 years agoAdd Mastodon.tools (#1457)
David Libeau [Tue, 11 Apr 2017 03:30:40 +0000 (05:30 +0200)]
Add Mastodon.tools (#1457)

8 years agoAdd boost confirm modal
blackle [Tue, 11 Apr 2017 02:28:52 +0000 (22:28 -0400)]
Add boost confirm modal

8 years agoPagination improvements (#1445)
Matt Jankowski [Mon, 10 Apr 2017 23:11:41 +0000 (19:11 -0400)]
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

8 years agoAdd note about minimum docker-compose version (#1264)
Effy Elden [Mon, 10 Apr 2017 22:39:39 +0000 (08:39 +1000)]
Add note about minimum docker-compose version (#1264)

Add a note to ensure users are using the right version of docker-compose.

8 years agoWhen avatar/header are GIF, generate static versions (#1428)
Eugen [Mon, 10 Apr 2017 22:38:58 +0000 (00:38 +0200)]
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

8 years agoRemove order prior to .find_in_batches (#1470)
Matt Jankowski [Mon, 10 Apr 2017 22:38:34 +0000 (18:38 -0400)]
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.

8 years agoDev Tooling fixes (eslint/editorconfig) (#1398)
Gavin Mogan [Mon, 10 Apr 2017 22:36:03 +0000 (15:36 -0700)]
Dev Tooling fixes (eslint/editorconfig) (#1398)

* Add eslint to dev dependancies so it gets installed for the repo

yarn add --dev eslint babel-eslint eslint-plugin-reac

project specific version of eslint, you can globally install eslint-cli
if you want the global runtime, or add .bin to your path

* fix eslint errors about inconsitent returns

* eslint ignore the same as git ignore. allows for eslint .

* Add editorconfig file so everyones editor will be setup to follow the same standards

8 years agoAdd username as a title for mentions (#1385)
Matthias Jouan [Mon, 10 Apr 2017 22:35:35 +0000 (00:35 +0200)]
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

8 years agoAdds error message to mastodon:confirm_email task. (#1476)
Ash Furrow [Mon, 10 Apr 2017 22:13:08 +0000 (18:13 -0400)]
Adds error message to mastodon:confirm_email task. (#1476)

8 years agoAPI param to exclude notification types from response (#1341)
Eugen [Mon, 10 Apr 2017 21:45:29 +0000 (23:45 +0200)]
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

8 years agoClean up generation of account webfinger string (#1477)
Matt Jankowski [Mon, 10 Apr 2017 20:58:06 +0000 (16:58 -0400)]
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

8 years agoVersion bumps for ruby and misc gems (#1159)
Matt Jankowski [Mon, 10 Apr 2017 20:47:41 +0000 (16:47 -0400)]
Version bumps for ruby and misc gems (#1159)

* Update rspec-rails to version 3.5.2

* Update addressable to version 2.5.1

* Update autoprefixer-rails to version 6.7.7.1

* Update bullet to version 5.5.1

* Update domain_name to version 0.5.20170404

* Update letter_opener_web to version 1.3.1

* Upate redis-rails to version 5.0.2

* Update active_record_query_trace to version 1.5.4

* Update capistrano-rails to version 1.2.3

* Update dotenv-rails to version 2.2.0

* Update pg to version 0.20.0

* Update tilt to version 2.0.7

* Update warden to version 1.2.7

* Update tins to version 1.13.2

* Update terminal-table to version 1.7.3

* Update oj to version 2.18.5

* Update simplecov to version 0.14.1

* Update uglifier to version 3.1.13

* Update hashdiff to version 0.3.2

* Update webmock to version 2.3.2

* Update devise to version 4.2.1

* Use ruby version 2.4.1

* Update sass to version 3.4.23

* Update puma to version 3.8.2

* Update will_paginate to version 3.1.5

* Update font-awesome-rails to version 4.7.0.1

* Update fuubar to version 2.2.0

* Update pry-rails to version 0.3.6

* Update simple-navigation to version 4.0.5

* Update rubocop to version 0.48.1

* Update doorkeeper to version 4.2.5

* Update faker to version 1.7.3

* Update aws-sdk to version 2.9.5

* Update fabrication to version 2.16.1

* Update hamlit-rails to version 0.2.0

* Update http to version 2.2.1

* Update httplog to version 0.99.2

* Update sidekiq to version 4.2.10

* Update rspec-sidekiq to version 3.0.0

* Update pghero to version 1.6.4

* Update rack-cors to version 0.4.1

* Update i18n-tasks to version 0.9.13

* Update ruby-oembed to version 0.12.0

* Update jquery-rails to version 4.3.1

* Update simple_form to version 3.4.0

* Update react-rails to version 1.11.0

* Update aws-sdk to version 2.9.6

* Update sidekiq-unique-jobs to version 5.0.0

* Update uglifier to version 3.2.0

8 years agoAdd more specific class names to notification divs (#1120)
Chris Martin [Mon, 10 Apr 2017 20:41:52 +0000 (16:41 -0400)]
Add more specific class names to notification divs (#1120)

8 years agoMore SMTP customization (#1372)
Alexander Mankuta [Mon, 10 Apr 2017 19:48:30 +0000 (22:48 +0300)]
More SMTP customization (#1372)

* Allow SMTP auth method customization

* Add SMTP openssl_verify_mode option support

Allows one use self-signed certs with their SMTP server.

* Add SMTP enable_starttls_auto option support

8 years agoKeep newlines in xml (#1397)
Rachel H [Mon, 10 Apr 2017 19:32:45 +0000 (12:32 -0700)]
Keep newlines in xml (#1397)

8 years agoFix #1097 When onClick is falsy, do not make status content clickable (#1434)
Stephen Burgess [Mon, 10 Apr 2017 19:31:26 +0000 (14:31 -0500)]
Fix #1097 When onClick is falsy, do not make status content clickable (#1434)

8 years agoAllow typing a toot while an image uploads (#1429)
Jessica Stokes [Mon, 10 Apr 2017 19:30:58 +0000 (05:30 +1000)]
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! ✨

8 years agoFix issue with missing emojify class in views (#1455)
Matt Jankowski [Mon, 10 Apr 2017 19:27:52 +0000 (15:27 -0400)]
Fix issue with missing emojify class in views (#1455)

* Add missing emojify class to landing strip

* Add missing emojify class to simple_status partial

8 years agoAdmin base controller (#1465)
Matt Jankowski [Mon, 10 Apr 2017 19:27:03 +0000 (15:27 -0400)]
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

8 years agoFix references to "v1" API (#1460)
Alexsander Akers [Mon, 10 Apr 2017 19:11:59 +0000 (21:11 +0200)]
Fix references to "v1" API (#1460)

References to `vi` API version replaced with `v1`

8 years agoAdjust background of emoji panel (#1461)
Corey Dutson [Mon, 10 Apr 2017 18:56:14 +0000 (14:56 -0400)]
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

8 years agoImprove scrolling behaviour (#1415)
Jessica Stokes [Mon, 10 Apr 2017 14:27:30 +0000 (00:27 +1000)]
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

8 years agoFix icon and emoji sizes (#1403)
Ram Lmn [Mon, 10 Apr 2017 11:02:09 +0000 (16:32 +0530)]
Fix icon and emoji sizes (#1403)

Fixes icons and emoji size issues described in #1233.

8 years agoMinor clarifications (#1386)
Ryan Freebern [Mon, 10 Apr 2017 11:01:43 +0000 (07:01 -0400)]
Minor clarifications (#1386)

8 years agoAdd Russian translation (ru) (#1023)
Ratmir Karabut [Mon, 10 Apr 2017 10:52:06 +0000 (13:52 +0300)]
Add Russian translation (ru) (#1023)

* Add Russian translation (ru)

* Fix a missing comma

* Fix the wording for better consistency

8 years agoFix for Import issue from URL (#1416)
Jantso Porali [Mon, 10 Apr 2017 10:49:34 +0000 (12:49 +0200)]
Fix for Import issue from URL (#1416)

8 years agoAdd search to emoji picker (#1395)
Gavin Mogan [Mon, 10 Apr 2017 07:58:09 +0000 (00:58 -0700)]
Add search to emoji picker (#1395)

8 years agoDo not store last visited URL from API controllers (#1330)
Eugen [Sun, 9 Apr 2017 20:21:52 +0000 (22:21 +0200)]
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"}

8 years agoFix #1339 - better Atom titles (#1343)
Eugen [Sun, 9 Apr 2017 18:55:54 +0000 (20:55 +0200)]
Fix #1339 - better Atom titles (#1343)

8 years agoFix /api/v1/accounts/update_credentials tests (#1357)
Eugen [Sun, 9 Apr 2017 18:23:14 +0000 (20:23 +0200)]
Fix /api/v1/accounts/update_credentials tests (#1357)

8 years agoMinor change to Entity on API.md (Relationship) (#1356)
Ornithologist Coder [Sun, 9 Apr 2017 17:10:38 +0000 (19:10 +0200)]
Minor change to Entity on API.md (Relationship) (#1356)

8 years agoupdate portuguese translation (#1280)
Hugo Gameiro [Sun, 9 Apr 2017 16:49:26 +0000 (17:49 +0100)]
update portuguese translation (#1280)

added the missing fields and improved the translation

8 years agoGet handle from atom feed's author/email field instead of guessing from URL (#1344)
ThibG [Sun, 9 Apr 2017 16:43:48 +0000 (18:43 +0200)]
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 agoUse HTTP Accept-Language to detect locale (#1166)
David Authier [Sun, 9 Apr 2017 16:40:24 +0000 (18:40 +0200)]
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 agoMinor API.md changes (#1351)
Ornithologist Coder [Sun, 9 Apr 2017 16:36:03 +0000 (18:36 +0200)]
Minor API.md changes (#1351)

8 years agoMinor change on API.md (#1352)
Ornithologist Coder [Sun, 9 Apr 2017 16:35:51 +0000 (18:35 +0200)]
Minor change on API.md (#1352)

8 years agoAdd comment to settings.yml to nudge admins towards editing values via Web UI (#1289)
R Tucker [Sun, 9 Apr 2017 16:34:29 +0000 (12:34 -0400)]
Add comment to settings.yml to nudge admins towards editing values via Web UI (#1289)

* Put a useful message for new admins on /about/more

I totally failed to realize this file was just defaults.  I think
this message would be a good default for people like me.

* Revert default site description, expand comment

This will keep setup-related stuff from leaking into public views,
while still hopefully keeping over-eager admins from editing this
file unnecessarily before RTFMing.  (e.g., me)