Skip to content
Snippets Groups Projects
  1. Sep 06, 2017
  2. Sep 05, 2017
  3. Sep 01, 2017
    • Eugen Rochko's avatar
      Make PreviewCard records reuseable between statuses (#4642) · 7dc50350
      Eugen Rochko authored
      * Make PreviewCard records reuseable between statuses
      
      **Warning!** Migration truncates preview_cards tablec
      
      * Allow a wider thumbnail for link preview, display it in horizontal layout (#4648)
      
      * Delete preview cards files before truncating
      
      * Rename old table instead of truncating it
      
      * Add mastodon:maintenance:remove_deprecated_preview_cards
      
      * Ignore deprecated_preview_cards in schema definition
      
      * Fix null behaviour
      7dc50350
  4. Aug 30, 2017
  5. Aug 25, 2017
  6. Aug 24, 2017
  7. Aug 22, 2017
    • Eugen Rochko's avatar
      Fix up the applications area (#4664) · c1b086a5
      Eugen Rochko authored
      - Section it into "Development" area
      - Improve UI of application form, index, and details
      c1b086a5
    • Colin Mitchell's avatar
      Application prefs section (#2758) · 871c0d25
      Colin Mitchell authored
      * 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
  8. Jul 26, 2017
  9. Jul 19, 2017
  10. Jul 14, 2017
  11. Jul 13, 2017
    • 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
    • unarist's avatar
      Make tag search case insensitive again (#4184) · c2753fdf
      unarist authored
      c2753fdf
    • Eugen Rochko's avatar
      Fix boolean columns sometimes having a null value (#4162) · 880a5eb2
      Eugen Rochko authored
      * Fix boolean columns sometimes having a null value
      
      * Fix wrong value being set instead of null
      880a5eb2
  12. Jun 25, 2017
    • Eugen Rochko's avatar
      Bind web UI access tokens to sessions (#3940) · ed7dc170
      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
      
      * Fix #2347 - Bind web UI access token to session
      
      When you logout, session also destroys the access token, so it's no longer
      valid. If access token is destroyed some other way, the session is also
      destroyed, requiring a re-login.
      
      Fix #1681 - Add scheduler to remove revoked access tokens and grants
      
      * Fix test
      ed7dc170
    • 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
  13. Jun 23, 2017
  14. Jun 09, 2017
  15. Jun 08, 2017
  16. Jun 06, 2017
    • unarist's avatar
      Fix tag search order and not to use tsvector (#3611) · 004672aa
      unarist authored
      * Sort results by the name
      * Switch search method to simple `LIKE` matching instead of tsvector/tsquery
      
      Previously we used scores from ts_rank_cd() to sort results, but it didn't work
      because the function returns same score for all results. It's not for calculate
      similarity of single words. Sometimes this bug even push out exact matching tag
      from results.
      
      Additionally, PostgreSQL supports prefix searching with standard btree index.
      Using it offers simpler code, but also less index size and some speed.
      004672aa
  17. Jun 05, 2017
  18. Jun 02, 2017
  19. May 20, 2017
  20. May 18, 2017
    • Eugen Rochko's avatar
      Account domain blocks (#2381) · 620d0d80
      Eugen Rochko authored
      * Add <ostatus:conversation /> tag to Atom input/output
      
      Only uses ref attribute (not href) because href would be
      the alternate link that's always included also.
      
      Creates new conversation for every non-reply status. Carries
      over conversation for every reply. Keeps remote URIs verbatim,
      generates local URIs on the fly like the rest of them.
      
      * Conversation muting - prevents notifications that reference a conversation
      (including replies, favourites, reblogs) from being created. API endpoints
      /api/v1/statuses/:id/mute and /api/v1/statuses/:id/unmute
      
      Currently no way to tell when a status/conversation is muted, so the web UI
      only has a "disable notifications" button, doesn't work as a toggle
      
      * Display "Dismiss notifications" on all statuses in notifications column, not just own
      
      * Add "muted" as a boolean attribute on statuses JSON
      
      For now always false on contained reblogs, since it's only relevant for
      statuses returned from the notifications endpoint, which are not nested
      
      Remove "Disable notifications" from detailed status view, since it's
      only relevant in the notifications column
      
      * Up max class length
      
      * Remove pending test for conversation mute
      
      * Add tests, clean up
      
      * Rename to "mute conversation" and "unmute conversation"
      
      * Raise validation error when trying to mute/unmute status without conversation
      
      * Adding account domain blocks that filter notifications and public timelines
      
      * Add tests for domain blocks in notifications, public timelines
      Filter reblogs of blocked domains from home
      
      * Add API for listing and creating account domain blocks
      
      * API for creating/deleting domain blocks, tests for Status#ancestors
      and Status#descendants, filter domain blocks from them
      
      * Filter domains in streaming API
      
      * Update account_domain_block_spec.rb
      620d0d80
  21. May 16, 2017
  22. May 15, 2017
    • Eugen Rochko's avatar
      Feature conversations muting (#3017) · d0dd9eb5
      Eugen Rochko authored
      * Add <ostatus:conversation /> tag to Atom input/output
      
      Only uses ref attribute (not href) because href would be
      the alternate link that's always included also.
      
      Creates new conversation for every non-reply status. Carries
      over conversation for every reply. Keeps remote URIs verbatim,
      generates local URIs on the fly like the rest of them.
      
      * Conversation muting - prevents notifications that reference a conversation
      (including replies, favourites, reblogs) from being created. API endpoints
      /api/v1/statuses/:id/mute and /api/v1/statuses/:id/unmute
      
      Currently no way to tell when a status/conversation is muted, so the web UI
      only has a "disable notifications" button, doesn't work as a toggle
      
      * Display "Dismiss notifications" on all statuses in notifications column, not just own
      
      * Add "muted" as a boolean attribute on statuses JSON
      
      For now always false on contained reblogs, since it's only relevant for
      statuses returned from the notifications endpoint, which are not nested
      
      Remove "Disable notifications" from detailed status view, since it's
      only relevant in the notifications column
      
      * Up max class length
      
      * Remove pending test for conversation mute
      
      * Add tests, clean up
      
      * Rename to "mute conversation" and "unmute conversation"
      
      * Raise validation error when trying to mute/unmute status without conversation
      d0dd9eb5
  23. May 12, 2017
    • Matt Jankowski's avatar
    • Eugen Rochko's avatar
      Add conversation model, <ostatus:conversation /> (#3016) · 5abdc77c
      Eugen Rochko authored
      * Add <ostatus:conversation /> tag to Atom input/output
      
      Only uses ref attribute (not href) because href would be
      the alternate link that's always included also.
      
      Creates new conversation for every non-reply status. Carries
      over conversation for every reply. Keeps remote URIs verbatim,
      generates local URIs on the fly like the rest of them.
      
      * Fix conversation migration
      
      * More spec coverage for status before_create
      
      * Prevent n+1 query when generating Atom with the new conversations
      
      * Improve code style
      
      * Remove redundant local variable
      5abdc77c
  24. May 07, 2017
  25. May 01, 2017
    • Matt Jankowski's avatar
      Filter on allowed user language preferences (#2361) · f025cc67
      Matt Jankowski authored
      * Naive approached to timeline filtering
      
      * Convert allowed_languages into a db column
      
      * Allow users to choose languages to see statuses in
      
      * Style list items as two columns
      
      * Add a hint to explain language filtering preference
      f025cc67
  26. Apr 30, 2017
  27. Apr 29, 2017
  28. Apr 27, 2017
    • Eugen Rochko's avatar
      OEmbed support for PreviewCard (#2337) · 88725d6c
      Eugen Rochko authored
      * OEmbed support for PreviewCard
      
      * Improve ProviderDiscovery code failure treatment
      
      * Do not crawl links if there is a content warning, since those
      don't display a link card anyway
      
      * Reset db schema
      
      * Fresh migrate
      
      * Fix rubocop style issues
      Fix #1681 - return existing access token when applicable instead of creating new
      
      * Fix test
      
      * Extract http client to helper
      
      * Improve oembed controller
      88725d6c
  29. Apr 26, 2017
    • Francis Chong's avatar
      Add media dimensions (#2448) · 193dddb4
      Francis Chong authored
      * Fixes #1985
      
      - add migration AddMediaAttachmentMeta, which add meta field to media_attachments
      - before saving attachment, set file meta if needed
      - add meta in api
      
      * add spec
      
      * align the “size” format for image and video
      
      * fix code climate
      
      * fixes media_attachment_spec.rb
      193dddb4
  30. Apr 25, 2017
  31. Apr 24, 2017
  32. Apr 20, 2017
Loading