From af2a496ee69d34bb3e07afab0c7016ce8acd5412 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Tue, 19 Jan 2021 22:47:24 -0500 Subject: [PATCH 1/7] better wording --- src/BirdsiteLive/Views/Statistics/Index.cshtml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/BirdsiteLive/Views/Statistics/Index.cshtml b/src/BirdsiteLive/Views/Statistics/Index.cshtml index 9a0b536..c3dd57f 100644 --- a/src/BirdsiteLive/Views/Statistics/Index.cshtml +++ b/src/BirdsiteLive/Views/Statistics/Index.cshtml @@ -21,8 +21,8 @@

Mentions Extraction

\ No newline at end of file From 9bc1a3923bfa6cfd2812bf68f8a3e8d27cdb4d31 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Tue, 19 Jan 2021 23:06:35 -0500 Subject: [PATCH 2/7] better documentation --- INSTALLATION.md | 4 ++++ README.md | 2 +- VARIABLES.md | 12 ++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 VARIABLES.md diff --git a/INSTALLATION.md b/INSTALLATION.md index da4b7cc..17a60f7 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -151,3 +151,7 @@ docker-compose pull # Start a new container, automatically removes old one docker-compose up -d ``` + +## More options + +You can find more options available [here](https://github.com/NicolasConstant/BirdsiteLive/blob/master/VARIABLES.md) \ No newline at end of file diff --git a/README.md b/README.md index 916a8a0..241316e 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ You can find an official (and temporary) instance here: [beta.birdsite.live](htt ## Installation -I'm providing a [Docker build](https://hub.docker.com/r/nicolasconstant/birdsitelive), to install it on your own server, please follow [those instructions](https://github.com/NicolasConstant/BirdsiteLive/blob/master/INSTALLATION.md). +I'm providing a [docker build](https://hub.docker.com/r/nicolasconstant/birdsitelive). To install it on your own server, please follow [those instructions](https://github.com/NicolasConstant/BirdsiteLive/blob/master/INSTALLATION.md). More [options](https://github.com/NicolasConstant/BirdsiteLive/blob/master/VARIABLES.md) are also available. ## License diff --git a/VARIABLES.md b/VARIABLES.md new file mode 100644 index 0000000..b68d4de --- /dev/null +++ b/VARIABLES.md @@ -0,0 +1,12 @@ +# Environment variables + +You can configure some of BirdsiteLIVE's settings via environment variables (those are optionnals): + +## Logging + +* `Logging:Type` set the type of the logging and monitoring system, currently the only type supported is `insights` for *Azure Application Insights* (PR welcome to support other types) +* `Logging:InstrumentationKey` the instrumentation key for Azure Application Insights + +## Instance customization + +* `Instance:ResolveMentionsInProfiles` (default: true) to enable or disable mentions parsing in profile's description. Resolving it will consume more User's API calls since newly discovered account can also contain references to others accounts as well. On a big instance it is recommended to disable it. \ No newline at end of file From e1f9cdce671a3c6bedcd3b01049c3bd45ad073e5 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Tue, 19 Jan 2021 23:27:36 -0500 Subject: [PATCH 3/7] changed favicon --- src/BirdsiteLive/wwwroot/favicon.ico | Bin 32038 -> 15406 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/src/BirdsiteLive/wwwroot/favicon.ico b/src/BirdsiteLive/wwwroot/favicon.ico index a3a799985c43bc7309d701b2cad129023377dc71..6c149fac0c9a2a1719d5fef0ccdb86dda5286f89 100644 GIT binary patch literal 15406 zcmeHOeQXrR72mzDy)WDNuoFxOIK}nd?Z=(%!^S2M)08T-qD_?wwP~u9R#8eslSoks zD5~VNQl%;%3e6u8N?S@JLYmSxMU9A}5|JVW5*3An@(~VZZ;ZEI z@9p|_?Q=e=TWK}7GjHB|^Jd0+fdih zG2Y%zQ3skSDg_vHL658TC_b@IXQVJc?Nfi4q_zD?TGvpXPtn?Gyt`PRc6*LG6m(*~ zf6=}$8UoTQ6~C(*U?L5*BU1x4Q4mwdB9d0on-j(0B`Qdy%-U<#kH>yP>UFdb0uG2npj`IKLMgrWv~Mx9Y!T~iaZ$MDhm zdu%{`pubs<6F4p`UvI!$%T%2_7xH=*c+P>(Gpw(;p(7-HmJ1fYZiW3ceiJ*>igzVm z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|p${GZ9ETX=d+kJRZL$nSa0daI@&oUUxnZg0xd_xu>Vz lzF#z5%kSKX?YLH3ll^(hI(_`L*t#Iva2Ede*Z;>H_ Date: Tue, 19 Jan 2021 23:52:19 -0500 Subject: [PATCH 4/7] favicon more round --- src/BirdsiteLive/wwwroot/favicon.ico | Bin 15406 -> 15406 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/src/BirdsiteLive/wwwroot/favicon.ico b/src/BirdsiteLive/wwwroot/favicon.ico index 6c149fac0c9a2a1719d5fef0ccdb86dda5286f89..508b109501a99aa0bf14728629678dfa8ed987c4 100644 GIT binary patch literal 15406 zcmeHOYitzP6~43YUB9rw5Ws**9D8SGpIL(q1-4ZaWd7twi-|&&hBg&6KN9sJ(f(-V zMzj@b8%2F6QbU8pPEo?)mPy=bm%#IoE`6#7>qiBPiR+mmP#`CWN%N=b!z}gdD}YNM!nZ zCm|~_E8tf=DIj-+|Q}6 z^EU0#ULtvmwbjL`zn!9?bOnBXPD}6(Wk<0#1efwv@cdsPdit)DWN(Oe<+H{%Hjsn| z{9iGnGrS-7JG1w&ZJ>`oG}I~BhnYH@Iz&irMz*3e{RD8|nE76y|Hf~EUA>=T5ZqD+ zWPaWFz2r0GP3iqMb)aP30(dYUS13Ji%N&I4{!?)qoc1B57d+|pT|}L;8T86+ES-Me+a`I@c4lrHnIobz^MGEjSQ&6A-RRRv=*M-){3OPDcd`2O{f*k0 zcKkkxAGJ>(hbz8eXj!cJz4hUi;kEG%gPz;nrx3}k#5{!UQvM2kd4HC^aOwoUjbfg? z06XzWZ==*wD?9?x>btnili)W#i)VrPKJ%SZ#|4M-Y^*VPS2Z}my90CZ;!L~6cozD` zsW*71^8LP!OKvMTAkV+}?HSBXt#aGL;PKlsL)}fuJFQ@#G|`p>A8;wZz_?FXm4)A? zY4`Y&u}U!vzz4y0?dBbs7yY(u@Z3pXc47K32V9I7pk!fSP%2j;@pZt>4?(2JD*Z9Yo$_n6K<>bE_Nw>>GZ<^2a)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Y<&2}C5gdR z<@XdQirgtg&ii+S7WRNAmd!m;=YdsQ&|HfW#T>whl&N*y~D_D{~}X2yoT&S*|LV39lWRQW a`QEG@u3BA90yPQLBv6w;O#&aM1pW*8)bD@* From acad52048a50807ade571202ce97e1b757ecd263 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Wed, 20 Jan 2021 01:13:39 -0500 Subject: [PATCH 5/7] Added instance name customization --- VARIABLES.md | 3 +- .../Settings/InstanceSettings.cs | 1 + src/BirdsiteLive/Views/Shared/_Layout.cshtml | 46 ++++++++++--------- src/BirdsiteLive/appsettings.json | 1 + 4 files changed, 28 insertions(+), 23 deletions(-) diff --git a/VARIABLES.md b/VARIABLES.md index b68d4de..3536069 100644 --- a/VARIABLES.md +++ b/VARIABLES.md @@ -4,9 +4,10 @@ You can configure some of BirdsiteLIVE's settings via environment variables (tho ## Logging -* `Logging:Type` set the type of the logging and monitoring system, currently the only type supported is `insights` for *Azure Application Insights* (PR welcome to support other types) +* `Logging:Type` (default: none) set the type of the logging and monitoring system, currently the only type supported is `insights` for *Azure Application Insights* (PR welcome to support other types) * `Logging:InstrumentationKey` the instrumentation key for Azure Application Insights ## Instance customization +* `Instance:Name` (default: BirdsiteLIVE) the name of the instance * `Instance:ResolveMentionsInProfiles` (default: true) to enable or disable mentions parsing in profile's description. Resolving it will consume more User's API calls since newly discovered account can also contain references to others accounts as well. On a big instance it is recommended to disable it. \ No newline at end of file diff --git a/src/BirdsiteLive.Common/Settings/InstanceSettings.cs b/src/BirdsiteLive.Common/Settings/InstanceSettings.cs index 2ce9715..fe303a7 100644 --- a/src/BirdsiteLive.Common/Settings/InstanceSettings.cs +++ b/src/BirdsiteLive.Common/Settings/InstanceSettings.cs @@ -2,6 +2,7 @@ { public class InstanceSettings { + public string Name { get; set; } public string Domain { get; set; } public string AdminEmail { get; set; } public bool ResolveMentionsInProfiles { get; set; } diff --git a/src/BirdsiteLive/Views/Shared/_Layout.cshtml b/src/BirdsiteLive/Views/Shared/_Layout.cshtml index 5275267..f9f571a 100644 --- a/src/BirdsiteLive/Views/Shared/_Layout.cshtml +++ b/src/BirdsiteLive/Views/Shared/_Layout.cshtml @@ -1,9 +1,11 @@ - +@using Microsoft.Extensions.Configuration +@inject IConfiguration Configuration + - @ViewData["Title"] - BirdsiteLIVE + @Configuration.GetSection("Instance")["Name"] - @ViewData["Title"] @@ -12,21 +14,21 @@
@@ -36,14 +38,14 @@ -
-
+
+
- Github @*Privacy*@ + Github @*Privacy*@ - BirdsiteLIVE @System.Reflection.Assembly.GetEntryAssembly().GetName().Version.ToString(3) -
-
+ BirdsiteLIVE @System.Reflection.Assembly.GetEntryAssembly().GetName().Version.ToString(3) +
+
diff --git a/src/BirdsiteLive/appsettings.json b/src/BirdsiteLive/appsettings.json index d0c49bf..57bf945 100644 --- a/src/BirdsiteLive/appsettings.json +++ b/src/BirdsiteLive/appsettings.json @@ -10,6 +10,7 @@ }, "AllowedHosts": "*", "Instance": { + "Name": "BirdsiteLIVE", "Domain": "domain.name", "AdminEmail": "me@domain.name", "ResolveMentionsInProfiles": true From bc62dc16107888e6486e23a0139fce0ca938ae28 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Thu, 21 Jan 2021 00:28:36 -0500 Subject: [PATCH 6/7] fix gif attachment type, fix #61 --- .../Extractors/TweetExtractor.cs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/BirdsiteLive.Twitter/Extractors/TweetExtractor.cs b/src/BirdsiteLive.Twitter/Extractors/TweetExtractor.cs index 1d27ddb..f4bb8d1 100644 --- a/src/BirdsiteLive.Twitter/Extractors/TweetExtractor.cs +++ b/src/BirdsiteLive.Twitter/Extractors/TweetExtractor.cs @@ -89,8 +89,8 @@ namespace BirdsiteLive.Twitter.Extractors switch (mediaType) { case "photo": - var ext = Path.GetExtension(mediaUrl); - switch (ext) + var pExt = Path.GetExtension(mediaUrl); + switch (pExt) { case ".jpg": case ".jpeg": @@ -101,8 +101,15 @@ namespace BirdsiteLive.Twitter.Extractors return null; case "animated_gif": + var vExt = Path.GetExtension(mediaUrl); + switch (vExt) + { + case ".gif": + return "image/gif"; + case ".mp4": + return "video/mp4"; + } return "image/gif"; - case "video": return "video/mp4"; } From fee7810d8a6f21b2678f3c37abac3adf5762eaa7 Mon Sep 17 00:00:00 2001 From: Nicolas Constant Date: Thu, 21 Jan 2021 00:30:56 -0500 Subject: [PATCH 7/7] road to 0.10.1 --- src/BirdsiteLive/BirdsiteLive.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BirdsiteLive/BirdsiteLive.csproj b/src/BirdsiteLive/BirdsiteLive.csproj index 01e0094..4729487 100644 --- a/src/BirdsiteLive/BirdsiteLive.csproj +++ b/src/BirdsiteLive/BirdsiteLive.csproj @@ -4,7 +4,7 @@ netcoreapp3.1 d21486de-a812-47eb-a419-05682bb68856 Linux - 0.10.0 + 0.10.1