Skip to content
Extraits de code Groupes Projets
  1. nov. 27, 2017
    • Eugen Rochko's avatar
      Add consumable invites (#5814) · 740f8a95
      Eugen Rochko a rédigé
      * Add consumable invites
      
      * Add UI for generating invite codes
      
      * Add tests
      
      * Display max uses and expiration in invites table, delete invite
      
      * Remove unused column and redundant validator
      
      - Default follows not used, probably bad idea
      - InviteCodeValidator is redundant because RegistrationsController
        checks invite code validity
      
      * Add admin setting to disable invites
      
      * Add admin UI for invites, configurable role for invite creation
      
      - Admin UI that lists everyone's invites, always available
      - Admin setting min_invite_role to control who can invite people
      - Non-admin invite UI only visible if users are allowed to
      
      * Do not remove invites from database, expire them instantly
      Non vérifiée
      740f8a95
  2. nov. 17, 2017
    • Eugen Rochko's avatar
      Lists (#5703) · 24cafd73
      Eugen Rochko a rédigé
      * Add structure for lists
      
      * Add list timeline streaming API
      
      * Add list APIs, bind list-account relation to follow relation
      
      * Add API for adding/removing accounts from lists
      
      * Add pagination to lists API
      
      * Add pagination to list accounts API
      
      * Adjust scopes for new APIs
      
      - Creating and modifying lists merely requires "write" scope
      - Fetching information about lists merely requires "read" scope
      
      * Add test for wrong user context on list timeline
      
      * Clean up tests
      Non vérifiée
      24cafd73
  3. nov. 15, 2017
  4. nov. 12, 2017
  5. nov. 11, 2017
  6. nov. 07, 2017
  7. oct. 16, 2017
    • Nolan Lawson's avatar
      Add option to reduce motion (#5393) · fa0be3f8
      Nolan Lawson a rédigé
      * Add option to reduce motion
      
      * Use HOC to wrap all Motion calls
      
      * fix case-sensitive issue
      
      * Avoid updating too frequently
      
      * Get rid of unnecessary change to _simple_status.html.haml
      fa0be3f8
  8. sept. 19, 2017
    • Andrew's avatar
      Add support for multiple themes (#4959) · 0401a245
      Andrew a rédigé
      * Add support for selecting a theme
      
      * Fix codeclimate issues
      
      * Look up site default style if current user is not available due to e.g. not being logged in
      
      * Remove outdated comment in common.js
      
      * Address requested changes in themes PR
      
      * Fix codeclimate issues
      
      * Explicitly check current_account in application controller and only check theme availability if non-nil
      
      * codeclimate
      
      * explicit precedence with &&
      
      * Fix code style in application_controller according to @nightpool's suggestion, use default style in embedded.html.haml
      
      * codeclimate: indentation + return
      0401a245
  9. août 30, 2017
  10. août 22, 2017
    • Colin Mitchell's avatar
      Application prefs section (#2758) · 871c0d25
      Colin Mitchell a rédigé
      * Add code for creating/managing apps to settings section
      
      * Add specs for app changes
      
      * Fix controller spec
      
      * Fix view file I pasted over by mistake
      
      * Add locale strings. Add 'my apps' to nav
      
      * Add Client ID/Secret to App page. Add some visual separation
      
      * Fix rubocop warnings
      
      * Fix embarrassing typo
      
      I lost an `end` statement while fixing a merge conflict.
      
      * Add code for creating/managing apps to settings section
      
      - Add specs for app changes
      - Add locale strings. Add 'my apps' to nav
      - Add Client ID/Secret to App page. Add some visual separation
      - Fix some bugs/warnings
      
      * Update to match code standards
      
      * Trigger notification
      
      * Add warning about not sharing API secrets
      
      * Tweak spec a bit
      
      * Cleanup fixture creation by using let!
      
      * Remove unused key
      
      * Add foreign key for application<->user
      871c0d25
  11. juil. 22, 2017
  12. juil. 18, 2017
  13. juil. 14, 2017
  14. juil. 13, 2017
    • Sorin Davidoi's avatar
      Web Push Notifications (#3243) · 0c7c188c
      Sorin Davidoi a rédigé
      * 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
    • Eugen Rochko's avatar
      Fix boolean columns sometimes having a null value (#4162) · 880a5eb2
      Eugen Rochko a rédigé
      * Fix boolean columns sometimes having a null value
      
      * Fix wrong value being set instead of null
      880a5eb2
  15. juil. 10, 2017
  16. juil. 06, 2017
    • Damien Erambert's avatar
      Add a setting allowing the use of system's default font in Web UI (#4033) · 18d3fa95
      Damien Erambert a rédigé
      * add a system_font_ui setting on the server
      
      * Plug the system_font_ui on the front-end
      
      * add EN/FR locales for the new setting
      
      * put Roboto after all other fonts
      
      * remove trailing whitespace so CodeClimate is happy
      
      * fix user_spec.rb
      
      * correctly write user_spect this time
      
      * slightly better way of adding the classes
      
      * add comments to the system-font stack for clarification
      
      * use .system-font for the class instead
      
      * don't use multiple lines for comments
      
      * remove trailing whitespace
      
      * use the classnames module for consistency
      
      * use `mastodon-font-sans-serif` instead of Roboto directly
      18d3fa95
  17. juin 25, 2017
    • Eugen Rochko's avatar
      Add overview of active sessions (#3929) · f7301bd5
      Eugen Rochko a rédigé
      * 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
  18. juin 23, 2017
    • Sorin Davidoi's avatar
      Revocable sessions (#3616) · 2211e8d1
      Sorin Davidoi a rédigé
      * feat: Revocable sessions
      
      * fix: Tests using sign_in
      
      * feat: Configuration entry for the maximum number of session activations
      2211e8d1
  19. juin 09, 2017
  20. juin 08, 2017
  21. juin 01, 2017
    • Matt Jankowski's avatar
      Update Rails to version 5.1.1 (#3121) · 2212dc4a
      Matt Jankowski a rédigé
      * Update rails to version 5.1.1
      
      * Run `rails app:update`
      
      * Remove the override of polymorphic activity relationship
      
      * Silence warning about otp_secret attribute being unknown to rails
      
      * We will only introduce form_with where we want to use remote data
      2212dc4a
  22. mai 30, 2017
  23. mai 29, 2017
  24. mai 22, 2017
  25. mai 20, 2017
  26. mai 19, 2017
  27. mai 16, 2017
  28. mai 08, 2017
  29. mai 02, 2017
    • Kaylee's avatar
      Add option to disable two factor auth in admin accounts panel. (#2584) · 7880671f
      Kaylee a rédigé
      * Add option to disable two factor auth in admin accounts panel.
      Closes #2578
      
      * Add @mjankowski's suggestions.
      * Moves destroy actions behind User#disable_two_factor!
      * Adds spec coverage for Admin:TwoFactorAuthenticationsController and User#disable_two_factor!
      7880671f
    • yhirano's avatar
      annotate models (#2697) · 298796cc
      yhirano a rédigé
      * add annotate to Gemfile
      
      * rails g annotate:install
      
      * configure annotate_models
      
      * add schema info to models
      
      * fix rubocop to add frozen_string_literal
      298796cc
  30. avr. 23, 2017
    • Ash Furrow's avatar
      Admin UI for confirming users (#2245) · 723f25a9
      Ash Furrow a rédigé
      * Shows confirmed status in list.
      
      * Adds ability to confirm users in admin UI.
      
      * Added new english translations.
      
      * Addresses feedback from #2245.
      
      * More feedback.
      723f25a9
  31. avr. 17, 2017
    • Matt Jankowski's avatar
      Remove unused methods (#1730) · 16d50f60
      Matt Jankowski a rédigé
      * Remove unused method #set_counters_maps from api controller
      
      * Remove unused method #set_account_counters_maps from api controller
      
      * Remove unused method Account#followers_domains
      
      * Remove unused User.prolific scope
      
      * Add mastodon:users:admins task to list all admin emails
      
      * Use interpolated query style in Account.triadic_closures
      
      * Coverage for Account.triadic_closures
      16d50f60
    • alpaca-tc's avatar
      Required foreign keys (#2003) · 630de52f
      alpaca-tc a rédigé
      * Add `required: true` option to foreign column
      
      * Fixes NoMethodError
      
      ```
      > Favourite.new.valid?
      NoMethodError: undefined method `reblog?' for nil:NilClass
      ```
      630de52f
    • Patrick Figel's avatar
      Add gif auto-play/pause preference · ffb99325
      Patrick Figel a rédigé
      This introduces a new per-user preference called
      "Auto-play animated GIFs", which is enabled by default. When a
      user disables this setting, gifs in toots become click-to-play.
      
      Previews of animated gifs were changed to display the video play
      button so that users can distinguish them from regular images.
      
      This setting also affects account avatars in the detailed account
      view, which was changed to use the same hover-to-play mechanism
      that is used for animated avatars in timelines.
      
      Fixes #1652
      ffb99325
  32. avr. 15, 2017
    • Patrick Figel's avatar
      Add recovery code support for two-factor auth (#1773) · df4ff9a8
      Patrick Figel a rédigé
      * Add recovery code support for two-factor auth
      
      When users enable two-factor auth, the app now generates ten
      single-use recovery codes. Users are encouraged to print the codes
      and store them in a safe place.
      
      The two-factor prompt during login now accepts both OTP codes and
      recovery codes.
      
      The two-factor settings UI allows users to regenerated lost
      recovery codes. Users who have set up two-factor auth prior to
      this feature being added can use it to generate recovery codes
      for the first time.
      
      Fixes #563 and fixes #987
      
      * Set OTP_SECRET in test enviroment
      
      * add missing .html to view file names
      df4ff9a8
  33. avr. 11, 2017
  34. mars 03, 2017
  35. fév. 06, 2017
Chargement en cours