Eugen Rochko
6e309f5e45
Bump version to 2.3.0
2018-03-09 12:59:58 +01:00
Thibaut Girka
25c5223617
Port #6627 and #6636 to glitch-soc
2018-03-09 12:10:22 +01:00
Eugen Rochko
e5f18ace2a
When inside Docker, output saved configuration during mastodon:setup ( #6711 )
2018-03-09 11:52:18 +01:00
Eugen Rochko
11697d6894
Fix thumbnail not filling entire space sometimes ( #6709 )
2018-03-09 11:33:05 +01:00
Eugen Rochko
675b8fea53
Adjust suggested ES host in .env sample for docker-compose config ( #6710 )
2018-03-09 11:32:55 +01:00
Yamagishi Kazutoshi
4c16ddf588
Change avatar size on form hints ( #6707 )
2018-03-09 10:57:33 +01:00
Renato "Lond" Cerqueira
5ba4c36f95
Weblate translations (2018-03-09) ( #6708 )
...
* Translated using Weblate (Galician)
Currently translated at 100.0% (580 of 580 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (580 of 580 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (Japanese)
Currently translated at 99.8% (579 of 580 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (581 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (276 of 276 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (276 of 276 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/pt_BR/
* Translated using Weblate (French)
Currently translated at 99.8% (580 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (German)
Currently translated at 99.3% (577 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/de/
* Translated using Weblate (German)
Currently translated at 99.3% (577 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/de/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (62 of 62 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/pt_BR/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (580 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pt_BR/
* Translated using Weblate (Japanese)
Currently translated at 99.8% (580 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (German)
Currently translated at 100.0% (276 of 276 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/de/
* Translated using Weblate (Catalan)
Currently translated at 100.0% (581 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ca/
* Translated using Weblate (French)
Currently translated at 100.0% (276 of 276 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/
* Translated using Weblate (French)
Currently translated at 99.8% (580 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (276 of 276 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Polish)
Currently translated at 99.8% (580 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pl/
* Translated using Weblate (Esperanto)
Currently translated at 100.0% (581 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/eo/
* Translated using Weblate (Esperanto)
Currently translated at 100.0% (581 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/eo/
* Translated using Weblate (Esperanto)
Currently translated at 100.0% (276 of 276 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/eo/
* Translated using Weblate (Slovak)
Currently translated at 90.3% (525 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Japanese)
Currently translated at 99.8% (580 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Galician)
Currently translated at 100.0% (581 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Normalize translations
Ran i18n-tasks normalize && yarn manage:translations
2018-03-09 18:38:13 +09:00
Jeong Arm
ccd53e983c
Missing Korean translations ( #6703 )
2018-03-09 14:21:47 +09:00
Jenkins
447d7e6127
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
2018-03-09 00:17:17 +00:00
Eugen Rochko
ff44b2e92d
Add missing meta description to profiles, some other SEO stuff ( #6706 )
...
- Add missing meta description to profiles
- Add canonical rel link to landing page
- Remove linebreaks from title tags
- Add username to profile title
- Add toots/following/followers to profile description tags
- Add next/prev rel links to profiles
- Do not index follower/following variants of profiles
2018-03-09 00:35:07 +01:00
Yamagishi Kazutoshi
188aa3ea50
Add polyfill for Object.values ( #6697 )
2018-03-08 13:07:25 +01:00
Eugen Rochko
bd077ad7d9
Bump version to 2.3.0rc3
2018-03-08 11:19:02 +01:00
Eugen Rochko
a29d409e20
If login redirects to omniauth, redirect logout to root_path ( #6694 )
...
Fix #6670
2018-03-08 11:18:26 +01:00
Eugen Rochko
5acd5315f2
Improve styling of closed registrations message, rename button ( #6695 )
...
* Improve styling of closed registrations message, rename button
"Sign up on another server"
Fix #6683
* Adjust styling of closed registrations message
2018-03-08 11:10:37 +01:00
Eugen Rochko
b79ab15859
When enabled, always display media in gallery. Also: click to reveal ( #6692 )
...
Fix #6677
2018-03-08 08:57:21 +01:00
Eugen Rochko
77406d3a09
Display AttachmentList in notifications ( #6693 )
2018-03-08 08:22:04 +01:00
Eugen Rochko
510c9049c7
For now, put a "." into no-text statuses with media for backcompat ( #6691 )
2018-03-08 08:20:49 +01:00
Yamagishi Kazutoshi
ed902581d3
Update Yarn to version 1.5.1 ( #6689 )
2018-03-08 07:09:10 +01:00
Eugen Rochko
64db9ed5f6
After blocking domain with reject_media, invalidate cache ( #6679 )
...
Media attachments are part of the association cache of statuses,
since they are presumed to be immutable. Unless this cache is
cleared manually, the statuses will continue to look like they
have media embedded.
2018-03-08 06:59:42 +01:00
Yamagishi Kazutoshi
1085ef3836
Weblate translations (2018-03-08) ( #6690 )
...
* Translated using Weblate (French)
Currently translated at 99.8% (578 of 579 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (French)
Currently translated at 99.8% (578 of 579 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (French)
Currently translated at 99.8% (578 of 579 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (French)
Currently translated at 100.0% (275 of 275 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/
* Translated using Weblate (Slovak)
Currently translated at 85.3% (494 of 579 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (275 of 275 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (275 of 275 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (275 of 275 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/pt_BR/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (578 of 579 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pt_BR/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (275 of 275 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/
* Translated using Weblate (Arabic)
Currently translated at 99.2% (273 of 275 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (275 of 275 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/
* Translated using Weblate (Arabic)
Currently translated at 66.8% (387 of 579 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Arabic)
Currently translated at 93.1% (54 of 58 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ar/
* Translated using Weblate (French)
Currently translated at 99.8% (578 of 579 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Slovak)
Currently translated at 87.7% (508 of 579 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (275 of 275 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/
* bundle exec i18n-tasks normalize && yarn manage:translations
* Remove ar.simple_form.hints.defaults.{display_name,note}
2018-03-08 06:59:34 +01:00
Eugen Rochko
86a9de6753
Display AttachmentList in timelines in compact style when media missing ( #6680 )
2018-03-08 04:54:26 +01:00
Yamagishi Kazutoshi
83c982b458
Run tests with npm-run-all ( #6688 )
2018-03-08 04:43:57 +01:00
Renato "Lond" Cerqueira
9aba44ea79
Rescue when there's no extension in the remotable ( #6358 )
...
* Rescue when there's no extension in the remotable
Sometimes the remotable is pointing to a directory with no file
extension. Maybe it should not be expecting to identify based on
extensions to begin with, but since it's the case, it should be ready
for it.
* Fix codeclimate issue
* Check if filename is nil instead of rescueing exception
Suggestion made in the PR
* Avoid concatenation issue if filename is nil
If filename is nil, extname was undefined
* Invert condition
Address PR comments
2018-03-08 02:25:10 +01:00
MitarashiDango
6dcf96271e
fix validation error (media only status) ( #6684 )
...
* fix validation error (media only status)
* Incorporating review suggestions
* Reflect similar fix to OStatus side
* Fix not to include media in transaction
* Restore the limit of the number of media
* Fix not to return nil
2018-03-08 01:22:47 +01:00
Eugen Rochko
4ca60c665e
Bump version to 2.3.0rc2
2018-03-07 12:06:23 +01:00
Eugen Rochko
b170627ceb
Fix cover behaviour of thumbnails that are wider than taller ( #6678 )
2018-03-07 12:02:05 +01:00
Eugen Rochko
a1b065700a
Fix focal point modals broken by #5956 ( #6676 )
2018-03-07 12:01:53 +01:00
Eugen Rochko
8de048fcdb
In wide layout, columnize Mastodon features on landing page ( #6674 )
2018-03-07 08:59:27 +01:00
Eugen Rochko
cfa9b6e13a
Remove text requirement when media attached from statuses ( #6672 )
2018-03-07 08:28:52 +01:00
vpzomtrrfrt
e26d5ca923
Don't escape statuses while truncating ( #6671 )
2018-03-07 07:12:01 +01:00
Effy Elden
dd9d00d293
Add additional first_name and last_name SAML attribute statement options, and modify Omniauthable concern to use full_name or first_name + last_name if not available ( #6669 )
2018-03-07 06:19:10 +01:00
Eugen Rochko
89a52d6280
Fix wrong target URIs in ActivityPub Add/Remove ( #6668 )
2018-03-07 05:58:24 +01:00
Eugen Rochko
e6520c0270
Fix #6657 - Use target instead of origin in Remove activity ( #6664 )
2018-03-07 03:54:46 +01:00
Akihiko Odaki
913a38111f
Remove pointer events on the entire UI when a dropdown menu is open ( #6648 )
...
* Remove pointer events on the entire UI when a dropdown menu is open
This prevents operations to change the location of the menu such as
scrolling.
* Fix mistake from merge
2018-03-07 02:26:43 +01:00
Eugen Rochko
4847149b6e
Always install LDAP, CAS and SAML gems, because they don't require deps ( #6663 )
...
Fix #6534
PAM requires a system dependency so...
2018-03-07 02:25:17 +01:00
Eugen Rochko
d7573fe584
Separate chown command in Dockerfile. Use tootsuite/mastodon image ( #6662 )
...
Fix #6605
2018-03-07 01:57:31 +01:00
Sylvhem
cb74c0cfe4
Add headings to the security settings page ( #6661 )
...
* Changes the headings' rank of the security settings section
This commit changes the existing headings' rank of the security settings section from level 6 to level 4.
* Renames the auth.change_password string into auth.security
The "Security" preferences' section used to be called "Change password". When it was renamed, the string name wasn't changed.
This commits changes auth.change_password to auth.security.
* Adds a heading to the password change form
There was previously no heading for the part of the "Security" page that contain the password change form.
This commit adds a rank 4 heading to this section and reintroduces an "auth.change_password" string to be used inside it.
* Removes useless HR elements
The various sections of the "Security" settings page were previously separated by HR elements.
Now that there is proper headings, they're not required anymore.
* Updates CSS
This commit updates CSS in such a way that the same style is applied to all the H4 elements of the settings.
* Correct a mistake
A character went missing on one of the previous commits, broking the CSS.
This new commit fixes it.
2018-03-07 01:39:40 +01:00
Daniel Hunsaker
b725924f0a
[Nanobox] Tuning Update ( #6660 )
...
Various preformance and stability enhancements for instances deployed via Nanobox.
2018-03-06 21:59:35 +01:00
Akihiko Odaki
81cefc1913
Do not use npm ( #6656 )
...
Both of yarn and npm are used in Mastodon, but the combined usage requires
a redundant dependency and may lead to data inconsistency.
Considering that yarn has autoclean feature which npm does not have,
this change replaces all npm usage with yarn.
This change requires documentation update. Most notably, the following
command must be executed before assets precompilation if any system
dependency of node-sass has changed:
yarn install --force --pure-lockfile
2018-03-06 21:36:46 +01:00
Akihiko Odaki
a07cfee644
Extract columns area from UI component ( #6650 )
...
UI component used to toggle isComposing state by directly manipulating the
DOM element to avoid the expensive rendering.
However, it is hacky, and is not effective for other states. Instead,
this change makes the rendering cheaper by extracting the huge columns
area.
2018-03-06 07:45:31 +01:00
Akihiko Odaki
13cf92df27
Use React.PureComponent instead of React.Component ( #6653 )
2018-03-06 07:28:26 +01:00
Akihiko Odaki
61e6275781
Use withRouter for TabsBar ( #6652 )
...
TabsBar refers to router, which is a private context property of
react-router. withRouter is a recommended alternative. It also allows to
track location changes even if React.PureComponent is used.
2018-03-06 07:28:05 +01:00
Eugen Rochko
78d772af86
Fix #3807 : Increase avatars to 400x400 max ( #6651 )
...
But do not upscale when they are smaller
2018-03-06 06:29:01 +01:00
Yamagishi Kazutoshi
e9e475a29d
Upgrade chewy to version 5.0.0 ( #6649 )
2018-03-06 06:14:26 +01:00
Eugen Rochko
20d1be18af
Fix accounts' display name/bio not being set from initial state ( #6644 )
2018-03-06 00:08:35 +01:00
Akihiko Odaki
b0664a5e6c
Replace onScrollToBottom with onLoadMore ( #6615 )
...
onScrollToBottom was a function to run instead of onScrollToTop and
onScroll when scrolling to the bottom. The behavior to prevent
onScrollToTop was inconvenient because the viewport can be at the bottom
and at the top at the same time if the viewport is larger than the
container.
onScrollToBottom was also called when the button to load more is clicked
on contray to the name suggests, which led notifications and
status_list_container components to mark the scrolled location is not at
the top mistakenly.
onLoadMore is a replacement for onScrollToBottom. It will be called
independently from onScrollToTop and onScroll.
2018-03-05 19:31:40 +01:00
Akihiko Odaki
a38dbd9c8a
Redirect from Web tag timeline to public tag timeline if not signed in ( #6633 )
...
This is also implemented in Pawoo:
ceafdbd1bb
2018-03-05 19:29:36 +01:00
Akihiko Odaki
f6a8d835d3
Place dropdown menu top if it is closer to the bottom of the viewport ( #6641 )
2018-03-05 19:28:56 +01:00
ThibG
4746feaa1c
Add “Domain hidden” badge ( #6636 )
2018-03-05 16:45:36 +01:00
haosbvnker
3d4e788ea9
Fix permissions for volumes ( #6637 )
...
When volumes are declared, but the corresponding directories don't exist, permissions for those directories will be root:root instead of mastodon:mastodon..
This changes makes sure the permissions of the volume directories are as expected.
2018-03-05 16:45:09 +01:00