ArgoZhang / BootstrapAdmin

Compare 80f5c1b ... +2 ... d95e066

Coverage Reach
Bootstrap.Admin/Controllers/Api/ProfilesController.cs Bootstrap.Admin/Controllers/Api/NotificationsController.cs Bootstrap.Admin/Controllers/Api/GiteeController.cs Bootstrap.Admin/Controllers/Api/OnlineUsersController.cs Bootstrap.Admin/Controllers/Api/UsersController.cs Bootstrap.Admin/Controllers/Api/AnalyseController.cs Bootstrap.Admin/Controllers/Api/TasksController.cs Bootstrap.Admin/Controllers/Api/ExceptionsController.cs Bootstrap.Admin/Controllers/Api/RolesController.cs Bootstrap.Admin/Controllers/Api/GroupsController.cs Bootstrap.Admin/Controllers/Api/NewController.cs Bootstrap.Admin/Controllers/Api/LoginController.cs Bootstrap.Admin/Controllers/Api/MessagesController.cs Bootstrap.Admin/Controllers/Api/MenusController.cs Bootstrap.Admin/Controllers/Api/TasksLogController.cs Bootstrap.Admin/Controllers/Api/CategoryController.cs Bootstrap.Admin/Controllers/Api/SettingsController.cs Bootstrap.Admin/Controllers/Api/InterfaceController.cs Bootstrap.Admin/Controllers/Api/RegisterController.cs Bootstrap.Admin/Controllers/Api/LogsController.cs Bootstrap.Admin/Controllers/Api/DictsController.cs Bootstrap.Admin/Controllers/Api/TracesController.cs Bootstrap.Admin/Controllers/Api/SQLController.cs Bootstrap.Admin/Controllers/Api/AppsController.cs Bootstrap.Admin/Controllers/AccountController.cs Bootstrap.Admin/Controllers/AdminController.cs Bootstrap.Admin/Controllers/HomeController.cs Bootstrap.Admin/Views/Admin/Settings.cshtml Bootstrap.Admin/Views/Admin/Profiles.cshtml Bootstrap.Admin/Views/Admin/Menus.cshtml Bootstrap.Admin/Views/Admin/Tasks.cshtml Bootstrap.Admin/Views/Admin/Roles.cshtml Bootstrap.Admin/Views/Admin/Users.cshtml Bootstrap.Admin/Views/Admin/Groups.cshtml Bootstrap.Admin/Views/Admin/Analyse.cshtml Bootstrap.Admin/Views/Admin/Dicts.cshtml Bootstrap.Admin/Views/Admin/Sidebar.cshtml Bootstrap.Admin/Views/Admin/Messages.cshtml Bootstrap.Admin/Views/Admin/Notifications.cshtml Bootstrap.Admin/Views/Admin/Logs.cshtml Bootstrap.Admin/Views/Admin/Exceptions.cshtml Bootstrap.Admin/Views/Admin/Logins.cshtml Bootstrap.Admin/Views/Admin/FAIcon.cshtml Bootstrap.Admin/Views/Admin/SQL.cshtml Bootstrap.Admin/Views/Admin/Healths.cshtml Bootstrap.Admin/Views/Admin/Traces.cshtml Bootstrap.Admin/Views/Admin/Online.cshtml Bootstrap.Admin/Views/Admin/IconView.cshtml Bootstrap.Admin/Views/Admin/Index.cshtml Bootstrap.Admin/Views/Admin/Mobile.cshtml Bootstrap.Admin/Views/Shared/SubNavItem.cshtml Bootstrap.Admin/Views/Shared/_Bootstrap.cshtml Bootstrap.Admin/Views/Shared/_Default.cshtml Bootstrap.Admin/Views/Shared/Error.cshtml Bootstrap.Admin/Views/Shared/Header.cshtml Bootstrap.Admin/Views/Shared/_Admin.cshtml Bootstrap.Admin/Views/Shared/Navigator.cshtml Bootstrap.Admin/Views/Shared/_Layout.cshtml Bootstrap.Admin/Views/Shared/SubNavigation.cshtml Bootstrap.Admin/Views/Shared/Footer.cshtml Bootstrap.Admin/Views/Shared/LoginFooter.cshtml Bootstrap.Admin/Views/Account/Login.cshtml Bootstrap.Admin/Views/Account/Login-LTE.cshtml Bootstrap.Admin/Views/Account/Login-Gitee.cshtml Bootstrap.Admin/Views/Account/Login-Tec.cshtml Bootstrap.Admin/Views/Account/Login-Blue.cshtml Bootstrap.Admin/Views/Account/Lock.cshtml Bootstrap.Admin/Views/Home/Index.cshtml Bootstrap.Admin/Views/_ViewStart.cshtml Bootstrap.Admin/Query/QueryMenuOption.cs Bootstrap.Admin/Query/QueryUserOption.cs Bootstrap.Admin/Query/QueryDictOption.cs Bootstrap.Admin/Query/QueryGroupOption.cs Bootstrap.Admin/Query/QueryRoleOption.cs Bootstrap.Admin/Query/QueryLoginOption.cs Bootstrap.Admin/Query/QuerySQLOption.cs Bootstrap.Admin/Query/QueryTraceOptions.cs Bootstrap.Admin/Query/QueryLogOption.cs Bootstrap.Admin/Query/QueryExceptionOption.cs Bootstrap.Admin/Models/SettingsModel.cs Bootstrap.Admin/Models/AdminModel.cs Bootstrap.Admin/Models/ErrorModel.cs Bootstrap.Admin/Models/HeaderBarModel.cs Bootstrap.Admin/Models/ProfilesModel.cs Bootstrap.Admin/Models/TaskModel.cs Bootstrap.Admin/Models/NavigatorBarModel.cs Bootstrap.Admin/Models/LoginModel.cs Bootstrap.Admin/Models/LockModel.cs Bootstrap.Admin/Models/MessageCountModel.cs Bootstrap.Admin/Models/ModelBase.cs Bootstrap.Admin/HealthChecks/DBHealthCheck.cs Bootstrap.Admin/HealthChecks/GiteeHttpHealthCheck.cs Bootstrap.Admin/HealthChecks/HealthChecksBuilderExtensions.cs Bootstrap.Admin/HealthChecks/GiteeHttpClient.cs Bootstrap.Admin/Extensions/SwaggerExtensions.cs Bootstrap.Admin/Extensions/SignalRExtensions.cs Bootstrap.Admin/Tasks/TasksExtensions.cs Bootstrap.Admin/Tasks/TaskWidget.cs Bootstrap.Admin/Tasks/DefaultTaskExecutor.cs Bootstrap.Admin/Startup.cs Bootstrap.DataAccess/Helper/DictHelper.cs Bootstrap.DataAccess/Helper/UserHelper.cs Bootstrap.DataAccess/Helper/MenuHelper.cs Bootstrap.DataAccess/Helper/RoleHelper.cs Bootstrap.DataAccess/Helper/TraceHelper.cs Bootstrap.DataAccess/Helper/GroupHelper.cs Bootstrap.DataAccess/Helper/QueryAppOption.cs Bootstrap.DataAccess/Helper/LoginHelper.cs Bootstrap.DataAccess/Helper/ExceptionsHelper.cs Bootstrap.DataAccess/Helper/AppHelper.cs Bootstrap.DataAccess/Helper/LogHelper.cs Bootstrap.DataAccess/Helper/MessageHelper.cs Bootstrap.DataAccess/Helper/ResetUserHelper.cs Bootstrap.DataAccess/Helper/TaskHelper.cs Bootstrap.DataAccess/User.cs Bootstrap.DataAccess/Dict.cs Bootstrap.DataAccess/Role.cs Bootstrap.DataAccess/CacheCleanUtility.cs Bootstrap.DataAccess/Group.cs Bootstrap.DataAccess/Exceptions.cs Bootstrap.DataAccess/Message.cs Bootstrap.DataAccess/Menu.cs Bootstrap.DataAccess/Trace.cs Bootstrap.DataAccess/Log.cs Bootstrap.DataAccess/LoginUser.cs Bootstrap.DataAccess/App.cs Bootstrap.DataAccess/DBLog.cs Bootstrap.DataAccess/DbManager.cs Bootstrap.DataAccess/ResetUsers.cs Bootstrap.DataAccess/Task.cs Bootstrap.DataAccess/DbContextManager.cs Bootstrap.DataAccess/BootstrapDataAccessConventionMapper.cs Bootstrap.DataAccess/MessageBody.cs Bootstrap.DataAccess.MongoDB/DbManager.cs Bootstrap.DataAccess.MongoDB/User.cs Bootstrap.DataAccess.MongoDB/Role.cs Bootstrap.DataAccess.MongoDB/Group.cs Bootstrap.DataAccess.MongoDB/Menu.cs Bootstrap.DataAccess.MongoDB/Trace.cs Bootstrap.DataAccess.MongoDB/Exceptions.cs Bootstrap.DataAccess.MongoDB/Log.cs Bootstrap.DataAccess.MongoDB/Dict.cs Bootstrap.DataAccess.MongoDB/App.cs Bootstrap.DataAccess.MongoDB/LoginUser.cs Bootstrap.DataAccess.MongoDB/ResetUser.cs Bootstrap.DataAccess.MongoDB/RejectUser.cs Bootstrap.DataAccess.MongoDB/Message.cs Bootstrap.DataAccess.MongoDB/Task.cs Bootstrap.DataAccess.MongoDB/DBLog.cs

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.


@@ -17,7 +17,7 @@
Loading
17 17
        /// Index View
18 18
        /// </summary>
19 19
        /// <returns></returns>
20 -
        public IActionResult Index([FromServices]IConfiguration configuration)
20 +
        public IActionResult Index()
21 21
        {
22 22
            var model = new HeaderBarModel(User.Identity!.Name);
23 23
            var homeUrl = DictHelper.RetrieveHomeUrl(User.Identity.Name, model.AppId);

@@ -1,4 +1,5 @@
Loading
1 1
using Bootstrap.DataAccess;
2 +
using Exceptionless;
2 3
using Longbow.Web.SignalR;
3 4
using Microsoft.AspNetCore.Authorization;
4 5
using Microsoft.AspNetCore.Builder;
@@ -80,6 +81,7 @@
Loading
80 81
                option.AssumeDefaultVersionWhenUnspecified = true;
81 82
                option.ApiVersionReader = ApiVersionReader.Combine(new HeaderApiVersionReader("api-version"), new QueryStringApiVersionReader("api-version"));
82 83
            });
84 +
            services.AddExceptionless();
83 85
            services.AddControllersWithViews(options =>
84 86
            {
85 87
                options.Filters.Add<BootstrapAdminAuthorizeFilter>();
@@ -122,6 +124,7 @@
Loading
122 124
123 125
            app.UseRouting();
124 126
            app.UseCors(builder => builder.WithOrigins(Configuration["AllowOrigins"].Split(',', StringSplitOptions.RemoveEmptyEntries)).AllowAnyHeader().AllowAnyMethod().AllowCredentials());
127 +
            app.UseExceptionless();
125 128
            app.UseBootstrapAdminAuthentication(RoleHelper.RetrievesByUserName, RoleHelper.RetrievesByUrl, AppHelper.RetrievesByUserName);
126 129
            app.UseAuthorization();
127 130
            app.UseSwagger(Configuration["SwaggerPathBase"].TrimEnd('/'));

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
src/admin 100.00%
Project Totals (149 files) 100.00%
Loading