]>
cat aescling's git repositories - mastodon.git/log
mayaeh [Sat, 31 Mar 2018 12:09:39 +0000 (21:09 +0900)]
i18n: Add Japanese translations for domain blocks (#6979)
* run yarn manage:translations
* Update Japanese translations for domain blocks.
Daniel Hunsaker [Sat, 31 Mar 2018 11:17:25 +0000 (05:17 -0600)]
[Nanobox] Enable ElasticSearch support by default (#6977)
Admins can still disable the feature by adding `ES_ENABLED=false` to their environment, if they prefer not to use it. Be sure to set the variable before you deploy!
unarist [Sat, 31 Mar 2018 11:16:38 +0000 (20:16 +0900)]
Ignore AbortError when cancelled sharing (#6978)
`navigator.share()` rejects Promise if user cancelled sharing, and it may
print it as an error on JavaScript console.
This patch ignores it and prints other errors on the console.
ThibG [Fri, 30 Mar 2018 13:44:54 +0000 (15:44 +0200)]
Fix compatibility with PeerTube (#6968)
* Support fetching objects of convertible types by URL (fixes #6924)
* Ignore invalid hashtags
ThibG [Fri, 30 Mar 2018 10:38:00 +0000 (12:38 +0200)]
Add some UI for user-defined domain blocks (#6628)
* Keep list of blocked domains
Might be overkill, but I'm trying to follow the same logic as for blocked users
* Add basic domain block UI
* Add the domain blocks UI to Getting Started
* Fix undefined URL in `fetchDomainBlocks`
* Update all known users' domain_blocking relationship instead of just one's
Pierre-Morgan Gate [Fri, 30 Mar 2018 07:52:44 +0000 (00:52 -0700)]
Upgrade charlock_holmes to version 0.7.6 (#6966)
This version fixes compilation errors when trying to build its native extension with ICU 61.
takayamaki [Fri, 30 Mar 2018 01:04:04 +0000 (10:04 +0900)]
update ja locale (#6965)
related https://github.com/tootsuite/mastodon/pull/6956
Emelia Smith [Thu, 29 Mar 2018 17:08:34 +0000 (19:08 +0200)]
Feature: Direct message from menu (#6956)
* Implement ability to send direct messages from the user menu
* Implement message warning users that direct messages are visible to all mentioned users
* Update locales
unarist [Thu, 29 Mar 2018 12:57:02 +0000 (21:57 +0900)]
Fix ReferenceError when Cache API is missing (#6953)
Cache API is not supported on Safari 11.0 / iOS 11.
Since those caching is optional, this patch simply ignores it.
unarist [Thu, 29 Mar 2018 10:59:12 +0000 (19:59 +0900)]
Fix TypeError on follow notification (#6950)
`notification.status` may not be present, e.g. follow notification.
ThibG [Wed, 28 Mar 2018 22:52:24 +0000 (00:52 +0200)]
Do not ignore unknown media attachments, only skip them (#6948)
That way, they are displayed in a list below the corresponding toot.
Yuto Tokunaga [Wed, 28 Mar 2018 18:40:51 +0000 (03:40 +0900)]
Add double-tap zoom functionary to `ZoomableImage` (#6944)
add <div.zoomable-image__margin/> to keep margin of the image on zooming
move setting `scrollLeft` and `scrollTop` of container from callback of
`setState` to `componentDidUpdate`
add 'hammerjs' package for touch gesture detection
rewrite `ZoomableImage` using 'hammerjs'
Akihiko Odaki [Wed, 28 Mar 2018 18:40:18 +0000 (03:40 +0900)]
Document CORS requirement for asset host (#6941)
unarist [Tue, 27 Mar 2018 14:53:52 +0000 (23:53 +0900)]
Fix LoadMore on account media gallery (#6933)
max_id in the fetch request should be a status id, but media attachment id was used.
unarist [Tue, 27 Mar 2018 13:18:35 +0000 (22:18 +0900)]
Clone response before put it to the cache (#6932)
`Response.prototype.clone()` must be called before the response used.
This fixes an error from ServiceWorker and failing to load image when the
image is not cached.
unarist [Tue, 27 Mar 2018 11:05:59 +0000 (20:05 +0900)]
Add missing null handling in notification reducer (#6930)
This patch adds null item (i.e. gap) handling on below functions to avoid TypeError.
* `filterNotifications` called on user mute/block
* `deleteByStatus` called on status deletion
Akihiko Odaki [Tue, 27 Mar 2018 10:32:30 +0000 (19:32 +0900)]
Cache media (#6902)
Yuto Tokunaga [Tue, 27 Mar 2018 10:30:28 +0000 (19:30 +0900)]
fix #6846 (#6914)
unarist [Tue, 27 Mar 2018 03:22:58 +0000 (12:22 +0900)]
Add a spec for UniqueUsernameValidator (#6927)
Note that this spec has a pending test about dots in the username,
because allowing it has been reverted for now.
Eugen Rochko [Tue, 27 Mar 2018 02:33:57 +0000 (04:33 +0200)]
Fix UniqueUsernameValidator comparison (#6926)
Comparison was downcasing only one side, therefore if previously
existing account had a non-lowercase spelling, it would be ignored
when checking for duplicates.
New rake task `mastodon:maintenance:find_duplicate_usernames` will
help find constraint violations that might have occured from the
presence of this bug.
Bump version to 2.3.3
Akihiko Odaki [Mon, 26 Mar 2018 12:02:10 +0000 (21:02 +0900)]
Validate HTTP response length while receiving (#6891)
to_s method of HTTP::Response keeps blocking while it receives the whole
content, no matter how it is big. This means it may waste time to receive
unacceptably large files. It may also consume memory and disk in the
process. This solves the inefficency by checking response length while
receiving.
Stephen Burgess [Mon, 26 Mar 2018 11:59:44 +0000 (07:59 -0400)]
feat(ShowMore): Add classname to show more/show less button (#6904)
Yuto Tokunaga [Mon, 26 Mar 2018 11:59:21 +0000 (20:59 +0900)]
Refactor scss (#6913)
* Refactoring scss
introduce scss variables for the media modal
fix css block structure corresponding to react components
fix flex layouts
remove background image of the loaded image on the media modal
* Fix typo
unarist [Mon, 26 Mar 2018 10:48:01 +0000 (19:48 +0900)]
Fix moved account handling in IndexedDB feature (#6915)
* Fix stack overflow on importFetchedAccounts
When the account has moved property, it should process destination
account instead of source account itself.
* Set account id instead of account object for moved property
This restores "foo has moved to" indication on account view, and
fixes `reblog` index on `accounts` object store.
Yann Klis [Mon, 26 Mar 2018 10:47:34 +0000 (12:47 +0200)]
Missing OTP_SECRET in scalingo.json (#6917)
Marcin Mikołajczak [Sun, 25 Mar 2018 14:33:07 +0000 (16:33 +0200)]
i18n: Update Polish translation (#6903)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
Akihiko Odaki [Sat, 24 Mar 2018 21:07:23 +0000 (06:07 +0900)]
Allow clients to fetch notifications made while they were offline (#6886)
Akihiko Odaki [Sat, 24 Mar 2018 14:25:15 +0000 (23:25 +0900)]
Allow clients to fetch statuses made while they were offline (#6876)
Akihiko Odaki [Sat, 24 Mar 2018 12:36:44 +0000 (21:36 +0900)]
Rename variables to have semantic meanings in notifications reducer (#6890)
Akihiko Odaki [Sat, 24 Mar 2018 12:06:27 +0000 (21:06 +0900)]
Store objects to IndexedDB (#6826)
Yamagishi Kazutoshi [Sat, 24 Mar 2018 11:52:45 +0000 (20:52 +0900)]
Revert "Revert "Upgrade Paperclip to version 6.0.0" (#6807)" (#6808)
This reverts commit
40871caa4b06c7ee1c3b07f439ed984ead295ced .
Akihiko Odaki [Sat, 24 Mar 2018 11:52:26 +0000 (20:52 +0900)]
Show media modal on public pages (#6801)
Marcin Mikołajczak [Sat, 24 Mar 2018 11:51:51 +0000 (12:51 +0100)]
Change “Toots with replies” to “Toots and replies” (#6875)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
Akihiko Odaki [Sat, 24 Mar 2018 11:51:28 +0000 (20:51 +0900)]
Change columns in notifications nonnullable (#6764)
Akihiko Odaki [Sat, 24 Mar 2018 11:50:41 +0000 (20:50 +0900)]
Note if the user is already following the target when authorizing follow (#6325)
Jeroen [Sat, 24 Mar 2018 11:50:14 +0000 (12:50 +0100)]
Invites: Add '1 week' as expire option (#6872)
* Invites: Add '1 week' as expire option
IMO a max. of 1 day is too short. Not everyone has the time and motivation to use an invite in a 24 hour period. 1 week as a max. is I think a good compromise between convenience and security.
* Invites: Add '1 week' as expire option
IMO a max. of 1 day is too short. Not everyone has the time and motivation to use an invite in a 24 hour period. 1 week as a max. is I think a good compromise between convenience and security.
* Update en.yml
Akihiko Odaki [Sat, 24 Mar 2018 11:49:54 +0000 (20:49 +0900)]
Close http connection in perform method of Request class (#6889)
HTTP connections must be explicitly closed in many cases, and letting
perform method close connections makes its callers less redundant and
prevent them from forgetting to close connections.
Akihiko Odaki [Sat, 24 Mar 2018 09:54:19 +0000 (18:54 +0900)]
Internationalize unexpected error message (#6887)
Yamagishi Kazutoshi [Sat, 24 Mar 2018 00:04:02 +0000 (09:04 +0900)]
Weblate translations (2018-03-23) (#6874)
* Translated using Weblate (Galician)
Currently translated at 100.0% (587 of 587 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (587 of 587 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (Catalan)
Currently translated at 100.0% (587 of 587 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ca/
* Translated using Weblate (Arabic)
Currently translated at 76.4% (449 of 587 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Japanese)
Currently translated at 99.8% (586 of 587 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Slovak)
Currently translated at 92.3% (542 of 587 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Slovak)
Currently translated at 92.3% (542 of 587 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (58 of 58 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sk/
* Translated using Weblate (Polish)
Currently translated at 98.9% (581 of 587 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pl/
* Translated using Weblate (French)
Currently translated at 99.6% (585 of 587 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.8% (586 of 587 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pt_BR/
* Translated using Weblate (Catalan)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ca/
* bundle exec i18n-tasks normalize && yarn manage:translations
Quentí [Fri, 23 Mar 2018 09:52:25 +0000 (10:52 +0100)]
[i18n] Occitan update (#6869)
* Update oc.yml
* Update simple_form.oc.yml
* Update oc.json
* Update oc.yml
* bundle exec i18n-tasks normalize
Eugen Rochko [Thu, 22 Mar 2018 13:13:46 +0000 (14:13 +0100)]
Bump version to 2.3.2
Eugen Rochko [Thu, 22 Mar 2018 10:31:52 +0000 (11:31 +0100)]
Bump version to 2.3.2rc5
Eugen Rochko [Thu, 22 Mar 2018 10:31:17 +0000 (11:31 +0100)]
Do not re-query mentions from serializers (#6858)
Fix performance regression from #6836
Eugen Rochko [Thu, 22 Mar 2018 10:30:22 +0000 (11:30 +0100)]
Restore username validation to disallow dots, for now (#6863)
Usernames with dots in them do not work with routes, because the dot usually separates the desired page format (e.g. json). I don't want to mess with changing route constraints for this patch release.
ThibG [Thu, 22 Mar 2018 09:45:48 +0000 (10:45 +0100)]
Fix MENTION_RE to not match nil usernames (#6862)
Eugen Rochko [Thu, 22 Mar 2018 08:33:14 +0000 (09:33 +0100)]
Hide floating action button on thread views (#6859)
Patrick Figel [Wed, 21 Mar 2018 16:43:28 +0000 (17:43 +0100)]
Update sanitize and loofah (#6855)
Fixes CVE-2018-8048 and CVE-2018-3740, two medium-severity XSS
vulnerabilities present in these gems when built against
libxml2 >= 2.9.2.
Eugen Rochko [Wed, 21 Mar 2018 09:26:53 +0000 (10:26 +0100)]
Permit dots in usernames with conditions (#6844)
* Permit dots in usernames with conditions
- Dot cannot be the start or end of username
- a.lice and al.ice are considered the same during sign-up
* Fix regex mixin flags
Akihiko Odaki [Wed, 21 Mar 2018 09:26:15 +0000 (18:26 +0900)]
Remove debug option from Babel preset env (#6852)
Eugen Rochko [Tue, 20 Mar 2018 22:49:24 +0000 (23:49 +0100)]
Bump version to 2.3.2rc4
Eugen Rochko [Tue, 20 Mar 2018 18:41:51 +0000 (19:41 +0100)]
Add LDAP_TLS_NO_VERIFY option, don't require LDAP_ENABLED outside .env (#6845)
Fix #6816, fix #6790
Akihiko Odaki [Tue, 20 Mar 2018 15:36:20 +0000 (00:36 +0900)]
Fix i18n fallback configuration conflicts with environment configurations (#6843)
Eugen Rochko [Tue, 20 Mar 2018 13:57:46 +0000 (14:57 +0100)]
Use username/domain to match existing accounts in ActivityPub (#6842)
See also: #6837, #6667
ThibG [Tue, 20 Mar 2018 11:40:12 +0000 (12:40 +0100)]
Cancel outdated pending compose suggestions (#6838)
Rey Tucker [Tue, 20 Mar 2018 08:06:08 +0000 (04:06 -0400)]
request: in the event of failure, try other IPs (#6761) (#6813)
* request: in the event of failure, try other IPs (#6761)
In the case where a name has multiple A/AAAA records, we should
try subsequent records instead of immediately failing when we have a
failure on the first IP address.
This significantly improves delivery success when there are network
connectivity problems affecting only IPv4 or IPv6.
* fix method call style
* request_spec: adjust test case to use Addrinfo
* request: Request/open: move private addr check to within begin/rescue
* request_spec: add case to test failover, fix exception check
* Double Addrinfo.foreach so that it correctly yields instances
ThibG [Mon, 19 Mar 2018 19:19:35 +0000 (20:19 +0100)]
Serialize mentions in the order they are added (#6836)
Up until now, the order seemed to be in the *opposite* order,
which caused the WebUI to populate mentions in reversed order
when replying to toots local to one's instance.
ThibG [Mon, 19 Mar 2018 19:12:20 +0000 (20:12 +0100)]
Display content warning in mail notification emails (#6832)
Alexander [Mon, 19 Mar 2018 19:09:26 +0000 (20:09 +0100)]
rename pam email environment variable to something more understandable and default to LOCAL_DOMAIN (better fallback) (#6833)
Alexander [Mon, 19 Mar 2018 19:08:56 +0000 (20:08 +0100)]
bugfixes and gem update (#6831)
* update to new version of devise_pam_authenticatable2
* fix behaviour if suffix is nil, fix environment loading, fix user email creation
* code cleanup/fix linter warning
ThibG [Mon, 19 Mar 2018 19:07:47 +0000 (20:07 +0100)]
Fix e-mail changed notification (fixes #6778) (#6835)
In Devise::Mailer#email_changed, the new email might be in the email attr.
See: https://github.com/plataformatec/devise/blob/master/app/views/devise/mailer/email_changed.html.erb
Renato "Lond" Cerqueira [Mon, 19 Mar 2018 14:12:06 +0000 (15:12 +0100)]
Weblate translations
20180319 (#6827)
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/pt_BR/
* Translated using Weblate (Spanish)
Currently translated at 99.6% (579 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/es/
* Translated using Weblate (Spanish)
Currently translated at 100.0% (58 of 58 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/es/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/
* Translated using Weblate (French)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/
* Translated using Weblate (Spanish)
Currently translated at 100.0% (58 of 58 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/es/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/id/
* Translated using Weblate (Spanish)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/es/
* Translated using Weblate (Indonesian)
Currently translated at 94.6% (71 of 75 strings)
Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/id/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/id/
* Translated using Weblate (Arabic)
Currently translated at 100.0% (62 of 62 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/ar/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/id/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/
* Translated using Weblate (Arabic)
Currently translated at 75.5% (439 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Arabic)
Currently translated at 76.2% (443 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Russian)
Currently translated at 95.8% (557 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ru/
* Translated using Weblate (Finnish)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fi/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Slovak)
Currently translated at 91.7% (533 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/
* Translated using Weblate (Spanish)
Currently translated at 99.8% (580 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/es/
* Translated using Weblate (Finnish)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fi/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Spanish)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/es/
* Translated using Weblate (Swedish)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sv/
* Translated using Weblate (Finnish)
Currently translated at 93.1% (54 of 58 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/fi/
* Translated using Weblate (Arabic)
Currently translated at 76.7% (446 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Slovak)
Currently translated at 93.2% (542 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Arabic)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/
* Normalize translations
Ran i18n-tasks normalize && yarn manage:translations
Eugen Rochko [Mon, 19 Mar 2018 11:20:57 +0000 (12:20 +0100)]
Bump version to 2.3.2rc3
Eugen Rochko [Mon, 19 Mar 2018 00:51:19 +0000 (01:51 +0100)]
Ignore media validation when attaching to status during processing (#6822)
Fix #6821
Eugen Rochko [Sun, 18 Mar 2018 19:33:07 +0000 (20:33 +0100)]
Revert #6479, hide sensitive text/images from OpenGraph previews (#6818)
Display summary of attachments in description, and mark up content
warning if present, e.g.:
Attached: 3 images · Content warning: Dota 2
When text is not supposed to be hidden, it looks more like:
Attached: 3 images
Here is the text of the toot
With #6817, multilinguagility should be assured...
Eugen Rochko [Sun, 18 Mar 2018 19:32:44 +0000 (20:32 +0100)]
Fix elephant graphic being draggable and selectable (#6819)
Eugen Rochko [Sun, 18 Mar 2018 15:57:04 +0000 (16:57 +0100)]
If DEFAULT_LOCALE is set, enforce it instead of HTTP request locale (#6817)
Fix #6784
Akihiko Odaki [Sun, 18 Mar 2018 14:14:38 +0000 (23:14 +0900)]
Synchronize HTML page cache with sessions (#6815)
nightpool [Sat, 17 Mar 2018 16:39:28 +0000 (12:39 -0400)]
Add entropy to download filenames (#6811)
pretty quick fix, and with the 1 week expiration i don't think we need to be too worried about the existing files
closes #6798
Eugen Rochko [Sat, 17 Mar 2018 14:28:52 +0000 (15:28 +0100)]
Bump version to 2.3.2rc2
Eugen Rochko [Sat, 17 Mar 2018 14:28:09 +0000 (15:28 +0100)]
Re-add git and nodejs-npm to Dockerfile (#6810)
Fix #6809
I don't know why, either
Eugen Rochko [Sat, 17 Mar 2018 13:20:35 +0000 (14:20 +0100)]
Revert "Upgrade Paperclip to version 6.0.0" (#6807)
* Revert "Bump version to 2.3.2rc1"
This reverts commit
cdf8b92fea269209cedf38c50bca276cdf47b1fe .
* Revert "Downgrade Dockerfile to Ruby 2.4.3 on Alpine 3.6 (#6806)"
This reverts commit
0074cad44ffcbbdbc798f57a21829359741e60d9 .
* Revert "Handle Mastodon::HostValidationError when pulling remoteable assets (#6782)"
This reverts commit
4a0a19fe54f1d2d433ad3d72c35f2bbb915279f6 .
* Revert "Correct the reference to user's password in mastodon:add_user task (#6800)"
This reverts commit
338bff8b93fa939c2968818e53386fd0c013d9a9 .
* Revert "Upgrade Paperclip to version 6.0.0 (#6754)"
This reverts commit
b88fcd53f711673b21e5ff4a547dbf929866a2ee .
Eugen Rochko [Sat, 17 Mar 2018 13:07:00 +0000 (14:07 +0100)]
Bump version to 2.3.2rc1
Eugen Rochko [Sat, 17 Mar 2018 13:06:25 +0000 (14:06 +0100)]
Downgrade Dockerfile to Ruby 2.4.3 on Alpine 3.6 (#6806)
Fix 6734
Daniel Hunsaker [Sat, 17 Mar 2018 12:27:50 +0000 (06:27 -0600)]
Handle Mastodon::HostValidationError when pulling remoteable assets (#6782)
This will prevent, for example, `rake mastodon:redownload_avatars` from crashing when an instance is no longer responding to connection attempts, instead silently continuing as expected.
Akihiko Odaki [Sat, 17 Mar 2018 12:27:19 +0000 (21:27 +0900)]
Correct the reference to user's password in mastodon:add_user task (#6800)
Yamagishi Kazutoshi [Sat, 17 Mar 2018 11:37:58 +0000 (20:37 +0900)]
Upgrade Paperclip to version 6.0.0 (#6754)
trwnh [Sat, 17 Mar 2018 11:35:35 +0000 (06:35 -0500)]
Properly center .nothing-here (#6787) (#6788)
Apply "margin: 0 auto;" at line 443 to fix issue #6787
Akihiko Odaki [Sat, 17 Mar 2018 11:35:13 +0000 (20:35 +0900)]
Cache HTML page with Service Worker (#6802)
This is the first step to make Mastodon work offline. It is also required
by Chromium to trigger Web Manifest automated install prompt.
Daniel Hunsaker [Sat, 17 Mar 2018 07:39:14 +0000 (01:39 -0600)]
[Nanobox] Stream backups to the warehouse (#6799)
The `curl` docs are terrible. Use `-X POST -T` instead of `--data-binary`, to avoid loading entire backups into memory _before_ transferring to the warehouse, and just stream the data across as it comes in.
Marcin Mikołajczak [Tue, 13 Mar 2018 17:17:48 +0000 (18:17 +0100)]
i18n: Update Polish translation (#6780)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
Renato "Lond" Cerqueira [Tue, 13 Mar 2018 15:16:51 +0000 (16:16 +0100)]
Weblate translations (2018-03-13) (#6777)
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/pt_BR/
* Translated using Weblate (Spanish)
Currently translated at 99.6% (579 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/es/
* Translated using Weblate (Spanish)
Currently translated at 100.0% (58 of 58 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/es/
* Translated using Weblate (Japanese)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/
* Translated using Weblate (French)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/
* Translated using Weblate (Spanish)
Currently translated at 100.0% (58 of 58 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/es/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/id/
* Translated using Weblate (Spanish)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/es/
* Translated using Weblate (Indonesian)
Currently translated at 94.6% (71 of 75 strings)
Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/id/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/id/
* Translated using Weblate (Arabic)
Currently translated at 100.0% (62 of 62 strings)
Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/ar/
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/id/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (280 of 280 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/
* Translated using Weblate (Arabic)
Currently translated at 75.5% (439 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Arabic)
Currently translated at 76.2% (443 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Russian)
Currently translated at 95.8% (557 of 581 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ru/
* Normalize translations
Ran i18n-tasks normalize && yarn manage:translations
Eugen Rochko [Tue, 13 Mar 2018 14:50:15 +0000 (15:50 +0100)]
Bump version to 2.3.1
Eugen Rochko [Tue, 13 Mar 2018 13:30:01 +0000 (14:30 +0100)]
Hide loading bar on status interactions (#6774)
Eugen Rochko [Tue, 13 Mar 2018 08:21:21 +0000 (09:21 +0100)]
Bump version to 2.3.1rc3
Eugen Rochko [Tue, 13 Mar 2018 08:18:27 +0000 (09:18 +0100)]
Merge branch 'kagucho-spoiler'
Eugen Rochko [Tue, 13 Mar 2018 08:18:11 +0000 (09:18 +0100)]
Merge branch 'spoiler' of git://github.com/kagucho/mastodon into kagucho-spoiler
Eugen Rochko [Tue, 13 Mar 2018 07:15:24 +0000 (08:15 +0100)]
Log BackupWorker backtrace, delete Backup if retries exhausted (#6769)
Eugen Rochko [Tue, 13 Mar 2018 07:14:08 +0000 (08:14 +0100)]
Fix #6757: Adjust RTL styles for landing page (#6768)
Akihiko Odaki [Tue, 13 Mar 2018 07:10:12 +0000 (16:10 +0900)]
Change the title of sensitive button by state (#6771)
Icon showing the state may be confusing. (does the slahed eye icon mean
the state that it is sensitive, or to mark it as sensitive?) Moreover, it
may not help for blind people.
The title will give the precise representation of the current state.
Akihiko Odaki [Tue, 13 Mar 2018 06:58:13 +0000 (15:58 +0900)]
Change the title of spoiler button by state
The title will give the precise representation of the current state. It
would be helpful for blind people.
Eugen Rochko [Tue, 13 Mar 2018 06:16:43 +0000 (07:16 +0100)]
Fix #6762: Do not overwrite some status attributes in reducer (#6767)
Daniel Hunsaker [Tue, 13 Mar 2018 05:07:02 +0000 (23:07 -0600)]
[Nanobox] Fix DB backup task (#6766)
Not sure how I missed that it had been using the wrong evar this entire time...
Akihiko Odaki [Tue, 13 Mar 2018 05:06:14 +0000 (14:06 +0900)]
Do not run lint in Travis CI (#6763)
Lint is done by codeclimate
Ushitora Anqou [Mon, 12 Mar 2018 20:41:26 +0000 (05:41 +0900)]
Detailed SMTP setup (#6759)
* add detailed SMTP settings setup in mastodon:setup
* add localhost SMTP settings setup in mastodon:setup
* SMTP settings setup should exit after successful delivery of test mail
艮 鮟鱇 [Mon, 12 Mar 2018 15:21:48 +0000 (00:21 +0900)]
set SAFETY_ASSURED=1 of db:setup in mastodon:setup (#6758)
Eugen Rochko [Mon, 12 Mar 2018 11:48:49 +0000 (12:48 +0100)]
Bump version to 2.3.1rc2
Akihiko Odaki [Mon, 12 Mar 2018 11:47:51 +0000 (20:47 +0900)]
Insert space before shortcode if necessary (#6751)
Yamagishi Kazutoshi [Mon, 12 Mar 2018 11:47:18 +0000 (20:47 +0900)]
Hide pinned toots on with replies (#6753)
Yuto Tokunaga [Mon, 12 Mar 2018 02:52:05 +0000 (11:52 +0900)]
Avoid using JS to set height in MediaModal (#6750)
avoid using JS to set height of ReactSwipeableViews component
reduce max-height of <img/> to 80% to avoid the screen covered by image
nightpool [Mon, 12 Mar 2018 02:50:40 +0000 (22:50 -0400)]
Fix Procfile on OS X (#6748)