Commit graph

8051 commits

Author SHA1 Message Date
Alex Gleason
9c0e2ce345
Merge remote-tracking branch 'origin/develop' into cycles-phase-1 2021-05-30 12:58:51 -05:00
Alex Gleason
2e682788a3
Merge commit '07fed0fda2473fc4e1e3b01e863217391fd2902f'; commit 'e3173a279dad89dfce6eae89368ad3ba180c0490'; commit '21787546c01069d1d1d8261f0bc37d13a73122a9'; commit 'fda34591cefad94277385311c6391d1ca2adb36c'; commit '0ada3fe823a3c2e6c5835431bdacfbdb8b3d02a7'; commit '32d263cb905dd7fffd43a4955295af0b2b378537'; commit 'c9e4200ed2167772294fceb4f282979b5ea04981'; commit '3ff9c5e2a67ab83c2abdb14cd246dea059079e75'; commit 'fa543a936124abee524f9a103c17d2601176dcd4'; commit 'c23b81e399d5be6fc30f4acb1d757d5eb291d8e1' into cycles-phase-1 2021-05-30 12:58:24 -05:00
Alex Gleason
fa543a9361
ActivityPub.Pipeline: switch to runtime deps
Speed up recompilation by breaking compile-time cycles
2021-05-29 13:25:11 -05:00
Alex Gleason
3ff9c5e2a6
Break out activity-specific HTML functions into Pleroma.Activity.HTML
Fixes cycles in lib/pleroma/ecto_type/activity_pub/object_validators/safe_text.ex
2021-05-29 12:29:11 -05:00
Alex Gleason
c9e4200ed2
Create real Views for all Controllers
This makes views depend on each other at runtime instead of compile-time
2021-05-29 12:15:57 -05:00
Alex Gleason
32d263cb90
Config: use runtime deps instead of module attributes
Speeds up recompilation time by breaking compile-time cycles
2021-05-29 12:00:59 -05:00
Alex Gleason
0ada3fe823
Gun: use runtime deps in ConnectionPool
Speed up recompilation time by breaking compile-time cycles
2021-05-29 11:35:53 -05:00
Alex Gleason
3ebede4b51
Gun: make Gun.API a runtime dep
Speed up recompilation by breaking a compile-time cycle
2021-05-29 10:53:30 -05:00
Alex Gleason
c23b81e399
Pleroma.Web.get_api_routes/0 --> Pleroma.Web.Router.get_api_routes/0
Reduce recompilation time by breaking compile-time cycles
2021-05-28 13:51:01 -05:00
Alex Gleason
fda34591ce
Don't make MediaProxy be a compile-dep of Router
Speeds up recompilation by removing MediaProxy as a compile-time dep of Router
2021-05-28 13:07:34 -05:00
Alex Gleason
21787546c0
Router: move StaticFEPlug to a pipeline
Speed up recompilation by breaking a cycle. Removes StaticFEPlug as a compile-time dep of Router.
2021-05-28 12:43:02 -05:00
Alex Gleason
586cb9db22
Bump version 1.1.1, update changelog 2021-05-21 13:30:36 -05:00
Alex Gleason
07fed0fda2
Switch to aliasing Router.Helpers instead of importing 2021-05-18 17:45:30 -05:00
Alex Gleason
6db3c31735
Soapbox: Bump version 1.1.0 2021-05-17 12:17:32 -05:00
Alex Gleason
45f68d3f85
Merge remote-tracking branch 'origin/develop' into asdf 2021-05-16 16:46:25 -05:00
Alex Gleason
ba177d2a4b
Simplify mix pleroma.instance gen task 2021-05-16 16:46:21 -05:00
Alex Gleason
1c229364a5
Merge remote-tracking branch 'origin/develop' into blurhash 2021-05-14 09:12:41 -05:00
Alex Gleason
543e9402d6
Support blurhash 2021-05-14 09:07:16 -05:00
Alex Gleason
e674501017
Merge remote-tracking branch 'origin/develop' into oembed-discovery 2021-05-13 16:47:16 -05:00
Alex Gleason
faaca43acf
Fall back to discovery when OEmbed is invalid 2021-05-13 16:43:50 -05:00
Alex Gleason
3bf56a6be4
Merge remote-tracking branch 'origin/develop' into link-fixes 2021-05-13 14:35:19 -05:00
Alex Gleason
1997473979
Rich media: have invalid Rich/Video fall back to Link 2021-05-13 14:22:50 -05:00
Alex Gleason
92eb248581
Parser: don't be so strict about validating Embeds (leave it up to the Card) 2021-05-13 14:03:53 -05:00
Alex Gleason
72cc7b3369
Rich media: merge URIs when needed 2021-05-13 13:13:17 -05:00
Alex Gleason
7f8396160c
Merge remote-tracking branch 'origin/develop' into attachment-meta 2021-05-12 19:26:05 -05:00
Alex Gleason
6f0b42656d
Federate attachments as Links instead of Documents 2021-05-12 19:25:37 -05:00
Alex Gleason
02b9436494
Don't render media meta if nil 2021-05-12 16:16:10 -05:00
Alex Gleason
4c060ae733
Ingest remote attachment width/height 2021-05-12 15:38:49 -05:00
Alex Gleason
ab9eabdf20
Add SetMeta filter to store uploaded image sizes 2021-05-12 15:07:31 -05:00
Alex Gleason
589a2b4d16
Bump version 1.0.0, remove warning, delete extraneous install document 2021-05-10 17:03:41 -05:00
Alex Gleason
6614b52a17
Merge remote-tracking branch 'origin/develop' into notice-routes 2021-05-05 14:50:30 -05:00
Alex Gleason
50e3750758
Add notice compatibility routes for other frontends
Fixes: https://git.pleroma.social/pleroma/pleroma/-/issues/1785
2021-05-05 14:50:10 -05:00
Alex Gleason
b00d3bafa6
Merge remote-tracking branch 'origin/develop' into rich-media-redux 2021-05-05 12:38:58 -05:00
Alex Gleason
9fbea2df6e
Fall back to OEmbed "url" for Photo types 2021-05-05 12:38:43 -05:00
Alex Gleason
0ebf3b3afd
Add rich type back but sanitize HTML better 2021-05-04 19:27:16 -05:00
Alex Gleason
d2260bde45
Reject "rich" type embeds for now 2021-05-04 18:53:22 -05:00
Alex Gleason
8b9ff5dab2
Sanitize rich media HTML 2021-05-04 18:29:25 -05:00
Alex Gleason
3a4ad366d5
Fix existing tests 2021-05-04 18:21:43 -05:00
Alex Gleason
0afa091e6c
Fix MastodonAPI.StatusViewTest 2021-05-04 17:46:42 -05:00
Alex Gleason
359c1d9f1f
Fix ParserTest 2021-05-04 17:13:28 -05:00
Alex Gleason
6b2fa5f0bb
Let :oembed_providers_enabled be configurable 2021-05-04 16:28:14 -05:00
Alex Gleason
8e2ff7669a
Add Parser.CardTest 2021-05-04 16:16:42 -05:00
Alex Gleason
95196fb5ac
Handle invalid cards 2021-05-04 15:54:24 -05:00
Alex Gleason
ebeb9c6bc9
Refactor rich media parser to store %Embed{} instead of %Card{} 2021-05-04 15:42:24 -05:00
Alex Gleason
8c4599c1dd
Fix TwitterCard tests 2021-05-04 14:15:41 -05:00
Alex Gleason
63af654688
Update TwitterCard tests and add Parser.MetaTags 2021-05-04 13:32:31 -05:00
Alex Gleason
b045dc6058
Make OEmbed discovery work 2021-05-04 11:06:10 -05:00
Alex Gleason
765bdfca7d
Get basic embed working 2021-05-04 02:24:30 -05:00
Alex Gleason
fc3af26898
Merge remote-tracking branch 'origin/develop' into dont-crash-email-settings 2021-05-03 14:44:51 -05:00
Alex Gleason
c80b1aaf51
Don't crash when email settings are invalid
Fixes: https://git.pleroma.social/pleroma/pleroma/-/issues/2606
Fixes: https://gitlab.com/soapbox-pub/soapbox/-/issues/4
2021-05-03 14:43:14 -05:00