From 76b3849c935f62e5fbd983cc7821a4b52da6170c Mon Sep 17 00:00:00 2001 From: crockwave Date: Wed, 27 May 2020 19:53:47 -0500 Subject: [PATCH 1/4] Convert HTML to text value in Profile Page for Display name and Bio fields Fixed linter errors * used unescape method from lodash to translate HTML to plain text * Moved translation to the componentDidMount event * Removed decodeHtml method from utils/html --- app/gabsocial/features/edit_profile/index.js | Bin 7441 -> 7695 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/gabsocial/features/edit_profile/index.js b/app/gabsocial/features/edit_profile/index.js index d09e5bb0ee291e1d3451cb2590229aaef59f5ca0..7ac387310a108ad6bdccf8b4bc70da58897ca48c 100644 GIT binary patch delta 212 zcmbPe)o-(*oJk=ww;;c$M4?)tG%vL{Ik6yBp;jTSC_h(0JtsdUu{dLM3Da~gi{yNu zvb@y15|_*r-~7_N5)Dm-YAyvJNY2kIE>TFyEH21Ntc=e~%uQ9Wg`1@@`GbHslcx1# zL4FZ$6h&4jJcU|KYb4Y1@=H)mDaptz)+;VaEJ@V^NkPoxRRFQAz@$R$W=38C0RZr$ BNAdsw delta 17 YcmeCTnP|14oN4ncrYT&TIr-QG06abgjQ{`u From 1d44de08736747b02da01b57aa7f94541f046d5e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 28 May 2020 15:04:56 -0500 Subject: [PATCH 2/4] EditProfile: Unescape account params in componentWillMount() --- app/gabsocial/features/edit_profile/index.js | Bin 7695 -> 7715 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/gabsocial/features/edit_profile/index.js b/app/gabsocial/features/edit_profile/index.js index 7ac387310a108ad6bdccf8b4bc70da58897ca48c..a57da8b36698c2dc34d7719be6b04ae8a3bdc2b9 100644 GIT binary patch delta 266 zcmeCTS!}am6HC3mzJf=Hua81$UTSf2VnM1xT7Hp2aY1TwW@3&)azeJIJPA$;@>(zmq3{tI^4ineZ)C8KRsRL5Jc@2vWhbYXg5Ep=K1A@udd6d+3AZ&$b s^_0xwf}F(4_`Jm2RCOH%^}PI&RP|V}w5IjsMn2)myu6B=Ir-QG07!9B-v9sr delta 236 zcmZ2%({Hn36U*jQRyB^v3waeMzu+~kPtMOR$j?j7D{;w8@y##IE78zYsOC}tg5>e!?jLc%a;*!LYR6S%Rn$}>w5ZTm{V2}ch oY7|qfkai_@% From c4c99a1c1b33453f2cf46c43eb743ecfe0e33ad3 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 28 May 2020 15:09:59 -0500 Subject: [PATCH 3/4] EditProfile: refactor initialState --- app/gabsocial/features/edit_profile/index.js | Bin 7715 -> 7696 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/gabsocial/features/edit_profile/index.js b/app/gabsocial/features/edit_profile/index.js index a57da8b36698c2dc34d7719be6b04ae8a3bdc2b9..eea420962524f765dfbcefcdfcdc4fe002efbc6a 100644 GIT binary patch delta 270 zcmZ2%Gr?v<8xMbRYKdoFW=UpZPH;(LN$TW_9HNtJc=^LiGBS(x3X1XziuDqclk-dS zO7zMzOEP>*fvPg|^NKZc6AKh2qz=%uHYXs8$Gmlh?bs%vUm zBh*Y*;1$nSPynd`+N`0TmYJH9Qmn3{ke6SSo0yYXmFfl-L6`znp@}f2G%vL{Ik6x$ zAh9Sh7wixng=qDZ%;JKa#LD=*#N1S%dFpxjC8_GMlMQ%eC;#D9oZQAEEeiG%nuj$u J3-bvG005h_S@i$_ delta 276 zcmbPWv)E=s8_(nmywa0jv#CTU=jRodC=};B$gy9*eWC@C+C;umFT6XmT0I$ zWYjgSxfFl^q8h3IO?hr=QF^Kd!X(Yf0=(i@5FKfmsW~adK(q7mi*gflGOJSEz# Date: Thu, 28 May 2020 15:29:32 -0500 Subject: [PATCH 4/4] EditProfile: Fix error about uncontrolled components --- app/gabsocial/features/edit_profile/index.js | Bin 7696 -> 7682 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/app/gabsocial/features/edit_profile/index.js b/app/gabsocial/features/edit_profile/index.js index eea420962524f765dfbcefcdfcdc4fe002efbc6a..d990abbb45cceef33bf8380ece38c05dbeb0f9f5 100644 GIT binary patch delta 26 hcmbPW(`2)un}t_hT}PoTF{d=uNq!NdR$d2o?YU delta 40 ocmZp&nP9V_n?<@bFC{fCGcPqoN1-e+r!>_{0WPw621}MC05i4@-T(jq