Commit graph

13377 commits

Author SHA1 Message Date
Alex Gleason
811dcc1928
Fix FrontendController 2021-06-14 19:02:13 -05:00
Alex Gleason
d9a45175c0
Set soapbox-fe ref to develop 2021-06-14 17:56:19 -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
b327666f67 Merge branch 'cycles-phase-2' into 'develop'
Cycles phase 2

See merge request soapbox-pub/soapbox!32
2021-06-02 22:19:19 +00:00
Alex Gleason
1b73ff5ec0
Fix apparent Web.base_url() calls
For some reason these weren't changed in this branch
2021-06-02 16:57:14 -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
0074e9d5a0 Merge branch 'fix-missing-imports' into 'develop'
ActivityPub.Pipeline: fix missing imports

See merge request soapbox-pub/soapbox!31
2021-06-01 00:14:18 +00:00
Alex Gleason
4ee6d22b30
ActivityPub.Pipeline: fix missing imports 2021-05-31 19:13:30 -05:00
Alex Gleason
7bb9b841aa Merge branch 'erlang-23.3.4.2' into 'develop'
asdf: upgrade Erlang 23.3.4.2

Closes #19

See merge request soapbox-pub/soapbox!30
2021-05-31 23:18:59 +00:00
Alex Gleason
d31d7e188f
asdf: upgrade Erlang 23.3.4.2 2021-05-31 18:17:20 -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
eda02cfe00 Merge branch 'cycles-phase-1' into 'develop'
Recompilation speedup: Phase 1

See merge request soapbox-pub/soapbox!29
2021-05-30 18:10:42 +00: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
56cd7bc0f2 Merge branch 'asdf-erlang-23.3.4' into 'develop'
asdf: bump erlang to 23.3.4

See merge request soapbox-pub/soapbox!28
2021-05-23 20:41:33 +00:00
Alex Gleason
5fefa86f16
asdf: bump erlang to 23.3.4 2021-05-23 15:29:52 -05:00
Alex Gleason
c023721a04 Merge branch 'release-1.1.1' into 'develop'
Release 1.1.1

See merge request soapbox-pub/soapbox!26
2021-05-21 18:34:06 +00:00
Alex Gleason
586cb9db22
Bump version 1.1.1, update changelog 2021-05-21 13:30:36 -05:00
Alex Gleason
0f3524a59e
Fix broken FE :( 2021-05-21 13:28:44 -05:00
Alex Gleason
e3173a279d
Put Plugs in runtime mode in :dev, :test to speed up recompilation 2021-05-19 14:27:46 -05:00
Alex Gleason
07fed0fda2
Switch to aliasing Router.Helpers instead of importing 2021-05-18 17:45:30 -05:00
Alex Gleason
d03bad9b32 Merge branch 'prepare-1.1-release' into 'develop'
Prepare 1.1 release

See merge request soapbox-pub/soapbox!25
2021-05-18 17:48:36 +00:00
Alex Gleason
92886c9a34
Update changelog date 2021-05-18 12:36:36 -05:00
Alex Gleason
14b3487878
Update Soapbox FE build 2021-05-18 12:26:55 -05:00
Alex Gleason
6e547c4bdd
CHANGELOG_soapbox: update with links, prepare for release 2021-05-17 12:23:04 -05:00
Alex Gleason
6db3c31735
Soapbox: Bump version 1.1.0 2021-05-17 12:17:32 -05:00
Alex Gleason
94f1958a54 Merge branch 'asdf' into 'develop'
Use asdf to avoid Erlang cataclysm

See merge request soapbox-pub/soapbox!22
2021-05-16 21:58:02 +00: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
952c1f3a9c Merge branch 'gitignore-runtime-exs' into 'develop'
gitignore runtime.exs

See merge request soapbox-pub/soapbox!24
2021-05-16 18:39:54 +00:00
Alex Gleason
2a40aa9866 Merge branch 'optional-config' into 'develop'
Optional prod.secret.exs

See merge request soapbox-pub/soapbox!23
2021-05-16 18:36:20 +00:00
Alex Gleason
96183695bb
Merge remote-tracking branch 'origin/develop' into gitignore-runtime-exs 2021-05-16 13:28:43 -05:00