Thibaut Girka
48e6b2360d
Merge branch 'master' into glitch-soc/merge-upstream
...
Conflicts:
- config/routes.rb
Upstream changed some admin routes, conflict was because of an added :show
action for statuses on our side. Kept it.
6 years ago
ysksn
76cad0240a
Add specs for ReportNotePolicy ( #9592 )
6 years ago
ysksn
6aeb34dc4c
Add specs for policies ( #9591 )
...
* Add spec for RelayPolicy
* Add specs for SubscriptionPolicy
* Add specs for SettingsPolicy
* Add specs for TagPolicy
* Add specs for ReportPolicy
6 years ago
ysksn
8cf484e5a7
Add specs for UserPolicy ( #9593 )
6 years ago
ysksn
e756191722
Add specs for InvitePolicy ( #9589 )
6 years ago
ysksn
d4b4e87153
Add specs for EmailDomainBlockPolicy ( #9586 )
6 years ago
ysksn
fcb045060e
Add specs for InstancePolicy ( #9587 )
6 years ago
ysksn
ce51a08674
Add specs for DomainBlockPolicy ( #9585 )
6 years ago
ysksn
31f7af3cad
Add specs for CustomEmojiPolicy ( #9584 )
6 years ago
ysksn
dcab109a1c
Add specs for BackupPolicy ( #9576 )
6 years ago
Thibaut Girka
d53f315824
Merge branch 'master' into glitch-soc/merge-upstream
6 years ago
ysksn
d338a2099e
Add specs for AccountPolicy ( #9575 )
6 years ago
ysksn
48a70180e2
Add specs for AccountModerationNotePolicy ( #9571 )
6 years ago
ysksn
bae098d118
Add specs for StatusPolicy ( #9569 )
6 years ago
Thibaut Girka
517b7a028d
Add test to disallow remote users from fetching local-only toots
6 years ago
David Yip
bcdd0f8b9d
Update StatusPolicy to check current_account for local_only? toots.
...
StatusPolicy#account was renamed to StatusPolicy#current_account in
upstream. This commit renames the local-only changes to match and
augments the #show? policy spec with what we expect for local-only
toots.
7 years ago
Jack Jennings
4e75c71b3e
Add status destroy authorization to policy ( #3453 )
...
* Add status destroy authorization to policy
* Create explicit unreblog status authorization
8 years ago
Jack Jennings
c4bf180a77
Fix incorrect visibility setter in StatusPolicySpec ( #3456 )
8 years ago
Jack Jennings
877b82f63e
Move status reblog authorization into policy ( #3425 )
8 years ago
Jack Jennings
faf53a5a3e
Extract authorization policy for viewing statuses ( #3150 )
8 years ago