- Apr 17, 2017
-
-
Matt Jankowski authored
* Add spec for media controller * Add MediaAttachment.attached scope * Simplify methods in media controller
-
alpaca-tc authored
* Add `required: true` option to foreign column * Fixes NoMethodError ``` > Favourite.new.valid? NoMethodError: undefined method `reblog?' for nil:NilClass ```
-
- Apr 16, 2017
-
-
Matt Jankowski authored
* Rename admin.domain_block to admin.domain_blocks in prep for i18n improvement * Use implicit controller/action path for i18n in admin/domain_blocks * Add DomainBlock#accounts has_many * Avoid i18n health warning for `en` locale by using symbol scope with :count * Remove unused i18n key: plaintext_secret_html * Remove unused i18n key two_factor_auth.warning * Remove final will_paginate i18n keys * Remove unused key two_factor_auth.recovery_codes * Remove unused key: admin.reports.comment.none * Remove unused reports. i18n namespace (moved to admin.reports) * Ignore keys from locales which override activemodel and activerecord errors * Revert "Remove unused key: admin.reports.comment.none" This reverts commit 350ef2685fadc069e619bb6d1066190de195d942. * Update i18n key reference to match moved location * Add missing `en` keys to i18n * Tell i18n-tasks to ignore missing attributes that dont need overwriting * Add i18n-tasks unused to travis
-
Matt Jankowski authored
-
tackeyy authored
-
alpaca-tc authored
``` *An* `ActiveRecord::StatementInvalid` *occurred while* `POST </settings/import>` *was processed by* `imports#create` Exception ---------------- PG::NotNullViolation: ERROR: null value in column "type" violates not-null constraint ```
-
Eugen authored
Create MediaAttachment but without actual file download when domain is blocked with reject_media set to true Clean up old media files when creating a new domain block with reject_media set to true Return remote_url in media attachments API if local file is not present Undo domain block action in admin UI Ability to enable reject_media from admin UI
-
- Apr 15, 2017
-
-
Patrick Figel authored
* 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
-
- Apr 14, 2017
-
-
西小倉宏信 authored
-
Matt Jankowski authored
* Simplify admin/reports controller filtering for index * Rename parameter to resolved * Fix issue where reports view could not access filter_link_to * Add coverage for admin/reports controller * DRY up resolution of related reports for target account * Clean up admin/reports routes * Add Report#statuses method * DRY up current account action taken params * Rubocop styles
-
- Apr 13, 2017
-
-
Matt Jankowski authored
* Remove unused account_params method in admin/accounts controller * Introduce AccountFilter to find accounts * Use AccountFilter in admin/accounts controller * Use more restful routes admin silence and suspension area * Add admin/silences and admin/suspensions controllers
-
Matt Jankowski authored
* Refactor Export to take an account and know about the export types * Use Export instance in settings/exports#show
-
- Apr 12, 2017
-
-
Matt Jankowski authored
* Allow export of mutes list * Allow importing of mutes list * Refactor to use Settings::Exports::BaseController and DRY up exports code
-
- Apr 11, 2017
-
-
Matt Jankowski authored
* Add basic coverage for settings/exports controller * Remove unused @account variable from settings/exports controller * Add coverage for download export actions * Remove deprecated `render :text` in favor of `send_data` for csv downloads * Add model to handle exports * Use Export class in settings/exports controller * Simplify settings/exports controller methods * Move settings/export to more restful routes
-
blackle authored
-
- Apr 10, 2017
-
-
Eugen authored
* When avatar/header are GIF, generate static versions. Account API returns "avatar"/"avatar_static", "header"/"header_static" Static version is the same as original for other cases Web UI de-animates avatars in toots, lists of users Fix #441, fix #596, prerequisite for #1064 * Fix JS test * Add rake task to generate static avatars/headers from GIF ones, add test
-
Eugen authored
* Add exclude_types param to /api/v1/notifications * Exclude notification types in web UI through exclude_types in the API
-
Matt Jankowski authored
* Consolidate webfinger string creation under Account#to_webfinger_s * Introduce Account#local_username_and_domain for consolidation
-
- Apr 09, 2017
-
-
Eugen authored
-
Matt Jankowski authored
* Clean up SQL output in Tag and Account search methods * Add basic coverage for Tag.search_for * Add coverage for Account.search_for * Add coverage for Account.advanced_search_for
-
- Apr 08, 2017
-
-
Eugen authored
* Fix #795, fix #704, fix #835 - 2FA requires confirmation to be enabled TOTP secret is not shown again after 2FA is enabled * Clean up
-
- Apr 07, 2017
-
-
Joël Quenneville authored
Checking reblog vs original status was happening in multiple places across the app. For views, this logic was encapsulated in a helper method named `proper_status` but in the other layers of the app, the logic was duplicated. Because the logic is used at all layers of the app, we extracted it into a `Status#proper` method on the model and changed all uses of the logic to use this method. There is now a single source of truth for this condition. We added test coverage to untested methods that got refactored.
-
Eugen authored
* Rewrite Atom generation from stream entries to use Ox instead of Nokogiri::Builder StreamEntry is now limited to only statuses, which allows some optimization. Removed extra queries on AccountsController#show. AtomSerializer instead of AtomBuilderHelper used in AccountsController#show, StreamEntriesController#show, StreamEntryRenderer and PubSubHubbub::DistributionWorker PubSubHubbub::DistributionWorker moves n+1 DomainBlock query to PubSubHubbub::DeliveryWorker instead. All Salmon slaps that aren't based on StreamEntry still use AtomBuilderHelper and Nokogiri * All Salmon slaps now use Ox instead of Nokogiri. No touch from status on account
-
- Apr 05, 2017
-
-
Brad Urani authored
-
- Apr 04, 2017
-
-
Samy KACIMI authored
-
Samy KACIMI authored
-
Eugen Rochko authored
-
- Apr 03, 2017
-
-
Eugen Rochko authored
-
Eugen Rochko authored
-
- Apr 01, 2017
-
-
Eugen Rochko authored
-
- Mar 30, 2017
-
-
Eugen Rochko authored
-
Eugen Rochko authored
-
Eugen Rochko authored
-
- Mar 22, 2017
-
-
Eugen Rochko authored
add ability to open status by URL from search (fix #53)
-
Eugen Rochko authored
-
Eugen Rochko authored
Returns accounts, statuses, hashtags arrays
-
- Mar 18, 2017
-
-
Eugen Rochko authored
-
- Mar 17, 2017
-
-
Eugen Rochko authored
-
- Mar 16, 2017
-
-
Eugen Rochko authored
-
- Mar 15, 2017
-
-
Eugen Rochko authored
adjusted to allow choosing it, yet
-