From 4ff9111a9f784169d0c58d583097484c63d9e0de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Kleinekath=C3=B6fer?= Date: Fri, 12 May 2023 09:21:04 +0200 Subject: [PATCH] Added ability to adjust a sponsors display rate (#1070) --- .github/workflows/main.yml | 5 ++ ore/app/views/home.scala.html | 11 ++-- ore/conf/messages | 2 +- ore/conf/ore-default-settings.conf | 37 ++++++++++---- ore/public/images/sponsors/bisecthosting.svg | 1 + ore/public/images/sponsors/shockbyte.png | Bin 0 -> 11271 bytes .../resources/assets/entries/font-awesome.js | 4 +- oreClient/yarn.lock | 48 +++++++++--------- orePlayCommon/app/ore/OreConfig.scala | 4 +- .../app/views/layout/header.scala.html | 4 +- project/Settings.scala | 2 +- project/frontendDependencies.scala | 10 ++-- 12 files changed, 79 insertions(+), 49 deletions(-) create mode 100644 ore/public/images/sponsors/bisecthosting.svg create mode 100644 ore/public/images/sponsors/shockbyte.png diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b2464ef66..017c6a5f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,6 +33,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Set up NodeJS + uses: actions/setup-node@v3 + with: + node-version: 16.16.0 + - name: Set up JDK uses: actions/setup-java@v1 with: diff --git a/ore/app/views/home.scala.html b/ore/app/views/home.scala.html index c228cb98b..b1ec7a8b6 100644 --- a/ore/app/views/home.scala.html +++ b/ore/app/views/home.scala.html @@ -6,13 +6,18 @@ @import controllers.sugar.Requests.OreRequest @import ore.OreConfig +@import ore.Sponsor @()(implicit messages: Messages, flash: Flash, request: OreRequest[_], config: OreConfig, assetsFinder: AssetsFinder) @randomSponsor = @{ - val logos = config.sponge.sponsors + val sponsors = config.sponge.sponsors - val index = new Random().nextInt(logos.size) - logos(index) + val totalWeight = sponsors.map(_.weight).sum + var randomNumber = Random.nextInt(totalWeight) + + sponsors.find { sponsor => + randomNumber < sponsor.weight || { randomNumber -= sponsor.weight; false } + }.getOrElse(sponsors.last) } @scripts = { diff --git a/ore/conf/messages b/ore/conf/messages index 9b37f3cfb..dc7d40b93 100644 --- a/ore/conf/messages +++ b/ore/conf/messages @@ -24,7 +24,7 @@ general.docs = Docs general.javadocs = Javadocs general.plugins = Plugins general.getsponge = Downloads -general.irc = Chat +general.discord = Discord general.edit = Edit general.cancel = Cancel general.save = Save diff --git a/ore/conf/ore-default-settings.conf b/ore/conf/ore-default-settings.conf index ffed70b99..046661468 100644 --- a/ore/conf/ore-default-settings.conf +++ b/ore/conf/ore-default-settings.conf @@ -234,30 +234,47 @@ sponge { # Sponsors from high to low donation amounts sponsors = [ + { + "name": "BisectHosting", + "image": "images/sponsors/bisecthosting.svg", + "link": "https://bisecthosting.com/sponge", + "weight": 37 + }, { "name": "Apex Hosting", "image": "images/sponsors/apexhosting.png", - "link": "https://apexminecrafthosting.com/" + "link": "https://apexminecrafthosting.com/", + "weight": 27 + }, + { + "name": "Minecraft Index", + "image": "images/sponsors/minecraftindex.svg", + "link": "https://minecraftindex.net/", + "weight": 17 + }, + { + "name": "Shockbyte", + "image":"images/sponsors/shockbyte.png", + "link": "https://shockbyte.com/", + "weight": 10 }, { "name": "CreeperHost", "image": "images/sponsors/creeperhost.svg", - "link": "https://billing.creeperhost.net/link.php?id=8" + "link": "https://billing.creeperhost.net/link.php?id=8", + "weight": 1 }, { "name": "JetBrains", "image": "images/sponsors/jetbrains.svg", - "link": "https://www.jetbrains.com/" + "link": "https://www.jetbrains.com/", + "weight": 1 }, { "name": "YourKit", "image": "images/sponsors/yourkit.png", - "link": "https://www.yourkit.com/" - }, - { - "name": "Minecraft Index", - "image": "images/sponsors/minecraftindex.svg", - "link": "https://minecraftindex.net/" - }, + "link": "https://www.yourkit.com/", + "weight": 1 + } ] } diff --git a/ore/public/images/sponsors/bisecthosting.svg b/ore/public/images/sponsors/bisecthosting.svg new file mode 100644 index 000000000..a842a668d --- /dev/null +++ b/ore/public/images/sponsors/bisecthosting.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ore/public/images/sponsors/shockbyte.png b/ore/public/images/sponsors/shockbyte.png new file mode 100644 index 0000000000000000000000000000000000000000..d1fbb895b4d2bfd86fd905e1353c210f3d8908ef GIT binary patch literal 11271 zcmYj%c_7pOAOD7!3foFR}of1VR%*&ZM@5 zkI7O;*1n$Ml&#%2xH$3tA9;{~_lcFJp9atdEbm>ix{ae}`VAG6Y8i-KnRC z+(Jr%EqHL+Vlv0vQ*^?FspYpia3dn9(PNA@g)vKmBVM@gX58RMaq{D-dIL`rqATz6b`VPleiROAIOyVfyM+7f$!3qs1^5$3)v-LxoSZ;qF~iL zx-Ws8P!P)nEJG2zlG@H!@)K@X*rE0=vXfH=tZ_sYa!8O-_>8=9_{^tCkhK3VfD%o- zv`Q~LvjRs1KJ|SK8C?22-syT?*tgBFEva@=5TIazoaG>=W<(Vl5v7J?PM4^CE0tf! z+Iu5Sqmi)DRf32XHh>BOeZVUsuWAApxoT%aDjt%c(cZHdnnF?Xl5Q#9A9x^5YGW*|IQ4n&2s%7pe+EZ&gA<-_eY+DPF2&)PWu&8M) zbe#EspQsozPr89CaP{8r+(?1FN`(NrJKMMD{bFmTJRxKXOH3o41)v1qtylYdbxKWV zROKEZ$!9W{gz%un&M`8Mpq=~ETC@fJzf-qJZ7vzovE(xI%ITpngZAozb-QStyna`% zcU7V!h6VwffoU|yas;3N6@rM@5d1xy*cyFr%9YDFM0>)|ustWVLj$0LK#RGBd(ruUmF(OH6p*5@ZJ!}HT#K^Km&BB!5Azw;0F){yMX$B_TqhgUO4$e&p6rHHj7xSQ& zA5k{^b=zDhqTwnVE|{cU94BZ4YzsxGtDv&4PZ&5cVdWgSkuSaV6K?r0cEUD{2)_#c zfM#Jx?gW{C=W~(^_@fFBOMrX7%U~SKk%qd}x5t)lNoZ4J!T_d%cB6B*104HZkg8|DC>b^X=Oy z{jfwH!?#R%T9}3M$N%pI#kI39=c#4H$C=9o5pS->QsU36d7~_}3KQO&R50fqLv9q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I+|e+4)*#4T)9(ca+Q4p5c`%v`@VK@zS)gV(?>sPiWs1YA$$ns z!8mgaoOt?|6YloZb-)h-2h;9J_V)*G$o-&wWfWEQ^JHzW9|8!)bQ^M#p60pPV|1G6krJpet={w|_~~ z@C88J=Bp#xLSHoe)?d^$Thx~-uAR~kg<0^(zGDm!K%h2+o$VZp*?qdDlPDHY!9WtP zOGve1;LkhxLLx%Lurf`o@!fM%2d9rGkhOrsH{TqNd|^ZKs9%m#4NRBOu6~t3Nhh&& zykZbB<;kG-{*sGU8-|fId^F&9v@nM^3OffzvrDPXue?dJc5snHCd43}Lw%qKv6i;|8z0-uETv*8K}5pbY1KeCcdv^CUzDU1H*n>gwyrxdVGjAatvEfqKd zD1_9rOTZJ_Uj@MAWkmRgOi&UVPSd69`3exHU+_e2+?_m3PAR*T#2Bh0eqzRsi^&wP z>i)HQEPwudO;a zov`ez8aQqdFek2sI`vQYo~WY#(CKXgrq7o8?+OV^7FD<7pD_OIGGI(}cSaJ(oztUf z4`+Ue84Ds9pO3J#w*@(CT=eZU&3b<`rzN_vk?}OYftKrj*y4IoiCjH$3`l* z$H#&$D!ZiD+mA>7! @messages("general.getsponge") -
  • - @messages("general.irc") +
  • + @messages("general.discord")
  • diff --git a/project/Settings.scala b/project/Settings.scala index 65f61240c..abaf885f5 100644 --- a/project/Settings.scala +++ b/project/Settings.scala @@ -11,7 +11,7 @@ object Settings { val scalaVer = "2.13.6" val commonSettings = Seq( - version := "2.0.0-M2.9", + version := "2.0.0-M2.10", scalaVersion := scalaVer, scalacOptions ++= Seq( "-deprecation", diff --git a/project/frontendDependencies.scala b/project/frontendDependencies.scala index d5235deeb..2afd3c23d 100644 --- a/project/frontendDependencies.scala +++ b/project/frontendDependencies.scala @@ -11,10 +11,10 @@ object NPMDeps { val lodash = "lodash" -> "4.17.21" val queryString = "query-string" -> "7.1.1" - val fontAwesome = "@fortawesome/fontawesome-svg-core" -> "6.1.1" - val fontAwesomeSolid = "@fortawesome/free-solid-svg-icons" -> "6.1.1" - val fontAwesomeRegular = "@fortawesome/free-regular-svg-icons" -> "6.1.1" - val fontAwesomeBrands = "@fortawesome/free-brands-svg-icons" -> "6.1.1" + val fontAwesome = "@fortawesome/fontawesome-svg-core" -> "6.4.0" + val fontAwesomeSolid = "@fortawesome/free-solid-svg-icons" -> "6.4.0" + val fontAwesomeRegular = "@fortawesome/free-regular-svg-icons" -> "6.4.0" + val fontAwesomeBrands = "@fortawesome/free-brands-svg-icons" -> "6.4.0" val babel = "@babel/core" -> "7.18.9" val babelLoader = "babel-loader" -> "8.2.5" @@ -40,7 +40,7 @@ object NPMDeps { object WebjarsDeps { val jQuery = "org.webjars.npm" % "jquery" % "2.2.4" - val fontAwesome = "org.webjars" % "font-awesome" % "6.1.1" + val fontAwesome = "org.webjars" % "font-awesome" % "6.4.0" val filesize = "org.webjars.npm" % "filesize" % "9.0.1" val moment = "org.webjars.npm" % "moment" % "2.29.4" val clipboard = "org.webjars.npm" % "clipboard" % "2.0.11"