Commit Graph

295 Commits (7a0dc34cad955fecba8072f5ed3c179ba5a3fd98)

Author SHA1 Message Date
multiple creatures 7a0dc34cad reimplement monsterpit bbcode and markdown extensions on top of new glitch-soc formatting system + bbcode feature parity + new `i:am` footer + set content type from `format` bangtag 2019-05-21 03:16:50 -05:00
multiple creatures 75d114216e remove the buggy do-not-@-me impl - we'll replace this with a bangtag later 2019-05-21 03:16:23 -05:00
multiple creatures 3b06175e8f Moderation: add `force sensitive` and `force unlisted` actions. Accounts: add federatable `adult content` tag. Handle from remote accounts as well. 2019-05-21 03:16:23 -05:00
multiple creatures edfabe44da Statuses: set `local_only` flag from the `PostStatusService`. Default to `en` locale for statuses. 2019-05-21 03:16:23 -05:00
multiple creatures 46522d8c1b Do not process mentions or bangtags in drafts. Add `draft?` method to `Status` model. 2019-05-21 03:16:22 -05:00
multiple creatures 3e8690f2c0 Correct breaking type-o: `scope` -> `starting_scope` 2019-05-21 03:16:22 -05:00
multiple creatures a47b1daaeb Implement scoped tags; use `local:` and `self:` scopes for community and personal tags, respectively. 2019-05-21 03:16:22 -05:00
multiple creatures 9d4f42fb89 Add option to hide public replies from profile 2019-05-21 03:16:22 -05:00
multiple creatures 19b78604e9 Status model: `LOCAL_DOMAINS` constant has been moved into the `Account` model. 2019-05-21 03:16:22 -05:00
multiple creatures a230a6038b Make sure that local-only tokens still get detected when signature is enabled. 2019-05-21 03:16:22 -05:00
multiple creatures 4088e0a648 Add `i:am` bangtag to allow plural systems sharing an account to identify who is roaring. 2019-05-21 03:16:22 -05:00
multiple creatures f7c5171a83 DB: Replace `NULL` boolean values with `FALSE` in Monsterpit feature columns; add `vars` column for persistent bangtag variable storage. 2019-05-21 03:16:22 -05:00
multiple creatures 036f422877 Make sure only distributable statuses are marked curated; move bangtags processing into own helper lib. 2019-05-21 03:16:22 -05:00
multiple creatures cea2baf2e0 Limit scope of local/world TLs. Fixes the bug causing some requests to fetch the local and world timelines to time out. 2019-05-21 03:16:22 -05:00
multiple creatures ec5c6e7fcb This `relay` should be a string, not a `Symbol`. 2019-05-21 03:16:22 -05:00
multiple creatures 3bfa72cbce Dedicated `network` DB column for marking whether a roar is a part of the local network; rewrite posts from `FORCE_*` domains at create time instead of dynamically. 2019-05-21 03:16:22 -05:00
multiple creatures 89ad628e88 Add `share_key` column to status table in preparation for letting folks generate/revoke links to view private posts. 2019-05-21 03:16:22 -05:00
multiple creatures 2db51e2f4c Refactored community-curated world timeline code; **privacy**: remove support for packmate-visible hashtags until we resolve federation caveats. 2019-05-21 03:16:21 -05:00
multiple creatures f344170fd0 Raise max search result limit to 66 in API. 2019-05-21 03:16:21 -05:00
multiple creatures 6c7f1691ee Only consider favorites for community-curated world timeline until we can make the query for considering boosts not be so abysmally slow. 2019-05-21 03:16:21 -05:00
multiple creatures 16147d73a2 `Status.search_for`: Don't need `Status.unscoped`; the `default_scope` sorts the way we intend. 2019-05-21 03:16:21 -05:00
multiple creatures dd5e02ad5d Use PostgreSQL FTS for searches. 2019-05-21 03:16:21 -05:00
multiple creatures cd042a4ee3 Handle more audio formats, only converting formats not supported by HTML5 audio 2019-05-21 03:16:21 -05:00
multiple creatures 0e5935e475 various bangtag improvements squashed into one commit 2019-05-21 03:16:21 -05:00
multiple creatures d0631f446c bangtags: support namespacing, args, text tf + add replace commands 2019-05-21 03:16:21 -05:00
multiple creatures e42f09c53d curated world: ignore non-self replies 2019-05-21 03:16:21 -05:00
multiple creatures 7580036307 curated world: also consider public favs 2019-05-21 03:16:21 -05:00
multiple creatures b507a598c5 add bangtags to reply-all thead, insert zws; handle fencing in braces 2019-05-21 03:16:21 -05:00
multiple creatures 01acaa792a bangtag to mention admin/mods/staff 2019-05-21 03:16:21 -05:00
multiple creatures d00907014b bangtags for cloudroot (monsterpit.cloud/~/you) and blogroot (monsterpit.blog/~/you) links 2019-05-21 03:16:21 -05:00
multiple creatures dd70b4e463 initial bangtags implementation, permalinks 2019-05-21 03:16:21 -05:00
multiple creatures ba51d3f135 add option to show raw world timeline 2019-05-21 03:16:21 -05:00
multiple creatures 6c00e2abcf update status.rb 2019-05-21 03:16:21 -05:00
multiple creatures 312bc14d06 make sure local only replies stay local 2019-05-21 03:16:21 -05:00
multiple creatures f21d4c3209 allow eye emoji to be a local-only flag 2019-05-21 03:16:21 -05:00
multiple creatures 467170f4a0 more local-only options 2019-05-21 03:16:21 -05:00
multiple creatures 178a2dc9eb hide follower-only replies on account tls 2019-05-21 03:16:21 -05:00
multiple creatures 28c9b9ce6a improve filtering 2019-05-21 03:16:21 -05:00
multiple creatures 1d5da39902 allow overriding visibility/sensitivity by domain 2019-05-21 03:16:21 -05:00
multiple creatures d6738df083 handle no-replies flag 2019-05-21 03:16:21 -05:00
multiple creatures 1636a4e8ae unlisted & private hashtags 2019-05-21 03:16:21 -05:00
multiple creatures a7aa2544e4 community world tl + networked home tl 2019-05-21 03:16:21 -05:00
multiple creatures 5c6a14ca68 Prune replies to muted/blocked accounts 2019-05-21 03:16:21 -05:00
multiple creatures 6a0c65d461 allow searching bookmarks 2019-05-21 03:16:21 -05:00
Thibaut Girka d7520f8175 Add support for HTML-formatted toots 2019-05-17 23:51:14 +02:00
Thibaut Girka bfc509f44a Add database row to hold status content type 2019-05-17 23:51:14 +02:00
Thibaut Girka 6badf2d252 Merge branch 'master' into glitch-soc/merge-upstream 2019-05-15 17:11:40 +02:00
ThibG 14f6ce2885 Record account suspend/silence time and keep track of domain blocks (#10660)
* 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-05-14 19:05:02 +02:00
Thibaut Girka fcbf557bd2 Add site-wide options to show reblogs and replies in local/public timelines
Fixes #1021
2019-05-01 22:33:09 +02:00
Thibaut Girka 050efbc126 Merge branch 'master' into glitch-soc/merge-upstream
Conflicts:
- app/workers/activitypub/distribute_poll_update_worker.rb
- config/locales/pl.yml
2019-03-28 13:01:33 +01:00