1. 02 Jul, 2018 2 commits
  2. 13 Jun, 2018 1 commit
  3. 10 Jun, 2018 1 commit
  4. 08 Apr, 2018 1 commit
  5. 09 Oct, 2017 1 commit
  6. 25 Sep, 2017 1 commit
  7. 27 Jul, 2017 1 commit
  8. 13 Jul, 2017 1 commit
    • Sorin Davidoi's avatar
      Web Push Notifications (#3243) · 0c7c188c
      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
      0c7c188c
  9. 18 Jun, 2017 1 commit
  10. 02 Jun, 2017 1 commit
  11. 21 May, 2017 1 commit
  12. 12 May, 2017 1 commit
  13. 06 May, 2017 1 commit
    • Koala Yeung's avatar
      Streamline javascript translation by improving translationRunner (#2808) · cf0b7532
      Koala Yeung authored
      * package.json: Add "build:*" targets
      
      * Improve react-intl-translations-manager workflow.
        * Added "build:production" to build production bundle.
        * Added "build:development" to build development bundle.
      
      * Fix json translation files
      
      * Run `yarn manage:translations` to fix translation files.
      * Fix `pl.json` for syntax error.
      
      * translationRunner: auto detect existing languages
      
      * Auto detect existing rfc5646 language tag in *.json filenames
        in `app/javascript/mastodon/locale` folder. No need to manually
        define every new language in the languages array here.
      
      * translationRunner: add more functionality
      
      * Allow script user to specify language code to check.
      * Added available language check.
      * Added --force flag to force creation of unexists language.
      * Added --help flag and help messages.
      
      * gitignore: ignore npm-debug.log
      
      * Fix webpack error if NODE_ENV is not defined
      
      Default to use 'development' in config/webpack/configuration.js
      cf0b7532
  14. 05 May, 2017 1 commit
  15. 03 May, 2017 1 commit
    • 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
  16. 17 Apr, 2017 1 commit
  17. 15 Apr, 2017 1 commit
    • Zac Anger's avatar
      Add eslint-plugin-jsx-a11y (#1651) · f4045ba3
      Zac Anger authored
      * Add eslint-plugin-jsx-a11y.
      
      * Fix npm script.
      
      * Adjust npm scripts so test also runs lint.
      
      * Fix existing lint errors.
      
      * Don't break on a11y issues.
      
      * Add role and tabIndex.
      
      * Add vim and Mac files to .gitignore and .dockerignore.
      
      * Handle htmlFor (partially), a that's actually a button.
      
      * Fix missing tabIndex.
      
      * Add cursor:pointer to load-more
      
      * Revert change to load_more.
      
      * Fixes based on review.
      
      * Update yarn.lock.
      
      * Don't try to install fsevents on Linux (hides warning noise).
      f4045ba3
  18. 13 Apr, 2017 1 commit
  19. 12 Apr, 2017 1 commit
  20. 30 Jan, 2017 1 commit
  21. 07 Jan, 2017 1 commit
  22. 24 Nov, 2016 1 commit
    • Alyssa Ross's avatar
      Add .env.test · 75d09033
      Alyssa Ross authored
      It took me ages to get Mastodon set up with the tests passing because
      the environment variables I needed to define weren't documented and I
      had to work them out one at a time.
      
      This change adds a .env.test file, and makes it so it isn't ignored by
      git. I think it makes sense for the .env.test file to be in git, since
      there's nothing secret in it, but other approaches would be to have a
      .env.test.sample (like the corresponding one for production), or to set
      these values in a test helper, or to adapt the tests to work with
      environments other than this one. I'd be happy to make these changes if
      that would be preferred.
      
      Being able to get set up and run the tests is a pretty important part of
      being able to contribute to Mastodon (or your test coverage with
      suffer!), so having some sort of solution like this one is vital.
      75d09033
  23. 14 Oct, 2016 1 commit
  24. 24 Aug, 2016 1 commit
  25. 14 Mar, 2016 2 commits
  26. 27 Feb, 2016 1 commit
  27. 24 Feb, 2016 1 commit
  28. 20 Feb, 2016 1 commit