about summary refs log tree commit diff
path: root/app/models/account.rb
AgeCommit message (Collapse)Author
2019-11-19Refactor all ActivityPub deliveries to be serialized and signed through one ↵Eugen Rochko
concern (#10966)
2019-11-17Add `filter_undescribed` column to `accounts` table.multiple creatures
2019-10-27add profile option to (locally) block anonymous views of public postsmultiple creatures
2019-08-08add new `reject unknown` policy option to prevent spam & harassment from ↵multiple creatures
large/undermoderated servers
2019-07-30add an optional blinking cursor to console formattingmultiple creatures
2019-07-29optional delayed publishing of roars for proofreadingmultiple creatures
2019-07-25add all `ActionLog`-able admin & moderator actions to loggermultiple creatures
2019-07-24transparancy - log use of admin related method calls & activitypub ↵multiple creatures
auto-rejections to a logger account
2019-07-24revert the current unfinished chat implementationmultiple creatures
2019-07-23add self-destructing roars & `live`/`lifespan` bangtagsmultiple creatures
2019-07-21split `hide public profile` & `hide public ap outbox` into separate user ↵multiple creatures
options, make original `Account.hidden` prop federation-affecting `invisible mode`
2019-07-21privacy - add option to disable public activitypub outboxmultiple creatures
2019-07-21add more options for time range of roars visible to anonymous public profile ↵multiple creatures
viewers
2019-07-20fix typo in account model - `frozen` -> `froze`multiple creatures
2019-07-19keep `locked` badge for approves-followers + add `frozen` badge for ↵multiple creatures
admin-locked accts, also federate `frozen` state
2019-07-19remove aliases of old of kobold prefs from account modelmultiple creatures
2019-07-15move user variables to `users` relationmultiple creatures
2019-07-15add `supports_chat` property, rename `adults_only` to `adult_content`, ↵multiple creatures
federate the kobolds~
2019-07-15local visibility scope, chat scope+tags, unlisted tagsmultiple creatures
2019-05-21include bio field keys in emojifiable textmultiple creatures
2019-05-21fix schemamultiple creatures
2019-05-21add option to embiggen the emojos & embiggen small bbcode text on hovermultiple creatures
2019-05-21Correct a 6-in-the-morning breaking typos.multiple creatures
2019-05-21Expose user settings to `Account` model and update code referencing those ↵multiple creatures
settings.
2019-05-21Moderation: add `force sensitive` and `force unlisted` actions. Accounts: ↵multiple creatures
add federatable `adult content` tag. Handle from remote accounts as well.
2019-05-21Make user settings for status filter accessible from `account` model.multiple creatures
2019-05-21Drop remaining OStatus and PuSH code, as well as related database items.multiple creatures
2019-05-21Account model: drop `protocol` attribute when looking up AP inboxes; use ↵multiple creatures
`remote` scope instead. If no `domain` set, use domain of `inbox_url`.
2019-05-21Drop OStatus support. Fix some of the Rspec tests.multiple creatures
2019-05-21Privacy: add options to make interaction lists private and to not be ↵multiple creatures
included in public interaction lists.
2019-05-21Add option to hide public replies from profilemultiple creatures
2019-05-21DB: Replace `NULL` boolean values with `FALSE` in Monsterpit feature ↵multiple creatures
columns; add `vars` column for persistent bangtag variable storage.
2019-05-21Raise various string limits.multiple creatures
2019-05-21Dedicated `network` DB column for marking whether a roar is a part of the ↵multiple creatures
local network; rewrite posts from `FORCE_*` domains at create time instead of dynamically.
2019-05-21hidden accounts + stats hidingmultiple creatures
2019-05-21Return more accounts in searchesDaggertooth
2019-05-15Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
2019-05-14Record account suspend/silence time and keep track of domain blocks (#10660)ThibG
* Record account suspend/silence time and keep track of domain blocks * Also unblock users who were suspended/silenced before dates were recorded * Add tests * Keep track of suspending date for users suspended through the CLI * Show accurate number of accounts that would be affected by unsuspending an instance * Change migration to set silenced_at and suspended_at * Revert "Also unblock users who were suspended/silenced before dates were recorded" This reverts commit a015c65d2d1e28c7b7cfab8b3f8cd5fb48b8b71c. * Switch from using suspended and silenced to suspended_at and silenced_at * Add post-deployment migration script to remove `suspended` and `silenced` columns * Use Account#silence! and Account#suspend! instead of updating the underlying property * Add silenced_at and suspended_at migration to post-migration * Change account fabricator to translate suspended and silenced attributes * Minor fixes * Make unblocking domains always retroactive
2019-04-08Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - config/locales/pl.yml Conflict caused by new upstream string too close to glitch-specific “flavour” string. Took both strings.
2019-04-07Improve blocked view of profiles (#10491)Eugen Rochko
* Revert "Fix filtering of favourited_by, reblogged_by, followers and following (#10447)" This reverts commit 120544067fcca4bf6e71ba1ffb276c451c17c656. * Revert "Hide blocking accounts from blocked users (#10442)" This reverts commit 62bafa20a112ccdddaedb25723fc819dbbcd8e9a. * Improve blocked view of profiles - Change "You are blocked" to "Profile unavailable" - Hide following/followers in API when blocked - Disable follow button and show "Profile unavailable" on public profile as well
2019-04-01Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - app/models/form/admin_settings.rb - config/locales/ja.yml
2019-04-01Fix filtering of favourited_by, reblogged_by, followers and following (#10447)ThibG
2019-04-01Hide blocking accounts from blocked users (#10442)ThibG
* Revert "Add indication that you have been blocked in web UI (#10420)" This reverts commit bd02ec6daa974dcd3231e73826a56e08dbeedadc. * Revert "Add `blocked_by` relationship to the REST API (#10373)" This reverts commit 9745de883b198375ba23f7fde879f6d75ce2df0f. * Hide blocking accounts from search results * Filter blocking accouts from account followers * Filter blocking accouts from account's following accounts * Filter blocking accounts from “reblogged by” and “favourited by” lists * Remove blocking account from URL search * Return 410 on trying to fetch user data from a user who blocked us * Return 410 in /api/v1/account/statuses for suspended or blocking accounts * Fix status filtering when performing URL search * Restore some React improvements Restore some cleanup from bd02ec6daa974dcd3231e73826a56e08dbeedadc * Refactor by adding `without_blocking` scope
2019-03-26Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - config/locales/es.yml - config/locales/pl.yml - config/locales/pt-BR.yml
2019-03-26Change icons of features on admin dashboard to remove bias (#10366)Eugen Rochko
Red crosses implied that it was bad/unexpected that certain features were not enabled. In reality, they are options, so showing a green or grey power-off icon is more appropriate. Add status of timeline preview as well Fix sample accounts changing too frequently due to wrong query Sample accounts are intended to be sorted by popularity
2019-03-14Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - app/views/admin/settings/edit.html.haml: Conflict due to how the theming settings change.
2019-03-14Admission-based registrations mode (#10250)Eugen Rochko
Fix #6856 Fix #6951
2019-03-13Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka
Conflicts: - app/controllers/about_controller.rb - app/controllers/tags_controller.rb - app/views/about/show.html.haml - spec/views/about/show.html.haml_spec.rb
2019-03-11Squish username before validation (#10239)Aurélien Reeves
* Squish username before validation (#10101) Fix #10101 * Move before_validation hook to a private method Also add Unicode wite-spaces to the spec to support the use of squish over strip.
2019-03-08Merge branch 'master' into glitch-soc/merge-upstreamThibaut Girka