Skip to content

Commit 6d67657

Browse files
committed
Introduce GoldSim Website 4.1.0
This update provides new support for GoldSim course content, facilitating a port from the Google Courseware app to the OnTopic CMS (cb25317). In addition, it includes significant refactoring of the JavaScript (2bace01, 1df0caa) and SASS (323d8dd, 60eb562, 1c22db8) code, with an eye toward both maintainability and performance enhancements (5c3cda2), many of which take advantage of our recent migration to HTTP/2. It also includes quite a bit of refactoring of the server-side code for the purpose of maintainability—and, in particular, includes refactoring the course, forms, and payment functionality into ASP.NET Core MVC Areas (d35fa4b). As with the major 4.0.0 release in December (cba60fb), which migrated the site from .NET Framework to .NET Core, this update shouldn't have any impact on the presentation of the site, but it should significantly improve both performance and maintenance. New Features - Introduced new GoldSim courseware functionality for online courses (cb25317) - Migrated content files (such as images, videos, and downloads) to a new `media.GoldSim.com` server (74c2bea) - Sorted Example Applications based on `LastModified` date, per @jlillywh's request (9765063) Improvements and Refactorings - Various performance enhancements to client-side code (5c3cda2) - Reduced size and improved quality of stylesheets (323d8dd, 1df0caa) - Reduced size and improved quality of JavaScript code (2bace01, 1c22db8) - Refactored code into areas to ease maintenance (d35fa4b) - Evaluated and consolidated common CSS classes (60eb562) Bug Fixes - Fixed DASH video streaming issue related to bitrate switching with local media (1cdc2f3) Maintenance - Updated dependencies (833ba33, 2b3eb43)
2 parents 8a93559 + 2b3eb43 commit 6d67657

File tree

245 files changed

+4605
-3607
lines changed

Some content is hidden

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

245 files changed

+4605
-3607
lines changed

Areas/Administration/Controllers/InvoicesController.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,5 @@ public IActionResult VerifyInvoiceNumber(
214214
return Json(data: true);
215215
}
216216

217-
218217
} // Class
219218
} // Namespace

Areas/Administration/Controllers/LicensesController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
\=============================================================================================================================*/
66
using System;
77
using System.Linq;
8+
using GoldSim.Web.Administration.Services;
89
using Microsoft.AspNetCore.Authorization;
910
using Microsoft.AspNetCore.Mvc;
1011
using OnTopic.AspNetCore.Mvc.Controllers;

Areas/Administration/Models/Invoices/EditInvoiceViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,4 @@ public EditInvoiceViewModel() {}
3434
public InvoiceTopicViewModel Invoice { get; set; }
3535

3636
} // Class
37-
38-
} // Namespace
37+
} // Namespace

Areas/Administration/Models/Invoices/InvoiceListViewModel.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,4 @@ public InvoiceListViewModel() {}
3636
public List<InvoiceTopicViewModel> Invoices { get; } = new List<InvoiceTopicViewModel>();
3737

3838
} // Class
39-
40-
} // Namespace
39+
} // Namespace

Areas/Administration/Models/Invoices/InvoiceTopicViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ public class InvoiceTopicViewModel {
7272
public DateTime? DatePaid { get; set; } = null;
7373

7474
} // Class
75-
} // Namespace
75+
} // Namespace

Areas/Administration/Models/Licenses/InstructorAcademicFormTopicViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ namespace GoldSim.Web.Administration.Models.Licenses {
1515
public class InstructorAcademicFormTopicViewModel: LicenseRequestTopicViewModel {
1616

1717
} // Class
18-
} // Namespace
18+
} // Namespace

Areas/Administration/Models/Licenses/LicenseRequestTopicViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
| Project Website
55
\=============================================================================================================================*/
66
using System;
7-
using GoldSim.Web.Models.Forms;
7+
using GoldSim.Web.Forms.Models.Partials;
88

99
namespace GoldSim.Web.Administration.Models.Licenses {
1010

Areas/Administration/Models/Licenses/StudentAcademicFormTopicViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ namespace GoldSim.Web.Administration.Models.Licenses {
1515
public class StudentAcademicFormTopicViewModel: LicenseRequestTopicViewModel {
1616

1717
} // Class
18-
} // Namespace
18+
} // Namespace

Areas/Administration/Models/Licenses/TrialFormTopicViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ namespace GoldSim.Web.Administration.Models.Licenses {
1515
public class TrialFormTopicViewModel: LicenseRequestTopicViewModel {
1616

1717
} // Class
18-
} // Namespace
18+
} // Namespace

Services/ITopicExportService.cs renamed to Areas/Administration/Services/ITopicExportService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using System.IO;
88
using OnTopic;
99

10-
namespace GoldSim.Web {
10+
namespace GoldSim.Web.Administration.Services {
1111

1212
/*============================================================================================================================
1313
| INTERFACE: TOPIC EXPORT SERVICE

0 commit comments

Comments
 (0)