From 275d898a63479e7ad344357eed374722ccb08623 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 9 Sep 2021 12:00:42 -0500 Subject: [PATCH 01/32] Webpack: simplify module.rules --- webpack/shared.js | Bin 3638 -> 3595 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/webpack/shared.js b/webpack/shared.js index c0bbad931d2610c3e91fc76fa708cc5c001e0538..505554a6cb353c4eb7bd0277231d39fc7623bda6 100644 GIT binary patch delta 12 Tcmdlc(=D^%9s6cU4p}w;AejUf delta 56 zcmeB{*(S5$9lN%bf`3w0YI2EQc4}p@Mp0=_YO$tXZeoE3kgs5CrvMg-26AFGH@{<- GWdi_5J`@=M From 3672d9faa522ec86f9e64b16962b2ef6426d34cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Thu, 9 Sep 2021 20:05:54 +0200 Subject: [PATCH 02/32] Show user likes to others if hide_favorites===false MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/actions/favourites.js | Bin 2876 -> 6058 bytes .../features/account/components/header.js | Bin 18933 -> 18872 bytes .../features/favourited_statuses/index.js | Bin 2347 -> 5034 bytes app/soapbox/reducers/status_lists.js | Bin 5254 -> 6116 bytes 4 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/actions/favourites.js b/app/soapbox/actions/favourites.js index 44c40cd81d6f108eac84d7df447b65cd329f1003..ee884ad170f377dd58f84480c0a7bd962916cc67 100644 GIT binary patch delta 970 zcmdlZwn~4)Y$opH{Ji24h0tKvp!kU&r38Xp14CVdLlkTk)L~*1Z;7))*{U#x;$(A1 z0T@S0z|GOqM*#?sbWLt!6on|5e2`Iz6D|eh8NtP+C-X6Jqwv@#TQfloo?OTz&x360 z=0c{^9Fu3ViYbH^rxv*-mgScgWtOC-1eYY1loqEJYa}Ko=a=S{c&1F=!&E7mkOosx zY^72Sm#a;f?8t1z0y1K9HM3M0TtZXRnu`l$Ut&R~MtW)q$kq$VG637OpEECN&;0#zpqq_rnsb2XdH M=O($?&TTt00PfK$ssI20 delta 138 zcmdlnneppn#tmnkCP$d@Gbt!c&UcY#Ny#j;n;hsWGP%!1YVtA{`^izx+(5qY0Iq*!rWF|CO+FWS!f7hMN09~{(K>z>% diff --git a/app/soapbox/features/favourited_statuses/index.js b/app/soapbox/features/favourited_statuses/index.js index 233acf6402f003909f4249fd3900d122d4074838..7324a853ac57af9ce020666ea071d1f7b8c1d178 100644 GIT binary patch literal 5034 zcmbVQS&!Q`5PtWsm<@`^25fJFzPYQMZ2+UYMUewV5d@BG(J@;|R7GmDhT{L;8Q$_$ zr@i654 zNlR4Y`$W-)Kr=7PR%OeA?GtO26Yh>D#JtDb!J4Vn=1q1l+J-BZzf+lNC6i-d4|P`M z$4)fM2g#aahlcI=srPj{y~aNb2p5&SUOVlPQ?EtQmX-AyXuH9%&}tm>{HsoGnFLt%9yXd=%CJ;tdy`DLHZ230Z^wP3s$8uGqn^`|K-~^NYGnHiLRue#ZA93HB3sD zjN()8a6~n)h948}>KIBiC2cKw zr13QjBUvNuD?r0k+f?=iAfgzf3G~m@@;sNb;H9?T9OxpK3ECeu7QSJ7ml9oZVz{)4 z{7x~BE%`JC)wIkD++^}jG;9V}S3dd|*j2Fy<;~hrqIMzJE+uhB`?;drxXfGXH-u@w zG!3?kD=eynKHnH7PkTAWmt@pWl+NPu1e+WdOo3H8&r#XrDH%hVJut=PHzu#zqR1m>$yL-C$F0%^6G`kZM)!zsI&9#iYwMlP=kBYQ!gG>A=8j-y zy^ONN<*P!h{$><{e(D=mWE$l+yr!D8D&{#_v@|@6<(7o6GYmnL%eKnyGhWbOqbyQW zV@rAd5j;06XpdK~yR_Fp2kqkpm^O&C*bf$F%o~?44g4JzwH4HJ$~D)e9r`(R=WS{Xw0FIO zE?g$nQO<%QCvGa5oFVBurVbc6E(Wo5v80{ifXqiY*s&C%aCPRf`1r9OIk6_<-_t`; zCp5IH($74di0Gy++`|)l z<#1$iCjz`4U?LDbejLn$D{T77Q)fQ85UkqMW?R)k?>u+9&T`R+_QmG+-(x~{F-o76 zX)Ou6mERJANjn`p`riU+NZE%v$6aVxH|(COK|1fvWH^<)(hRAM}_pba?%kP!;ep%&<0&Fy`azZdWMTMK|+HN%9;Zl@Tf;PU@>S67OVEK z!4JdU7>_3C>Co+0Aimok=@rsJx7%4hv_J!JV=jiz{0IDWa7Vfh$2Zq~28%wr<@Rxh z_KO&5E>dn|7A|Ptr928=D5;C|=KLP?r2Gx9ZfU|wyxQX(lkUZna0Lv3AiTOcxZ?8M zvMvm(Yw$&6SmNfly%(nmg3_AfTGk_q{6`}3ArF6SSOr@oq!Ym39k3Y`eC0&} zawEP%Tf+u7g6Sjhj?XSJ&?4yKB17Nf0M;WJ&1Lee!DNS>(tGuD&@wmg^p7F*b4k=j z9tqOUKbjdurGp#Rsu4x;E8C{wUKs^Bl4Q{%?d(G=#e+=R`N#NNR1Uqn0HOCW|v~Ln*55{Z1OL5y~%Q{{A`&eskz1Kll?dhK-|f9 zSR^KI;?MxHr8YBi&SacCnOkx)2M`zYY6ICKlmGL|PcG$i5Xwj__RTL!)ltYS_Q_97 m$;?Ziyq;Hmaz78xWPAS1$$EmKlYa;*Pp%Ry-CQnY%m@Gxmn^3M diff --git a/app/soapbox/reducers/status_lists.js b/app/soapbox/reducers/status_lists.js index 7ac8184ac8c8e760a5d574037d11acd5562730f6..8a7ba60dc40127505de657dc75a539ea46f98738 100644 GIT binary patch delta 345 zcmZqEe4;<$3A=(qXs~Ng{6qt($vMp2tWb_Bj3G5Kp98|4{DE6~avd)_rw$iX4_M?b z52}d#zI^p*)+X3;41F07DoC*8l(j From 125f446eed12f3505104a6b8e636108ac88baa16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Fri, 10 Sep 2021 12:41:42 +0200 Subject: [PATCH 03/32] rename, add Polish translation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- app/soapbox/actions/favourites.js | Bin 6058 -> 6154 bytes .../features/favourited_statuses/index.js | Bin 5034 -> 5049 bytes app/soapbox/locales/pl.json | 3 ++- app/soapbox/reducers/status_lists.js | Bin 6116 -> 6152 bytes 4 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/soapbox/actions/favourites.js b/app/soapbox/actions/favourites.js index ee884ad170f377dd58f84480c0a7bd962916cc67..dfc1ee9ba4e7722acd8c756abe833fe5660ab7b1 100644 GIT binary patch delta 566 zcmZ3b-(|32ArptAv$KDwUr7AKk5ZElFma>t*(KDixl$_%@{39olJoP5OB4|5Rgu&x zPBv#0K;lbHZeT_=tAUwi@;YWgxSGia8I^bxY!%dD1_A|)*rA-s0W8YgNRmLlF+yh{ zlRUoy5Fl$VWYXGvmt{K#yJK>4eraCGF@(%m_)1;^Z4*+LQA+fWCpc z1!Aryk{YSWA2_%s#|e4E)NEcW6wV0aOoll2G@K7{X!PU)Q8u_3!m-Me4LA|v$PNYt oGSIcclU>DR;2NPWMh@%A_juSQ-xG6$t3h}1WMG(2ZWmVu0K{0jC;$Ke delta 504 zcmeA&Sf#&VArnhzuxrrdh0M~EKQOU#DA+2fBMFEjWDOYECmS%cAPc}{<+&Ar0HM_Y zrb=}3dPX5+4&P)=76D`d_Q`xq+~@-AldYMMRK+tPnGw&#J$V8Uuj1v~%+I=#gC(>$ zwP^Bw-WL$YLsqHDSt2Tv-|*ds2+Ze^nw%gS&6$>3lAHln+aRtn`GctPWC0FVgdQs~ zC73I~Au*X>&=uJL?#T^;>IfAD9K4e)#8oH%7BqsWY7lpT$;wZjB@_q|-Ormp`2eTh zS1fP#{JvXQtu%s{w{L??qn Mt&f*&@>_9P0QrHPdjJ3c diff --git a/app/soapbox/features/favourited_statuses/index.js b/app/soapbox/features/favourited_statuses/index.js index 7324a853ac57af9ce020666ea071d1f7b8c1d178..09907434d0d48e8f94ea5462afc927c5caff3459 100644 GIT binary patch delta 70 zcmZ3bzEgd|V|K^n|jLW$u@vv{+z&)K2NKf9ttui^E_ZCbZ%4gkN I#%IC`0IL8Q2LJ#7 delta 73 zcmdm~zDj+rMZpP(YVAfquHW)Yn diff --git a/app/soapbox/locales/pl.json b/app/soapbox/locales/pl.json index 5ae873e7d8..997828ce54 100644 --- a/app/soapbox/locales/pl.json +++ b/app/soapbox/locales/pl.json @@ -312,6 +312,7 @@ "emoji_button.search_results": "Wyniki wyszukiwania", "emoji_button.symbols": "Symbole", "emoji_button.travel": "Podróże i miejsca", + "empty_column.account_favourited_statuses": "Ten użytkownik nie polubił jeszcze żadnego wpisu.", "empty_column.account_timeline": "Brak wpisów tutaj!", "empty_column.account_unavailable": "Profil niedostępny", "empty_column.aliases": "Nie utworzyłeś(-aś) jeszcze żadnego aliasu konta.", @@ -321,7 +322,7 @@ "empty_column.community": "Lokalna oś czasu jest pusta. Napisz coś publicznie, aby zagaić!", "empty_column.direct": "Nie masz żadnych wiadomości bezpośrednich. Kiedy dostaniesz lub wyślesz jakąś, pojawi się ona tutaj.", "empty_column.domain_blocks": "Brak ukrytych domen.", - "empty_column.favourited_statuses": "Nie dodałeś(-aś) żadnego wpisu do ulubionych. Kiedy to zrobisz, pojawi się on tutaj.", + "empty_column.favourited_statuses": "Nie polubiłeś(-aś) żadnego wpisu. Kiedy to zrobisz, pojawi się on tutaj.", "empty_column.favourites": "Nikt nie dodał tego wpisu do ulubionych. Gdy ktoś to zrobi, pojawi się tutaj.", "empty_column.filters": "Nie wyciszyłeś(-aś) jeszcze żadnego słowa.", "empty_column.follow_requests": "Nie masz żadnych próśb o możliwość śledzenia. Kiedy ktoś utworzy ją, pojawi się tutaj.", diff --git a/app/soapbox/reducers/status_lists.js b/app/soapbox/reducers/status_lists.js index 8a7ba60dc40127505de657dc75a539ea46f98738..1953e636cf56860651470fcfea047cfdb9a10f72 100644 GIT binary patch delta 235 zcmaE&-(fJ}8M~vivwx^x$m9u(qLV-Hu}zj2W#`u6Qcyq^pTN&Mc>)Uynp&>O1x(0d zGLsv4(DkY#>5-Xuk8Sf^#!wz4F_@hKNMay!)Fv;eq5?^_FtH%3Vw-$Hlm%I(I!sn( z@@__MIA`KLw$1MuLwR5VAREMB9OcOi`21lUkPOIFUYLN)X1ohY3Pd U74T|Ke!%Ym6O`HPEwGmz0CL4U(*OVf From 196284695b398bb53280c19342840ce53fa30c32 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 10 Sep 2021 11:44:18 -0500 Subject: [PATCH 04/32] SoapboxConfig: allow authenticated profiles to be configured --- app/soapbox/actions/accounts.js | Bin 23594 -> 23514 bytes app/soapbox/actions/soapbox.js | Bin 2829 -> 2861 bytes .../features/favourited_statuses/index.js | Bin 2347 -> 2351 bytes app/soapbox/features/pinned_statuses/index.js | Bin 1852 -> 1856 bytes app/soapbox/features/soapbox_config/index.js | Bin 23024 -> 23734 bytes app/soapbox/features/ui/index.js | Bin 23724 -> 24246 bytes 6 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/actions/accounts.js b/app/soapbox/actions/accounts.js index e215e5256dea75b706713b8ebaf852fef50efe79..9fd4a478e95a90a76ff98dfb662d3b28e5ec2572 100644 GIT binary patch delta 31 lcmZ3rgYnjO#tr|BC&xr^Zq_%s$PQvm);HnaY-96I9su3l44wc0 delta 35 kcmcb$opIF;#tr|BCpXw@Og8Wk*(_voj2+H-WBpDZ02P1^wg3PC diff --git a/app/soapbox/actions/soapbox.js b/app/soapbox/actions/soapbox.js index d2abc83a655d9db1f796842aa2581b532f1ae563..64fbe18912ecfa14ce95012675e594ea313f7b8e 100644 GIT binary patch delta 41 wcmeAbTPwDqhgC*FA+fY1BQ>uiGdZy&H6@@ZKP@vS)k>kHs5EtR2Wu-U06I($8~^|S delta 12 TcmZ20)+@H5hjsHB)<#wUAQ=Rb diff --git a/app/soapbox/features/favourited_statuses/index.js b/app/soapbox/features/favourited_statuses/index.js index 233acf6402f003909f4249fd3900d122d4074838..527afd2debc792c7f0e39545b17f76b136e97ac7 100644 GIT binary patch delta 17 YcmZ22v|eZf3p0z3g1Y)<7G`xe04b#dy8r+H delta 12 TcmZ24v|4Bb3-e|UW_30I8UOsYUdiMJb_pr0hR0`sq!)6CIu)lD6)WVH7MCa_ zr7Gm)r>Cc;=w{|Al;kUvWu}$`?Jda3Of6PO%u7+oO-;#6RLIX$Cq@3)*5L*c41YuVszZ W)DN0AlQ(EsOg>{Gt+tYK8RFlHmNrf~5Qk=ls01%=F2HoRaLt5RuK(Ie)WiC@3W7=M|SI zKm`?SG4yB@mn4>?Ztmx2VdPYRsoUHyaEVC~&b3m&bfsQyV!`AZQ_0QQ!VXNFIxwA+ z8~j8k-?wA4N-QnONX;wBOa_{s0`yy2W=<;5dZVB*SErFrl)8^ ZW+sCfQj7h9*#%+YVp|Q1KHsQ#CID8h&~^X- delta 111 zcmV-#0FeK-y#cJb0kAp&vvvVs2(uCj_yw~y5CH+RLlMpblS(%Vvr7~}0uLa4AUz;- zXlZjUaB^>ObF=9dvk{XaC_^L?Y RlhQ&Jvp`h_2eVjQUII}mCLjO+ From 50caa0d1d8a84d138b1a18eda5334080af56b3e1 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 10 Sep 2021 15:58:29 -0500 Subject: [PATCH 05/32] Webpack: replace file-loader with asset/resource asset module --- .../features/crypto_donate/utils/coin_icons.js | Bin 585 -> 146 bytes webpack/rules/file.js | Bin 546 -> 245 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/features/crypto_donate/utils/coin_icons.js b/app/soapbox/features/crypto_donate/utils/coin_icons.js index 2c0376bfa5357448791ff77067faf9331c23d08b..39fe39ded9089851e78624cffb250995aa21e2e5 100644 GIT binary patch delta 68 zcmX@fGKq2W6GmH+YAywZqSTVoqC6l~SejXss*x~x2BW-^N_9zQa&~HwUP-=BetBw< Wb7FC-hGwl^aanqTrZrcsH5ULjYZo*C literal 585 zcmZ9K!EW0y42JJ|3LXm7E@}xWhM{Ya0z`c@2T!3LEwbcNR2!qsyN|Y$9(poJ zksp8lv@viWF+qwQ0+X{lqyadB>-tCxwfDeV1ZQJN;DWr2VNdZNT2{uuAH*BjGWY4m zn8dZ+#aE=p$2VYcTc2!+%90@$q zQ03%8TfO1mUbsq)BKW9f1@DKYQcVtaO`ScDrH68<4oc0-Pm=K^%hKXlVBB+YZfWQ_+DwGOicKTZjG}Gyk<9s} z94q7HxRPYgOesW#`{`!KL9-4?%aMLZf)<&@&Che5%4eVC^)9;bAdyHut$X`rnU9Y- Qp<4_ne+x(=Wbc>iKN*w9ssI20 diff --git a/webpack/rules/file.js b/webpack/rules/file.js index d23a0a97756343e5d218385a0f45557eb5319424..47516e57679b57ddf72822993bf8ebefa4394fca 100644 GIT binary patch delta 103 zcmZ3)@|AI-(zN)J%7RoY1@*+@;?xrTqSWI2(xT*4bsa7Rh4j?C)S|?a{30ubY9LoZ zAuTf}H7_w2q`V+8IlEXtH#H?QQ9n94Kd&S;uOuU}I3qSXwW1^zti4u;tJaze08WP@ ArT_o{ literal 546 zcmZut!ES>v488LeK2!>k+HjqycH9r_iV%&!wAmnGaiSr0{QDf%Zmrf_>{!pw@4ePp z3UG!uXDlr63?4tC@tBKAhm(-|ti2!zLooJ8_b8B<>JM<-p-VC_=`H6&0&rL}kmA_~Jt4GWeR^AK&Ob_c+8QTuAL(2a|y69VM zQZn*>2{^Y9y#RrV-v8!;>bgEUw7HhG;s7nf$oBknL?*{f) i7Z3Q#r~i!0)jGg>dFJ%jFdy2vf-hTZskhm(&%Oa^cc-2J From 19181f40c348f894af0002d15502d93fe98b607f Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 10 Sep 2021 17:15:57 -0500 Subject: [PATCH 06/32] Webpack: bundle Twemoji icons as assets --- app/soapbox/components/autosuggest_emoji.js | Bin 953 -> 864 bytes .../components/emoji_picker_dropdown.js | Bin 11562 -> 11480 bytes app/soapbox/features/emoji/emoji.js | Bin 3532 -> 3466 bytes webpack/shared.js | Bin 3595 -> 3318 bytes 4 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/components/autosuggest_emoji.js b/app/soapbox/components/autosuggest_emoji.js index 6311061b08813e5bed5cb60cbbca858589ba5fdf..da2df72a35a0783c5c0eab41bef27764610b354a 100644 GIT binary patch delta 44 zcmdnV{(x;l_r?cX8D)x63rjPLQZ*7v%2RXmvoiG)i;GiBiuH@j()BlQWny6j0IF#b AhyVZp delta 131 zcmaFBwv&BAcTi?-L4Hw*LbXCxerBFRtwLH+ey)OgL1IaUx-}PE(#} delta 200 zcmcZ+xhiVIWyYY)+=Bd~5`}7oto+P8g<6HQqWoM1^@7Bb40UTRxTKqFd~m3fi)WCl zbBKRXBwSr_equpVeuaKgX=YAJd~$wXT4ws@3yjlQG(g5_plQ=lP*2Ux&&pH>GKw=& jQ%m9vjWj-6cICe&ZGkPV40Syy6mt;-X{)TZN+3!qUv5RE>m^^3>e?tW5pH;^NejV*TQ> obbXcTw9K5;yu{qpT0I~?LDQOR@E;?A9O~ra8RY65 z;vWeip$ayG&fsv1u_Ew*JCsZ diff --git a/webpack/shared.js b/webpack/shared.js index 505554a6cb353c4eb7bd0277231d39fc7623bda6..372a0423f2af97900ed6540645b3585016e35e4e 100644 GIT binary patch delta 12 TcmeB{`6jvH4%g<7+)_*cC7T5p delta 141 zcmew+*)6l-4wrmheoAV5ZhlH>PHM4!NqK5+epaS_VsUY5NwI!$S^8ujZe>=m;ADPo zLvs|>U}4>q#FE6~{L-T2RQ=4{bf6KLB_*jv`o$TkAR~;8^a}F8rU*fd28+iV8iR%T MxlK1e;1Xj30MxrPWdHyG From 3359bda7f83afe8278dc1cc05e01505519fb46e5 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 10 Sep 2021 17:23:37 -0500 Subject: [PATCH 07/32] Webpack: bundle sounds as assets --- app/soapbox/middleware/sounds.js | Bin 1304 -> 1182 bytes webpack/shared.js | Bin 3318 -> 3218 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/middleware/sounds.js b/app/soapbox/middleware/sounds.js index a2fc7572fe190448f216868ae9ab6cbbef2911c4..6950e76188ec8532fa02830e85c7c3f0398f8577 100644 GIT binary patch delta 97 zcmbQiHII{9y|g%0p}3?dGr44Aq8AfiQEFjnW>Kn!x}KiCp5Ej`OupzsYRq})LaUk4 LRc+>H;ba5==cgSI delta 219 zcmbQoIfE-vy|g%0p}3?dGr2_Fnu{wlw;;c$M4?(CD?c+&p;jTSC_h(0y&$n911JlZ zbaRal4s~+z403f2@ehiGt1He=EJ(_)&`&DO%t?t)&d*EBOy9`u#Uu_gO#@Arj)MB+ YWF}vna{HL_aLQRRj<#l!YNobxj>E1u&@9QP{kL>lPybV~Y;0 From 0aa0828e130fd0f6139f8ca24f7ac0d480738099 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 10 Sep 2021 17:43:35 -0500 Subject: [PATCH 08/32] Webpack: really don't serve audio with sw.js --- webpack/production.js | Bin 2428 -> 2460 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/webpack/production.js b/webpack/production.js index 9968a2ca99b445ad0095d74388af599dc00d679d..181d533e6eb0417b83378a35616f5a36cffdd5ce 100644 GIT binary patch delta 42 ycmew(G)H(t9LwYsmI<4=SW}rNe`gWqQP Date: Fri, 10 Sep 2021 19:18:51 -0500 Subject: [PATCH 09/32] Webpack: reorganize module assets rules --- webpack/configuration.js | Bin 923 -> 766 bytes webpack/rules/assets.js | Bin 0 -> 1280 bytes webpack/rules/file.js | Bin 245 -> 0 bytes webpack/rules/index.js | Bin 535 -> 544 bytes 4 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 webpack/rules/assets.js delete mode 100644 webpack/rules/file.js diff --git a/webpack/configuration.js b/webpack/configuration.js index 0089469c4749a0e49e66529e83937a1cb90d0c4d..960e25e60c64e6d268e42af2433b44c93c176d79 100644 GIT binary patch delta 12 TcmbQu{*QG-BID+NjB^8WYF=?>eqOPaLbQUqURFW6x(=95g)j>8 zAaqG)S{hg;GdUkj7neaK(la6Asre;f@%$19zXVE`=R-Au7)I)nAk%XTj3H{%A!g*K NC#oxKj$vHH2mtrJFdP5? diff --git a/webpack/rules/assets.js b/webpack/rules/assets.js new file mode 100644 index 0000000000000000000000000000000000000000..2c6fb3f0daa41da3bb96af9a753584b533a78417 GIT binary patch literal 1280 zcmc&!!H%0S5WVvibErfjg;;7Y6{||!e^{vpiYnI(h7H)RJtP|~`S*?u-B!IMyFK)R zVCMPp-kSj-;64N-7;Q5R7&0NCBXXe>;)LIwREPaz*julKp85uZkP%+2aFJ!onn3Uj z9)lf@2p9Oo_dllI<0f~Kx_o<=McRiB1A_Dj&Rc~{(?D++dqf|wu)aYbabFN722zJ$ zJW0q2140@Z6Qx0xYk+^18S+x%p(I!$rfdMd~()PU@_Hm20$371o3shaYoPK zsJCJl%V&q>N++U&$t%obr#EVt8g5qn0KeRAa_L;YgS;Q5#*l9#^pCEw4Srj*i7*`P zV_!6qSX-h_2kLlAqd_mp`Vyi*fVLkn8fHDou~^+{9KTHxwKH0ZM(2}l+jM#VkDgl=aNRPGypa W>Rj~k=W?s^^>bM$ZgNoHWj_J=XreX% literal 0 HcmV?d00001 diff --git a/webpack/rules/file.js b/webpack/rules/file.js deleted file mode 100644 index 47516e57679b57ddf72822993bf8ebefa4394fca..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 245 zcmXwz!ES>v5Jd0(iakU!NXXoYdh8GM8byiaOo-dCCf-G*qWpUeQm?yj=1oW}N(%{8 zBlkipy-~(%iW!x4t__Lrv7fTnnAp}wV}^8_o^Y7QlvN787$SveM~rX!K>t3E)wMb- z|D{f}#KXl)xyS{xf~C}n`%IB5`)lj9K3p5J(bmn@_A{a*yYp>^q$vm3?bCx%wxrzc mTB3V=g8i`JqYq!w4!A|%p33fG(TA7E`BaSOJ-#+(J(@p$lTvd4 diff --git a/webpack/rules/index.js b/webpack/rules/index.js index 91a4abd19e2a40d9a63d0b8ff54fcc449b10c2de..d3290659e816b9b03cc69aa38fd1122f406faa31 100644 GIT binary patch delta 50 xcmbQvvVdj68L7nL;?$C21zUxp)WXutqEroaJ$;DS#78eV_4M>0oXO`IJpkYn6E6S& delta 41 scmZ3$GM#0@8L_m?oKyu{g`(8L(#)b%4Rt+zkjTVmFIhnJ Date: Fri, 10 Sep 2021 19:30:47 -0500 Subject: [PATCH 10/32] Webpack: use one entrypoint --- app/application.js | Bin 200 -> 258 bytes webpack/shared.js | Bin 3218 -> 3121 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/application.js b/app/application.js index a6d4ed1995b3c637ea238b85d43dcd0d2aa698ae..96cedfeef3fd6c5ac8027319cf28ec64c577bacd 100644 GIT binary patch delta 64 zcmX@X*u*p;#!O#d!6!d4MWMK)GAFe-BQ>>zt0=XwG_xpGLtRfFBC4NQP>_?EoLG{X PpQl%xTwJU^F`@tf-0Bxx delta 9 QcmZo-I>9(0X5zFQ01>nU%>V!Z diff --git a/webpack/shared.js b/webpack/shared.js index d3414d6c063ec19a9b6d163b677dfb3bbdb1ccb5..0c4bd856e8163abc5c70c137f3e3795381eda4dd 100644 GIT binary patch delta 28 icmbOvxlv+62McR8mx6-A Date: Fri, 10 Sep 2021 19:39:39 -0500 Subject: [PATCH 11/32] Webpack: fix some warnings from OfflinePlugin --- webpack/production.js | Bin 2460 -> 2430 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/webpack/production.js b/webpack/production.js index 181d533e6eb0417b83378a35616f5a36cffdd5ce..b633ec8ee341d50509db7889bd9d10ad6bff2f8a 100644 GIT binary patch delta 67 zcmbOu{7-1ZT$ahFSok)-V_C>zq@Ylon3funA6lI1Ur>^npO={9oS2-ET5P3IQdF9% T!=(TOwVEJ0R)?!r)0ztaOrI6P delta 60 zcmew-G)H*DTo%c!f^>BqE(JJH*V5A0(#tAHo!rTyG})9xZ1ZZCg)F?anjl57I$X7y G)?5JY9uFS? From a720f3ea32d52fb6872f0235a45c5931d6da9d15 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 10 Sep 2021 20:11:36 -0500 Subject: [PATCH 12/32] Webpack: OfflinePlugin improvements --- webpack/production.js | Bin 2430 -> 2561 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/webpack/production.js b/webpack/production.js index b633ec8ee341d50509db7889bd9d10ad6bff2f8a..cccfc41634c17189d3718e214c2a642ea0afad0e 100644 GIT binary patch delta 459 zcmew-)F`q+gjt?T0S?p)5|guw^;2{6voiG!)65KvbhRemXEBsfP=HEh<|d}67V8@W zCG-mN($#eo6eg>&Dol1^RdR;E|eGRD#tWGpH({BA>+4^o-2BbZqL3QYUA!$RJs0W@I#ZHjAVY%tD}>jVuvn zg##_D#A=Y? Date: Mon, 6 Sep 2021 19:03:23 -0500 Subject: [PATCH 13/32] Jest: fix SVG import breaking tests --- jest.config.js | Bin 829 -> 1090 bytes package.json | 1 + yarn.lock | 5 +++++ 3 files changed, 6 insertions(+) diff --git a/jest.config.js b/jest.config.js index d7b2fb44a414ae447beb3ea030d3db5a73b7b66f..efe1644570b7b4494130f025d325beb5998f51bb 100644 GIT binary patch delta 274 zcmdnXc8Ftx6?46Uf_iR#N@-52Ut(^mZ(>0~YLU8?LN%8H5U9uLY3peu7Z=wQmsIA| zL) HT5|ya{li`U delta 11 ScmX@av6pRw6*F_KH5ULE!~;M8 diff --git a/package.json b/package.json index 018088f2df..4192942990 100644 --- a/package.json +++ b/package.json @@ -92,6 +92,7 @@ "intl-messageformat-parser": "^6.0.0", "intl-pluralrules": "^1.3.0", "is-nan": "^1.2.1", + "jest-transform-stub": "^2.0.0", "jsdoc": "~3.6.7", "lodash": "^4.7.11", "mark-loader": "^0.1.6", diff --git a/yarn.lock b/yarn.lock index 4876a41de5..9e75304e72 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7239,6 +7239,11 @@ jest-snapshot@^27.1.0: pretty-format "^27.1.0" semver "^7.3.2" +jest-transform-stub@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/jest-transform-stub/-/jest-transform-stub-2.0.0.tgz#19018b0851f7568972147a5d60074b55f0225a7d" + integrity sha512-lspHaCRx/mBbnm3h4uMMS3R5aZzMwyNpNIJLXj4cEsV0mIUtS4IjYJLSoyjRCtnxb6RIGJ4NL2quZzfIeNhbkg== + jest-util@^27.0.0: version "27.0.6" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.0.6.tgz#e8e04eec159de2f4d5f57f795df9cdc091e50297" From d0630c765f9eaba6970de76b14adf0641c5ffad6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 10 Sep 2021 20:37:13 -0500 Subject: [PATCH 14/32] Jest: update emoji tests --- .../autosuggest_emoji-test.js.snap | 6 +++++- .../__snapshots__/emoji_selector-test.js.snap | 12 ++++++------ .../features/emoji/__tests__/emoji-test.js | Bin 5996 -> 5872 bytes 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app/soapbox/components/__tests__/__snapshots__/autosuggest_emoji-test.js.snap b/app/soapbox/components/__tests__/__snapshots__/autosuggest_emoji-test.js.snap index 1c37278483..6bbb1eb748 100644 --- a/app/soapbox/components/__tests__/__snapshots__/autosuggest_emoji-test.js.snap +++ b/app/soapbox/components/__tests__/__snapshots__/autosuggest_emoji-test.js.snap @@ -20,7 +20,11 @@ exports[` renders native emoji 1`] = ` 💙 :foobar: diff --git a/app/soapbox/components/__tests__/__snapshots__/emoji_selector-test.js.snap b/app/soapbox/components/__tests__/__snapshots__/emoji_selector-test.js.snap index 06d7764ec1..d009a55512 100644 --- a/app/soapbox/components/__tests__/__snapshots__/emoji_selector-test.js.snap +++ b/app/soapbox/components/__tests__/__snapshots__/emoji_selector-test.js.snap @@ -15,7 +15,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"👍\\"", + "__html": "\\"👍\\"", } } onClick={[Function]} @@ -26,7 +26,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"❤\\"", + "__html": "\\"❤\\"", } } onClick={[Function]} @@ -37,7 +37,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"😆\\"", + "__html": "\\"😆\\"", } } onClick={[Function]} @@ -48,7 +48,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"😮\\"", + "__html": "\\"😮\\"", } } onClick={[Function]} @@ -59,7 +59,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"😢\\"", + "__html": "\\"😢\\"", } } onClick={[Function]} @@ -70,7 +70,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"😩\\"", + "__html": "\\"😩\\"", } } onClick={[Function]} diff --git a/app/soapbox/features/emoji/__tests__/emoji-test.js b/app/soapbox/features/emoji/__tests__/emoji-test.js index c8425c4c6db63e3a0fd2de969daf8a090179f465..ce8d4e2a8da9d8ecabcb6509b1867a47ef5a39fc 100644 GIT binary patch delta 638 zcmaE(_d$2Vd}jXW{G_bZt6ehoC_rlO%$SXHFjlB#*`~r{RWEl=w3~`Y9OpZF77GRg?XZOWw(lyRz z>>98*b@NHCnT!~wT;MUD{DW5-i+CW0m?19?+xppcCx7FW#qJc4WGJ5khH0_<>XX;- zO~WF7S{O_4Prk?{x;a2#Ikvc$o6IAuIoVI-0)}Cr;Pw&Si_<_OF+oO6EVij@T5~A? LK`odDksu5JzLnT$ delta 807 zcmeyM`$liWd}c%a)ZF~6Ont*N6EjO)BLjmJT{NZ{LexyJxGa6LBCFiwGt9G)by^_Q zAQ@tg5H*MEoXk?MM%YfM@^*fxQX_Lyh!OkvB`05CU5g>!!{#ppQ)>*gH`N$wgvw+- z_5xv;6x0|c1%1286WP3QYT>BBW`j7)7=#TVlN2T!vioAF2L)3RXETO4(4|s1%t=Zt zn!Hd{baOpd4WkHD4KOxLl0kj}yLltG{$yJoX@sP)fdz`>YhF14gicFSXeh`{e#(<7 zijY7UsW2I8CPEg;Oo%L2Lm@H2I@yeGzBH1-hOkICO$EDbGE5y4KO)u)EiFL~+q{qe z05ih5W(J64GDlEivc4$m@kC4oK(}n(CMw9N a33afMxv>c>_|!G6xfFn)7EFUk5C#A{-|z_l From c2560064e30aa8d7f565cb91d14a5cad19d21d47 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Wed, 8 Sep 2021 15:45:44 -0500 Subject: [PATCH 15/32] Sentry: basic monitoring --- app/soapbox/build_config.js | Bin 881 -> 909 bytes app/soapbox/components/error_boundary.js | Bin 2657 -> 2737 bytes app/soapbox/main.js | Bin 1047 -> 1126 bytes app/soapbox/monitoring.js | Bin 0 -> 475 bytes package.json | 3 + yarn.lock | 80 +++++++++++++++++++++++ 6 files changed, 83 insertions(+) create mode 100644 app/soapbox/monitoring.js diff --git a/app/soapbox/build_config.js b/app/soapbox/build_config.js index 7e04196193cf6a7ce10e62c610b6ed7b86c193c6..bb9209d6c857bea16ea1451bfd2748537272a334 100644 GIT binary patch delta 42 ncmey!*2_NO7LS5Lu&ZB4P-MJIu;0cTQ<;R21$4M-HLbY-HTVrD delta 15 WcmeBW|HwAs*2Wi;nOJHyt+@a=dIl2! diff --git a/app/soapbox/components/error_boundary.js b/app/soapbox/components/error_boundary.js index 731e7ecf2305a52e3506652ab0a68a1cc4b9bf50..b2b077a5f83eabbedaa9a6758ba6072f5d9cfb31 100644 GIT binary patch delta 83 zcmaDTvQczGw{m7~L4Hw*f|f#Ju|jZaUP)1HR5Y>q6I4nsIkBLm ev?$fJB0067Br`uxBekd~zev-XYjXkPM-Bivr61G) delta 14 Wcmdle`cPy-_rz_lHXmht!vO#|EC+P} diff --git a/app/soapbox/main.js b/app/soapbox/main.js index 599831e08427101edf6529e56cc97c2734e4fdb6..3802874dfedfeab97def7afbc7e836c4e899b087 100644 GIT binary patch delta 81 zcmbQv@r+}`OGYIvg~Vco-2A-ElKi5~ymW=MqWoM1bv=EA(B%7!^|Jc<3c;y)B}J87 U3P`H;ic1oUN;Eb{Fzsgq0Km^3e*gdg delta 16 YcmaFHF`Z+>OUB8fOr@LGGVNpp06HoLV*mgE diff --git a/app/soapbox/monitoring.js b/app/soapbox/monitoring.js new file mode 100644 index 0000000000000000000000000000000000000000..c99edaa7022389994427f21d99bbc6e366f1b4d9 GIT binary patch literal 475 zcmZ9IK}*9x5QXpg74Mc-LZjD|f=GMt5}_%Ih?Gq-sVm8DnB7e)rT^VzV{7#|GvB;< zZ)DSIwzz>X$VgfKLdCj4cyD|aGl{~6^FWT^5s%8!j)j$48JzynmPH}e?wU`ZmaFY5 zeU6Z=(#`sHyUfzdp3$Ps^&!rktjleoRV9bzfDYbPeADc6&q@4^k zP#Tq7sYkv^s*|i$)5l0~F){L#yWMXSi^T$ANgdU?9r$omkXK0)yeZoM2|s&ay*I?0 zG4o{l9tB=Lj`2cZDs Date: Sat, 11 Sep 2021 13:51:43 -0500 Subject: [PATCH 16/32] Docs: SENTRY_DSN build variable --- docs/development/build-config.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/development/build-config.md b/docs/development/build-config.md index 7cf038ce54..e5083b8a0a 100644 --- a/docs/development/build-config.md +++ b/docs/development/build-config.md @@ -60,3 +60,18 @@ For example, if you want to host the build on `https://gleasonator.com/soapbox`, ```sh NODE_ENV="production" FE_SUBDIRECTORY="/soapbox" yarn build ``` + +### `SENTRY_DSN` + +[Sentry](https://sentry.io/) endpoint for this custom build. + +Sentry is an error monitoring service that may be optionally included. +When an endpoint is not configured, it does nothing. + +Sentry's backend was FOSS until 2019 when it moved to source-available, but a BSD-3 fork called [GlitchTip](https://glitchtip.com/) may also be used. + +Options: + +- Endpoint URL, eg `"https://abcdefg@app.glitchtip.com/123"` + +Default: `""` From ea3660abe30cf8f9de203813e6432e223e8de8fb Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 11 Sep 2021 13:52:48 -0500 Subject: [PATCH 17/32] Sentry: disable debug (too noisy) --- app/soapbox/monitoring.js | Bin 475 -> 454 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/monitoring.js b/app/soapbox/monitoring.js index c99edaa7022389994427f21d99bbc6e366f1b4d9..7b339b50b9876d44f2fd514e35c5083ec4f7fd64 100644 GIT binary patch delta 16 Xcmcc3e2jU*AJ(+QoZ{5UVvI)tJU|As delta 37 scmX@ce4BZ~A1Ob77uR@Kzc2+`TU!P7l+?1+ocw~^)Vvb)$&8Fg0sUVL{r~^~ From ad461343d2b0d35c419692000f602b4b3c4bb273 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 11 Sep 2021 14:24:54 -0500 Subject: [PATCH 18/32] Status: fix propType warnings with OrderedSet --- app/soapbox/features/status/index.js | Bin 20191 -> 20215 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/features/status/index.js b/app/soapbox/features/status/index.js index 03890cb261389dc757c4379d11ebf86ec0d41583..3f9ad0f0ccff87c3f4cd9880686d44ca95a38d94 100644 GIT binary patch delta 51 zcmcaVm+|{t#tp@Sll}OGChPO-ZeAvMg_$$IC?&NhH6=K8a;>Nqg132 Date: Sat, 11 Sep 2021 14:31:24 -0500 Subject: [PATCH 19/32] StatusContent: add missing `key` props --- app/soapbox/components/status_content.js | Bin 8968 -> 9014 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/components/status_content.js b/app/soapbox/components/status_content.js index 0e5d066ea00939fc2bf194d151479d12f2724b77..508e2de1f3d07a1b51c6155032d506b24fbbbe24 100644 GIT binary patch delta 54 ycmeBh+vc|6s{&VcYNf4uL4Hn-`sC|Mnv-P}%_e6l%1oA*x8FQX(TNdN-VgvO1`{d( delta 30 mcmdny*5S6{tHLD3xXD$D;**)>Wj3!=3}T$5s4-bjnF9d1f(lLm From 5166a71c270107861ab673595ba8e15ac4ef6922 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 11 Sep 2021 16:21:12 -0500 Subject: [PATCH 20/32] CryptoDonate: refactor CryptoIcon into its own component --- .../components/crypto_address.js | Bin 1829 -> 1828 bytes .../crypto_donate/components/crypto_icon.js | Bin 0 -> 605 bytes .../components/detailed_crypto_address.js | Bin 1692 -> 1691 bytes .../crypto_donate/utils/coin_icons.js | Bin 146 -> 0 bytes 4 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 app/soapbox/features/crypto_donate/components/crypto_icon.js delete mode 100644 app/soapbox/features/crypto_donate/utils/coin_icons.js diff --git a/app/soapbox/features/crypto_donate/components/crypto_address.js b/app/soapbox/features/crypto_donate/components/crypto_address.js index b2498101c23a389682d76c153f7b2c1e22526f8a..0eba72655324ae04e786dfde9d9c6725aafb001b 100644 GIT binary patch delta 155 zcmZ3=w}fv4E2ErqQDs3%zGrfNo>+CWAg(RS0(`9Dk~EJ delta 136 zcmZ3&x0G)KE2Cz$LV9Y6bAD!?XL5d?LajntQGTw1x}KhXX-Q^Iv3@d8CO#7=RlHf5 zQJi@)CyTrTh^ubLrGNx%GIP@vii?tMtC398D9KFDPA$@`RY=S!v8^u2EXhf&RnWJa Rti>iZnTv42JJKg%6VesfGJmcIj!-G*#6epeVRqR7jX(x>l5TpF*^8fKF(xJ2^+kRYIbW^#Nc*#C-*QmO5?!9bg(U>qkA)*K`C-#sFYl>GQp%=w}X>#A>u>sbx|8FgG1ureLu}_DGsb$TDXyrP%-KKNz_57D+oy#pD LNLSJ>o(<6t>~_Th literal 0 HcmV?d00001 diff --git a/app/soapbox/features/crypto_donate/components/detailed_crypto_address.js b/app/soapbox/features/crypto_donate/components/detailed_crypto_address.js index de5971d3655d2f5d3286f76044fbe7c3bfd31d7a..6b06dd597721fe0603f1fe25cfae84bf86e2d7ad 100644 GIT binary patch delta 151 zcmbQkJDYcd2BVyFQDs3%zGrfNoliA>ZKqEene$iVoJ)IR4#4M&j zb{C4Q$;o$C7*(5Xr=!Mnsfh-%$PWPxCt4j5#0pZCSBa2jVl1;M7eEp($Nen({0^S= bsqlyOKkrPh`Vow`EKR$0wK285+j{o{;*~S+ From 053ca9efff883bb1fcb594e52b8ee0e9989e43c1 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 11 Sep 2021 16:49:05 -0500 Subject: [PATCH 21/32] Webpack: break out CryptoDonate into its own chunk --- .../components/detailed_crypto_address.js | Bin 1691 -> 1641 bytes .../features/ui/components/modal_root.js | Bin 3287 -> 3217 bytes .../ui/components/profile_info_panel.js | Bin 7254 -> 7579 bytes .../features/ui/util/async-components.js | Bin 8201 -> 8656 bytes app/soapbox/pages/home_page.js | Bin 4076 -> 4289 bytes 5 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/features/crypto_donate/components/detailed_crypto_address.js b/app/soapbox/features/crypto_donate/components/detailed_crypto_address.js index 6b06dd597721fe0603f1fe25cfae84bf86e2d7ad..0382291c01c5e33c906b7ef0abb074edbea6b442 100644 GIT binary patch delta 15 XcmbQu`;upZ(nilF#?99lkFo#&GC&3( delta 57 zcmaFKGn;pUl5Dj?a(-T3YI2D}twLH+ey)OgQEFmxiEdG9N@>MLi5^C72dDxKO|H#L I7>}|508U~Q6#xJL diff --git a/app/soapbox/features/ui/components/modal_root.js b/app/soapbox/features/ui/components/modal_root.js index ab690d44ec75a9c6606e88011f6a88b11d9e01c8..9f8a90b0ac9e1cd81c45a580b1cb41e8a36696cf 100644 GIT binary patch delta 52 ycmcaEIZ<-MH>SzD%vn6nMU@35`7Zf+i6yC<`r{CW(5Ei2@|LQ delta 86 zcmbOzd0leDHzsxGqRN7je3$&Z#FA9s{FKBTg|wplTm^MK{baCAdq#$L?|0HsJDz?c zlAPfTQ)63=V&LSB!lFD13e|A=$qm9{lQ)R6ax2&%#2!kBb1Eogr&iilXVy*z@)#8+ m+ld=PS%uI`vU#fbK^6eosA1Uv delta 132 zcmbPjea&J6GvnqU#)FLB&PA04CHamiDMhKp#R_Rf`MC<}#rcT^N%EHJl2rZV{M>^4ywtoBxI`jY`{rO~DG^ar1G7^rZL2eDCre5gPfn3gn!HF% KWb+$|^(+7rA2H+r diff --git a/app/soapbox/features/ui/util/async-components.js b/app/soapbox/features/ui/util/async-components.js index fb98c4f5b5ad9ad1ce4b8ab885e4ab3d35b4637d..4a86d4a61d920a6ab7aacd556cc254dcc1e17648 100644 GIT binary patch delta 147 zcmeBlxZu2jTW)f{EDviyVqR*_WI-v@$rof*DMrl9MOMa!>XXFr0i$R&Mf4 T0d8(2gD3Cfm*31S_m2?(dCWEe delta 12 TcmccM-084^TW<3u`G1T6Bk2WM diff --git a/app/soapbox/pages/home_page.js b/app/soapbox/pages/home_page.js index fc630d6588dd6119c699839c8e42414b1f4a6a68..b39403c2fb278c6e3fe8fa1800bbb6b7a6f9ad1d 100644 GIT binary patch delta 286 zcmaDOe^7D4b_b`@yp)_&=lr~q#LT?ZB89Y~{9FZfJw5%j)Wnj~qSRvj(oFqim~^pz z5?FmaTx8?gUyP#F3eH891ts||`FV*YsR4<3sW}R@lNT~ei5dadOti^4$c@DQKD*(pRC~E)! From d040de4c15e718b1b70f86ae18f3c298a4d81581 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 11 Sep 2021 17:03:53 -0500 Subject: [PATCH 22/32] Remove wdyr --- app/soapbox/main.js | Bin 1126 -> 1109 bytes app/soapbox/wdyr.js | Bin 215 -> 0 bytes package.json | 1 - yarn.lock | 9 +-------- 4 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 app/soapbox/wdyr.js diff --git a/app/soapbox/main.js b/app/soapbox/main.js index 3802874dfedfeab97def7afbc7e836c4e899b087..91822efefc01fbd7cf8aa2bef4bce1b414c20f20 100644 GIT binary patch delta 10 RcmaFHag}3&<{9 diff --git a/package.json b/package.json index 7a1ee4e285..5e4b106263 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,6 @@ "@sentry/browser": "^6.12.0", "@sentry/react": "^6.12.0", "@sentry/tracing": "^6.12.0", - "@welldone-software/why-did-you-render": "^6.2.0", "array-includes": "^3.0.3", "autoprefixer": "^10.0.0", "axios": "^0.21.0", diff --git a/yarn.lock b/yarn.lock index 958fca38fb..1da4cb4484 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2529,13 +2529,6 @@ resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.5.2.tgz#ea584b637ff63c5a477f6f21604b5a205b72c9ec" integrity sha512-vgJ5OLWadI8aKjDlOH3rb+dYyPd2GTZuQC/Tihjct6F9GpXGZINo3Y/IVuZVTM1eDQB+/AOsjPUWH/WySDaXvw== -"@welldone-software/why-did-you-render@^6.2.0": - version "6.2.0" - resolved "https://registry.yarnpkg.com/@welldone-software/why-did-you-render/-/why-did-you-render-6.2.0.tgz#a053e63f45adb57161c723dee4b005769ea1b64f" - integrity sha512-ViwaE09Vgb0yXzyZuGTWCmWy/nBRAEGyztMdFYuxIgmL8yoXX5TVMCfieiJGdRQQPiDUznlYmcu0lu8kN1lwtQ== - dependencies: - lodash "^4" - "@xtuc/ieee754@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" @@ -7811,7 +7804,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= -lodash@4.x, lodash@^4, lodash@^4.17.21, lodash@^4.7.0: +lodash@4.x, lodash@^4.17.21, lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== From 3fd1a10b73f6d2fa3d4fcab8d118e29470c3142b Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 11 Sep 2021 18:00:48 -0500 Subject: [PATCH 23/32] Webpack: optimize ScheduleForm --- .../compose/components/schedule_form.js | Bin 3192 -> 3489 bytes .../containers/schedule_form_container.js | Bin 487 -> 427 bytes .../features/ui/util/async-components.js | Bin 8656 -> 8793 bytes app/styles/components/datepicker.scss | 1 + 4 files changed, 1 insertion(+) diff --git a/app/soapbox/features/compose/components/schedule_form.js b/app/soapbox/features/compose/components/schedule_form.js index e679259a49b5d27afa38b2c96bb12744ab0eee9f..1394cb6a21d67542cbb89e11c30cd7da0e8176d8 100644 GIT binary patch delta 291 zcmew%u~2%#alUGW;?$Dhf36u5YQ_Sj>f z2Tu&|s5C=MzK0!s{dY%UX6ZG$#^S|0R>mPchk{qb-H)lx3#n3 z5`5?mn`rUPQxEwcUSwmX3J<4Wv@d2HIu3;-aGXpx*s5q5v{fPez;14FWOPlK16J2! z^|GKK2?0PwM%o`r1?3TzI1ctx0dV@09$9xQ;+(#R$@Oy!Agv>CuHm#*sj4dOOsEF( WL&zZOyquE1Zq2mAvFKTdEIt7dSCb(C literal 487 zcma)(F>Avx5QTUDinmz?*V$9jE~U_|kZhq8A)gzAEg9)t0>=Nn=g3Mzrh*oozIX5G zuI&fs854}NmJDM?<6V#3lQ#V1sUFYybJj*|Z%$I^=-v5#<*I69oV;4H95!JEz8fKK zx(R_eiLVwSjYphXXG3fhNOYOR35;G3d)7<`_vzgbutQj`*u6ka8IbI@v0nWUe^_04S1w{Z5djrw{ diff --git a/app/styles/components/datepicker.scss b/app/styles/components/datepicker.scss index ef8483b978..78a20b01f4 100644 --- a/app/styles/components/datepicker.scss +++ b/app/styles/components/datepicker.scss @@ -156,6 +156,7 @@ display: flex !important; align-items: center !important; transition: 0.2s !important; + background: var(--foreground-color); &:hover { background-color: var(--background-color) !important; From bf9a6950ebe15540ea97969e6d985b9605065825 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 11 Sep 2021 18:29:43 -0500 Subject: [PATCH 24/32] Webpack: optimize ErrorBoundary --- app/soapbox/components/error_boundary.js | Bin 2737 -> 2889 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/components/error_boundary.js b/app/soapbox/components/error_boundary.js index b2b077a5f83eabbedaa9a6758ba6072f5d9cfb31..069519f035daa756a3e77b744da471dac99c5450 100644 GIT binary patch delta 218 zcmdledQxmc>BdP5856h^fFLusAitQk(fX7BK+;8vj2+ delta 86 zcmX>pwo!CKsjyRid2woyLRwLNu7Y|Jn6oi^HRI+VOotdblZqg+wv*>D>GD}~aVY>n ia(-TMi9+?}BP>qLlV@`9O;+H@oh--Axp_LrCMEz>;vI1S From 5eab5ec0a563f6b628aee691cbaf2dc07e911a74 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 12 Sep 2021 10:51:58 -0500 Subject: [PATCH 25/32] Webpack: move Twemoji icons back to CopyPlugin --- app/soapbox/components/autosuggest_emoji.js | Bin 864 -> 919 bytes .../components/emoji_picker_dropdown.js | Bin 11480 -> 11535 bytes app/soapbox/features/emoji/emoji.js | Bin 3466 -> 3521 bytes app/soapbox/utils/static.js | Bin 0 -> 264 bytes webpack/production.js | Bin 2561 -> 3088 bytes webpack/shared.js | Bin 3121 -> 3247 bytes 6 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 app/soapbox/utils/static.js diff --git a/app/soapbox/components/autosuggest_emoji.js b/app/soapbox/components/autosuggest_emoji.js index da2df72a35a0783c5c0eab41bef27764610b354a..188dc6c0ecdd112cde0dddbfec168fae8fbb1080 100644 GIT binary patch delta 96 zcmaFBHl2M!w@GGhL4Hw*LbXCxer8@kX;MyRazJ89hC;1ET2X$kf_ia&VnI@Vg??#C oW=^qwaYNOGy5|guw^;2{6vobeFGqExP00Gh@EdT%j delta 43 zcmbQv{(x;l_r^n88KsL-3rjPLQZ*7v%2RXmvoiG)i;GiBiuH@j(l<|HVr2vXj?57D diff --git a/app/soapbox/features/compose/components/emoji_picker_dropdown.js b/app/soapbox/features/compose/components/emoji_picker_dropdown.js index 9823978c9cfd30d890787ebb49e34ea51e5237b5..29d3270c967c70bcf77b2654cf9568fdab109367 100644 GIT binary patch delta 98 zcmcZ+*&nsxGNVamZb5!gi9)qPR(@t)KxtA=W^zDcNrpnLLRwLNu7Y}TequpVeuaK% qNoG#5esM`+NoMlq3yjQ~(x@6V)C&@mvy1gpbMvz@H^0+*#Rvd$-X>81 delta 44 zcmeB=x)HhIGUH+{CQa$0)WXutqErp_lJeBt{H#p<#Ny)Al4AYhvh>ZW+OHS^hCmSv diff --git a/app/soapbox/features/emoji/emoji.js b/app/soapbox/features/emoji/emoji.js index fe1029c59154e2544c4b04e177e61143000ef0a7..e43f67ac7ae8eef78d91fe1a64c1b6be09e68c8c 100644 GIT binary patch delta 96 zcmeB@J}5mQ-Xt@(Aitm oGpAU;xFoS8GkIf-JEt_NdX0pF#N_N^{nXt2tjx{(IL|Nx0N(f{oB#j- delta 43 zcmX>o-6cICe&aM3PU)i5!qUv5RE>m^^3>e?tW5pH;^NejV*TQ>^vz#6&oBc3cDfN| diff --git a/app/soapbox/utils/static.js b/app/soapbox/utils/static.js new file mode 100644 index 0000000000000000000000000000000000000000..e9fcd7001866304d686ad515331080b7436b6052 GIT binary patch literal 264 zcmZ9HJ!`{25Jda?71P-fLFyx9LSh?S*~m%ZO6cPhuQ}Zc-5wZ(|9egfQ6TNkn>TC{ zMG6tlQVP{CXuYk4*g6c_l%g95!_6UDGTOxx{n~NkjfUg0ulSyLA>)!CEaZt&)b%_F zM%>uF}77zbnq4Z`(t@d;d7*mxcTFR-Q~#)NEV&3O%Lovo#!?%;uA? k4ArNgMTT`8$J2s)Lbk!E5PlFp*qL1a+j_=Ar|OZaZ;&fid;kCd literal 0 HcmV?d00001 diff --git a/webpack/production.js b/webpack/production.js index cccfc41634c17189d3718e214c2a642ea0afad0e..0e1643fee04b1ed69aa32d1833d895dbe02b1302 100644 GIT binary patch delta 864 zcma))QESss6vxRD2d(Ifvs0LOkU`oK6B|n1I_AT4VnJ|h%8;>@oAkE5ZF+Caz1dcV zlzjpx_eq~bKfoULu&>|;@YRnZcw-aUELQW794_boKfnLUJ)S$cb@KUkj}Z!QVHG0$ zCMFRsnjsQhv$XR5!?%&oC>L-9PuH7UuhyP4HrF4&e6jiZQh#DlY&KgYqG*6EFm2mZ zZxn{fhcgs<>@X?4m;|k+vTT!%St_mM$L@)KBlZH~Z>Yfvq-fiA!oW-SVD%CF^8W+C zf~@C^Xy@9sIzALw%@26pwB(MyD3A5Rmm62KtA018ecR_;ozKjk*RwX*$wT^F21xSz zeeU1^>k+5Yu03#VzOR7glD??r=P2%U3GGaX?~d0xk;=s>BQ@s#k*DTn8~9|*p=o*4w%p|lRNE@ga02OXM3t22 zhq0jTo}JDHGkc)!5$9O&`vXKt8*^dzIHRWZ+f-$52smJI&;kzwB|Zkhfa7Ri60vsqipQn_!lsE?yM Z99=+=Yq^Gz{6YCHcSoM)3i4}i`6qaT4Uhl; delta 383 zcmbOr(I_%u(ZnOCH=8hRW}Ga=&BJ4uW@ccdtEE?5maaZoi%n(nS7v2t1qFS5h0@~G z6ot$@h1A^qtW4e9#G(=|E(L|j{%jhP#ku)`8cj@6U>fJKiGu_sjm*tVpkg{;Lp)MJ z`heO5xkY6_cA3GYfmZk=mZoQ9=A}aw$O07@r6MZ`E-fl3$^<$DssiL(Be-)XvWtLi z1qoUrYYPY3S_##n2$D5KmUYZaFRE0~2rkIXD=tYb(%h`e!pJz;i*?y%U5+Fs^;jLC zP7nY(FgUfSEHgPZJijPAwa7}L8X==FIh@;58K^`-AvrNQBh@c4H`Pi(y*NLyASu5> T9bv}g1Ki?F`udZvaa#cZzQ|?A diff --git a/webpack/shared.js b/webpack/shared.js index 0c4bd856e8163abc5c70c137f3e3795381eda4dd..fd01df7be14f2694fb23fb6b235688d504f5e5af 100644 GIT binary patch delta 73 zcmdlev0idRHJ5x|eoAV5ZhlH>PHM4!NqK5+epaS_VsUY5NwI!$S^DI5E@g>=#N_N^ WeXx|erVf_^7}V-0Y!2tT#RvfHlNkj7 delta 12 TcmZ24xlv+6HP_~!T-z7{BOC=Z From 5921fa9b2d151a2325845b6a80e38f4374ee4994 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 12 Sep 2021 11:09:01 -0500 Subject: [PATCH 26/32] Fix emoji tests again --- .../autosuggest_emoji-test.js.snap | 6 +----- .../__snapshots__/emoji_selector-test.js.snap | 12 ++++++------ .../features/emoji/__tests__/emoji-test.js | Bin 5872 -> 6146 bytes 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/app/soapbox/components/__tests__/__snapshots__/autosuggest_emoji-test.js.snap b/app/soapbox/components/__tests__/__snapshots__/autosuggest_emoji-test.js.snap index 6bbb1eb748..1ab178e157 100644 --- a/app/soapbox/components/__tests__/__snapshots__/autosuggest_emoji-test.js.snap +++ b/app/soapbox/components/__tests__/__snapshots__/autosuggest_emoji-test.js.snap @@ -20,11 +20,7 @@ exports[` renders native emoji 1`] = ` 💙 :foobar: diff --git a/app/soapbox/components/__tests__/__snapshots__/emoji_selector-test.js.snap b/app/soapbox/components/__tests__/__snapshots__/emoji_selector-test.js.snap index d009a55512..0ff8f9961c 100644 --- a/app/soapbox/components/__tests__/__snapshots__/emoji_selector-test.js.snap +++ b/app/soapbox/components/__tests__/__snapshots__/emoji_selector-test.js.snap @@ -15,7 +15,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"👍\\"", + "__html": "\\"👍\\"", } } onClick={[Function]} @@ -26,7 +26,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"❤\\"", + "__html": "\\"❤\\"", } } onClick={[Function]} @@ -37,7 +37,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"😆\\"", + "__html": "\\"😆\\"", } } onClick={[Function]} @@ -48,7 +48,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"😮\\"", + "__html": "\\"😮\\"", } } onClick={[Function]} @@ -59,7 +59,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"😢\\"", + "__html": "\\"😢\\"", } } onClick={[Function]} @@ -70,7 +70,7 @@ exports[` renders correctly 1`] = ` className="emoji-react-selector__emoji" dangerouslySetInnerHTML={ Object { - "__html": "\\"😩\\"", + "__html": "\\"😩\\"", } } onClick={[Function]} diff --git a/app/soapbox/features/emoji/__tests__/emoji-test.js b/app/soapbox/features/emoji/__tests__/emoji-test.js index ce8d4e2a8da9d8ecabcb6509b1867a47ef5a39fc..f1374e8c1b5aeef78ed1c0cd13edc8c9206329eb 100644 GIT binary patch delta 957 zcmeyM+hnj|KC`)gL1J=tv3_c9epaTwVVa4VrLK{IL5eOK(+nYMrdM2+K3S1fZt@xC zS(y4Q5Gs+3GDnD-!}U*Qsn;RaeyFB)Q4|eE=B5zi_VG(jzQDQ`hingL@2KgQAyN%rXlWlpV(Ulk*SfD6*%_}E{Zi=NT zGz8@)Kjlf4MwdodqA(e13%VL4TOexiSObY;*2!jk^A$0yGK3{C(^Rm#C&N@T@uQ~- zLrY7Lvp4VKKfsLcB{Ks=@|+_mF-X#hqZLu?|i+~h9yGGR=k>?Rv>dSO*RlcNqp9Glr2xQr%WU{kQ0W~lf@|)&5O+)*xX zj3xukz#ZgEa7*z`{=<($+G6tufmUn@0vId8nv>@Va! Date: Sun, 12 Sep 2021 11:25:44 -0500 Subject: [PATCH 27/32] Use immutable.js consistently --- .../features/status/components/card.js | Bin 6698 -> 6683 bytes app/soapbox/features/status/index.js | Bin 20215 -> 20238 bytes app/soapbox/reducers/dropdown_menu.js | Bin 583 -> 596 bytes app/soapbox/reducers/mutes.js | Bin 732 -> 744 bytes app/soapbox/reducers/push_notifications.js | Bin 1050 -> 1060 bytes 5 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/features/status/components/card.js b/app/soapbox/features/status/components/card.js index a0506a694e939f90758f184777703da323865b84..d2e349bca8a10b9e316fb5f2595ff01a548b85fe 100644 GIT binary patch delta 34 qcmZ2wGTUT=8(+0TX0eV!T2X$kSFl3uMt>*v$+Ow_Z%*MjCI|r5o(y&X delta 51 qcmbPjvdUzF8>eS(ZfQwkQcmi|5GQsnI8Sf#H1_>S+|8jJ#{>cJMH2x4 diff --git a/app/soapbox/features/status/index.js b/app/soapbox/features/status/index.js index 3f9ad0f0ccff87c3f4cd9880686d44ca95a38d94..c6262057e344e92c7f331ff93dd27bbb8c9d8c10 100644 GIT binary patch delta 78 zcmex9m$7diqfTaSL4Hw*LbZZ_QA%o2YD#cwi9%wrf@f}SX-Q&IPAZac?M8t;ypzxJ ZhHh5o(_-B0$FIUPxmeI(^Af>eTL6@<97q5F delta 60 zcmeC1$M}6Nqd;bEL4Hw*f@f}SX-Q&IPU=RTJ-m#1lV9+LGU{!%<0FeO`f&c&j diff --git a/app/soapbox/reducers/dropdown_menu.js b/app/soapbox/reducers/dropdown_menu.js index 36fd4f13217522000bab317a98a94cbcfc1aeed6..4cceee9f5982bb997a87954ff31dba31cd34663a 100644 GIT binary patch delta 42 vcmX@ka)m`MGq)hWs6?S!!8fr$A+cD&GdH)iBrz!`6~wQdDA2ue&T2*gN;?nA delta 30 lcmcb@a-2mVGq)hWs6@dtH@CDTF)1f?qFgtl-o}-y83D0u3w{6q diff --git a/app/soapbox/reducers/mutes.js b/app/soapbox/reducers/mutes.js index a96232dbd2340f06df37bc4417beced856778015..56fd39fb3008c9099ddb23ab1e68b0d2ac1b4f67 100644 GIT binary patch delta 45 ycmcb^`hrz1Gq)hWs6?S!!8fr$A+cD&GdH)iBrz!`6~wQdD9|@?zSzcXYD@rvjS$oT delta 53 zcmaFCdWTgYGq)hWs6@dtH@CDTF)1f?qFkSZo^N7-Mm3j$LSAaQ6+%jH;~_OB011K; A)c^nh diff --git a/app/soapbox/reducers/push_notifications.js b/app/soapbox/reducers/push_notifications.js index d68845908729250b545634cb63fc13699b71430c..e72952934647498124bd889fe50164d9f5b9e576 100644 GIT binary patch delta 49 zcmbQmv4mqnop`l^Z(@N$VzGi}Zf;2 delta 43 zcmZ3&F^gkD9j9k*ZfQwkQcmi`sYZ-?6OS7+>TUd0#K@>OIfto@QE&4nCL=}wTs03Q From 4aa9872c949831215c31fe4a076503ddd6895521 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 12 Sep 2021 11:40:03 -0500 Subject: [PATCH 28/32] Load exif.js library asynchronously --- app/soapbox/utils/resize_image.js | Bin 6277 -> 6378 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/utils/resize_image.js b/app/soapbox/utils/resize_image.js index ffb4ef9361ca064c04e3d8426fdaaee4003748d7..26bb36c765933f54e813ea14c561a692db52435e 100644 GIT binary patch delta 173 zcmZoQd}TO6Yoogfe@td>L4Hw*hQ5|Ud1_KYVsf@~MrmHQUt(^mm4Z@QYGO%gQEIV% zaz0R5ajKGnmcDvwMP{0AR+6Pnrow`DgWd>{Bo1;@LNt6 k7m%N9ArQq~tB{&goT^aGrJyi*B9k0TEs(MKt^h9w094EwB>(^b From a22257a916cb26b227b54ca7a1ef5252ab62e5f2 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 12 Sep 2021 12:02:59 -0500 Subject: [PATCH 29/32] Drop IE11 support --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5e4b106263..2199accba6 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "browserslist": [ "> 0.5%", "last 2 versions", - "Firefox ESR", + "not IE 11", "not dead" ], "dependencies": { From 08f5e1d0210fcbe3247a60cbdef7c20fe27dfcf6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 12 Sep 2021 12:33:39 -0500 Subject: [PATCH 30/32] Webpack: chunk Sentry to reduce entrypoint size --- app/soapbox/components/error_boundary.js | Bin 2889 -> 2894 bytes app/soapbox/monitoring.js | Bin 454 -> 808 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/components/error_boundary.js b/app/soapbox/components/error_boundary.js index 069519f035daa756a3e77b744da471dac99c5450..55bd4b08a18f6e086503df35e4ec268dbff2a9a1 100644 GIT binary patch delta 60 zcmX>pc1~T`oG4AIC0M=X>cK`qY delta 56 zcmX>nc2aCYsiKxbVzEMSYFR diff --git a/app/soapbox/monitoring.js b/app/soapbox/monitoring.js index 7b339b50b9876d44f2fd514e35c5083ec4f7fd64..adb99a8910b29b206742c3ac41e43c2b872b6fb6 100644 GIT binary patch literal 808 zcmbVKv2NQi6x{t4hb*Q7L26e8DT+28x+p;$q$mu-ps6RDjYJBMRO}+qzlV~nrVh|0 z+9=-LyW>4wHfQWm zHlyRf4nLfS^D-!1Lqxd#f|nU^7s%RCBCATQ!Wq!RIFVlBK-)&Dr|c3>U;~ z`2v^e{Hr75`A^Cum7hoPN4TD)(q=cZ*HPm4WQ15P2jw^<{$V`rSb81YXJ;pL>%SR* zk&$Slz35Z*U*Syl&qIv{0W!~;t*OI|?CnJ-4sF|AhEi6JCW1cmurhQwGm?B`dvL@L zV-^vu8gLq34Skq=<0LwX^hZCR{_*TiIQIJMZXEQqGYHtTy^i4M9Idt sOpBwUrZ*M#Wx!4=^RWdPe2xu|ZB250SEv5oPZpEM9@9mm#D7z~0#hadwEzGB delta 198 zcmZ3%c8obPGq)hWs6;_aA+cB?I5n@Ns8S)VC_h(0-JuxF(=SR*OfFHk=7K7$R`AR# zNlhxjbV~ytJSpTs^tOzb9zAN From 58042850946241c4fa5f6200847b65add770307b Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 12 Sep 2021 15:00:28 -0500 Subject: [PATCH 31/32] Webpack: fix CryptoDonateModal being added to the right chunk --- .../features/ui/util/async-components.js | Bin 8793 -> 8792 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/features/ui/util/async-components.js b/app/soapbox/features/ui/util/async-components.js index 1f1d8ca31cdc77134dde458e996521eb728e07c4..a0d1e0f36f048a3c781d517c6457f7f7df6f1597 100644 GIT binary patch delta 20 ccmccVa>Hdqo&4krteler Date: Mon, 13 Sep 2021 12:29:34 -0500 Subject: [PATCH 32/32] Conditionally display subscription button for Pleroma >= 1.0.0 --- .../features/account/components/header.js | Bin 18872 -> 18947 bytes app/soapbox/utils/features.js | Bin 1891 -> 2019 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/features/account/components/header.js b/app/soapbox/features/account/components/header.js index 426486d803f95b665b37ab22ddf88bdca7687edc..d49614c0ad74764bae776df99d57d21314710e21 100644 GIT binary patch delta 277 zcmdlnnX!2a;|5ix%`r>|nM5*k3-XIf6si@{Q%l@Z6H7{qQi~@WGbwGBW!2yfR8UCH z&nqrb$OICJdC92?whBN-Nva-DwT3!OR9(}W3#Kv+Y6egxl8G8HrIVe6j5%OxHg6E} zVnpy5McmjBJU^+)98xfqdZl?lca;=nCYPk9_+%EB6i;SUwVHfZ(Rp)?vZElEjsi^O z=DjA%Srw~cT)o8PNVu+*aB%>2B`y-eclX{m`NrA4WmrI^kzZI)rx;GH}} z$iTV`qQVMAy+(0KVo9oAdTNPho<_8KW*(5Amz=7uqo58|uO6$Zx%q;S7b81VV6&2l z8ylQcAT^mo4l1KpoS#-wo>-KsU~6lupdOHuT9lugs6P3ihRx*4aWeoKU^bFKBb+{CO dpfs;2wYa1xGr1%+#V50P@Fx%$KYyyk`BbWq=