From f74e3934dba6598ef6710ce0f4930146839d99e1 Mon Sep 17 00:00:00 2001 From: AmarOk Date: Sun, 12 Feb 2017 17:22:34 -0500 Subject: [PATCH] ajout de la version WebExtensions pour chrome --- Google Chrome/icons/clem_48.png | Bin 0 -> 3122 bytes Google Chrome/icons/header.png | Bin 0 -> 14248 bytes Google Chrome/icons/icone_m_20.png | Bin 0 -> 1262 bytes Google Chrome/icons/icone_n_20.png | Bin 0 -> 1337 bytes Google Chrome/icons/notconnected.png | Bin 0 -> 2214 bytes Google Chrome/notifier.js | 177 ++++++++++++++++++ .../popup/fonts/source-sans-pro.woff2 | Bin 0 -> 14308 bytes Google Chrome/popup/notifier.js | 29 +++ Google Chrome/popup/notifier_popup.css | 144 ++++++++++++++ Google Chrome/popup/notifier_popup.html | 20 ++ 10 files changed, 370 insertions(+) create mode 100644 Google Chrome/icons/clem_48.png create mode 100644 Google Chrome/icons/header.png create mode 100644 Google Chrome/icons/icone_m_20.png create mode 100644 Google Chrome/icons/icone_n_20.png create mode 100644 Google Chrome/icons/notconnected.png create mode 100644 Google Chrome/notifier.js create mode 100644 Google Chrome/popup/fonts/source-sans-pro.woff2 create mode 100644 Google Chrome/popup/notifier.js create mode 100644 Google Chrome/popup/notifier_popup.css create mode 100644 Google Chrome/popup/notifier_popup.html diff --git a/Google Chrome/icons/clem_48.png b/Google Chrome/icons/clem_48.png new file mode 100644 index 0000000000000000000000000000000000000000..38e0c4f29ec870864b2b4b0ca98a20cc1133e29a GIT binary patch literal 3122 zcmV-249)Y2P);zLt2_6c^Zd`V|IY{?(NNVM;1Zw(coWz! zBA$=?P*ta@pHbEORdrZZE2{d6s@|@u=Ho8BRn;%5>K;|ivMkdiNmNz6s{UG47kr$B z7ghaSF1)YRs`}guPwA`sc4(HRs;Ygex?#HenhzmFi>j7XRi=5?r+{w*YwC@tkO>-t`mjD2v`i*eE+itAa}0Yf$svd^RGV(Jg2I615b#^`0rTT0el^}!Fz9B zc;y*>@z9UxA3njH`K_Fu7^T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alO zTN5@eiU^#=Yrd%pS(XQv97rh&_`}5!OQV?DL`u5w_i?>nz=lNy4gtTKP8ObaF()FY z@+YOsY`N>a=+l4AeV$j(%jcN)EyT7XUW_Hv+5kXW8I=KTC5e z<*nRg9;Nx;DUCBd|BM0rKOl2*Fc;+2>r^#2nm>>n1_pAD^{kBl1=mnfkeDN?X#fBK M07*qoM6N<$f}?uUnE(I) literal 0 HcmV?d00001 diff --git a/Google Chrome/icons/header.png b/Google Chrome/icons/header.png new file mode 100644 index 0000000000000000000000000000000000000000..2d963b7e3ab6274656f4b512b7fc508c82175749 GIT binary patch literal 14248 zcmV;ZH&@7sP)|OPK+(t+YHsE=FGk)&%-A|vwy{)tNS*Lc@s&Fwj^Bm|x z7yf?%b!|Zxx(MBcE_4yP3ti|UbQikNMd&Vc5xNUq=pu9%y3j@FE_9)b&|T<47oofG zPYC@5-^Zv(NUTK?#t4g_MU+mkwFGPttkNV(DW$=%kT9?kMTSrTqXodOP4B}0JfXD& z1d0&_Pz1ptW{!dgtN@GlZh4+`_a-kcqK*h!e z4iZS$hIirb3;ZJ0c8F++Lc?0?sI^TKP8m^m+>G%@9yEPuuQJv7E(^c_2%rEk0+{>8 z`#*np?t+!;RU+jJBckov?=Jk05?c1UycQ@7^2CKB#*aE@_AxUj3@=T_02o*RNdPT~ z2x}q~uz(0mNSj(ZzJJ@jzn}NE8!rc7Liq=>(Fp&qPZR{O0znk|j)VBm3@u{U5&=+_h&Td}h#?BvMh)zD*_kJua_E#aApqN=NJ4@DB9=uFsmK^jsE~v$ zpsg)S-EqamI+BN9o9~vElZpNjh%CZHfJURq1&UC6jtB#Q0z_s;WDx=Z1OeKY`62>; z6B9)MP%M&b^P>mUuG_UI9|ZploEAYujTi|agNmYnqYzNLz7L2fRv~;TD@cFgo`OPR zAwiW7@}9O=pMC1Hzqsz)!>6W!0R(^)fC5l}1gKEC1X=_UfQZ=w5}?BtDpURszkWvl z?v*CUBa(<9qWpzxl>J}-BVe>3sKpJ#_JhU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6aj)b60000< KMNUMnLSTYL@;HqE literal 0 HcmV?d00001 diff --git a/Google Chrome/icons/icone_m_20.png b/Google Chrome/icons/icone_m_20.png new file mode 100644 index 0000000000000000000000000000000000000000..c90d93aa2515f0e6c7f6555e7c76b72a5f881869 GIT binary patch literal 1262 zcmVKS2Nh03B&m zSad^gZEa<4bN~PV002XBWnpw>WFU8GbZ8()Nlj2>E@cM*00dG=L_t(I%Z*fBY*S?z ze!lPgcBdUXoVJ5)RBG)8Lk1(pKny>|31KlNY8Ep|jq^guCK3p0f|{m5FSxKqBsfC` zAwUKf#5)ZV(P@-`i3uCR6x`OX>DDr~{_lLJ=f?{JK@+pRx9{^jdEUJ5`v8lm*ZVpe z_I%vsTMU*i1c>xK(>zs59G;yUdvVc%UA-G0i$n0po5sgOg z8xSIqh<5Pc!Ny1=q5%-@b4YLRR`*09`zbT@a-GM2;=;hyVE~9mqx8p{XZGu?bV&8r zNQ$fWh|2hPRJEhAr>Ey-P1ClCqUhIkJu^Eyd-?eBsQszXNU2;}H_u8vE=AyN8-`gCE_}G}@aD$G zrrnfM?x*2V41RY7lE7nyU*p_v_u5b>RNw)?uP(h}+LhamRa{dk%x^5_^RM!}P^1(B zO2b7G_8XIfQC(fx|NzirB*g1 zg(pT;f0|O-#0wOb=@``F&OG_}_6boGeE^^v1}3Iw07CFrIt$&X0stgQ@>2ka#bS2Q zzpmfoQI2?2InPP9k5CvKM@ka!I`+hd?O#k!Pv;H8xa&9$ZY9zH8~}i0+qjiX!*Lui z#P^qp@%}eBgE}L;gsnaVMQY zxN#X)1sd>ZgU=oxA3wxDEcjOHVhdj_c&A;W{BtR{d6R5cmZvXm+4b3;i_LpKug=ZQ zrEJ?~;ih__C9s^U=nOTo1k19FOeS-_zrX+F1Bdtadb>HW_Xs6xOit#K29E~HAUM?- z8}!I2`qHuIcE9_!BuOjh=jUfNO>31T$*1djW@cvQ`+HM_tghq-zN?Z4zmCKWrvx|ER%{; z6%Mn804jSxT}z-78Hoa5R0)V>H9r!PQUCw|07*qoM6N<$g3WFU8GbZ8()Nlj2>E@cM*00f;$L_t(I%Z-z7Y*S?v z#-I0n?``kxZr8ifZUwekaiy@~kcmSGVuDC2S^NM&fq%ESS zj&(bC?tBD*2LQ-3FT{2jMtY?rd3TqECT-od~ zoCQ&j!|i(R@VhoHil>)%X!xIkpRIN3j z7hF^{CUbCEmRZW{Q4fZS!&?u0`O8hiF#0&>PDxQA=1hx1Qx)i%57DwPW>-f+2!Uyu zJq!R6`x4^JvFm5rPEAe7G*1FPRSNh6?S3t^eb=^M&jJv!SS(jvUHycjDB*O*#Ei)i zEPLv4l!wM4Rxuuo5VO0x`;$8dnQW;mlQX^ZEym{kI3k`bVmLon$?tcIt9}Y^Y`-(&!si}nkK(aAfCs{Y&q=YZbOJ23xl2AZ6 zg3LAnwr^Cc+|)Vm-C%8P?T4mm4l>3RUDvB9rC!rCuMG_i9d2%J{&er&z1K;yC0@ve zPi*JHT?L;`q=G_#$q<~w&88u;DGnlUIs8!Lwvs6`N*fv)u2fc5%8M2)3j2IMIgv;V zx3;zp0I&fFl3X8|CD}K=$;yEV@Q0x3#SpRrxDJMICE@2OFgu;dXcddg-Z^^-fVk^J z$vqwv$dwC0iY^%%5{3?;=%88&a-IOrqzcjR>Yxy1syq7Ny~F?FA(5*u-BwDXgAR zfM~g}atyb}1hn)>Ld~R3PV_qU1cF@X8-~n)tPK>%4C6gHk%#<8##@#EdhZKlo7;P{ zYp0LP1}Lu)c@Ywn5uZd+<+6@u~VCl0FE{00000NkvXXu0mjfIM8Ug literal 0 HcmV?d00001 diff --git a/Google Chrome/icons/notconnected.png b/Google Chrome/icons/notconnected.png new file mode 100644 index 0000000000000000000000000000000000000000..8e331f2696dd0007759f41dad98b8d46c76f09fa GIT binary patch literal 2214 zcmV;X2wC@uP)@|M+u@yS zo{0}LLrHSpxmNF-nSpJ=779NBzFY6>v&Zkfm;UYB@spDREC-4W0rSpX0^A2Y3f%6U zJMaI=F%5nTur(bW&79n}je%#LAs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e>kc`6BVg@MO0|b=U9E#TwUK8 zViT`PnnLOY6MTH;*G4qh4}pp)F3JXr+F`s0MdgLVBl4%NAtowS;;f(oX$q6|ab9}= zlnh-^Wb?|%h0WI3Y$#G(jEbmCO|VHLHvfCTaZ~I>&bkQFgyVx{ee$hgJuy}#0jgd} zRY_Dyf#Jy-PrNm(@Agf2U#~&)d~D}hjInj#Z4pTu0oDsVFPT__HQ&T#I^;laS&o#d zA_5{{&Gco#Oh4-#t;ribx{1P;9}_KEt-x+z+e~Df z)jX!EbAUTMY}LwGw)EOgN-z9{(Knt~KY2<}1u;mJ*XHHtOL4;%=6>;7avf(X@CtCJ zi0uAM21QkE18xOw_TDe3jr7aNfmfI~+J&o@35yGemz+b>(pBW!7h{8P68H!3TM>Er zGyPkrsu@-Nx~l$OReM~T)RIcsC6x)6CUvLI)m63RocpJ$ZdKKePZLK@126}iH+?8C o0kS|k{k8oza8N`_pVt3>02xWQ7;=`d1ONa407*qoM6N<$f>A>E{{R30 literal 0 HcmV?d00001 diff --git a/Google Chrome/notifier.js b/Google Chrome/notifier.js new file mode 100644 index 0000000..6a43bf3 --- /dev/null +++ b/Google Chrome/notifier.js @@ -0,0 +1,177 @@ +/* +* Global variables +*/ +var _notifCounter = 0; +var _delayUpdate = 60 * 1000; +//Used by the popup +var _currentDom = null; +var _contentDiv = null; +//If the user is connected +var _connected = false; +//If we want to see popup variables +var _showNotification = false; +chrome.storage.local.get('notify', (res) => { + _showNotification = res.notify || false; +}); +//If we are in debug mode +var _debug = false; +var _base_url = "https://zestedesavoir.com/"; +var _token = "zds-notifier-firefox"; +if(_debug) _base_url = "https://beta.zestedesavoir.com/"; + +function escapeHTML(str) { return str.replace(/[&"'<>]/g, (m) => escapeHTML.replacements[m]); } +escapeHTML.replacements = { "&": "&", '"': """, "'": "'", "<": "<", ">": ">" }; + +/** +* getNotificationsFromAPI +*/ +function getNotificationsFromAPI() { + _contentDiv = document.createElement('div'); + var target = _base_url + "api/notifications/?page_size=30&ordering=-pubdate&Authorization=" + _token; + var xhr = new XMLHttpRequest(); + xhr.open("GET", target, true); + xhr.onload = function (e) { + if (xhr.readyState === 4) { + var result = xhr.status; + if(result === 401) { + _connected = false; + if(_debug) console.log("Not connected"); + //Change popup image + chrome.browserAction.setIcon({path:"icons/notconnected.png"}); + } else if (result === 200) { + _connected = true; + var rootDOM = JSON.parse(xhr.response); + if(rootDOM.details) { + if(_debug) console.log("Error while parsing"); + } else { + //Get new notifications + var resultsNotification = rootDOM.results; + var countNotifications = 0; + for(var notif = 0; notif < resultsNotification.length; ++notif) { + //If a notification is new we have is_read === False + if(!resultsNotification[notif].is_read) { + countNotifications += 1; + var titleNotif = resultsNotification[notif].title + var senderNotif = resultsNotification[notif].sender.username; + var senderAvatarNotif = resultsNotification[notif].sender.avatar_url; + var dateNotif = resultsNotification[notif].pubdate; + var date = new Date((dateNotif || "").replace(/-/g,"/").replace(/[TZ]/g," ")); + var minutes = '' + date.getMinutes(); + if(minutes.length < 2) { + minutes = '0' + minutes; + } + var formatedDate = 'le ' + [date.getDate(), + date.getMonth()+1].join('/') + ' à ' + + [date.getHours(), + minutes].join('h'); + var actualDate = new Date(); + if(date.getDate() == actualDate.getDate() && + date.getMonth() == actualDate.getMonth() && + date.getYear() == actualDate.getYear()) { + formatedDate = "Aujourd'hui"; + } else { + var yesterday = actualDate; + yesterday.setDate(actualDate.getDate() - 1); + if(date.getDate() == yesterday.getDate() && + date.getMonth() == yesterday.getMonth() && + date.getYear() == yesterday.getYear()) { + formatedDate = "Hier"; + } + } + var urlNotif = "https://zestedesavoir.com" + resultsNotification[notif].url; + if(_debug) console.log(urlNotif + " by " + senderNotif); + addNotification(titleNotif, senderNotif, senderAvatarNotif, formatedDate, urlNotif); + } + } + //Notify the user + if(countNotifications > _notifCounter) { + if(_debug) console.log("Nouvelles notifications : " + countNotifications); + chrome.browserAction.setIcon({path:"icons/icone_n_20.png"}); + var title = "Zds-notificateur : Nouvelle notification !"; + var content = "Vous avez " + countNotifications + " notification"; + if (countNotifications > 1) content += "s"; + notifyMe(title, content); + } else if (countNotifications === 0) { + chrome.browserAction.setIcon({path:"icons/clem_48.png"}); + } + _notifCounter = countNotifications; + } + } else { + if(_debug) console.log(result); + } + } + + + if(!_notifCounter) { + var divNoNotif = document.createElement('div'); + divNoNotif.id = "noNotif"; + divNoNotif.innerHTML = "Aucune notification"; + _contentDiv.appendChild(divNoNotif); + if(_debug) console.log("Aucune notification"); + } + var body = document.body; + body.appendChild(_contentDiv); + //Remove useless nodes + while(body.childNodes.length > 2) { + body.removeChild(body.childNodes[1]); + } + _currentDom = body; + }; + + xhr.onerror = function (e) { + console.error(xhr.statusText); + _connected = false; + }; + xhr.send(null); +} + +/* +* Add a notification to the DOM +*/ +function addNotification(title, sender, senderAvatar, date, url) { + //Design popup + var a = document.createElement('a'); + a.href = url; + a.target = "_blank"; + var divNotif = document.createElement('div'); + divNotif.id = "notification"; + imgAvatar = document.createElement('img'); + imgAvatar.src = senderAvatar; + var divBlocNotif = document.createElement('div'); + divBlocNotif.id="blocNotif"; + var divDate = document.createElement('div'); + divDate.id = "date"; + divDate.innerHTML = escapeHTML(date); + var divPseudo = document.createElement('div'); + divPseudo.id = "pseudo"; + divPseudo.innerHTML = escapeHTML(sender); + var divTitle = document.createElement('div'); + divTitle.id = "title"; + divTitle.innerHTML = escapeHTML(title); + + divBlocNotif.appendChild(divDate); + divBlocNotif.appendChild(divPseudo); + divBlocNotif.appendChild(divTitle); + divNotif.appendChild(imgAvatar); + divNotif.appendChild(divBlocNotif); + a.appendChild(divNotif); + _contentDiv.appendChild(a); +} + +/* +* Create a notification +*/ +function notifyMe(title, content) { + if(_showNotification) { + chrome.notifications.create({ + "type": "basic", + "iconUrl": chrome.extension.getURL("icons/icone_n_20.png"), + "title": title, + "message": content + }); + } +} + +//Update the popup +setInterval(getNotificationsFromAPI, _delayUpdate); +getNotificationsFromAPI(); diff --git a/Google Chrome/popup/fonts/source-sans-pro.woff2 b/Google Chrome/popup/fonts/source-s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{FK&))w50GwN&O<}x#}W}0Q=w9o zYI{8CyuGGKm^960jV`$4x+|`_rpbqH_^MYv^LgVt@|ur)ti>Y_{Gd&%cCT`~Y`0La zp4rMBG+>4ypMI@D_bhYF{X&Bsyvc4G4V!PXZ=CRzA0ZDJkGLMk)pN+rN#k{uIr2d literal 0 HcmV?d00001 diff --git a/Google Chrome/popup/notifier.js b/Google Chrome/popup/notifier.js new file mode 100644 index 0000000..e48ec68 --- /dev/null +++ b/Google Chrome/popup/notifier.js @@ -0,0 +1,29 @@ +var _notifications = document.getElementById('notificationList'); + +function updateUI() { + if(chrome.extension.getBackgroundPage()._connected) { + var notConnectedDiv = document.getElementById('notConnected'); + notConnectedDiv.style.display = 'none'; + var bgNodes = chrome.extension.getBackgroundPage()._currentDom.lastChild.cloneNode(true); + _notifications.appendChild(bgNodes); + } else { + var connectedDiv = document.getElementById('connected'); + connectedDiv.style.display = 'none'; + } +} + +// sleep time expects milliseconds +function sleep (time) { + return new Promise((resolve) => setTimeout(resolve, time)); +} + +_notifications.addEventListener("click", function(){ + sleep(2000).then(() => { + if(chrome.extension.getBackgroundPage()._notifCounter !== 0) { + close(); + } + chrome.extension.getBackgroundPage().getNotificationsFromAPI(); + }); +}); + +updateUI(); diff --git a/Google Chrome/popup/notifier_popup.css b/Google Chrome/popup/notifier_popup.css new file mode 100644 index 0000000..2dc9c0d --- /dev/null +++ b/Google Chrome/popup/notifier_popup.css @@ -0,0 +1,144 @@ +html { + height: 100px; +} + +body +{ + height: 100px; + margin: 0; + padding: 0; + color: white; + background-color: #0c4863; + font-family: 'Source Sans Pro', Fallback, sans-serif; +} + +@font-face { + font-family: "Source Sans Pro"; + font-style: normal; + src: local("Source Sans Pro"), url('fonts/source-sans-pro.woff2') format('woff2'); +} + +#notconnected +{ + font-size: 1.2em; + margin-top: 20px; + text-align: center; + width: 200px; +} + +#home_clem img +{ + width: 20%; + margin-bottom: 10px; +} + +#payload +{ + margin: 0 20px 0 20px; +} + +a +{ + text-decoration: none; + color: white; +} + +#notconnected #button +{ + margin-top: 20px; + padding: 20px 0 20px 0; + background: #154e69; +} + +#notconnected #button:hover +{ + background: #396a81; +} + + +#connected #button +{ + padding: 5px 0 5px 0; + background: #154e69; + text-align:center; + font-size: 13px; +} + +#connected #button:hover, #connected #notification:hover +{ + background: #396a81; +} + +#button +{ + border-bottom: 3px solid #f8ad32; +} + +#notification +{ + font-size:13px; + height: 50px; + width: 350px; + border-bottom: #154e69 1px solid; +} + +#notification img +{ + height: 50px; + width: 50px; +} + +#notification #blocNotif +{ + float:right; + width: 300px; + height: 50px; + overflow: hidden; + text-overflow: ellipsis; +} + +#notification #pseudo +{ + width:50%; + max-height: 18px; + overflow-y: hidden; + text-overflow: ellipsis; + padding-left: 5px; + color: #77b8d5; +} + +#notification #date +{ + width:40%; + max-height: 13px; + float:right; + text-align:right; + padding-right:10px; + color: #77b8d5; +} + +#notification #title +{ + margin-top: 5px; + padding-left: 5px; +} + +#header +{ + text-align:center; + background: #154e69; +} + +#notificationList +{ + max-height: 300px; + overflow-y: auto; + overflow-x: hidden; +} + +#noNotif +{ + font-size: 12px; + text-align: center; + padding: 10px; +} diff --git a/Google Chrome/popup/notifier_popup.html b/Google Chrome/popup/notifier_popup.html new file mode 100644 index 0000000..8161d3f --- /dev/null +++ b/Google Chrome/popup/notifier_popup.html @@ -0,0 +1,20 @@ + +

+ + +
+ + +
+
+
«Vous zestes les bienvenus.»
+
Connexion
+
+ + +