diff --git a/apps/messageicons/icons.img b/apps/messageicons/icons.img index bb74d05d9..39bb2339d 100644 Binary files a/apps/messageicons/icons.img and b/apps/messageicons/icons.img differ diff --git a/apps/messageicons/icons/bereal.png b/apps/messageicons/icons/bereal.png new file mode 100644 index 000000000..46a0d129f Binary files /dev/null and b/apps/messageicons/icons/bereal.png differ diff --git a/apps/messageicons/icons/generate.js b/apps/messageicons/icons/generate.js index a07b7af44..c69e6d007 100755 --- a/apps/messageicons/icons/generate.js +++ b/apps/messageicons/icons/generate.js @@ -102,6 +102,7 @@ exports.getColor = function(msg,options) { */""} "bibel": "#54342c", "bring": "#455a64", + "davx⁵": "#8bc34a", "discord": "#5865f2", // https://discord.com/branding "etar": "#36a18b", "facebook": "#1877f2", // https://www.facebook.com/brand/resources/facebookapp/logo @@ -111,7 +112,8 @@ exports.getColor = function(msg,options) { "google home": "#fbbc05", // "home assistant": "#41bdf5", // ha-blue is #41bdf5, but that's the background "instagram": "#ff0069", // https://about.instagram.com/brand/gradient - "jira": "#0052cc", //https://atlassian.design/resources/logo-library + "jira": "#0052cc", // https://atlassian.design/resources/logo-library + "kleinanzeigen": "#69bd2f", // https://themen.kleinanzeigen.de/medien/mediathek/kleinanzeigen-guideline-nutzung-logo/ "leboncoin": "#fa7321", "lieferando": "#ff8000", "linkedin": "#0a66c2", // https://brand.linkedin.com/ @@ -121,6 +123,7 @@ exports.getColor = function(msg,options) { "mattermost": "#00f", "n26": "#36a18b", "nextbike": "#00f", + "nextcloud": "#0082c9", // https://nextcloud.com/brand/ "newpipe": "#f00", "nina": "#e57004", "opentasks": "#409f8f", @@ -137,6 +140,7 @@ exports.getColor = function(msg,options) { "teams": "#6264a7", // https://developer.microsoft.com/en-us/fluentui#/styles/web/colors/products "telegram": "#0088cc", "telegram foss": "#0088cc", + "thunderbird": "#1582e4", "to do": "#3999e5", "twitch": "#9146ff", // https://brand.twitch.tv/ "twitter": "#1d9bf0", // https://about.twitter.com/en/who-we-are/brand-toolkit diff --git a/apps/messageicons/icons/icon_names.json b/apps/messageicons/icons/icon_names.json index 89f81be08..460f313c4 100644 --- a/apps/messageicons/icons/icon_names.json +++ b/apps/messageicons/icons/icon_names.json @@ -5,6 +5,7 @@ { "app":"alarm", "icon":"alarm.png" }, { "app":"alarmclockreceiver", "icon":"alarm.png" }, { "app":"amazon shopping", "icon":"amazon.png" }, + { "app":"bereal.", "icon":"bereal.png" }, { "app":"bibel", "icon":"bibel.png" }, { "app":"bitwarden", "icon":"security.png" }, { "app":"1password", "icon":"security.png" }, @@ -24,9 +25,11 @@ { "app":"rabobank", "icon":"bank.png" }, { "app":"scotiabank", "icon":"bank.png" }, { "app":"td (canada)", "icon":"bank.png" }, + { "app":"davx⁵", "icon":"sync.png" }, { "app":"discord", "icon":"discord.png" }, { "app":"drive", "icon":"google drive.png" }, { "app":"element", "icon":"matrix element.png" }, + { "app":"element x", "icon":"matrix element.png" }, { "app":"facebook", "icon":"facebook.png" }, { "app":"messenger", "icon":"facebook messenger.png" }, { "app":"firefox", "icon":"firefox.png" }, @@ -47,6 +50,7 @@ { "app":"jira", "icon":"jira.png" }, { "app":"kalender", "icon":"kalender.png" }, { "app":"keep notes", "icon":"google keep.png" }, + { "app":"kleinanzeigen", "icon":"kleinanzeigen.png" }, { "app":"leboncoin", "icon":"leboncoin.png" }, { "app":"lieferando", "icon":"lieferando.png" }, { "app":"linkedin", "icon":"linkedin.png" }, @@ -69,6 +73,7 @@ { "app":"la presse", "icon":"news.png" }, { "app":"nbc news", "icon":"news.png" }, { "app":"nextbike", "icon":"nextbike.png" }, + { "app":"nextcloud", "icon":"nextcloud.png" }, { "app":"nina", "icon":"nina.png" }, { "app":"outlook mail", "icon":"outlook.png" }, { "app":"paypal", "icon":"paypal.png" }, @@ -95,6 +100,7 @@ { "app":"telegram foss", "icon":"telegram.png" }, { "app":"threema", "icon":"threema.png" }, { "app":"threema libre", "icon":"threema.png" }, + { "app":"thunderbird", "icon":"mail.png" }, { "app":"tiktok", "icon":"tiktok.png" }, { "app":"to do", "icon":"task.png" }, { "app":"opentasks", "icon":"task.png" }, diff --git a/apps/messageicons/icons/kleinanzeigen.png b/apps/messageicons/icons/kleinanzeigen.png new file mode 100644 index 000000000..bffee2e3a Binary files /dev/null and b/apps/messageicons/icons/kleinanzeigen.png differ diff --git a/apps/messageicons/icons/nextcloud.png b/apps/messageicons/icons/nextcloud.png new file mode 100644 index 000000000..1b0d8a32d Binary files /dev/null and b/apps/messageicons/icons/nextcloud.png differ diff --git a/apps/messageicons/icons/sync.png b/apps/messageicons/icons/sync.png new file mode 100644 index 000000000..8193cffe2 Binary files /dev/null and b/apps/messageicons/icons/sync.png differ diff --git a/apps/messageicons/lib.js b/apps/messageicons/lib.js index 9c070a03e..7e0c94f2d 100644 --- a/apps/messageicons/lib.js +++ b/apps/messageicons/lib.js @@ -4,7 +4,7 @@ exports.getImage = function(msg) { if (msg.img) return atob(msg.img); let s = (("string"=== typeof msg) ? msg : (msg.src || "")).toLowerCase(); if (msg.id=="music") s="music"; - let match = ",default|0,airbnb|1,agenda|2,alarm|3,alarmclockreceiver|3,amazon shopping|4,bibel|5,bitwarden|6,1password|6,lastpass|6,dashlane|6,bring|7,calendar|8,etar|8,chat|9,chrome|10,clock|3,corona-warn|11,bmo|12,desjardins|12,rbc mobile|12,nbc|12,rabobank|12,scotiabank|12,td (canada)|12,discord|13,drive|14,element|15,facebook|16,messenger|17,firefox|18,firefox beta|18,firefox nightly|18,f-droid|6,neo store|6,aurora droid|6,github|19,gitlab|20,gmail|21,gmx|22,google|23,google home|24,google play store|25,home assistant|26,instagram|27,jira|28,kalender|29,keep notes|30,leboncoin|31,lieferando|32,linkedin|33,maps|34,organic maps|34,osmand|34,mastodon|35,fedilab|35,tooot|35,tusky|35,mattermost|36,messages|37,n26|38,netflix|39,news|40,cbc news|40,rc info|40,reuters|40,ap news|40,la presse|40,nbc news|40,nextbike|41,nina|42,outlook mail|43,paypal|44,phone|45,plex|46,pocket|47,post & dhl|48,proton mail|49,reddit|50,sync pro|50,sync dev|50,boost|50,infinity|50,slide|50,signal|51,molly|51,skype|52,slack|53,snapchat|54,starbucks|55,steam|56,teams|57,telegram|58,telegram foss|58,threema|59,threema libre|59,tiktok|60,to do|61,opentasks|61,tasks|61,transit|62,twitch|63,twitter|64,uber|65,lyft|65,vlc|66,warnapp|67,whatsapp|68,wordfeud|69,youtube|70,newpipe|70,zoom|71,meet|71,music|72,sms message|0,mail|0,".match(new RegExp(`,${s}\\|(\\d+)`)) + let match = ",default|0,airbnb|1,agenda|2,alarm|3,alarmclockreceiver|3,amazon shopping|4,bereal.|5,bibel|6,bitwarden|7,1password|7,lastpass|7,dashlane|7,bring|8,calendar|9,etar|9,chat|10,chrome|11,clock|3,corona-warn|12,bmo|13,desjardins|13,rbc mobile|13,nbc|13,rabobank|13,scotiabank|13,td (canada)|13,davx⁵|14,discord|15,drive|16,element|17,element x|17,facebook|18,messenger|19,firefox|20,firefox beta|20,firefox nightly|20,f-droid|7,neo store|7,aurora droid|7,github|21,gitlab|22,gmail|23,gmx|24,google|25,google home|26,google play store|27,home assistant|28,instagram|29,jira|30,kalender|31,keep notes|32,kleinanzeigen|33,leboncoin|34,lieferando|35,linkedin|36,maps|37,organic maps|37,osmand|37,mastodon|38,fedilab|38,tooot|38,tusky|38,mattermost|39,messages|40,n26|41,netflix|42,news|43,cbc news|43,rc info|43,reuters|43,ap news|43,la presse|43,nbc news|43,nextbike|44,nextcloud|45,nina|46,outlook mail|47,paypal|48,phone|49,plex|50,pocket|51,post & dhl|52,proton mail|53,reddit|54,sync pro|54,sync dev|54,boost|54,infinity|54,slide|54,signal|55,molly|55,skype|56,slack|57,snapchat|58,starbucks|59,steam|60,teams|61,telegram|62,telegram foss|62,threema|63,threema libre|63,thunderbird|64,tiktok|65,to do|66,opentasks|66,tasks|66,transit|67,twitch|68,twitter|69,uber|70,lyft|70,vlc|71,warnapp|72,whatsapp|73,wordfeud|74,youtube|75,newpipe|75,zoom|76,meet|76,music|77,sms message|0,mail|0,".match(new RegExp(`,${s}\\|(\\d+)`)) return require("Storage").read("messageicons.img", (match===null)?0:match[1]*76, 76); }; @@ -24,6 +24,7 @@ exports.getColor = function(msg,options) { "sms message": "#0ff", "bibel": "#54342c", "bring": "#455a64", + "davx⁵": "#8bc34a", "discord": "#5865f2", // https://discord.com/branding "etar": "#36a18b", "facebook": "#1877f2", // https://www.facebook.com/brand/resources/facebookapp/logo @@ -33,7 +34,8 @@ exports.getColor = function(msg,options) { "google home": "#fbbc05", // "home assistant": "#41bdf5", // ha-blue is #41bdf5, but that's the background "instagram": "#ff0069", // https://about.instagram.com/brand/gradient - "jira": "#0052cc", //https://atlassian.design/resources/logo-library + "jira": "#0052cc", // https://atlassian.design/resources/logo-library + "kleinanzeigen": "#69bd2f", // https://themen.kleinanzeigen.de/medien/mediathek/kleinanzeigen-guideline-nutzung-logo/ "leboncoin": "#fa7321", "lieferando": "#ff8000", "linkedin": "#0a66c2", // https://brand.linkedin.com/ @@ -43,6 +45,7 @@ exports.getColor = function(msg,options) { "mattermost": "#00f", "n26": "#36a18b", "nextbike": "#00f", + "nextcloud": "#0082c9", // https://nextcloud.com/brand/ "newpipe": "#f00", "nina": "#e57004", "opentasks": "#409f8f", @@ -59,6 +62,7 @@ exports.getColor = function(msg,options) { "teams": "#6264a7", // https://developer.microsoft.com/en-us/fluentui#/styles/web/colors/products "telegram": "#0088cc", "telegram foss": "#0088cc", + "thunderbird": "#1582e4", "to do": "#3999e5", "twitch": "#9146ff", // https://brand.twitch.tv/ "twitter": "#1d9bf0", // https://about.twitter.com/en/who-we-are/brand-toolkit