Ivan Tashkinov
2c4844237f
Refactoring of :if_func / :unless_func plug options (general availability). Added tests for Pleroma.Web.Plug.
4 years ago
Ivan Tashkinov
89f38d94c7
[ #2409 ] Fixed before-action callback results persistence.
4 years ago
Ivan Tashkinov
2958a7d246
Fixed OAuth restrictions for :api routes. Made auth info dropped for :api routes if OAuth check was neither performed nor explicitly skipped.
4 years ago
Ivan Tashkinov
f685cbd309
Automatic checks of authentication / instance publicity. Definition of missing OAuth scopes in AdminAPIController. Refactoring.
4 years ago
Ivan Tashkinov
66f55106bd
[ #1682 ] Fixed Basic Auth permissions issue by disabling OAuth scopes checks when password is provided. Refactored plugs skipping functionality.
4 years ago
Ivan Tashkinov
bde1189c34
[ #2349 ] Made :skip_plug/2 prevent plug from being executed even if explicitly called. Refactoring. Tests.
5 years ago
Ivan Tashkinov
fc81e5a49c
Enforcement of OAuth scopes check for authenticated API endpoints, :skip_plug plug to mark a plug explicitly skipped (disabled).
5 years ago
Mark Felder
05da5f5cca
Update Copyrights
5 years ago
rinpatch
43f02dfe38
Revert "Parallelize template rendering"
...
This reverts commit 1ad71592ad
.
Since it had no limit on the number on concurrent processes it OOM killed
instances while rendering hellthreads. When I tried introducing a
concurrency limit with Task.async_stream/manual folds it lead to about 3 times
worse performance on threads larger than 1000 activities (we are talking
30s vs 1.2 minutes), I think this is not worth the about 1.5 times
performance increase on smaller threads when using it.
5 years ago
rinpatch
1ad71592ad
Parallelize template rendering
5 years ago
rinpatch
46d7bef7e7
Nicer formatting for safe_render errors
5 years ago
Egor Kislitsyn
26a6871609
Add translation helpers
5 years ago
Ivan Tashkinov
b6f915313f
Made auth customization be runtime-configurable.
6 years ago
Ivan Tashkinov
afddce45b3
Minor setting name adjustment (:app_template -> :app_layout).
6 years ago
Ivan Tashkinov
1097ce6d9f
Auth customization support.
...
OAuthController#create_authorization user retrieval / creation, errors handling, template & layout selection.
6 years ago
Haelwenn (lanodan) Monnier
d924dc73ba
de-group import/s
6 years ago
Haelwenn (lanodan) Monnier
2272934a5e
Stash
6 years ago
href
f83bae7c22
Views: wrap activity rendering in a rescue
...
this avoids complete timeline breakage when an activity fucks up
rendering.
6 years ago
William Pitcock
980b5288ed
update copyright years to 2019
6 years ago
William Pitcock
2791ce9a1f
add license boilerplate to pleroma core
6 years ago
lain
4afbef39f4
Format the code.
7 years ago
Roger Braun
c48c381e90
Merge branch 'develop' into dtluna/pleroma-refactor/1
7 years ago
Roger Braun
8141024259
Attachment parsing, better magic key fetching.
7 years ago
dtluna
6cf7c13228
Refactor code to comply with credo suggestions
8 years ago
Roger Braun
ce6cc84a4a
Add basic webfinger.
8 years ago
Roger Braun
d18473f0c3
Add port if specified.
8 years ago
Roger Braun
a93f3421a7
Phoenix skeleton
8 years ago