Ilja
506bf16363
Change docs
...
* ./configuration/mrf.md
* Change example
* ./configuration/cheatsheet.md
* Change descriptions to include that a reason is given
* CHANGELOG.md
* Add as breaking change
3 years ago
Ilja
03030b47c2
quarantine instances info
...
Added a new field in the nodeinfo called quarantined_instances_info
This holds an object like `"quarantined_instances_info":{"quarantined_instances":{"quar.inst":{"reason":"whatever reason"}}}}`
3 years ago
Ilja
47fc57bbcc
Change what nodeinfo returns without breaking backwards compatibility
...
* Only for SimplePolicy for now
* I added an extra mrf_simple_info key that has an object as value. The object contains only relevant extra info
3 years ago
Ilja
7fdc3cde06
Return maps in node_info
...
It's easiest (and imo most proper) to use tuples {"instance, "reason"} in BE,
but for FE maps like %{"instance": "instance", "reason", "reason"} are better.
I changed it so that node_info returns maps now for simple_policy and quarantined instances.
3 years ago
Ilja
1f52246a02
Add database migrations
...
* SimplePolicy
* quarentine
* transparency_exclusions
3 years ago
Ilja
c0489f9fac
Fixed deprecation warning checks
...
When a setting was deprecated, the code would stop checking for the rest of the possible deprications. This also meant that the settings weren't rewritten to the new settings for deprecated settings besides the first one.
3 years ago
Ilja
64002e92ad
config/description.exs: Update quarantine settings to tuples
3 years ago
Ilja
b674ba658b
make linter happy
3 years ago
Ilja
3c5a497b19
Deprecate transparency_exclusions
...
* Give deprecation message
* Rewrite configs
3 years ago
Ilja
dfeb3862da
config :mrf, :transparency_exclusions works with tumples now
3 years ago
Ilja
e0c7d77197
Deprecate and rewrite settings for quarentine settings
...
* This is for the settings, not yet a DB migration
3 years ago
Ilja
27fe7b0274
Make quarentine work with list of tuples instead of strings
3 years ago
Ilja
dd947d9bc8
Add tests for setting `:instance, :quarantined_instances`
...
No test was done for quarantined instances yet. I added a factory for followers_only notes and checked
* That no followers only post is send when the target server is quarantined
* That a followers only post is send when the target server is not quarantined
3 years ago
Ilja
4ba0beb60c
Make mrfSimple work with tuples
...
* Changed SimplePolicy
* I also grepped in test/ for ':mrf_simple' to see what other things could be affected
3 years ago
Ilja
647087d7fd
Deprectate strings for SimplePolicy
...
When strings are detected in the simplepolicy, a warning will be given and the config will be changed to use tuples instead
3 years ago
sadposter
daab1eaa65
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
Haelwenn
5f5dc24027
Merge branch 'staff-plug' into 'develop'
...
Moderators: add UserIsStaffPlug
See merge request pleroma/pleroma!3495
3 years ago
Alex Gleason
44ede0657f
Merge remote-tracking branch 'pleroma/develop' into staff-plug
3 years ago
sadposter
2519d4eb1a
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
Haelwenn (lanodan) Monnier
79e993cae5
Release 2.4.0
3 years ago
Haelwenn (lanodan) Monnier
5f8a9b671f
Update AdminFE bundle
3 years ago
Daniel
5c5571c668
use puts instead warn
3 years ago
Daniel
69ebfb29fb
Update dev.exs error message to write to stderr. Currently it dumps this message at the beginnig of the file when using vim-autoformat with mix format
3 years ago
feld
d8a986c9e8
Merge branch 'object-tombstone-visibility' into 'develop'
...
Visibility: check Tombstone objects in visible_for_user?/2
See merge request pleroma/pleroma!3490
3 years ago
feld
7495beeb40
Merge branch 'errorview-json-fix' into 'develop'
...
Fix errors in ErrorView
See merge request pleroma/pleroma!3489
3 years ago
Alex Gleason
7f23dd6cc8
Merge remote-tracking branch 'pleroma/develop' into object-tombstone-visibility
3 years ago
Alex Gleason
9cc8642b80
Visibility: check Tombstone objects in visible_for_user?/2
3 years ago
Alex Gleason
3d8ce61fe5
CHANGELOG: fixed JSON error rendering
3 years ago
Alex Gleason
33a19c002a
Merge remote-tracking branch 'pleroma/develop' into errorview-json-fix
3 years ago
Alex Gleason
94db0b7cd6
Add activity+json to Phoenix :format_encoders
...
Fixes ErrorView rendering
3 years ago
sadposter
de69585eaa
:Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
Haelwenn
7acdab1f30
Merge branch 'mkljczk-develop-patch-60115' into 'develop'
...
MastodonAPI: Fix list timelines
Closes mastofe#89 and #2693
See merge request pleroma/pleroma!3477
3 years ago
Alex Gleason
85d71d4f1d
CHANGELOG: Support `poll` notification type
3 years ago
Alex Gleason
62bf6d67e3
Merge remote-tracking branch 'pleroma/develop' into poll-notification-fixes
3 years ago
Alex Gleason
70f1496eb8
Poll notification: only notify local users
3 years ago
Alex Gleason
0b1c05ca1e
Poll notification: trigger PollWorker through common_pipeline
3 years ago
Alex Gleason
6a6e42c9bf
PollWorker defensive checks
3 years ago
Alex Gleason
cbd1a10c16
Poll notification: notify for polls even when block_from_strangers is set
3 years ago
Alex Gleason
0114754db2
MastodonAPI: Support poll notification
3 years ago
Alex Gleason
c4efe0d2d6
CHANGELOG: instance deletion
3 years ago
Alex Gleason
3674179b26
Merge remote-tracking branch 'pleroma/develop' into instance-deletion
3 years ago
Alex Gleason
bad79f79e6
AdminAPI.InstanceController: clean up tests, rename actions
3 years ago
Alex Gleason
54dbcfe02a
AdminAPI: add DELETE /instances/:instance to delete all content from a remote instance
3 years ago
Alex Gleason
f67d00d12b
Add Instance.delete_users_and_activities/1 to delete all content from a remote instance
3 years ago
Alex Gleason
c136dc0987
Upgrade Ecto to v3.6.2, remove deprecated ecto_explain
3 years ago
Alex Gleason
25676c84be
Create AdminAPI.InstanceController
3 years ago
feld
3f58213646
Merge branch 'admin-api-users-sort' into 'develop'
...
AdminAPI: sort new users at the top
Closes #2709
See merge request pleroma/pleroma!3481
3 years ago
feld
17d79f3484
Merge branch 'admin-api-users-date' into 'develop'
...
AdminAPI: add created_at date to users
See merge request pleroma/pleroma!3482
3 years ago
Alex Gleason
117b3edf54
CHANGELOG: AdminAPI return date with users
3 years ago
Alex Gleason
1a2fe96d56
Merge remote-tracking branch 'pleroma/develop' into admin-api-users-date
3 years ago