Commit Graph

790 Commits (38177048068ec9448f53cf9cc531637de2248bb1)

Author SHA1 Message Date
Eugen Rochko 4b911fea03 Add button to re-subscribe to all accounts from a domain ()
m4sk1n 9fc082ea81 i18n: @716f4cb (pl) ()
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
Damien Erambert 4c7a9adb98 fix missing closing <p> tag in ToS in en.yml ()
m4sk1n 030e5cec58 Fix missing closing <p> tag in ToS in .yml files ()
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
Yamagishi Kazutoshi 716f4cb11c Add feature to revoke sessions ()
Eugen Rochko a5a07da892 Correct OStatus inflection (Ostatus -> OStatus) ()
lindwurm 767117f9b0 Update Japanese translation (chase ) ()
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
m4sk1n fb7f06a752 i18n: Update Polish translation ()
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
lindwurm 0ccd47f413 Update Japanese translations for new landing page ()
Signed-off-by: lindwurm <lindwurm.q@gmail.com>
unarist bb4c3831b2 Add Japanese translation for ()
Yamagishi Kazutoshi 3267e4a785 Add unfollow modal (optional) ()
* Add unfollow modal

* unfollowing someone

* remove unnecessary prop
abcang 4d42a38954 Improve admin page ()
* Improve admin page

* Fix test

* Add spec

* Improve select style
m4sk1n 902c5cf7ca i18n: update (pl) ()
* i18n: update (pl)

* Update pl.yml
Eugen Rochko a3202fd51e Add SMTP_TLS variable for configuring TLS when server uses non-standard port ()
unarist 033f970af3 Don't mention default post privacy on hints for locked accounts ()
"defaults post privacy to followers-only" only means...

* default value of `visibility` param on post API
* default value for web UI privacy setting (i.e. it will be overridden if they once updated)

...so, many users won't see an effect of it.
Eugen Rochko 8c45cd0e36 Improve ActivityPub representations ()
* Improve webfinger templates and make tests more flexible

* Clean up AS2 representation of actor

* Refactor outbox

* Create activities representation

* Add representations of followers/following collections, do not redirect /users/:username route if format is empty

* Remove unused translations

* ActivityPub endpoint for single statuses, add ActivityPub::TagManager for better
URL/URI generation

* Add ActivityPub::TagManager#to

* Represent all attachments as Document instead of Image/Video specifically
(Because for remote ones we may not know for sure)

Add mentions and hashtags representation to AP notes

* Add AP-resolvable hashtag URIs

* Use ActiveModelSerializers for ActivityPub

* Clean up unused translations

* Separate route for object and activity

* Adjust cc/to matrices

* Add to/cc to activities, ensure announce activity embeds target status and
not the wrapper status, add "id" to all collections
Eugen Rochko c42092ba7a Add option to opt out of search engines on public profile/status pages ()
m4sk1n 999170d898 i18n: fediwers › fediwersum (pl) ()
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
Albert ARIBAUD 37430a3401 fr: replace "silencer" with "masquer" throughout ()
* fr.json: replace "silencer" with "masquer"

"Silencer" as a verb does not exist in French. A good and valid replacement is "masquer".

* FR translation: use "masquer" for "silence"
Yamagishi Kazutoshi 0fa9dd8527 Add Rake task for generate VAPID key ()
* Add Rake task for generate VAPID key

* edit config/initializers/vapid.rb
Yamagishi Kazutoshi 87b96f8d33 Add Japanese translations for ()
Sorin Davidoi 0c7c188c45 Web Push Notifications ()
* feat: Register push subscription

* feat: Notify when mentioned

* feat: Boost, favourite, reply, follow, follow request

* feat: Notification interaction

* feat: Handle change of public key

* feat: Unsubscribe if things go wrong

* feat: Do not send normal notifications if push is enabled

* feat: Focus client if open

* refactor: Move push logic to WebPushSubscription

* feat: Better title and body

* feat: Localize messages

* chore: Fix lint errors

* feat: Settings

* refactor: Lazy load

* fix: Check if push settings exist

* feat: Device-based preferences

* refactor: Simplify logic

* refactor: Pull request feedback

* refactor: Pull request feedback

* refactor: Create /api/web/push_subscriptions endpoint

* feat: Spec PushSubscriptionController

* refactor: WebPushSubscription => Web::PushSubscription

* feat: Spec Web::PushSubscription

* feat: Display first media attachment

* feat: Support direction

* fix: Stuff broken while rebasing

* refactor: Integration with session activations

* refactor: Cleanup

* refactor: Simplify implementation

* feat: Set VAPID keys via environment

* chore: Comments

* fix: Crash when no alerts

* fix: Set VAPID keys in testing environment

* fix: Follow link

* feat: Notification actions

* fix: Delete previous subscription

* chore: Temporary logs

* refactor: Move migration to a later date

* fix: Fetch the correct session activation and misc bugs

* refactor: Move migration to a later date

* fix: Remove follow request (no notifications)

* feat: Send administrator contact to push service

* feat: Set time-to-live

* fix: Do not show sensitive images

* fix: Reducer crash in error handling

* feat: Add badge

* chore: Fix lint error

* fix: Checkbox label overlap

* fix: Check for payload support

* fix: Rename action "type" (crash in latest Chrome)

* feat: Action to expand notification

* fix: Lint errors

* fix: Unescape notification body

* fix: Do not allow boosting if the status is hidden

* feat: Add VAPID keys to the production sample environment

* fix: Strip HTML tags from status

* refactor: Better error messages

* refactor: Handle browser not implementing the VAPID protocol (Samsung Internet)

* fix: Error when target_status is nil

* fix: Handle lack of image

* fix: Delete reference to invalid subscriptions

* feat: Better error handling

* fix: Unescape HTML characters after tags are striped

* refactor: Simpify code

* fix: Modify to work with 

* Sort strings alphabetically

* i18n: Updated Polish translation

it annoys me that it's not fully localized :P

* refactor: Use current_session in PushSubscriptionController

* fix: Rebase mistake

* fix: Set cacheName to mastodon

* refactor: Pull request feedback

* refactor: Remove logging statements

* chore(yarn): Fix conflicts with master

* chore(yarn): Copy latest from master

* chore(yarn): Readd offline-plugin

* refactor: Use save! and update!

* refactor: Send notifications async

* fix: Allow retry when push fails

* fix: Save track for failed pushes

* fix: Minify sw.js

* fix: Remove account_id from fabricator
m4sk1n 3567ac3d3e i18n: @e19eefe, @056b5ed + consistency improvement (pl) ()
* i18n: @e19eefe (pl)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>

* i18n: @056b5ed (pl)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>

* i18n: Improve consistency (pl)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
Yamagishi Kazutoshi 43f868de3d Add Japanese translations for and ()
* Add Japanese translations for 

* Add Japanese translations for 

* top page -> front page
Yamagishi Kazutoshi f41590912d Fix broken terms for Japanese ()
Eugen Rochko 056b5ed72f Improve UI of admin site settings ()
Eugen Rochko e19eefe219 Redesign the landing page, mount public timeline on it ()
* Redesign the landing page, mount public timeline on it

* Adjust the standalone mounted component to the lacking of router

* Adjust auth layout pages to new design

* Fix tests

* Standalone public timeline polling every 5 seconds

* Remove now obsolete translations

* Add responsive design for new landing page

* Address reviews

* Add floating clouds behind frontpage form

* Use access token from public page when available

* Fix mentions and hashtags links, cursor on status content in standalone mode

* Add footer link to source code

* Fix errors on pages that don't embed the component, use classnames

* Fix tests

* Change anonymous autoPlayGif default to false

* When gif autoplay is disabled, hover to play

* Add option to hide the timeline preview

* Slightly improve alt layout

* Add elephant friend to new frontpage

* Display "back to mastodon" in place of "login" when logged in on frontpage

* Change polling time to 3s
m4sk1n 958fe0f7db i18n: @7a889a8 (pl) ()
* i18n: @7a889a8 (pl)

* Update pl.yml
Eugen Rochko a3d93e8bbe Fix - Remove ModuleConcatenationPlugin ()
It increased memory usage of Webpack 1.5x fold with little benefits
STJrInuyasha 7a889a8e12 Remote following success page ()
* Added a success page to remote following
Includes follow-through links to web (the old redirect target) and back to the remote user's profile

* Use Account.new in spec instead of a fake with only id
(fixes spec)

* Fabricate(:account) over Account.new

* Remove self from the success text
(and all HTML with it)
m4sk1n d081d4a422 i18n: @2b9721d (pl) ()
Yamagishi Kazutoshi 31490e0d6c Add Japanese translations ()
* Add Japanese translations for 

* Add Japanese translations for 

* Add Japanese translations for 
のら ca45bd0361 Add Japanese translation of terms and flash ()
Yamagishi Kazutoshi 63baab088d Fix regular expression for RFC 5646 (regression from ) ()
Yamagishi Kazutoshi 2b9721d1b3 Add setting a always mark media as sensitive ()
Sadiq Saif 4aa6cd66fc Change default for auto_play_fit to false for a11y ()
This is per issue 
m4sk1n 8781a8e203 i18n: minor change (pl) ()
Jeroen 0324f807f4 Update and improvement Dutch language strings ()
* Update

* Update
Sylvhem 8fecd80108 Various fixes in the French translation ()
* Changement de « Changement de mot de passe » en « Sécurité »

* Suppression de « (Two-factor auth) »

Change la valeur de la chaîne « two_factor_authentication » de « Identification à deux facteurs (Two-factor auth) » à « Identification à deux facteurs ».
La traduction anglaise entre parathentèse était redondante et gênait la lecture.

Change the value of the "two_factor_authentication" from "Identification à deux facteurs (Two-factor auth)" to "Identification à deux facteurs".
The English translation in brackets was superflous and was getting in the way of the reader.

* Remplace « ' » par « ’ »

Retire de la traduction les apostrophes droites « ' » (U+0027) au profit des apostrophes typographiques « ’ » (U+2019).
En typographie française, les apostrophes typographiques sont utilisées à la place des apostrophes droites. La traduction était jusqu’ici incohérente et utilisait les deux.

Remove from the translation all the vertical apostrophes (U+0027) in favor of the curly ones (U+2019).
In French typography, typographic apostrophes are used instead of vertical ones. The translation was incoherent and used both.

* Remplace « ... » par « … »

Remplace les séries de trois points par le caractère dédié « … » (U+2026).

Replace all the series of three dots by the dedicated character "…" (U+2026).

* Mise à jour

Crée config/locales/activerecord.fr.yml, ajoute de nouvelles chaînes et met à jour certains textes.
Les compteurs de caractères pour le pseudonyme et la biographie devrait maintenant pouvoir fonctionner même quand l’interface est en français.

Create config/locales/activerecord.fr.yml, add new strings et update some textes.
The caracters counters for the username and the biography should now work even when the interface is in French.

* Remplace « A » par « À »

Remplace « A » par « À » aux endroits où le mot est mal orthographié.

Replace "A" by "À" when the wrong word is used.

* Ajout d’espaces insécables

Ajoute des espaces insécables suivant les régles nécessaires en typographie française.

Add non-breaking spaces following rules of French typography.

* Remplace « certain » par « certain·e »

Harmonise la traduction en remplaçant « certain » par sa forme épicène.

Harmonize the translation by replacing "certain" (sure) by its epicene form.

* Corrige un angliscisme

Remplace « adresse e-mail » par « adresse électronique ».

Replace "adresse e-mail" (e-mail address) by "adresse électronique" (electronic address).
Eugen Rochko 00df69bc89 Fix - Use a long-lived cookie to keep track of user-level sessions ()
* Fix  - Use a long-lived cookie to keep track of user-level sessions

* Fix tests, smooth migrate from previous session-based identifier
m4sk1n 7a549f830e i18n: improve consistency (pl) ()
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
m4sk1n 9fe6cfca48 i18n: @18d3fa9 (pl) ()
Yamagishi Kazutoshi 76eda2fc21 Add recursive object support to API response ()
Akihiko Odaki (@fn_aki@pawoo.net) 2083000027 Set default From address in config ()
The old implementation sets default From address in mailers. It sets
the address from SMTP_FROM_ADDRESS, or notifications@localhost. The
behavior is occasionally undesired results.

In production environment, notifications@localhost is likely to be
incorrect.
In testing environment, the email address should not be varied by a
environment variable.

After appling this change,

In production environment, it will throw an exception when launching
Mastodon.
In testing environment, the address will be fixed with
notifications@localhost.
Damien Erambert 18d3fa953b Add a setting allowing the use of system's default font in Web UI ()
* add a system_font_ui setting on the server

* Plug the system_font_ui on the front-end

* add EN/FR locales for the new setting

* put Roboto after all other fonts

* remove trailing whitespace so CodeClimate is happy

* fix user_spec.rb

* correctly write user_spect this time

* slightly better way of adding the classes

* add comments to the system-font stack for clarification

* use .system-font for the class instead

* don't use multiple lines for comments

* remove trailing whitespace

* use the classnames module for consistency

* use `mastodon-font-sans-serif` instead of Roboto directly
Quent-in 26949607d2 l10n Occitan locale ()
* Small adjustments

About the report part.

* Update time format
m4sk1n 6d106d3943 i18n: minor changes in Polish translation ()
* i18n: minor changes in Polish translation

* Update pl.json
m4sk1n a38b34c37a i18n: Updated Polish translation ()
* i18n: Updated Polish translation

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>

* fuggin nano
Gyuhwan Park 1921ab40ea i18n: Update korean translation ()
* Added Korean Translation (based on japanese)

* Update korean translation

* Update korean translation: fix syntax error

* Updated korean translation

* Update korean translation

* Update ko.json

Translate non-translated parts

* Update ko.yml

Translated missed parts - and fixed some typos

* Create simple_form.ko.yml

* Updated korean translation

* i18n: fix test fails

* Updated korean translation
Minori Hiraoka 976c18aa5f Fix Korean translation ()
* Added Korean Translation (based on japanese)

* Update korean translation

* Update korean translation: fix syntax error

* Updated korean translation

* Update korean translation

* Update ko.json

Translate non-translated parts

* Update ko.yml

Translated missed parts - and fixed some typos

* Create simple_form.ko.yml

* Update simple_form.ko.yml

Translation error fix - password change form

* Update simple_form.ko.yml

* Update ko.json

Missing translation