Commit Graph

11168 Commits

Author SHA1 Message Date
Alexander Strizhakov 57b455de5a
leave expirations with Create and Note types 2020-08-12 12:41:47 +03:00
Maksim Pechnikov 644effc63b update docs 2020-08-12 08:51:09 +03:00
rinpatch 86c18e4165 Merge branch 'issue/2036-job-monitor' into 'develop'
[#2036] fix job monitor

See merge request pleroma/pleroma!2877
2020-08-12 03:30:01 +00:00
Maksim Pechnikov 76462efbfa fix job monitor 2020-08-11 22:06:33 +03:00
lain 500576dcb6 Linting fixes. 2020-08-11 19:22:14 +02:00
Mark Felder 724ed354f2 Ensure only Note objects are set to expire 2020-08-11 11:28:22 -05:00
lain 0589e9156a Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into fix/activity-expirations-again 2020-08-11 17:49:24 +02:00
lain 25bfee0d12 ActivityPub: Remove ActivityPub.accept
Switch to the pipeline in CommonAPI and SideEffects
2020-08-11 17:43:16 +02:00
Mark Felder ff4e282aad Ensure ap_id column in users table cannot be null 2020-08-11 10:27:07 -05:00
lain f988d82e46 Transmogrifier: Handle accepts with the pipeline 2020-08-11 17:26:01 +02:00
lain 9dda13bfa1 Transmogrifier Test: Remove mastodon hack test. 2020-08-11 16:22:15 +02:00
lain 3f6d50111e Linter fixes. 2020-08-11 16:07:42 +02:00
lain c66f6bd0ad Merge branch 'set-approval-pending-default-to-false' into 'develop'
Set `users.approval_pending` default to `false`

See merge request pleroma/pleroma!2874
2020-08-11 13:59:17 +00:00
lain da3f9b9988 Transmogrifier: Remove handling of orphaned accepts
This was a Mastodon 2.3 issue and has been fixed for a long time.
According to fediverse.networks, less than one percent of servers
still run a version this old or older.
2020-08-11 15:41:19 +02:00
lain 8b1e8bec2f AcceptValidation: Codify accept rules. 2020-08-11 15:32:52 +02:00
Egor Kislitsyn 304ed35743
Set `users.approval_pending` default to `false` 2020-08-11 17:21:17 +04:00
lain f1a0c10b17 AcceptValidator: Add basic validator with tests. 2020-08-11 15:13:07 +02:00
lain 8f9fbc86c0 Transmogrifier: Small readability changes. 2020-08-11 14:02:09 +02:00
lain 54a6855ddf Transmogrifier Tests: Extract Accept handling 2020-08-11 14:01:45 +02:00
lain 686002164a Merge branch '204-fix' into 'develop'
Fix 500 errors when returning :no_content, fixes #2029

Closes #2029

See merge request pleroma/pleroma!2856
2020-08-11 09:18:56 +00:00
lain 9a9121805c Apply 1 suggestion(s) to 1 file(s) 2020-08-11 09:08:27 +00:00
lain 677abbf0ee Merge branch 'fix/activity-expirations-again' of git.pleroma.social:pleroma/pleroma into fix/activity-expirations-again 2020-08-11 10:55:10 +02:00
lain 7e4932362b SideEffects: Handle strange deletion case. 2020-08-11 10:54:38 +02:00
Maksim Pechnikov 345ac512e4 added paginate+search for admin/MediaProxy URLs 2020-08-11 10:30:13 +03:00
feld 78484fe0ef Merge branch 'admin-active-filter' into 'develop'
Admin API: Filter out unapproved users when the `active` filter is on

Closes #2037

See merge request pleroma/pleroma!2872
2020-08-10 17:16:38 +00:00
Mark Felder 024b7ce0b7 Merge branch 'develop' into fix/activity-expirations-again 2020-08-10 11:32:24 -05:00
Egor Kislitsyn 249f21dcbb Admin API: Filter out unapproved users when the `active` filter is on 2020-08-10 18:27:39 +04:00
lain 93fbf39954 Merge branch 'revert-a6d3bb5f' into 'develop'
Revert "Merge branch 'issue/1023' into 'develop'"

Closes #2033

See merge request pleroma/pleroma!2868
2020-08-10 13:59:38 +00:00
lain 353f3466d6 Merge branch 'remove-unreachable-code' into 'develop'
Transmogrifier: Remove duplicate code.

See merge request pleroma/pleroma!2871
2020-08-10 13:47:20 +00:00
lain 73af60d02f Merge branch 'develop' into 'develop'
docs: add cmake to other installation guides

Closes #2039

See merge request pleroma/pleroma!2870
2020-08-10 13:47:02 +00:00
lain 517d42646a Merge branch '2039-cmake' into 'develop'
Docs: Add cmake dependency

Closes #2039

See merge request pleroma/pleroma!2869
2020-08-10 13:46:52 +00:00
lain 11fc90744c Transmogrifier: Remove duplicate code. 2020-08-10 15:31:36 +02:00
Alibek Omarov a2f2ba3fbb docs: add cmake to other installation guides 2020-08-10 16:24:45 +03:00
lain 4d76c0ec8b Docs: Add cmake dependency 2020-08-10 15:12:45 +02:00
lain 5c4548d5e7 Revert "Merge branch 'issue/1023' into 'develop'"
This reverts merge request !2763
2020-08-10 13:05:13 +00:00
Ilja bd7bf6cd19 Apply 1 suggestion(s) to 1 file(s) 2020-08-10 11:29:54 +00:00
Ilja a4a2d38640 Apply 1 suggestion(s) to 1 file(s) 2020-08-10 11:29:40 +00:00
rinpatch 00a4980c61 Merge branch 'fix/flaky-migration-episode-666' into 'develop'
20200802170532_fix_legacy_tags: Select only fields the migration needs

See merge request pleroma/pleroma!2863
2020-08-10 09:17:08 +00:00
rinpatch 21dfcafeb1 Merge branch '2038-old-update-info' into 'develop'
AccountController: Build the correct update activity.

Closes #2038

See merge request pleroma/pleroma!2867
2020-08-10 09:04:16 +00:00
rinpatch 15fa3b6bd8 20200802170532_fix_legacy_tags: chunk the user query 2020-08-10 11:56:37 +03:00
rinpatch a818587467 20200802170532_fix_legacy_tags: Select only fields the migration needs
Selecting the full struct will break as soon as a new field is added.
2020-08-10 11:55:58 +03:00
lain 66122a11b5 AccountController: Build the correct update activity.
Will fix federation issues.
2020-08-10 10:33:05 +02:00
lain 0149dd0146 Merge branch 'feat/floki-fast-html-2' into 'develop'
Update to fast_html 2 and use it for Floki parsing

See merge request pleroma/pleroma!2861
2020-08-09 11:18:00 +00:00
lain 7625e50950 Merge branch 'security-policy' into 'develop'
Add security policy for Pleroma backend

Closes #1848

See merge request pleroma/pleroma!2862
2020-08-09 11:06:54 +00:00
lain d0fc48ea67 Merge branch 'develop' into 'feat/floki-fast-html-2'
# Conflicts:
#   config/config.exs
2020-08-09 10:53:58 +00:00
Mark Felder e08ea01d09 Limit expirations for each cron execution to 50.
This should prevent servers from being crushed. 50/min is a pretty good rate.
2020-08-08 12:49:02 -05:00
Mark Felder 761cc5b4a2 Don't filter on local 2020-08-08 12:44:18 -05:00
Mark Felder cf4c97242b Ensure we only expire Create activities with the Mix task 2020-08-08 12:40:52 -05:00
Mark Felder 2e7c5fe2de Add migration to remove invalid activity expirations 2020-08-08 12:33:37 -05:00
lain ad29a4f2cf Merge branch 'ensure-expiration-mix-task' into 'develop'
Add mix task to add expiration to all local statuses

Closes #2020

See merge request pleroma/pleroma!2865
2020-08-08 15:16:55 +00:00