Compare commits
No commits in common. "cybrespace-3.3" and "theme_light" have entirely different histories.
cybrespace
...
theme_ligh
|
@ -6,9 +6,7 @@ class Api::V2::MediaController < Api::V1::MediaController
|
||||||
render json: @media_attachment, serializer: REST::MediaAttachmentSerializer, status: 202
|
render json: @media_attachment, serializer: REST::MediaAttachmentSerializer, status: 202
|
||||||
rescue Paperclip::Errors::NotIdentifiedByImageMagickError
|
rescue Paperclip::Errors::NotIdentifiedByImageMagickError
|
||||||
render json: file_type_error, status: 422
|
render json: file_type_error, status: 422
|
||||||
rescue Paperclip::Error => e
|
rescue Paperclip::Error
|
||||||
Rails.logger.error "Ran into media create error (#{e.message})"
|
|
||||||
e.backtrace.each{ |line| Rails.logger.error line }
|
|
||||||
render json: processing_error, status: 500
|
render json: processing_error, status: 500
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -23,12 +23,7 @@ module Localized
|
||||||
if ENV['DEFAULT_LOCALE'].present?
|
if ENV['DEFAULT_LOCALE'].present?
|
||||||
I18n.default_locale
|
I18n.default_locale
|
||||||
else
|
else
|
||||||
case request_locale
|
request_locale || I18n.default_locale
|
||||||
when /en\b/, nil
|
|
||||||
I18n.default_locale
|
|
||||||
else
|
|
||||||
request_locale
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
module SettingsHelper
|
module SettingsHelper
|
||||||
HUMAN_LOCALES = {
|
HUMAN_LOCALES = {
|
||||||
en: 'English',
|
|
||||||
'en-CY': 'English (Cybre)',
|
|
||||||
ar: 'العربية',
|
ar: 'العربية',
|
||||||
ast: 'Asturianu',
|
ast: 'Asturianu',
|
||||||
bg: 'Български',
|
bg: 'Български',
|
||||||
|
|
Before Width: | Height: | Size: 622 B |
Before Width: | Height: | Size: 232 KiB |
Before Width: | Height: | Size: 378 B |
Before Width: | Height: | Size: 8.7 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 34 KiB |
|
@ -1,64 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="384" version="1.1" height="384">
|
|
||||||
<g transform="translate(-282.71845,-76)" id="RenderLayer_LineSet">
|
|
||||||
<g id="strokes">
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path2" d="m 405.991,306.829 v 10 10 10 10 10 10 10 10 6.581 5.978 9.656 3.057" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path4" d="m 405.991,409.044 v 0 -9.656 -5.978 -10 -10 -10 -10 -10 -10 -10 -10 -6.581" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path6" d="m 370.692,127.899 v 1.329 10 1.4 10 0.947 4.955 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path8" d="m 439.906,283.073 v 0 h -10 -10 -10.303 -3.612 -10 -10 -10 -2.337 l -2.962,-2.901 v 0" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path10" d="m 373.654,283.073 -2.962,-2.901 v -10 -10 -10 -10 -10 -10 -1.283 -10 -10 -10 -10 -10 -9.658" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path12" d="m 370.692,127.899 h -7.383 -10 -2.899 -5.311 v 0 l -0.45,0.28 -0.37,0.387 -0.268,0.47 v 0.192 10 1.4 10 0.947 4.955 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283 2.901 10 4.487 5.906 3.363 10 10 10 10 10 10 10 10 6.581 l 6.235,6.039 7.183,6.957 2.643,2.56 3.237,3.135 v 0 h 7.383 2.962 10 10 10 2.337 v 0 0 -3.057" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path14" d="m 584.095,303.466 3.074,3.363 v 10 10 10 10 10 10 10 10 6.581 6.183 9.988 10e-4 0.001 2.518 h 6.497 10 2.976 7.534 v 0 0" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path16" d="m 615.989,393.41 v -10 -10 -10 -10 -10 -10 -10 -10 -6.581 -3.363 -5.906 -10 -4.487 -2.901 -10 -10 -10 -10 -10 -10 -1.283 -10 -10 -10 -10 -10 -9.658 -2.701 -4.955 -10 -0.947 -10 -1.4 -0.061 l -0.299,-0.524 -0.394,-0.413 -0.019,-0.019 v 0" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path18" d="m 584.093,129.228 h -10 -10 -10 -10 l -10,-0.001 h -10 -5.476 -10 -10 -10 -10 -10 -10 l -10,-0.001 h -8.828 -10 -10 -10 -0.326 -3.615 l -10,0.001 h -10 l -10,0.001 h -2.205 -2.951 v 0" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path20" d="m 615.277,128.211 v 0 l -0.501,-0.312 v 0 0 h -8.134 -10 -2.976 -6.497 v 1.329" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path22" d="m 615.69,128.643 0.299,0.524 v 0.061 10 1.4 10 0.947 4.955 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283 2.901 10 4.487 5.906 3.363 10 10 10 10 10 10 10 10 6.581 6.183 9.987 0.626 l -0.447,0.784 -0.617,0.644 -0.749,0.467" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path24" d="m 587.169,156.53 v 0 0 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283 l -3.074,2.901 h -10 -10 -10 -10 -10 -10 -5.424" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path26" d="m 370.692,129.228 v -1.329 0 0" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path28" d="m 584.093,129.228 h 3.076" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path30" d="m 350.41,140.628 h 10 2.899 v 10 0.947 h -3.555 -9.344 v 0" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path32" d="m 587.169,129.228 v 10 1.4 10 0.947 4.955" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path34" d="m 350.41,151.575 v -10 -0.947" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path36" d="m 593.666,151.575 v -10 -0.947 0 h 10 2.976" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path38" d="m 606.642,140.628 v 10 0.947 h -10 -2.976 v 0 -10 -0.947" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path40" d="m 615.69,128.643 -0.394,-0.413 -0.019,-0.019 v 0 l -0.501,-0.312" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path42" d="m 615.989,393.41 v 6.183 9.987 0.626 l -0.447,0.783 -0.576,0.603 -0.041,0.042 v 0" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path44" d="m 614.925,411.634 v 0 l -0.749,0.467" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path46" d="m 615.69,128.643 -0.009,-0.01 -0.404,-0.422 -0.501,-0.312" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path48" d="m 614.176,412.101 0.749,-0.467 v 0 l 0.041,-0.042 0.576,-0.603 0.447,-0.783 v -0.626 -9.987 -6.183" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path50" d="m 406.223,306.613 -0.232,0.216 v 0 l 0.232,-0.216 3.38,-3.147 h 10 10 10.303 10 10 10 10 10 10 10 8.765 10 10 1.007" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path52" d="m 518.671,283.073 v 0 h -10 -2.247" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path54" d="m 615.277,128.211 0.404,0.422" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path56" d="m 383.445,273.927 h 10 10 10 10 10 6.461" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path58" d="m 576.555,273.927 2.03,-0.051 1.978,-0.302 1.707,-0.727" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path60" d="m 582.27,272.847 1.099,-1.131 0.456,-1.309 0.077,-1.342" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path62" d="m 583.902,269.065 v -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -9.834 0 -10 -7.959" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path64" d="m 583.902,141.272 -0.077,-1.344 -0.457,-1.309 -1.098,-1.13" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path66" d="m 582.27,137.489 -1.709,-0.727 -1.977,-0.301 -2.029,-0.051" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path68" d="m 576.555,136.41 h -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -3.11 l -2.03,0.051 -1.978,0.302 -1.707,0.726" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path70" d="m 377.73,137.489 -1.099,1.131 -0.456,1.309 -0.077,1.343" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path72" d="m 376.098,269.065 0.077,1.343 0.457,1.309 1.098,1.13" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path74" d="m 377.73,272.847 1.709,0.727 1.977,0.302 2.029,0.051" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path76" d="m 457.882,318.176 v 10 10 10 10 10 10 10 8.996 l -0.375,1.491 -0.542,1.03" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path78" d="m 456.965,399.693 h -10 -10 -8.726 l -0.542,-1.03 -0.375,-1.491" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path80" d="m 539.678,303.466 -0.064,-0.035 h -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10.198 l -1.889,1.029 -1.304,1.491" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path82" d="m 543.74,411.917 v -2.465 -0.024 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -2.742 l -1.686,-1.925 -2.376,-1.295" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path84" d="m 427.612,316.452 0.42,-0.797 h 10 10 8.933 l 0.542,1.03 0.375,1.491" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path86" d="m 427.322,317.607 0.29,-1.155" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path88" d="m 350.41,151.575 v -10 -0.947" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path90" d="m 370.692,127.899 v 0" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path92" d="m 376.098,141.272 v 10 7.954 0.005 10 10 10 10 10 10 10 10 10 10 9.834" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path94" d="m 405.991,409.044 v 3.057" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path96" d="m 406.223,305.951 v 0.662 0 0 0 10 10 10 10 10 10 10 10 10 10 2.333 0.098 2.873" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path98" d="m 427.322,397.172 v -10 -10 -10 -10 -10 -10 -10 -9.565" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path100" d="m 405.991,409.044 h 0.232" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path102" d="m 506.424,283.073 h -3.436 -10 -10 -10 -10 -6.548 -3.543 -10e-4 -10 -2.99" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path104" d="m 406.223,411.917 h 10 10 10 10 10 10 10 10 10 10 10 10 10 7.517" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path106" d="m 518.671,273.927 h 10 10 10 10 10 7.884" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path108" d="m 439.906,273.927 h 6.803 v 0 h 2.704 10 10 10 10 10 10.551 2.65 10e-4 6.056" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path110" d="m 539.678,303.466 h 10 10 10 10 4.417" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path112" d="m 587.169,156.53 v 0" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path114" d="m 543.74,409.452 10,0.029 10,0.03 10,0.03 9.999,0.029 3.43,0.01" />
|
|
||||||
<path style="fill:none;stroke:#87B97D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path116" d="m 615.989,393.41 v -10 -10 -10 -10 -10 -10 -10 -10 -6.581" />
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 12 KiB |
|
@ -1,64 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="384" version="1.1" height="384">
|
|
||||||
<g transform="translate(-282.71845,-76)" id="RenderLayer_LineSet">
|
|
||||||
<g id="strokes">
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path2" d="m 405.991,306.829 v 10 10 10 10 10 10 10 10 6.581 5.978 9.656 3.057" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path4" d="m 405.991,409.044 v 0 -9.656 -5.978 -10 -10 -10 -10 -10 -10 -10 -10 -6.581" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path6" d="m 370.692,127.899 v 1.329 10 1.4 10 0.947 4.955 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path8" d="m 439.906,283.073 v 0 h -10 -10 -10.303 -3.612 -10 -10 -10 -2.337 l -2.962,-2.901 v 0" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path10" d="m 373.654,283.073 -2.962,-2.901 v -10 -10 -10 -10 -10 -10 -1.283 -10 -10 -10 -10 -10 -9.658" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path12" d="m 370.692,127.899 h -7.383 -10 -2.899 -5.311 v 0 l -0.45,0.28 -0.37,0.387 -0.268,0.47 v 0.192 10 1.4 10 0.947 4.955 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283 2.901 10 4.487 5.906 3.363 10 10 10 10 10 10 10 10 6.581 l 6.235,6.039 7.183,6.957 2.643,2.56 3.237,3.135 v 0 h 7.383 2.962 10 10 10 2.337 v 0 0 -3.057" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path14" d="m 584.095,303.466 3.074,3.363 v 10 10 10 10 10 10 10 10 6.581 6.183 9.988 10e-4 0.001 2.518 h 6.497 10 2.976 7.534 v 0 0" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path16" d="m 615.989,393.41 v -10 -10 -10 -10 -10 -10 -10 -10 -6.581 -3.363 -5.906 -10 -4.487 -2.901 -10 -10 -10 -10 -10 -10 -1.283 -10 -10 -10 -10 -10 -9.658 -2.701 -4.955 -10 -0.947 -10 -1.4 -0.061 l -0.299,-0.524 -0.394,-0.413 -0.019,-0.019 v 0" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path18" d="m 584.093,129.228 h -10 -10 -10 -10 l -10,-0.001 h -10 -5.476 -10 -10 -10 -10 -10 -10 l -10,-0.001 h -8.828 -10 -10 -10 -0.326 -3.615 l -10,0.001 h -10 l -10,0.001 h -2.205 -2.951 v 0" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path20" d="m 615.277,128.211 v 0 l -0.501,-0.312 v 0 0 h -8.134 -10 -2.976 -6.497 v 1.329" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path22" d="m 615.69,128.643 0.299,0.524 v 0.061 10 1.4 10 0.947 4.955 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283 2.901 10 4.487 5.906 3.363 10 10 10 10 10 10 10 10 6.581 6.183 9.987 0.626 l -0.447,0.784 -0.617,0.644 -0.749,0.467" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path24" d="m 587.169,156.53 v 0 0 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283 l -3.074,2.901 h -10 -10 -10 -10 -10 -10 -5.424" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path26" d="m 370.692,129.228 v -1.329 0 0" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path28" d="m 584.093,129.228 h 3.076" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path30" d="m 350.41,140.628 h 10 2.899 v 10 0.947 h -3.555 -9.344 v 0" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path32" d="m 587.169,129.228 v 10 1.4 10 0.947 4.955" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path34" d="m 350.41,151.575 v -10 -0.947" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path36" d="m 593.666,151.575 v -10 -0.947 0 h 10 2.976" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path38" d="m 606.642,140.628 v 10 0.947 h -10 -2.976 v 0 -10 -0.947" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path40" d="m 615.69,128.643 -0.394,-0.413 -0.019,-0.019 v 0 l -0.501,-0.312" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path42" d="m 615.989,393.41 v 6.183 9.987 0.626 l -0.447,0.783 -0.576,0.603 -0.041,0.042 v 0" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path44" d="m 614.925,411.634 v 0 l -0.749,0.467" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path46" d="m 615.69,128.643 -0.009,-0.01 -0.404,-0.422 -0.501,-0.312" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path48" d="m 614.176,412.101 0.749,-0.467 v 0 l 0.041,-0.042 0.576,-0.603 0.447,-0.783 v -0.626 -9.987 -6.183" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path50" d="m 406.223,306.613 -0.232,0.216 v 0 l 0.232,-0.216 3.38,-3.147 h 10 10 10.303 10 10 10 10 10 10 10 8.765 10 10 1.007" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path52" d="m 518.671,283.073 v 0 h -10 -2.247" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path54" d="m 615.277,128.211 0.404,0.422" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path56" d="m 383.445,273.927 h 10 10 10 10 10 6.461" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path58" d="m 576.555,273.927 2.03,-0.051 1.978,-0.302 1.707,-0.727" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path60" d="m 582.27,272.847 1.099,-1.131 0.456,-1.309 0.077,-1.342" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path62" d="m 583.902,269.065 v -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -9.834 0 -10 -7.959" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path64" d="m 583.902,141.272 -0.077,-1.344 -0.457,-1.309 -1.098,-1.13" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path66" d="m 582.27,137.489 -1.709,-0.727 -1.977,-0.301 -2.029,-0.051" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path68" d="m 576.555,136.41 h -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -3.11 l -2.03,0.051 -1.978,0.302 -1.707,0.726" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path70" d="m 377.73,137.489 -1.099,1.131 -0.456,1.309 -0.077,1.343" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path72" d="m 376.098,269.065 0.077,1.343 0.457,1.309 1.098,1.13" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path74" d="m 377.73,272.847 1.709,0.727 1.977,0.302 2.029,0.051" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path76" d="m 457.882,318.176 v 10 10 10 10 10 10 10 8.996 l -0.375,1.491 -0.542,1.03" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path78" d="m 456.965,399.693 h -10 -10 -8.726 l -0.542,-1.03 -0.375,-1.491" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path80" d="m 539.678,303.466 -0.064,-0.035 h -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10.198 l -1.889,1.029 -1.304,1.491" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path82" d="m 543.74,411.917 v -2.465 -0.024 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -2.742 l -1.686,-1.925 -2.376,-1.295" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path84" d="m 427.612,316.452 0.42,-0.797 h 10 10 8.933 l 0.542,1.03 0.375,1.491" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path86" d="m 427.322,317.607 0.29,-1.155" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path88" d="m 350.41,151.575 v -10 -0.947" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path90" d="m 370.692,127.899 v 0" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path92" d="m 376.098,141.272 v 10 7.954 0.005 10 10 10 10 10 10 10 10 10 10 9.834" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path94" d="m 405.991,409.044 v 3.057" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path96" d="m 406.223,305.951 v 0.662 0 0 0 10 10 10 10 10 10 10 10 10 10 2.333 0.098 2.873" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path98" d="m 427.322,397.172 v -10 -10 -10 -10 -10 -10 -10 -9.565" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path100" d="m 405.991,409.044 h 0.232" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path102" d="m 506.424,283.073 h -3.436 -10 -10 -10 -10 -6.548 -3.543 -10e-4 -10 -2.99" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path104" d="m 406.223,411.917 h 10 10 10 10 10 10 10 10 10 10 10 10 10 7.517" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path106" d="m 518.671,273.927 h 10 10 10 10 10 7.884" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path108" d="m 439.906,273.927 h 6.803 v 0 h 2.704 10 10 10 10 10 10.551 2.65 10e-4 6.056" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path110" d="m 539.678,303.466 h 10 10 10 10 4.417" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path112" d="m 587.169,156.53 v 0" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path114" d="m 543.74,409.452 10,0.029 10,0.03 10,0.03 9.999,0.029 3.43,0.01" />
|
|
||||||
<path style="fill:none;stroke:#A9713D;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path116" d="m 615.989,393.41 v -10 -10 -10 -10 -10 -10 -10 -10 -6.581" />
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 12 KiB |
|
@ -1,64 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="384" version="1.1" height="384">
|
|
||||||
<g transform="translate(-282.71845,-76)" id="RenderLayer_LineSet">
|
|
||||||
<g id="strokes">
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path2" d="m 405.991,306.829 v 10 10 10 10 10 10 10 10 6.581 5.978 9.656 3.057" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path4" d="m 405.991,409.044 v 0 -9.656 -5.978 -10 -10 -10 -10 -10 -10 -10 -10 -6.581" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path6" d="m 370.692,127.899 v 1.329 10 1.4 10 0.947 4.955 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path8" d="m 439.906,283.073 v 0 h -10 -10 -10.303 -3.612 -10 -10 -10 -2.337 l -2.962,-2.901 v 0" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path10" d="m 373.654,283.073 -2.962,-2.901 v -10 -10 -10 -10 -10 -10 -1.283 -10 -10 -10 -10 -10 -9.658" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path12" d="m 370.692,127.899 h -7.383 -10 -2.899 -5.311 v 0 l -0.45,0.28 -0.37,0.387 -0.268,0.47 v 0.192 10 1.4 10 0.947 4.955 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283 2.901 10 4.487 5.906 3.363 10 10 10 10 10 10 10 10 6.581 l 6.235,6.039 7.183,6.957 2.643,2.56 3.237,3.135 v 0 h 7.383 2.962 10 10 10 2.337 v 0 0 -3.057" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path14" d="m 584.095,303.466 3.074,3.363 v 10 10 10 10 10 10 10 10 6.581 6.183 9.988 10e-4 0.001 2.518 h 6.497 10 2.976 7.534 v 0 0" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path16" d="m 615.989,393.41 v -10 -10 -10 -10 -10 -10 -10 -10 -6.581 -3.363 -5.906 -10 -4.487 -2.901 -10 -10 -10 -10 -10 -10 -1.283 -10 -10 -10 -10 -10 -9.658 -2.701 -4.955 -10 -0.947 -10 -1.4 -0.061 l -0.299,-0.524 -0.394,-0.413 -0.019,-0.019 v 0" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path18" d="m 584.093,129.228 h -10 -10 -10 -10 l -10,-0.001 h -10 -5.476 -10 -10 -10 -10 -10 -10 l -10,-0.001 h -8.828 -10 -10 -10 -0.326 -3.615 l -10,0.001 h -10 l -10,0.001 h -2.205 -2.951 v 0" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path20" d="m 615.277,128.211 v 0 l -0.501,-0.312 v 0 0 h -8.134 -10 -2.976 -6.497 v 1.329" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path22" d="m 615.69,128.643 0.299,0.524 v 0.061 10 1.4 10 0.947 4.955 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283 2.901 10 4.487 5.906 3.363 10 10 10 10 10 10 10 10 6.581 6.183 9.987 0.626 l -0.447,0.784 -0.617,0.644 -0.749,0.467" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path24" d="m 587.169,156.53 v 0 0 2.701 10 10 10 10 10 9.658 10 10 10 10 10 10 1.283 l -3.074,2.901 h -10 -10 -10 -10 -10 -10 -5.424" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path26" d="m 370.692,129.228 v -1.329 0 0" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path28" d="m 584.093,129.228 h 3.076" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path30" d="m 350.41,140.628 h 10 2.899 v 10 0.947 h -3.555 -9.344 v 0" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path32" d="m 587.169,129.228 v 10 1.4 10 0.947 4.955" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path34" d="m 350.41,151.575 v -10 -0.947" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path36" d="m 593.666,151.575 v -10 -0.947 0 h 10 2.976" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path38" d="m 606.642,140.628 v 10 0.947 h -10 -2.976 v 0 -10 -0.947" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path40" d="m 615.69,128.643 -0.394,-0.413 -0.019,-0.019 v 0 l -0.501,-0.312" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path42" d="m 615.989,393.41 v 6.183 9.987 0.626 l -0.447,0.783 -0.576,0.603 -0.041,0.042 v 0" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path44" d="m 614.925,411.634 v 0 l -0.749,0.467" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path46" d="m 615.69,128.643 -0.009,-0.01 -0.404,-0.422 -0.501,-0.312" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path48" d="m 614.176,412.101 0.749,-0.467 v 0 l 0.041,-0.042 0.576,-0.603 0.447,-0.783 v -0.626 -9.987 -6.183" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path50" d="m 406.223,306.613 -0.232,0.216 v 0 l 0.232,-0.216 3.38,-3.147 h 10 10 10.303 10 10 10 10 10 10 10 8.765 10 10 1.007" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path52" d="m 518.671,283.073 v 0 h -10 -2.247" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path54" d="m 615.277,128.211 0.404,0.422" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path56" d="m 383.445,273.927 h 10 10 10 10 10 6.461" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path58" d="m 576.555,273.927 2.03,-0.051 1.978,-0.302 1.707,-0.727" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path60" d="m 582.27,272.847 1.099,-1.131 0.456,-1.309 0.077,-1.342" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path62" d="m 583.902,269.065 v -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -9.834 0 -10 -7.959" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path64" d="m 583.902,141.272 -0.077,-1.344 -0.457,-1.309 -1.098,-1.13" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path66" d="m 582.27,137.489 -1.709,-0.727 -1.977,-0.301 -2.029,-0.051" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path68" d="m 576.555,136.41 h -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -3.11 l -2.03,0.051 -1.978,0.302 -1.707,0.726" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path70" d="m 377.73,137.489 -1.099,1.131 -0.456,1.309 -0.077,1.343" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path72" d="m 376.098,269.065 0.077,1.343 0.457,1.309 1.098,1.13" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path74" d="m 377.73,272.847 1.709,0.727 1.977,0.302 2.029,0.051" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path76" d="m 457.882,318.176 v 10 10 10 10 10 10 10 8.996 l -0.375,1.491 -0.542,1.03" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path78" d="m 456.965,399.693 h -10 -10 -8.726 l -0.542,-1.03 -0.375,-1.491" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path80" d="m 539.678,303.466 -0.064,-0.035 h -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10.198 l -1.889,1.029 -1.304,1.491" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path82" d="m 543.74,411.917 v -2.465 -0.024 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -2.742 l -1.686,-1.925 -2.376,-1.295" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path84" d="m 427.612,316.452 0.42,-0.797 h 10 10 8.933 l 0.542,1.03 0.375,1.491" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path86" d="m 427.322,317.607 0.29,-1.155" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path88" d="m 350.41,151.575 v -10 -0.947" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path90" d="m 370.692,127.899 v 0" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path92" d="m 376.098,141.272 v 10 7.954 0.005 10 10 10 10 10 10 10 10 10 10 9.834" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path94" d="m 405.991,409.044 v 3.057" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path96" d="m 406.223,305.951 v 0.662 0 0 0 10 10 10 10 10 10 10 10 10 10 2.333 0.098 2.873" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path98" d="m 427.322,397.172 v -10 -10 -10 -10 -10 -10 -10 -9.565" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path100" d="m 405.991,409.044 h 0.232" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path102" d="m 506.424,283.073 h -3.436 -10 -10 -10 -10 -6.548 -3.543 -10e-4 -10 -2.99" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path104" d="m 406.223,411.917 h 10 10 10 10 10 10 10 10 10 10 10 10 10 7.517" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path106" d="m 518.671,273.927 h 10 10 10 10 10 7.884" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path108" d="m 439.906,273.927 h 6.803 v 0 h 2.704 10 10 10 10 10 10.551 2.65 10e-4 6.056" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path110" d="m 539.678,303.466 h 10 10 10 10 4.417" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path112" d="m 587.169,156.53 v 0" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path114" d="m 543.74,409.452 10,0.029 10,0.03 10,0.03 9.999,0.029 3.43,0.01" />
|
|
||||||
<path style="fill:none;stroke:#CB7590;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" id="path116" d="m 615.989,393.41 v -10 -10 -10 -10 -10 -10 -10 -10 -6.581" />
|
|
||||||
</g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 398 KiB |
Before Width: | Height: | Size: 497 B |
Before Width: | Height: | Size: 356 B |
Before Width: | Height: | Size: 418 B |
Before Width: | Height: | Size: 488 B |
Before Width: | Height: | Size: 390 B |
Before Width: | Height: | Size: 452 B |
Before Width: | Height: | Size: 589 B |
Before Width: | Height: | Size: 561 B |
Before Width: | Height: | Size: 328 B |
Before Width: | Height: | Size: 457 B |
Before Width: | Height: | Size: 384 B |
Before Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 437 B |
Before Width: | Height: | Size: 599 B |
Before Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 650 B |
Before Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 282 B |
Before Width: | Height: | Size: 337 B |
Before Width: | Height: | Size: 340 B |
Before Width: | Height: | Size: 688 B |
Before Width: | Height: | Size: 780 B |
Before Width: | Height: | Size: 639 B |
Before Width: | Height: | Size: 498 B |
Before Width: | Height: | Size: 184 KiB |
Before Width: | Height: | Size: 263 B |
|
@ -66,8 +66,6 @@ const getUnitDelay = units => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const fallbackFormat = new Intl.DateTimeFormat('en', shortDateFormatOptions);
|
|
||||||
|
|
||||||
export const timeAgoString = (intl, date, now, year, timeGiven = true) => {
|
export const timeAgoString = (intl, date, now, year, timeGiven = true) => {
|
||||||
const delta = now - date.getTime();
|
const delta = now - date.getTime();
|
||||||
|
|
||||||
|
|
|
@ -319,9 +319,10 @@ class StatusActionBar extends ImmutablePureComponent {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='status__action-bar'>
|
<div className='status__action-bar'>
|
||||||
<IconButton className='status__action-bar-button' title={replyTitle} icon={status.get('in_reply_to_account_id') === status.getIn(['account', 'id']) ? 'reply' : replyIcon} onClick={this.handleReplyClick} />
|
<IconButton className='status__action-bar-button' title={replyTitle} icon={status.get('in_reply_to_account_id') === status.getIn(['account', 'id']) ? 'reply' : replyIcon} onClick={this.handleReplyClick} counter={status.get('replies_count')} obfuscateCount />
|
||||||
<IconButton className={classNames('status__action-bar-button', { reblogPrivate })} disabled={!publicStatus && !reblogPrivate} active={status.get('reblogged')} pressed={status.get('reblogged')} title={reblogTitle} icon='retweet' onClick={this.handleReblogClick} />
|
<IconButton className={classNames('status__action-bar-button', { reblogPrivate })} disabled={!publicStatus && !reblogPrivate} active={status.get('reblogged')} pressed={status.get('reblogged')} title={reblogTitle} icon='retweet' onClick={this.handleReblogClick} />
|
||||||
<IconButton className='status__action-bar-button star-icon' animate active={status.get('favourited')} pressed={status.get('favourited')} title={intl.formatMessage(messages.favourite)} icon='floppy-o' onClick={this.handleFavouriteClick} />
|
<IconButton className='status__action-bar-button star-icon' animate active={status.get('favourited')} pressed={status.get('favourited')} title={intl.formatMessage(messages.favourite)} icon='star' onClick={this.handleFavouriteClick} />
|
||||||
|
|
||||||
{shareButton}
|
{shareButton}
|
||||||
|
|
||||||
<div className='status__action-bar-dropdown'>
|
<div className='status__action-bar-dropdown'>
|
||||||
|
|
|
@ -193,7 +193,6 @@ export default class StatusContent extends React.PureComponent {
|
||||||
|
|
||||||
const showThreadButton = (
|
const showThreadButton = (
|
||||||
<button className='status__content__read-more-button' onClick={this.props.onClick}>
|
<button className='status__content__read-more-button' onClick={this.props.onClick}>
|
||||||
<i className='fa fa-fw fa-sort-amount-desc status__prepend-icon' />
|
|
||||||
<FormattedMessage id='status.show_thread' defaultMessage='Show thread' />
|
<FormattedMessage id='status.show_thread' defaultMessage='Show thread' />
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
|
|
|
@ -7,7 +7,6 @@ import { hydrateStore } from '../actions/store';
|
||||||
import { IntlProvider, addLocaleData } from 'react-intl';
|
import { IntlProvider, addLocaleData } from 'react-intl';
|
||||||
import { getLocale } from '../locales';
|
import { getLocale } from '../locales';
|
||||||
import PublicTimeline from '../features/standalone/public_timeline';
|
import PublicTimeline from '../features/standalone/public_timeline';
|
||||||
import CommunityTimeline from '../features/standalone/community_timeline';
|
|
||||||
import HashtagTimeline from '../features/standalone/hashtag_timeline';
|
import HashtagTimeline from '../features/standalone/hashtag_timeline';
|
||||||
import ModalContainer from '../features/ui/containers/modal_container';
|
import ModalContainer from '../features/ui/containers/modal_container';
|
||||||
import initialState from '../initial_state';
|
import initialState from '../initial_state';
|
||||||
|
@ -26,24 +25,22 @@ export default class TimelineContainer extends React.PureComponent {
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
locale: PropTypes.string.isRequired,
|
locale: PropTypes.string.isRequired,
|
||||||
hashtag: PropTypes.string,
|
hashtag: PropTypes.string,
|
||||||
showPublicTimeline: PropTypes.bool.isRequired,
|
local: PropTypes.bool,
|
||||||
};
|
};
|
||||||
|
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
showPublicTimeline: initialState.settings.known_fediverse,
|
local: !initialState.settings.known_fediverse,
|
||||||
};
|
};
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
const { locale, hashtag, showPublicTimeline } = this.props;
|
const { locale, hashtag, local } = this.props;
|
||||||
|
|
||||||
let timeline;
|
let timeline;
|
||||||
|
|
||||||
if (hashtag) {
|
if (hashtag) {
|
||||||
timeline = <HashtagTimeline hashtag={hashtag} local={local} />;
|
timeline = <HashtagTimeline hashtag={hashtag} local={local} />;
|
||||||
} else if (showPublicTimeline) {
|
|
||||||
timeline = <PublicTimeline />;
|
|
||||||
} else {
|
} else {
|
||||||
timeline = <CommunityTimeline />;
|
timeline = <PublicTimeline local={local} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -51,6 +48,7 @@ export default class TimelineContainer extends React.PureComponent {
|
||||||
<Provider store={store}>
|
<Provider store={store}>
|
||||||
<Fragment>
|
<Fragment>
|
||||||
{timeline}
|
{timeline}
|
||||||
|
|
||||||
{ReactDOM.createPortal(
|
{ReactDOM.createPortal(
|
||||||
<ModalContainer />,
|
<ModalContainer />,
|
||||||
document.getElementById('modal-container'),
|
document.getElementById('modal-container'),
|
||||||
|
|
|
@ -86,7 +86,7 @@ class ComposeForm extends ImmutablePureComponent {
|
||||||
const fulltext = this.getFulltextForCharacterCounting();
|
const fulltext = this.getFulltextForCharacterCounting();
|
||||||
const isOnlyWhitespace = fulltext.length !== 0 && fulltext.trim().length === 0;
|
const isOnlyWhitespace = fulltext.length !== 0 && fulltext.trim().length === 0;
|
||||||
|
|
||||||
return !(isSubmitting || isUploading || isChangingUpload || length(fulltext) > 1024 || (isOnlyWhitespace && !anyMedia));
|
return !(isSubmitting || isUploading || isChangingUpload || length(fulltext) > 500 || (isOnlyWhitespace && !anyMedia));
|
||||||
}
|
}
|
||||||
|
|
||||||
handleSubmit = () => {
|
handleSubmit = () => {
|
||||||
|
@ -249,7 +249,7 @@ class ComposeForm extends ImmutablePureComponent {
|
||||||
<PrivacyDropdownContainer />
|
<PrivacyDropdownContainer />
|
||||||
<SpoilerButtonContainer />
|
<SpoilerButtonContainer />
|
||||||
</div>
|
</div>
|
||||||
<div className='character-counter__wrapper'><CharacterCounter max={1024} text={this.getFulltextForCharacterCounting()} /></div>
|
<div className='character-counter__wrapper'><CharacterCounter max={500} text={this.getFulltextForCharacterCounting()} /></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className='compose-form__publish'>
|
<div className='compose-form__publish'>
|
||||||
|
|
|
@ -361,8 +361,8 @@ class EmojiPickerDropdown extends React.PureComponent {
|
||||||
<div ref={this.setTargetRef} className='emoji-button' title={title} aria-label={title} aria-expanded={active} role='button' onClick={this.onToggle} onKeyDown={this.onToggle} tabIndex={0}>
|
<div ref={this.setTargetRef} className='emoji-button' title={title} aria-label={title} aria-expanded={active} role='button' onClick={this.onToggle} onKeyDown={this.onToggle} tabIndex={0}>
|
||||||
{button || <img
|
{button || <img
|
||||||
className={classNames('emojione', { 'pulse-loading': active && loading })}
|
className={classNames('emojione', { 'pulse-loading': active && loading })}
|
||||||
alt='🤔'
|
alt='🙂'
|
||||||
src={`${assetHost}/emoji/1f914.svg`}
|
src={`${assetHost}/emoji/1f602.svg`}
|
||||||
/>}
|
/>}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -12,13 +12,13 @@ const DEFAULTS = [
|
||||||
'+1',
|
'+1',
|
||||||
'grinning',
|
'grinning',
|
||||||
'kissing_heart',
|
'kissing_heart',
|
||||||
'vhs',
|
'heart_eyes',
|
||||||
'laughing',
|
'laughing',
|
||||||
'floppy_disk',
|
'stuck_out_tongue_winking_eye',
|
||||||
'sweat_smile',
|
'sweat_smile',
|
||||||
'joy',
|
'joy',
|
||||||
'yum',
|
'yum',
|
||||||
'computer',
|
'disappointed',
|
||||||
'thinking_face',
|
'thinking_face',
|
||||||
'weary',
|
'weary',
|
||||||
'sob',
|
'sob',
|
||||||
|
|
|
@ -16,21 +16,21 @@ import LinkFooter from 'mastodon/features/ui/components/link_footer';
|
||||||
import TrendsContainer from './containers/trends_container';
|
import TrendsContainer from './containers/trends_container';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
home_timeline: { id: 'tabs_bar.home', defaultMessage: '/timelines/home' },
|
home_timeline: { id: 'tabs_bar.home', defaultMessage: 'Home' },
|
||||||
notifications: { id: 'tabs_bar.notifications', defaultMessage: '~/.notifications' },
|
notifications: { id: 'tabs_bar.notifications', defaultMessage: 'Notifications' },
|
||||||
public_timeline: { id: 'navigation_bar.public_timeline', defaultMessage: '/timelines/federated' },
|
public_timeline: { id: 'navigation_bar.public_timeline', defaultMessage: 'Federated timeline' },
|
||||||
settings_subheading: { id: 'column_subheading.settings', defaultMessage: 'Settings' },
|
settings_subheading: { id: 'column_subheading.settings', defaultMessage: 'Settings' },
|
||||||
community_timeline: { id: 'navigation_bar.community_timeline', defaultMessage: '/timelines/local' },
|
community_timeline: { id: 'navigation_bar.community_timeline', defaultMessage: 'Local timeline' },
|
||||||
direct: { id: 'navigation_bar.direct', defaultMessage: '~/.dms' },
|
direct: { id: 'navigation_bar.direct', defaultMessage: 'Direct messages' },
|
||||||
bookmarks: { id: 'navigation_bar.bookmarks', defaultMessage: '~/.bookmarks' },
|
bookmarks: { id: 'navigation_bar.bookmarks', defaultMessage: 'Bookmarks' },
|
||||||
preferences: { id: 'navigation_bar.preferences', defaultMessage: 'edit ~/.config' },
|
preferences: { id: 'navigation_bar.preferences', defaultMessage: 'Preferences' },
|
||||||
follow_requests: { id: 'navigation_bar.follow_requests', defaultMessage: '~/.follow-requests' },
|
follow_requests: { id: 'navigation_bar.follow_requests', defaultMessage: 'Follow requests' },
|
||||||
favourites: { id: 'navigation_bar.favourites', defaultMessage: '~/.florps' },
|
favourites: { id: 'navigation_bar.favourites', defaultMessage: 'Favourites' },
|
||||||
blocks: { id: 'navigation_bar.blocks', defaultMessage: '~/.blocked' },
|
blocks: { id: 'navigation_bar.blocks', defaultMessage: 'Blocked users' },
|
||||||
domain_blocks: { id: 'navigation_bar.domain_blocks', defaultMessage: '~/.muted/domains' },
|
domain_blocks: { id: 'navigation_bar.domain_blocks', defaultMessage: 'Hidden domains' },
|
||||||
mutes: { id: 'navigation_bar.mutes', defaultMessage: '~/.muted' },
|
mutes: { id: 'navigation_bar.mutes', defaultMessage: 'Muted users' },
|
||||||
pins: { id: 'navigation_bar.pins', defaultMessage: '~/.pinned' },
|
pins: { id: 'navigation_bar.pins', defaultMessage: 'Pinned toots' },
|
||||||
lists: { id: 'navigation_bar.lists', defaultMessage: '~/.lists' },
|
lists: { id: 'navigation_bar.lists', defaultMessage: 'Lists' },
|
||||||
discover: { id: 'navigation_bar.discover', defaultMessage: 'Discover' },
|
discover: { id: 'navigation_bar.discover', defaultMessage: 'Discover' },
|
||||||
personal: { id: 'navigation_bar.personal', defaultMessage: 'Personal' },
|
personal: { id: 'navigation_bar.personal', defaultMessage: 'Personal' },
|
||||||
security: { id: 'navigation_bar.security', defaultMessage: 'Security' },
|
security: { id: 'navigation_bar.security', defaultMessage: 'Security' },
|
||||||
|
|
|
@ -185,7 +185,7 @@ class Notification extends ImmutablePureComponent {
|
||||||
<div className={classNames('notification notification-favourite focusable', { unread })} tabIndex='0' aria-label={notificationForScreenReader(intl, intl.formatMessage(messages.favourite, { name: notification.getIn(['account', 'acct']) }), notification.get('created_at'))}>
|
<div className={classNames('notification notification-favourite focusable', { unread })} tabIndex='0' aria-label={notificationForScreenReader(intl, intl.formatMessage(messages.favourite, { name: notification.getIn(['account', 'acct']) }), notification.get('created_at'))}>
|
||||||
<div className='notification__message'>
|
<div className='notification__message'>
|
||||||
<div className='notification__favourite-icon-wrapper'>
|
<div className='notification__favourite-icon-wrapper'>
|
||||||
<Icon id='floppy-o' className='star-icon' fixedWidth />
|
<Icon id='star' className='star-icon' fixedWidth />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span title={notification.get('created_at')}>
|
<span title={notification.get('created_at')}>
|
||||||
|
|
|
@ -1,71 +0,0 @@
|
||||||
import React from 'react';
|
|
||||||
import { connect } from 'react-redux';
|
|
||||||
import PropTypes from 'prop-types';
|
|
||||||
import StatusListContainer from '../../ui/containers/status_list_container';
|
|
||||||
import { expandCommunityTimeline } from '../../../actions/timelines';
|
|
||||||
import Column from '../../../components/column';
|
|
||||||
import ColumnHeader from '../../../components/column_header';
|
|
||||||
import { defineMessages, injectIntl } from 'react-intl';
|
|
||||||
import { connectCommunityStream } from '../../../actions/streaming';
|
|
||||||
|
|
||||||
const messages = defineMessages({
|
|
||||||
title: { id: 'standalone.public_title', defaultMessage: 'A look inside...' },
|
|
||||||
});
|
|
||||||
|
|
||||||
export default @connect()
|
|
||||||
@injectIntl
|
|
||||||
class CommunityTimeline extends React.PureComponent {
|
|
||||||
|
|
||||||
static propTypes = {
|
|
||||||
dispatch: PropTypes.func.isRequired,
|
|
||||||
intl: PropTypes.object.isRequired,
|
|
||||||
};
|
|
||||||
|
|
||||||
handleHeaderClick = () => {
|
|
||||||
this.column.scrollTop();
|
|
||||||
}
|
|
||||||
|
|
||||||
setRef = c => {
|
|
||||||
this.column = c;
|
|
||||||
}
|
|
||||||
|
|
||||||
componentDidMount () {
|
|
||||||
const { dispatch } = this.props;
|
|
||||||
|
|
||||||
dispatch(expandCommunityTimeline());
|
|
||||||
this.disconnect = dispatch(connectCommunityStream());
|
|
||||||
}
|
|
||||||
|
|
||||||
componentWillUnmount () {
|
|
||||||
if (this.disconnect) {
|
|
||||||
this.disconnect();
|
|
||||||
this.disconnect = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
handleLoadMore = maxId => {
|
|
||||||
this.props.dispatch(expandCommunityTimeline({ maxId }));
|
|
||||||
}
|
|
||||||
|
|
||||||
render () {
|
|
||||||
const { intl } = this.props;
|
|
||||||
|
|
||||||
return (
|
|
||||||
<Column ref={this.setRef} label={intl.formatMessage(messages.title)}>
|
|
||||||
<ColumnHeader
|
|
||||||
icon='users'
|
|
||||||
title={intl.formatMessage(messages.title)}
|
|
||||||
onClick={this.handleHeaderClick}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<StatusListContainer
|
|
||||||
timelineId='community'
|
|
||||||
onLoadMore={this.handleLoadMore}
|
|
||||||
scrollKey='standalone_public_timeline'
|
|
||||||
trackScroll={false}
|
|
||||||
/>
|
|
||||||
</Column>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -275,7 +275,7 @@ class ActionBar extends React.PureComponent {
|
||||||
<div className='detailed-status__action-bar'>
|
<div className='detailed-status__action-bar'>
|
||||||
<div className='detailed-status__button'><IconButton title={intl.formatMessage(messages.reply)} icon={status.get('in_reply_to_account_id') === status.getIn(['account', 'id']) ? 'reply' : replyIcon} onClick={this.handleReplyClick} /></div>
|
<div className='detailed-status__button'><IconButton title={intl.formatMessage(messages.reply)} icon={status.get('in_reply_to_account_id') === status.getIn(['account', 'id']) ? 'reply' : replyIcon} onClick={this.handleReplyClick} /></div>
|
||||||
<div className='detailed-status__button' ><IconButton className={classNames({ reblogPrivate })} disabled={!publicStatus && !reblogPrivate} active={status.get('reblogged')} title={reblogTitle} icon='retweet' onClick={this.handleReblogClick} /></div>
|
<div className='detailed-status__button' ><IconButton className={classNames({ reblogPrivate })} disabled={!publicStatus && !reblogPrivate} active={status.get('reblogged')} title={reblogTitle} icon='retweet' onClick={this.handleReblogClick} /></div>
|
||||||
<div className='detailed-status__button'><IconButton className='star-icon' animate active={status.get('favourited')} title={intl.formatMessage(messages.favourite)} icon='floppy-o' onClick={this.handleFavouriteClick} /></div>
|
<div className='detailed-status__button'><IconButton className='star-icon' animate active={status.get('favourited')} title={intl.formatMessage(messages.favourite)} icon='star' onClick={this.handleFavouriteClick} /></div>
|
||||||
{shareButton}
|
{shareButton}
|
||||||
<div className='detailed-status__button'><IconButton className='bookmark-icon' active={status.get('bookmarked')} title={intl.formatMessage(messages.bookmark)} icon='bookmark' onClick={this.handleBookmarkClick} /></div>
|
<div className='detailed-status__button'><IconButton className='bookmark-icon' active={status.get('bookmarked')} title={intl.formatMessage(messages.bookmark)} icon='bookmark' onClick={this.handleBookmarkClick} /></div>
|
||||||
|
|
||||||
|
|
|
@ -220,7 +220,7 @@ class DetailedStatus extends ImmutablePureComponent {
|
||||||
if (this.context.router) {
|
if (this.context.router) {
|
||||||
favouriteLink = (
|
favouriteLink = (
|
||||||
<Link to={`/statuses/${status.get('id')}/favourites`} className='detailed-status__link'>
|
<Link to={`/statuses/${status.get('id')}/favourites`} className='detailed-status__link'>
|
||||||
<Icon id='floppy-o' />
|
<Icon id='star' />
|
||||||
<span className='detailed-status__favorites'>
|
<span className='detailed-status__favorites'>
|
||||||
<AnimatedNumber value={status.get('favourites_count')} />
|
<AnimatedNumber value={status.get('favourites_count')} />
|
||||||
</span>
|
</span>
|
||||||
|
@ -229,7 +229,7 @@ class DetailedStatus extends ImmutablePureComponent {
|
||||||
} else {
|
} else {
|
||||||
favouriteLink = (
|
favouriteLink = (
|
||||||
<a href={`/interact/${status.get('id')}?type=favourite`} className='detailed-status__link' onClick={this.handleModalLink}>
|
<a href={`/interact/${status.get('id')}?type=favourite`} className='detailed-status__link' onClick={this.handleModalLink}>
|
||||||
<Icon id='floppy-o' />
|
<Icon id='star' />
|
||||||
<span className='detailed-status__favorites'>
|
<span className='detailed-status__favorites'>
|
||||||
<AnimatedNumber value={status.get('favourites_count')} />
|
<AnimatedNumber value={status.get('favourites_count')} />
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -23,7 +23,15 @@ class DocumentTitle extends PureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
_sideEffects () {
|
_sideEffects () {
|
||||||
document.title = title;
|
const { unread } = this.props;
|
||||||
|
|
||||||
|
if (unread > 99) {
|
||||||
|
document.title = `(*) ${title}`;
|
||||||
|
} else if (unread > 0) {
|
||||||
|
document.title = `(${unread}) ${title}`;
|
||||||
|
} else {
|
||||||
|
document.title = title;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
render () {
|
render () {
|
||||||
|
|
|
@ -1,293 +0,0 @@
|
||||||
{
|
|
||||||
"account.block": "Block @{name}",
|
|
||||||
"account.block_domain": "Hide everything from {domain}",
|
|
||||||
"account.blocked": "Blocked",
|
|
||||||
"account.disclaimer_full": "THESE NUMBERS ARE THE STUFF WHAT YOUR SERVER KNOWS ABOUT AND THERE MIGHT BE MORE THAT IT DONT KNOW ABOUT.",
|
|
||||||
"account.domain_blocked": "Domain hidden",
|
|
||||||
"account.edit_profile": "edit ~/.profile",
|
|
||||||
"account.follow": "Follow",
|
|
||||||
"account.followers": "Followers",
|
|
||||||
"account.follows": "Follows",
|
|
||||||
"account.follows_you": "Follows you",
|
|
||||||
"account.hide_reblogs": "Hide boosts from @{name}",
|
|
||||||
"account.media": "Media",
|
|
||||||
"account.mention": "Mention @{name}",
|
|
||||||
"account.moved_to": "{name} has moved to:",
|
|
||||||
"account.mute": "Mute @{name}",
|
|
||||||
"account.mute_notifications": "Mute notifications from @{name}",
|
|
||||||
"account.muted": "Muted",
|
|
||||||
"account.posts": "Pings",
|
|
||||||
"account.posts_with_replies": "Pings with replies",
|
|
||||||
"account.report": "Report @{name}",
|
|
||||||
"account.requested": "Awaiting approval. Click to cancel follow request",
|
|
||||||
"account.share": "Share @{name}'s profile",
|
|
||||||
"account.show_reblogs": "Show boosts from @{name}",
|
|
||||||
"account.unblock": "Unblock @{name}",
|
|
||||||
"account.unblock_domain": "Unhide {domain}",
|
|
||||||
"account.unfollow": "Unfollow",
|
|
||||||
"account.unmute": "Unmute @{name}",
|
|
||||||
"account.unmute_notifications": "Unmute notifications from @{name}",
|
|
||||||
"account.view_full_profile": "View full profile",
|
|
||||||
"boost_modal.combo": "You can press {combo} to skip this next time",
|
|
||||||
"bundle_column_error.body": "Something went wrong while loading this component.",
|
|
||||||
"bundle_column_error.retry": "Try again",
|
|
||||||
"bundle_column_error.title": "Network error",
|
|
||||||
"bundle_modal_error.close": "Close",
|
|
||||||
"bundle_modal_error.message": "Something went wrong while loading this component.",
|
|
||||||
"bundle_modal_error.retry": "Try again",
|
|
||||||
"column.blocks": "~/.blocked",
|
|
||||||
"column.community": "/timelines/local",
|
|
||||||
"column.direct": "~/.dms",
|
|
||||||
"column.favourites": "~/.florps",
|
|
||||||
"column.follow_requests": "~/.follow-requests",
|
|
||||||
"column.home": "/timelines/home",
|
|
||||||
"column.lists": "Lists",
|
|
||||||
"column.mutes": "~/.muted",
|
|
||||||
"column.notifications": "~/.notifications",
|
|
||||||
"column.pins": "~/.pinned",
|
|
||||||
"column.public": "/timelines/federated",
|
|
||||||
"column_back_button.label": "Back",
|
|
||||||
"column_header.hide_settings": "Hide settings",
|
|
||||||
"column_header.moveLeft_settings": "Move column to the left",
|
|
||||||
"column_header.moveRight_settings": "Move column to the right",
|
|
||||||
"column_header.pin": "Pin",
|
|
||||||
"column_header.show_settings": "Show settings",
|
|
||||||
"column_header.unpin": "Unpin",
|
|
||||||
"column_subheading.navigation": "Navigation",
|
|
||||||
"column_subheading.settings": "Settings",
|
|
||||||
"compose.attach": "Attach...",
|
|
||||||
"compose.attach.doodle": "Draw something",
|
|
||||||
"compose.attach.upload": "Upload a file",
|
|
||||||
"compose_form.hashtag_warning": "This ping won't be listed under any hashtag as it is unlisted. Only public pings can be searched by hashtag.",
|
|
||||||
"compose_form.lock_disclaimer": "Your account is not {locked}. Anyone can follow you to view your follower-only posts.",
|
|
||||||
"compose_form.lock_disclaimer.lock": "locked",
|
|
||||||
"compose_form.placeholder": "What is in your databanks?",
|
|
||||||
"compose_form.publish": "Ping",
|
|
||||||
"compose_form.publish_loud": "{publish}!",
|
|
||||||
"compose_form.sensitive.marked": "Media is marked as sensitive",
|
|
||||||
"compose_form.sensitive.unmarked": "Media is not marked as sensitive",
|
|
||||||
"compose_form.spoiler.marked": "Text is hidden behind warning",
|
|
||||||
"compose_form.spoiler.unmarked": "Text is not hidden",
|
|
||||||
"compose_form.spoiler_placeholder": "Write your warning here",
|
|
||||||
"confirmation_modal.cancel": "Cancel",
|
|
||||||
"confirmations.block.confirm": "Block",
|
|
||||||
"confirmations.block.message": "Are you sure you want to block {name}?",
|
|
||||||
"confirmations.delete.confirm": "Delete",
|
|
||||||
"confirmations.delete.message": "Are you sure you want to delete this status?",
|
|
||||||
"confirmations.delete_list.confirm": "Delete",
|
|
||||||
"confirmations.delete_list.message": "Are you sure you want to permanently delete this list?",
|
|
||||||
"confirmations.domain_block.confirm": "Hide entire domain",
|
|
||||||
"confirmations.domain_block.message": "Are you really, really sure you want to block the entire {domain}? In most cases a few targeted blocks or mutes are sufficient and preferable.",
|
|
||||||
"confirmations.mute.confirm": "Mute",
|
|
||||||
"confirmations.mute.message": "Are you sure you want to mute {name}?",
|
|
||||||
"confirmations.unfollow.confirm": "Unfollow",
|
|
||||||
"confirmations.unfollow.message": "Are you sure you want to unfollow {name}?",
|
|
||||||
"doodle_button.label": "Add a drawing",
|
|
||||||
"embed.instructions": "Embed this status on your website by copying the code below.",
|
|
||||||
"embed.preview": "Here is what it will look like:",
|
|
||||||
"emoji_button.activity": "Activity",
|
|
||||||
"emoji_button.custom": "Custom",
|
|
||||||
"emoji_button.flags": "Flags",
|
|
||||||
"emoji_button.food": "Food & Drink",
|
|
||||||
"emoji_button.label": "Insert emoji",
|
|
||||||
"emoji_button.nature": "Nature",
|
|
||||||
"emoji_button.not_found": "No emojos!! (╯°□°)╯︵ ┻━┻",
|
|
||||||
"emoji_button.objects": "Objects",
|
|
||||||
"emoji_button.people": "People",
|
|
||||||
"emoji_button.recent": "Frequently used",
|
|
||||||
"emoji_button.search": "Search...",
|
|
||||||
"emoji_button.search_results": "Search results",
|
|
||||||
"emoji_button.symbols": "Symbols",
|
|
||||||
"emoji_button.travel": "Travel & Places",
|
|
||||||
"empty_column.community": "The local timeline is empty. Write something publicly to get the ball rolling!",
|
|
||||||
"empty_column.direct": "You don't have any direct messages yet. When you send or receive one, it will show up here.",
|
|
||||||
"empty_column.hashtag": "There is nothing in this hashtag yet.",
|
|
||||||
"empty_column.home": "Your home timeline is empty! Visit {public} or use query to get started and meet other users.",
|
|
||||||
"empty_column.home.public_timeline": "the public timeline",
|
|
||||||
"empty_column.list": "There is nothing in this list yet. When members of this list post new statuses, they will appear here.",
|
|
||||||
"empty_column.notifications": "You don't have any notifications yet. Interact with others to start the conversation.",
|
|
||||||
"empty_column.public": "There is nothing here! Write something publicly, or manually follow users from other instances to fill it up",
|
|
||||||
"follow_request.authorize": "Authorize",
|
|
||||||
"follow_request.reject": "Reject",
|
|
||||||
"getting_started.appsshort": "Apps",
|
|
||||||
"getting_started.faq": "FAQ",
|
|
||||||
"getting_started.heading": "Getting started",
|
|
||||||
"getting_started.open_source_notice": "Mastodon is open source software. You can contribute or report issues on cybre.tech at {github}.",
|
|
||||||
"getting_started.userguide": "User Guide",
|
|
||||||
"home.column_settings.advanced": "Advanced",
|
|
||||||
"home.column_settings.basic": "Basic",
|
|
||||||
"home.column_settings.filter_regex": "Filter out by regular expressions",
|
|
||||||
"home.column_settings.show_reblogs": "Show relays",
|
|
||||||
"home.column_settings.show_replies": "Show replies",
|
|
||||||
"home.settings": "Column settings",
|
|
||||||
"keyboard_shortcuts.back": "to navigate back",
|
|
||||||
"keyboard_shortcuts.boost": "to boost",
|
|
||||||
"keyboard_shortcuts.column": "to focus a status in one of the columns",
|
|
||||||
"keyboard_shortcuts.compose": "to focus the compose textarea",
|
|
||||||
"keyboard_shortcuts.description": "Description",
|
|
||||||
"keyboard_shortcuts.down": "to move down in the list",
|
|
||||||
"keyboard_shortcuts.enter": "to open status",
|
|
||||||
"keyboard_shortcuts.favourite": "to favourite",
|
|
||||||
"keyboard_shortcuts.heading": "Keyboard Shortcuts",
|
|
||||||
"keyboard_shortcuts.hotkey": "Hotkey",
|
|
||||||
"keyboard_shortcuts.legend": "to display this legend",
|
|
||||||
"keyboard_shortcuts.mention": "to mention author",
|
|
||||||
"keyboard_shortcuts.reply": "to reply",
|
|
||||||
"keyboard_shortcuts.search": "to focus search",
|
|
||||||
"keyboard_shortcuts.toot": "to start a brand new ping",
|
|
||||||
"keyboard_shortcuts.unfocus": "to un-focus compose textarea/search",
|
|
||||||
"keyboard_shortcuts.up": "to move up in the list",
|
|
||||||
"lightbox.close": "Close",
|
|
||||||
"lightbox.next": "Next",
|
|
||||||
"lightbox.previous": "Previous",
|
|
||||||
"lists.account.add": "Add to list",
|
|
||||||
"lists.account.remove": "Remove from list",
|
|
||||||
"lists.delete": "Delete list",
|
|
||||||
"lists.edit": "Edit list",
|
|
||||||
"lists.new.create": "Add list",
|
|
||||||
"lists.new.title_placeholder": "New list title",
|
|
||||||
"lists.search": "Search among people you follow",
|
|
||||||
"lists.subheading": "Your lists",
|
|
||||||
"loading_indicator.label": "Loading...",
|
|
||||||
"media_gallery.toggle_visible": "Toggle visibility",
|
|
||||||
"missing_indicator.label": "Not found",
|
|
||||||
"missing_indicator.sublabel": "This resource could not be found",
|
|
||||||
"mute_modal.hide_notifications": "Hide notifications from this user?",
|
|
||||||
"navigation_bar.blocks": "~/.blocks",
|
|
||||||
"navigation_bar.community_timeline": "/timelines/local",
|
|
||||||
"navigation_bar.direct": "~/.dms",
|
|
||||||
"navigation_bar.edit_profile": "edit ~/.profile",
|
|
||||||
"navigation_bar.favourites": "~/.florps",
|
|
||||||
"navigation_bar.follow_requests": "~/.follow-requests",
|
|
||||||
"navigation_bar.info": "/about/more",
|
|
||||||
"navigation_bar.keyboard_shortcuts": "~/.kbd/shortcuts.conf",
|
|
||||||
"navigation_bar.lists": "~/.lists",
|
|
||||||
"navigation_bar.logout": "Jack out",
|
|
||||||
"navigation_bar.mutes": "~/.muted",
|
|
||||||
"navigation_bar.pins": "~/.pinned",
|
|
||||||
"navigation_bar.preferences": "edit ~/.config",
|
|
||||||
"navigation_bar.public_timeline": "/timelines/federated",
|
|
||||||
"notification.favourite": "{name} florped your ping",
|
|
||||||
"notification.follow": "{name} followed you",
|
|
||||||
"notification.mention": "{name} mentioned you",
|
|
||||||
"notification.reblog": "{name} relayed your ping",
|
|
||||||
"notifications.clear": "Clear notifications",
|
|
||||||
"notifications.clear_confirmation": "Are you sure you want to permanently clear all your notifications?",
|
|
||||||
"notifications.column_settings.alert": "Desktop notifications",
|
|
||||||
"notifications.column_settings.favourite": "Favourites:",
|
|
||||||
"notifications.column_settings.follow": "New followers:",
|
|
||||||
"notifications.column_settings.mention": "Mentions:",
|
|
||||||
"notifications.column_settings.push": "Push notifications",
|
|
||||||
"notifications.column_settings.push_meta": "This device",
|
|
||||||
"notifications.column_settings.reblog": "Boosts:",
|
|
||||||
"notifications.column_settings.show": "Show in column",
|
|
||||||
"notifications.column_settings.sound": "Play sound",
|
|
||||||
"onboarding.done": "Done",
|
|
||||||
"onboarding.next": "Next",
|
|
||||||
"onboarding.page_five.public_timelines": "The local timeline shows public posts from everyone on {domain}. The federated timeline shows public posts from everyone who people on {domain} follow. These are the Public Timelines, a great way to discover new people.",
|
|
||||||
"onboarding.page_four.home": "The home timeline shows posts from people you follow.",
|
|
||||||
"onboarding.page_four.notifications": "The notifications column shows when someone interacts with you.",
|
|
||||||
"onboarding.page_one.federation": "Mastodon is a network of independent servers joining up to make one larger social network. We call these servers instances.",
|
|
||||||
"onboarding.page_one.full_handle": "Your full handle",
|
|
||||||
"onboarding.page_one.handle_hint": "This is what you would tell your friends to search for.",
|
|
||||||
"onboarding.page_one.welcome": "Welcome to Mastodon!",
|
|
||||||
"onboarding.page_six.admin": "Your instance's admin is {admin}.",
|
|
||||||
"onboarding.page_six.almost_done": "Almost done...",
|
|
||||||
"onboarding.page_six.appetoot": "Hang ten on the cybrewaves!",
|
|
||||||
"onboarding.page_six.apps_available": "There are {apps} available for iOS, Android and other platforms.",
|
|
||||||
"onboarding.page_six.github": "Mastodon is free open-source software. You can report bugs, request features, or contribute to the code on {github}.",
|
|
||||||
"onboarding.page_six.guidelines": "community guidelines",
|
|
||||||
"onboarding.page_six.read_guidelines": "Please read {domain}'s {guidelines}!",
|
|
||||||
"onboarding.page_six.various_app": "mobile apps",
|
|
||||||
"onboarding.page_three.profile": "Edit your profile to change your avatar, bio, and display name. There, you will also find other preferences.",
|
|
||||||
"onboarding.page_three.search": "Use the search bar to find people and look at hashtags, such as {illustration} and {introductions}. To look for a person who is not on this instance, use their full handle.",
|
|
||||||
"onboarding.page_two.compose": "Write posts from the compose column. You can upload images, change privacy settings, and add content warnings with the icons below.",
|
|
||||||
"onboarding.skip": "Skip",
|
|
||||||
"privacy.change": "Adjust status privacy",
|
|
||||||
"privacy.direct.long": "Post to mentioned users only",
|
|
||||||
"privacy.direct.short": "Direct",
|
|
||||||
"privacy.private.long": "Post to followers only",
|
|
||||||
"privacy.private.short": "Followers-only",
|
|
||||||
"privacy.public.long": "Post to public timelines",
|
|
||||||
"privacy.public.short": "Public",
|
|
||||||
"privacy.unlisted.long": "Do not post to public timelines",
|
|
||||||
"privacy.unlisted.short": "Unlisted",
|
|
||||||
"regeneration_indicator.label": "Loading…",
|
|
||||||
"regeneration_indicator.sublabel": "Your home feed is being prepared!",
|
|
||||||
"relative_time.days": "{number}d",
|
|
||||||
"relative_time.hours": "{number}h",
|
|
||||||
"relative_time.just_now": "now",
|
|
||||||
"relative_time.minutes": "{number}m",
|
|
||||||
"relative_time.seconds": "{number}s",
|
|
||||||
"reply_indicator.cancel": "Cancel",
|
|
||||||
"report.forward": "Forward to {target}",
|
|
||||||
"report.forward_hint": "The account is from another server. Send an anonymized copy of the report there as well?",
|
|
||||||
"report.hint": "The report will be sent to your instance moderators. You can provide an explanation of why you are reporting this account below:",
|
|
||||||
"report.placeholder": "Additional comments",
|
|
||||||
"report.submit": "Submit",
|
|
||||||
"report.target": "Reporting {target}",
|
|
||||||
"search.placeholder": "Query...",
|
|
||||||
"search_popout.search_format": "Advanced search format",
|
|
||||||
"search_popout.tips.full_text": "Simple text returns statuses you have written, favourited, boosted, or have been mentioned in, as well as matching usernames, display names, and hashtags.",
|
|
||||||
"search_popout.tips.hashtag": "hashtag",
|
|
||||||
"search_popout.tips.status": "status",
|
|
||||||
"search_popout.tips.text": "Simple text returns matching display names, usernames and hashtags",
|
|
||||||
"search_popout.tips.user": "user",
|
|
||||||
"search_results.accounts": "People",
|
|
||||||
"search_results.hashtags": "Hashtags",
|
|
||||||
"search_results.statuses": "Pings",
|
|
||||||
"search_results.total": "{count, number} {count, plural, one {result} other {results}}",
|
|
||||||
"standalone.public_title": "Peer into the data grid...",
|
|
||||||
"status.block": "Block @{name}",
|
|
||||||
"status.cannot_reblog": "This ping cannot be relayed",
|
|
||||||
"status.delete": "Delete",
|
|
||||||
"status.embed": "Embed",
|
|
||||||
"status.favourite": "Florp",
|
|
||||||
"status.load_more": "Load more",
|
|
||||||
"status.media_hidden": "Media hidden",
|
|
||||||
"status.mention": "Mention @{name}",
|
|
||||||
"status.more": "More",
|
|
||||||
"status.mute": "Mute @{name}",
|
|
||||||
"status.mute_conversation": "Mute conversation",
|
|
||||||
"status.open": "Expand this status",
|
|
||||||
"status.pin": "Pin on profile",
|
|
||||||
"status.pinned": "Pinned ping",
|
|
||||||
"status.reblog": "Relay",
|
|
||||||
"status.reblogged_by": "{name} relayed",
|
|
||||||
"status.reply": "Reply",
|
|
||||||
"status.replyAll": "Reply to thread",
|
|
||||||
"status.report": "Report @{name}",
|
|
||||||
"status.sensitive_toggle": "Click to view",
|
|
||||||
"status.sensitive_warning": "Sensitive content",
|
|
||||||
"status.share": "Share",
|
|
||||||
"status.show_less": "Show less",
|
|
||||||
"status.show_less_all": "Show less for all",
|
|
||||||
"status.show_more": "Show more",
|
|
||||||
"status.show_more_all": "Show more for all",
|
|
||||||
"status.unmute_conversation": "Unmute conversation",
|
|
||||||
"status.unpin": "Unpin from profile",
|
|
||||||
"tabs_bar.federated_timeline": "/timelines/federated",
|
|
||||||
"tabs_bar.home": "/timelines/home",
|
|
||||||
"tabs_bar.local_timeline": "/timelines/local",
|
|
||||||
"tabs_bar.notifications": "~/.notifications",
|
|
||||||
"ui.beforeunload": "Your draft will be lost if you leave Mastodon.",
|
|
||||||
"upload_area.title": "Drag & drop to upload",
|
|
||||||
"upload_button.label": "Add media",
|
|
||||||
"upload_form.description": "Describe for the visually impaired",
|
|
||||||
"upload_form.focus": "Crop",
|
|
||||||
"upload_form.undo": "Undo",
|
|
||||||
"upload_progress.label": "Uploading...",
|
|
||||||
"video.close": "Close video",
|
|
||||||
"video.exit_fullscreen": "Exit full screen",
|
|
||||||
"video.expand": "Expand video",
|
|
||||||
"video.fullscreen": "Full screen",
|
|
||||||
"video.hide": "Hide video",
|
|
||||||
"video.mute": "Mute sound",
|
|
||||||
"video.pause": "Pause",
|
|
||||||
"video.play": "Play",
|
|
||||||
"video.unmute": "Unmute sound",
|
|
||||||
"video_player.expand": "Expand video",
|
|
||||||
"video_player.toggle_sound": "Toggle sound",
|
|
||||||
"video_player.toggle_visible": "Toggle visibility",
|
|
||||||
"video_player.video_error": "Video could not be played"
|
|
||||||
}
|
|
|
@ -183,7 +183,7 @@
|
||||||
"getting_started.documentation": "Documentation",
|
"getting_started.documentation": "Documentation",
|
||||||
"getting_started.heading": "Getting started",
|
"getting_started.heading": "Getting started",
|
||||||
"getting_started.invite": "Invite people",
|
"getting_started.invite": "Invite people",
|
||||||
"getting_started.open_source_notice": "Mastodon is open source software. You can contribute or report issues on cybre.tech at {github}.",
|
"getting_started.open_source_notice": "Mastodon is open source software. You can contribute or report issues on GitHub at {github}.",
|
||||||
"getting_started.security": "Account settings",
|
"getting_started.security": "Account settings",
|
||||||
"getting_started.terms": "Terms of service",
|
"getting_started.terms": "Terms of service",
|
||||||
"hashtag.column_header.tag_mode.all": "and {additional}",
|
"hashtag.column_header.tag_mode.all": "and {additional}",
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[
|
|
||||||
]
|
|
|
@ -9,5 +9,3 @@ loadPolyfills().then(() => {
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
});
|
});
|
||||||
|
|
||||||
require('what-input');
|
|
||||||
|
|
|
@ -20,12 +20,6 @@ window.addEventListener('message', e => {
|
||||||
id: data.id,
|
id: data.id,
|
||||||
height: document.getElementsByTagName('html')[0].scrollHeight,
|
height: document.getElementsByTagName('html')[0].scrollHeight,
|
||||||
}, '*');
|
}, '*');
|
||||||
|
|
||||||
if (document.fonts && document.fonts.ready) {
|
|
||||||
document.fonts.ready.then(sizeBioText);
|
|
||||||
} else {
|
|
||||||
sizeBioText();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -167,12 +161,6 @@ function main() {
|
||||||
const message = (statusEl.dataset.spoiler === 'expanded') ? (messages['status.show_less'] || 'Show less') : (messages['status.show_more'] || 'Show more');
|
const message = (statusEl.dataset.spoiler === 'expanded') ? (messages['status.show_less'] || 'Show less') : (messages['status.show_more'] || 'Show more');
|
||||||
spoilerLink.textContent = (new IntlMessageFormat(message, locale)).format();
|
spoilerLink.textContent = (new IntlMessageFormat(message, locale)).format();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (document.fonts && document.fonts.ready) {
|
|
||||||
document.fonts.ready.then(sizeBioText);
|
|
||||||
} else {
|
|
||||||
sizeBioText();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
delegate(document, '.webapp-btn', 'click', ({ target, button }) => {
|
delegate(document, '.webapp-btn', 'click', ({ target, button }) => {
|
||||||
|
@ -303,22 +291,6 @@ function main() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
delegate(document, '#account_note', 'input', sizeBioText);
|
|
||||||
|
|
||||||
function sizeBioText() {
|
|
||||||
const noteCounter = document.querySelector('.note-counter');
|
|
||||||
const bioTextArea = document.querySelector('#account_note');
|
|
||||||
|
|
||||||
if (noteCounter) {
|
|
||||||
noteCounter.textContent = 1024 - length(bioTextArea.value);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (bioTextArea) {
|
|
||||||
bioTextArea.style.height = 'auto';
|
|
||||||
bioTextArea.style.height = (bioTextArea.scrollHeight+3) + 'px';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
loadPolyfills()
|
loadPolyfills()
|
||||||
|
|
|
@ -329,10 +329,6 @@ $gold-star: #dd9d08;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.character-counter {
|
|
||||||
color:$white;
|
|
||||||
}
|
|
||||||
|
|
||||||
button.icon-button {
|
button.icon-button {
|
||||||
&.disabled {
|
&.disabled {
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,278 +0,0 @@
|
||||||
$ui-base-color: #1b1b1b; // darkest
|
|
||||||
$ui-highlight-color: #1ea21e; // vibrant
|
|
||||||
$ui-secondary-color: #E4F2E4; // lightest
|
|
||||||
$ui-primary-color: #E4F2E4; // lighter
|
|
||||||
$ui-primary-color-alt: #a0b49c; // darker, for external pages
|
|
||||||
|
|
||||||
$about-page-text: lighten($ui-base-color, 50%);
|
|
||||||
|
|
||||||
@import 'cybre-base';
|
|
||||||
|
|
||||||
@keyframes floating {
|
|
||||||
from {
|
|
||||||
transform: translate(0, 0);
|
|
||||||
}
|
|
||||||
65% {
|
|
||||||
transform: translate(0, 4px);
|
|
||||||
}
|
|
||||||
to {
|
|
||||||
transform: translate(0, -0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
body, body.about-body {
|
|
||||||
background: $ui-base-color url('../images/background-cybre.png');
|
|
||||||
background-attachment: fixed;
|
|
||||||
}
|
|
||||||
|
|
||||||
body.about-body {
|
|
||||||
// basics.scss &.about-body
|
|
||||||
background: darken($ui-base-color, 8%) url('../images/background-cybre.png');
|
|
||||||
|
|
||||||
background-position-y: 200px;
|
|
||||||
background-position-x: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.about-body .mascot {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.muted {
|
|
||||||
.status__content p, .status__content a {
|
|
||||||
color: lighten($ui-base-color, 35%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.status__display-name strong {
|
|
||||||
color: lighten($ui-base-color, 35%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.compose-form__buttons button.active:last-child {
|
|
||||||
color:$ui-secondary-color;
|
|
||||||
background-color: $ui-highlight-color;
|
|
||||||
border-radius:3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.screenshot-with-signup {
|
|
||||||
min-height:300px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container.hero .closed-registrations-message .clock {
|
|
||||||
font-size: 150%;
|
|
||||||
margin: 1em auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.column .static-content.getting-started {
|
|
||||||
background-image: url('../images/logo-cybre.png'), url('../images/background-cybre.png');
|
|
||||||
background-size:auto 50%, cover;
|
|
||||||
background-position: 50% 75%, center center;
|
|
||||||
background-repeat:no-repeat, no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
.columns-area {
|
|
||||||
background: $ui-base-color url('../images/background-cybre.png');
|
|
||||||
}
|
|
||||||
|
|
||||||
.actions .button.button-alternative {
|
|
||||||
background: $ui-highlight-color;
|
|
||||||
color: $ui-primary-color;
|
|
||||||
|
|
||||||
&:active,
|
|
||||||
&:focus,
|
|
||||||
&:hover {
|
|
||||||
background-color: lighten($ui-highlight-color, 4%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (max-width: 1280px) {
|
|
||||||
.landing-page .container.links {
|
|
||||||
top: -15px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.landing-page.alternative .header {
|
|
||||||
background-image:url('../images/header-cybre-colour.jpg');
|
|
||||||
background-repeat: repeat-x;
|
|
||||||
background-size:contain;
|
|
||||||
height:45vh;
|
|
||||||
width: 100%;
|
|
||||||
position:absolute;
|
|
||||||
z-index: 1;
|
|
||||||
text-align:center;
|
|
||||||
|
|
||||||
display: unset!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.landing-page.alternative .header img {
|
|
||||||
margin: auto;
|
|
||||||
max-height:45vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.landing-page.alternative .grid {
|
|
||||||
position: relative;
|
|
||||||
z-index:2;
|
|
||||||
margin-top:15vh;
|
|
||||||
}
|
|
||||||
|
|
||||||
.landing-page.alternative .landing-page__hero img {
|
|
||||||
visibility: hidden;
|
|
||||||
max-height:170px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.landing-page.alternative .landing-page__forms {
|
|
||||||
height:auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.landing-page.alternative .column-1 {
|
|
||||||
display:flex;
|
|
||||||
align-items:flex-end;
|
|
||||||
}
|
|
||||||
|
|
||||||
.landing-page.alternative .column {
|
|
||||||
max-height:initial;
|
|
||||||
}
|
|
||||||
|
|
||||||
.landing-page.alternative .row__mascot {
|
|
||||||
.floats {
|
|
||||||
position:absolute;
|
|
||||||
img {
|
|
||||||
width:100%;
|
|
||||||
height:100%;
|
|
||||||
}
|
|
||||||
transition: all 0.1s linear;
|
|
||||||
animation-name: floating;
|
|
||||||
animation-iteration-count: infinite;
|
|
||||||
animation-direction: alternate;
|
|
||||||
animation-timing-function: ease-in-out;
|
|
||||||
}
|
|
||||||
|
|
||||||
.float-1 {
|
|
||||||
width:50px;
|
|
||||||
height:50px;
|
|
||||||
bottom:60px;
|
|
||||||
left:110px;
|
|
||||||
animation-duration: 3s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.float-2 {
|
|
||||||
width:130px;
|
|
||||||
height:130px;
|
|
||||||
left:85px;
|
|
||||||
bottom: -60px;
|
|
||||||
animation-duration: 3.5s;
|
|
||||||
animation-delay: 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.float-3 {
|
|
||||||
width:100px;
|
|
||||||
height:100px;
|
|
||||||
right: 50;
|
|
||||||
top: -10px;
|
|
||||||
animation-duration: 4s;
|
|
||||||
animation-delay: 0.5s;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.activity-stream {
|
|
||||||
.status.light {
|
|
||||||
.status__header .status__meta .status__relative-time {
|
|
||||||
color: $ui-primary-color-alt;
|
|
||||||
}
|
|
||||||
|
|
||||||
.display-name span {
|
|
||||||
color: $ui-primary-color-alt;
|
|
||||||
}
|
|
||||||
|
|
||||||
.status__content {
|
|
||||||
a.status__content__spoiler-link {
|
|
||||||
background: $ui-primary-color-alt;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background: lighten($ui-primary-color-alt, 8%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.detailed-status.light {
|
|
||||||
.detailed-status__display-name .display-name span {
|
|
||||||
color: $ui-primary-color-alt;
|
|
||||||
}
|
|
||||||
|
|
||||||
.status__content a.status__content__spoiler-link {
|
|
||||||
background: $ui-primary-color-alt;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background: lighten($ui-primary-color-alt, 8%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.detailed-status__meta {
|
|
||||||
color: $ui-primary-color-alt;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.media-spoiler {
|
|
||||||
background: $ui-primary-color-alt;
|
|
||||||
&:hover {
|
|
||||||
background: darken($ui-primary-color-alt, 5%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.pre-header {
|
|
||||||
color: $ui-primary-color-alt;
|
|
||||||
.status__display-name.muted strong {
|
|
||||||
color: $ui-primary-color-alt;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.embed .activity-stream .entry .detailed-status.light .button.button-secondary.logo-button {
|
|
||||||
color: $ui-primary-color-alt;
|
|
||||||
svg {
|
|
||||||
path:first-child {
|
|
||||||
fill: $ui-primary-color-alt;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:active,
|
|
||||||
&:focus,
|
|
||||||
&:hover {
|
|
||||||
svg path:first-child {
|
|
||||||
fill: lighten($ui-primary-color-alt, 4%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.emoji-mart-search {
|
|
||||||
background: $simple-background-color;
|
|
||||||
input {
|
|
||||||
color: $ui-primary-color-alt;
|
|
||||||
border: 1px solid $ui-primary-color-alt;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.emoji-mart-anchor {
|
|
||||||
color: $ui-primary-color-alt;
|
|
||||||
&:hover {
|
|
||||||
color: darken($ui-primary-color-alt, 8%);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-popout {
|
|
||||||
background: $ui-base-color;
|
|
||||||
color: $ui-primary-color;
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
color: $ui-primary-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
em {
|
|
||||||
color: $ui-highlight-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.status__content a,
|
|
||||||
.status__content a.unhandled-link {
|
|
||||||
color: mix($ui-highlight-color, $ui-secondary-color, 10%);
|
|
||||||
}
|
|
|
@ -1669,13 +1669,13 @@ a.account__display-name {
|
||||||
|
|
||||||
.no-reduce-motion .icon-button.star-icon {
|
.no-reduce-motion .icon-button.star-icon {
|
||||||
&.activate {
|
&.activate {
|
||||||
& > .fa-floppy-o {
|
& > .fa-star {
|
||||||
animation: spring-rotate-in 1s linear;
|
animation: spring-rotate-in 1s linear;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.deactivate {
|
&.deactivate {
|
||||||
& > .fa-floppy-o {
|
& > .fa-star {
|
||||||
animation: spring-rotate-out 1s linear;
|
animation: spring-rotate-out 1s linear;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -263,6 +263,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
|
max-width: 960px;
|
||||||
|
|
||||||
@media screen and (max-width: $no-gap-breakpoint) {
|
@media screen and (max-width: $no-gap-breakpoint) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -296,12 +298,6 @@
|
||||||
min-height: 1px;
|
min-height: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 1rem;
|
|
||||||
align-items: center;
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nav-left {
|
.nav-left {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
|
|
@ -98,7 +98,7 @@ class ActivityPub::Activity
|
||||||
crawl_links(status)
|
crawl_links(status)
|
||||||
|
|
||||||
notify_about_reblog(status) if reblog_of_local_account?(status) && !reblog_by_following_group_account?(status)
|
notify_about_reblog(status) if reblog_of_local_account?(status) && !reblog_by_following_group_account?(status)
|
||||||
notify_about_mentions(status) unless spammy_mentions?(status)
|
notify_about_mentions(status)
|
||||||
|
|
||||||
# Only continue if the status is supposed to have arrived in real-time.
|
# Only continue if the status is supposed to have arrived in real-time.
|
||||||
# Note that if @options[:override_timestamps] isn't set, the status
|
# Note that if @options[:override_timestamps] isn't set, the status
|
||||||
|
@ -117,11 +117,6 @@ class ActivityPub::Activity
|
||||||
status.reblog? && status.account.group? && status.reblog.account.following?(status.account)
|
status.reblog? && status.account.group? && status.reblog.account.following?(status.account)
|
||||||
end
|
end
|
||||||
|
|
||||||
def spammy_mentions?(status)
|
|
||||||
status.has_non_mention_links? &&
|
|
||||||
@account.followers.local.count == 0
|
|
||||||
end
|
|
||||||
|
|
||||||
def notify_about_reblog(status)
|
def notify_about_reblog(status)
|
||||||
NotifyService.new.call(status.reblog.account, :reblog, status)
|
NotifyService.new.call(status.reblog.account, :reblog, status)
|
||||||
end
|
end
|
||||||
|
@ -149,7 +144,7 @@ class ActivityPub::Activity
|
||||||
end
|
end
|
||||||
|
|
||||||
def delete_later!(uri)
|
def delete_later!(uri)
|
||||||
redis.setex("delete_upon_arrival:#{@account.id}:#{uri}", 6.hours.seconds, true)
|
redis.setex("delete_upon_arrival:#{@account.id}:#{uri}", 6.hours.seconds, uri)
|
||||||
end
|
end
|
||||||
|
|
||||||
def status_from_object
|
def status_from_object
|
||||||
|
@ -215,22 +210,12 @@ class ActivityPub::Activity
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def lock_or_return(key, expire_after = 2.hours.seconds)
|
def lock_or_return(key, expire_after = 7.days.seconds)
|
||||||
yield if redis.set(key, true, nx: true, ex: expire_after)
|
yield if redis.set(key, true, nx: true, ex: expire_after)
|
||||||
ensure
|
ensure
|
||||||
redis.del(key)
|
redis.del(key)
|
||||||
end
|
end
|
||||||
|
|
||||||
def lock_or_fail(key)
|
|
||||||
RedisLock.acquire({ redis: Redis.current, key: key }) do |lock|
|
|
||||||
if lock.acquired?
|
|
||||||
yield
|
|
||||||
else
|
|
||||||
raise Mastodon::RaceConditionError
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
def fetch?
|
def fetch?
|
||||||
!@options[:delivery]
|
!@options[:delivery]
|
||||||
end
|
end
|
||||||
|
|
|
@ -4,25 +4,29 @@ class ActivityPub::Activity::Announce < ActivityPub::Activity
|
||||||
def perform
|
def perform
|
||||||
return reject_payload! if delete_arrived_first?(@json['id']) || !related_to_local_activity?
|
return reject_payload! if delete_arrived_first?(@json['id']) || !related_to_local_activity?
|
||||||
|
|
||||||
lock_or_fail("announce:#{@object['id']}") do
|
RedisLock.acquire(lock_options) do |lock|
|
||||||
original_status = status_from_object
|
if lock.acquired?
|
||||||
|
original_status = status_from_object
|
||||||
|
|
||||||
return reject_payload! if original_status.nil? || !announceable?(original_status)
|
return reject_payload! if original_status.nil? || !announceable?(original_status)
|
||||||
|
|
||||||
@status = Status.find_by(account: @account, reblog: original_status)
|
@status = Status.find_by(account: @account, reblog: original_status)
|
||||||
|
|
||||||
return @status unless @status.nil?
|
return @status unless @status.nil?
|
||||||
|
|
||||||
@status = Status.create!(
|
@status = Status.create!(
|
||||||
account: @account,
|
account: @account,
|
||||||
reblog: original_status,
|
reblog: original_status,
|
||||||
uri: @json['id'],
|
uri: @json['id'],
|
||||||
created_at: @json['published'],
|
created_at: @json['published'],
|
||||||
override_timestamps: @options[:override_timestamps],
|
override_timestamps: @options[:override_timestamps],
|
||||||
visibility: visibility_from_audience
|
visibility: visibility_from_audience
|
||||||
)
|
)
|
||||||
|
|
||||||
distribute(@status)
|
distribute(@status)
|
||||||
|
else
|
||||||
|
raise Mastodon::RaceConditionError
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@status
|
@status
|
||||||
|
@ -65,4 +69,8 @@ class ActivityPub::Activity::Announce < ActivityPub::Activity
|
||||||
def reblog_of_local_status?
|
def reblog_of_local_status?
|
||||||
status_from_uri(object_uri)&.account&.local?
|
status_from_uri(object_uri)&.account&.local?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def lock_options
|
||||||
|
{ redis: Redis.current, key: "announce:#{@object['id']}" }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -45,15 +45,19 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
||||||
def create_status
|
def create_status
|
||||||
return reject_payload! if unsupported_object_type? || invalid_origin?(object_uri) || tombstone_exists? || !related_to_local_activity?
|
return reject_payload! if unsupported_object_type? || invalid_origin?(object_uri) || tombstone_exists? || !related_to_local_activity?
|
||||||
|
|
||||||
lock_or_fail("create:#{object_uri}") do
|
RedisLock.acquire(lock_options) do |lock|
|
||||||
return if delete_arrived_first?(object_uri) || poll_vote? # rubocop:disable Lint/NonLocalExitFromIterator
|
if lock.acquired?
|
||||||
|
return if delete_arrived_first?(object_uri) || poll_vote? # rubocop:disable Lint/NonLocalExitFromIterator
|
||||||
|
|
||||||
@status = find_existing_status
|
@status = find_existing_status
|
||||||
|
|
||||||
if @status.nil?
|
if @status.nil?
|
||||||
process_status
|
process_status
|
||||||
elsif @options[:delivered_to_account_id].present?
|
elsif @options[:delivered_to_account_id].present?
|
||||||
postprocess_audience_and_deliver
|
postprocess_audience_and_deliver
|
||||||
|
end
|
||||||
|
else
|
||||||
|
raise Mastodon::RaceConditionError
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -249,8 +253,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
||||||
rescue Mastodon::UnexpectedResponseError, HTTP::TimeoutError, HTTP::ConnectionError, OpenSSL::SSL::SSLError
|
rescue Mastodon::UnexpectedResponseError, HTTP::TimeoutError, HTTP::ConnectionError, OpenSSL::SSL::SSLError
|
||||||
RedownloadMediaWorker.perform_in(rand(30..600).seconds, media_attachment.id)
|
RedownloadMediaWorker.perform_in(rand(30..600).seconds, media_attachment.id)
|
||||||
rescue Seahorse::Client::NetworkingError
|
rescue Seahorse::Client::NetworkingError
|
||||||
Rails.logger.info "Ran into seahorse networking error on MEDIA:#{media_attachment.id} (url:#{media_attachment.remote_url})"
|
nil
|
||||||
raise
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -311,9 +314,13 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
||||||
poll = replied_to_status.preloadable_poll
|
poll = replied_to_status.preloadable_poll
|
||||||
already_voted = true
|
already_voted = true
|
||||||
|
|
||||||
lock_or_fail("vote:#{replied_to_status.poll_id}:#{@account.id}") do
|
RedisLock.acquire(poll_lock_options) do |lock|
|
||||||
already_voted = poll.votes.where(account: @account).exists?
|
if lock.acquired?
|
||||||
poll.votes.create!(account: @account, choice: poll.options.index(@object['name']), uri: object_uri)
|
already_voted = poll.votes.where(account: @account).exists?
|
||||||
|
poll.votes.create!(account: @account, choice: poll.options.index(@object['name']), uri: object_uri)
|
||||||
|
else
|
||||||
|
raise Mastodon::RaceConditionError
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
increment_voters_count! unless already_voted
|
increment_voters_count! unless already_voted
|
||||||
|
@ -506,4 +513,12 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
||||||
poll.reload
|
poll.reload
|
||||||
retry
|
retry
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def lock_options
|
||||||
|
{ redis: Redis.current, key: "create:#{object_uri}" }
|
||||||
|
end
|
||||||
|
|
||||||
|
def poll_lock_options
|
||||||
|
{ redis: Redis.current, key: "vote:#{replied_to_status.poll_id}:#{@account.id}" }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -20,35 +20,33 @@ class ActivityPub::Activity::Delete < ActivityPub::Activity
|
||||||
def delete_note
|
def delete_note
|
||||||
return if object_uri.nil?
|
return if object_uri.nil?
|
||||||
|
|
||||||
lock_or_return("delete_status_in_progress:#{object_uri}", 5.minutes.seconds) do
|
unless invalid_origin?(object_uri)
|
||||||
unless invalid_origin?(object_uri)
|
RedisLock.acquire(lock_options) { |_lock| delete_later!(object_uri) }
|
||||||
# This lock ensures a concurrent `ActivityPub::Activity::Create` either
|
Tombstone.find_or_create_by(uri: object_uri, account: @account)
|
||||||
# does not create a status at all, or has finished saving it to the
|
|
||||||
# database before we try to load it.
|
|
||||||
# Without the lock, `delete_later!` could be called after `delete_arrived_first?`
|
|
||||||
# and `Status.find` before `Status.create!`
|
|
||||||
lock_or_fail("create:#{object_uri}") { delete_later!(object_uri) }
|
|
||||||
|
|
||||||
Tombstone.find_or_create_by(uri: object_uri, account: @account)
|
|
||||||
end
|
|
||||||
|
|
||||||
@status = Status.find_by(uri: object_uri, account: @account)
|
|
||||||
@status ||= Status.find_by(uri: @object['atomUri'], account: @account) if @object.is_a?(Hash) && @object['atomUri'].present?
|
|
||||||
|
|
||||||
return if @status.nil?
|
|
||||||
|
|
||||||
forward! if @json['signature'].present? && @status.distributable?
|
|
||||||
delete_now!
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@status = Status.find_by(uri: object_uri, account: @account)
|
||||||
|
@status ||= Status.find_by(uri: @object['atomUri'], account: @account) if @object.is_a?(Hash) && @object['atomUri'].present?
|
||||||
|
|
||||||
|
return if @status.nil?
|
||||||
|
|
||||||
|
if @status.distributable?
|
||||||
|
forward_for_reply
|
||||||
|
forward_for_reblogs
|
||||||
|
end
|
||||||
|
|
||||||
|
delete_now!
|
||||||
end
|
end
|
||||||
|
|
||||||
def rebloggers_ids
|
def forward_for_reblogs
|
||||||
return @rebloggers_ids if defined?(@rebloggers_ids)
|
return if @json['signature'].blank?
|
||||||
@rebloggers_ids = @status.reblogs.includes(:account).references(:account).merge(Account.local).pluck(:account_id)
|
|
||||||
end
|
|
||||||
|
|
||||||
def inboxes_for_reblogs
|
rebloggers_ids = @status.reblogs.includes(:account).references(:account).merge(Account.local).pluck(:account_id)
|
||||||
Account.where(id: ::Follow.where(target_account_id: rebloggers_ids).select(:account_id)).inboxes
|
inboxes = Account.where(id: ::Follow.where(target_account_id: rebloggers_ids).select(:account_id)).inboxes - [@account.preferred_inbox_url]
|
||||||
|
|
||||||
|
ActivityPub::LowPriorityDeliveryWorker.push_bulk(inboxes) do |inbox_url|
|
||||||
|
[payload, rebloggers_ids.first, inbox_url]
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def replied_to_status
|
def replied_to_status
|
||||||
|
@ -60,19 +58,13 @@ class ActivityPub::Activity::Delete < ActivityPub::Activity
|
||||||
!replied_to_status.nil? && replied_to_status.account.local?
|
!replied_to_status.nil? && replied_to_status.account.local?
|
||||||
end
|
end
|
||||||
|
|
||||||
def inboxes_for_reply
|
def forward_for_reply
|
||||||
replied_to_status.account.followers.inboxes
|
return unless @json['signature'].present? && reply_to_local?
|
||||||
end
|
|
||||||
|
|
||||||
def forward!
|
inboxes = replied_to_status.account.followers.inboxes - [@account.preferred_inbox_url]
|
||||||
inboxes = inboxes_for_reblogs
|
|
||||||
inboxes += inboxes_for_reply if reply_to_local?
|
|
||||||
inboxes -= [@account.preferred_inbox_url]
|
|
||||||
|
|
||||||
sender_id = reply_to_local? ? replied_to_status.account_id : rebloggers_ids.first
|
ActivityPub::LowPriorityDeliveryWorker.push_bulk(inboxes) do |inbox_url|
|
||||||
|
[payload, replied_to_status.account_id, inbox_url]
|
||||||
ActivityPub::LowPriorityDeliveryWorker.push_bulk(inboxes.uniq) do |inbox_url|
|
|
||||||
[payload, sender_id, inbox_url]
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -83,4 +75,8 @@ class ActivityPub::Activity::Delete < ActivityPub::Activity
|
||||||
def payload
|
def payload
|
||||||
@payload ||= Oj.dump(@json)
|
@payload ||= Oj.dump(@json)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def lock_options
|
||||||
|
{ redis: Redis.current, key: "create:#{object_uri}" }
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -267,9 +267,8 @@ class Formatter
|
||||||
|
|
||||||
def link_to_mention(entity, linkable_accounts)
|
def link_to_mention(entity, linkable_accounts)
|
||||||
acct = entity[:screen_name]
|
acct = entity[:screen_name]
|
||||||
username, domain = acct.split('@')
|
|
||||||
|
|
||||||
return link_to_account(acct) unless linkable_accounts and domain != "twitter.com"
|
return link_to_account(acct) unless linkable_accounts
|
||||||
|
|
||||||
account = linkable_accounts.find { |item| TagManager.instance.same_acct?(item.acct, acct) }
|
account = linkable_accounts.find { |item| TagManager.instance.same_acct?(item.acct, acct) }
|
||||||
account ? mention_html(account) : "@#{encode(acct)}"
|
account ? mention_html(account) : "@#{encode(acct)}"
|
||||||
|
@ -278,10 +277,6 @@ class Formatter
|
||||||
def link_to_account(acct)
|
def link_to_account(acct)
|
||||||
username, domain = acct.split('@')
|
username, domain = acct.split('@')
|
||||||
|
|
||||||
if domain == "twitter.com"
|
|
||||||
return mention_twitter_html(username)
|
|
||||||
end
|
|
||||||
|
|
||||||
domain = nil if TagManager.instance.local_domain?(domain)
|
domain = nil if TagManager.instance.local_domain?(domain)
|
||||||
account = EntityCache.instance.mention(username, domain)
|
account = EntityCache.instance.mention(username, domain)
|
||||||
|
|
||||||
|
@ -309,8 +304,4 @@ class Formatter
|
||||||
def mention_html(account)
|
def mention_html(account)
|
||||||
"<span class=\"h-card\"><a href=\"#{encode(ActivityPub::TagManager.instance.url_for(account))}\" class=\"u-url mention\">@<span>#{encode(account.username)}</span></a></span>"
|
"<span class=\"h-card\"><a href=\"#{encode(ActivityPub::TagManager.instance.url_for(account))}\" class=\"u-url mention\">@<span>#{encode(account.username)}</span></a></span>"
|
||||||
end
|
end
|
||||||
|
|
||||||
def mention_twitter_html(username)
|
|
||||||
"<span class=\"h-card\"><a href=\"https://twitter.com/#{username}\" class=\"u-url mention\">@<span>#{username}@twitter.com</span></a></span>"
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -88,8 +88,7 @@ class Account < ApplicationRecord
|
||||||
validates :username, format: { with: /\A[a-z0-9_]+\z/i }, length: { maximum: 30 }, if: -> { local? && will_save_change_to_username? && actor_type != 'Application' }
|
validates :username, format: { with: /\A[a-z0-9_]+\z/i }, length: { maximum: 30 }, if: -> { local? && will_save_change_to_username? && actor_type != 'Application' }
|
||||||
validates_with UnreservedUsernameValidator, if: -> { local? && will_save_change_to_username? }
|
validates_with UnreservedUsernameValidator, if: -> { local? && will_save_change_to_username? }
|
||||||
validates :display_name, length: { maximum: 30 }, if: -> { local? && will_save_change_to_display_name? }
|
validates :display_name, length: { maximum: 30 }, if: -> { local? && will_save_change_to_display_name? }
|
||||||
validates :note, note_length: { maximum: 1024 }, if: -> { local? && will_save_change_to_note? }
|
validates :note, note_length: { maximum: 500 }, if: -> { local? && will_save_change_to_note? }
|
||||||
validate :note_has_ten_newlines?, if: -> { local? && will_save_change_to_note? }
|
|
||||||
validates :fields, length: { maximum: 4 }, if: -> { local? && will_save_change_to_fields? }
|
validates :fields, length: { maximum: 4 }, if: -> { local? && will_save_change_to_fields? }
|
||||||
|
|
||||||
scope :remote, -> { where.not(domain: nil) }
|
scope :remote, -> { where.not(domain: nil) }
|
||||||
|
@ -347,6 +346,7 @@ class Account < ApplicationRecord
|
||||||
rescue ActiveRecord::RecordInvalid
|
rescue ActiveRecord::RecordInvalid
|
||||||
self.avatar = nil
|
self.avatar = nil
|
||||||
self.header = nil
|
self.header = nil
|
||||||
|
|
||||||
save!
|
save!
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -382,10 +382,6 @@ class Account < ApplicationRecord
|
||||||
return 'local' if local?
|
return 'local' if local?
|
||||||
|
|
||||||
@synchronization_uri_prefix ||= uri[/http(s?):\/\/[^\/]+\//]
|
@synchronization_uri_prefix ||= uri[/http(s?):\/\/[^\/]+\//]
|
||||||
end
|
|
||||||
|
|
||||||
def note_has_ten_newlines?
|
|
||||||
errors.add(:note, 'Bio can\'t have more then 10 newlines') unless note.count("\n") <= 10
|
|
||||||
end
|
end
|
||||||
|
|
||||||
class Field < ActiveModelSerializers::Model
|
class Field < ActiveModelSerializers::Model
|
||||||
|
|
|
@ -351,14 +351,6 @@ class Status < ApplicationRecord
|
||||||
super || build_status_stat
|
super || build_status_stat
|
||||||
end
|
end
|
||||||
|
|
||||||
def has_non_mention_links?
|
|
||||||
if local?
|
|
||||||
text.match? %r{https?://\w}
|
|
||||||
else
|
|
||||||
Nokogiri::HTML.fragment(text).css('a:not(.mention)').present?
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def update_status_stat!(attrs)
|
def update_status_stat!(attrs)
|
||||||
|
|
|
@ -8,7 +8,6 @@ class InstancePresenter
|
||||||
:site_description,
|
:site_description,
|
||||||
:site_extended_description,
|
:site_extended_description,
|
||||||
:site_terms,
|
:site_terms,
|
||||||
:open_registrations,
|
|
||||||
:closed_registrations_message,
|
:closed_registrations_message,
|
||||||
to: Setting
|
to: Setting
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,7 +5,7 @@ class REST::InstanceSerializer < ActiveModel::Serializer
|
||||||
|
|
||||||
attributes :uri, :title, :short_description, :description, :email,
|
attributes :uri, :title, :short_description, :description, :email,
|
||||||
:version, :urls, :stats, :thumbnail,
|
:version, :urls, :stats, :thumbnail,
|
||||||
:languages, :registrations, :approval_required, :invites_enabled, :max_toot_chars
|
:languages, :registrations, :approval_required, :invites_enabled
|
||||||
|
|
||||||
has_one :contact_account, serializer: REST::AccountSerializer
|
has_one :contact_account, serializer: REST::AccountSerializer
|
||||||
|
|
||||||
|
@ -39,10 +39,6 @@ class REST::InstanceSerializer < ActiveModel::Serializer
|
||||||
instance_presenter.thumbnail ? full_asset_url(instance_presenter.thumbnail.file.url) : full_pack_url('media/images/preview.jpg')
|
instance_presenter.thumbnail ? full_asset_url(instance_presenter.thumbnail.file.url) : full_pack_url('media/images/preview.jpg')
|
||||||
end
|
end
|
||||||
|
|
||||||
def max_toot_chars
|
|
||||||
StatusLengthValidator::MAX_CHARS
|
|
||||||
end
|
|
||||||
|
|
||||||
def stats
|
def stats
|
||||||
{
|
{
|
||||||
user_count: instance_presenter.user_count,
|
user_count: instance_presenter.user_count,
|
||||||
|
|
|
@ -16,8 +16,6 @@ class RemoveStatusService < BaseService
|
||||||
@account = status.account
|
@account = status.account
|
||||||
@options = options
|
@options = options
|
||||||
|
|
||||||
@status.discard
|
|
||||||
|
|
||||||
RedisLock.acquire(lock_options) do |lock|
|
RedisLock.acquire(lock_options) do |lock|
|
||||||
if lock.acquired?
|
if lock.acquired?
|
||||||
remove_from_self if @account.local?
|
remove_from_self if @account.local?
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class StatusLengthValidator < ActiveModel::Validator
|
class StatusLengthValidator < ActiveModel::Validator
|
||||||
MAX_CHARS = 1024
|
MAX_CHARS = 500
|
||||||
|
|
||||||
def validate(status)
|
def validate(status)
|
||||||
return unless status.local? && !status.reblog?
|
return unless status.local? && !status.reblog?
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
.landing
|
.landing
|
||||||
.landing__brand
|
.landing__brand
|
||||||
= link_to root_url, class: 'brand' do
|
= link_to root_url, class: 'brand' do
|
||||||
= image_pack_tag 'logo-cybre.png', width: 100, alt: 'Cybrespace'
|
= svg_logo_full
|
||||||
|
%span.brand__tagline=t 'about.tagline'
|
||||||
|
|
||||||
.landing__grid
|
.landing__grid
|
||||||
.landing__grid__column.landing__grid__column-registration
|
.landing__grid__column.landing__grid__column-registration
|
||||||
|
|
|
@ -19,11 +19,6 @@
|
||||||
|
|
||||||
= render 'header', account: @account, with_bio: true
|
= render 'header', account: @account, with_bio: true
|
||||||
|
|
||||||
- if @account.user&.disabled?
|
|
||||||
.header
|
|
||||||
.nav-center
|
|
||||||
%h2 This user's account has been locked by a moderator.
|
|
||||||
|
|
||||||
.grid
|
.grid
|
||||||
.column-0
|
.column-0
|
||||||
.h-feed
|
.h-feed
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
.sidebar-wrapper__inner
|
.sidebar-wrapper__inner
|
||||||
.sidebar
|
.sidebar
|
||||||
= link_to root_path do
|
= link_to root_path do
|
||||||
= image_pack_tag 'logo-cybre.png', class: 'logo', alt: 'Cybrespace'
|
= image_pack_tag 'logo.svg', class: 'logo', alt: 'Mastodon'
|
||||||
|
|
||||||
.sidebar__toggle
|
.sidebar__toggle
|
||||||
.sidebar__toggle__logo
|
.sidebar__toggle__logo
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
.logo-container
|
.logo-container
|
||||||
%h1
|
%h1
|
||||||
= link_to root_path do
|
= link_to root_path do
|
||||||
= image_pack_tag 'logo-cybre.png', alt: 'Cybrespace'
|
= svg_logo_full
|
||||||
|
|
||||||
.form-container
|
.form-container
|
||||||
= render 'flashes'
|
= render 'flashes'
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
%li= link_to t('about.api'), 'https://docs.joinmastodon.org/client/intro/'
|
%li= link_to t('about.api'), 'https://docs.joinmastodon.org/client/intro/'
|
||||||
.column-2
|
.column-2
|
||||||
%h4= link_to t('about.what_is_mastodon'), 'https://joinmastodon.org/'
|
%h4= link_to t('about.what_is_mastodon'), 'https://joinmastodon.org/'
|
||||||
= link_to (image_pack_tag 'logo-cybre.png', width: 50), root_url, class: 'brand', alt: 'Cybrespace'
|
= link_to svg_logo, root_url, class: 'brand'
|
||||||
.column-3
|
.column-3
|
||||||
%h4= site_hostname
|
%h4= site_hostname
|
||||||
%ul
|
%ul
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
.fields-row
|
.fields-row
|
||||||
.fields-row__column.fields-group.fields-row__column-6
|
.fields-row__column.fields-group.fields-row__column-6
|
||||||
= f.input :display_name, wrapper: :with_label, input_html: { maxlength: 30, data: { default: @account.username } }, hint: false
|
= f.input :display_name, wrapper: :with_label, input_html: { maxlength: 30, data: { default: @account.username } }, hint: false
|
||||||
= f.input :note, wrapper: :with_label, input_html: { maxlength: 1024 }, hint: false
|
= f.input :note, wrapper: :with_label, input_html: { maxlength: 500 }, hint: false
|
||||||
|
|
||||||
.fields-row
|
.fields-row
|
||||||
.fields-row__column.fields-row__column-6
|
.fields-row__column.fields-row__column-6
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
= " "
|
= " "
|
||||||
·
|
·
|
||||||
= link_to remote_interaction_path(status, type: :favourite), class: 'modal-button detailed-status__link' do
|
= link_to remote_interaction_path(status, type: :favourite), class: 'modal-button detailed-status__link' do
|
||||||
= fa_icon('floppy-o')
|
= fa_icon('star')
|
||||||
%span.detailed-status__favorites>= number_to_human status.favourites_count, strip_insignificant_zeros: true
|
%span.detailed-status__favorites>= number_to_human status.favourites_count, strip_insignificant_zeros: true
|
||||||
= " "
|
= " "
|
||||||
|
|
||||||
|
|
|
@ -60,6 +60,7 @@
|
||||||
= fa_icon 'reply fw'
|
= fa_icon 'reply fw'
|
||||||
- else
|
- else
|
||||||
= fa_icon 'reply-all fw'
|
= fa_icon 'reply-all fw'
|
||||||
|
%span.icon-button__counter= obscured_counter status.replies_count
|
||||||
= link_to remote_interaction_path(status, type: :reblog), class: 'status__action-bar-button icon-button modal-button' do
|
= link_to remote_interaction_path(status, type: :reblog), class: 'status__action-bar-button icon-button modal-button' do
|
||||||
- if status.distributable?
|
- if status.distributable?
|
||||||
= fa_icon 'retweet fw'
|
= fa_icon 'retweet fw'
|
||||||
|
@ -68,4 +69,4 @@
|
||||||
- else
|
- else
|
||||||
= fa_icon 'envelope fw'
|
= fa_icon 'envelope fw'
|
||||||
= link_to remote_interaction_path(status, type: :favourite), class: 'status__action-bar-button icon-button modal-button' do
|
= link_to remote_interaction_path(status, type: :favourite), class: 'status__action-bar-button icon-button modal-button' do
|
||||||
= fa_icon 'floppy-o fw'
|
= fa_icon 'star fw'
|
||||||
|
|
|
@ -47,8 +47,6 @@ module Mastodon
|
||||||
# All translations from config/locales/*.rb,yml are auto loaded.
|
# All translations from config/locales/*.rb,yml are auto loaded.
|
||||||
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
||||||
config.i18n.available_locales = [
|
config.i18n.available_locales = [
|
||||||
:en,
|
|
||||||
:'en-CY',
|
|
||||||
:ar,
|
:ar,
|
||||||
:ast,
|
:ast,
|
||||||
:bg,
|
:bg,
|
||||||
|
@ -125,11 +123,9 @@ module Mastodon
|
||||||
]
|
]
|
||||||
|
|
||||||
config.i18n.default_locale = ENV['DEFAULT_LOCALE']&.to_sym
|
config.i18n.default_locale = ENV['DEFAULT_LOCALE']&.to_sym
|
||||||
if config.i18n.available_locales.include?(config.i18n.default_locale)
|
|
||||||
config.i18n.fallbacks = [:en]
|
unless config.i18n.available_locales.include?(config.i18n.default_locale)
|
||||||
else
|
config.i18n.default_locale = :en
|
||||||
config.i18n.default_locale = :'en-CY'
|
|
||||||
config.i18n.fallbacks = [:en]
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb')
|
# config.paths.add File.join('app', 'api'), glob: File.join('**', '*.rb')
|
||||||
|
|
|
@ -30,7 +30,6 @@ search:
|
||||||
- app/assets/images
|
- app/assets/images
|
||||||
- app/assets/fonts
|
- app/assets/fonts
|
||||||
- app/assets/videos
|
- app/assets/videos
|
||||||
- app/javascript/images
|
|
||||||
|
|
||||||
ignore_missing:
|
ignore_missing:
|
||||||
- 'activemodel.errors.*'
|
- 'activemodel.errors.*'
|
||||||
|
|
|
@ -1,61 +0,0 @@
|
||||||
---
|
|
||||||
en-CY:
|
|
||||||
devise:
|
|
||||||
confirmations:
|
|
||||||
confirmed: Your email address has been successfully confirmed.
|
|
||||||
send_instructions: You will receive an email with instructions for how to confirm your email address in a few minutes. Please check your spam folder if you didn't receive this email.
|
|
||||||
send_paranoid_instructions: If your email address exists in our database, you will receive an email with instructions for how to confirm your email address in a few minutes. Please check your spam folder if you didn't receive this email.
|
|
||||||
failure:
|
|
||||||
already_authenticated: You are already signed in.
|
|
||||||
inactive: Your account is not activated yet.
|
|
||||||
invalid: Invalid %{authentication_keys} or password.
|
|
||||||
last_attempt: You have one more attempt before your account is locked.
|
|
||||||
locked: Your account is locked.
|
|
||||||
not_found_in_database: Invalid %{authentication_keys} or password.
|
|
||||||
timeout: Your session expired. Please sign in again to continue.
|
|
||||||
unauthenticated: You need to sign in or sign up before continuing.
|
|
||||||
unconfirmed: You have to confirm your email address before continuing.
|
|
||||||
mailer:
|
|
||||||
confirmation_instructions:
|
|
||||||
subject: 'Mastodon: Confirmation instructions for %{instance}'
|
|
||||||
password_change:
|
|
||||||
subject: 'Mastodon: Password changed'
|
|
||||||
reset_password_instructions:
|
|
||||||
subject: 'Mastodon: Reset password instructions'
|
|
||||||
unlock_instructions:
|
|
||||||
subject: 'Mastodon: Unlock instructions'
|
|
||||||
omniauth_callbacks:
|
|
||||||
failure: Could not authenticate you from %{kind} because "%{reason}".
|
|
||||||
success: Successfully authenticated from %{kind} account.
|
|
||||||
passwords:
|
|
||||||
no_token: You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided.
|
|
||||||
send_instructions: If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes. Please check your spam folder if you didn't receive this email.
|
|
||||||
send_paranoid_instructions: If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes. Please check your spam folder if you didn't receive this email.
|
|
||||||
updated: Your password has been changed successfully. You are now signed in.
|
|
||||||
updated_not_active: Your password has been changed successfully.
|
|
||||||
registrations:
|
|
||||||
destroyed: Bye! Your account has been successfully cancelled. We hope to see you again soon.
|
|
||||||
signed_up: Welcome! You have signed up successfully.
|
|
||||||
signed_up_but_inactive: You have signed up successfully. However, we could not sign you in because your account is not yet activated.
|
|
||||||
signed_up_but_locked: You have signed up successfully. However, we could not sign you in because your account is locked.
|
|
||||||
signed_up_but_unconfirmed: A message with a confirmation link has been sent to your email address. Please follow the link to activate your account. Please check your spam folder if you didn't receive this email.
|
|
||||||
update_needs_confirmation: You updated your account successfully, but we need to verify your new email address. Please check your email and follow the confirm link to confirm your new email address. Please check your spam folder if you didn't receive this email.
|
|
||||||
updated: Your account has been updated successfully.
|
|
||||||
sessions:
|
|
||||||
already_signed_out: Signed out successfully.
|
|
||||||
signed_in: Signed in successfully.
|
|
||||||
signed_out: Signed out successfully.
|
|
||||||
unlocks:
|
|
||||||
send_instructions: You will receive an email with instructions for how to unlock your account in a few minutes. Please check your spam folder if you didn't receive this email.
|
|
||||||
send_paranoid_instructions: If your account exists, you will receive an email with instructions for how to unlock it in a few minutes. Please check your spam folder if you didn't receive this email.
|
|
||||||
unlocked: Your account has been unlocked successfully. Please sign in to continue.
|
|
||||||
errors:
|
|
||||||
messages:
|
|
||||||
already_confirmed: was already confirmed, please try signing in
|
|
||||||
confirmation_period_expired: needs to be confirmed within %{period}, please request a new one
|
|
||||||
expired: has expired, please request a new one
|
|
||||||
not_found: not found
|
|
||||||
not_locked: was not locked
|
|
||||||
not_saved:
|
|
||||||
one: '1 error prohibited this %{resource} from being saved:'
|
|
||||||
other: "%{count} errors prohibited this %{resource} from being saved:"
|
|
|
@ -1,119 +0,0 @@
|
||||||
---
|
|
||||||
en-CY:
|
|
||||||
activerecord:
|
|
||||||
attributes:
|
|
||||||
doorkeeper/application:
|
|
||||||
name: Application name
|
|
||||||
redirect_uri: Redirect URI
|
|
||||||
scopes: Scopes
|
|
||||||
website: Application website
|
|
||||||
errors:
|
|
||||||
models:
|
|
||||||
doorkeeper/application:
|
|
||||||
attributes:
|
|
||||||
redirect_uri:
|
|
||||||
fragment_present: cannot contain a fragment.
|
|
||||||
invalid_uri: must be a valid URI.
|
|
||||||
relative_uri: must be an absolute URI.
|
|
||||||
secured_uri: must be an HTTPS/SSL URI.
|
|
||||||
doorkeeper:
|
|
||||||
applications:
|
|
||||||
buttons:
|
|
||||||
authorize: Authorize
|
|
||||||
cancel: Cancel
|
|
||||||
destroy: Destroy
|
|
||||||
edit: Edit
|
|
||||||
submit: Submit
|
|
||||||
confirmations:
|
|
||||||
destroy: Are you sure?
|
|
||||||
edit:
|
|
||||||
title: Edit application
|
|
||||||
form:
|
|
||||||
error: Whoops! Check your form for possible errors
|
|
||||||
help:
|
|
||||||
native_redirect_uri: Use %{native_redirect_uri} for local tests
|
|
||||||
redirect_uri: Use one line per URI
|
|
||||||
scopes: Separate scopes with spaces. Leave blank to use the default scopes.
|
|
||||||
index:
|
|
||||||
application: Application
|
|
||||||
callback_url: Callback URL
|
|
||||||
delete: Delete
|
|
||||||
name: Name
|
|
||||||
new: New application
|
|
||||||
scopes: Scopes
|
|
||||||
show: Show
|
|
||||||
title: Your applications
|
|
||||||
new:
|
|
||||||
title: New application
|
|
||||||
show:
|
|
||||||
actions: Actions
|
|
||||||
application_id: Client key
|
|
||||||
callback_urls: Callback URLs
|
|
||||||
scopes: Scopes
|
|
||||||
secret: Client secret
|
|
||||||
title: 'Application: %{name}'
|
|
||||||
authorizations:
|
|
||||||
buttons:
|
|
||||||
authorize: Authorize
|
|
||||||
deny: Deny
|
|
||||||
error:
|
|
||||||
title: An error has occurred
|
|
||||||
new:
|
|
||||||
able_to: It will be able to
|
|
||||||
prompt: Application %{client_name} requests access to your account
|
|
||||||
title: Authorization required
|
|
||||||
show:
|
|
||||||
title: Authorization code
|
|
||||||
authorized_applications:
|
|
||||||
buttons:
|
|
||||||
revoke: Revoke
|
|
||||||
confirmations:
|
|
||||||
revoke: Are you sure?
|
|
||||||
index:
|
|
||||||
application: Application
|
|
||||||
created_at: Authorized
|
|
||||||
date_format: "%Y-%m-%d %H:%M:%S"
|
|
||||||
scopes: Scopes
|
|
||||||
title: Your authorized applications
|
|
||||||
errors:
|
|
||||||
messages:
|
|
||||||
access_denied: The resource owner or authorization server denied the request.
|
|
||||||
credential_flow_not_configured: Resource Owner Password Credentials flow failed due to Doorkeeper.configure.resource_owner_from_credentials being unconfigured.
|
|
||||||
invalid_client: Client authentication failed due to unknown client, no client authentication included, or unsupported authentication method.
|
|
||||||
invalid_grant: The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.
|
|
||||||
invalid_redirect_uri: The redirect uri included is not valid.
|
|
||||||
invalid_request: The request is missing a required parameter, includes an unsupported parameter value, or is otherwise malformed.
|
|
||||||
invalid_resource_owner: The provided resource owner credentials are not valid, or resource owner cannot be found
|
|
||||||
invalid_scope: The requested scope is invalid, unknown, or malformed.
|
|
||||||
invalid_token:
|
|
||||||
expired: The access token expired
|
|
||||||
revoked: The access token was revoked
|
|
||||||
unknown: The access token is invalid
|
|
||||||
resource_owner_authenticator_not_configured: Resource Owner find failed due to Doorkeeper.configure.resource_owner_authenticator being unconfiged.
|
|
||||||
server_error: The authorization server encountered an unexpected condition which prevented it from fulfilling the request.
|
|
||||||
temporarily_unavailable: The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
|
|
||||||
unauthorized_client: The client is not authorized to perform this request using this method.
|
|
||||||
unsupported_grant_type: The authorization grant type is not supported by the authorization server.
|
|
||||||
unsupported_response_type: The authorization server does not support this response type.
|
|
||||||
flash:
|
|
||||||
applications:
|
|
||||||
create:
|
|
||||||
notice: Application created.
|
|
||||||
destroy:
|
|
||||||
notice: Application deleted.
|
|
||||||
update:
|
|
||||||
notice: Application updated.
|
|
||||||
authorized_applications:
|
|
||||||
destroy:
|
|
||||||
notice: Application revoked.
|
|
||||||
layouts:
|
|
||||||
admin:
|
|
||||||
nav:
|
|
||||||
applications: Applications
|
|
||||||
oauth2_provider: OAuth2 Provider
|
|
||||||
application:
|
|
||||||
title: OAuth authorization required
|
|
||||||
scopes:
|
|
||||||
follow: follow, block, unblock and unfollow accounts
|
|
||||||
read: read your account's data
|
|
||||||
write: post on your behalf
|
|
|
@ -1,566 +0,0 @@
|
||||||
---
|
|
||||||
en-CY:
|
|
||||||
about:
|
|
||||||
about_hashtag_html: These are public pings tagged with <strong>#%{hashtag}</strong>. You can interact with them if you have an account anywhere in the fediverse
|
|
||||||
about_mastodon_html: Cybrespace is an instance of Mastodon, a social network based on open web protocols and free, open-source software. It is decentralized like e-mail.
|
|
||||||
about_this: About
|
|
||||||
closed_registrations: Registrations are currently closed on this instance. However! You can find a different instance to make an account on and get access to the very same network from there.
|
|
||||||
contact: Contact
|
|
||||||
contact_missing: Not set
|
|
||||||
contact_unavailable: N/A
|
|
||||||
description_headline: What is %{domain}?
|
|
||||||
domain_count_after: other instances
|
|
||||||
domain_count_before: Connected to
|
|
||||||
extended_description_html: |
|
|
||||||
<h3>A good place for rules</h3>
|
|
||||||
<p>The extended description has not been set up yet.</p>
|
|
||||||
features:
|
|
||||||
humane_approach_body: Learning from failures of other networks, Mastodon aims to make ethical design choices to combat the misuse of social media.
|
|
||||||
humane_approach_title: A more humane approach
|
|
||||||
not_a_product_body: Mastodon is not a commercial network. No advertising, no data mining, no walled gardens. There is no central authority.
|
|
||||||
not_a_product_title: You’re a person, not a product
|
|
||||||
real_conversation_body: With 512 characters at your disposal and support for granular content and media warnings, you can express yourself the way you want to.
|
|
||||||
real_conversation_title: Built for real conversation
|
|
||||||
within_reach_body: Multiple apps for iOS, Android, and other platforms thanks to a developer-friendly API ecosystem allow you to keep up with your friends anywhere.
|
|
||||||
within_reach_title: Always within reach
|
|
||||||
find_another_instance: Find another instance
|
|
||||||
generic_description: "%{domain} is one server in the network"
|
|
||||||
hosted_on: Mastodon hosted on %{domain}
|
|
||||||
learn_more: Learn more
|
|
||||||
other_instances: Instance list
|
|
||||||
source_code: Source code
|
|
||||||
status_count_after: pings
|
|
||||||
status_count_before: Who authored
|
|
||||||
user_count_after: users
|
|
||||||
user_count_before: Home to
|
|
||||||
what_is_mastodon: What is Mastodon?
|
|
||||||
accounts:
|
|
||||||
follow: Follow
|
|
||||||
followers: Followers
|
|
||||||
following: Following
|
|
||||||
media: Media
|
|
||||||
nothing_here: There is nothing here!
|
|
||||||
people_followed_by: People whom %{name} follows
|
|
||||||
people_who_follow: People who follow %{name}
|
|
||||||
posts:
|
|
||||||
one: Ping
|
|
||||||
other: Pings
|
|
||||||
posts_tab_heading: Pings
|
|
||||||
posts_with_replies: Pings with replies
|
|
||||||
remote_follow: Remote follow
|
|
||||||
reserved_username: The username is reserved
|
|
||||||
roles:
|
|
||||||
admin: Admin
|
|
||||||
unfollow: Unfollow
|
|
||||||
admin:
|
|
||||||
accounts:
|
|
||||||
are_you_sure: Are you sure?
|
|
||||||
confirm: Confirm
|
|
||||||
confirmed: Confirmed
|
|
||||||
disable_two_factor_authentication: Disable 2FA
|
|
||||||
display_name: Display name
|
|
||||||
domain: Domain
|
|
||||||
edit: Edit
|
|
||||||
email: E-mail
|
|
||||||
feed_url: Feed URL
|
|
||||||
followers: Followers
|
|
||||||
follows: Follows
|
|
||||||
inbox_url: Inbox URL
|
|
||||||
ip: IP
|
|
||||||
location:
|
|
||||||
all: All
|
|
||||||
local: Local
|
|
||||||
remote: Remote
|
|
||||||
title: Location
|
|
||||||
media_attachments: Media attachments
|
|
||||||
moderation:
|
|
||||||
all: All
|
|
||||||
silenced: Silenced
|
|
||||||
suspended: Suspended
|
|
||||||
title: Moderation
|
|
||||||
most_recent_activity: Most recent activity
|
|
||||||
most_recent_ip: Most recent IP
|
|
||||||
not_subscribed: Not subscribed
|
|
||||||
order:
|
|
||||||
alphabetic: Alphabetic
|
|
||||||
most_recent: Most recent
|
|
||||||
title: Order
|
|
||||||
outbox_url: Outbox URL
|
|
||||||
perform_full_suspension: Perform full suspension
|
|
||||||
profile_url: Profile URL
|
|
||||||
protocol: Protocol
|
|
||||||
public: Public
|
|
||||||
push_subscription_expires: PuSH subscription expires
|
|
||||||
redownload: Refresh avatar
|
|
||||||
reset: Reset
|
|
||||||
reset_password: Reset password
|
|
||||||
resubscribe: Resubscribe
|
|
||||||
salmon_url: Salmon URL
|
|
||||||
search: Query...
|
|
||||||
show:
|
|
||||||
created_reports: Reports created by this account
|
|
||||||
report: report
|
|
||||||
targeted_reports: Reports made about this account
|
|
||||||
silence: Silence
|
|
||||||
statuses: Statuses
|
|
||||||
subscribe: Subscribe
|
|
||||||
title: Accounts
|
|
||||||
undo_silenced: Undo silence
|
|
||||||
undo_suspension: Undo suspension
|
|
||||||
unsubscribe: Unsubscribe
|
|
||||||
username: Username
|
|
||||||
web: Web
|
|
||||||
domain_blocks:
|
|
||||||
add_new: Add new
|
|
||||||
created_msg: Domain block is now being processed
|
|
||||||
destroyed_msg: Domain block has been undone
|
|
||||||
domain: Domain
|
|
||||||
new:
|
|
||||||
create: Create block
|
|
||||||
hint: The domain block will not prevent creation of account entries in the database, but will retroactively and automatically apply specific moderation methods on those accounts.
|
|
||||||
severity:
|
|
||||||
desc_html: "<strong>Silence</strong> will make the account's posts invisible to anyone who isn't following them. <strong>Suspend</strong> will remove all of the account's content, media, and profile data. Use <strong>None</strong> if you just want to reject media files."
|
|
||||||
noop: None
|
|
||||||
silence: Silence
|
|
||||||
suspend: Suspend
|
|
||||||
title: New domain block
|
|
||||||
reject_media: Reject media files
|
|
||||||
reject_media_hint: Removes locally stored media files and refuses to download any in the future. Irrelevant for suspensions
|
|
||||||
severities:
|
|
||||||
noop: None
|
|
||||||
silence: Silence
|
|
||||||
suspend: Suspend
|
|
||||||
severity: Severity
|
|
||||||
show:
|
|
||||||
affected_accounts:
|
|
||||||
one: One account in the database affected
|
|
||||||
other: "%{count} accounts in the database affected"
|
|
||||||
retroactive:
|
|
||||||
silence: Unsilence all existing accounts from this domain
|
|
||||||
suspend: Unsuspend all existing accounts from this domain
|
|
||||||
title: Undo domain block for %{domain}
|
|
||||||
undo: Undo
|
|
||||||
title: Domain Blocks
|
|
||||||
undo: Undo
|
|
||||||
instances:
|
|
||||||
account_count: Known accounts
|
|
||||||
domain_name: Domain
|
|
||||||
title: Known Instances
|
|
||||||
reports:
|
|
||||||
action_taken_by: Action taken by
|
|
||||||
are_you_sure: Are you sure?
|
|
||||||
comment:
|
|
||||||
label: Comment
|
|
||||||
none: None
|
|
||||||
delete: Delete
|
|
||||||
id: ID
|
|
||||||
mark_as_resolved: Mark as resolved
|
|
||||||
nsfw:
|
|
||||||
'false': Unhide media attachments
|
|
||||||
'true': Hide media attachments
|
|
||||||
report: 'Report #%{id}'
|
|
||||||
report_contents: Contents
|
|
||||||
reported_account: Reported account
|
|
||||||
reported_by: Reported by
|
|
||||||
resolved: Resolved
|
|
||||||
silence_account: Silence account
|
|
||||||
status: Status
|
|
||||||
suspend_account: Suspend account
|
|
||||||
target: Target
|
|
||||||
title: Reports
|
|
||||||
unresolved: Unresolved
|
|
||||||
view: View
|
|
||||||
settings:
|
|
||||||
bootstrap_timeline_accounts:
|
|
||||||
desc_html: Separate multiple usernames by comma. Only local and unlocked accounts will work. Default when empty is all local admins.
|
|
||||||
title: Default follows for new users
|
|
||||||
contact_information:
|
|
||||||
email: Business e-mail
|
|
||||||
username: Contact username
|
|
||||||
registrations:
|
|
||||||
closed_message:
|
|
||||||
desc_html: Displayed on frontpage when registrations are closed. You can use HTML tags
|
|
||||||
title: Closed registration message
|
|
||||||
deletion:
|
|
||||||
desc_html: Allow anyone to delete their account
|
|
||||||
title: Open account deletion
|
|
||||||
open:
|
|
||||||
desc_html: Allow anyone to create an account
|
|
||||||
title: Open registration
|
|
||||||
site_description:
|
|
||||||
desc_html: Introductory paragraph on the frontpage and in meta tags. You can use HTML tags, in particular <code><a></code> and <code><em></code>.
|
|
||||||
title: Instance description
|
|
||||||
site_description_extended:
|
|
||||||
desc_html: A good place for your code of conduct, rules, guidelines and other things that set your instance apart. You can use HTML tags
|
|
||||||
title: Custom extended information
|
|
||||||
site_terms:
|
|
||||||
desc_html: You can write your own privacy policy, terms of service or other legalese. You can use HTML tags
|
|
||||||
title: Custom terms of service
|
|
||||||
site_title: Instance name
|
|
||||||
timeline_preview:
|
|
||||||
desc_html: Display public timeline on landing page
|
|
||||||
title: Timeline preview
|
|
||||||
title: Site Settings
|
|
||||||
statuses:
|
|
||||||
back_to_account: Back to account page
|
|
||||||
batch:
|
|
||||||
delete: Delete
|
|
||||||
nsfw_off: NSFW OFF
|
|
||||||
nsfw_on: NSFW ON
|
|
||||||
execute: Execute
|
|
||||||
failed_to_execute: Failed to execute
|
|
||||||
media:
|
|
||||||
hide: Hide media
|
|
||||||
show: Show media
|
|
||||||
title: Media
|
|
||||||
no_media: No media
|
|
||||||
title: Account statuses
|
|
||||||
with_media: With media
|
|
||||||
subscriptions:
|
|
||||||
callback_url: Callback URL
|
|
||||||
confirmed: Confirmed
|
|
||||||
expires_in: Expires in
|
|
||||||
last_delivery: Last delivery
|
|
||||||
title: WebSub
|
|
||||||
topic: Topic
|
|
||||||
title: Administration
|
|
||||||
admin_mailer:
|
|
||||||
new_report:
|
|
||||||
body: "%{reporter} has reported %{target}"
|
|
||||||
subject: New report for %{instance} (#%{id})
|
|
||||||
application_mailer:
|
|
||||||
salutation: "%{name},"
|
|
||||||
settings: 'Change e-mail preferences: %{link}'
|
|
||||||
signature: Mastodon notifications from %{instance}
|
|
||||||
view: 'View:'
|
|
||||||
applications:
|
|
||||||
created: Application successfully created
|
|
||||||
destroyed: Application successfully deleted
|
|
||||||
invalid_url: The provided URL is invalid
|
|
||||||
regenerate_token: Regenerate access token
|
|
||||||
token_regenerated: Access token successfully regenerated
|
|
||||||
warning: Be very careful with this data. Never share it with anyone!
|
|
||||||
your_token: Your access token
|
|
||||||
auth:
|
|
||||||
agreement_html: By signing up you agree to <a href="%{rules_path}">our terms of service</a> and <a href="%{terms_path}">privacy policy</a>.
|
|
||||||
change_password: Security
|
|
||||||
delete_account: Delete account
|
|
||||||
delete_account_html: If you wish to delete your account, you can <a href="%{path}">proceed here</a>. You will be asked for confirmation.
|
|
||||||
didnt_get_confirmation: Didn't receive confirmation instructions?
|
|
||||||
forgot_password: Forgot your password?
|
|
||||||
invalid_reset_password_token: Password reset token is invalid or expired. Please try again.
|
|
||||||
login: Jack in
|
|
||||||
logout: Jack out
|
|
||||||
register: Apply for upload
|
|
||||||
resend_confirmation: Resend confirmation instructions
|
|
||||||
reset_password: Reset password
|
|
||||||
set_new_password: Set new password
|
|
||||||
authorize_follow:
|
|
||||||
error: Unfortunately, there was an error looking up the remote account
|
|
||||||
follow: Follow
|
|
||||||
follow_request: 'You have sent a follow request to:'
|
|
||||||
following: 'Success! You are now following:'
|
|
||||||
post_follow:
|
|
||||||
close: Or, you can just close this window.
|
|
||||||
return: Return to the user's profile
|
|
||||||
web: Go to web
|
|
||||||
title: Follow %{acct}
|
|
||||||
datetime:
|
|
||||||
distance_in_words:
|
|
||||||
about_x_hours: "%{count}h"
|
|
||||||
about_x_months: "%{count}mo"
|
|
||||||
about_x_years: "%{count}y"
|
|
||||||
almost_x_years: "%{count}y"
|
|
||||||
half_a_minute: Just now
|
|
||||||
less_than_x_minutes: "%{count}m"
|
|
||||||
less_than_x_seconds: Just now
|
|
||||||
over_x_years: "%{count}y"
|
|
||||||
x_days: "%{count}d"
|
|
||||||
x_minutes: "%{count}m"
|
|
||||||
x_months: "%{count}mo"
|
|
||||||
x_seconds: "%{count}s"
|
|
||||||
deletes:
|
|
||||||
bad_password_msg: Nice try, hackers! Incorrect password
|
|
||||||
confirm_password: Enter your current password to verify your identity
|
|
||||||
description_html: This will <strong>permanently, irreversibly</strong> remove content from your account and deactivate it. Your username will remain reserved to prevent future impersonations.
|
|
||||||
proceed: Delete account
|
|
||||||
success_msg: Your account was successfully deleted
|
|
||||||
warning_html: Only deletion of content from this particular instance is guaranteed. Content that has been widely shared is likely to leave traces. Offline servers and servers that have unsubscribed from your updates will not update their databases.
|
|
||||||
warning_title: Disseminated content availability
|
|
||||||
errors:
|
|
||||||
'403': You don't have permission to view this page.
|
|
||||||
'404': The page you were looking for doesn't exist.
|
|
||||||
'410': The page you were looking for doesn't exist anymore.
|
|
||||||
'422':
|
|
||||||
content: Security verification failed. Are you blocking cookies?
|
|
||||||
title: Security verification failed
|
|
||||||
'429': Throttled
|
|
||||||
noscript_html: To use the Mastodon web application, please enable JavaScript. Alternatively, try one of the <a href="https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/Apps.md">native apps</a> for Mastodon for your platform.
|
|
||||||
exports:
|
|
||||||
blocks: You block
|
|
||||||
csv: CSV
|
|
||||||
follows: You follow
|
|
||||||
mutes: You mute
|
|
||||||
storage: Media storage
|
|
||||||
followers:
|
|
||||||
domain: Domain
|
|
||||||
explanation_html: If you want to ensure the privacy of your pings , you must be aware of who is following you. <strong>Your private pings are delivered to all instances where you have followers</strong>. You may wish to review them, and remove followers if you do not trust your privacy to be respected by the staff or software of those instances.
|
|
||||||
followers_count: Number of followers
|
|
||||||
lock_link: Lock your account
|
|
||||||
purge: Remove from followers
|
|
||||||
success:
|
|
||||||
one: In the process of soft-blocking followers from one domain...
|
|
||||||
other: In the process of soft-blocking followers from %{count} domains...
|
|
||||||
true_privacy_html: Please mind that <strong>true privacy can only be achieved with end-to-end encryption</strong>.
|
|
||||||
unlocked_warning_html: Anyone can follow you to immediately view your private pings. %{lock_link} to be able to review and reject followers.
|
|
||||||
unlocked_warning_title: Your account is not locked
|
|
||||||
generic:
|
|
||||||
changes_saved_msg: Changes successfully saved!
|
|
||||||
powered_by: powered by %{link}
|
|
||||||
save_changes: Save changes
|
|
||||||
validation_errors:
|
|
||||||
one: Something isn't quite right yet! Please review the error below
|
|
||||||
other: Something isn't quite right yet! Please review %{count} errors below
|
|
||||||
imports:
|
|
||||||
preface: You can import data that you have exported from another instance, such as a list of the people you are following or blocking.
|
|
||||||
success: Your data was successfully uploaded and will now be processed in due time
|
|
||||||
types:
|
|
||||||
blocking: Blocking list
|
|
||||||
following: Following list
|
|
||||||
muting: Muting list
|
|
||||||
upload: Upload
|
|
||||||
landing_strip_html: "<strong>%{name}</strong> is a user on %{link_to_root_path}. You can follow them or interact with them if you have an account anywhere in the fediverse."
|
|
||||||
landing_strip_signup_html: If you don't, you can <a href="%{sign_up_path}">sign up here</a>.
|
|
||||||
media_attachments:
|
|
||||||
validations:
|
|
||||||
images_and_video: Cannot attach a video to a ping that already contains images
|
|
||||||
too_many: Cannot attach more than 4 files
|
|
||||||
notification_mailer:
|
|
||||||
digest:
|
|
||||||
body: 'Here is a brief summary of what you missed on %{instance} since your last visit on %{since}:'
|
|
||||||
mention: "%{name} mentioned you in:"
|
|
||||||
new_followers_summary:
|
|
||||||
one: You have acquired one new follower! Yay!
|
|
||||||
other: You have gotten %{count} new followers! Amazing!
|
|
||||||
subject:
|
|
||||||
one: "1 new notification since your last visit \U0001F418"
|
|
||||||
other: "%{count} new notifications since your last visit \U0001F418"
|
|
||||||
favourite:
|
|
||||||
body: 'Your ping was florped by %{name}:'
|
|
||||||
subject: "%{name} florped your ping"
|
|
||||||
follow:
|
|
||||||
body: "%{name} is now following you!"
|
|
||||||
subject: "%{name} is now following you"
|
|
||||||
follow_request:
|
|
||||||
body: "%{name} has requested to follow you"
|
|
||||||
subject: 'Pending follower: %{name}'
|
|
||||||
mention:
|
|
||||||
body: 'You were mentioned by %{name} in:'
|
|
||||||
subject: You were mentioned by %{name}
|
|
||||||
reblog:
|
|
||||||
body: 'Your ping was relayed by %{name}:'
|
|
||||||
subject: "%{name} relayed your ping"
|
|
||||||
number:
|
|
||||||
human:
|
|
||||||
decimal_units:
|
|
||||||
format: "%n%u"
|
|
||||||
units:
|
|
||||||
billion: B
|
|
||||||
million: M
|
|
||||||
quadrillion: Q
|
|
||||||
thousand: K
|
|
||||||
trillion: T
|
|
||||||
unit: ''
|
|
||||||
pagination:
|
|
||||||
next: Next
|
|
||||||
prev: Prev
|
|
||||||
truncate: "…"
|
|
||||||
push_notifications:
|
|
||||||
favourite:
|
|
||||||
title: "%{name} favourited your status"
|
|
||||||
follow:
|
|
||||||
title: "%{name} is now following you"
|
|
||||||
group:
|
|
||||||
title: "%{count} notifications"
|
|
||||||
mention:
|
|
||||||
action_boost: Boost
|
|
||||||
action_expand: Show more
|
|
||||||
action_favourite: Favourite
|
|
||||||
title: "%{name} mentioned you"
|
|
||||||
reblog:
|
|
||||||
title: "%{name} boosted your status"
|
|
||||||
remote_follow:
|
|
||||||
acct: Enter your username@domain you want to follow from
|
|
||||||
missing_resource: Could not find the required redirect URL for your account
|
|
||||||
proceed: Proceed to follow
|
|
||||||
prompt: 'You are going to follow:'
|
|
||||||
sessions:
|
|
||||||
activity: Last activity
|
|
||||||
browser: Browser
|
|
||||||
browsers:
|
|
||||||
alipay: Alipay
|
|
||||||
blackberry: Blackberry
|
|
||||||
chrome: Chrome
|
|
||||||
edge: Microsoft Edge
|
|
||||||
firefox: Firefox
|
|
||||||
generic: Unknown browser
|
|
||||||
ie: Internet Explorer
|
|
||||||
micro_messenger: MicroMessenger
|
|
||||||
nokia: Nokia S40 Ovi Browser
|
|
||||||
opera: Opera
|
|
||||||
phantom_js: PhantomJS
|
|
||||||
qq: QQ Browser
|
|
||||||
safari: Safari
|
|
||||||
uc_browser: UCBrowser
|
|
||||||
weibo: Weibo
|
|
||||||
current_session: Current session
|
|
||||||
description: "%{browser} on %{platform}"
|
|
||||||
explanation: These are the web browsers currently logged in to your cybre.space account.
|
|
||||||
ip: IP
|
|
||||||
platforms:
|
|
||||||
adobe_air: Adobe Air
|
|
||||||
android: Android
|
|
||||||
blackberry: Blackberry
|
|
||||||
chrome_os: ChromeOS
|
|
||||||
firefox_os: Firefox OS
|
|
||||||
ios: iOS
|
|
||||||
linux: Linux
|
|
||||||
mac: Mac
|
|
||||||
other: unknown platform
|
|
||||||
windows: Windows
|
|
||||||
windows_mobile: Windows Mobile
|
|
||||||
windows_phone: Windows Phone
|
|
||||||
revoke: Revoke
|
|
||||||
revoke_success: Session successfully revoked
|
|
||||||
title: Sessions
|
|
||||||
settings:
|
|
||||||
authorized_apps: Authorized apps
|
|
||||||
back: Back to Mastodon
|
|
||||||
delete: Account deletion
|
|
||||||
development: Development
|
|
||||||
edit_profile: edit ~/.profile
|
|
||||||
export: Data export
|
|
||||||
followers: Authorized followers
|
|
||||||
import: Import
|
|
||||||
preferences: Preferences
|
|
||||||
settings: Settings
|
|
||||||
two_factor_authentication: Two-factor Authentication
|
|
||||||
your_apps: Your applications
|
|
||||||
statuses:
|
|
||||||
open_in_web: Open in web
|
|
||||||
over_character_limit: character limit of %{max} exceeded
|
|
||||||
pin_errors:
|
|
||||||
limit: You have already pinned the maximum number of pings
|
|
||||||
ownership: Someone else's ping cannot be pinned
|
|
||||||
private: Non-public pings cannot be pinned
|
|
||||||
reblog: A boost cannot be pinned
|
|
||||||
show_more: Show more
|
|
||||||
visibilities:
|
|
||||||
private: Followers-only
|
|
||||||
private_long: Only show to followers
|
|
||||||
public: Public
|
|
||||||
public_long: Everyone can see
|
|
||||||
unlisted: Unlisted
|
|
||||||
unlisted_long: Everyone can see, but not listed on public timelines
|
|
||||||
stream_entries:
|
|
||||||
click_to_show: Click to show
|
|
||||||
pinned: Pinned ping
|
|
||||||
reblogged: relayed
|
|
||||||
sensitive_content: Sensitive content
|
|
||||||
terms:
|
|
||||||
body_html: |
|
|
||||||
<h2>Privacy Policy</h2>
|
|
||||||
|
|
||||||
<h3 id="collect">What information do we collect?</h3>
|
|
||||||
|
|
||||||
<p>We collect information from you when you register on our site and gather data when you participate in the forum by reading, writing, and evaluating the content shared here.</p>
|
|
||||||
|
|
||||||
<p>When registering on our site, you may be asked to enter your name and e-mail address. You may, however, visit our site without registering. Your e-mail address will be verified by an email containing a unique link. If that link is visited, we know that you control the e-mail address.</p>
|
|
||||||
|
|
||||||
<p>When registered and posting, we record the IP address that the post originated from. We also may retain server logs which include the IP address of every request to our server.</p>
|
|
||||||
|
|
||||||
<h3 id="use">What do we use your information for?</h3>
|
|
||||||
|
|
||||||
<p>Any of the information we collect from you may be used in one of the following ways:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>To personalize your experience — your information helps us to better respond to your individual needs.</li>
|
|
||||||
<li>To improve our site — we continually strive to improve our site offerings based on the information and feedback we receive from you.</li>
|
|
||||||
<li>To improve customer service — your information helps us to more effectively respond to your customer service requests and support needs.</li>
|
|
||||||
<li>To send periodic emails — The email address you provide may be used to send you information, notifications that you request about changes to topics or in response to your user name, respond to inquiries, and/or other requests or questions.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h3 id="protect">How do we protect your information?</h3>
|
|
||||||
|
|
||||||
<p>We implement a variety of security measures to maintain the safety of your personal information when you enter, submit, or access your personal information.</p>
|
|
||||||
|
|
||||||
<h3 id="data-retention">What is your data retention policy?</h3>
|
|
||||||
|
|
||||||
<p>We will make a good faith effort to:</p>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>Retain server logs containing the IP address of all requests to this server no more than 90 days.</li>
|
|
||||||
<li>Retain the IP addresses associated with registered users and their posts no more than 5 years.</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h3 id="cookies">Do we use cookies?</h3>
|
|
||||||
|
|
||||||
<p>Yes. Cookies are small files that a site or its service provider transfers to your computer's hard drive through your Web browser (if you allow). These cookies enable the site to recognize your browser and, if you have a registered account, associate it with your registered account.</p>
|
|
||||||
|
|
||||||
<p>We use cookies to understand and save your preferences for future visits and compile aggregate data about site traffic and site interaction so that we can offer better site experiences and tools in the future. We may contract with third-party service providers to assist us in better understanding our site visitors. These service providers are not permitted to use the information collected on our behalf except to help us conduct and improve our business.</p>
|
|
||||||
|
|
||||||
<h3 id="disclose">Do we disclose any information to outside parties?</h3>
|
|
||||||
|
|
||||||
<p>We do not sell, trade, or otherwise transfer to outside parties your personally identifiable information. This does not include trusted third parties who assist us in operating our site, conducting our business, or servicing you, so long as those parties agree to keep this information confidential. We may also release your information when we believe release is appropriate to comply with the law, enforce our site policies, or protect ours or others rights, property, or safety. However, non-personally identifiable visitor information may be provided to other parties for marketing, advertising, or other uses.</p>
|
|
||||||
|
|
||||||
<h3 id="third-party">Third party links</h3>
|
|
||||||
|
|
||||||
<p>Occasionally, at our discretion, we may include or offer third party products or services on our site. These third party sites have separate and independent privacy policies. We therefore have no responsibility or liability for the content and activities of these linked sites. Nonetheless, we seek to protect the integrity of our site and welcome any feedback about these sites.</p>
|
|
||||||
|
|
||||||
<h3 id="coppa">Children's Online Privacy Protection Act Compliance</h3>
|
|
||||||
|
|
||||||
<p>Our site, products and services are all directed to people who are at least 13 years old. If this server is in the USA, and you are under the age of 13, per the requirements of COPPA (<a href="https://en.wikipedia.org/wiki/Children%27s_Online_Privacy_Protection_Act">Children's Online Privacy Protection Act</a>) do not use this site.</p>
|
|
||||||
|
|
||||||
<h3 id="online">Online Privacy Policy Only</h3>
|
|
||||||
|
|
||||||
<p>This online privacy policy applies only to information collected through our site and not to information collected offline.</p>
|
|
||||||
|
|
||||||
<h3 id="consent">Your Consent</h3>
|
|
||||||
|
|
||||||
<p>By using our site, you consent to our web site privacy policy.</p>
|
|
||||||
|
|
||||||
<h3 id="changes">Changes to our Privacy Policy</h3>
|
|
||||||
|
|
||||||
<p>If we decide to change our privacy policy, we will post those changes on this page.</p>
|
|
||||||
|
|
||||||
<p>This document is CC-BY-SA. It was last updated May 31, 2013.</p>
|
|
||||||
|
|
||||||
<p>Originally adapted from the <a href="https://github.com/discourse/discourse">Discourse privacy policy</a>.</p>
|
|
||||||
title: "%{instance} Terms of Service and Privacy Policy"
|
|
||||||
themes:
|
|
||||||
default: Cybrespace
|
|
||||||
mastodon: Mastodon
|
|
||||||
win95: Masto 95
|
|
||||||
time:
|
|
||||||
formats:
|
|
||||||
default: "%b %d, %Y, %H:%M"
|
|
||||||
two_factor_authentication:
|
|
||||||
code_hint: Enter the code generated by your authenticator app to confirm
|
|
||||||
description_html: If you enable <strong>two-factor authentication</strong>, logging in will require you to be in possession of your phone, which will generate tokens for you to enter.
|
|
||||||
disable: Disable
|
|
||||||
enable: Enable
|
|
||||||
enabled: Two-factor authentication is enabled
|
|
||||||
enabled_success: Two-factor authentication successfully enabled
|
|
||||||
generate_recovery_codes: Generate recovery codes
|
|
||||||
instructions_html: "<strong>Scan this QR code into Google Authenticator or a similiar TOTP app on your phone</strong>. From now on, that app will generate tokens that you will have to enter when logging in."
|
|
||||||
lost_recovery_codes: Recovery codes allow you to regain access to your account if you lose your phone. If you've lost your recovery codes, you can regenerate them here. Your old recovery codes will be invalidated.
|
|
||||||
manual_instructions: 'If you can''t scan the QR code and need to enter it manually, here is the plain-text secret:'
|
|
||||||
recovery_codes: Backup recovery codes
|
|
||||||
recovery_codes_regenerated: Recovery codes successfully regenerated
|
|
||||||
recovery_instructions_html: If you ever lose access to your phone, you can use one of the recovery codes below to regain access to your account. <strong>Keep the recovery codes safe</strong>. For example, you may print them and store them with other important documents.
|
|
||||||
setup: Set up
|
|
||||||
wrong_code: The entered code was invalid! Are server time and device time correct?
|
|
||||||
users:
|
|
||||||
invalid_email: The e-mail address is invalid
|
|
||||||
invalid_otp_token: Invalid two-factor code
|
|
||||||
signed_in_as: 'Signed in as:'
|
|
|
@ -1331,12 +1331,10 @@ en:
|
||||||
<p>Originally adapted from the <a href="https://github.com/discourse/discourse">Discourse privacy policy</a>.</p>
|
<p>Originally adapted from the <a href="https://github.com/discourse/discourse">Discourse privacy policy</a>.</p>
|
||||||
title: "%{instance} Terms of Service and Privacy Policy"
|
title: "%{instance} Terms of Service and Privacy Policy"
|
||||||
themes:
|
themes:
|
||||||
default: Cybrespace
|
contrast: High contrast
|
||||||
contrast: Mastodon (High contrast)
|
default: Mastodon
|
||||||
mastodon: Mastodon (Dark)
|
|
||||||
mastodon-light: Mastodon (light)
|
mastodon-light: Mastodon (light)
|
||||||
light: Cybre Lite
|
light: Cybre Lite
|
||||||
win95: Windows 95
|
|
||||||
time:
|
time:
|
||||||
formats:
|
formats:
|
||||||
default: "%b %d, %Y, %H:%M"
|
default: "%b %d, %Y, %H:%M"
|
||||||
|
|
|
@ -1,127 +0,0 @@
|
||||||
---
|
|
||||||
en-CY:
|
|
||||||
simple_form:
|
|
||||||
hints:
|
|
||||||
account_warning_preset:
|
|
||||||
text: You can use ping syntax, such as URLs, hashtags and mentions
|
|
||||||
admin_account_action:
|
|
||||||
send_email_notification: The user will receive an explanation of what happened with their account
|
|
||||||
text_html: Optional. You can use ping syntax. You can <a href="%{path}">add warning presets</a> to save time
|
|
||||||
type_html: Choose what to do with <strong>%{acct}</strong>
|
|
||||||
warning_preset_id: Optional. You can still add custom text to end of the preset
|
|
||||||
defaults:
|
|
||||||
autofollow: People who sign up through the invite will automatically follow you
|
|
||||||
avatar: PNG, GIF or JPG. At most %{size}. Will be downscaled to %{dimensions}px
|
|
||||||
bot: This account mainly performs automated actions and might not be monitored
|
|
||||||
context: One or multiple contexts where the filter should apply
|
|
||||||
digest: Only sent after a long period of inactivity and only if you have received any personal messages in your absence
|
|
||||||
discoverable_html: The <a href="%{path}" target="_blank">directory</a> lets people find accounts based on interests and activity. Requires at least %{min_followers} followers
|
|
||||||
email: You will be sent a confirmation e-mail
|
|
||||||
fields: You can have up to 4 items displayed as a table on your profile
|
|
||||||
header: PNG, GIF or JPG. At most %{size}. Will be downscaled to %{dimensions}px
|
|
||||||
inbox_url: Copy the URL from the frontpage of the relay you want to use
|
|
||||||
irreversible: Filtered pings will disappear irreversibly, even if filter is later removed
|
|
||||||
locale: The language of the user interface, e-mails and push notifications
|
|
||||||
locked: Requires you to manually approve followers
|
|
||||||
password: Use at least 8 characters
|
|
||||||
phrase: Will be matched regardless of casing in text or content warning of a pings
|
|
||||||
scopes: Which APIs the application will be allowed to access. If you select a top-level scope, you don't need to select individual ones.
|
|
||||||
setting_aggregate_reblogs: Do not show new relays for pings that have been recently relayed (only affects newly-received relays)
|
|
||||||
setting_default_language: The language of your pings can be detected automatically, but it's not always accurate
|
|
||||||
setting_display_media_default: Hide media marked as sensitive
|
|
||||||
setting_display_media_hide_all: Always hide all media
|
|
||||||
setting_display_media_show_all: Always show media marked as sensitive
|
|
||||||
setting_hide_network: Who you follow and who follows you will not be shown on your profile
|
|
||||||
setting_noindex: Affects your public profile and status pages
|
|
||||||
setting_theme: Affects how Mastodon looks when you're logged in from any device.
|
|
||||||
username: Your username will be unique on %{domain}
|
|
||||||
whole_word: When the keyword or phrase is alphanumeric only, it will only be applied if it matches the whole word
|
|
||||||
imports:
|
|
||||||
data: CSV file exported from another Mastodon instance
|
|
||||||
sessions:
|
|
||||||
otp: 'Enter the two-factor code generated by your phone app or use one of your recovery codes:'
|
|
||||||
user:
|
|
||||||
chosen_languages: When checked, only pings in selected languages will be displayed in public timelines
|
|
||||||
labels:
|
|
||||||
account:
|
|
||||||
fields:
|
|
||||||
name: Label
|
|
||||||
value: Content
|
|
||||||
account_warning_preset:
|
|
||||||
text: Preset text
|
|
||||||
admin_account_action:
|
|
||||||
send_email_notification: Notify the user per e-mail
|
|
||||||
text: Custom warning
|
|
||||||
type: Action
|
|
||||||
types:
|
|
||||||
disable: Disable
|
|
||||||
none: Do nothing
|
|
||||||
silence: Silence
|
|
||||||
suspend: Suspend and irreversibly delete account data
|
|
||||||
warning_preset_id: Use a warning preset
|
|
||||||
defaults:
|
|
||||||
autofollow: Invite to follow your account
|
|
||||||
avatar: Avatar
|
|
||||||
bot: This is a bot account
|
|
||||||
chosen_languages: Filter languages
|
|
||||||
confirm_new_password: Confirm new password
|
|
||||||
confirm_password: Confirm password
|
|
||||||
context: Filter contexts
|
|
||||||
current_password: Current password
|
|
||||||
data: Data
|
|
||||||
discoverable: List this account on the directory
|
|
||||||
display_name: Display name
|
|
||||||
email: E-mail address
|
|
||||||
expires_in: Expire after
|
|
||||||
fields: Profile metadata
|
|
||||||
header: Header
|
|
||||||
inbox_url: URL of the relay inbox
|
|
||||||
irreversible: Drop instead of hide
|
|
||||||
locale: Interface language
|
|
||||||
locked: Lock account
|
|
||||||
max_uses: Max number of uses
|
|
||||||
new_password: New password
|
|
||||||
note: Bio
|
|
||||||
otp_attempt: Two-factor code
|
|
||||||
password: Password
|
|
||||||
phrase: Keyword or phrase
|
|
||||||
setting_aggregate_reblogs: Group relays in timelines
|
|
||||||
setting_auto_play_gif: Auto-play animated GIFs
|
|
||||||
setting_boost_modal: Show confirmation dialog before relaying
|
|
||||||
setting_default_language: Posting language
|
|
||||||
setting_default_privacy: Post privacy
|
|
||||||
setting_default_sensitive: Always mark media as sensitive
|
|
||||||
setting_delete_modal: Show confirmation dialog before deleting a ping
|
|
||||||
setting_display_media: Media display
|
|
||||||
setting_display_media_default: Default
|
|
||||||
setting_display_media_hide_all: Hide all
|
|
||||||
setting_display_media_show_all: Show all
|
|
||||||
setting_expand_spoilers: Always expand pings marked with content warnings
|
|
||||||
setting_hide_network: Hide your network
|
|
||||||
setting_noindex: Opt-out of search engine indexing
|
|
||||||
setting_reduce_motion: Reduce motion in animations
|
|
||||||
setting_system_font_ui: Use system's default font
|
|
||||||
setting_theme: Site theme
|
|
||||||
setting_unfollow_modal: Show confirmation dialog before unfollowing someone
|
|
||||||
severity: Severity
|
|
||||||
type: Import type
|
|
||||||
username: Username
|
|
||||||
username_or_email: Username or Email
|
|
||||||
whole_word: Whole word
|
|
||||||
interactions:
|
|
||||||
must_be_follower: Block notifications from non-followers
|
|
||||||
must_be_following: Block notifications from people you don't follow
|
|
||||||
must_be_following_dm: Block direct messages from people you don't follow
|
|
||||||
notification_emails:
|
|
||||||
digest: Send digest e-mails
|
|
||||||
favourite: Send e-mail when someone favourites your status
|
|
||||||
follow: Send e-mail when someone follows you
|
|
||||||
follow_request: Send e-mail when someone requests to follow you
|
|
||||||
mention: Send e-mail when someone mentions you
|
|
||||||
reblog: Send e-mail when someone relays your status
|
|
||||||
report: Send e-mail when a new report is submitted
|
|
||||||
'no': 'No'
|
|
||||||
required:
|
|
||||||
mark: "*"
|
|
||||||
text: required
|
|
||||||
'yes': 'Yes'
|
|
|
@ -2,7 +2,7 @@
|
||||||
# important settings can be changed from the admin interface.
|
# important settings can be changed from the admin interface.
|
||||||
|
|
||||||
defaults: &defaults
|
defaults: &defaults
|
||||||
site_title: 'Cybrespace'
|
site_title: Mastodon
|
||||||
site_short_description: ''
|
site_short_description: ''
|
||||||
site_description: ''
|
site_description: ''
|
||||||
site_extended_description: ''
|
site_extended_description: ''
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
default: styles/cybre.scss
|
default: styles/application.scss
|
||||||
mastodon: styles/application.scss
|
|
||||||
contrast: styles/contrast.scss
|
contrast: styles/contrast.scss
|
||||||
mastodon-light: styles/mastodon-light.scss
|
mastodon-light: styles/mastodon-light.scss
|
||||||
light: styles/cybre-light.scss
|
light: styles/cybre-light.scss
|
||||||
win95: styles/win95.scss
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ default: &default
|
||||||
- .ttf
|
- .ttf
|
||||||
- .woff
|
- .woff
|
||||||
- .woff2
|
- .woff2
|
||||||
- .gif
|
|
||||||
|
|
||||||
extensions:
|
extensions:
|
||||||
- .mjs
|
- .mjs
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
class EnToEnCy < ActiveRecord::Migration[5.1]
|
|
||||||
def up
|
|
||||||
User.find_each do |user|
|
|
||||||
if user.locale == 'en'
|
|
||||||
user.update(locale: 'en-CY')
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
def down
|
|
||||||
User.find_each do |user|
|
|
||||||
if user.locale == 'en-CY'
|
|
||||||
user.update(locale: 'en')
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -24,7 +24,7 @@ setup_redis_env_url
|
||||||
setup_redis_env_url(:cache, false)
|
setup_redis_env_url(:cache, false)
|
||||||
|
|
||||||
namespace = ENV.fetch('REDIS_NAMESPACE', nil)
|
namespace = ENV.fetch('REDIS_NAMESPACE', nil)
|
||||||
cache_namespace = [namespace, 'cache', `git rev-parse --short HEAD`.strip].compact.join('_')
|
cache_namespace = namespace ? namespace + '_cache' : 'cache'
|
||||||
|
|
||||||
REDIS_CACHE_PARAMS = {
|
REDIS_CACHE_PARAMS = {
|
||||||
expires_in: 10.minutes,
|
expires_in: 10.minutes,
|
||||||
|
|
|
@ -21,7 +21,7 @@ module Mastodon
|
||||||
end
|
end
|
||||||
|
|
||||||
def suffix
|
def suffix
|
||||||
'-cybre'
|
''
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_a
|
def to_a
|
||||||
|
|
|
@ -169,7 +169,6 @@
|
||||||
"webpack-cli": "^3.3.12",
|
"webpack-cli": "^3.3.12",
|
||||||
"webpack-merge": "^5.4.0",
|
"webpack-merge": "^5.4.0",
|
||||||
"wicg-inert": "^3.1.0"
|
"wicg-inert": "^3.1.0"
|
||||||
"what-input": "^4.3.1"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@testing-library/jest-dom": "^5.11.6",
|
"@testing-library/jest-dom": "^5.11.6",
|
||||||
|
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 232 KiB |
|
@ -3,7 +3,7 @@
|
||||||
<msapplication>
|
<msapplication>
|
||||||
<tile>
|
<tile>
|
||||||
<square150x150logo src="/mstile-150x150.png"/>
|
<square150x150logo src="/mstile-150x150.png"/>
|
||||||
<TileColor>#1ea21e</TileColor>
|
<TileColor>#282c37</TileColor>
|
||||||
</tile>
|
</tile>
|
||||||
</msapplication>
|
</msapplication>
|
||||||
</browserconfig>
|
</browserconfig>
|
||||||
|
|
Before Width: | Height: | Size: 310 KiB After Width: | Height: | Size: 997 B |