This website requires JavaScript.
bf2ee12fdb
Merge remote-tracking branch 'pleroma/develop' into cycles-router-mediaproxy
Alex Gleason
2021-05-28 13:08:23 -05:00
fda34591ce
Don't make MediaProxy be a compile-dep of Router Speeds up recompilation by removing MediaProxy as a compile-time dep of Router
Alex Gleason
2021-05-22 15:04:05 -05:00
e885b49e35
Merge remote-tracking branch 'pleroma/develop' into cycles-router
Alex Gleason
2021-05-28 12:44:16 -05:00
21787546c0
Router: move StaticFEPlug to a pipeline Speed up recompilation by breaking a cycle. Removes StaticFEPlug as a compile-time dep of Router.
Alex Gleason
2021-05-23 17:25:18 -05:00
a01093c505
Merge branch 'featured-totalItems' into 'develop'
Haelwenn
2021-05-27 21:01:54 +00:00
cd4352a86f
Missing entry for pinned posts federation from MR !3312
Mark Felder
2021-05-27 12:20:21 -05:00
4694853766
Provide totalItems field for featured collections
Mark Felder
2021-05-27 12:04:42 -05:00
f34e22bba2
Merge branch 'feat/expose_email_to_self' into 'develop'
Haelwenn
2021-05-26 18:04:23 +00:00
e8e8844c31
Cycles: improve cycles CI
cycles
0-cycles-rough
Alex Gleason
2021-05-24 11:39:59 -05:00
b8663fbdd9
Revert "Cycles: refactor Pleroma.User, Pleroma.User.Registration"
Alex Gleason
2021-05-24 11:42:52 -05:00
c9c6bd3e36
Cycles: elixir 1.9 fix
Alex Gleason
2021-05-24 11:24:24 -05:00
4d4daee232
Add cycles test to .gitlab-ci.yml
Alex Gleason
2021-05-23 18:31:07 -05:00
c031d25fc6
format/credo fixes
Alex Gleason
2021-05-23 17:49:32 -05:00
cc22659748
Cycles: move StaticFEPlug to pipeline Fixes cycle in lib/pleroma/web/plugs/static_fe_plug.ex
Alex Gleason
2021-05-23 17:25:18 -05:00
42d5d346a2
Cycles: fix cycle in lib/pleroma/reverse_proxy/client.ex
Alex Gleason
2021-05-23 13:58:34 -05:00
785eec84c5
Cycles: fix cycle in lib/pleroma/web/plugs/ensure_public_or_authenticated_plug.ex
Alex Gleason
2021-05-23 13:27:09 -05:00
38bda7a047
Cycles: fix cycle in lib/pleroma/web/auth/authenticator.ex
Alex Gleason
2021-05-22 17:46:12 -05:00
fdb58a7fe6
Cycles: break out Pleroma.HTML, Pleroma.Activity.HTML Fixes cycles in lib/pleroma/ecto_type/activity_pub/object_validators/safe_text.ex
Alex Gleason
2021-05-22 16:44:51 -05:00
6124cfe9ae
Cycles: refactor Pleroma.User, Pleroma.User.Registration Breaks cycles involving UserEmail
Alex Gleason
2021-05-22 16:31:43 -05:00
93c0eb49db
Cycles: break cycles in lib/pleroma/uploaders/uploader.ex
Alex Gleason
2021-05-22 15:30:14 -05:00
3ed2723d5a
Cycles: replace all plug(:put_layout, _)
calls with real views This makes views depend on each other at runtime
Alex Gleason
2021-05-22 15:23:33 -05:00
42119b9c1c
Cycles: Don't make MediaProxy be a compile-dep of Router Breaks cycles in lib/pleroma/web/media_proxy.ex
Alex Gleason
2021-05-22 15:04:05 -05:00
aa5e293319
Cycles: Break apart PleromaAPI.NotificationView from MastodonAPI.NotificationView
Alex Gleason
2021-05-22 14:59:12 -05:00
3beff6a9fa
Cycles: avoid use Phoenix.Swoosh
to prevent recompling the Endpoint Fixes cycles with lib/pleroma/emails/user_email.ex
Alex Gleason
2021-05-22 14:48:13 -05:00
ad8fdea4b0
Cycles: Pleroma.User.avatar_url/2 --> Pleroma.User.Media.avatar_url/2 Reduces cycles in lib/pleroma/web/views/email_view.ex
Alex Gleason
2021-05-22 14:32:49 -05:00
ebd67f9e36
Cycles: just don't autogenerate context in AnnounceValidator None of the other validators do it and it's not worth creating a compile-time dep on Endpoint
Alex Gleason
2021-05-22 14:12:15 -05:00
a5042f2d4f
Cycles: Pleroma.Activity.search/3 --> Pleroma.Activity.Search.search/3 Helps break up cycles between views
Alex Gleason
2021-05-22 13:32:06 -05:00
4745c30b06
Cycles: Pleroma.Constants.as_local_public/0 --> Pleroma.Web.ActivityPub.IDs.as_local_public/0 Prevent recompiling Endpoint when a file requires Pleroma.Constants
Alex Gleason
2021-05-22 13:17:26 -05:00
4a371da57a
Cycles: move ID generator functions, Pleroma.Web.ActivityPub.Utils --> Pleroma.Web.ActivityPub.IDs
Alex Gleason
2021-05-22 13:10:26 -05:00
2224f342dd
Cycles: break cycles caused by lib/pleroma/web/activity_pub/activity_pub/streaming.ex
Alex Gleason
2021-05-22 12:51:11 -05:00
e993c811f4
Cycles: Pleroma.Application.user_agent/0 --> Pleroma.Web.Endpoint.user_agent/0 Reduce cycles on lib/pleroma/application.ex
Alex Gleason
2021-05-22 12:43:52 -05:00
410ff6b07b
Cycles: create Pleroma.Project to hold version info Reduce cycles on lib/pleroma/application.ex
Alex Gleason
2021-05-22 12:38:23 -05:00
40709f302e
Cycles: Pleroma.Web.ControllerHelper.truthy_param?/1 --> Pleroma.Web.Params.truthy_param?/1 Breaks cycle in lib/pleroma/web/api_spec/operations/status_operation.ex
Alex Gleason
2021-05-22 11:41:55 -05:00
a78595d7cf
Fix Elixir 1.9 build warnings
Alex Gleason
2021-05-22 11:28:49 -05:00
5d0ac015dc
Merge branch 'mix_config_deprecation' into 'develop'
Haelwenn
2021-05-22 15:46:02 +00:00
5314718891
Cycles: use runtime deps in lib/pleroma/web/activity_pub/side_effects.ex
Alex Gleason
2021-05-21 18:14:07 -05:00
bf8d35d773
Cycles: switch imports to aliases in lib/pleroma/web/activity_pub/activity_pub.ex
Alex Gleason
2021-05-21 18:10:17 -05:00
292232c7cd
Cycles: use runtime deps in lib/pleroma/instances/**
Alex Gleason
2021-05-21 18:00:44 -05:00
81eeba87fc
Cycles: Pleroma.Web.AdminAPI.Search.not_empty_string/1 --> Pleroma.User.Query.not_empty_string/1
Alex Gleason
2021-05-21 17:52:47 -05:00
934fb45fbe
Cycles: refactor compile-time dep in lib/pleroma/web/plugs/frontend_static.ex
Alex Gleason
2021-05-21 17:37:34 -05:00
e3586e95a7
Cycles: use runtime deps in lib/pleroma/web/activity_pub/pipeline.ex
Alex Gleason
2021-05-21 16:58:20 -05:00
d673e3c073
Cycles: Pleroma.Web.base_url() --> Pleroma.Web.Endpoint.url()
Alex Gleason
2021-05-21 14:53:55 -05:00
2dca33a0c8
Cycles: Pleroma.Web.get_api_routes/0 --> Pleroma.Web.Router.get_api_routes/0
Alex Gleason
2021-05-21 14:47:11 -05:00
64f4a27d00
Cycles: break compile-time cycles for Plugs by ignoring aliases in module attributes
Alex Gleason
2021-05-21 13:04:57 -05:00
3b97882499
Cycles: fix lib/pleroma/gun/connection_pool.ex cyclic dependency
Alex Gleason
2021-05-21 12:31:28 -05:00
df83d6fb41
Cycles: fix lib/pleroma/gun.ex cyclic dependency
Alex Gleason
2021-05-20 17:23:02 -05:00
8a6c1fe617
Merge commit 'e3173a279dad89dfce6eae89368ad3ba180c0490' into cycles
Alex Gleason
2021-05-20 14:27:14 -05:00
fe40f6f291
Switch from the deprecated "use Mix.config" to "import Config"
Mark Felder
2021-05-20 13:55:37 -05:00
05d678c070
Expose user email address to user/owner; not publicly.
Mark Felder
2021-05-20 12:50:43 -05:00
0461794375
Merge remote-tracking branch 'pleroma/develop' into plug-runtime-dev
Alex Gleason
2021-05-19 14:27:59 -05:00
e3173a279d
Put Plugs in runtime mode in :dev, :test to speed up recompilation
Alex Gleason
2021-05-19 14:27:02 -05:00
e343b46ea0
Merge remote-tracking branch 'pleroma/develop' into instance-view-recompilation
instance-view-recompilation
Alex Gleason
2021-05-19 13:39:29 -05:00
a5bbebda58
Fix InstanceView recompilation issue
Alex Gleason
2021-05-19 13:38:01 -05:00
ad7d4ff8bc
Merge remote-tracking branch 'pleroma/develop' into alias-router-helpers
Alex Gleason
2021-05-19 12:49:00 -05:00
07ffce0342
Update :auth setting type, add placeholders
Angelina Filippova
2021-05-19 01:56:22 +03:00
07fed0fda2
Switch to aliasing Router.Helpers
instead of importing
Alex Gleason
2021-05-18 17:11:25 -05:00
8e9f032f25
Merge branch 'chore/changelog' into 'develop'
feld
2021-05-18 21:54:54 +00:00
2d7f6ce6fb
Clarify AttachmentMetadata changes
Mark Felder
2021-05-18 16:46:51 -05:00
0db436789d
Merge branch 'blurhash' into 'develop'
feld
2021-05-18 21:41:34 +00:00
c64cbee26c
Fixed checking for Upload Filter required commands
Mark Felder
2021-05-18 16:28:21 -05:00
4ab3ef07d0
Check AnalyzeMetadata filter's required commands
Mark Felder
2021-05-18 15:51:11 -05:00
9b6b5ac196
Rename upload filter to AnalyzeMetadata
Mark Felder
2021-05-18 15:33:33 -05:00
7a91877ee4
Update ip_whitelist type
Angelina Filippova
2021-05-18 20:15:06 +03:00
44be498fe1
Merge branch 'optional-config' into 'develop'
lain
2021-05-17 18:41:12 +00:00
7ac4da8dd4
Merge remote-tracking branch 'pleroma/develop' into gitignore-runtime-exs
Alex Gleason
2021-05-16 13:22:26 -05:00
230ad82dad
gitignore config/runtime.exs
Alex Gleason
2021-05-16 13:22:07 -05:00
32ae8f4906
Merge remote-tracking branch 'pleroma/develop' into optional-config
Alex Gleason
2021-05-16 12:27:29 -05:00
b540fff908
Docs: use MIX_ENV=prod mix pleroma.instance gen
Alex Gleason
2021-05-16 12:20:20 -05:00
b22f54eb29
Make prod.secret.exs optional (with warning)
Alex Gleason
2021-05-16 12:26:32 -05:00
bcf6efce15
Merge remote-tracking branch 'upstream/attachment-meta' into blurhash
Alex Gleason
2021-05-14 09:09:32 -05:00
543e9402d6
Support blurhash
Alex Gleason
2021-05-14 08:38:23 -05:00
993fa4c290
Merge branch 'link-fixes' into rich-media
rich-media
Alex Gleason
2021-05-13 16:59:42 -05:00
faaca43acf
Fall back to discovery when OEmbed is invalid
Alex Gleason
2021-05-13 16:43:50 -05:00
f4ba83c576
Merge branch 'link-fixes' into rich-media
Alex Gleason
2021-05-13 14:42:39 -05:00
1997473979
Rich media: have invalid Rich/Video fall back to Link
Alex Gleason
2021-05-13 14:22:50 -05:00
92eb248581
Parser: don't be so strict about validating Embeds (leave it up to the Card)
Alex Gleason
2021-05-13 14:03:53 -05:00
72cc7b3369
Rich media: merge URIs when needed
Alex Gleason
2021-05-13 13:02:42 -05:00
5a57b025c7
Changelog: attachment meta
attachment-meta
Alex Gleason
2021-05-12 20:15:33 -05:00
ff02511057
Merge remote-tracking branch 'upstream/develop' into attachment-meta
Alex Gleason
2021-05-12 20:10:52 -05:00
6f0b42656d
Federate attachments as Links instead of Documents
Alex Gleason
2021-05-12 19:03:10 -05:00
02b9436494
Don't render media meta
if nil
Alex Gleason
2021-05-12 16:16:10 -05:00
4c060ae733
Ingest remote attachment width/height
Alex Gleason
2021-05-12 15:38:49 -05:00
ab9eabdf20
Add SetMeta filter to store uploaded image sizes
Alex Gleason
2021-05-12 13:38:11 -05:00
c4ecea651f
Fix ability to save settings correctly in AdminFE
feature/mrf_auto_subject
Mark Felder
2020-11-13 15:51:27 -06:00
d2f8053552
Compile the regex
Mark Felder
2020-11-12 10:17:38 -06:00
879a94c755
Make tests a bit more legible
Mark Felder
2020-11-12 10:11:20 -06:00
2b231eeaf9
Add trimming of punctuation that may cause matches to fail
Mark Felder
2020-11-12 10:04:32 -06:00
9b12bff1eb
Make sure matches work on whole words, case insensitive.
Mark Felder
2020-11-12 09:26:47 -06:00
83574e5448
little refactor and tests
Alexander Strizhakov
2020-11-12 14:50:56 +03:00
82a89f37b1
Clarify that it will not alter user-supplied subjects
Mark Felder
2020-11-11 09:48:46 -06:00
297481da66
fix butchered description
Mark Felder
2020-11-11 09:44:44 -06:00
6e3379c70f
Prefer plural assignment name when it's expecting a list
Mark Felder
2020-11-11 09:41:58 -06:00
a121997ec7
Not worth it to support regex. Bare keyword matches is sufficient.
Mark Felder
2020-11-11 09:41:41 -06:00
3d43ee2aeb
Support lists of potential keywords to match on, rename some assignments for clarity
Mark Felder
2020-11-11 09:36:46 -06:00
f00608ef05
Add default so the MRF doesn't error when enabled with no patterns
Mark Felder
2020-11-11 08:54:56 -06:00
1c65a6d53c
Enum.uniq in case it's a very long post. Maybe more performant to search this way?
Mark Felder
2020-11-10 14:14:27 -06:00
43bbc39d09
Split string so we can match on whole words
Mark Felder
2020-11-10 14:09:48 -06:00
6e21d8ea3c
Use Enum.map, downcase
Mark Felder
2020-11-10 14:09:30 -06:00
2880d22318
Add MRF to automatically append keywords to subject when matches found in post content
Mark Felder
2020-11-10 13:32:15 -06:00
e5b837d398
adding path field to description tabs
feature/2389-adding-tabs-into-descriptions
Alexander Strizhakov
2021-03-04 13:21:28 +03:00