- Jul 15, 2017
-
-
ThibG authored
* 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 authored
-
Eugen Rochko authored
* 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
-
- Jul 14, 2017
-
-
Eugen Rochko authored
-
Eugen Rochko authored
* Fix #2672 - Connect signed PuSH subscription requests to instance domain Resolves #2739 * Fix return of locate_subscription * Fix tests
-
Eugen Rochko authored
Resolves #4177 - smaller changeset
-
Sorin Davidoi authored
* fix(components/media_modal): Center horizontally in Firefox * fix(components/status_list): Do not remove load more button
-
unarist authored
Both APIs process asynchronously, so reblogged/favourited fields in the response should be set to `false` manually.
-
Eugen Rochko authored
* 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 authored
* 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 authored
-
Eugen Rochko authored
- 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 authored
-
m4sk1n authored
Signed-off-by:
Marcin Mikołajczak <me@m4sk.in>
-
Albert ARIBAUD authored
* 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 authored
* Add Rake task for generate VAPID key * edit config/initializers/vapid.rb
-
Albert ARIBAUD authored
"Silencer" as a verb does not exist in French. A good and valid replacement is "masquer".
-
Yamagishi Kazutoshi authored
-
Yamagishi Kazutoshi authored
-
masarakki authored
-
Eugen Rochko authored
-
- Jul 13, 2017
-
-
unarist authored
-
Sorin Davidoi authored
* 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 authored
-
Sorin Davidoi authored
* 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 authored
-
unarist authored
-
Eugen Rochko authored
* Fix boolean columns sometimes having a null value * Fix wrong value being set instead of null
-
- Jul 12, 2017
-
-
Eugen Rochko authored
-
unarist authored
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 authored
* 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 authored
* i18n: @e19eefe2 (pl) Signed-off-by:
Marcin Mikołajczak <me@m4sk.in> * i18n: @056b5ed7 (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 authored
* Add Japanese translations for #4163 * Add Japanese translations for #4129 * top page -> front page
-
Yamagishi Kazutoshi authored
-
Eugen Rochko authored
-
- Jul 11, 2017
-
-
Eugen Rochko authored
-
Naoki Kosaka authored
-
Eugen Rochko authored
Can be filtered by a specific domain Resolves #2292
-
Eugen Rochko authored
This makes it consistent with /api/v1/accounts/search and previous behaviour has been an oversight.
-