]>
cat aescling's git repositories - mastodon.git/log
m4sk1n [Fri, 14 Jul 2017 12:41:13 +0000 (14:41 +0200)]
i18n: fediwers › fediwersum (pl) (#4198)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
Albert ARIBAUD [Fri, 14 Jul 2017 11:55:40 +0000 (13:55 +0200)]
fr: replace "silencer" with "masquer" throughout (#4197)
* 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 [Fri, 14 Jul 2017 10:13:43 +0000 (19:13 +0900)]
Add Rake task for generate VAPID key (#4195)
* Add Rake task for generate VAPID key
* edit config/initializers/vapid.rb
Albert ARIBAUD [Fri, 14 Jul 2017 10:12:16 +0000 (12:12 +0200)]
fr.json: replace "silencer" with "masquer" (#4196)
"Silencer" as a verb does not exist in French. A good and valid replacement is "masquer".
Yamagishi Kazutoshi [Fri, 14 Jul 2017 09:08:56 +0000 (18:08 +0900)]
Do not load unnecessary script files (#4193)
Yamagishi Kazutoshi [Fri, 14 Jul 2017 09:03:01 +0000 (18:03 +0900)]
Add Japanese translations for #3243 (#4192)
masarakki [Fri, 14 Jul 2017 09:02:49 +0000 (18:02 +0900)]
add validation to tag name (#4194)
Eugen Rochko [Fri, 14 Jul 2017 01:51:17 +0000 (03:51 +0200)]
Fix #3904 - Adjustable time period for mastodon:media:remove_remote via NUM_DAYS (#4191)
unarist [Thu, 13 Jul 2017 23:59:34 +0000 (08:59 +0900)]
Add object-fit polyfill for Edge (#4182)
Sorin Davidoi [Thu, 13 Jul 2017 22:49:01 +0000 (00:49 +0200)]
Improve swiping (#4188)
* feat(components/columns_area): Toggle animation settings
* fix(components/media_modal): Center non-visible views
* fix(components/media_modal): Check for null
* refactor(columns_area): Better logic
Sorin Davidoi [Thu, 13 Jul 2017 20:18:18 +0000 (22:18 +0200)]
fix(components/media_modal): Style issues (#4187)
Sorin Davidoi [Thu, 13 Jul 2017 20:15:32 +0000 (22:15 +0200)]
Web Push Notifications (#3243)
* 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 #4091
* 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
unarist [Thu, 13 Jul 2017 17:31:33 +0000 (02:31 +0900)]
Make tag search case insensitive again (#4184)
unarist [Thu, 13 Jul 2017 12:49:57 +0000 (21:49 +0900)]
Add background color for spoiler input, like toot textarea (#4181)
Eugen Rochko [Thu, 13 Jul 2017 01:12:25 +0000 (03:12 +0200)]
Fix boolean columns sometimes having a null value (#4162)
* Fix boolean columns sometimes having a null value
* Fix wrong value being set instead of null
Eugen Rochko [Wed, 12 Jul 2017 23:47:23 +0000 (01:47 +0200)]
Fix #1010 - When spoiler text is set, enforce sensitivity too (#4176)
unarist [Wed, 12 Jul 2017 18:51:44 +0000 (03:51 +0900)]
Rerender modal on property changes (#4175)
Render function for BundleContainer must not be methods.
React doesn't know dependency of the method, so they won't rerender on property updates.
In this case, when you close modal and open another modal immediately,
old modal will be open instead of new one.
Yamagishi Kazutoshi [Wed, 12 Jul 2017 13:55:17 +0000 (22:55 +0900)]
Update dependencies for Node.js (2017-07-12) (#4167)
* Update @storybook/addon-actions to version 3.1.8
* Update @storybook/react to version 3.1.8
* Update autoprefixer to version 7.1.2
* Update babel-loader to version 7.1.1
* Update babel-preset-env to version 1.6.0
* Update chai to version 4.1.0
* Update js-yaml to version 3.9.0
* Update jsdom to version 11.1.0
* Update postcss-smart-import to version 0.7.5
* Update sinon to version 2.3.7
* Update substring-trie to version 1.0.1
* Update webpack to version 3.2.0
* Update webpack-manifest-plugin to version 1.1.2
* yarn upgrade
* Upgrade extract-text-webpack-plugin to version 3.0.0
* Upgrade intl-relativeformat to version 2.0.0
m4sk1n [Wed, 12 Jul 2017 13:53:50 +0000 (15:53 +0200)]
i18n: @
e19eefe , @
056b5ed + consistency improvement (pl) (#4171)
* 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 [Wed, 12 Jul 2017 12:50:07 +0000 (21:50 +0900)]
Add Japanese translations for #4163 and #4129 (#4166)
* Add Japanese translations for #4163
* Add Japanese translations for #4129
* top page -> front page
Yamagishi Kazutoshi [Wed, 12 Jul 2017 12:49:17 +0000 (21:49 +0900)]
Fix broken terms for Japanese (#4170)
Eugen Rochko [Wed, 12 Jul 2017 01:24:04 +0000 (03:24 +0200)]
Improve UI of admin site settings (#4163)
Eugen Rochko [Tue, 11 Jul 2017 22:39:15 +0000 (00:39 +0200)]
Fix #4067 - Do not make HTTP round-trip when resolving local URL (#4160)
Naoki Kosaka [Tue, 11 Jul 2017 17:56:45 +0000 (02:56 +0900)]
Fix media modal prev button behavior. (#4158)
nightpool [Tue, 11 Jul 2017 16:19:16 +0000 (12:19 -0400)]
Revert "Wrap methods of ProcessFeedService::ProcessEntry in classes (#4151)" (#4157)
This reverts commit
425acecfdb15093a265b191120fb2d4e4c4135c4 .
Eugen Rochko [Tue, 11 Jul 2017 15:25:49 +0000 (17:25 +0200)]
Fix #2848 - Rake task to redownload avatars/headers (#4156)
Can be filtered by a specific domain
Resolves #2292
Eugen Rochko [Tue, 11 Jul 2017 15:08:26 +0000 (17:08 +0200)]
Fix #3462 - Require authentication for search API (#4155)
This makes it consistent with /api/v1/accounts/search and
previous behaviour has been an oversight.
Eugen Rochko [Tue, 11 Jul 2017 13:27:59 +0000 (15:27 +0200)]
Redesign the landing page, mount public timeline on it (#4122)
* 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
Akihiko Odaki (@fn_aki@pawoo.net) [Tue, 11 Jul 2017 13:15:42 +0000 (22:15 +0900)]
Require stylesheets in common.js (#4152)
Require stylesheets in common.js because stylesheets are shared by the
entry points.
Yamagishi Kazutoshi [Tue, 11 Jul 2017 12:36:27 +0000 (21:36 +0900)]
Drawer tab according to column (#4135)
* Add notifications link to drawer
* Remove local and public timeline tab in drawer
* Add home
Akihiko Odaki (@fn_aki@pawoo.net) [Tue, 11 Jul 2017 11:37:05 +0000 (20:37 +0900)]
Wrap methods of ProcessFeedService::ProcessEntry in classes (#4151)
ProcessFeedService::ProcessEntry had many methods, so wrap them in classes
representing activities.
Akihiko Odaki (@fn_aki@pawoo.net) [Tue, 11 Jul 2017 09:55:48 +0000 (18:55 +0900)]
Remove redundant inclusion (#4150)
Sorin Davidoi [Mon, 10 Jul 2017 23:00:14 +0000 (01:00 +0200)]
refactor: Rewrite immutablejs import statements using destructuring (#4147)
Akihiko Odaki (@fn_aki@pawoo.net) [Mon, 10 Jul 2017 23:00:01 +0000 (08:00 +0900)]
Fix PrecomputeFeedService for filtered statuses (#4148)
m4sk1n [Mon, 10 Jul 2017 17:42:37 +0000 (19:42 +0200)]
i18n: @
7a889a8 (pl) (#4144)
* i18n: @
7a889a8 (pl)
* Update pl.yml
unarist [Mon, 10 Jul 2017 17:41:55 +0000 (02:41 +0900)]
Update es5-ext to avoid CSP violation (#4145)
Since es5-ext used `new Function("...")`, it caused CSP violation unless "unsafe-eval" included. So this patch updates it to the version which fixes it.
Note that this package is used in polyfills, so loaded only if needed. I've encountered this issue on iOS9.
cf. medikoo/es5-ext@
d3864493
Eugen Rochko [Mon, 10 Jul 2017 16:46:46 +0000 (18:46 +0200)]
Fix #4059 - Remove ModuleConcatenationPlugin (#4139)
It increased memory usage of Webpack 1.5x fold with little benefits
STJrInuyasha [Mon, 10 Jul 2017 16:05:06 +0000 (09:05 -0700)]
Remote following success page (#4129)
* 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 [Mon, 10 Jul 2017 16:04:43 +0000 (18:04 +0200)]
i18n: @
2b9721d (pl) (#4143)
Eugen Rochko [Mon, 10 Jul 2017 16:04:23 +0000 (18:04 +0200)]
Limit total subscribe retries to 10, but space them out more (#4142)
Since there is little point in retrying so often when a service is down
or does not exist anymore. Subscriptions are renewed 1 day before they
should expire, so retrying in 30 minutes, then 2 hours, then 12 hours
is fine. If even after that, the remote server does not work, there is
little sense in retrying more often than once a day
Also, uniqueness of the job should ensure that failed retries will
not result in multiple retries for the same endpoint when the next
resubscription cycle comes
m4sk1n [Mon, 10 Jul 2017 16:04:06 +0000 (18:04 +0200)]
i18n: @
63baab0 (pl) (#4141)
Yamagishi Kazutoshi [Mon, 10 Jul 2017 14:32:17 +0000 (23:32 +0900)]
Add Japanese translations (#4140)
* Add Japanese translations for #3879
* Add Japanese translations for #4033
* Add Japanese translations for #4136
のら [Mon, 10 Jul 2017 12:04:05 +0000 (21:04 +0900)]
Add Japanese translation of terms and flash (#4137)
Yamagishi Kazutoshi [Mon, 10 Jul 2017 12:02:18 +0000 (21:02 +0900)]
Fix regular expression for RFC 5646 (regression from #3604) (#4133)
Yamagishi Kazutoshi [Mon, 10 Jul 2017 12:00:32 +0000 (21:00 +0900)]
Add setting a always mark media as sensitive (#4136)
abcang [Mon, 10 Jul 2017 11:59:29 +0000 (20:59 +0900)]
Rescue exceptions related to Goldfinger at FetchRemoteStatusService (#4138)
Sadiq Saif [Mon, 10 Jul 2017 02:49:48 +0000 (22:49 -0400)]
Change default for auto_play_fit to false for a11y (#4132)
This is per issue #3876
Lynx Kotoura [Mon, 10 Jul 2017 02:37:10 +0000 (11:37 +0900)]
Fix duplication of tag in columns_area.js (#4131)
Deleted ">" just a typo.
Yamagishi Kazutoshi [Mon, 10 Jul 2017 01:29:34 +0000 (10:29 +0900)]
Add attribute for default privacy to verify credentials (#4075)
* Add attribute for default privacy to verify credentials
* add raw_note
* source
Sorin Davidoi [Sun, 9 Jul 2017 16:49:07 +0000 (18:49 +0200)]
fix(components/media_modal): Aspect ratio (#4128)
* fix(components/media_modal): Aspect ratio
* fix: Remove useless style
Nolan Lawson [Sun, 9 Jul 2017 15:34:05 +0000 (08:34 -0700)]
Use babel-plugin-transform-react-inline-elements (#4109)
abcang [Sun, 9 Jul 2017 15:33:21 +0000 (00:33 +0900)]
Rescue exceptions related to Goldfinger (#4044)
* Rescue exceptions related to Goldfinger
* Exclude Goldfinger::SSLError
Sorin Davidoi [Sun, 9 Jul 2017 13:02:26 +0000 (15:02 +0200)]
Swipeable views (#4105)
* feat: Replace react-swipeable with react-swipeable-views
* fix: iOS 9
unarist [Sun, 9 Jul 2017 12:52:03 +0000 (21:52 +0900)]
Avoid async import if the component is previously loaded (#4127)
unarist [Sun, 9 Jul 2017 11:04:30 +0000 (20:04 +0900)]
Fix initial loading of pinned Notifications column (#4126)
m4sk1n [Sun, 9 Jul 2017 10:17:00 +0000 (12:17 +0200)]
i18n: minor change (pl) (#4124)
Sorin Davidoi [Sun, 9 Jul 2017 10:16:08 +0000 (12:16 +0200)]
refactor: Make all reducers sync (#4125)
Daniel Hunsaker [Sun, 9 Jul 2017 00:52:36 +0000 (18:52 -0600)]
[nanobox] Allow Full-size Uploads (#4123)
The Nginx configurations used by Nanobox previously neglected to increase the default upload size limit. This PR bumps that value up to the current Mastodon limit of 8MiB.
nullkal [Sat, 8 Jul 2017 20:44:31 +0000 (05:44 +0900)]
Use charlock_holmes instead of nkf at FetchLinkCardService (#4080)
* Specs for language detection
* Use CharlockHolmes instead of NKF
* Correct mistakes
* Correct style
* Set hint_enc instead of falling back and strip_tags
* Improve specs
* Add dependencies
abcang [Sat, 8 Jul 2017 16:35:08 +0000 (01:35 +0900)]
Change account link to admin account link on report page (#4119)
Sorin Davidoi [Sat, 8 Jul 2017 16:34:55 +0000 (18:34 +0200)]
fix: Rerender Bundle on route change (#4120)
unarist [Sat, 8 Jul 2017 15:22:24 +0000 (00:22 +0900)]
Fix first loading of notifications when the column is pinned (#4114)
Yamagishi Kazutoshi [Sat, 8 Jul 2017 15:21:59 +0000 (00:21 +0900)]
Don't use preview when image size is unknown (#4113)
Yamagishi Kazutoshi [Sat, 8 Jul 2017 15:20:53 +0000 (00:20 +0900)]
Use srcSet only when know width (#4112)
Jeroen [Sat, 8 Jul 2017 15:17:02 +0000 (17:17 +0200)]
Update and improvement Dutch language strings (#4117)
* Update
* Update
Eugen Rochko [Sat, 8 Jul 2017 12:51:05 +0000 (14:51 +0200)]
Replace OEmbed and initial state Rabl templates with serializers (#4110)
* Replace OEmbed Rabl template with serializer
* Replace initial state rabl with serializer
unarist [Sat, 8 Jul 2017 12:50:45 +0000 (21:50 +0900)]
Fix JSON serialization of media_attachment (#4111)
Nolan Lawson [Fri, 7 Jul 2017 23:57:22 +0000 (16:57 -0700)]
Avoid using getBoundingClientRect to calculate height (#4001)
Sylvhem [Fri, 7 Jul 2017 23:27:22 +0000 (01:27 +0200)]
Various fixes in the French translation (#4107)
* 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).
Sorin Davidoi [Fri, 7 Jul 2017 22:06:02 +0000 (00:06 +0200)]
Lazy load components (#3879)
* feat: Lazy-load routes
* feat: Lazy-load modals
* feat: Lazy-load columns
* refactor: Simplify Bundle API
* feat: Optimize bundles
* feat: Prevent flashing the waiting state
* feat: Preload commonly used bundles
* feat: Lazy load Compose reducers
* feat: Lazy load Notifications reducer
* refactor: Move all dynamic imports into one file
* fix: Minor bugs
* fix: Manually hydrate the lazy-loaded reducers
* refactor: Move all dynamic imports to async-components
* fix: Loading modal style
* refactor: Avoid converting the raw state for each lazy hydration
* refactor: Remove unused component
* refactor: Maintain modal name
* fix: Add as=script to preload link
* chore: Fix lint error
* fix(components/bundle): Check if timestamp is set when computing elapsed
* fix: Load compose reducers for the onboarding modal
Eugen Rochko [Fri, 7 Jul 2017 21:25:15 +0000 (23:25 +0200)]
Fix #4058 - Use a long-lived cookie to keep track of user-level sessions (#4091)
* Fix #4058 - Use a long-lived cookie to keep track of user-level sessions
* Fix tests, smooth migrate from previous session-based identifier
m4sk1n [Fri, 7 Jul 2017 18:01:17 +0000 (20:01 +0200)]
i18n: improve consistency (pl) (#4104)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
Nolan Lawson [Fri, 7 Jul 2017 18:01:00 +0000 (11:01 -0700)]
Gracefully stop streaming server (#4103)
m4sk1n [Fri, 7 Jul 2017 15:35:47 +0000 (17:35 +0200)]
i18n: @
18d3fa9 (pl) (#4101)
Eugen Rochko [Fri, 7 Jul 2017 14:56:52 +0000 (16:56 +0200)]
Restore streaming API output format (#4100)
* Restore streaming API output format
Regression from #4090
* Remove whitespace
Eugen Rochko [Fri, 7 Jul 2017 14:19:28 +0000 (16:19 +0200)]
Fix notifications including wrong status in JSON (#4097)
Yamagishi Kazutoshi [Fri, 7 Jul 2017 12:12:45 +0000 (21:12 +0900)]
Update webpack-dev-server to v2.5.1 (#4094)
Yamagishi Kazutoshi [Fri, 7 Jul 2017 12:12:16 +0000 (21:12 +0900)]
Add recursive object support to API response (#4095)
Eugen Rochko [Fri, 7 Jul 2017 02:31:40 +0000 (04:31 +0200)]
Fix feed author not being enforced in ProcessFeedService (#4092)
Ensure the only allowed author of top-level entries in feed is the person
the feed belongs to (a verified user). Ensure delete events only apply
if the deleted item belonged to that user.
Eugen Rochko [Fri, 7 Jul 2017 02:02:06 +0000 (04:02 +0200)]
Refactor JSON templates to be generated with ActiveModelSerializers instead of Rabl (#4090)
のら [Thu, 6 Jul 2017 22:48:09 +0000 (07:48 +0900)]
Togglable filter links (#4021)
* Togglable filter links
* Rename is_selected to selected?
Daniel Hunsaker [Thu, 6 Jul 2017 22:46:45 +0000 (16:46 -0600)]
[nanobox] Add Automated Backups (#4023)
This PR adds automatic backups to Nanobox instances. The database, Redis, and user files are backed up every day at 03:00 (server time) to the data warehouse component which comes with every Nanobox app. Old backups are automatically cleared out, but the number of backups that are left untouched can be configured by setting the `BACKUP_COUNT` environment variable to any integer value greater than 0 (the default is 1).
Also updated `.env.nanobox` to reflect the current `.env.production.sample`.
Akihiko Odaki (@fn_aki@pawoo.net) [Thu, 6 Jul 2017 22:12:12 +0000 (07:12 +0900)]
Set default From address in config (#3756)
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 [Thu, 6 Jul 2017 20:39:56 +0000 (13:39 -0700)]
Add a setting allowing the use of system's default font in Web UI (#4033)
* 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
abcang [Thu, 6 Jul 2017 19:31:03 +0000 (04:31 +0900)]
Improve Activity stream spoiler (#4088)
STJrInuyasha [Thu, 6 Jul 2017 19:30:37 +0000 (12:30 -0700)]
Parse links in status content on update as well as mount (#4042)
* Update links in status content on update as well as mount
Fixes occasional bugs with mentions and hashtags not being set to open in a new column like they should, and instead opening in a new page
* use classList instead of raw className
unarist [Thu, 6 Jul 2017 19:26:21 +0000 (04:26 +0900)]
Unobserve status on unmount (#4013)
This fixes a warning on status unmounting (e.g. deletion).
This also resets IntersectionObserverWrapper on disconnect to avoid `unobserve()` calls
which has bug in Edge.
Mantas [Thu, 6 Jul 2017 19:26:07 +0000 (22:26 +0300)]
Remove ugly blue highlight on Android browsers (#4031)
Quent-in [Thu, 6 Jul 2017 19:10:12 +0000 (21:10 +0200)]
l10n Occitan locale (#4089)
* Small adjustments
About the report part.
* Update time format
Shin Kojima [Thu, 6 Jul 2017 13:27:02 +0000 (22:27 +0900)]
Fix embedded SVG fill attribute (#4086)
* Fix embedded SVG fill attribute
SCSS darken/lighten functions may not return a color value, but a color
name like "white". See following example:
https://www.sassmeister.com/gist/
c41da93b87d536890ddf30a1f42e7816
This patch will normalize $color argument to FFFFFF style.
I also changed the function name from "url-friendly-colour" to
"hex-color", Because...
1. The name "url-friendly" is not meaningful enough to describe what it
does.
2. It is familier to me using "color" rather than "colour"
kojima:kojiMac mastodon[master]$ git grep -l colour
app/javascript/styles/boost.scss
spec/fixtures/files/attachment.jpg
kojima:kojiMac mastodon[master]$ git grep -l color
.rspec
.scss-lint.yml
Gemfile.lock
app/javascript/mastodon/features/status/components/action_bar.js
app/javascript/styles/about.scss
app/javascript/styles/accounts.scss
app/javascript/styles/admin.scss
app/javascript/styles/basics.scss
app/javascript/styles/boost.scss
app/javascript/styles/compact_header.scss
app/javascript/styles/components.scss
app/javascript/styles/containers.scss
app/javascript/styles/footer.scss
app/javascript/styles/forms.scss
app/javascript/styles/landing_strip.scss
app/javascript/styles/reset.scss
app/javascript/styles/stream_entries.scss
app/javascript/styles/tables.scss
app/javascript/styles/variables.scss
app/views/admin/subscriptions/_subscription.html.haml
app/views/layouts/application.html.haml
app/views/layouts/error.html.haml
app/views/manifests/show.json.rabl
bin/webpack-dev-server
config/initializers/httplog.rb
public/500.html
public/emoji/1f1e6-1f1e8.svg
public/emoji/1f1ec-1f1f8.svg
public/emoji/1f1f3-1f1ee.svg
public/emoji/1f1fb-1f1ec.svg
spec/fixtures/requests/idn.txt
yarn.lock
* Add semicolon
m4sk1n [Thu, 6 Jul 2017 13:25:27 +0000 (15:25 +0200)]
i18n: minor changes in Polish translation (#4087)
* i18n: minor changes in Polish translation
* Update pl.json
Akihiko Odaki (@fn_aki@pawoo.net) [Wed, 5 Jul 2017 21:58:03 +0000 (06:58 +0900)]
Explicitly require MIME::Types (#4083)
abcang [Wed, 5 Jul 2017 12:54:21 +0000 (21:54 +0900)]
Fix Nokogiri::HTML at FetchLinkCardService (#4072)
unarist [Wed, 5 Jul 2017 12:51:53 +0000 (21:51 +0900)]
Show LoadMore button on Notifications even if all items are filtered (#4077)
Yamagishi Kazutoshi [Wed, 5 Jul 2017 12:51:28 +0000 (21:51 +0900)]
Format datetime of subscriptions on admin UI (#4078)
m4sk1n [Tue, 4 Jul 2017 21:34:00 +0000 (23:34 +0200)]
i18n: Updated Polish translation (#4068)
* i18n: Updated Polish translation
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* fuggin nano
Gyuhwan Park [Tue, 4 Jul 2017 15:09:17 +0000 (00:09 +0900)]
i18n: Update korean translation (#4066)
* 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 [Tue, 4 Jul 2017 14:48:22 +0000 (23:48 +0900)]
Fix Korean translation (#4065)
* 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
Gyuhwan Park [Tue, 4 Jul 2017 14:11:23 +0000 (23:11 +0900)]
i18n: Add korean translation (#4064)
* 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
Yamagishi Kazutoshi [Tue, 4 Jul 2017 13:19:54 +0000 (22:19 +0900)]
Change webpack-dev-server repository (#4061)