]>
cat aescling's git repositories - mastodon.git/log
Akihiko Odaki [Mon, 17 Jul 2017 09:03:48 +0000 (18:03 +0900)]
Improve a query in WebPushNotificationWorker (#4234)
Akihiko Odaki [Mon, 17 Jul 2017 09:03:42 +0000 (18:03 +0900)]
Use update method to update session in WebPushNotificationWorker (#4235)
Sorin Davidoi [Mon, 17 Jul 2017 08:57:45 +0000 (10:57 +0200)]
fix(emojis): Handle multipoint emojis (e.g. country flags) (#4221)
Eugen Rochko [Mon, 17 Jul 2017 08:57:04 +0000 (10:57 +0200)]
Add missing ActivityPub representations (#4230)
- Follow, undo follow
- Accept follow, reject follow
- Like, undo like
- Block, undo block
- Delete (note)
- Update (actor)
m4sk1n [Mon, 17 Jul 2017 08:24:53 +0000 (10:24 +0200)]
i18n: update (pl) (#4233)
* i18n: update (pl)
* Update pl.yml
Akihiko Odaki [Mon, 17 Jul 2017 08:23:28 +0000 (17:23 +0900)]
Require images in common.js (#4232)
Eugen Rochko [Mon, 17 Jul 2017 00:37:27 +0000 (02:37 +0200)]
Add public key declaration to actors (#4215)
Eugen Rochko [Sun, 16 Jul 2017 21:48:35 +0000 (23:48 +0200)]
Add SMTP_TLS variable for configuring TLS when server uses non-standard port (#4227)
unarist [Sun, 16 Jul 2017 18:01:21 +0000 (03:01 +0900)]
Check table existence on prepare_for_foreign_keys (#4225)
* Check table existence on prepare_for_foreign_keys
* Remove trailing whitespace
unarist [Sun, 16 Jul 2017 12:02:03 +0000 (21:02 +0900)]
Don't mention default post privacy on hints for locked accounts (#4222)
"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.
Lynx Kotoura [Sun, 16 Jul 2017 09:52:11 +0000 (18:52 +0900)]
Fix style settings for images in media modal (#4220)
* Shrink too wide single image modal
Fix too wide react-swipeable-view-container
Fix
0067f80 shrinking all react-swipeable-view-container
Change to apply max-width of react-swipeable-view-container only under media-modal.
Fix
b30b03b just a typo
* Centering contents in image-loader
Centering small img, canvas, and video in image-loader.
Eugen Rochko [Sun, 16 Jul 2017 08:28:55 +0000 (10:28 +0200)]
Minor ActivityPub JSON fixes (#4214)
- Objects must have attributedTo instead of actor
- The current attribute belongs to CollectionPage, not Collection
Yamagishi Kazutoshi [Sun, 16 Jul 2017 02:40:56 +0000 (11:40 +0900)]
Install libidn with Docker (#4219)
unarist [Sat, 15 Jul 2017 15:25:04 +0000 (00:25 +0900)]
Fix column swiping (#4211)
This fixes broken behavior and enable animation only on swiping.
ThibG [Sat, 15 Jul 2017 15:24:35 +0000 (17:24 +0200)]
Optimize uri normalization (#4212)
* Add dependency on idn-ruby to speed up URI normalization
* Use normalized_host instead of normalize.host when applicable
When we are only interested in the normalized host, calling normalized_host
avoids normalizing the other components of the URI as well as creating a
new object
Yamagishi Kazutoshi [Sat, 15 Jul 2017 10:47:43 +0000 (19:47 +0900)]
Move babel-plugin-preval to dependencies (#4209)
Eugen Rochko [Sat, 15 Jul 2017 01:01:39 +0000 (03:01 +0200)]
Improve ActivityPub representations (#3844)
* 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 [Fri, 14 Jul 2017 22:49:34 +0000 (00:49 +0200)]
Fix #3773 - Pin favourites column (#4201)
Eugen Rochko [Fri, 14 Jul 2017 21:01:20 +0000 (23:01 +0200)]
Fix #2672 - Connect signed PuSH subscription requests to instance domain (#4205)
* Fix #2672 - Connect signed PuSH subscription requests to instance domain
Resolves #2739
* Fix return of locate_subscription
* Fix tests
Eugen Rochko [Fri, 14 Jul 2017 20:31:38 +0000 (22:31 +0200)]
Fix subsequent replies to unresolved status not being filtered from home (#4190)
Resolves #4177 - smaller changeset
Sorin Davidoi [Fri, 14 Jul 2017 20:31:25 +0000 (22:31 +0200)]
Small style fixes (#4206)
* fix(components/media_modal): Center horizontally in Firefox
* fix(components/status_list): Do not remove load more button
unarist [Fri, 14 Jul 2017 18:44:53 +0000 (03:44 +0900)]
Fix response of unreblog/unfavourite APIs (#4204)
Both APIs process asynchronously, so reblogged/favourited fields in the response should be set to `false` manually.
Eugen Rochko [Fri, 14 Jul 2017 18:41:49 +0000 (20:41 +0200)]
HTTP signatures (#4146)
* Add Request class with HTTP signature generator
Spec: https://tools.ietf.org/html/draft-cavage-http-signatures-06
* Add HTTP signature verification concern
* Add test for SignatureVerification concern
* Add basic test for Request class
* Make PuSH subscribe/unsubscribe requests use new Request class
Accidentally fix lease_seconds not being set and sent properly, and
change the new minimum subscription duration to 1 day
* Make all PuSH workers use new Request class
* Make Salmon sender use new Request class
* Make FetchLinkService use new Request class
* Make FetchAtomService use the new Request class
* Make Remotable use the new Request class
* Make ResolveRemoteAccountService use the new Request class
* Add more tests
* Allow +-30 seconds window for signed request to remain valid
* Disable time window validation for signed requests, restore 7 days
as PuSH subscription duration (which was previous default due to a bug)
Sorin Davidoi [Fri, 14 Jul 2017 18:30:12 +0000 (20:30 +0200)]
🎄🔨 Force tree shake emojione (#4202)
* chore(yarn): Install babel-plugin-preval as development dependency
* feat(babel): Add preval as a plugin
* feat(emojione_light): Prevaled module what tree-shaked emojione
* refactor(emoji): Use emojione_light
* feat: Preload emojione_picker bundle
* fix(emojione_light): Do not use Object.entries
* fix(emojify): Update tests
* chore(emojione_light): Remove silly ascii art
unarist [Fri, 14 Jul 2017 17:57:49 +0000 (02:57 +0900)]
Follow renaming of microformats2 gem (#4203)
Eugen Rochko [Fri, 14 Jul 2017 17:47:53 +0000 (19:47 +0200)]
Fix #4149, fix #1199 - Store emojis as unicode (#4189)
- Use unicode when selecting emoji through picker
- Convert shortcodes to unicode when storing text input server-side
- Do not convert shortcodes in JS anymore
Eugen Rochko [Fri, 14 Jul 2017 14:41:02 +0000 (16:41 +0200)]
Add option to opt out of search engines on public profile/status pages (#4199)
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)