Skip to content
Snippets Groups Projects
  1. Jul 27, 2017
  2. Jul 21, 2017
  3. Jul 19, 2017
  4. Jul 15, 2017
    • Eugen Rochko's avatar
      Improve ActivityPub representations (#3844) · 8c45cd0e
      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
      8c45cd0e
  5. Jul 14, 2017
    • Eugen Rochko's avatar
      HTTP signatures (#4146) · 1618b68b
      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)
      1618b68b
    • Eugen Rochko's avatar
      Fix #4149, fix #1199 - Store emojis as unicode (#4189) · e2685ccc
      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
      e2685ccc
  6. Jul 06, 2017
  7. Jul 04, 2017
    • Gyuhwan Park's avatar
      i18n: Add korean translation (#4064) · 4cddef1c
      Gyuhwan Park authored
      * Added Korean Translation (based on japanese)
      
      * Update korean translation
      
      * Update korean translation: fix syntax error
      
      * Updated korean translation
      
      * Update korean translation
      
      * Update ko.json
      
      Translate non-translated parts
      
      * Update ko.yml
      
      Translated missed parts - and fixed some typos
      
      * Create simple_form.ko.yml
      
      * Updated korean translation
      
      * i18n: fix test fails
      4cddef1c
  8. Jul 03, 2017
  9. Jun 25, 2017
    • Eugen Rochko's avatar
      Add overview of active sessions (#3929) · f7301bd5
      Eugen Rochko authored
      * Add overview of active sessions
      
      * Better display of browser/platform name
      
      * Improve how browser information is stored and displayed for sessions overview
      
      * Fix test
      f7301bd5
  10. Jun 20, 2017
  11. Jun 19, 2017
  12. Jun 10, 2017
    • Eugen Rochko's avatar
      Improve RTL detection (#3682) · 8015fd76
      Eugen Rochko authored
      - Use plaintext
      - Strip out URLs
      - Strip out mentions
      - Strip out hashtags
      - Strip out whitespace from "overall" count
      - Consistent between JS and Ruby
      8015fd76
  13. Jun 08, 2017
  14. Jun 01, 2017
    • Akihiko Odaki (@fn_aki@pawoo.net)'s avatar
      Resolve custom application stylesheet with Webpack (#3373) · e98559c3
      Akihiko Odaki (@fn_aki@pawoo.net) authored
      This implementation is a bit smaller and still has the following benefits:
      
      * No need of app/javascript/packs/custom.js
      For custom stylesheet, it typically has only
      "require('../styles/custom.scss')" and is redundant.
      
      * No need to extract vendor stylesheet to another asset
      Extracting vendor stylesheet could be forgotten by developers who do not
      use custom stylesheet.
      e98559c3
  15. May 27, 2017
    • Eugen Rochko's avatar
      Fix #2922 - Load stylesheet from "custom.css" entrypoint when present (#3332) · 62ca3788
      Eugen Rochko authored
      * Fix #2922 - Load stylesheet from "custom.css" entrypoint when present
      
      This is pretty much the same way it worked as before, albeit with
      having to create app/javascript/packs/custom.js with
      require('../styles/custom.scss') (or whatever you want really), which
      will be a blank slate for you to import whatever you want
      
      * Remove old assets directory
      
      * Extract font-awesome into common.css and always load it
      62ca3788
  16. May 19, 2017
  17. May 17, 2017
  18. May 16, 2017
    • spla's avatar
      Add catalan language (#3084) · a51c8074
      spla authored
      * Add Catalan language
      
      * Add Catalan language
      
      * Update ca.json
      
      * Update ca.json
      
      * Update ca.json
      
      * Update ca.json
      
      * Update ca.json
      
      * Update ca.json
      
      * Update settings_helper.rb
      
      * Update mastodon.js
      
      * Update index.js
      
      * Update application.rb
      
      * Update ca.yml
      
      * removed extra spaces at line 225
      a51c8074
  19. May 15, 2017
  20. May 08, 2017
    • Koala Yeung's avatar
      Add Thai langauge (#2903) · cbd67360
      Koala Yeung authored
      * Updated Thai language
      
      * locale: remove unused translation in Thai
      
      * locale: add Thai to settings menu and application
      
      * locale: fix activerecord.th.yml format
      cbd67360
  21. May 07, 2017
    • Özcan Zafer AYAN's avatar
      Add Turkish yml file (#2878) · 983593dd
      Özcan Zafer AYAN authored
      * Add Turkish yml file
      
      * Add translation files for Turkish
      
      * Deleted click_to_edit key and val
      
      Deleted click_to_edit: Düzenlemek için ilgili ayara tıklayınız line
      983593dd
  22. May 05, 2017
    • Eugen Rochko's avatar
      More robust PuSH subscription refreshes (#2799) · 81584779
      Eugen Rochko authored
      * Fix #2473 - Use sidekiq scheduler to refresh PuSH subscriptions instead of cron
      
      Fix an issue where / in domain would raise exception in TagManager#normalize_domain
      
      PuSH subscriptions refresh done in a round-robin way to avoid hammering a single
      server's hub in sequence. Correct handling of failures/retries through Sidekiq (see
      also #2613). Optimize Account#with_followers scope. Also, since subscriptions
      are now delegated to Sidekiq jobs, an uncaught exception will not stop the entire
      refreshing operation halfway through
      
      Fix #2702 - Correct user agent header on outgoing http requests
      
      * Add test for SubscribeService
      
      * Extract #expiring_accounts into method
      
      * Make mastodon:push:refresh no-op
      
      * Queues are now defined in sidekiq.yml
      
      * Queues are now in sidekiq.yml
      81584779
  23. May 03, 2017
    • Yamagishi Kazutoshi's avatar
      Use URI.join for generate asset URL (#2741) · 2ab7dc9a
      Yamagishi Kazutoshi authored
      * Use URI.join for generate asset URL
      
      * to String
      2ab7dc9a
    • Eugen Rochko's avatar
      Replace sprockets/browserify with Webpack (#2617) · f5bf5ebb
      Eugen Rochko authored
      * Replace browserify with webpack
      
      * Add react-intl-translations-manager
      
      * Do not minify in development, add offline-plugin for ServiceWorker background cache updates
      
      * Adjust tests and dependencies
      
      * Fix production deployments
      
      * Fix tests
      
      * More optimizations
      
      * Improve travis cache for npm stuff
      
      * Re-run travis
      
      * Add back support for custom.scss as before
      
      * Remove offline-plugin and babili
      
      * Fix issue with Immutable.List().unshift(...values) not working as expected
      
      * Make travis load schema instead of running all migrations in sequence
      
      * Fix missing React import in WarningContainer. Optimize rendering performance by using ImmutablePureComponent instead of
      React.PureComponent. ImmutablePureComponent uses Immutable.is() to compare props. Replace dynamic callback bindings in
      <UI />
      
      * Add react definitions to places that use JSX
      
      * Add Procfile.dev for running rails, webpack and streaming API at the same time
      f5bf5ebb
  24. May 02, 2017
    • Ira's avatar
      Add Hebrew interface translation. (#2573) · 438ce580
      Ira authored
      * follow the instructions for registering the language as stated on the Tootsuite's docs.
      
      * Added translation strings from latest master
      
      Adding &rlm; characters to many strings that are misdirected in the interface.
      
      A tiny grammar fix
      
      Updates of Hebrew strings to v1.3.1
      
      Hebrew translation of the mailer templates.
      
      Fix strings and a missing comma.
      
      Just discovered two string keys were updated. this should lay Travis' mind to rest at last.
      
      Remove mentions before counting characters to decide RTL ratio
      
      Fixes for PR #2573
      
      updated strings for latest master
      
      Undo RTL counting, moved out to another branch for future consideration...
      438ce580
  25. Apr 29, 2017
    • yhirano's avatar
      Downgrade rubocop 0.48.1 => 0.46.0 (#2628) · 8325866c
      yhirano authored
      * downgrade rubocop 0.48.1 => 0.46.0
      
      * exclude vendor/**/* from rubocop target files
      
      * add frozen_string_literal comment line
      
      * fix percent literal delimited by ( and )
      
      * fix alignment
      
      * remove comment disabling unknown cop
      8325866c
  26. Apr 27, 2017
  27. Apr 26, 2017
    • Lindsey Bieda's avatar
      Red favicon for dev (#2470) · 25cbb845
      Lindsey Bieda authored
      * Set a dev specific favicon
      
      * Consistent spacing
      
      * Add trailing slash for consistency
      
      * Update to remove interpolation
      25cbb845
  28. Apr 25, 2017
  29. Apr 24, 2017
  30. Apr 23, 2017
    • Matt Jankowski's avatar
      Ensure i18n matches options (#2358) · 55e1e12b
      Matt Jankowski authored
      * Add failing spec showing that human_locales does not match what i18n knows about
      
      * Add missing `ar` key for arabic to human locales
      
      * Remove duplicate `id` key from available locales
      
      * Sort keys in human locales list
      
      * Add spec for human_locale helper
      55e1e12b
    • Joël Quenneville's avatar
      Test embedded_view related code in a helper (#2282) · 1cf9e14a
      Joël Quenneville authored
      The two methods `StreamEntriesHelper#stream_link_target` and
      `StreamEntriesHelper#acct` are based on checking whether we are running
      in an embedded view.
      
      This adds some test helper code to make the testing easier. We extracted
      some "magic strings" to constants to lower the coupling in the specs.
      1cf9e14a
    • Joël Quenneville's avatar
      Add test coverage to CSS class generation (#2285) · 0c2fe22b
      Joël Quenneville authored
      The code that generates CSS is based on a lot of boolean conditions.
      The possible combinations of these grows exponentially as we add more
      conditions.
      
      Since most of the code is conditional on a single boolean, we tested the
      following:
      
      1. All `false`
      2. All `true`
      3. Each individual flag set to `true`
      
      The methods tested are:
      
      * `StreamEntriesHelper#style_classes`
      * `StreamEntriesHelper#microformats_classes`
      * `StreamEntriesHelper#microformats_h_class`
      0c2fe22b
Loading