Mark Felder
e3dd0d45b7
Slip in a test to ensure we can use the atom syntax in mix task arguments
3 роки тому
Ivan Tashkinov
e00c667145
[ #3174 ] Refactoring: ConfigDB fetching functions, ConfigDB tests.
Minor fixes.
3 роки тому
Ivan Tashkinov
e9859b68fc
[ #3112 ] Ensured presence and consistency of :user and :token assigns (EnsureUserTokenAssignsPlug). Refactored auth info dropping functions.
3 роки тому
Mark Felder
657002e738
Answer new prompt interactively
3 роки тому
lain
fa0d0b602f
Emoji: Also accept regional indicators
3 роки тому
Mark Felder
e379ab8277
Add --force flag for delete and reset commands
Bunch of reorganization and consolidation
3 роки тому
Mark Felder
13947999ad
Use a callback strategy to short circuit the functions and print a nice error
3 роки тому
Mark Felder
3e6d9187a7
Add tests for config dumping
3 роки тому
Mark Felder
126d236455
We no longer expect mentions to link if they are prefixed with too many @'s
3 роки тому
lain
8fb259e739
Emoji: Only accept RGI emoji.
"recommended for general interchange"
3 роки тому
lain
3b3cf63118
Emoji: Add test for ZWJ sequence emoji
3 роки тому
lain
1adee08321
Emoji: Update to Unicode 13.1, switch base file, allow multichar.
3 роки тому
lain
5d15486098
SideEffects: fix test
3 роки тому
lain
222312900e
User: Don't allow local users in remote changesets
3 роки тому
rinpatch
fc9ebe5073
Search tests: Use on_exit for restoring `persistent_term` state
Otherwise if the assertion failed, the code below which resets the
state would never be reached
3 роки тому
Ivan Tashkinov
d50a3345ae
[ #3112 ] Allowed revoking same-user token from any apps. Added tests.
3 роки тому
Ivan Tashkinov
f1b07a2b2b
OAuth form user remembering feature. Local MastoFE login / logout fixes.
3 роки тому
Alexander Strizhakov
6aadb1cb40
digest algorithm is taken from header
3 роки тому
Maksim Pechnikov
fb72f2034a
fix spec
3 роки тому
Ivan Tashkinov
12a5981cc3
Session token setting on token exchange. Auth-related refactoring.
3 роки тому
Mark Felder
54df44d380
Fix badly formatted JSON fixtures which causes Jason to erroneously detect control characters
3 роки тому
Mark Felder
3283d0805f
Use Jason instead of Poison in tests
3 роки тому
lain
67b15cc033
Search: Save detected pg version in a persistent term.
3 роки тому
Ivan Tashkinov
ccc2cf0e87
Session-based OAuth auth fixes (token expiration check), refactoring, tweaks.
3 роки тому
lain
8532325d65
SearchController Test: Fix test.
3 роки тому
lain
9a1e5f5d48
Search: Change search method based on detected pg version
3 роки тому
Maksim Pechnikov
66f411fba0
added subject actor to moderation log
3 роки тому
Ivan Tashkinov
e164c37139
[ #2301 ] Proper handling of `User.is_discoverable`: users appear in in-service search but are hidden from external services like search bots.
3 роки тому
lain
783fa797bb
SearchController Test: Fix test
3 роки тому
lain
81b6f02a5e
Search Test: linting
3 роки тому
lain
a60242464e
Search: Add option to search with the websearch function
3 роки тому
Ivan Tashkinov
fcad3e716a
[ #2301 ] Quick fix: users with is_discoverable == false (default!) are included in search results.
3 роки тому
Alexander Strizhakov
46dab37351
little fix
3 роки тому
lain
11e0d5f9ac
Password Resets: Don't accept tokens above a certain age.
By default, one day
3 роки тому
Alexander Strizhakov
4aaffe3a10
log capture
3 роки тому
Alexander Strizhakov
be0b874e1d
fix for mastodon forwarded reports
3 роки тому
Alexander Strizhakov
a840aefda8
formatting
3 роки тому
Alexander Strizhakov
e2bf6b1f7e
fix for forwarded reports
3 роки тому
Mark Felder
415481a4d9
Add test for POST when push is disabled
Also group together the tests verifiying failure when disabled
3 роки тому
Mark Felder
3eaa5335c9
Revert adding extra alert types here
3 роки тому
Mark Felder
d9732fb7d3
Fix incorrect test description
3 роки тому
Mark Felder
ff7a4b6aa2
Test that we ignore invalid subscription alert types separately.
3 роки тому
Mark Felder
30f140e570
Ensure all supported push notification subscription alert types are tested
3 роки тому
Mark Felder
499faa82f6
Synchronize reaction notification text with PleromaFE's style
3 роки тому
Mark Felder
67a6abd071
Update OpenAPI spec/schema and test to verify support for pleroma:emoji_reaction subscriptions
3 роки тому
Mark Felder
3ce11b830e
Add capability for emoji reaction push notifications
3 роки тому
lain
bb9650f3c2
FrontendController: Return error on installation error.
3 роки тому
rinpatch
2c55f7d7cb
Remove FedSockets
Current FedSocket implementation has a bunch of problems. It doesn't
have proper error handling (in case of an error the server just doesn't
respond until the connection is closed, while the client doesn't match
any error messages and just assumes there has been an error after 15s)
and the code is full of bad descisions (see: fetch registry which uses
uuids for no reason and waits for a response by recursively querying a
ets table until the value changes, or double JSON encoding).
Sometime ago I almost completed rewriting fedsockets from scrach to
adress these issues. However, while doing so, I realized that fedsockets
are just too overkill for what they were trying to accomplish, which is
reduce the overhead of federation by not signing every message.
This could be done without reimplementing failure states and endpoint
logic we already have with HTTP by, for example, using TLS cert auth,
or switching to a more performant signature algorithm. I opened
https://git.pleroma.social/pleroma/pleroma/-/issues/2262 for further
discussion on alternatives to fedsockets.
From discussions I had with other Pleroma developers it seems like they
would approve the descision to remove them as well,
therefore I am submitting this patch.
3 роки тому
lain
81293e5aad
ActivityPubController: Don't return local only objects
3 роки тому
Mark Felder
b1466661eb
Use absolute URLs to thumbnail and background in /api/v1/instance
3 роки тому