Mark Felder
e3dd0d45b7
Slip in a test to ensure we can use the atom syntax in mix task arguments
před 3 roky
Ivan Tashkinov
e00c667145
[ #3174 ] Refactoring: ConfigDB fetching functions, ConfigDB tests.
Minor fixes.
před 3 roky
Ivan Tashkinov
e9859b68fc
[ #3112 ] Ensured presence and consistency of :user and :token assigns (EnsureUserTokenAssignsPlug). Refactored auth info dropping functions.
před 3 roky
Mark Felder
657002e738
Answer new prompt interactively
před 3 roky
lain
fa0d0b602f
Emoji: Also accept regional indicators
před 3 roky
Mark Felder
e379ab8277
Add --force flag for delete and reset commands
Bunch of reorganization and consolidation
před 3 roky
Mark Felder
13947999ad
Use a callback strategy to short circuit the functions and print a nice error
před 3 roky
Mark Felder
3e6d9187a7
Add tests for config dumping
před 3 roky
Mark Felder
126d236455
We no longer expect mentions to link if they are prefixed with too many @'s
před 3 roky
lain
8fb259e739
Emoji: Only accept RGI emoji.
"recommended for general interchange"
před 3 roky
lain
3b3cf63118
Emoji: Add test for ZWJ sequence emoji
před 3 roky
lain
1adee08321
Emoji: Update to Unicode 13.1, switch base file, allow multichar.
před 3 roky
lain
5d15486098
SideEffects: fix test
před 3 roky
lain
222312900e
User: Don't allow local users in remote changesets
před 3 roky
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
před 3 roky
Ivan Tashkinov
d50a3345ae
[ #3112 ] Allowed revoking same-user token from any apps. Added tests.
před 3 roky
Ivan Tashkinov
f1b07a2b2b
OAuth form user remembering feature. Local MastoFE login / logout fixes.
před 3 roky
Alexander Strizhakov
6aadb1cb40
digest algorithm is taken from header
před 3 roky
Maksim Pechnikov
fb72f2034a
fix spec
před 3 roky
Ivan Tashkinov
12a5981cc3
Session token setting on token exchange. Auth-related refactoring.
před 3 roky
Mark Felder
54df44d380
Fix badly formatted JSON fixtures which causes Jason to erroneously detect control characters
před 3 roky
Mark Felder
3283d0805f
Use Jason instead of Poison in tests
před 3 roky
lain
67b15cc033
Search: Save detected pg version in a persistent term.
před 3 roky
Ivan Tashkinov
ccc2cf0e87
Session-based OAuth auth fixes (token expiration check), refactoring, tweaks.
před 3 roky
lain
8532325d65
SearchController Test: Fix test.
před 3 roky
lain
9a1e5f5d48
Search: Change search method based on detected pg version
před 3 roky
Maksim Pechnikov
66f411fba0
added subject actor to moderation log
před 3 roky
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.
před 3 roky
lain
783fa797bb
SearchController Test: Fix test
před 3 roky
lain
81b6f02a5e
Search Test: linting
před 3 roky
lain
a60242464e
Search: Add option to search with the websearch function
před 3 roky
Ivan Tashkinov
fcad3e716a
[ #2301 ] Quick fix: users with is_discoverable == false (default!) are included in search results.
před 3 roky
Alexander Strizhakov
46dab37351
little fix
před 3 roky
lain
11e0d5f9ac
Password Resets: Don't accept tokens above a certain age.
By default, one day
před 3 roky
Alexander Strizhakov
4aaffe3a10
log capture
před 3 roky
Alexander Strizhakov
be0b874e1d
fix for mastodon forwarded reports
před 3 roky
Alexander Strizhakov
a840aefda8
formatting
před 3 roky
Alexander Strizhakov
e2bf6b1f7e
fix for forwarded reports
před 3 roky
Mark Felder
415481a4d9
Add test for POST when push is disabled
Also group together the tests verifiying failure when disabled
před 3 roky
Mark Felder
3eaa5335c9
Revert adding extra alert types here
před 3 roky
Mark Felder
d9732fb7d3
Fix incorrect test description
před 3 roky
Mark Felder
ff7a4b6aa2
Test that we ignore invalid subscription alert types separately.
před 3 roky
Mark Felder
30f140e570
Ensure all supported push notification subscription alert types are tested
před 3 roky
Mark Felder
499faa82f6
Synchronize reaction notification text with PleromaFE's style
před 3 roky
Mark Felder
67a6abd071
Update OpenAPI spec/schema and test to verify support for pleroma:emoji_reaction subscriptions
před 3 roky
Mark Felder
3ce11b830e
Add capability for emoji reaction push notifications
před 3 roky
lain
bb9650f3c2
FrontendController: Return error on installation error.
před 3 roky
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.
před 3 roky
lain
81293e5aad
ActivityPubController: Don't return local only objects
před 3 roky
Mark Felder
b1466661eb
Use absolute URLs to thumbnail and background in /api/v1/instance
před 3 roky