]> cat aescling's git repositories - mastodon.git/log
mastodon.git
8 years agoUpdate README header with logo
Eugen Rochko [Sun, 23 Jul 2017 00:46:10 +0000 (02:46 +0200)]
Update README header with logo

8 years agoNew logo (#4306)
Eugen Rochko [Sun, 23 Jul 2017 00:40:39 +0000 (02:40 +0200)]
New logo (#4306)

* Add new logo

* Remove unused images

8 years agoAdd rake task mastodon:feeds:build to regenerate all active users' feeds (#4303)
Eugen Rochko [Sat, 22 Jul 2017 23:15:04 +0000 (01:15 +0200)]
Add rake task mastodon:feeds:build to regenerate all active users' feeds (#4303)

8 years agoRun yarn run manage:translations and i18n-tasks normalize (#4302)
Eugen Rochko [Sat, 22 Jul 2017 23:14:57 +0000 (01:14 +0200)]
Run yarn run manage:translations and i18n-tasks normalize (#4302)

8 years agoChanged landing page cloud animation to be more relaxed and smoother (#4304)
Ondřej Hruška [Sat, 22 Jul 2017 20:27:06 +0000 (22:27 +0200)]
Changed landing page cloud animation to be more relaxed and smoother (#4304)

8 years agoUpdate French locales (settings, ToS, & co) (#4261)
Damien Erambert [Sat, 22 Jul 2017 18:28:40 +0000 (11:28 -0700)]
Update French locales (settings, ToS, & co) (#4261)

* add fr-FR locales to the landing page

* moar french locales

* terms of service/privacy policy

* remove un-used locales in the client (yarn manage:translations)

* update french locales in the client

* remove duplicate locales in fr.yml

* fix typos per PR comments in fr.yml

* put back default messages

* translate untranslated keys on the client

* add "push" after notifications

* correctly ident ToS in fr.yml

8 years agoTurn clouds on landing page into SVGs, use SCSS variables to color them (#4299)
Eugen Rochko [Sat, 22 Jul 2017 14:36:54 +0000 (16:36 +0200)]
Turn clouds on landing page into SVGs, use SCSS variables to color them (#4299)

8 years agoFix #4172 - Mutes now block notifications (#4300)
Eugen Rochko [Sat, 22 Jul 2017 14:36:36 +0000 (16:36 +0200)]
Fix #4172 - Mutes now block notifications (#4300)

8 years agoMise à jour de la traduction de la page d’accueil (#4294)
Sylvhem [Sat, 22 Jul 2017 12:11:46 +0000 (14:11 +0200)]
Mise à jour de la traduction de la page d’accueil (#4294)

* Mise à jour de la traduction de la page d’accueil

Met à jour les traductions et ajoute les chaînes manquantes suite à la refonte de la page d’accueil.

Update translations and add the strings introduced by the landing page's redesign.

* Correction d’erreurs

Corrige l’indentation de certaines clefs et supprime admin.settings.setting qui n’existe plus dans le projet original.

Fix some indentations and delete admin.settings.setting, which have been removed upstream.

8 years agoFix sessions being replaced needlessly (#4292)
Eugen Rochko [Fri, 21 Jul 2017 23:09:10 +0000 (01:09 +0200)]
Fix sessions being replaced needlessly (#4292)

8 years agofeat(compose): Change media query for compact mode to max-height: 400px (#4291)
Sorin Davidoi [Fri, 21 Jul 2017 12:22:29 +0000 (14:22 +0200)]
feat(compose): Change media query for compact mode to max-height: 400px (#4291)

8 years agoRun `bundle` (regression from #4284) (#4290)
Yamagishi Kazutoshi [Fri, 21 Jul 2017 12:22:05 +0000 (21:22 +0900)]
Run `bundle` (regression from #4284) (#4290)

8 years agoUpdate Goldfinger gem to 2.0 (#4286)
Eugen Rochko [Fri, 21 Jul 2017 11:40:48 +0000 (13:40 +0200)]
Update Goldfinger gem to 2.0 (#4286)

- No masking of HTTP::Error and OpenSSL::SSL::SSLError
- No longer accepts non-HTTPS WebFinger endpoints

8 years agoDynamicaly change avatar and header bg from account setting (#4289)
Yamagishi Kazutoshi [Fri, 21 Jul 2017 10:47:16 +0000 (19:47 +0900)]
Dynamicaly change avatar and header bg from account setting (#4289)

8 years agoFix intermittent test failures due to accidentally reused class instance between...
Eugen Rochko [Fri, 21 Jul 2017 10:45:13 +0000 (12:45 +0200)]
Fix intermittent test failures due to accidentally reused class instance between threads (#4287)

8 years agoFix #3220 - Show avatar/header on edit profile page (#4288)
Eugen Rochko [Fri, 21 Jul 2017 03:28:51 +0000 (05:28 +0200)]
Fix #3220 - Show avatar/header on edit profile page (#4288)

8 years agoUse the same emoji data on the frontend and backend (#4284)
Eugen Rochko [Fri, 21 Jul 2017 02:27:40 +0000 (04:27 +0200)]
Use the same emoji data on the frontend and backend (#4284)

* Use the same emoji data on the frontend and backend

* Move emoji.json to repository, add tests

This way you don't need to install node dependencies if you only
want to run Ruby code

8 years agofeat(compose): More space on mobile devices (#4282)
Sorin Davidoi [Thu, 20 Jul 2017 23:38:24 +0000 (01:38 +0200)]
feat(compose): More space on mobile devices (#4282)

* feat(compose): More space on mobile devices

* feat(compose): Hide navigation when typing on mobile devices

* fix(compose): Make animation faster

* fix(navigation_bar): Remove hardcoded title

* fix(compose): Prevent accidental bluring

* fix(compose): Increase max-height to 600px

8 years agoAdd button to re-subscribe to all accounts from a domain (#4285)
Eugen Rochko [Thu, 20 Jul 2017 21:07:13 +0000 (23:07 +0200)]
Add button to re-subscribe to all accounts from a domain (#4285)

8 years agoFix webfinger retries (#4275)
Eugen Rochko [Wed, 19 Jul 2017 23:59:07 +0000 (01:59 +0200)]
Fix webfinger retries (#4275)

* Do not raise unretryable exceptions in ResolveRemoteAccountService

* Removed fatal exceptions from ResolveRemoteAccountService

Exceptions that cannot be retried should not be raised. New exception
class for those that can be retried (Mastodon::UnexpectedResponseError)

8 years agofeat(css): Remove border radius from WebKit's scrollbars (#4278)
Sorin Davidoi [Wed, 19 Jul 2017 22:20:54 +0000 (00:20 +0200)]
feat(css): Remove border radius from WebKit's scrollbars (#4278)

8 years agofix(status_list): Update scroll position after toots are appended (#4277)
Sorin Davidoi [Wed, 19 Jul 2017 20:38:26 +0000 (22:38 +0200)]
fix(status_list): Update scroll position after toots are appended (#4277)

8 years agofix(push_subscription): Guard against malformed favourite notification (#4271)
Sorin Davidoi [Wed, 19 Jul 2017 20:37:52 +0000 (22:37 +0200)]
fix(push_subscription): Guard against malformed favourite notification (#4271)

8 years agoUpdate scroll top state on column mounting (#4276)
unarist [Wed, 19 Jul 2017 18:26:51 +0000 (03:26 +0900)]
Update scroll top state on column mounting (#4276)

8 years agofix: Handle errors without response (#4274)
Sorin Davidoi [Wed, 19 Jul 2017 17:38:50 +0000 (19:38 +0200)]
fix: Handle errors without response (#4274)

8 years agoAdd ActivityPub attributes to accounts (#4273)
Eugen Rochko [Wed, 19 Jul 2017 15:06:46 +0000 (17:06 +0200)]
Add ActivityPub attributes to accounts (#4273)

8 years agoFix logging in ProcessFeedService (#4270)
Akihiko Odaki [Wed, 19 Jul 2017 14:02:03 +0000 (23:02 +0900)]
Fix logging in ProcessFeedService (#4270)

8 years agoRefactor ResolveRemoteAccountService (#4258)
Eugen Rochko [Wed, 19 Jul 2017 12:44:04 +0000 (14:44 +0200)]
Refactor ResolveRemoteAccountService (#4258)

* Refactor ResolveRemoteAccountService

* Remove trailing whitespace

* Use redis locks around critical ResolveRemoteAccountService code

* Add test for race condition of lock

8 years agoFix a typo in public.js (double semicolons) (#4269)
Cygnan [Wed, 19 Jul 2017 11:35:22 +0000 (20:35 +0900)]
Fix a typo in public.js (double semicolons) (#4269)

Signed-off-by: Cygnan <mail@cygnan.com>
8 years agoi18n: Update Polish translation (#4268)
m4sk1n [Wed, 19 Jul 2017 10:25:06 +0000 (12:25 +0200)]
i18n: Update Polish translation (#4268)

8 years agoFix deprecation warning for non-pipeline assets (#4267)
Eugen Rochko [Wed, 19 Jul 2017 10:00:05 +0000 (12:00 +0200)]
Fix deprecation warning for non-pipeline assets (#4267)

8 years agoi18n: @716f4cb (pl) (#4266)
m4sk1n [Wed, 19 Jul 2017 08:49:36 +0000 (10:49 +0200)]
i18n: @716f4cb (pl) (#4266)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agofix missing closing <p> tag in ToS in en.yml (#4262)
Damien Erambert [Wed, 19 Jul 2017 07:43:46 +0000 (00:43 -0700)]
fix missing closing <p> tag in ToS in en.yml (#4262)

8 years agoFix missing closing <p> tag in ToS in .yml files (#4264)
m4sk1n [Wed, 19 Jul 2017 07:43:10 +0000 (09:43 +0200)]
Fix missing closing <p> tag in ToS in .yml files (#4264)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoAdd feature to revoke sessions (#4259)
Yamagishi Kazutoshi [Wed, 19 Jul 2017 02:59:04 +0000 (11:59 +0900)]
Add feature to revoke sessions (#4259)

8 years agoCorrect OStatus inflection (Ostatus -> OStatus) (#4255)
Eugen Rochko [Tue, 18 Jul 2017 23:37:26 +0000 (01:37 +0200)]
Correct OStatus inflection (Ostatus -> OStatus) (#4255)

8 years agofeat(emoji): Add back title attribute (#4253)
Sorin Davidoi [Tue, 18 Jul 2017 20:49:24 +0000 (22:49 +0200)]
feat(emoji): Add back title attribute (#4253)

8 years agoUpdate Japanese translation (chase #4249) (#4251)
lindwurm [Tue, 18 Jul 2017 18:03:18 +0000 (03:03 +0900)]
Update Japanese translation (chase #4249) (#4251)

Signed-off-by: lindwurm <lindwurm.q@gmail.com>
8 years agoi18n: Update Polish translation (#4252)
m4sk1n [Tue, 18 Jul 2017 18:03:06 +0000 (20:03 +0200)]
i18n: Update Polish translation (#4252)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoAdd Japanese translation for #4246 (#4249)
lindwurm [Tue, 18 Jul 2017 16:43:19 +0000 (01:43 +0900)]
Add Japanese translation for #4246 (#4249)

Signed-off-by: lindwurm <lindwurm.q@gmail.com>
8 years agoUpdate Japanese translations for new landing page (#4159)
lindwurm [Tue, 18 Jul 2017 16:42:59 +0000 (01:42 +0900)]
Update Japanese translations for new landing page (#4159)

Signed-off-by: lindwurm <lindwurm.q@gmail.com>
8 years agoFix broken CSS reload due to webpack upgrade (#4250)
Ondřej Hruška [Tue, 18 Jul 2017 16:42:45 +0000 (18:42 +0200)]
Fix broken CSS reload due to webpack upgrade (#4250)

8 years agoAdd Japanese translation for #4199 (#4247)
unarist [Tue, 18 Jul 2017 15:23:35 +0000 (00:23 +0900)]
Add Japanese translation for #4199 (#4247)

8 years agoAdd unfollow modal (optional) (#4246)
Yamagishi Kazutoshi [Tue, 18 Jul 2017 15:14:43 +0000 (00:14 +0900)]
Add unfollow modal (optional) (#4246)

* Add unfollow modal

* unfollowing someone

* remove unnecessary prop

8 years agoIntroduce Ostatus name space (#4164)
Akihiko Odaki [Tue, 18 Jul 2017 14:39:47 +0000 (23:39 +0900)]
Introduce Ostatus name space (#4164)

* Wrap methods of ProcessFeedService::ProcessEntry in classes

This is a change same with 425acecfdb15093a265b191120fb2d4e4c4135c4, except
that it has the following changes:

* Revert irrelevant change in find_or_create_conversation
* Fix error handling for RemoteActivity

* Introduce Ostatus name space

8 years agoImprove admin page (#4121)
abcang [Tue, 18 Jul 2017 14:38:22 +0000 (23:38 +0900)]
Improve admin page (#4121)

* Improve admin page

* Fix test

* Add spec

* Improve select style

8 years agofix(push-subscriptions): Refactor how Sidekiq jobs are handled (#4226)
Sorin Davidoi [Tue, 18 Jul 2017 14:25:40 +0000 (16:25 +0200)]
fix(push-subscriptions): Refactor how Sidekiq jobs are handled (#4226)

8 years agoFixed issue that the NSFW image is not hidden on detail page (#4244)
abcang [Tue, 18 Jul 2017 13:24:57 +0000 (22:24 +0900)]
Fixed issue that the NSFW image is not hidden on detail page (#4244)

8 years agoAdd empty alt attribute to img elements in landing page (#4243)
Yamagishi Kazutoshi [Tue, 18 Jul 2017 13:22:09 +0000 (22:22 +0900)]
Add empty alt attribute to img elements in landing page (#4243)

8 years agoDownload npm and yarn from Alpine packages repository (#4242)
Yamagishi Kazutoshi [Tue, 18 Jul 2017 13:21:30 +0000 (22:21 +0900)]
Download npm and yarn from Alpine packages repository (#4242)

8 years agoExclude self toots from regular expression filter (#4245)
Yamagishi Kazutoshi [Tue, 18 Jul 2017 13:20:38 +0000 (22:20 +0900)]
Exclude self toots from regular expression filter (#4245)

* Exclude self toots from regular expression filter

* refactor

8 years agoMove icu-dev to build-dependencies (#4240)
Yamagishi Kazutoshi [Tue, 18 Jul 2017 13:19:49 +0000 (22:19 +0900)]
Move icu-dev to build-dependencies (#4240)

8 years agoInstall libidn11-dev in Vagrant (#4238)
Yamagishi Kazutoshi [Mon, 17 Jul 2017 22:31:43 +0000 (07:31 +0900)]
Install libidn11-dev in Vagrant (#4238)

8 years agofeat(push-notifications): Open link in current tab if possible (#4228)
Sorin Davidoi [Mon, 17 Jul 2017 22:19:17 +0000 (00:19 +0200)]
feat(push-notifications): Open link in current tab if possible (#4228)

* fix(push-notification): Open link in current tab if possible

* feat(sw): Skip waiting and claim clients

8 years agoRequire any modules after loading polyfill in entry points (#4231)
Akihiko Odaki [Mon, 17 Jul 2017 22:19:02 +0000 (07:19 +0900)]
Require any modules after loading polyfill in entry points (#4231)

app/javascript/mastodon/main.js delayed the execution of modules,
but other entry points didn't. That leads to failure in executing
modules, which requires those polyfills.

Strictly enforce the rule to require any modules after loading
polyfill in entry points.

8 years agoQuit overwriting style of extended-video-player (#4237)
Lynx Kotoura [Mon, 17 Jul 2017 17:05:29 +0000 (02:05 +0900)]
Quit overwriting style of extended-video-player (#4237)

Though size of extended-video-player is already fixed to 80vw*80vh in components.scss, player size was also set to original video size in extended_video_player.js. Video size is fixed to 80vw*80vh, so video player's size must also be fixed to 80vw*80vh.

8 years agoImprove a query in WebPushNotificationWorker (#4234)
Akihiko Odaki [Mon, 17 Jul 2017 09:03:48 +0000 (18:03 +0900)]
Improve a query in WebPushNotificationWorker (#4234)

8 years agoUse update method to update session in WebPushNotificationWorker (#4235)
Akihiko Odaki [Mon, 17 Jul 2017 09:03:42 +0000 (18:03 +0900)]
Use update method to update session in WebPushNotificationWorker (#4235)

8 years agofix(emojis): Handle multipoint emojis (e.g. country flags) (#4221)
Sorin Davidoi [Mon, 17 Jul 2017 08:57:45 +0000 (10:57 +0200)]
fix(emojis): Handle multipoint emojis (e.g. country flags) (#4221)

8 years agoAdd missing ActivityPub representations (#4230)
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)

8 years agoi18n: update (pl) (#4233)
m4sk1n [Mon, 17 Jul 2017 08:24:53 +0000 (10:24 +0200)]
i18n: update (pl) (#4233)

* i18n: update (pl)

* Update pl.yml

8 years agoRequire images in common.js (#4232)
Akihiko Odaki [Mon, 17 Jul 2017 08:23:28 +0000 (17:23 +0900)]
Require images in common.js (#4232)

8 years agoAdd public key declaration to actors (#4215)
Eugen Rochko [Mon, 17 Jul 2017 00:37:27 +0000 (02:37 +0200)]
Add public key declaration to actors (#4215)

8 years agoAdd SMTP_TLS variable for configuring TLS when server uses non-standard port (#4227)
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)

8 years agoCheck table existence on prepare_for_foreign_keys (#4225)
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

8 years agoDon't mention default post privacy on hints for locked accounts (#4222)
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.

8 years agoFix style settings for images in media modal (#4220)
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.

8 years agoMinor ActivityPub JSON fixes (#4214)
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

8 years agoInstall libidn with Docker (#4219)
Yamagishi Kazutoshi [Sun, 16 Jul 2017 02:40:56 +0000 (11:40 +0900)]
Install libidn with Docker (#4219)

8 years agoFix column swiping (#4211)
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.

8 years agoOptimize uri normalization (#4212)
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

8 years agoMove babel-plugin-preval to dependencies (#4209)
Yamagishi Kazutoshi [Sat, 15 Jul 2017 10:47:43 +0000 (19:47 +0900)]
Move babel-plugin-preval to dependencies (#4209)

8 years agoImprove ActivityPub representations (#3844)
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

8 years agoFix #3773 - Pin favourites column (#4201)
Eugen Rochko [Fri, 14 Jul 2017 22:49:34 +0000 (00:49 +0200)]
Fix #3773 - Pin favourites column (#4201)

8 years agoFix #2672 - Connect signed PuSH subscription requests to instance domain (#4205)
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

8 years agoFix subsequent replies to unresolved status not being filtered from home (#4190)
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

8 years agoSmall style fixes (#4206)
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

8 years agoFix response of unreblog/unfavourite APIs (#4204)
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.

8 years agoHTTP signatures (#4146)
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)

8 years ago🎄🔨 Force tree shake emojione (#4202)
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

8 years agoFollow renaming of microformats2 gem (#4203)
unarist [Fri, 14 Jul 2017 17:57:49 +0000 (02:57 +0900)]
Follow renaming of microformats2 gem (#4203)

8 years agoFix #4149, fix #1199 - Store emojis as unicode (#4189)
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

8 years agoAdd option to opt out of search engines on public profile/status pages (#4199)
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)

8 years agoi18n: fediwers › fediwersum (pl) (#4198)
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>
8 years agofr: replace "silencer" with "masquer" throughout (#4197)
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"

8 years agoAdd Rake task for generate VAPID key (#4195)
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

8 years agofr.json: replace "silencer" with "masquer" (#4196)
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".

8 years agoDo not load unnecessary script files (#4193)
Yamagishi Kazutoshi [Fri, 14 Jul 2017 09:08:56 +0000 (18:08 +0900)]
Do not load unnecessary script files (#4193)

8 years agoAdd Japanese translations for #3243 (#4192)
Yamagishi Kazutoshi [Fri, 14 Jul 2017 09:03:01 +0000 (18:03 +0900)]
Add Japanese translations for #3243 (#4192)

8 years agoadd validation to tag name (#4194)
masarakki [Fri, 14 Jul 2017 09:02:49 +0000 (18:02 +0900)]
add validation to tag name (#4194)

8 years agoFix #3904 - Adjustable time period for mastodon:media:remove_remote via NUM_DAYS...
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)

8 years agoAdd object-fit polyfill for Edge (#4182)
unarist [Thu, 13 Jul 2017 23:59:34 +0000 (08:59 +0900)]
Add object-fit polyfill for Edge (#4182)

8 years agoImprove swiping (#4188)
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

8 years agofix(components/media_modal): Style issues (#4187)
Sorin Davidoi [Thu, 13 Jul 2017 20:18:18 +0000 (22:18 +0200)]
fix(components/media_modal): Style issues (#4187)

8 years agoWeb Push Notifications (#3243)
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

8 years agoMake tag search case insensitive again (#4184)
unarist [Thu, 13 Jul 2017 17:31:33 +0000 (02:31 +0900)]
Make tag search case insensitive again (#4184)

8 years agoAdd background color for spoiler input, like toot textarea (#4181)
unarist [Thu, 13 Jul 2017 12:49:57 +0000 (21:49 +0900)]
Add background color for spoiler input, like toot textarea (#4181)

8 years agoFix boolean columns sometimes having a null value (#4162)
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

8 years agoFix #1010 - When spoiler text is set, enforce sensitivity too (#4176)
Eugen Rochko [Wed, 12 Jul 2017 23:47:23 +0000 (01:47 +0200)]
Fix #1010 - When spoiler text is set, enforce sensitivity too (#4176)

8 years agoRerender modal on property changes (#4175)
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.