Commit graph

8122 commits

Author SHA1 Message Date
Alex Gleason
98502836f5
EmailList: ApiSpec typofix 2021-06-14 20:23:25 -05:00
Alex Gleason
2f40a92647
accepts_newsletter --> accepts_email_list 2021-06-14 20:20:08 -05:00
Alex Gleason
9ec3865725
MailingList --> EmailList 2021-06-14 20:18:57 -05:00
Alex Gleason
90df530dec
AdminAPI: get email list subscribers 2021-06-14 20:08:13 -05:00
Alex Gleason
784b8b5f83
Build CSV from subscriber list 2021-06-14 19:24:41 -05:00
Alex Gleason
6109532083
Return accepts_newsletter to account owner only 2021-06-14 19:24:41 -05:00
Alex Gleason
a0f2cba0d8
Add accepts_newsletter field to User, set during registration or account updates 2021-06-14 19:24:36 -05:00
Alex Gleason
811dcc1928
Fix FrontendController 2021-06-14 19:02:13 -05:00
Alex Gleason
8527faecf5
Enable a frontend automatically with --primary arg 2021-06-14 17:55:21 -05:00
Alex Gleason
9a768429a3
Frontend: enable CLI task 2021-06-14 17:27:29 -05:00
Alex Gleason
a9106e4f13
Frontends: refactor with %Frontend{} struct 2021-06-14 15:00:00 -05:00
Alex Gleason
854b6ce816
Merge remote-tracking branch 'origin/develop' into cycles-phase-2 2021-06-02 16:12:45 -05:00
Alex Gleason
15c00f51be
Merge commit '10dfe814795f16d6c32f5b6a7421e3e7c597f1ad' into cycles-phase-2 2021-06-02 14:45:21 -05:00
Alex Gleason
ce7bc185a1
Merge commit '721c966842c2f9b4f4d6f227ecf3de69d2e66346'; commit 'a744c47e9a43a751438973a66b7201b006c6b944'; commit '8a5ceb7e53f1817f83a72b997f6b9daa7070972b'; commit '9879c18548c1b9f37df724259f65d5cd098f44c5' into cycles-phase-2 2021-06-02 14:44:22 -05:00
Alex Gleason
9879c18548
Avoid use Phoenix.Swoosh to prevent recompiling the Endpoint
Speeds up recompilation by fixing cycles in UserEmail
2021-06-01 16:17:03 -05:00
Alex Gleason
8a5ceb7e53
Remove deps from Uploader behaviour
Speeds up recompilation by limiting compile-time deps
2021-06-01 14:19:45 -05:00
Alex Gleason
a744c47e9a
Remove deps from Streaming/Persisting behaviors
Speeds up recompilation by limiting compile-time deps
2021-06-01 13:55:07 -05:00
Alex Gleason
4ee6d22b30
ActivityPub.Pipeline: fix missing imports 2021-05-31 19:13:30 -05:00
Alex Gleason
51a9f97e87
Deprecate Pleroma.Web.base_url/0
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
2021-05-31 16:48:03 -05:00
Alex Gleason
10dfe81479
Pleroma.Constants.as_local_public/0 --> Pleroma.Web.ActivityPub.Utils.as_local_public/0
Move as_local_public/0 to stop making modules depend on Web at compile-time
2021-05-31 13:39:15 -05:00
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
721c966842
FrontendStatic: make Router a runtime dep
Speeds up recompilation by removing compile-time cycles
2021-05-30 12:12:16 -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
Alex Gleason
64c6dd27b9
Merge remote-tracking branch 'origin/develop' into simplepolicy-announce-leak 2021-04-30 14:44:14 -05:00
Alex Gleason
ea1f72c751
Merge commit 'c16c7fdb8794df8558cf8fbe4231d8f9ec01bb6d' into simplepolicy-announce-leak 2021-04-30 14:27:32 -05:00
Alex Gleason
c16c7fdb87
SimplePolicy: filter string Objects 2021-04-30 14:20:54 -05:00
Alex Gleason
3d742c3c1a
SimplePolicy: filter nested objects 2021-04-30 14:20:37 -05:00
Alex Gleason
d4cb9fd9b7
Merge branch 'develop' of gitlab.com:soapbox-pub/soapbox into earmark 2021-04-30 14:15:18 -05:00
Alex Gleason
c5ae620451
Merge commit 'a8fa00ef666f574aec8048626aed78a7d62e6915' into earmark 2021-04-30 14:12:53 -05:00
Alex Gleason
6727a3659f
Remove Pleroma.Formatter.minify/2 2021-04-30 12:27:06 -05:00
Alex Gleason
01c220b722
Merge commit 'b7b05a074867c1444dd539d6d2331f6d5504f6e6' into blockers-visible 2021-04-29 13:52:36 -05:00
Alex Gleason
99b9106a50
soapbox version --> 0.0.99 2021-04-28 12:41:49 -05:00
Alex Gleason
8f698d081c
Add soapbox version to /api/v1/instance 2021-04-28 12:41:43 -05:00
lain
7dac83eb6e Linting. 2021-03-02 15:03:16 +01:00
lain
024c11c18d StatusController: Deactivate application support for now.
Some more things to discuss about, so we'll remove it from 2.3.0
2021-03-02 14:40:47 +01:00
Alex Gleason
1dc5794e29 Never forward the client's user-agent through the media proxy 2021-03-01 21:05:46 +01:00
Mark Felder
b1e1db82bc Store application details in the object under the generator key, not application key 2021-03-01 11:29:10 -06:00
lain
4a9d3a1f28 Merge branch 'features/reports-enhancements' into 'develop'
Enhance reports in Pleroma API: index, show

See merge request pleroma/pleroma!3280
2021-02-28 16:45:15 +00:00
lain
6a71aa535b Merge branch 'admin-api-versioning' into 'develop'
Pleroma APIs versioning

Closes #2509

See merge request pleroma/pleroma!3335
2021-02-28 16:22:22 +00:00
lain
050c4b1f14 Merge branch 'bugfix/peertube-mpegURL-object' into 'develop'
Video: Handle peertube videos only stashing attachments in x-mpegURL

Closes #2372 and #2535

See merge request pleroma/pleroma!3336
2021-02-28 16:18:23 +00:00
lain
e6a14e1cd1 Merge branch 'feat/client_app_details' into 'develop'
Support application field

See merge request pleroma/pleroma!3311
2021-02-28 16:17:34 +00:00
lain
d0823d7f1e Merge branch 'frontendstatic-ignore-api-calls' into 'develop'
Filter out API calls from FrontendStatic plug

Closes #2261

See merge request pleroma/pleroma!3346
2021-02-27 19:40:38 +00:00
Alexander Strizhakov
da5d21a1cf
don't use continue in Stats init for test env 2021-02-27 09:39:15 +03:00
Mark Felder
d35b6254b4 Store the client application data in ActivityStreams format 2021-02-26 18:14:57 -06:00
feld
840686ecd5 Merge branch 'fix/2498-expires_in-scheduled-posts' into 'develop'
expires_in in scheduled status params

Closes #2498

See merge request pleroma/pleroma!3315
2021-02-26 16:49:11 +00:00
feld
2217b35bd4 Merge branch 'ecto-rollback-in-test-env' into 'develop'
Possibility to run rollback in test env

See merge request pleroma/pleroma!3212
2021-02-26 16:47:53 +00:00
Mark Felder
76b166f040 Note our upgrade path for this functionality 2021-02-25 13:08:36 -06:00
Mark Felder
2da71a526f No need to filter out Mix.env() from the API routes. 2021-02-25 13:04:08 -06:00
Mark Felder
1552179792 Improved recursion through the api route list 2021-02-25 10:07:29 -06:00
Mark Felder
6b87dfad5d Filter out MIX_ENV from route list and add a test 2021-02-25 09:23:10 -06:00
Mark Felder
8ad1613717 Enum instead of Stream 2021-02-25 09:06:56 -06:00
Mark Felder
cea31df6a6 Attempt to filter out API calls from FrontendStatic plug 2021-02-24 15:27:53 -06:00