From f4150df593698a7962cece846cbec9f92fec4ea4 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 9 Jan 2022 15:41:49 -0700 Subject: [PATCH 1/4] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fbedba16c..9d23414fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -88,6 +88,7 @@ - Updated PublicApiController, enforce only_media on accountStatuses method. Fixes #3105. ([861a2d36](https://github.com/pixelfed/pixelfed/commit/861a2d36)) - Updated ApiV1Controller, add mastoapi strict mode. ([46485426](https://github.com/pixelfed/pixelfed/commit/46485426)) - Updated AccountController, refresh RelationshipService on mute/block. ([6f1b0245](https://github.com/pixelfed/pixelfed/commit/6f1b0245)) +- Updated ApiV1Controller, fix version on instance endpoint. ([a6261221](https://github.com/pixelfed/pixelfed/commit/a6261221)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.1 (2021-09-07)](https://github.com/pixelfed/pixelfed/compare/v0.11.0...v0.11.1) From e724633e0f176494fb560450e71b5d17258a3047 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 9 Jan 2022 18:18:25 -0700 Subject: [PATCH 2/4] Update components, fix api endpoints. Fixes #3138 --- resources/assets/js/components/NotificationCard.vue | 2 +- resources/assets/js/components/Timeline.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/components/NotificationCard.vue b/resources/assets/js/components/NotificationCard.vue index 66ad1368d..2c9a0a5c0 100644 --- a/resources/assets/js/components/NotificationCard.vue +++ b/resources/assets/js/components/NotificationCard.vue @@ -165,7 +165,7 @@ methods: { fetchNotifications() { - axios.get('/api/v1/notifications?pg=true') + axios.get('/api/pixelfed/v1/notifications?pg=true') .then(res => { let data = res.data.filter(n => { if(n.type == 'share' && !n.status) { diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index 7dc2b2a86..4e2e88852 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -591,7 +591,7 @@ methods: { fetchProfile() { - axios.get('/api/v1/accounts/verify_credentials').then(res => { + axios.get('/api/pixelfed/v1/accounts/verify_credentials').then(res => { this.profile = res.data; if(this.profile.is_admin == true) { this.modes.mod = true; From dc743aebd0318273e6753b59edfa86adf5b199ef Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 9 Jan 2022 18:19:44 -0700 Subject: [PATCH 3/4] Update compiled assets --- public/js/spa.js | Bin 1718683 -> 1718692 bytes public/js/timeline.js | Bin 171499 -> 171515 bytes public/mix-manifest.json | Bin 1983 -> 1983 bytes 3 files changed, 0 insertions(+), 0 deletions(-) diff --git a/public/js/spa.js b/public/js/spa.js index 0d29f203a305438b08d1f1c77f11ae8d944ff735..8ba87fe827cbb5aa5b29648c32875eb6313baa8e 100644 GIT binary patch delta 97 zcmV-n0G|Jw^Jt{=Xn=$PgaU*Egam{Iga(8Mgb0KQgbIWUgbaiYgbsucgb;)ggc5`k zgcO7ogcgJsv>5i`mk=!x3YTnl5pS2EWH4c5V>X8n5gE4-5gLmq DpoJk% delta 87 zcmZ4TIb-(cjD{A*7N!>F7M2#)7Pc1l7LFFq7OocV7M>Q~7QPn#7J(MQ7NHj57LgXw r7O@ubEfU`zPET6IC%IkXk;G3u4pR%W)RZ&>qjpI_$?cMYQr#K=Rlpr@ diff --git a/public/js/timeline.js b/public/js/timeline.js index 04302978e08c1b6060892c8d94c803e4c781b85d..e3f2658569b990406e43dbe6ed427038ff091994 100644 GIT binary patch delta 430 zcmaF8o9p*(t_{2|1ifv`@-tHu3>0l`!_?HmbP6ZSy^v%pw6CtUD%@=Q!hw;|dvo2( zI}Otp1TyhVF0kR;o|eUULPj7l+22b^QzuVD$=f4ETS;@ee>79f_F3(W><%18i3Ulj z=0=v&_ti1UZa;RMQC@ia{@aWvgjhhjrW<%N%JXR`rR7AFDQVW~B;`7qg2lG4ddJAe z$C6U%?KS;=9h2qs6c;8rZkS=Q3f0pE0~y7phuvb7n7-SENfTku8y6-w1kcKq=>dYL z(11Q;CXp4okQ>xJehj<;ZCti%TF#Xo?ht2BtHF;CzCEq zYDH?+cA&quGfn?{k&%D;H*ZGq?KA%~Ze(Ktd2_npA4VyN#{#^VI$1LEy~{ve*4bXg m##tw?Tm{6 delta 370 zcmeypo9p#%t_{2|1Pg7;@-tHu3>0l`!_?Hmbi60ay^v({wy& zX=O^9wK^ci^g>rg;puh1897-BBEnOrJKkaJ-2Uzs;|ZbdkKZyH@@;>^$TW$QB_rRv z45VFWdn6CjT3d+Pk0%)|rw9IFl;eik7^_e{T`-VQZ2E*hjE)F*-2B7nhTy6HWqg3( z@&7}Xi~Yw~gOGdpkMSUax9UG*E1Wmgoar2#Go6=_sRzMZ$jIc)qEw=t1@W964-?;Z eZ7-$<*6myTnS}H?OfAe(Q_>8KwgbaQR~`V#sd>Ht diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 9d089a6047fd06d0c240c3f090900ef8197efc6a..db5be1c7516404a238b199664ea390d3a4471422 100644 GIT binary patch delta 57 zcmdnbzn_1@Y&H>tR3nqrRKp}w%T#jbOJmc?>)C!tn3|dx8JZ<08l_kmB^sJp N8kn0KC~?(t0RREX5Iz6^ delta 57 zcmdnbzn_1@Y&Ma!loa!%G?QctGh=hhREsoo1H+Wb>)C!tq$C-brI}e885kNGrkJIf Nn^;(wDRI?u0RS3*5a<8^ From 7aea7e80e688950d70977a7a0068c13322f1c3dc Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 9 Jan 2022 18:19:53 -0700 Subject: [PATCH 4/4] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d23414fe..4b0cc2914 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -89,6 +89,7 @@ - Updated ApiV1Controller, add mastoapi strict mode. ([46485426](https://github.com/pixelfed/pixelfed/commit/46485426)) - Updated AccountController, refresh RelationshipService on mute/block. ([6f1b0245](https://github.com/pixelfed/pixelfed/commit/6f1b0245)) - Updated ApiV1Controller, fix version on instance endpoint. ([a6261221](https://github.com/pixelfed/pixelfed/commit/a6261221)) +- Updated components, fix api endpoints. Fixes #3138. ([e724633e](https://github.com/pixelfed/pixelfed/commit/e724633e)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.1 (2021-09-07)](https://github.com/pixelfed/pixelfed/compare/v0.11.0...v0.11.1)