Skip to content

Commit 1c2efdb

Browse files
committed
bump to yaf 3.2.9
1 parent 8b634e6 commit 1c2efdb

File tree

267 files changed

+1861
-1628
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+1861
-1628
lines changed
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* Yet Another Forum.NET
22
* Copyright (C) 2003-2005 Bjørnar Henden
33
* Copyright (C) 2006-2013 Jaben Cargman
4-
* Copyright (C) 2014-2023 Ingo Herbote
4+
* Copyright (C) 2014-2025 Ingo Herbote
55
* https://www.yetanotherforum.net/
6-
*
6+
*
77
* Licensed to the Apache Software Foundation (ASF) under one
88
* or more contributor license agreements. See the NOTICE file
99
* distributed with this work for additional information
@@ -22,18 +22,17 @@
2222
* under the License.
2323
*/
2424

25-
namespace YAF.SampleWebApplication
25+
namespace YAF.SampleWebApplication;
26+
27+
/// <summary>
28+
/// The bundle config.
29+
/// </summary>
30+
public class BundleConfig
2631
{
2732
/// <summary>
28-
/// The bundle config.
33+
/// The register bundles.
2934
/// </summary>
30-
public class BundleConfig
35+
public static void RegisterBundles()
3136
{
32-
/// <summary>
33-
/// The register bundles.
34-
/// </summary>
35-
public static void RegisterBundles()
36-
{
37-
}
3837
}
3938
}
Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* Yet Another Forum.NET
22
* Copyright (C) 2003-2005 Bjørnar Henden
33
* Copyright (C) 2006-2013 Jaben Cargman
4-
* Copyright (C) 2014-2023 Ingo Herbote
4+
* Copyright (C) 2014-2025 Ingo Herbote
55
* https://www.yetanotherforum.net/
6-
*
6+
*
77
* Licensed to the Apache Software Foundation (ASF) under one
88
* or more contributor license agreements. See the NOTICE file
99
* distributed with this work for additional information
@@ -22,36 +22,35 @@
2222
* under the License.
2323
*/
2424

25-
namespace YAF.SampleWebApplication
26-
{
27-
using System.Web.Mvc;
28-
using System.Web.Routing;
25+
namespace YAF.SampleWebApplication;
26+
27+
using System.Web.Mvc;
28+
using System.Web.Routing;
2929

30-
using Microsoft.AspNet.FriendlyUrls;
30+
using Microsoft.AspNet.FriendlyUrls;
3131

32+
/// <summary>
33+
/// The route config.
34+
/// </summary>
35+
public static class RouteConfig
36+
{
3237
/// <summary>
33-
/// The route config.
38+
/// The register routes.
3439
/// </summary>
35-
public static class RouteConfig
40+
/// <param name="routes">
41+
/// The routes.
42+
/// </param>
43+
public static void RegisterRoutes(RouteCollection routes)
3644
{
37-
/// <summary>
38-
/// The register routes.
39-
/// </summary>
40-
/// <param name="routes">
41-
/// The routes.
42-
/// </param>
43-
public static void RegisterRoutes(RouteCollection routes)
44-
{
45-
var settings = new FriendlyUrlSettings { AutoRedirectMode = RedirectMode.Permanent };
46-
47-
routes.EnableFriendlyUrls(settings);
48-
49-
routes.Ignore("{*legacy}", new { legacy = @".*\.(aspx|ashx|asmx|axd|svc)([/\?].*)?" });
50-
51-
routes.MapRoute(
52-
name: "Default",
53-
url: "{controller}/{action}/{id}",
54-
defaults: new { action = "Index", id = UrlParameter.Optional });
55-
}
45+
var settings = new FriendlyUrlSettings { AutoRedirectMode = RedirectMode.Permanent };
46+
47+
routes.EnableFriendlyUrls(settings);
48+
49+
routes.Ignore("{*legacy}", new { legacy = @".*\.(aspx|ashx|asmx|axd|svc)([/\?].*)?" });
50+
51+
routes.MapRoute(
52+
name: "Default",
53+
url: "{controller}/{action}/{id}",
54+
defaults: new { action = "Index", id = UrlParameter.Optional });
5655
}
5756
}

YAF.SampleWebApplication/Forum/Content/InstallWizard.min.css

Lines changed: 15 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
2+
<table class="body" valign="top" role="presentation" bgcolor="#ffffff" style="margin: 0;padding: 0;border: 0;outline: 0;width: 100%;min-width: 100%;height: 100%;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;font-family: Helvetica, Arial, sans-serif;line-height: 1.3125rem;font-weight: normal;font-size: 0.875rem;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;background-color: #ffffff;color: #000000" border="0" cellpadding="0" cellspacing="0">
3+
<tbody>
4+
<tr>
5+
<td valign="top" style="line-height: 1.3125rem;font-size: 0.875rem;margin: 0" align="left">
6+
<table class="card text-center" role="presentation" style="background-color: #ffffff;border-radius: 0.375rem;border: 1px solid #e2e8f0;border-collapse: separate;width: 100%;overflow: hidden;text-align: center" border="0" cellpadding="0" cellspacing="0">
7+
<tbody>
8+
<tr>
9+
<td style="line-height: 1.3125rem;font-size: 0.875rem;margin: 0;width: 100%;text-align: center" bgcolor="#ffffff">
10+
<table class="card-body" role="presentation" style="width: 100%" border="0" cellpadding="0" cellspacing="0">
11+
<tbody>
12+
<tr>
13+
<td style="line-height: 1.3125rem;font-size: 0.875rem;margin: 0;padding: 1.09375rem;width: 100%" align="left">
14+
<h5 class="card-title" style="margin: 0;padding-top: 0;padding-bottom: 0;font-weight: 500;text-align: left;vertical-align: baseline;font-size: 1.09375rem;line-height: 1.3125rem"> <a href="%%topicLink%%" target="_blank" style="color: #000000"> <i class="fas fa-comment"></i> {topicName} </a> ({forumName}) <table class="badge text-light-emphasis bg-light-subtle" align="left" role="presentation" border="0" cellpadding="0" cellspacing="0">
15+
<tbody>
16+
<tr>
17+
<td style="margin: 0;display: inline-block;padding: 0.21875rem 0.35rem;font-weight: 700;line-height: 1;white-space: nowrap;vertical-align: baseline;border-radius: 4px;font-size: 0.8203125rem" align="center">
18+
<span> {replies} </span>
19+
</td>
20+
</tr>
21+
</tbody>
22+
</table> </h5> <h6 class="card-subtitle" style="margin: 0;padding-top: 0;padding-bottom: 0;font-weight: 500;text-align: left;vertical-align: baseline;font-size: 0.875rem;line-height: 1.05rem"> </h6> <p class="text-body-secondary small mb-4" style="text-align: left;line-height: 1.3125rem;font-size: 0.875rem;width: 100%;margin: 0"> {starter} </p> <p class="card-text mb-4" style="text-align: left;line-height: 1.3125rem;font-size: 0.875rem;width: 100%;margin: 0"> {message} </p> <table class="s-2 w-full" role="presentation" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
23+
<tbody>
24+
<tr>
25+
<td style="margin: 0;width: 100%;font-size: 8px;line-height: 8px;height: 8px" width="100%" height="8" align="left">
26+
&nbsp;
27+
</td>
28+
</tr>
29+
</tbody>
30+
</table><table class="btn btn-primary btn-sm mx-auto" role="presentation" style="border-radius: 0.375rem;border-collapse: separate" border="0" cellpadding="0" cellspacing="0">
31+
<tbody>
32+
<tr>
33+
<td style="line-height: 1.3125rem;font-size: 0.875rem;margin: 0;border-radius: 0.375rem;" align="center" bgcolor="#0d6efd">
34+
<a href="%%topicLink%%" target="_blank" style="font-family: Helvetica, Arial, sans-serif;text-decoration: none;border: 2px solid transparent;display: block;font-weight: normal;white-space: nowrap;background-color: #0d6efd;color: #ffffff;border-color: #0d6efd;font-size: 0.765625rem;padding: 0.21875rem 0.4375rem;line-height: 0.95703125rem;border-radius: 0.25rem">{link}</a>
35+
</td>
36+
</tr>
37+
</tbody>
38+
</table>
39+
</td>
40+
</tr>
41+
</tbody>
42+
</table>
43+
</td>
44+
</tr>
45+
</tbody>
46+
</table><table class="s-3 w-full" role="presentation" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
47+
<tbody>
48+
<tr>
49+
<td style="margin: 0;width: 100%;font-size: 12px;line-height: 12px;height: 12px" width="100%" height="12" align="left">
50+
&nbsp;
51+
</td>
52+
</tr>
53+
</tbody>
54+
</table> </td>
55+
</tr>
56+
</tbody>
57+
</table>
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2+
<html>
3+
<head>
4+
<!-- Compiled with Bootstrap Email version: 1.5.5 -->
5+
<meta name="format-detection" content="telephone=no, date=no, address=no, email=no">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
<meta name="x-apple-disable-message-reformatting">
8+
<meta http-equiv="x-ua-compatible" content="ie=edge">
9+
<title>{title}</title>
10+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
11+
<style>
12+
/* Add custom classes and styles that you want inlined here */
13+
14+
body,table,td{font-family:Helvetica,Arial,sans-serif !important}.ExternalClass{width:100%}.ExternalClass,.ExternalClass p,.ExternalClass span,.ExternalClass font,.ExternalClass td,.ExternalClass div{line-height:150%}a{text-decoration:none}*{color:inherit}a[x-apple-data-detectors],u+#body a,#MessageViewBody a{color:inherit;text-decoration:none;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit}img{-ms-interpolation-mode:bicubic}table:not([class^=s-]){font-family:Helvetica,Arial,sans-serif;mso-table-lspace:0pt;mso-table-rspace:0pt;border-spacing:0px;border-collapse:collapse}table:not([class^=s-]) td{border-spacing:0px;border-collapse:collapse}@media screen and (max-width: 600px){.w-full,.w-full>tbody>tr>td{width:100% !important}.w-24,.w-24>tbody>tr>td{width:96px !important}.p-lg-10:not(table),.p-lg-10:not(.btn)>tbody>tr>td,.p-lg-10.btn td a{padding:0 !important}.p-6:not(table),.p-6:not(.btn)>tbody>tr>td,.p-6.btn td a{padding:24px !important}*[class*=s-lg-]>tbody>tr>td{font-size:0 !important;line-height:0 !important;height:0 !important}.s-10>tbody>tr>td{font-size:40px !important;line-height:40px !important;height:40px !important}}
15+
16+
17+
</style>
18+
</head>
19+
<body class="bg-light" style="margin: 0;padding: 0;border: 0;outline: 0;width: 100%;min-width: 100%;height: 100%;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;font-family: Helvetica, Arial, sans-serif;line-height: 1.3125rem;font-weight: normal;font-size: 0.875rem;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;color: #000000;background-color: #f7fafc">
20+
<table class="bg-light body" valign="top" role="presentation" bgcolor="#f7fafc" style="margin: 0;padding: 0;border: 0;outline: 0;width: 100%;min-width: 100%;height: 100%;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;font-family: Helvetica, Arial, sans-serif;line-height: 1.3125rem;font-weight: normal;font-size: 0.875rem;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;color: #000000;background-color: #f7fafc" border="0" cellpadding="0" cellspacing="0">
21+
<tbody>
22+
<tr>
23+
<td valign="top" style="line-height: 1.3125rem;font-size: 0.875rem;margin: 0;" align="left" bgcolor="#f7fafc">
24+
<table class="container" role="presentation" style="width: 100%" border="0" cellpadding="0" cellspacing="0">
25+
<tbody>
26+
<tr>
27+
<td align="center" style="line-height: 1.3125rem;font-size: 0.875rem;margin: 0;padding: 0 0.875rem">
28+
<!--[if (gte mso 9)|(IE)]>
29+
<table align="center" role="presentation">
30+
<tbody>
31+
<tr>
32+
<td width="600">
33+
<![endif]-->
34+
<table align="center" role="presentation" style="margin: 0 auto;width: 100%;max-width: 600px" border="0" cellpadding="0" cellspacing="0">
35+
<tbody>
36+
<tr>
37+
<td style="line-height: 1.3125rem;font-size: 0.875rem;margin: 0" align="left">
38+
<table class="s-10 w-full" role="presentation" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
39+
<tbody>
40+
<tr>
41+
<td style="margin: 0;width: 100%;font-size: 40px;line-height: 40px;height: 40px" width="100%" height="40" align="left">
42+
</td>
43+
</tr>
44+
</tbody>
45+
</table>
46+
<table class="ax-center" role="presentation" align="center" style="margin: 0 auto" border="0" cellpadding="0" cellspacing="0">
47+
<tbody>
48+
<tr>
49+
<td style="line-height: 1.3125rem;font-size: 0.875rem;margin: 0" align="left">
50+
<img class="w-24" src="%%logo%%" alt="logo" style="border: 0 none;height: auto;line-height: 100%;outline: none;text-decoration: none;display: block;width: 96px" width="96">
51+
</td>
52+
</tr>
53+
</tbody>
54+
</table>
55+
<table class="s-10 w-full" role="presentation" style="width: 100%" border="0" cellpadding="0" cellspacing="0" width="100%">
56+
<tbody>
57+
<tr>
58+
<td style="margin: 0;width: 100%;font-size: 40px;line-height: 40px;height: 40px" width="100%" height="40" align="left">
59+
</td>
60+
</tr>
61+
</tbody>
62+
</table>
63+
<table class="card p-6 p-lg-10 space-y-4" role="presentation" style="background-color: #ffffff;border-radius: 0.375rem;border: 1px solid #e2e8f0;border-collapse: separate;width: 100%;overflow: hidden" border="0" cellpadding="0" cellspacing="0">
64+
<tbody>
65+
<tr>
66+
<td style="line-height: 1.3125rem;font-size: 0.875rem;margin: 0;width: 100%;padding: 40px" align="left" bgcolor="#ffffff">
67+
<table class="card-body" role="presentation" style="width: 100%" border="0" cellpadding="0" cellspacing="0">
68+
<tbody>
69+
<tr>
70+
<td style="line-height: 1.3125rem;font-size: 0.875rem;margin: 0;padding: 1.09375rem;width: 100%" align="left">
71+
{CONTENT}
72+
</td>
73+
</tr>
74+
</tbody>
75+
</table>
76+
</td>
77+
</tr>
78+
</tbody>
79+
</table>
80+
<div class="text-center text-body-secondary" style="text-align: center">
81+
<strong>{forumname}</strong>
82+
at
83+
<a href="%%forumlink%%" style="color: #000000">{forumlink}</a>
84+
</div>
85+
<div class="text-center text-body-secondary small" style="text-align: center">{manageText}
86+
<a href="%%manageLink%%" style="color: #000000">{manageLinkText}</a>
87+
</div>
88+
</td>
89+
</tr>
90+
</tbody>
91+
</table>
92+
<!--[if (gte mso 9)|(IE)]>
93+
</td>
94+
</tr>
95+
</tbody>
96+
</table>
97+
<![endif]-->
98+
</td>
99+
</tr>
100+
</tbody>
101+
</table>
102+
</td>
103+
</tr>
104+
</tbody>
105+
</table>
106+
</body>
107+
</html>

YAF.SampleWebApplication/Forum/Content/Themes/brite/bootstrap-forum.min.css

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

YAF.SampleWebApplication/Forum/Content/Themes/cerulean/EmailTemplate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
<html>
33
<head>
4-
<!-- Compiled with Bootstrap Email version: 1.5.4 -->
4+
<!-- Compiled with Bootstrap Email version: 1.5.5 -->
55
<meta name="format-detection" content="telephone=no, date=no, address=no, email=no">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta name="x-apple-disable-message-reformatting">

YAF.SampleWebApplication/Forum/Content/Themes/cerulean/bootstrap-forum.min.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

YAF.SampleWebApplication/Forum/Content/Themes/cosmo/EmailTemplate.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
22
<html>
33
<head>
4-
<!-- Compiled with Bootstrap Email version: 1.5.4 -->
4+
<!-- Compiled with Bootstrap Email version: 1.5.5 -->
55
<meta name="format-detection" content="telephone=no, date=no, address=no, email=no">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta name="x-apple-disable-message-reformatting">

YAF.SampleWebApplication/Forum/Content/Themes/cosmo/bootstrap-forum.min.css

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)