Showing preview only (5,112K chars total). Download the full file or copy to clipboard to get everything.
Repository: Liu233w/acm-statistics
Branch: master
Commit: 850666df36ce
Files: 529
Total size: 4.7 MB
Directory structure:
gitextract_va1v6f6n/
├── .all-contributorsrc
├── .editorconfig
├── .gitattributes
├── .github/
│ ├── .vscode/
│ │ └── settings.json
│ ├── mergify.yml
│ └── workflows/
│ ├── auto-cancellation.yml
│ ├── deploy.yml
│ ├── e2e-test-pr.yml
│ ├── e2e-test-push.yml
│ ├── html-test.yml
│ ├── sonar-cloud.yml
│ ├── unit-test.yml
│ ├── update-e2e-snapshot.yml
│ └── update-html-snapshot.yml
├── .gitignore
├── .imgbotconfig
├── .renovaterc.json
├── LICENSE
├── Makefile
├── README.md
├── README_zh-hans.md
├── backend/
│ ├── .config/
│ │ └── dotnet-tools.json
│ ├── .dockerignore
│ ├── .gitattributes
│ ├── .gitignore
│ ├── AcmStatisticsBackend.sln
│ ├── AcmStatisticsBackend.sln.DotSettings
│ ├── Directory.Build.props
│ ├── Makefile
│ ├── README.md
│ ├── StyleCop.ruleset
│ ├── dev.Dockerfile
│ ├── global.json
│ ├── src/
│ │ ├── AcmStatisticsBackend.Application/
│ │ │ ├── Accounts/
│ │ │ │ ├── AccountAppService.cs
│ │ │ │ ├── Dto/
│ │ │ │ │ ├── ChangePasswordInput.cs
│ │ │ │ │ ├── RegisterInput.cs
│ │ │ │ │ └── RegisterOutput.cs
│ │ │ │ └── IAccountAppService.cs
│ │ │ ├── AcmStatisticsBackend.Application.csproj
│ │ │ ├── AcmStatisticsBackendAppServiceBase.cs
│ │ │ ├── AcmStatisticsBackendApplicationModule.cs
│ │ │ ├── Authorization/
│ │ │ │ └── AbpLoginResultTypeHelper.cs
│ │ │ ├── Crawlers/
│ │ │ │ ├── DefaultQueryAppService.cs
│ │ │ │ ├── Dto/
│ │ │ │ │ ├── DefaultQueryDto.cs
│ │ │ │ │ ├── DeleteQueryHistoryInput.cs
│ │ │ │ │ ├── GetAcWorkerHistoryInput.cs
│ │ │ │ │ ├── GetQueryHistoryAndSummaryOutput.cs
│ │ │ │ │ ├── GetQueryHistoryOutput.cs
│ │ │ │ │ ├── GetQuerySummaryInput.cs
│ │ │ │ │ ├── QueryCrawlerSummaryDto.cs
│ │ │ │ │ ├── QuerySummaryDto.cs
│ │ │ │ │ ├── QueryWorkerHistoryDto.cs
│ │ │ │ │ ├── SaveOrReplaceQueryHistoryInput.cs
│ │ │ │ │ ├── SaveOrReplaceQueryHistoryOutput.cs
│ │ │ │ │ └── UsernameInCrawlerDto.cs
│ │ │ │ ├── IDefaultQueryAppService.cs
│ │ │ │ ├── IQueryHistoryAppService.cs
│ │ │ │ └── QueryHistoryAppService.cs
│ │ │ ├── Net/
│ │ │ │ └── MimeTypes/
│ │ │ │ └── MimeTypeNames.cs
│ │ │ ├── Properties/
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── Sessions/
│ │ │ │ ├── Dto/
│ │ │ │ │ ├── ApplicationInfoDto.cs
│ │ │ │ │ ├── GetCurrentLoginInformationsOutput.cs
│ │ │ │ │ ├── TenantLoginInfoDto.cs
│ │ │ │ │ └── UserLoginInfoDto.cs
│ │ │ │ ├── ISessionAppService.cs
│ │ │ │ └── SessionAppService.cs
│ │ │ └── Settings/
│ │ │ ├── Dto/
│ │ │ │ ├── UpdateAutoSaveHistoryInput.cs
│ │ │ │ ├── UserSettingsConfigDto.cs
│ │ │ │ └── UserTimeZoneDto.cs
│ │ │ ├── IUserConfigAppService.cs
│ │ │ └── UserConfigAppService.cs
│ │ ├── AcmStatisticsBackend.Core/
│ │ │ ├── AcmStatisticsBackend.Core.csproj
│ │ │ ├── AcmStatisticsBackendConsts.cs
│ │ │ ├── AcmStatisticsBackendCoreModule.cs
│ │ │ ├── AcmStatisticsBackendExtensions.cs
│ │ │ ├── AppVersionHelper.cs
│ │ │ ├── Authorization/
│ │ │ │ ├── AcmStatisticsBackendAuthorizationProvider.cs
│ │ │ │ ├── LoginManager.cs
│ │ │ │ ├── PermissionChecker.cs
│ │ │ │ ├── PermissionNames.cs
│ │ │ │ ├── Roles/
│ │ │ │ │ ├── AppRoleConfig.cs
│ │ │ │ │ ├── Role.cs
│ │ │ │ │ ├── RoleManager.cs
│ │ │ │ │ ├── RoleStore.cs
│ │ │ │ │ └── StaticRoleNames.cs
│ │ │ │ └── Users/
│ │ │ │ ├── User.cs
│ │ │ │ ├── UserClaimsPrincipalFactory.cs
│ │ │ │ ├── UserDeletingEventHandler.cs
│ │ │ │ ├── UserManager.cs
│ │ │ │ ├── UserRegistrationManager.cs
│ │ │ │ └── UserStore.cs
│ │ │ ├── Configuration/
│ │ │ │ ├── AppConfigurations.cs
│ │ │ │ ├── AppEnvironmentVariables.cs
│ │ │ │ ├── AppSettingNames.cs
│ │ │ │ └── AppSettingProvider.cs
│ │ │ ├── Crawlers/
│ │ │ │ ├── DefaultQuery.cs
│ │ │ │ ├── QueryCrawlerSummary.cs
│ │ │ │ ├── QueryHistory.cs
│ │ │ │ ├── QuerySummary.cs
│ │ │ │ ├── QueryWorkerHistory.cs
│ │ │ │ ├── SummaryGenerator.cs
│ │ │ │ ├── SummaryWarning.cs
│ │ │ │ └── UsernameInCrawler.cs
│ │ │ ├── Editions/
│ │ │ │ └── EditionManager.cs
│ │ │ ├── Features/
│ │ │ │ └── FeatureValueStore.cs
│ │ │ ├── Identity/
│ │ │ │ ├── IdentityRegistrar.cs
│ │ │ │ ├── SecurityStampValidator.cs
│ │ │ │ └── SignInManager.cs
│ │ │ ├── Localization/
│ │ │ │ ├── AcmStatisticsBackendLocalizationConfigurer.cs
│ │ │ │ └── SourceFiles/
│ │ │ │ ├── AcmStatisticsBackend-es.xml
│ │ │ │ ├── AcmStatisticsBackend-fr.xml
│ │ │ │ ├── AcmStatisticsBackend-it.xml
│ │ │ │ ├── AcmStatisticsBackend-ja.xml
│ │ │ │ ├── AcmStatisticsBackend-lt.xml
│ │ │ │ ├── AcmStatisticsBackend-nl.xml
│ │ │ │ ├── AcmStatisticsBackend-pt-BR.xml
│ │ │ │ ├── AcmStatisticsBackend-tr.xml
│ │ │ │ ├── AcmStatisticsBackend-zh-Hans.xml
│ │ │ │ └── AcmStatisticsBackend.xml
│ │ │ ├── MultiTenancy/
│ │ │ │ ├── Tenant.cs
│ │ │ │ └── TenantManager.cs
│ │ │ ├── Properties/
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── ServiceClients/
│ │ │ │ ├── CaptchaServiceClient.cs
│ │ │ │ ├── CaptchaServiceValidateResult.cs
│ │ │ │ ├── CrawlerApiBackendClient.cs
│ │ │ │ ├── CrawlerMetaItem.cs
│ │ │ │ ├── ICaptchaServiceClient.cs
│ │ │ │ └── ICrawlerApiBackendClient.cs
│ │ │ ├── Settings/
│ │ │ │ └── UserSettingAttribute.cs
│ │ │ ├── Timing/
│ │ │ │ └── AppTimes.cs
│ │ │ ├── Validation/
│ │ │ │ └── ValidationHelper.cs
│ │ │ └── Web/
│ │ │ └── WebContentFolderHelper.cs
│ │ ├── AcmStatisticsBackend.EntityFrameworkCore/
│ │ │ ├── AcmStatisticsBackend.EntityFrameworkCore.csproj
│ │ │ ├── EntityFrameworkCore/
│ │ │ │ ├── AbpZeroDbMigrator.cs
│ │ │ │ ├── AcmStatisticsBackendDbContext.cs
│ │ │ │ ├── AcmStatisticsBackendDbContextConfigurer.cs
│ │ │ │ ├── AcmStatisticsBackendDbContextFactory.cs
│ │ │ │ ├── AcmStatisticsBackendEntityFrameworkModule.cs
│ │ │ │ ├── Repositories/
│ │ │ │ │ └── AcmStatisticsBackendRepositoryBase.cs
│ │ │ │ └── Seed/
│ │ │ │ ├── Host/
│ │ │ │ │ ├── DefaultEditionCreator.cs
│ │ │ │ │ ├── DefaultLanguagesCreator.cs
│ │ │ │ │ ├── DefaultSettingsCreator.cs
│ │ │ │ │ ├── HostRoleAndUserCreator.cs
│ │ │ │ │ └── InitialHostDbBuilder.cs
│ │ │ │ ├── SeedHelper.cs
│ │ │ │ └── Tenants/
│ │ │ │ ├── DefaultTenantBuilder.cs
│ │ │ │ └── TenantRoleAndUserBuilder.cs
│ │ │ └── Migrations/
│ │ │ ├── 20200325035348_Init.Designer.cs
│ │ │ ├── 20200325035348_Init.cs
│ │ │ ├── 20200410093107_AddDefaultQuery.Designer.cs
│ │ │ ├── 20200410093107_AddDefaultQuery.cs
│ │ │ ├── 20200414102908_AddAcHistory.Designer.cs
│ │ │ ├── 20200414102908_AddAcHistory.cs
│ │ │ ├── 20200419031052_UseQueryHistory.Designer.cs
│ │ │ ├── 20200419031052_UseQueryHistory.cs
│ │ │ ├── 20200522145416_AddSettings.Designer.cs
│ │ │ ├── 20200522145416_AddSettings.cs
│ │ │ ├── 20200604111842_AddSummary.Designer.cs
│ │ │ ├── 20200604111842_AddSummary.cs
│ │ │ ├── 20210429095008_UpgradeAbp.Designer.cs
│ │ │ ├── 20210429095008_UpgradeAbp.cs
│ │ │ ├── 20210627092246_RemoveRoleDescription.Designer.cs
│ │ │ ├── 20210627092246_RemoveRoleDescription.cs
│ │ │ ├── 20210627092411_UpgradeDriver.Designer.cs
│ │ │ ├── 20210627092411_UpgradeDriver.cs
│ │ │ ├── 20250813025256_UpgradeAbp840.Designer.cs
│ │ │ ├── 20250813025256_UpgradeAbp840.cs
│ │ │ └── AcmStatisticsBackendDbContextModelSnapshot.cs
│ │ ├── AcmStatisticsBackend.Web.Core/
│ │ │ ├── AcmStatisticsBackend.Web.Core.csproj
│ │ │ ├── AcmStatisticsBackendWebCoreModule.cs
│ │ │ ├── Authentication/
│ │ │ │ └── JwtBearer/
│ │ │ │ ├── JwtTokenMiddleware.cs
│ │ │ │ └── TokenAuthConfiguration.cs
│ │ │ ├── Configuration/
│ │ │ │ └── HostingEnvironmentExtensions.cs
│ │ │ ├── Controllers/
│ │ │ │ ├── AcmStatisticsBackendControllerBase.cs
│ │ │ │ └── TokenAuthController.cs
│ │ │ ├── Middleware/
│ │ │ │ └── CookieAuthMiddleware.cs
│ │ │ ├── Models/
│ │ │ │ └── TokenAuth/
│ │ │ │ ├── AuthenticateModel.cs
│ │ │ │ └── AuthenticateResultModel.cs
│ │ │ └── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── AcmStatisticsBackend.Web.Host/
│ │ ├── AcmStatisticsBackend.Web.Host.csproj
│ │ ├── Controllers/
│ │ │ └── AntiForgeryController.cs
│ │ ├── Dockerfile
│ │ ├── Properties/
│ │ │ └── launchSettings.json
│ │ ├── Startup/
│ │ │ ├── AcmStatisticsBackendWebHostModule.cs
│ │ │ ├── AuthConfigurer.cs
│ │ │ ├── Program.cs
│ │ │ └── Startup.cs
│ │ ├── app.config
│ │ ├── appsettings.Staging.json
│ │ ├── appsettings.json
│ │ ├── log4net.config
│ │ └── web.config
│ ├── stylecop.json
│ └── test/
│ └── AcmStatisticsBackend.Tests/
│ ├── Accounts/
│ │ ├── AccountAppService_Tests.cs
│ │ └── FakeCaptchaServiceClient.cs
│ ├── AcmStatisticsBackend.Tests.csproj
│ ├── AcmStatisticsBackendTestBase.cs
│ ├── AcmStatisticsBackendTestModule.cs
│ ├── Crawlers/
│ │ ├── DefaultQueryAppService_Tests.cs
│ │ ├── QueryHistoryAppService_Tests.cs
│ │ ├── QuerySummary_ModelTests.cs
│ │ └── SummaryGenerator_Tests.cs
│ ├── DependencyInjection/
│ │ ├── ServiceCollectionRegistrar.cs
│ │ ├── TestClockProvider.cs
│ │ └── TestCrawlerApiBackendClient.cs
│ ├── MultiTenantFactAttribute.cs
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── ServiceClients/
│ │ ├── CaptchaServiceClient_Tests.cs
│ │ └── CrawlerApiBackendClient_Tests.cs
│ ├── Sessions/
│ │ └── SessionAppService_Tests.cs
│ ├── Settings/
│ │ └── UserConfigAppService_TimeZone_Tests.cs
│ └── TestExtensions.cs
├── build/
│ ├── .dockerignore
│ ├── .gitignore
│ ├── commitlint.Dockerfile
│ ├── commitlint.mk
│ ├── docker-compose.dcproj
│ ├── docker-compose.dev-backend.yml
│ ├── docker-compose.dev-frontend.yml
│ ├── docker-compose.e2e.yml
│ ├── docker-compose.mk
│ ├── docker-compose.yml
│ ├── node-base.Dockerfile
│ ├── node-base.mk
│ ├── share.mk
│ ├── shell.Dockerfile
│ ├── shell.mk
│ └── template.env
├── captcha-service/
│ ├── .dockerignore
│ ├── .eslintrc.js
│ ├── .gitignore
│ ├── Makefile
│ ├── README.md
│ ├── __mocks__/
│ │ └── svg-captcha.js
│ ├── __test__/
│ │ ├── app.spec.js
│ │ └── interface.test.js
│ ├── base.Dockerfile
│ ├── package.json
│ ├── release.Dockerfile
│ └── src/
│ ├── app.js
│ ├── index.js
│ └── restHelper.js
├── codecov.yml
├── commitlint.config.js
├── crawler/
│ ├── .dockerignore
│ ├── .eslintrc.js
│ ├── .gitignore
│ ├── .vscode/
│ │ └── launch.json
│ ├── Makefile
│ ├── README.md
│ ├── __mocks__/
│ │ └── fs.js
│ ├── __test__/
│ │ ├── __snapshots__/
│ │ │ └── crawlers.test.js.snap
│ │ ├── configReader.test.js
│ │ ├── crawlers.test.js
│ │ └── functionGenerator.test.js
│ ├── base.Dockerfile
│ ├── config.yml
│ ├── crawlers/
│ │ ├── .eslintrc.js
│ │ ├── LICENSE
│ │ ├── aizu.js
│ │ ├── atcoder.js
│ │ ├── bnu.js
│ │ ├── codechef.js
│ │ ├── codeforces.js
│ │ ├── codewars.js
│ │ ├── csu.js
│ │ ├── dashiye.js
│ │ ├── dmoj.js
│ │ ├── eljudge.js
│ │ ├── fzu.js
│ │ ├── hdu.js
│ │ ├── leetcode_cn.js
│ │ ├── loj.js
│ │ ├── luogu.js
│ │ ├── nbut.js
│ │ ├── nit.js
│ │ ├── nod.js
│ │ ├── nowcoder.js
│ │ ├── poj.js
│ │ ├── sdutoj.js
│ │ ├── spoj.js
│ │ ├── timus.js
│ │ ├── uestc.js
│ │ ├── uoj.js
│ │ ├── uva.js
│ │ ├── uvalive.js
│ │ ├── vjudge.js
│ │ └── zoj.js
│ ├── index.js
│ ├── lib/
│ │ ├── __mocks__/
│ │ │ └── configReader.js
│ │ ├── configReader.js
│ │ ├── functionGenerator.js
│ │ └── globalProxy.js
│ ├── package.json
│ └── release.Dockerfile
├── crawler-api-backend/
│ ├── .dockerignore
│ ├── .eslintrc.js
│ ├── .gitignore
│ ├── Makefile
│ ├── README.md
│ ├── __mocks__/
│ │ └── crawler.js
│ ├── __test__/
│ │ ├── __snapshots__/
│ │ │ └── apiRouter.test.js.snap
│ │ └── apiRouter.test.js
│ ├── apiRouter.js
│ ├── app.js
│ ├── base.Dockerfile
│ ├── config/
│ │ └── log.js
│ ├── index.js
│ ├── package.json
│ ├── release.Dockerfile
│ ├── swagger.json
│ └── utils/
│ ├── logUtil.js
│ ├── rateLimit.js
│ └── restHelper.js
├── e2e/
│ ├── .dockerignore
│ ├── .eslintignore
│ ├── .eslintrc.js
│ ├── .gitignore
│ ├── .npmrc
│ ├── Dockerfile
│ ├── Makefile
│ ├── README.md
│ ├── __test__/
│ │ └── pages/
│ │ ├── __snapshots__/
│ │ │ └── pages_snapshot.test.js.snap
│ │ └── pages_snapshot.test.js
│ ├── cypress/
│ │ ├── fixtures/
│ │ │ ├── example.json
│ │ │ ├── history_list-max5.json
│ │ │ ├── history_list-skip10.json
│ │ │ ├── history_list.json
│ │ │ ├── poj_notExist.txt
│ │ │ ├── poj_ok.txt
│ │ │ ├── summary_hdu.txt
│ │ │ ├── summary_leetcode.txt
│ │ │ └── summary_vjudge.txt
│ │ ├── integration/
│ │ │ ├── application/
│ │ │ │ ├── auth-redirect.spec.js
│ │ │ │ ├── auto-save-history.spec.js
│ │ │ │ ├── default-query.spec.js
│ │ │ │ ├── login-and-register.spec.js
│ │ │ │ └── swagger.spec.js
│ │ │ └── frontend/
│ │ │ ├── about.spec.js
│ │ │ ├── history.spec.js
│ │ │ ├── index.spec.js
│ │ │ ├── login-register.spec.js
│ │ │ ├── settings.spec.js
│ │ │ ├── side-bar.spec.js
│ │ │ └── statistics.spec.js
│ │ └── support/
│ │ ├── commands.js
│ │ └── e2e.js
│ ├── cypress.config.js
│ ├── http-mocks/
│ │ ├── .dockerignore
│ │ ├── .gitignore
│ │ ├── Dockerfile
│ │ ├── package.json
│ │ └── src/
│ │ ├── index.js
│ │ ├── lib/
│ │ │ ├── mock.js
│ │ │ └── restClient.js
│ │ ├── mocks/
│ │ │ ├── busuanzi.js
│ │ │ ├── googleAds.js
│ │ │ ├── googleAnalysis.js
│ │ │ ├── history-snapshot.js
│ │ │ ├── oj.js
│ │ │ ├── reset.js
│ │ │ └── tajs.js
│ │ └── preActivation.js
│ ├── jsconfig.json
│ └── package.json
├── frontend/
│ ├── .dockerignore
│ ├── .editorconfig
│ ├── .eslintignore
│ ├── .eslintrc.js
│ ├── .gitignore
│ ├── .npmrc
│ ├── .nuxtignore
│ ├── Makefile
│ ├── README.md
│ ├── __test__/
│ │ ├── StoreContextSimulator.js
│ │ ├── components/
│ │ │ ├── MessagePanel.test.js
│ │ │ ├── WorkerCard.test.js
│ │ │ ├── __snapshots__/
│ │ │ │ ├── MessagePanel.test.js.snap
│ │ │ │ └── WorkerCard.test.js.snap
│ │ │ ├── statisticsLayoutBuilder.test.js
│ │ │ └── statisticsUtils.test.js
│ │ ├── e2eMocks/
│ │ │ └── crawler.js
│ │ └── store/
│ │ └── statistics.test.js
│ ├── app.html
│ ├── assets/
│ │ ├── README.md
│ │ └── style/
│ │ └── app.scss
│ ├── babel.config.js
│ ├── base.Dockerfile
│ ├── components/
│ │ ├── GithubButton.vue
│ │ ├── MessagePanel.vue
│ │ ├── README.md
│ │ ├── ResultOverlay.vue
│ │ ├── UserStatus.vue
│ │ ├── WorkerCard.vue
│ │ ├── consts.js
│ │ ├── rulesMixin.js
│ │ ├── statisticsLayoutBuilder.js
│ │ ├── statisticsUtils.js
│ │ └── utils.js
│ ├── configs/
│ │ └── sensitive-url-router.js
│ ├── layouts/
│ │ ├── README.md
│ │ ├── default.vue
│ │ ├── error.vue
│ │ ├── login.vue
│ │ └── none.vue
│ ├── middleware/
│ │ ├── README.md
│ │ └── auth.js
│ ├── modules/
│ │ └── crawlerLoader/
│ │ ├── README.md
│ │ ├── cors.js
│ │ └── index.js
│ ├── nuxt.config.js
│ ├── package.json
│ ├── pages/
│ │ ├── README.md
│ │ ├── about.vue
│ │ ├── history/
│ │ │ ├── _id/
│ │ │ │ ├── -GoHistoryPage.vue
│ │ │ │ ├── -HistoryToolbar.vue
│ │ │ │ └── index.vue
│ │ │ └── index.vue
│ │ ├── index.vue
│ │ ├── jojo.vue
│ │ ├── login.vue
│ │ ├── register.vue
│ │ ├── settings.vue
│ │ └── statistics.vue
│ ├── plugins/
│ │ ├── README.md
│ │ ├── chartjs.js
│ │ ├── debug.js
│ │ └── font.js
│ ├── release.Dockerfile
│ ├── static/
│ │ ├── google90cac42981c276fb.html
│ │ └── swagger/
│ │ ├── abp.js
│ │ ├── abp.swagger.js
│ │ ├── index.html
│ │ ├── oauth2-redirect.html
│ │ ├── swagger-ui-bundle.js
│ │ ├── swagger-ui-standalone-preset.js
│ │ ├── swagger-ui.css
│ │ └── swagger-ui.js
│ ├── store/
│ │ ├── -dynamic/
│ │ │ └── statistics.js
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── message.js
│ │ └── session.js
│ └── vuetify.options.js
├── ohunt/
│ ├── .config/
│ │ └── dotnet-tools.json
│ ├── .dockerignore
│ ├── .gitignore
│ ├── Makefile
│ ├── OHunt.Tests/
│ │ ├── Crawlers/
│ │ │ ├── BnuMappingCrawlerTests.cs
│ │ │ ├── NitMappingCrawlerTests.cs
│ │ │ ├── UvaMappingCrawlersTests.cs
│ │ │ ├── ZojSubmissionCrawlerTests.cs
│ │ │ └── __snapshots__/
│ │ │ └── ZojSubmissionCrawlerTests.It_ShouldGetCorrectResult.snap
│ │ ├── Dataflow/
│ │ │ ├── CrawlerPropagatorTests.cs
│ │ │ ├── DatabaseInserterTests.cs
│ │ │ └── SubmissionCrawlerCoordinatorTests.cs
│ │ ├── Dependency/
│ │ │ ├── NullDbBuilder.cs
│ │ │ ├── OHuntTestBase.cs
│ │ │ └── TestWebApplicationFactory.cs
│ │ ├── OHunt.Tests.csproj
│ │ ├── Services/
│ │ │ └── ProblemLabelManagerTests.cs
│ │ ├── TestExtensions.cs
│ │ ├── Utils.cs
│ │ └── Web/
│ │ ├── ProblemControllerTests.cs
│ │ ├── StartupTests.cs
│ │ ├── SubmissionControllerTests.cs
│ │ ├── SwaggerTests.cs
│ │ └── __snapshots__/
│ │ └── SwaggerTests.It_ShouldOutputDocument.snap
│ ├── OHunt.Web/
│ │ ├── Controllers/
│ │ │ ├── Dto/
│ │ │ │ ├── ResolveLabelInput.cs
│ │ │ │ └── ResolveLabelOutput.cs
│ │ │ ├── HomeController.cs
│ │ │ ├── ProblemController.cs
│ │ │ └── SubmissionsController.cs
│ │ ├── Crawlers/
│ │ │ ├── BnuMappingCrawler.cs
│ │ │ ├── CrawlerBase.cs
│ │ │ ├── CrawlerMessage.cs
│ │ │ ├── IMappingCrawler.cs
│ │ │ ├── ISubmissionCrawler.cs
│ │ │ ├── NitMappingCrawler.cs
│ │ │ ├── UvaCrawlers.cs
│ │ │ └── ZojSubmissionCrawler.cs
│ │ ├── Database/
│ │ │ ├── IDbBuilder.cs
│ │ │ ├── OHuntDbBuilder.cs
│ │ │ └── OHuntDbContext.cs
│ │ ├── Dataflow/
│ │ │ ├── CrawlerPropagator.cs
│ │ │ ├── DatabaseInserter.cs
│ │ │ ├── DatabaseInserterFactory.cs
│ │ │ ├── DatabaseInserterMessage.cs
│ │ │ └── SubmissionCrawlerCoordinator.cs
│ │ ├── Dockerfile
│ │ ├── GlobalConfigurer.cs
│ │ ├── Migrations/
│ │ │ ├── 20200701054200_Init.Designer.cs
│ │ │ ├── 20200701054200_Init.cs
│ │ │ ├── 20200701112402_AddSubmission.Designer.cs
│ │ │ ├── 20200701112402_AddSubmission.cs
│ │ │ ├── 20200702060356_AddIndex.Designer.cs
│ │ │ ├── 20200702060356_AddIndex.cs
│ │ │ ├── 20200702142254_AddCrawlerError.Designer.cs
│ │ │ ├── 20200702142254_AddCrawlerError.cs
│ │ │ ├── 20200802072749_AddProblemLabelMapping.Designer.cs
│ │ │ ├── 20200802072749_AddProblemLabelMapping.cs
│ │ │ ├── 20210627092639_UpgradeDriver.Designer.cs
│ │ │ ├── 20210627092639_UpgradeDriver.cs
│ │ │ └── OHuntWebContextModelSnapshot.cs
│ │ ├── Models/
│ │ │ ├── CrawlerError.cs
│ │ │ ├── MappingOnlineJudge.cs
│ │ │ ├── OnlineJudge.cs
│ │ │ ├── ProblemLabelMapping.cs
│ │ │ ├── RunResult.cs
│ │ │ └── Submission.cs
│ │ ├── OHunt.Web.csproj
│ │ ├── Options/
│ │ │ └── DatabaseInserterOptions.cs
│ │ ├── Program.cs
│ │ ├── Properties/
│ │ │ └── launchSettings.json
│ │ ├── Services/
│ │ │ ├── ProblemLabelManager.cs
│ │ │ └── ScheduleCrawlerService.cs
│ │ ├── Startup.cs
│ │ ├── Utils/
│ │ │ ├── Extensions.cs
│ │ │ └── QueryParameterFilter.cs
│ │ ├── appsettings.Development.json
│ │ └── appsettings.json
│ ├── README.md
│ ├── dev.Dockerfile
│ ├── global.json
│ └── ohunt.sln
├── sonar-project.properties
└── tools/
├── acm-statistics.service
├── history-test.sql
└── remote-docker-up.sh
================================================
FILE CONTENTS
================================================
================================================
FILE: .all-contributorsrc
================================================
{
"files": [
"README.md"
],
"imageSize": 100,
"commit": false,
"contributors": [
{
"login": "Liu233w",
"name": "Liu233w",
"avatar_url": "https://avatars2.githubusercontent.com/u/16333687?v=4",
"profile": "https://liu233w.github.io",
"contributions": [
"code",
"ideas",
"infra",
"test"
]
},
{
"login": "kidozh",
"name": "Kido Zhang",
"avatar_url": "https://avatars3.githubusercontent.com/u/11661760?v=4",
"profile": "https://kidozh.com",
"contributions": [
"infra",
"ideas"
]
},
{
"login": "flylai",
"name": "flylai",
"avatar_url": "https://avatars2.githubusercontent.com/u/9880740?v=4",
"profile": "https://github.com/flylai",
"contributions": [
"code",
"bug"
]
},
{
"login": "fzu-h4cky",
"name": "fzu-h4cky",
"avatar_url": "https://avatars3.githubusercontent.com/u/36151020?v=4",
"profile": "https://github.com/fzu-h4cky",
"contributions": [
"bug"
]
},
{
"login": "2512821228",
"name": "Zhao",
"avatar_url": "https://avatars1.githubusercontent.com/u/11994295?v=4",
"profile": "http://zhao.wtf",
"contributions": [
"bug"
]
},
{
"login": "cometeme",
"name": "Adelard Collins",
"avatar_url": "https://avatars0.githubusercontent.com/u/22635759?v=4",
"profile": "https://www.cometeme.tech",
"contributions": [
"bug"
]
},
{
"login": "ctuu",
"name": "ct",
"avatar_url": "https://avatars3.githubusercontent.com/u/22322656?v=4",
"profile": "https://github.com/ctuu",
"contributions": [
"bug"
]
},
{
"login": "Geekxiong",
"name": "Geekxiong",
"avatar_url": "https://avatars3.githubusercontent.com/u/25352156?v=4",
"profile": "https://github.com/Geekxiong",
"contributions": [
"ideas"
]
},
{
"login": "Halorv",
"name": "Halorv",
"avatar_url": "https://avatars2.githubusercontent.com/u/39403985?v=4",
"profile": "https://github.com/settings/profile",
"contributions": [
"ideas"
]
},
{
"login": "bodhisatan",
"name": "Bodhisatan_Yao",
"avatar_url": "https://avatars0.githubusercontent.com/u/35862184?v=4",
"profile": "https://github.com/bodhisatan",
"contributions": [
"bug"
]
},
{
"login": "Meulsama",
"name": "Meulsama",
"avatar_url": "https://avatars1.githubusercontent.com/u/55663936?v=4",
"profile": "https://github.com/Meulsama",
"contributions": [
"ideas"
]
},
{
"login": "UserUnknownX",
"name": "Michael Xiang",
"avatar_url": "https://avatars3.githubusercontent.com/u/50655871?v=4",
"profile": "https://github.com/UserUnknownX",
"contributions": [
"bug"
]
},
{
"login": "zby0327",
"name": "zby",
"avatar_url": "https://avatars2.githubusercontent.com/u/43291744?v=4",
"profile": "https://github.com/zby0327",
"contributions": [
"ideas",
"bug"
]
},
{
"login": "BackSlashDelta",
"name": "BackSlashDelta",
"avatar_url": "https://avatars1.githubusercontent.com/u/64258212?v=4",
"profile": "https://github.com/BackSlashDelta",
"contributions": [
"bug"
]
},
{
"login": "bluebear4",
"name": "bluebear4",
"avatar_url": "https://avatars.githubusercontent.com/u/49401963?v=4",
"profile": "https://github.com/bluebear4",
"contributions": [
"bug"
]
},
{
"login": "wwawwaww",
"name": "wwawwaww",
"avatar_url": "https://avatars.githubusercontent.com/u/42441490?v=4",
"profile": "https://github.com/wwawwaww",
"contributions": [
"bug"
]
},
{
"login": "dreamerblue",
"name": "bLue",
"avatar_url": "https://avatars.githubusercontent.com/u/19774268?v=4",
"profile": "https://dreamer.blue/",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 6,
"contributorTemplate": "<img src=\"<%= contributor.avatar_url %>\" width=\"<%= options.imageSize %>px;\" alt=\"\"/><br /><sub><a href=\"<%= contributor.profile %>\"><b><%= contributor.name %></b></a><a href=\"https://github.com/<%= contributor.login %>\">🔗</a></sub><br /><%= contributions %>",
"contributorsSortAlphabetically": true,
"projectName": "acm-statistics",
"projectOwner": "Liu233w",
"repoType": "github",
"repoHost": "https://github.com",
"skipCi": true,
"commitConvention": "none",
"commitType": "docs"
}
================================================
FILE: .editorconfig
================================================
[*.js]
indent_size = 2
================================================
FILE: .gitattributes
================================================
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
# 忽略Migration文件
/backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/* linguist-vendored
/ohunt/OHunt.Web/Migrations/* linguist-vendored
================================================
FILE: .github/.vscode/settings.json
================================================
{
"cSpell.words": [
"endgroup"
]
}
================================================
FILE: .github/mergify.yml
================================================
pull_request_rules:
- name: automatic merge on CI success and tag
conditions:
- label=ready-to-be-merged
# checks =====
- check-success=Html Snapshot Test
- check-success=E2E on push
- check-success=E2E on pull request
- check-success=Test Backend
- check-success=Test Crawler
- check-success=Test Crawler Api Backend
- check-success=Test Frontend
- check-success=Test Captcha Service
- check-success=Test OHunt
- check-success=Commitlint
# =============
actions:
merge:
method: rebase
# rebase_fallback: merge
- name: refactored queue action rule
conditions: []
actions:
queue:
queue_rules:
- name: default
queue_conditions:
- label=ready-to-be-merged
- check-success=Html Snapshot Test
- check-success=E2E on push
- check-success=E2E on pull request
- check-success=Test Backend
- check-success=Test Crawler
- check-success=Test Crawler Api Backend
- check-success=Test Frontend
- check-success=Test Captcha Service
- check-success=Test OHunt
- check-success=Commitlint
merge_conditions:
# Conditions to get out of the queue (= merged)
# checks =====
- check-success=Html Snapshot Test
- check-success=E2E on push
- check-success=E2E on pull request
- check-success=Test Backend
- check-success=Test Crawler
- check-success=Test Crawler Api Backend
- check-success=Test Frontend
- check-success=Test Captcha Service
- check-success=Test OHunt
- check-success=Commitlint
# =============
merge_method: rebase
================================================
FILE: .github/workflows/auto-cancellation.yml
================================================
name: Cancelling Duplicates
on:
workflow_run:
workflows: ['Test E2E']
types: ['requested']
jobs:
cancel-duplicate-workflow-runs:
name: "Cancel duplicate workflow runs"
runs-on: ubuntu-latest
steps:
- uses: potiuk/cancel-workflow-runs@master
name: "Cancel duplicate workflow runs"
with:
cancelMode: allDuplicates
token: ${{ secrets.GITHUB_TOKEN }}
sourceRunId: ${{ github.event.workflow_run.id }}
================================================
FILE: .github/workflows/deploy.yml
================================================
name: auto deploy on master
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
- name: Wait for status checks
id: check
uses: WyriHaximus/github-action-wait-for-status@v1.8
with:
ignoreActions: codecov/project,codecov/patch,deploy,E2E on pull request,update-snapshot,Update HTML Snapshot when comment on pr,Update E2E Snapshot when comment on pr,crawler-check,检查爬虫可用性(不准确)
checkInterval: 60
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Deploy
if: steps.check.outputs.status == 'success'
run: |
echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
make tag-and-push
- name: Failed
if: steps.check.outputs.status != 'success'
run: |
echo deploy check status "${{ steps.check.outputs.status }}"
exit 1
================================================
FILE: .github/workflows/e2e-test-pr.yml
================================================
name: Test E2E on pull request
on: pull_request
jobs:
e2e-pr:
name: E2E on pull request
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: |
cd e2e
echo ::group::build
make server compose-args="--detach"
make wait-server
echo ::endgroup::build
make ci-no-record
make run run-cmd="npm run lint" make-args="no-interactive no-tty"
- uses: actions/upload-artifact@v4
if: failure()
with:
name: e2e-screenshots
path: e2e/cypress/screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: e2e-snapshots
path: e2e/cypress/snapshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: e2e-videos
path: e2e/cypress/videos
================================================
FILE: .github/workflows/e2e-test-push.yml
================================================
name: Test E2E on push
on: push
jobs:
e2e-push:
name: E2E on push
runs-on: ubuntu-latest
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
steps:
- uses: actions/checkout@master
- run: |
cd e2e
echo ::group::build
make server compose-args="--detach"
make wait-server
echo ::endgroup::build
make ci
make run run-cmd="npm run lint" make-args="no-interactive no-tty"
- run: |
cd build
docker compose -f docker-compose.yml -f docker-compose.e2e.yml logs --no-color > e2e.log
if: failure()
- uses: actions/upload-artifact@v4
if: failure()
with:
name: server-logs
path: build/e2e.log
================================================
FILE: .github/workflows/html-test.yml
================================================
name: Html Snapshot Tests
on: [push, pull_request]
jobs:
html-snapshot-test:
name: Html Snapshot Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: |
cd e2e
echo ::group::build
make server compose-args="--detach"
make wait-server
echo ::endgroup::build
make test-html-ci
================================================
FILE: .github/workflows/sonar-cloud.yml
================================================
name: Sonar Cloud Analysis
on:
push:
branches:
- '**'
jobs:
sonarCloudTrigger:
name: SonarCloud Trigger
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
================================================
FILE: .github/workflows/unit-test.yml
================================================
name: Unit Tests
on: [push, pull_request]
jobs:
backend:
name: Test Backend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: |
cd backend
# smoke test and lint
make run run-cmd="dotnet build" make-args="no-interactive no-tty"
make test-ci
crawler:
name: Test Crawler
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: |
cd crawler
make run run-cmd="npm run lint" make-args="no-interactive no-tty"
make test-ci
crawler-api-backend:
name: Test Crawler Api Backend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: |
cd crawler-api-backend
make run run-cmd="npm run lint" make-args="no-interactive no-tty"
make test-ci
frontend:
name: Test Frontend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: |
cd frontend
make run run-cmd="npm run lint" make-args="no-interactive no-tty"
make test-ci
captcha-service:
name: Test Captcha Service
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: |
cd captcha-service
make run run-cmd="npm run lint" make-args="no-interactive no-tty"
make test-ci
ohunt:
name: Test OHunt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: |
cd ohunt
# smoke test and lint
make run run-cmd="dotnet build" make-args="no-interactive no-tty"
make test-ci
commitlint:
name: Commitlint
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@9763196e10f27aef304c9b8b660d31d97fce0f99 # v5
================================================
FILE: .github/workflows/update-e2e-snapshot.yml
================================================
name: Update E2E Snapshot when comment on pr
on:
issue_comment:
types: [created]
jobs:
update-snapshot:
# The type of runner that the job will run on
runs-on: ubuntu-latest
if: contains(github.event.comment.html_url, '/pull/') && contains(github.event.comment.body, '/update-e2e-snapshot')
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: listen for PR Comments
uses: machine-learning-apps/actions-chatops@master
with:
TRIGGER_PHRASE: "/update-e2e-snapshot"
env: # you must supply GITHUB_TOKEN
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
id: prcomm
# This step clones the branch of the PR associated with the triggering phrase, but only if it is triggered.
- name: clone branch of PR
if: steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
uses: actions/checkout@master
with:
ref: ${{ steps.prcomm.outputs.BRANCH_NAME }}
- name: Show current running workflows' id
if: steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Update E2E Snapshot Triggered!
Address: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: Try update snapshot
if: steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
run: |
cd e2e
echo ::group::build
make server compose-args="--detach"
make wait-server
echo ::endgroup::build
make update-snapshot
make test # ensure test pass after update
- name: Commit result
if: steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
run: |
git pull
git config --global user.name ${{ github.event.comment.user.login }}
git config --global user.email ${{ github.event.comment.user.login }}@github.fake
git add .
git commit -am 'test(e2e): update snapshot'
- name: Push changes
if: steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
uses: ad-m/github-push-action@master
with:
# use my own token instead of GITHUB_TOKEN to trigger future workflows
github_token: ${{ secrets.WORKFLOW_TOKEN }}
branch: ${{ steps.prcomm.outputs.BRANCH_NAME }}
- name: Upload artifact if failed
uses: actions/upload-artifact@v4
if: failure() && steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
with:
name: e2e-snapshots
path: e2e/cypress/snapshots
- name: Upload artifact if failed
uses: actions/upload-artifact@v4
if: failure() && steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
with:
name: e2e-videos
path: e2e/cypress/videos
================================================
FILE: .github/workflows/update-html-snapshot.yml
================================================
name: Update HTML Snapshot when comment on pr
on:
issue_comment:
types: [created]
jobs:
update-snapshot:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: listen for PR Comments
uses: machine-learning-apps/actions-chatops@master
with:
TRIGGER_PHRASE: "/update-html-snapshot"
env: # you must supply GITHUB_TOKEN
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
id: prcomm
# This step clones the branch of the PR associated with the triggering phrase, but only if it is triggered.
- name: clone branch of PR
if: steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
uses: actions/checkout@master
with:
ref: ${{ steps.prcomm.outputs.BRANCH_NAME }}
- name: Show current running workflows' id
if: steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Update HTML Snapshot Triggered!
Address: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
- name: Try update snapshot
if: steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
run: |
cd e2e
echo ::group::build
make server compose-args="--detach"
make wait-server
echo ::endgroup::build
make update-html-snapshot
make test-html-ci # ensure test pass after update
- name: Commit result
if: steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
run: |
git pull
git config --global user.name ${{ github.event.comment.user.login }}
git config --global user.email ${{ github.event.comment.user.login }}@github.fake
git add .
git commit -am 'test(e2e): update html snapshot'
- name: Push changes
if: steps.prcomm.outputs.BOOL_TRIGGERED == 'true'
uses: ad-m/github-push-action@master
with:
# use my own token instead of GITHUB_TOKEN to trigger future workflows
github_token: ${{ secrets.WORKFLOW_TOKEN }}
branch: ${{ steps.prcomm.outputs.BRANCH_NAME }}
================================================
FILE: .gitignore
================================================
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries
# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml
# Gradle:
.idea/**/gradle.xml
.idea/**/libraries
# CMake
cmake-build-debug/
cmake-build-release/
# Mongo Explorer plugin:
.idea/**/mongoSettings.xml
## File-based project format:
*.iws
## Plugin-specific files:
# IntelliJ
out/
# mpeltonen/sbt-idea plugin
.idea_modules/
# JIRA plugin
atlassian-ide-plugin.xml
# Cursive Clojure plugin
.idea/replstate.xml
# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
# Created by https://www.gitignore.io/api/visualstudiocode
# Edit at https://www.gitignore.io/?templates=visualstudiocode
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
### VisualStudioCode Patch ###
# Ignore all local history of files
.history
# End of https://www.gitignore.io/api/visualstudiocode
# ionide of vscode
.ionide
# macOS
.DS_Store
# idea in root
/.idea
================================================
FILE: .imgbotconfig
================================================
{
"ignoredFiles": [
"e2e/*",
]
}
================================================
FILE: .renovaterc.json
================================================
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"docker:enableMajor",
"monorepo:dotnet"
],
"packageRules": [
{
"groupName": "aspnetboilerplate",
"packagePatterns": ["^Abp\\.|^Abp$"]
},
{
"groupName": "chartjs",
"matchPackageNames": [
"vue-chartjs",
"chart.js"
]
}
],
"ignorePresets": [
":ignoreModulesAndTests"
],
"commitMessagePrefix": "chore(*):",
"labels": ["dependencies", "ready-to-be-merged"],
"automerge": false,
"dockerfile": {
"fileMatch": ["(^|/|\\.)Dockerfile$"]
}
}
================================================
FILE: LICENSE
================================================
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) {{ year }} {{ organization }}
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<http://www.gnu.org/licenses/>.
================================================
FILE: Makefile
================================================
## root makefile
include ./build/share.mk
.PHONY: default
default: .short-help ;
# == common suffix ==
# use command like `make target=crawler test clean` to invoke `make -C crawler test clean`
# support command like `make target="crawler frontend" build`
TargetList = crawler frontend crawler-api-backend backend captcha-service e2e ohunt
AllTarget := $(if $(target),$(target),$(TargetList))
test:
@echo testing target: $(AllTarget)
for dir in $(AllTarget); do \
$(MAKE) -C $$dir test; \
done
build:
@echo building target: $(AllTarget)
for dir in $(AllTarget); do \
$(MAKE) -C $$dir build; \
done
run:
@echo running target: $(AllTarget)
for dir in $(AllTarget); do \
$(MAKE) -C $$dir run; \
done
clean:
# remove all stopped containers
docker rm $(shell docker ps -a -q); true
for dir in $(AllTarget); do \
$(MAKE) -C $$dir clean; \
done
ifeq ($(target),)
cd ./build && $(MAKE) -f node-base.mk clean
cd ./build && $(MAKE) -f commitlint.mk clean
cd ./build && $(MAKE) -f shell.mk clean
@echo cleaned all target
@echo running docker system prune
docker system prune -f
else
@echo cleaned $(target)
endif
test-ci:
@echo testing ci on target: $(AllTarget)
for dir in $(AllTarget); do \
$(MAKE) -C $$dir test-ci; \
done
# === commitlint ===
.PHONY: test-commit
test-commit:
cd ./build && $(MAKE) -f commitlint.mk test-commit
# === publish image ===
.PHONY: tag-and-push
tag-and-push:
cd ./build && $(MAKE) -f docker-compose.mk push
# === run all ===
.PHONY: up
up:
cd ./build && $(MAKE) -f docker-compose.mk up
# === util command ==
.PHONY: show-image-size shell
# 输出项目中 latest 标签标记的镜像的大小
show-image-size:
docker images --format "table {{.Repository}}:{{.Tag}}\t{{.Size}}" --filter=reference='acm-statistics*:latest'
shell:
cd build && $(MAKE) -f shell.mk shell
# === help ===
.PHONY: help
define HELP_MESSAGE
Makefile of acm-statistics
Available goals:
test build run clean test-ci test-commit commitlint-travis tag-and-push up view-image-size shell help
You can use `target` variable to set target module when using test, build, run, clean,
and test-ci commands. E.g. `make test target="frontend crawler"` means running test only
in frontend and crawler module. If target is not specified, run the command on all modules.
Besides, the dependency is automatically resolved by makefile. So you do not need to run
build before test.
Documents of available goals:
test
Running all tests
build
build the project or certain modules.
If argument `build-args` is specified, it is attached to all `docker build` commands
run
Run shell command in modules.
E.g. `make run run-cmd="pnpm run lint"` runs `npm run lint` in all modules.
Available parameters:
run-cmd: The command to be run.
run-args: The extra arguments sent to docker. E.g. run following commands in fontend directory to send argument -v '...' to docker:
>> make run run-cmd="pnpm test -- --update-snapshot" run-args="-v './__test__:/var/project/__test__'"
make-args: run-args will automatically send following switches to docker: --rm, --interactive, --tty, which can be turned off by following switches: `r`/`no-rm`, `i`/`no-interactive`, `t`/`no-tty`.
E.g. the following command turns `run-args` into `--tty` (`--rm` and `--interactive` are disabled):
>> make run make-args="r i"
Noticed that commands should be separated even they are single letters.
clean
Clean images that are built
test-ci
Run tests in CI environment. It behaves differently than normal tests. E.g. Specifying `--ci` to jest and disabling tests that require network.
test-commit
Lint commits from master branch to HEAD by commitlint.
tag-and-push
Tag the built images and publish. By default, it uses `liu233w` as namespace.
You may refer to `./build/docker-compose.mk` to change this behaviour.
up
Run the project using docker-compose. It automatically creates config file `./build/.env`.
It is recommended to modify the file based on the comments inside.
If you run it on windows, it is recommended to use msys2 shell after configure it to accept the path of windows
show-image-size
Show the size of all images built by the project. It does not create new images.
shell
Spawn a shell inside docker container and mount the whole project into it. So you can run commands and modify the project in Linux environment.
help
Show this doc.
Most of the sub-directory supports make commands like the root directory. View the `Makefile` for more information.
endef
.short-help:
@echo run \"make help\" to get help
export HELP_MESSAGE
help:
@echo "$$HELP_MESSAGE" | more
================================================
FILE: README.md
================================================
# This Project will be deprecated. Please use [OJHunt Lite](https://github.com/Liu233w/ojhunt-lite) instead.
# This repo contains the source code of OJ Analyzer
简体中文版:[README_zh-hans.md](./README_zh-hans.md)
[](https://app.zenhub.com/workspace/o/liu233w/acm-statistics/boards?repos=125616473)
[](https://sonarcloud.io/dashboard?id=acm-statistics)
[](https://codecov.io/gh/Liu233w/acm-statistics)
[](https://dashboard.cypress.io/#/projects/4s32o7/runs)
[](https://app.renovatebot.com/dashboard#github/Liu233w/acm-statistics)
[](https://mergify.io)
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
#### Build status


#### Features
- Querying ac/submissions of oj
- Storing querying history
#### Under development
- Email support
- Ranks
- ……
## Directory structure
- frontend: The front end
- crawler: Crawlers to query OJs. Being used by both frontend and backend
- crawler-api-backend: A microservice that provides querying api
- e2e: E2E tests
- backend: The back end, a monoservice
- captcha-service: A microservice that provides captcha support
- ohunt: A stateful, standalone crawler microservice used to support certain OJs such as ZOJ.
- build: Codes to build and deploy the project. Tool chain: docker, docker-compose, GNU make.
- tools: Utility scripts and config files in operation
See the README file in each module for specific documents.
## Developing and deploying in docker
- The project needs docker and docker-compose to function correctly.
### Development
- This project uses makefile to manage dependency between modules. Execute `make help` in repository root to view document.
- GNU make is required.
### Deploy
There are two ways to deploy this project in a server.
#### One-liner
Execute following code in shell to deploy the project to port 3000.
`curl -s https://raw.githubusercontent.com/Liu233w/acm-statistics/master/tools/remote-docker-up.sh | bash`
Vjudge crawler is not available in this way.
#### Config file version
In this way you are able to customise the configuration, enabling all features.
```bash
# Create a folder to store config files
mkdir -p ~/www/acm-statistics
cd ~/www/acm-statistics
# Download runner script and add permissions
curl https://raw.githubusercontent.com/Liu233w/acm-statistics/master/tools/remote-docker-up.sh -o run.sh
chmod +x run.sh
# Run the script once to generate configuration file. It will exit after the line `.env file created, remember to edit it` is shown.
./run.sh
# Edit the config file following the description in it.
vim .env
# Now we can run the project by the script
./run.sh
```
Then you can use tools such as systemd to run `./run.sh`.
[./tools/acm-statistics.service](./tools/acm-statistics.service) is a template config file of systemd.
`run.sh` checks updates when it is starting. If there are updates to `template.env`, `run.sh` will exit and ask you to compare these two files. **The script compares the line count of the two files to check update, please make sure they are identical when editing.**
## Management
- Set the url of adminer in `.env` file. It is `/adminer` by default.
- You can view and edit database via adminer.
- The name of the database is `acm_statistics`. Username is `root`. You can set password in `.env`
- Backups are created automatically in 3:00am each day, stored in `db-backup` folder, which is in the folder that contains config files.
## License
- All source code except the code in `crawler/crawlers` are under AGPL-3.0 license
- The code in `crawler/crawlers` are under BSD 2-Clause license.
## Contribution
- All contribution especially crawlers are welcomed.
- Please follow [Commit Message Conventions](https://gist.github.com/stephenparish/9941e89d80e2bc58a153) when writing git commit messages.
- You may use [cz-cli](https://github.com/commitizen/cz-cli) to help writing commit messages.
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tbody>
<tr>
<td align="center" valign="top" width="16.66%"><img src="https://avatars0.githubusercontent.com/u/22635759?v=4" width="100px;" alt=""/><br /><sub><a href="https://www.cometeme.tech"><b>Adelard Collins</b></a><a href="https://github.com/cometeme">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/issues?q=author%3Acometeme" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars1.githubusercontent.com/u/64258212?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/BackSlashDelta"><b>BackSlashDelta</b></a><a href="https://github.com/BackSlashDelta">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/issues?q=author%3ABackSlashDelta" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars0.githubusercontent.com/u/35862184?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/bodhisatan"><b>Bodhisatan_Yao</b></a><a href="https://github.com/bodhisatan">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/issues?q=author%3Abodhisatan" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars3.githubusercontent.com/u/25352156?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/Geekxiong"><b>Geekxiong</b></a><a href="https://github.com/Geekxiong">🔗</a></sub><br /><a href="#ideas-Geekxiong" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars2.githubusercontent.com/u/39403985?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/settings/profile"><b>Halorv</b></a><a href="https://github.com/Halorv">🔗</a></sub><br /><a href="#ideas-Halorv" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars3.githubusercontent.com/u/11661760?v=4" width="100px;" alt=""/><br /><sub><a href="https://kidozh.com"><b>Kido Zhang</b></a><a href="https://github.com/kidozh">🔗</a></sub><br /><a href="#infra-kidozh" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#ideas-kidozh" title="Ideas, Planning, & Feedback">🤔</a></td>
</tr>
<tr>
<td align="center" valign="top" width="16.66%"><img src="https://avatars2.githubusercontent.com/u/16333687?v=4" width="100px;" alt=""/><br /><sub><a href="https://liu233w.github.io"><b>Liu233w</b></a><a href="https://github.com/Liu233w">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/commits?author=Liu233w" title="Code">💻</a> <a href="#ideas-Liu233w" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-Liu233w" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/Liu233w/acm-statistics/commits?author=Liu233w" title="Tests">⚠️</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars1.githubusercontent.com/u/55663936?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/Meulsama"><b>Meulsama</b></a><a href="https://github.com/Meulsama">🔗</a></sub><br /><a href="#ideas-Meulsama" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars3.githubusercontent.com/u/50655871?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/UserUnknownX"><b>Michael Xiang</b></a><a href="https://github.com/UserUnknownX">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/issues?q=author%3AUserUnknownX" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars1.githubusercontent.com/u/11994295?v=4" width="100px;" alt=""/><br /><sub><a href="http://zhao.wtf"><b>Zhao</b></a><a href="https://github.com/2512821228">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/issues?q=author%3A2512821228" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars.githubusercontent.com/u/19774268?v=4" width="100px;" alt=""/><br /><sub><a href="https://dreamer.blue/"><b>bLue</b></a><a href="https://github.com/dreamerblue">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/commits?author=dreamerblue" title="Code">💻</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars.githubusercontent.com/u/49401963?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/bluebear4"><b>bluebear4</b></a><a href="https://github.com/bluebear4">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/issues?q=author%3Abluebear4" title="Bug reports">🐛</a></td>
</tr>
<tr>
<td align="center" valign="top" width="16.66%"><img src="https://avatars3.githubusercontent.com/u/22322656?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/ctuu"><b>ct</b></a><a href="https://github.com/ctuu">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/issues?q=author%3Actuu" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars2.githubusercontent.com/u/9880740?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/flylai"><b>flylai</b></a><a href="https://github.com/flylai">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/commits?author=flylai" title="Code">💻</a> <a href="https://github.com/Liu233w/acm-statistics/issues?q=author%3Aflylai" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars3.githubusercontent.com/u/36151020?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/fzu-h4cky"><b>fzu-h4cky</b></a><a href="https://github.com/fzu-h4cky">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/issues?q=author%3Afzu-h4cky" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars.githubusercontent.com/u/42441490?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/wwawwaww"><b>wwawwaww</b></a><a href="https://github.com/wwawwaww">🔗</a></sub><br /><a href="https://github.com/Liu233w/acm-statistics/issues?q=author%3Awwawwaww" title="Bug reports">🐛</a></td>
<td align="center" valign="top" width="16.66%"><img src="https://avatars2.githubusercontent.com/u/43291744?v=4" width="100px;" alt=""/><br /><sub><a href="https://github.com/zby0327"><b>zby</b></a><a href="https://github.com/zby0327">🔗</a></sub><br /><a href="#ideas-zby0327" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/Liu233w/acm-statistics/issues?q=author%3Azby0327" title="Bug reports">🐛</a></td>
</tr>
</tbody>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
================================================
FILE: README_zh-hans.md
================================================
新版 NWPU-ACM 查询系统
===
中文版文档可能有不准确之处,请以英文版文档为准。
[](https://app.zenhub.com/workspace/o/liu233w/acm-statistics/boards?repos=125616473)
[](https://sonarcloud.io/dashboard?id=acm-statistics)
[](https://codecov.io/gh/Liu233w/acm-statistics)
[](https://dashboard.cypress.io/#/projects/4s32o7/runs)
[](https://app.renovatebot.com/dashboard#github/Liu233w/acm-statistics)
[](https://mergify.io)
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
#### 构建状态


#### 功能
- 题量查询
#### 开发中
- 历史记录
- 题量追踪
- 邮件提醒
- 排行榜
- 查重
- ……
## 目录结构
- frontend: 前端
- crawler: 题量查询爬虫,可以同时被前端和后端使用
- crawler-api-backend: 题量查询后端,提供了查询API
- e2e: 关于 e2e 测试相关的代码。
- backend: 后端代码
- captcha-service: 验证码微服务
- ohunt: 有状态爬虫微服务。负责一些需要用数据库储存状态的爬虫。
- build: 存储了 docker 和 make 相关的代码和配置文件,用于构建和部署
- tools: 存储了部分脚本,各种用途都有
每个模块的具体内容请参考模块内的 README
## docker 方式部署、开发
- 目前的跨模块调用已经改成了基于docker的代码,因此有些功能(比如调用 crawler-api-backend)必须使用 docker 来启动
- 要使用这个功能,必须安装 docker 和 docker-compose
### 开发
- 本项目使用了 makefile 来管理模块间的依赖,请在根目录执行 `make help` 来查看说明。
- 要使用此方式进行开发,开发机还必须安装有 GNU make
### 部署
docker 方式简化了部署难度,这里有两种部署方式。请确保服务器安装了最新版本的 docker 和 docker-compose
#### 一行代码版
在 shell 中执行 `curl -s https://raw.githubusercontent.com/Liu233w/acm-statistics/master/tools/remote-docker-up.sh | bash` 即可将整个项目部署到 3000 端口。
这样做的话将无法使用 vjudge 爬虫,所以还是建议使用下面的配置文件版本。
#### 配置文件版
上面的一行代码版无法更改配置,建议用下面的这个配置文件版,按下面的步骤进行部署:
```bash
# 建立一个存放脚本和配置文件的文件夹,这里可以随便挑你喜欢的路径
mkdir -p ~/www/acm-statistics
cd ~/www/acm-statistics
# 下载脚本、添加权限
curl https://raw.githubusercontent.com/Liu233w/acm-statistics/master/tools/remote-docker-up.sh -o run.sh
chmod +x run.sh
# 试运行脚本以生成配置文件,在显示 `.env file created, remember to edit it` 之后会自动退出脚本
./run.sh
# 编辑配置文件,按照上面的说明进行修改即可
vim .env
# 现在即可正常运行脚本
./run.sh
```
设置成功之后即可使用单独的 `./run.sh` 来运行脚本,使用 systemd 或者其他工具均可。
`./tools/acm-statistics.service` 里是一个 systemd 配置文件的参考。
如果默认的 `template.env` 有更新,`run.sh` 会自动退出并提示您更新 `.env`。**脚本通过比较两个文件的行数来判断是否有更新,在编辑文件时请确保行数一致**
## 管理
- 在 .env 文件中设定 adminer 的url,默认为 `/adminer`
- 可以查看并修改数据库
- 数据库名称为 acm_statistics,用户名为 root,密码在 .env 中设定
- 数据库会在每天3:00am自动进行备份,保存在 `/db-backup` 中
## 开源协议
- 如无特殊声明,均为 AGPL-3.0 协议
- crawler 模块中的 `crawlers` 目录中的文件为 BSD 2-Clause 协议
## 贡献代码
- 欢迎任何人贡献代码(尤其是爬虫部分)。
- git 的提交格式遵循 [Git Commit Angular 规范](https://gist.github.com/stephenparish/9941e89d80e2bc58a153)
([中文版](http://www.ruanyifeng.com/blog/2016/01/commit_message_change_log.html))
- 您可以使用 [cz-cli](https://github.com/commitizen/cz-cli) 来辅助提交 commit
================================================
FILE: backend/.config/dotnet-tools.json
================================================
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "7.0.20",
"commands": [
"dotnet-ef"
]
}
}
}
================================================
FILE: backend/.dockerignore
================================================
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/azds.yaml
**/bin
**/charts
**/docker-compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
LICENSE
README.md
**/App_Data
# coverage file
coverage.cobertura.xml
================================================
FILE: backend/.gitattributes
================================================
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain
================================================
FILE: backend/.gitignore
================================================
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# DNX
project.lock.json
artifacts/
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding add-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignoreable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/
orleans.codegen.cs
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# JetBrains Rider
.idea/
*.sln.iml
# App_Data
/src/AcmStatisticsBackend.Web.Host/App_Data/*
# coverage file
coverage.cobertura.xml
================================================
FILE: backend/AcmStatisticsBackend.sln
================================================
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29911.84
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{AFAA0841-BD93-466F-B8F4-FB4EEC86F1FC}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{F10AA149-2626-486E-85BB-9CD5365F3016}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AcmStatisticsBackend.Core", "src\AcmStatisticsBackend.Core\AcmStatisticsBackend.Core.csproj", "{0FA75A5B-AB83-4FD0-B545-279774C01E87}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AcmStatisticsBackend.Application", "src\AcmStatisticsBackend.Application\AcmStatisticsBackend.Application.csproj", "{3870C648-4AEA-4B85-BA3F-F2F63B96136A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AcmStatisticsBackend.Tests", "test\AcmStatisticsBackend.Tests\AcmStatisticsBackend.Tests.csproj", "{0D4C5D00-C144-4213-A007-4B8944113AB1}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AcmStatisticsBackend.Web.Host", "src\AcmStatisticsBackend.Web.Host\AcmStatisticsBackend.Web.Host.csproj", "{38E184BD-E874-4633-A947-AED4FDB73F40}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AcmStatisticsBackend.Web.Core", "src\AcmStatisticsBackend.Web.Core\AcmStatisticsBackend.Web.Core.csproj", "{22CFE0D2-8DCA-42D7-AD7D-784C3862493F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AcmStatisticsBackend.EntityFrameworkCore", "src\AcmStatisticsBackend.EntityFrameworkCore\AcmStatisticsBackend.EntityFrameworkCore.csproj", "{E0580562-F8F2-4EBB-B07A-ABFC6F2C314F}"
EndProject
Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "..\build\docker-compose.dcproj", "{5AE26E44-7AFE-4443-AA6E-F3FDF9519BFD}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1CD24D5F-EC67-4825-B43D-031CD8027031}"
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
stylecop.json = stylecop.json
StyleCop.ruleset = StyleCop.ruleset
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0FA75A5B-AB83-4FD0-B545-279774C01E87}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0FA75A5B-AB83-4FD0-B545-279774C01E87}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0FA75A5B-AB83-4FD0-B545-279774C01E87}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0FA75A5B-AB83-4FD0-B545-279774C01E87}.Release|Any CPU.Build.0 = Release|Any CPU
{3870C648-4AEA-4B85-BA3F-F2F63B96136A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3870C648-4AEA-4B85-BA3F-F2F63B96136A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3870C648-4AEA-4B85-BA3F-F2F63B96136A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3870C648-4AEA-4B85-BA3F-F2F63B96136A}.Release|Any CPU.Build.0 = Release|Any CPU
{0D4C5D00-C144-4213-A007-4B8944113AB1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0D4C5D00-C144-4213-A007-4B8944113AB1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0D4C5D00-C144-4213-A007-4B8944113AB1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0D4C5D00-C144-4213-A007-4B8944113AB1}.Release|Any CPU.Build.0 = Release|Any CPU
{38E184BD-E874-4633-A947-AED4FDB73F40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{38E184BD-E874-4633-A947-AED4FDB73F40}.Debug|Any CPU.Build.0 = Debug|Any CPU
{38E184BD-E874-4633-A947-AED4FDB73F40}.Release|Any CPU.ActiveCfg = Release|Any CPU
{38E184BD-E874-4633-A947-AED4FDB73F40}.Release|Any CPU.Build.0 = Release|Any CPU
{22CFE0D2-8DCA-42D7-AD7D-784C3862493F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{22CFE0D2-8DCA-42D7-AD7D-784C3862493F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{22CFE0D2-8DCA-42D7-AD7D-784C3862493F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{22CFE0D2-8DCA-42D7-AD7D-784C3862493F}.Release|Any CPU.Build.0 = Release|Any CPU
{E0580562-F8F2-4EBB-B07A-ABFC6F2C314F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E0580562-F8F2-4EBB-B07A-ABFC6F2C314F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E0580562-F8F2-4EBB-B07A-ABFC6F2C314F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E0580562-F8F2-4EBB-B07A-ABFC6F2C314F}.Release|Any CPU.Build.0 = Release|Any CPU
{5AE26E44-7AFE-4443-AA6E-F3FDF9519BFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5AE26E44-7AFE-4443-AA6E-F3FDF9519BFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5AE26E44-7AFE-4443-AA6E-F3FDF9519BFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5AE26E44-7AFE-4443-AA6E-F3FDF9519BFD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{0FA75A5B-AB83-4FD0-B545-279774C01E87} = {AFAA0841-BD93-466F-B8F4-FB4EEC86F1FC}
{3870C648-4AEA-4B85-BA3F-F2F63B96136A} = {AFAA0841-BD93-466F-B8F4-FB4EEC86F1FC}
{0D4C5D00-C144-4213-A007-4B8944113AB1} = {F10AA149-2626-486E-85BB-9CD5365F3016}
{38E184BD-E874-4633-A947-AED4FDB73F40} = {AFAA0841-BD93-466F-B8F4-FB4EEC86F1FC}
{22CFE0D2-8DCA-42D7-AD7D-784C3862493F} = {AFAA0841-BD93-466F-B8F4-FB4EEC86F1FC}
{E0580562-F8F2-4EBB-B07A-ABFC6F2C314F} = {AFAA0841-BD93-466F-B8F4-FB4EEC86F1FC}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8C07C326-4D17-4200-88B1-4DD423C6392C}
EndGlobalSection
EndGlobal
================================================
FILE: backend/AcmStatisticsBackend.sln.DotSettings
================================================
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_AFTER_TYPECAST_PARENTHESES/@EntryValue">False</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpKeepExistingMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpPlaceEmbeddedOnSameLineMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ECSharpUseContinuousIndentInsideBracesMigration/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EPsi_002ECSharp_002ECodeStyle_002ESettingsUpgrade_002EMigrateBlankLinesAroundFieldToBlankLinesAroundProperty/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Iana/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=vjudge/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
================================================
FILE: backend/Directory.Build.props
================================================
<Project>
<!-- StyleCop Analyzers configuration -->
<PropertyGroup>
<!-- Relative to project folder -->
<CodeAnalysisRuleSet>../../StyleCop.ruleset</CodeAnalysisRuleSet>
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<AdditionalFiles Include="../../stylecop.json" Link="stylecop.json" />
</ItemGroup>
</Project>
================================================
FILE: backend/Makefile
================================================
## makefile for backend
include ../build/share.mk
help:
@echo run \"make help\" in root directory to get help
.base:
docker build . \
-f dev.Dockerfile \
-t $(BackendBaseTag) \
$(build-args)
build:
docker build . \
-f src/AcmStatisticsBackend.Web.Host/Dockerfile \
-t $(BackendTag) \
$(build-args)
test: .base
docker run --rm -t $(BackendBaseTag) dotnet test
run: .base
docker run $(run-args) $(BackendBaseTag) $(run-cmd)
clean:
docker image rm $(BackendTag) $(BackendBaseTag); true
test-ci: .base
docker run --rm \
-v "$(CURDIR)/test/AcmStatisticsBackend.Tests/TestResults:/src/test/AcmStatisticsBackend.Tests/TestResults" \
$(BackendBaseTag) \
dotnet test --collect:"XPlat Code Coverage"
================================================
FILE: backend/README.md
================================================
# 后端代码 (abp实现)
## 运行环境
- docker docker-compose
## 开发环境
- docker docker-compose (必要)
- dotnet core 3.1
- Visual Studio 2019 (安装docker支持)
## 运行方式
本项目不能脱离docker运行。
### 仅运行
- 仅运行时不需要装有vs 2019或者dotnet core开发环境
- 与其他项目相同,使用 `make build` 进行构建,`make test`进行测试
### 开发
- 可以直接使用visual studio 2019的container tool进行调试
- 使用vs打开sln文件,将 docker-compose 设为启动项目,然后直接调试即可
- 在进行调试之前,需要先在本目录的上级目录运行 `make build` 来构建其他依赖项
- 在调试状态下,可以从 `localhost:8080` 访问数据库信息
- 在 `../build/.env` 文件中查看和修改默认密码等数据
================================================
FILE: backend/StyleCop.ruleset
================================================
<?xml version="1.0" encoding="utf-8"?>
<RuleSet Name="Microsoft Managed Recommended Rules" Description="These rules focus on the most critical problems in your code, including potential security holes, application crashes, and other important logic and design errors. It is recommended to include this rule set in any custom rule set you create for your projects." ToolsVersion="16.0">
<Localization ResourceAssembly="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.dll" ResourceBaseName="Microsoft.VisualStudio.CodeAnalysis.RuleSets.Strings.Localized">
<Name Resource="MinimumRecommendedRules_Name" />
<Description Resource="MinimumRecommendedRules_Description" />
</Localization>
<Rules AnalyzerId="Microsoft.Analyzers.ManagedCodeAnalysis" RuleNamespace="Microsoft.Rules.Managed">
<Rule Id="CA1001" Action="Warning" />
<Rule Id="CA1009" Action="Warning" />
<Rule Id="CA1016" Action="Warning" />
<Rule Id="CA1033" Action="Warning" />
<Rule Id="CA1049" Action="Warning" />
<Rule Id="CA1060" Action="Warning" />
<Rule Id="CA1061" Action="Warning" />
<Rule Id="CA1063" Action="Warning" />
<Rule Id="CA1065" Action="Warning" />
<Rule Id="CA1301" Action="Warning" />
<Rule Id="CA1400" Action="Warning" />
<Rule Id="CA1401" Action="Warning" />
<Rule Id="CA1403" Action="Warning" />
<Rule Id="CA1404" Action="Warning" />
<Rule Id="CA1405" Action="Warning" />
<Rule Id="CA1410" Action="Warning" />
<Rule Id="CA1415" Action="Warning" />
<Rule Id="CA1821" Action="Warning" />
<Rule Id="CA1900" Action="Warning" />
<Rule Id="CA1901" Action="Warning" />
<Rule Id="CA2002" Action="Warning" />
<Rule Id="CA2100" Action="Warning" />
<Rule Id="CA2101" Action="Warning" />
<Rule Id="CA2108" Action="Warning" />
<Rule Id="CA2111" Action="Warning" />
<Rule Id="CA2112" Action="Warning" />
<Rule Id="CA2114" Action="Warning" />
<Rule Id="CA2116" Action="Warning" />
<Rule Id="CA2117" Action="Warning" />
<Rule Id="CA2122" Action="Warning" />
<Rule Id="CA2123" Action="Warning" />
<Rule Id="CA2124" Action="Warning" />
<Rule Id="CA2126" Action="Warning" />
<Rule Id="CA2131" Action="Warning" />
<Rule Id="CA2132" Action="Warning" />
<Rule Id="CA2133" Action="Warning" />
<Rule Id="CA2134" Action="Warning" />
<Rule Id="CA2137" Action="Warning" />
<Rule Id="CA2138" Action="Warning" />
<Rule Id="CA2140" Action="Warning" />
<Rule Id="CA2141" Action="Warning" />
<Rule Id="CA2146" Action="Warning" />
<Rule Id="CA2147" Action="Warning" />
<Rule Id="CA2149" Action="Warning" />
<Rule Id="CA2200" Action="Warning" />
<Rule Id="CA2202" Action="Warning" />
<Rule Id="CA2207" Action="Warning" />
<Rule Id="CA2212" Action="Warning" />
<Rule Id="CA2213" Action="Warning" />
<Rule Id="CA2214" Action="Warning" />
<Rule Id="CA2216" Action="Warning" />
<Rule Id="CA2220" Action="Warning" />
<Rule Id="CA2229" Action="Warning" />
<Rule Id="CA2231" Action="Warning" />
<Rule Id="CA2232" Action="Warning" />
<Rule Id="CA2235" Action="Warning" />
<Rule Id="CA2236" Action="Warning" />
<Rule Id="CA2237" Action="Warning" />
<Rule Id="CA2238" Action="Warning" />
<Rule Id="CA2240" Action="Warning" />
<Rule Id="CA2241" Action="Warning" />
<Rule Id="CA2242" Action="Warning" />
</Rules>
<Rules AnalyzerId="Microsoft.CodeAnalysis.CSharp" RuleNamespace="Microsoft.CodeAnalysis.CSharp">
<Rule Id="CS1591" Action="None" />
</Rules>
<Rules AnalyzerId="StyleCop.Analyzers" RuleNamespace="StyleCop.Analyzers">
<Rule Id="SA0001" Action="None" />
<Rule Id="SA0002" Action="Error" />
<Rule Id="SA1000" Action="Error" />
<Rule Id="SA1001" Action="Error" />
<Rule Id="SA1002" Action="Error" />
<Rule Id="SA1003" Action="Error" />
<Rule Id="SA1004" Action="Error" />
<Rule Id="SA1005" Action="Error" />
<Rule Id="SA1006" Action="Error" />
<Rule Id="SA1007" Action="Error" />
<Rule Id="SA1008" Action="Error" />
<Rule Id="SA1009" Action="Error" />
<Rule Id="SA1010" Action="Error" />
<Rule Id="SA1011" Action="Error" />
<Rule Id="SA1012" Action="Error" />
<Rule Id="SA1013" Action="Error" />
<Rule Id="SA1014" Action="Error" />
<Rule Id="SA1015" Action="Error" />
<Rule Id="SA1016" Action="Error" />
<Rule Id="SA1017" Action="Error" />
<Rule Id="SA1018" Action="Error" />
<Rule Id="SA1019" Action="Error" />
<Rule Id="SA1020" Action="Error" />
<Rule Id="SA1021" Action="Error" />
<Rule Id="SA1022" Action="Error" />
<Rule Id="SA1023" Action="Error" />
<Rule Id="SA1024" Action="Error" />
<Rule Id="SA1025" Action="Error" />
<Rule Id="SA1026" Action="Error" />
<Rule Id="SA1027" Action="Error" />
<Rule Id="SA1028" Action="Error" />
<Rule Id="SA1100" Action="Error" />
<Rule Id="SA1101" Action="None" />
<Rule Id="SA1102" Action="Error" />
<Rule Id="SA1103" Action="Error" />
<Rule Id="SA1104" Action="Error" />
<Rule Id="SA1105" Action="Error" />
<Rule Id="SA1106" Action="Error" />
<Rule Id="SA1107" Action="Error" />
<Rule Id="SA1108" Action="None" />
<Rule Id="SA1110" Action="Error" />
<Rule Id="SA1111" Action="Error" />
<Rule Id="SA1112" Action="Error" />
<Rule Id="SA1113" Action="Error" />
<Rule Id="SA1114" Action="Error" />
<Rule Id="SA1115" Action="Error" />
<Rule Id="SA1116" Action="None" />
<Rule Id="SA1117" Action="None" />
<Rule Id="SA1118" Action="None" />
<Rule Id="SA1119" Action="Error" />
<Rule Id="SA1120" Action="Error" />
<Rule Id="SA1121" Action="Error" />
<Rule Id="SA1122" Action="None" />
<Rule Id="SA1123" Action="Error" />
<Rule Id="SA1125" Action="Error" />
<Rule Id="SA1127" Action="None" />
<Rule Id="SA1128" Action="None" />
<Rule Id="SA1129" Action="Error" />
<Rule Id="SA1130" Action="Error" />
<Rule Id="SA1131" Action="Error" />
<Rule Id="SA1132" Action="None" />
<Rule Id="SA1133" Action="None" />
<Rule Id="SA1134" Action="Error" />
<Rule Id="SA1135" Action="Error" />
<Rule Id="SA1136" Action="Error" />
<Rule Id="SA1137" Action="Error" />
<Rule Id="SA1139" Action="Error" />
<Rule Id="SA1141" Action="Error" />
<Rule Id="SA1142" Action="Error" />
<Rule Id="SA1200" Action="Error" />
<Rule Id="SA1201" Action="None" />
<Rule Id="SA1202" Action="None" />
<Rule Id="SA1203" Action="None" />
<Rule Id="SA1204" Action="None" />
<Rule Id="SA1205" Action="Error" />
<Rule Id="SA1206" Action="Error" />
<Rule Id="SA1207" Action="Error" />
<Rule Id="SA1208" Action="Error" />
<Rule Id="SA1209" Action="Error" />
<Rule Id="SA1210" Action="Error" />
<Rule Id="SA1211" Action="Error" />
<Rule Id="SA1212" Action="Error" />
<Rule Id="SA1213" Action="Error" />
<Rule Id="SA1214" Action="None" />
<Rule Id="SA1216" Action="Error" />
<Rule Id="SA1217" Action="Error" />
<Rule Id="SA1300" Action="Error" />
<Rule Id="SA1302" Action="Error" />
<Rule Id="SA1303" Action="Error" />
<Rule Id="SA1304" Action="Error" />
<Rule Id="SA1306" Action="Error" />
<Rule Id="SA1307" Action="Error" />
<Rule Id="SA1308" Action="Error" />
<Rule Id="SA1309" Action="None" />
<Rule Id="SA1310" Action="Error" />
<Rule Id="SA1311" Action="Error" />
<Rule Id="SA1312" Action="Error" />
<Rule Id="SA1313" Action="Error" />
<Rule Id="SA1314" Action="Error" />
<Rule Id="SA1316" Action="Error" />
<Rule Id="SA1400" Action="Error" />
<Rule Id="SA1401" Action="None" />
<Rule Id="SA1402" Action="None" />
<Rule Id="SA1403" Action="Error" />
<Rule Id="SA1404" Action="None" />
<Rule Id="SA1405" Action="Error" />
<Rule Id="SA1406" Action="Error" />
<Rule Id="SA1407" Action="None" />
<Rule Id="SA1408" Action="Error" />
<Rule Id="SA1410" Action="Error" />
<Rule Id="SA1411" Action="Error" />
<Rule Id="SA1413" Action="Error" />
<Rule Id="SA1414" Action="Error" />
<Rule Id="SA1500" Action="Error" />
<Rule Id="SA1501" Action="None" />
<Rule Id="SA1502" Action="None" />
<Rule Id="SA1503" Action="Error" />
<Rule Id="SA1504" Action="Error" />
<Rule Id="SA1505" Action="Error" />
<Rule Id="SA1506" Action="Error" />
<Rule Id="SA1507" Action="Error" />
<Rule Id="SA1508" Action="Error" />
<Rule Id="SA1509" Action="Error" />
<Rule Id="SA1510" Action="Error" />
<Rule Id="SA1511" Action="Error" />
<Rule Id="SA1512" Action="None" />
<Rule Id="SA1513" Action="Error" />
<Rule Id="SA1514" Action="Error" />
<Rule Id="SA1515" Action="None" />
<Rule Id="SA1516" Action="None" />
<Rule Id="SA1517" Action="Error" />
<Rule Id="SA1518" Action="Error" />
<Rule Id="SA1519" Action="Error" />
<Rule Id="SA1520" Action="Error" />
<Rule Id="SA1600" Action="None" />
<Rule Id="SA1601" Action="None" />
<Rule Id="SA1602" Action="None" />
<Rule Id="SA1604" Action="None" />
<Rule Id="SA1605" Action="Error" />
<Rule Id="SA1606" Action="Error" />
<Rule Id="SA1607" Action="Error" />
<Rule Id="SA1608" Action="Error" />
<Rule Id="SA1610" Action="Error" />
<Rule Id="SA1611" Action="None" />
<Rule Id="SA1612" Action="Error" />
<Rule Id="SA1613" Action="Error" />
<Rule Id="SA1614" Action="Error" />
<Rule Id="SA1615" Action="None" />
<Rule Id="SA1616" Action="Error" />
<Rule Id="SA1617" Action="Error" />
<Rule Id="SA1618" Action="Error" />
<Rule Id="SA1619" Action="Error" />
<Rule Id="SA1620" Action="Error" />
<Rule Id="SA1621" Action="Error" />
<Rule Id="SA1622" Action="Error" />
<Rule Id="SA1623" Action="None" />
<Rule Id="SA1624" Action="Error" />
<Rule Id="SA1625" Action="Error" />
<Rule Id="SA1626" Action="Error" />
<Rule Id="SA1627" Action="Error" />
<Rule Id="SA1629" Action="None" />
<Rule Id="SA1633" Action="None" />
<Rule Id="SA1634" Action="Error" />
<Rule Id="SA1635" Action="Error" />
<Rule Id="SA1636" Action="Error" />
<Rule Id="SA1637" Action="Error" />
<Rule Id="SA1638" Action="Error" />
<Rule Id="SA1640" Action="Error" />
<Rule Id="SA1641" Action="Error" />
<Rule Id="SA1642" Action="Error" />
<Rule Id="SA1643" Action="Error" />
<Rule Id="SA1648" Action="Error" />
<Rule Id="SA1649" Action="None" />
<Rule Id="SA1651" Action="Error" />
</Rules>
</RuleSet>
================================================
FILE: backend/dev.Dockerfile
================================================
FROM mcr.microsoft.com/dotnet/sdk:8.0
# needed in sln file
RUN mkdir /build && echo '<?xml version="1.0" encoding="utf-8"?><Project ToolsVersion="15.0" Sdk="Microsoft.Docker.Sdk"></Project>' > /build/docker-compose.dcproj
WORKDIR /src
COPY ["src/AcmStatisticsBackend.Web.Host/AcmStatisticsBackend.Web.Host.csproj", "src/AcmStatisticsBackend.Web.Host/"]
COPY ["src/AcmStatisticsBackend.Web.Core/AcmStatisticsBackend.Web.Core.csproj", "src/AcmStatisticsBackend.Web.Core/"]
COPY ["src/AcmStatisticsBackend.EntityFrameworkCore/AcmStatisticsBackend.EntityFrameworkCore.csproj", "src/AcmStatisticsBackend.EntityFrameworkCore/"]
COPY ["src/AcmStatisticsBackend.Core/AcmStatisticsBackend.Core.csproj", "src/AcmStatisticsBackend.Core/"]
COPY ["src/AcmStatisticsBackend.Application/AcmStatisticsBackend.Application.csproj", "src/AcmStatisticsBackend.Application/"]
COPY ["test/AcmStatisticsBackend.Tests/AcmStatisticsBackend.Tests.csproj", "test/AcmStatisticsBackend.Tests/"]
RUN dotnet restore "src/AcmStatisticsBackend.Web.Host/AcmStatisticsBackend.Web.Host.csproj"
RUN dotnet restore "test/AcmStatisticsBackend.Tests/AcmStatisticsBackend.Tests.csproj"
COPY . .
================================================
FILE: backend/global.json
================================================
{
"sdk": {
"version": "8.0.418",
"rollForward": "latestMajor",
"allowPrerelease": false
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Accounts/AccountAppService.cs
================================================
using System.Diagnostics;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Abp.Authorization;
using Abp.IdentityFramework;
using Abp.Runtime.Session;
using Abp.UI;
using AcmStatisticsBackend.Accounts.Dto;
using AcmStatisticsBackend.Authorization;
using AcmStatisticsBackend.Authorization.Users;
using AcmStatisticsBackend.ServiceClients;
using Microsoft.AspNetCore.Identity;
namespace AcmStatisticsBackend.Accounts
{
public class AccountAppService : AcmStatisticsBackendAppServiceBase, IAccountAppService
{
private readonly UserRegistrationManager _userRegistrationManager;
private readonly ICaptchaServiceClient _captchaServiceClient;
private readonly UserManager _userManager;
private readonly IAbpSession _abpSession;
private readonly LogInManager _logInManager;
private readonly IPasswordHasher<User> _passwordHasher;
public AccountAppService(
UserRegistrationManager userRegistrationManager, ICaptchaServiceClient captchaServiceClient,
UserManager userManager, IAbpSession abpSession, LogInManager logInManager,
IPasswordHasher<User> passwordHasher)
{
_userRegistrationManager = userRegistrationManager;
_captchaServiceClient = captchaServiceClient;
_userManager = userManager;
_abpSession = abpSession;
_logInManager = logInManager;
_passwordHasher = passwordHasher;
}
public async Task<RegisterOutput> Register(RegisterInput input)
{
var captchaResult = await _captchaServiceClient.ValidateAsync(input.CaptchaId, input.CaptchaText);
if (!captchaResult.Correct)
{
throw new UserFriendlyException(captchaResult.ErrorMessage);
}
await _userRegistrationManager.RegisterAsync(
input.UserName,
input.Password);
return new RegisterOutput
{
CanLogin = true,
};
}
/// <inheritdoc />
[AbpAuthorize]
public async Task SelfDelete()
{
var user = await _userManager.GetUserByIdAsync(_abpSession.GetUserId());
var identityResult = await _userManager.DeleteAsync(user);
identityResult.CheckErrors();
}
/// <inheritdoc />
[AbpAuthorize]
public async Task ChangePassword(ChangePasswordInput input)
{
Debug.Assert(_abpSession.UserId != null, "_abpSession.UserId != null");
var userId = _abpSession.UserId.Value;
var user = await _userManager.GetUserByIdAsync(userId);
var loginAsync = await _logInManager.LoginAsync(user.UserName, input.CurrentPassword, shouldLockout: false);
if (loginAsync.Result != AbpLoginResultType.Success)
{
throw new UserFriendlyException(
"Your 'Existing Password' did not match the one on record. Please try again or contact an administrator for assistance in resetting your password.");
}
user.Password = _passwordHasher.HashPassword(user, input.NewPassword);
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Accounts/Dto/ChangePasswordInput.cs
================================================
using System.ComponentModel.DataAnnotations;
namespace AcmStatisticsBackend.Accounts.Dto
{
public class ChangePasswordInput
{
[Required]
public string CurrentPassword { get; set; }
[Required]
public string NewPassword { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Accounts/Dto/RegisterInput.cs
================================================
using System.ComponentModel.DataAnnotations;
using Abp.Auditing;
using Abp.Authorization.Users;
namespace AcmStatisticsBackend.Accounts.Dto
{
public class RegisterInput
{
[Required]
[StringLength(AbpUserBase.MaxUserNameLength)]
public string UserName { get; set; }
[Required]
[StringLength(AbpUserBase.MaxPlainPasswordLength)]
[DisableAuditing]
public string Password { get; set; }
[Required]
public string CaptchaText { get; set; }
[Required]
public string CaptchaId { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Accounts/Dto/RegisterOutput.cs
================================================
namespace AcmStatisticsBackend.Accounts.Dto
{
public class RegisterOutput
{
public bool CanLogin { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Accounts/IAccountAppService.cs
================================================
using System.Threading.Tasks;
using Abp.Application.Services;
using AcmStatisticsBackend.Accounts.Dto;
namespace AcmStatisticsBackend.Accounts
{
public interface IAccountAppService : IApplicationService
{
Task<RegisterOutput> Register(RegisterInput input);
/// <summary>
/// Delete this account
/// </summary>
Task SelfDelete();
/// <summary>
/// Change password of current user
/// </summary>
Task ChangePassword(ChangePasswordInput input);
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/AcmStatisticsBackend.Application.csproj
================================================
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<VersionPrefix>1.0.0.0</VersionPrefix>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>AcmStatisticsBackend.Application</AssemblyName>
<PackageId>AcmStatisticsBackend.Application</PackageId>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<RootNamespace>AcmStatisticsBackend</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\AcmStatisticsBackend.Application.xml</DocumentationFile>
<OutputPath></OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<OutputPath></OutputPath>
<DocumentationFile>bin\AcmStatisticsBackend.Application.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\AcmStatisticsBackend.Core\AcmStatisticsBackend.Core.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="SauceControl.InheritDoc" Version="2.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>
================================================
FILE: backend/src/AcmStatisticsBackend.Application/AcmStatisticsBackendAppServiceBase.cs
================================================
using System;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.IdentityFramework;
using Abp.Runtime.Session;
using AcmStatisticsBackend.Authorization.Users;
using AcmStatisticsBackend.MultiTenancy;
using Microsoft.AspNetCore.Identity;
namespace AcmStatisticsBackend
{
/// <summary>
/// Derive your application services from this class.
/// </summary>
public abstract class AcmStatisticsBackendAppServiceBase : ApplicationService
{
public TenantManager TenantManager { get; set; }
public UserManager UserManager { get; set; }
protected AcmStatisticsBackendAppServiceBase()
{
LocalizationSourceName = AcmStatisticsBackendConsts.LocalizationSourceName;
}
protected virtual async Task<User> GetCurrentUserAsync()
{
var user = await UserManager.FindByIdAsync(AbpSession.GetUserId().ToString());
if (user == null)
{
throw new Exception("There is no current user!");
}
return user;
}
protected virtual Task<Tenant> GetCurrentTenantAsync()
{
return TenantManager.GetByIdAsync(AbpSession.GetTenantId());
}
protected virtual void CheckErrors(IdentityResult identityResult)
{
identityResult.CheckErrors(LocalizationManager);
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/AcmStatisticsBackendApplicationModule.cs
================================================
using Abp.AutoMapper;
using Abp.Modules;
using Abp.Reflection.Extensions;
using AcmStatisticsBackend.Authorization;
namespace AcmStatisticsBackend
{
[DependsOn(
typeof(AcmStatisticsBackendCoreModule),
typeof(AbpAutoMapperModule))]
public class AcmStatisticsBackendApplicationModule : AbpModule
{
public override void PreInitialize()
{
Configuration.Authorization.Providers.Add<AcmStatisticsBackendAuthorizationProvider>();
}
public override void Initialize()
{
var thisAssembly = typeof(AcmStatisticsBackendApplicationModule).GetAssembly();
IocManager.RegisterAssemblyByConvention(thisAssembly);
// Scan the assembly for classes which inherit from AutoMapper.Profile
Configuration.Modules.AbpAutoMapper().Configurators.Add(
cfg => cfg.AddMaps(thisAssembly));
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Authorization/AbpLoginResultTypeHelper.cs
================================================
using System;
using Abp;
using Abp.Authorization;
using Abp.Dependency;
using Abp.UI;
namespace AcmStatisticsBackend.Authorization
{
public class AbpLoginResultTypeHelper : AbpServiceBase, ITransientDependency
{
public AbpLoginResultTypeHelper()
{
LocalizationSourceName = AcmStatisticsBackendConsts.LocalizationSourceName;
}
public Exception CreateExceptionForFailedLoginAttempt(AbpLoginResultType result, string usernameOrEmailAddress, string tenancyName)
{
switch (result)
{
case AbpLoginResultType.Success:
return new Exception("Don't call this method with a success result!");
case AbpLoginResultType.InvalidUserNameOrEmailAddress:
case AbpLoginResultType.InvalidPassword:
return new UserFriendlyException(L("InvalidUserNameOrPassword"));
case AbpLoginResultType.InvalidTenancyName:
return new UserFriendlyException(L("ThereIsNoTenantDefinedWithName{0}", tenancyName));
case AbpLoginResultType.TenantIsNotActive:
return new UserFriendlyException(L("TenantIsNotActive", tenancyName));
case AbpLoginResultType.UserIsNotActive:
return new UserFriendlyException(L("UserIsNotActiveAndCanNotLogin", usernameOrEmailAddress));
case AbpLoginResultType.UserEmailIsNotConfirmed:
return new UserFriendlyException(L("UserEmailIsNotConfirmedAndCanNotLogin"));
case AbpLoginResultType.LockedOut:
return new UserFriendlyException(L("UserLockedOutMessage"));
default: // Can not fall to default actually. But other result types can be added in the future and we may forget to handle it
Logger.Warn("Unhandled login fail reason: " + result);
return new UserFriendlyException(L("LoginFailed"));
}
}
public string CreateLocalizedMessageForFailedLoginAttempt(AbpLoginResultType result, string usernameOrEmailAddress, string tenancyName)
{
switch (result)
{
case AbpLoginResultType.Success:
throw new Exception("Don't call this method with a success result!");
case AbpLoginResultType.InvalidUserNameOrEmailAddress:
case AbpLoginResultType.InvalidPassword:
return L("InvalidUserNameOrPassword");
case AbpLoginResultType.InvalidTenancyName:
return L("ThereIsNoTenantDefinedWithName{0}", tenancyName);
case AbpLoginResultType.TenantIsNotActive:
return L("TenantIsNotActive", tenancyName);
case AbpLoginResultType.UserIsNotActive:
return L("UserIsNotActiveAndCanNotLogin", usernameOrEmailAddress);
case AbpLoginResultType.UserEmailIsNotConfirmed:
return L("UserEmailIsNotConfirmedAndCanNotLogin");
default: // Can not fall to default actually. But other result types can be added in the future and we may forget to handle it
Logger.Warn("Unhandled login fail reason: " + result);
return L("LoginFailed");
}
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/DefaultQueryAppService.cs
================================================
using System.Diagnostics;
using System.Threading.Tasks;
using Abp.Authorization;
using Abp.Domain.Repositories;
using Abp.Extensions;
using AcmStatisticsBackend.Authorization;
using AcmStatisticsBackend.Crawlers.Dto;
namespace AcmStatisticsBackend.Crawlers
{
/// <inheritdoc cref="IDefaultQueryAppService"/>
[AbpAuthorize(PermissionNames.Statistics_DefaultQuery)]
public class DefaultQueryAppService : AcmStatisticsBackendAppServiceBase, IDefaultQueryAppService
{
private readonly IRepository<DefaultQuery, long> _defaultQueryRepository;
public DefaultQueryAppService(IRepository<DefaultQuery, long> defaultQueryRepository)
{
_defaultQueryRepository = defaultQueryRepository;
}
/// <inheritdoc cref="IDefaultQueryAppService.GetDefaultQueries"/>
public async Task<DefaultQueryDto> GetDefaultQueries()
{
var res = await _defaultQueryRepository.FirstOrDefaultAsync(e => e.UserId == AbpSession.UserId.Value);
return res == null ? new DefaultQueryDto() : ObjectMapper.Map<DefaultQueryDto>(res);
}
/// <inheritdoc cref="IDefaultQueryAppService.SetDefaultQueries"/>
public async Task SetDefaultQueries(DefaultQueryDto dto)
{
var entity = ObjectMapper.Map<DefaultQuery>(dto);
Debug.Assert(AbpSession.UserId != null, "AbpSession.UserId != null");
var userId = AbpSession.UserId.Value;
var existEntity = await _defaultQueryRepository.FirstOrDefaultAsync(e => e.UserId == userId);
if (existEntity == null)
{
entity.UserId = userId;
await _defaultQueryRepository.InsertAsync(entity);
}
else
{
existEntity.MainUsername = entity.MainUsername;
existEntity.UsernamesInCrawlers = entity.UsernamesInCrawlers;
}
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/DefaultQueryDto.cs
================================================
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
namespace AcmStatisticsBackend.Crawlers.Dto
{
/// <summary>
/// Store default query usernames
/// </summary>
[AutoMap(typeof(DefaultQuery))]
public class DefaultQueryDto : ICustomValidate
{
/// <summary>
/// main username
/// </summary>
[MinLength(0)]
public string MainUsername { get; set; } = "";
/// <summary>
/// Usernames in each crawlers. Key is the name of crawler, value is a list that contains
/// all usernames in this crawler.
/// </summary>
public Dictionary<string, List<string>> UsernamesInCrawlers { get; set; } =
new Dictionary<string, List<string>>();
public void AddValidationErrors(CustomValidationContext context)
{
foreach (var usernamesInCrawler in UsernamesInCrawlers)
{
if (usernamesInCrawler.Value == null)
{
context.Results.Add(new ValidationResult("Items in UsernamesInCrawlers should not be null."));
}
}
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/DeleteQueryHistoryInput.cs
================================================
using System.Diagnostics.CodeAnalysis;
namespace AcmStatisticsBackend.Crawlers.Dto
{
public class DeleteQueryHistoryInput
{
/// <summary>
/// Delete history by certain id.
/// </summary>
public long? Id { get; set; }
/// <summary>
/// Delete histories in the list.
/// </summary>
[MaybeNull]
public long[] Ids { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetAcWorkerHistoryInput.cs
================================================
using System.ComponentModel.DataAnnotations;
namespace AcmStatisticsBackend.Crawlers.Dto
{
public class GetAcWorkerHistoryInput
{
[Range(1, long.MaxValue)]
public long QueryHistoryId { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetQueryHistoryAndSummaryOutput.cs
================================================
using System;
using System.ComponentModel.DataAnnotations;
namespace AcmStatisticsBackend.Crawlers.Dto
{
public class GetQueryHistoryAndSummaryOutput
{
[Range(1, long.MaxValue)]
public long HistoryId { get; set; }
/// <summary>
/// The id of the summary.
///
/// It can be null if the summary does not exist
/// </summary>
[Range(1, long.MaxValue)]
public long? SummaryId { get; set; }
[Required]
public DateTime CreationTime { get; set; }
/// <summary>
/// Submission count
///
/// Is null if summary does not exist.
/// </summary>
public int? Submission { get; set; }
/// <summary>
/// Solved count
///
/// Is null if summary does not exist.
/// </summary>
public int? Solved { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetQueryHistoryOutput.cs
================================================
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
namespace AcmStatisticsBackend.Crawlers.Dto
{
[AutoMap(typeof(QueryHistory))]
public class GetQueryHistoryOutput
{
[Range(1, long.MaxValue)]
public long Id { get; set; }
[Required]
public DateTime CreationTime { get; set; }
/// <summary>
/// Main username of query history, can be null or empty
/// </summary>
public string MainUsername { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetQuerySummaryInput.cs
================================================
using System.ComponentModel.DataAnnotations;
namespace AcmStatisticsBackend.Crawlers.Dto
{
public class GetQuerySummaryInput
{
[Range(1, long.MaxValue)]
public long QueryHistoryId { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/QueryCrawlerSummaryDto.cs
================================================
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using AutoMapper;
namespace AcmStatisticsBackend.Crawlers.Dto
{
[AutoMap(typeof(QueryCrawlerSummary))]
public class QueryCrawlerSummaryDto
{
/// <summary>
/// The name of the crawler. Frontend can get its title by this field.
/// </summary>
[Required]
public string CrawlerName { get; set; }
/// <summary>
/// Submission count.
/// </summary>
[Range(0, int.MaxValue)]
public int Submission { get; set; }
/// <summary>
/// Solved count.
/// </summary>
[Range(0, int.MaxValue)]
public int Solved { get; set; }
/// <summary>
/// Usernames used in this crawler
/// </summary>
public ICollection<UsernameInCrawlerDto> Usernames { get; set; }
public bool IsVirtualJudge { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/QuerySummaryDto.cs
================================================
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
namespace AcmStatisticsBackend.Crawlers.Dto
{
[AutoMap(typeof(QuerySummary))]
public class QuerySummaryDto
{
[Range(1, long.MaxValue)]
public long QueryHistoryId { get; set; }
/// <summary>
/// When the summary is generated
/// </summary>
public DateTime GenerateTime { get; set; }
/// <summary>
/// Main username, can be null or empty
/// </summary>
public string MainUsername { get; set; }
/// <summary>
/// Query summaries of each crawler.
/// </summary>
[Required]
public ICollection<QueryCrawlerSummaryDto> QueryCrawlerSummaries { get; set; }
/// <summary>
/// Warnings in summary generation.
/// </summary>
[Required]
public ICollection<SummaryWarning> SummaryWarnings { get; set; }
/// <summary>
/// Total submission count
/// </summary>
[Range(0, int.MaxValue)]
public int Submission { get; set; }
/// <summary>
/// Total solved count, redundant problems (including problems in virtual_judge) are removed.
/// </summary>
[Range(0, int.MaxValue)]
public int Solved { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/QueryWorkerHistoryDto.cs
================================================
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
namespace AcmStatisticsBackend.Crawlers.Dto
{
[AutoMap(typeof(QueryWorkerHistory))]
public class QueryWorkerHistoryDto : ICustomValidate
{
/// <summary>
/// The name of the crawler. Frontend can get its title by this field.
/// </summary>
[Required]
public string CrawlerName { get; set; }
/// <summary>
/// The username used to query this crawler.
/// </summary>
[Required]
public string Username { get; set; }
/// <summary>
/// Error message of the crawler. If it's not null, current query is failed, and
/// <see cref="Submission"/> and <see cref="Solved"/> are all 0.
/// </summary>
[MaybeNull]
public string ErrorMessage { get; set; }
/// <summary>
/// Submission count.
/// </summary>
[Range(0, int.MaxValue)]
public int Submission { get; set; }
/// <summary>
/// Solved count.
/// </summary>
[Range(0, int.MaxValue)]
public int Solved { get; set; }
/// <summary>
/// The list of problem ids that user solved.
///
/// Can be null if crawler does not support it.
/// </summary>
[MaybeNull]
public string[] SolvedList { get; set; }
/// <summary>
/// Whether current crawler is virtual judge.
/// </summary>
public bool IsVirtualJudge { get; set; }
/// <summary>
/// If <see cref="IsVirtualJudge"/> is false, this field is null.
/// Otherwise, this field contains submissions count in each crawler.
/// </summary>
[MaybeNull]
public Dictionary<string, int> SubmissionsByCrawlerName { get; set; }
public void AddValidationErrors(CustomValidationContext context)
{
if (!string.IsNullOrEmpty(ErrorMessage))
{
if (SolvedList != null || SubmissionsByCrawlerName != null)
{
context.Results.Add(
new ValidationResult(
"These fields must be null when error message exists",
new[] { nameof(SolvedList), nameof(SubmissionsByCrawlerName) }));
}
return;
}
if (IsVirtualJudge)
{
if (SolvedList == null || SubmissionsByCrawlerName == null)
{
context.Results.Add(
new ValidationResult(
"These fields should not be null when crawler is virtual judge",
new[] { nameof(SolvedList), nameof(SubmissionsByCrawlerName) }));
}
}
else
{
if (SubmissionsByCrawlerName != null)
{
context.Results.Add(new ValidationResult(
"This field should bu null when crawler is not virtual judge",
new[] { nameof(SubmissionsByCrawlerName) }));
}
}
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/SaveOrReplaceQueryHistoryInput.cs
================================================
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
namespace AcmStatisticsBackend.Crawlers.Dto
{
[AutoMapTo(typeof(QueryHistory))]
public class SaveOrReplaceQueryHistoryInput
{
/// <summary>
/// Main username of query history, can be null or empty
/// </summary>
public string MainUsername { get; set; }
/// <summary>
/// Query history of each crawler.
/// </summary>
public ICollection<QueryWorkerHistoryDto> QueryWorkerHistories { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/SaveOrReplaceQueryHistoryOutput.cs
================================================
using System.ComponentModel.DataAnnotations;
namespace AcmStatisticsBackend.Crawlers.Dto
{
public class SaveOrReplaceQueryHistoryOutput
{
[Range(1, long.MaxValue)]
public long QueryHistoryId { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/UsernameInCrawlerDto.cs
================================================
using System.ComponentModel.DataAnnotations;
using AutoMapper;
namespace AcmStatisticsBackend.Crawlers.Dto
{
[AutoMap(typeof(UsernameInCrawler))]
public class UsernameInCrawlerDto
{
/// <summary>
/// Which crawler (virtual judge) the username is from.
///
/// If it is null or empty string, the username is from
/// its own crawler.
/// </summary>
public string FromCrawlerName { get; set; }
[Required]
public string Username { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/IDefaultQueryAppService.cs
================================================
using System.Threading.Tasks;
using Abp.Application.Services;
using AcmStatisticsBackend.Crawlers.Dto;
namespace AcmStatisticsBackend.Crawlers
{
/// <summary>
/// Manage user's default usernames which will be automatically entered in
/// statistics page.
/// </summary>
public interface IDefaultQueryAppService : IApplicationService
{
/// <summary>
/// Get user's default usernames which will be automatically entered in
/// statistics page.
/// </summary>
Task<DefaultQueryDto> GetDefaultQueries();
/// <summary>
/// Set user's default usernames which will be automatically entered in
/// statistics page.
/// </summary>
Task SetDefaultQueries(DefaultQueryDto dto);
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/IQueryHistoryAppService.cs
================================================
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using AcmStatisticsBackend.Crawlers.Dto;
namespace AcmStatisticsBackend.Crawlers
{
/// <summary>
/// Manage users' crawler query history
/// </summary>
public interface IQueryHistoryAppService : IApplicationService
{
/// <summary>
/// Save a crawler query history, does not validate data.
///
/// If there is another record in the same day, the old one is replaced.
/// </summary>
/// <returns>The new query history id</returns>
Task<SaveOrReplaceQueryHistoryOutput> SaveOrReplaceQueryHistory(SaveOrReplaceQueryHistoryInput input);
/// <summary>
/// Delete a query history
/// </summary>
Task DeleteQueryHistory(DeleteQueryHistoryInput input);
/// <summary>
/// Get a list of current user's query history, sorted from newest to oldest.
/// </summary>
Task<PagedResultDto<GetQueryHistoryOutput>> GetQueryHistories(PagedResultRequestDto input);
/// <summary>
/// Get all <see cref="QueryWorkerHistory"/> that belong to certain <see cref="QueryHistory"/>.
/// </summary>
Task<ListResultDto<QueryWorkerHistoryDto>> GetQueryWorkerHistories(GetAcWorkerHistoryInput input);
/// <summary>
/// Get query summary of certain query history
/// </summary>
/// <param name="input">input the id of query history</param>
Task<QuerySummaryDto> GetQuerySummary(GetQuerySummaryInput input);
/// <summary>
/// Get a list of current user's query history, sorted from newest to oldest.
/// The submission and solved number are also included.
/// </summary>
Task<PagedResultDto<GetQueryHistoryAndSummaryOutput>>
GetQueryHistoriesAndSummaries(PagedResultRequestDto input);
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/QueryHistoryAppService.cs
================================================
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Abp.Application.Services.Dto;
using Abp.Authorization;
using Abp.Domain.Repositories;
using Abp.Linq.Extensions;
using Abp.Timing;
using Abp.Timing.Timezone;
using Abp.UI;
using AcmStatisticsBackend.Authorization;
using AcmStatisticsBackend.Crawlers.Dto;
using AcmStatisticsBackend.ServiceClients;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace AcmStatisticsBackend.Crawlers
{
/// <inheritdoc cref="IQueryHistoryAppService"/>
[AbpAuthorize(PermissionNames.AcHistory_Histories)]
public class QueryHistoryAppService : AcmStatisticsBackendAppServiceBase, IQueryHistoryAppService
{
private readonly IRepository<QueryHistory, long> _acHistoryRepository;
private readonly IRepository<QueryWorkerHistory, long> _acWorkerHistoryRepository;
private readonly IRepository<QuerySummary, long> _querySummaryRepository;
private readonly IRepository<QueryCrawlerSummary, long> _queryCrawlerSummaryRepository;
private readonly IClockProvider _clockProvider;
private readonly ITimeZoneConverter _timeZoneConverter;
private readonly ICrawlerApiBackendClient _crawlerApiBackendClient;
private readonly SummaryGenerator _summaryGenerator;
public QueryHistoryAppService(
IRepository<QueryHistory, long> acHistoryRepository,
IRepository<QueryWorkerHistory, long> acWorkerHistoryRepository,
IClockProvider clockProvider,
ITimeZoneConverter timeZoneConverter,
ICrawlerApiBackendClient crawlerApiBackendClient,
IRepository<QuerySummary, long> querySummaryRepository,
IRepository<QueryCrawlerSummary, long> queryCrawlerSummaryRepository,
SummaryGenerator summaryGenerator)
{
_acHistoryRepository = acHistoryRepository;
_acWorkerHistoryRepository = acWorkerHistoryRepository;
_clockProvider = clockProvider;
_timeZoneConverter = timeZoneConverter;
_crawlerApiBackendClient = crawlerApiBackendClient;
_querySummaryRepository = querySummaryRepository;
_queryCrawlerSummaryRepository = queryCrawlerSummaryRepository;
_summaryGenerator = summaryGenerator;
}
/// <inheritdoc cref="IQueryHistoryAppService.SaveOrReplaceQueryHistory"/>
public async Task<SaveOrReplaceQueryHistoryOutput> SaveOrReplaceQueryHistory(
SaveOrReplaceQueryHistoryInput input)
{
// 添加新记录
var acHistory = ObjectMapper.Map<QueryHistory>(input);
// AutoMapper will change empty array to null. The code below is used to restore them
foreach (var (entity, dto) in acHistory.QueryWorkerHistories.Zip(input.QueryWorkerHistories))
{
if (dto.SolvedList == null)
{
entity.SolvedList = null;
}
if (dto.SubmissionsByCrawlerName == null)
{
entity.SubmissionsByCrawlerName = null;
}
}
Debug.Assert(AbpSession.UserId != null, "AbpSession.UserId != null");
acHistory.UserId = AbpSession.UserId.Value;
acHistory.CreationTime = _clockProvider.Now;
acHistory.IsReliableSource = false;
var crawlerMeta = await _crawlerApiBackendClient.GetCrawlerMeta();
var querySummary = _summaryGenerator.Generate(
crawlerMeta,
acHistory.QueryWorkerHistories.AsReadOnly());
await RemoveLatestHistoryTheSameDayOf(acHistory.CreationTime);
var historyId = await _acHistoryRepository.InsertAndGetIdAsync(acHistory);
querySummary.QueryHistoryId = historyId;
await _querySummaryRepository.InsertAsync(querySummary);
return new SaveOrReplaceQueryHistoryOutput
{
QueryHistoryId = historyId,
};
}
private async Task RemoveLatestHistoryTheSameDayOf(DateTime day)
{
var latestItem = await _acHistoryRepository.GetAll()
.Where(e => e.UserId == AbpSession.UserId.Value)
.OrderByDescending(e => e.CreationTime)
.FirstOrDefaultAsync();
if (latestItem != null)
{
Debug.Assert(AbpSession.UserId != null, "AbpSession.UserId != null");
var currentLocalTime = _timeZoneConverter.Convert(
day, AbpSession.TenantId, AbpSession.UserId.Value);
var latestItemCreationTimeLocal = _timeZoneConverter.Convert(
latestItem.CreationTime, AbpSession.TenantId, AbpSession.UserId.Value);
Debug.Assert(currentLocalTime != null, nameof(currentLocalTime) + " != null");
Debug.Assert(latestItemCreationTimeLocal != null, nameof(latestItemCreationTimeLocal) + " != null");
if (latestItemCreationTimeLocal.Value.Date == currentLocalTime.Value.Date)
{
await DoDeleteHistory(latestItem);
}
}
}
/// <inheritdoc cref="IQueryHistoryAppService.DeleteQueryHistory"/>
[HttpPost]
public async Task DeleteQueryHistory(DeleteQueryHistoryInput input)
{
if (input.Id.HasValue)
{
var entity = await GetAuthorizedEntity(input.Id.Value);
await DoDeleteHistory(entity);
}
if (input.Ids != null)
{
foreach (var id in input.Ids)
{
var entity = await GetAuthorizedEntity(id);
await DoDeleteHistory(entity);
}
}
}
/// <inheritdoc cref="IQueryHistoryAppService.GetQueryHistories"/>
public async Task<PagedResultDto<GetQueryHistoryOutput>> GetQueryHistories(PagedResultRequestDto input)
{
var list = await QueryHistoriesOfCurrentUser()
.OrderByDescending(e => e.CreationTime)
.PageBy(input)
.ToListAsync();
var count = await QueryHistoriesOfCurrentUser().CountAsync();
var resultList = ObjectMapper.Map<List<GetQueryHistoryOutput>>(list);
return new PagedResultDto<GetQueryHistoryOutput>(count, resultList);
}
private IQueryable<QueryHistory> QueryHistoriesOfCurrentUser()
{
return _acHistoryRepository.GetAll()
.Where(e => e.UserId == AbpSession.UserId.Value);
}
/// <inheritdoc cref="IQueryHistoryAppService.GetQueryWorkerHistories"/>
public async Task<ListResultDto<QueryWorkerHistoryDto>> GetQueryWorkerHistories(GetAcWorkerHistoryInput input)
{
var queryHistory = await GetAuthorizedEntity(input.QueryHistoryId);
var entityList = await _acWorkerHistoryRepository.GetAll()
.Where(e => e.QueryHistoryId == queryHistory.Id)
.ToListAsync();
var list = ObjectMapper.Map<List<QueryWorkerHistoryDto>>(entityList);
// AutoMapper will change empty array to null. The code below is used to restore them
foreach (var (dto, entity) in list.Zip(entityList))
{
if (entity.SolvedList == null)
{
dto.SolvedList = null;
}
if (entity.SubmissionsByCrawlerName == null)
{
dto.SubmissionsByCrawlerName = null;
}
}
return new ListResultDto<QueryWorkerHistoryDto>(list);
}
/// <inheritdoc cref="IQueryHistoryAppService.GetQuerySummary" />
public async Task<QuerySummaryDto> GetQuerySummary(GetQuerySummaryInput input)
{
var history = await GetAuthorizedEntity(input.QueryHistoryId);
var summary = await _querySummaryRepository.FirstOrDefaultAsync(
e => e.QueryHistoryId == history.Id);
if (summary == null)
{
throw new UserFriendlyException("This query history does not have summary");
}
var queryCrawlerSummary = await _queryCrawlerSummaryRepository.GetAllIncluding(
e => e.Usernames)
.Where(e => e.QuerySummaryId == summary.Id)
.ToListAsync();
var querySummaryDto = ObjectMapper.Map<QuerySummaryDto>(summary);
querySummaryDto.QueryCrawlerSummaries =
ObjectMapper.Map<ICollection<QueryCrawlerSummaryDto>>(queryCrawlerSummary);
querySummaryDto.MainUsername = history.MainUsername;
return querySummaryDto;
}
/// <inheritdoc cref="IQueryHistoryAppService.GetQueryHistoriesAndSummaries" />
public async Task<PagedResultDto<GetQueryHistoryAndSummaryOutput>> GetQueryHistoriesAndSummaries(
PagedResultRequestDto input)
{
var list = await
(from h in QueryHistoriesOfCurrentUser()
.OrderByDescending(e => e.CreationTime)
.PageBy(input)
join s in _querySummaryRepository.GetAll()
on h.Id equals s.Id into grouping
from s in grouping.DefaultIfEmpty()
select new GetQueryHistoryAndSummaryOutput
{
HistoryId = h.Id,
SummaryId = s.Id,
CreationTime = h.CreationTime,
Solved = s.Solved == 0 && s.Submission == 0 ? null : s.Solved,
Submission = s.Solved == 0 && s.Submission == 0 ? null : s.Submission,
}).ToListAsync();
var count = await QueryHistoriesOfCurrentUser().CountAsync();
return new PagedResultDto<GetQueryHistoryAndSummaryOutput>(count, list);
}
/// <summary>
/// 根据ID获取对象,并检查权限。
/// </summary>
/// <param name="id">AcHistory的ID</param>
/// <returns>AcHistory</returns>
/// <exception cref="AbpAuthorizationException">如果该对象不是由此用户创建,抛出异常</exception>
private async Task<QueryHistory> GetAuthorizedEntity(long id)
{
var acHistory = await _acHistoryRepository.GetAsync(id);
if (acHistory.UserId != AbpSession.UserId)
{
throw new AbpAuthorizationException("You do not have permissions to visit the entity.");
}
return acHistory;
}
/// <summary>
/// 移除 AcHistory 和与其关联的 AcWorkerHistory,不检查用户是否有权限访问这个Entity
/// </summary>
private async Task DoDeleteHistory(QueryHistory entity)
{
await _acHistoryRepository.DeleteAsync(entity);
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Net/MimeTypes/MimeTypeNames.cs
================================================
using System;
namespace AcmStatisticsBackend.Net.MimeTypes
{
/* Copied from:
* http://stackoverflow.com/questions/10362140/asp-mvc-are-there-any-constants-for-the-default-content-types */
/// <summary>
/// Common mime types.
/// </summary>
public static class MimeTypeNames
{
/// <summary>Used to denote the encoding necessary for files containing JavaScript source code. The alternative MIME type for this file type is text/javascript.</summary>
public const string ApplicationXJavascript = "application/x-javascript";
/// <summary>24bit Linear PCM audio at 8-48kHz, 1-N channels; Defined in RFC 3190.</summary>
public const string AudioL24 = "audio/L24";
/// <summary>Adobe Flash files for example with the extension .swf.</summary>
public const string ApplicationXShockwaveFlash = "application/x-shockwave-flash";
/// <summary>Arbitrary binary data.[5] Generally speaking this type identifies files that are not associated with a specific application. Contrary to past assumptions by software packages such as Apache this is not a type that should be applied to unknown files. In such a case, a server or application should not indicate a content type, as it may be incorrect, but rather, should omit the type in order to allow the recipient to guess the type.[6].</summary>
public const string ApplicationOctetStream = "application/octet-stream";
/// <summary>Atom feeds.</summary>
public const string ApplicationAtomXml = "application/atom+xml";
/// <summary>Cascading Style Sheets; Defined in RFC 2318.</summary>
public const string TextCss = "text/css";
/// <summary>commands; subtype resident in Gecko browsers like Firefox 3.5.</summary>
public const string TextCmd = "text/cmd";
/// <summary>Comma-separated values; Defined in RFC 4180.</summary>
public const string TextCsv = "text/csv";
/// <summary>deb (file format), a software package format used by the Debian project.</summary>
public const string ApplicationXDeb = "application/x-deb";
/// <summary>Defined in RFC 1847.</summary>
public const string MultipartEncrypted = "multipart/encrypted";
/// <summary>Defined in RFC 1847.</summary>
public const string MultipartSigned = "multipart/signed";
/// <summary>Defined in RFC 2616.</summary>
public const string MessageHttp = "message/http";
/// <summary>Defined in RFC 4735.</summary>
public const string ModelExample = "model/example";
/// <summary>device-independent document in DVI format.</summary>
public const string ApplicationXDvi = "application/x-dvi";
/// <summary>DTD files; Defined by RFC 3023.</summary>
public const string ApplicationXmlDtd = "application/xml-dtd";
/// <summary>ECMAScript/JavaScript; Defined in RFC 4329 (equivalent to application/ecmascript but with looser processing rules) It is not accepted in IE 8 or earlier - text/javascript is accepted but it is defined as obsolete in RFC 4329. The "type" attribute of the. <script> tag in HTML5 is optional and in practice omitting the media type of JavaScript programs is the most interoperable solution since all browsers have always assumed the correct default even before HTML5.</summary>
public const string ApplicationJavascript = "application/javascript";
/// <summary>ECMAScript/JavaScript; Defined in RFC 4329 (equivalent to application/javascript but with stricter processing rules).</summary>
public const string ApplicationEcmascript = "application/ecmascript";
/// <summary>EDI EDIFACT data; Defined in RFC 1767.</summary>
public const string ApplicationEdifact = "application/EDIFACT";
/// <summary>EDI X12 data; Defined in RFC 1767.</summary>
public const string ApplicationEdiX12 = "application/EDI-X12";
/// <summary>Email; Defined in RFC 2045 and RFC 2046.</summary>
public const string MessagePartial = "message/partial";
/// <summary>Email; EML files, MIME files, MHT files, MHTML files; Defined in RFC 2045 and RFC 2046.</summary>
public const string MessageRfc822 = "message/rfc822";
/// <summary>Extensible Markup Language; Defined in RFC 3023.</summary>
public const string TextXml = "text/xml";
/// <summary>Flash video (FLV files).</summary>
public const string VideoXFlv = "video/x-flv";
/// <summary>GIF image; Defined in RFC 2045 and RFC 2046.</summary>
public const string ImageGif = "image/gif";
/// <summary>GoogleWebToolkit data.</summary>
public const string TextXGwtRpc = "text/x-gwt-rpc";
/// <summary>Gzip.</summary>
public const string ApplicationXGzip = "application/x-gzip";
/// <summary>HTML; Defined in RFC 2854.</summary>
public const string TextHtml = "text/html";
/// <summary>ICO image; Registered[9].</summary>
public const string ImageVndMicrosoftIcon = "image/vnd.microsoft.icon";
/// <summary>IGS files, IGES files; Defined in RFC 2077.</summary>
public const string ModelIges = "model/iges";
/// <summary>IMDN Instant Message Disposition Notification; Defined in RFC 5438.</summary>
public const string MessageImdnXml = "message/imdn+xml";
/// <summary>JavaScript Object Notation JSON; Defined in RFC 4627.</summary>
public const string ApplicationJson = "application/json";
/// <summary>JavaScript Object Notation (JSON) Patch; Defined in RFC 6902.</summary>
public const string ApplicationJsonPatch = "application/json-patch+json";
/// <summary>JavaScript - Defined in and obsoleted by RFC 4329 in order to discourage its usage in favor of application/javascript. However,text/javascript is allowed in HTML 4 and 5 and, unlike application/javascript, has cross-browser support. The "type" attribute of the. <script> tag in HTML5 is optional and there is no need to use it at all since all browsers have always assumed the correct default (even in HTML 4 where it was required by the specification).</summary>
[Obsolete]
public const string TextJavascript = "text/javascript";
/// <summary>JPEG JFIF image; Associated with Internet Explorer; Listed in ms775147(v=vs.85) - Progressive JPEG, initiated before global browser support for progressive JPEGs (Microsoft and Firefox).</summary>
public const string ImagePjpeg = "image/pjpeg";
/// <summary>JPEG JFIF image; Defined in RFC 2045 and RFC 2046.</summary>
public const string ImageJpeg = "image/jpeg";
/// <summary>jQuery template data.</summary>
public const string TextXJqueryTmpl = "text/x-jquery-tmpl";
/// <summary>KML files (e.g. for Google Earth).</summary>
public const string ApplicationVndGoogleEarthKmlXml = "application/vnd.google-earth.kml+xml";
/// <summary>LaTeX files.</summary>
public const string ApplicationXLatex = "application/x-latex";
/// <summary>Matroska open media format.</summary>
public const string VideoXMatroska = "video/x-matroska";
/// <summary>Microsoft Excel 2007 files.</summary>
public const string ApplicationVndOpenxmlformatsOfficedocumentSpreadsheetmlSheet = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
/// <summary>Microsoft Excel files.</summary>
public const string ApplicationVndMsExcel = "application/vnd.ms-excel";
/// <summary>Microsoft Powerpoint 2007 files.</summary>
public const string ApplicationVndOpenxmlformatsOfficedocumentPresentationmlPresentation = "application/vnd.openxmlformats-officedocument.presentationml.presentation";
/// <summary>Microsoft Powerpoint files.</summary>
public const string ApplicationVndMsPowerpoint = "application/vnd.ms-powerpoint";
/// <summary>Microsoft Word 2007 files.</summary>
public const string ApplicationVndOpenxmlformatsOfficedocumentWordprocessingmlDocument = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
/// <summary>Microsoft Word files[15].</summary>
public const string ApplicationMsword = "application/msword";
/// <summary>MIME Email; Defined in RFC 2045 and RFC 2046.</summary>
public const string MultipartAlternative = "multipart/alternative";
/// <summary>MIME Email; Defined in RFC 2045 and RFC 2046.</summary>
public const string MultipartMixed = "multipart/mixed";
/// <summary>MIME Email; Defined in RFC 2387 and used by MHTML (HTML mail).</summary>
public const string MultipartRelated = "multipart/related";
/// <summary>MIME Webform; Defined in RFC 2388.</summary>
public const string MultipartFormData = "multipart/form-data";
/// <summary>Mozilla XUL files.</summary>
public const string ApplicationVndMozillaXulXml = "application/vnd.mozilla.xul+xml";
/// <summary>MP3 or other MPEG audio; Defined in RFC 3003.</summary>
public const string AudioMpeg = "audio/mpeg";
/// <summary>MP4 audio.</summary>
public const string AudioMp4 = "audio/mp4";
/// <summary>MP4 video; Defined in RFC 4337.</summary>
public const string VideoMp4 = "video/mp4";
/// <summary>MPEG-1 video with multiplexed audio; Defined in RFC 2045 and RFC 2046.</summary>
public const string VideoMpeg = "video/mpeg";
/// <summary>MSH files, MESH files; Defined in RFC 2077, SILO files.</summary>
public const string ModelMesh = "model/mesh";
/// <summary>mulaw audio at 8 kHz, 1 channel; Defined in RFC 2046.</summary>
public const string AudioBasic = "audio/basic";
/// <summary>Ogg Theora or other video (with audio); Defined in RFC 5334.</summary>
public const string VideoOgg = "video/ogg";
/// <summary>Ogg Vorbis, Speex, Flac and other audio; Defined in RFC 5334.</summary>
public const string AudioOgg = "audio/ogg";
/// <summary>Ogg, a multimedia bitstream container format; Defined in RFC 5334.</summary>
public const string ApplicationOgg = "application/ogg";
/// <summary>OP.</summary>
public const string ApplicationXopXml = "application/xop+xml";
/// <summary>OpenDocument Graphics; Registered[14].</summary>
public const string ApplicationVndOasisOpendocumentGraphics = "application/vnd.oasis.opendocument.graphics";
/// <summary>OpenDocument Presentation; Registered[13].</summary>
public const string ApplicationVndOasisOpendocumentPresentation = "application/vnd.oasis.opendocument.presentation";
/// <summary>OpenDocument Spreadsheet; Registered[12].</summary>
public const string ApplicationVndOasisOpendocumentSpreadsheet = "application/vnd.oasis.opendocument.spreadsheet";
/// <summary>OpenDocument Text; Registered[11].</summary>
public const string ApplicationVndOasisOpendocumentText = "application/vnd.oasis.opendocument.text";
/// <summary>p12 files.</summary>
public const string ApplicationXPkcs12 = "application/x-pkcs12";
/// <summary>p7b and spc files.</summary>
public const string ApplicationXPkcs7Certificates = "application/x-pkcs7-certificates";
/// <summary>p7c files.</summary>
public const string ApplicationXPkcs7Mime = "application/x-pkcs7-mime";
/// <summary>p7r files.</summary>
public const string ApplicationXPkcs7Certreqresp = "application/x-pkcs7-certreqresp";
/// <summary>p7s files.</summary>
public const string ApplicationXPkcs7Signature = "application/x-pkcs7-signature";
/// <summary>Portable Document Format, PDF has been in use for document exchange on the Internet since 1993; Defined in RFC 3778.</summary>
public const string ApplicationPdf = "application/pdf";
/// <summary>Portable Network Graphics; Registered,[8] Defined in RFC 2083.</summary>
public const string ImagePng = "image/png";
/// <summary>PostScript; Defined in RFC 2046.</summary>
public const string ApplicationPostscript = "application/postscript";
/// <summary>QuickTime video; Registered[10].</summary>
public const string VideoQuicktime = "video/quicktime";
/// <summary>RAR archive files.</summary>
public const string ApplicationXRarCompressed = "application/x-rar-compressed";
/// <summary>RealAudio; Documented in RealPlayer Customer Support Answer 2559.</summary>
public const string AudioVndRnRealaudio = "audio/vnd.rn-realaudio";
/// <summary>Resource Description Framework; Defined by RFC 3870.</summary>
public const string ApplicationRdfXml = "application/rdf+xml";
/// <summary>RSS feeds.</summary>
public const string ApplicationRssXml = "application/rss+xml";
/// <summary>SOAP; Defined by RFC 3902.</summary>
public const string ApplicationSoapXml = "application/soap+xml";
/// <summary>StuffIt archive files.</summary>
public const string ApplicationXStuffit = "application/x-stuffit";
/// <summary>SVG vector image; Defined in SVG Tiny 1.2 Specification Appendix M.</summary>
public const string ImageSvgXml = "image/svg+xml";
/// <summary>Tag Image File Format (only for Baseline TIFF); Defined in RFC 3302.</summary>
public const string ImageTiff = "image/tiff";
/// <summary>Tarball files.</summary>
public const string ApplicationXTar = "application/x-tar";
/// <summary>Textual data; Defined in RFC 2046 and RFC 3676.</summary>
public const string TextPlain = "text/plain";
/// <summary>TrueType Font No registered MIME type, but this is the most commonly used.</summary>
public const string ApplicationXFontTtf = "application/x-font-ttf";
/// <summary>vCard (contact information); Defined in RFC 6350.</summary>
public const string TextVcard = "text/vcard";
/// <summary>Vorbis encoded audio; Defined in RFC 5215.</summary>
public const string AudioVorbis = "audio/vorbis";
/// <summary>WAV audio; Defined in RFC 2361.</summary>
public const string AudioVndWave = "audio/vnd.wave";
/// <summary>Web Open Font Format; (candidate recommendation; use application/x-font-woff until standard is official).</summary>
public const string ApplicationFontWoff = "application/font-woff";
/// <summary>WebM Matroska-based open media format.</summary>
public const string VideoWebm = "video/webm";
/// <summary>WebM open media format.</summary>
public const string AudioWebm = "audio/webm";
/// <summary>Windows Media Audio Redirector; Documented in Microsoft help page.</summary>
public const string AudioXMsWax = "audio/x-ms-wax";
/// <summary>Windows Media Audio; Documented in Microsoft KB 288102.</summary>
public const string AudioXMsWma = "audio/x-ms-wma";
/// <summary>Windows Media Video; Documented in Microsoft KB 288102.</summary>
public const string VideoXMsWmv = "video/x-ms-wmv";
/// <summary>WRL files, VRML files; Defined in RFC 2077.</summary>
public const string ModelVrml = "model/vrml";
/// <summary>X3D ISO standard for representing 3D computer graphics, X3D XML files.</summary>
public const string ModelX3DXml = "model/x3d+xml";
/// <summary>X3D ISO standard for representing 3D computer graphics, X3DB binary files.</summary>
public const string ModelX3DBinary = "model/x3d+binary";
/// <summary>X3D ISO standard for representing 3D computer graphics, X3DV VRML files.</summary>
public const string ModelX3DVrml = "model/x3d+vrml";
/// <summary>XHTML; Defined by RFC 3236.</summary>
public const string ApplicationXhtmlXml = "application/xhtml+xml";
/// <summary>ZIP archive files; Registered[7].</summary>
public const string ApplicationZip = "application/zip";
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Properties/AssemblyInfo.cs
================================================
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("AcmStatisticsBackend.Application")]
[assembly: AssemblyTrademark("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("3870c648-4aea-4b85-ba3f-f2f63b96136a")]
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/Dto/ApplicationInfoDto.cs
================================================
using System;
using System.Collections.Generic;
namespace AcmStatisticsBackend.Sessions.Dto
{
public class ApplicationInfoDto
{
public string Version { get; set; }
public DateTime ReleaseDate { get; set; }
public Dictionary<string, bool> Features { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/Dto/GetCurrentLoginInformationsOutput.cs
================================================
namespace AcmStatisticsBackend.Sessions.Dto
{
public class GetCurrentLoginInformationsOutput
{
public ApplicationInfoDto Application { get; set; }
public UserLoginInfoDto User { get; set; }
public TenantLoginInfoDto Tenant { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/Dto/TenantLoginInfoDto.cs
================================================
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using AcmStatisticsBackend.MultiTenancy;
namespace AcmStatisticsBackend.Sessions.Dto
{
[AutoMapFrom(typeof(Tenant))]
public class TenantLoginInfoDto : EntityDto
{
public string TenancyName { get; set; }
public string Name { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/Dto/UserLoginInfoDto.cs
================================================
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using AcmStatisticsBackend.Authorization.Users;
namespace AcmStatisticsBackend.Sessions.Dto
{
[AutoMapFrom(typeof(User))]
public class UserLoginInfoDto : EntityDto<long>
{
public string Name { get; set; }
public string Surname { get; set; }
public string UserName { get; set; }
public string EmailAddress { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/ISessionAppService.cs
================================================
using System.Threading.Tasks;
using Abp.Application.Services;
using AcmStatisticsBackend.Sessions.Dto;
namespace AcmStatisticsBackend.Sessions
{
public interface ISessionAppService : IApplicationService
{
Task<GetCurrentLoginInformationsOutput> GetCurrentLoginInformations();
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/SessionAppService.cs
================================================
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Auditing;
using AcmStatisticsBackend.Sessions.Dto;
namespace AcmStatisticsBackend.Sessions
{
public class SessionAppService : AcmStatisticsBackendAppServiceBase, ISessionAppService
{
[DisableAuditing]
public async Task<GetCurrentLoginInformationsOutput> GetCurrentLoginInformations()
{
var output = new GetCurrentLoginInformationsOutput
{
Application = new ApplicationInfoDto
{
Version = AppVersionHelper.Version,
ReleaseDate = AppVersionHelper.ReleaseDate,
Features = new Dictionary<string, bool>(),
},
};
if (AbpSession.TenantId.HasValue)
{
output.Tenant = ObjectMapper.Map<TenantLoginInfoDto>(await GetCurrentTenantAsync());
}
if (AbpSession.UserId.HasValue)
{
output.User = ObjectMapper.Map<UserLoginInfoDto>(await GetCurrentUserAsync());
}
return output;
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Settings/Dto/UpdateAutoSaveHistoryInput.cs
================================================
namespace AcmStatisticsBackend.Settings.Dto
{
public class UpdateAutoSaveHistoryInput
{
public bool AutoSaveHistory { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Settings/Dto/UserSettingsConfigDto.cs
================================================
using System.Collections.Generic;
namespace AcmStatisticsBackend.Settings.Dto
{
public class UserSettingsConfigDto
{
public IDictionary<string, string> Values { get; set; }
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Settings/Dto/UserTimeZoneDto.cs
================================================
using System.ComponentModel.DataAnnotations;
using System.Linq;
using Abp.Runtime.Validation;
using TimeZoneConverter;
namespace AcmStatisticsBackend.Settings.Dto
{
public class UserTimeZoneDto : ICustomValidate
{
/// <summary>
/// Time zone of the user. It is a windows time zone name.
/// See <see href="https://support.microsoft.com/en-au/help/973627/microsoft-time-zone-index-values" />
/// for all possible values.
/// </summary>
[Required]
public string TimeZone { get; set; }
public void AddValidationErrors(CustomValidationContext context)
{
if (!TZConvert.KnownWindowsTimeZoneIds.Contains(TimeZone))
{
context.Results.Add(new ValidationResult("TimeZone must be valid!"));
}
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Settings/IUserConfigAppService.cs
================================================
using System.Threading.Tasks;
using AcmStatisticsBackend.Settings.Dto;
namespace AcmStatisticsBackend.Settings
{
/// <summary>
/// Manage user config
/// </summary>
public interface IUserConfigAppService
{
/// <summary>
/// Get all user settings available to frontend
/// </summary>
Task<UserSettingsConfigDto> GetUserSettings();
/// <summary>
/// Update config about whether the history should be auto-saved
/// </summary>
Task UpdateAutoSaveHistory(UpdateAutoSaveHistoryInput input);
/// <summary>
/// Set time zone of current user.
/// </summary>
Task SetUserTimeZone(UserTimeZoneDto dto);
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Application/Settings/UserConfigAppService.cs
================================================
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Authorization;
using Abp.Configuration;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Runtime.Session;
using Abp.Timing;
using Abp.UI;
using AcmStatisticsBackend.Authorization;
using AcmStatisticsBackend.Configuration;
using AcmStatisticsBackend.Settings.Dto;
namespace AcmStatisticsBackend.Settings
{
/// <inheritdoc cref="IUserConfigAppService"/>
[AbpAuthorize]
public class UserConfigAppService : AcmStatisticsBackendAppServiceBase, IUserConfigAppService
{
private readonly ISettingDefinitionManager _settingDefinitionManager;
private readonly IIocResolver _iocResolver;
private readonly IClockProvider _clockProvider;
private readonly IRepository<UserSettingAttribute, long> _userSettingAttributeRepository;
public UserConfigAppService(ISettingDefinitionManager settingDefinitionManager, IIocResolver iocResolver, IClockProvider clockProvider, IRepository<UserSettingAttribute, long> userSettingAttributeRepository)
{
_settingDefinitionManager = settingDefinitionManager;
_iocResolver = iocResolver;
_clockProvider = clockProvider;
_userSettingAttributeRepository = userSettingAttributeRepository;
}
/// <inheritdoc cref="IUserConfigAppService.GetUserSettings"/>
public async Task<UserSettingsConfigDto> GetUserSettings()
{
var config = new UserSettingsConfigDto
{
Values = new Dictionary<string, string>(),
};
var settings = await SettingManager.GetAllSettingValuesAsync(SettingScopes.All);
using var scope = _iocResolver.CreateScope();
foreach (var settingValue in settings)
{
if (!await _settingDefinitionManager.GetSettingDefinition(settingValue.Name)
.ClientVisibilityProvider
.CheckVisible(scope))
{
continue;
}
config.Values.Add(settingValue.Name, settingValue.Value);
}
return config;
}
/// <inheritdoc/>
[AbpAuthorize(PermissionNames.Settings_Update)]
public async Task UpdateAutoSaveHistory(UpdateAutoSaveHistoryInput input)
{
await SettingManager.ChangeSettingForUserAsync(
AbpSession.ToUserIdentifier(),
AppSettingNames.AutoSaveHistory,
input.AutoSaveHistory ? "true" : "false");
}
/// <inheritdoc />
[AbpAuthorize(PermissionNames.Settings_Update)]
public async Task SetUserTimeZone(UserTimeZoneDto dto)
{
var settings = await GetOrCreateUserSettingAttribute();
if (settings.LastTimeZoneChangedTime.HasValue
&& settings.LastTimeZoneChangedTime.Value.AddDays(1) > _clockProvider.Now)
{
throw new UserFriendlyException("Please wait 24 hours to set time zone again!");
}
await SettingManager.ChangeSettingForUserAsync(
AbpSession.ToUserIdentifier(),
TimingSettingNames.TimeZone,
dto.TimeZone);
settings.LastTimeZoneChangedTime = _clockProvider.Now;
}
private async Task<UserSettingAttribute> GetOrCreateUserSettingAttribute()
{
return await _userSettingAttributeRepository.FirstOrDefaultAsync(
item => item.UserId == AbpSession.UserId.Value)
??
await _userSettingAttributeRepository.InsertAsync(
new UserSettingAttribute
{
UserId = AbpSession.GetUserId(),
});
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/AcmStatisticsBackend.Core.csproj
================================================
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<VersionPrefix>1.0.0.0</VersionPrefix>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>AcmStatisticsBackend.Core</AssemblyName>
<PackageId>AcmStatisticsBackend.Core</PackageId>
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<UserSecretsId>AbpCompanyName-AcmStatisticsBackend-56C2EF2F-ABD6-4EFC-AAF2-2E81C34E8FB1</UserSecretsId>
<RootNamespace>AcmStatisticsBackend</RootNamespace>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="Localization\SourceFiles\*.xml" Exclude="bin\**;obj\**;**\*.xproj;packages\**;@(EmbeddedResource)" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Abp.AutoMapper" Version="8.4.0" />
<PackageReference Include="Abp.ZeroCore.EntityFrameworkCore" Version="8.4.0" />
<PackageReference Include="Castle.Windsor.MsDependencyInjection" Version="4.1.0" />
<PackageReference Include="Flurl.Http" Version="4.0.2" />
</ItemGroup>
</Project>
================================================
FILE: backend/src/AcmStatisticsBackend.Core/AcmStatisticsBackendConsts.cs
================================================
namespace AcmStatisticsBackend
{
public class AcmStatisticsBackendConsts
{
public const string LocalizationSourceName = "AcmStatisticsBackend";
public const string ConnectionStringName = "Default";
public const bool MultiTenancyEnabled = false;
/// <summary>
/// 用户没有输入邮箱时,使用这个后缀作为邮箱名
/// </summary>
public const string NoEmailSuffix = "@noemail.fake";
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/AcmStatisticsBackendCoreModule.cs
================================================
using Abp.Dependency;
using Abp.Modules;
using Abp.Reflection.Extensions;
using Abp.Timing;
using Abp.Zero;
using Abp.Zero.Configuration;
using AcmStatisticsBackend.Authorization.Roles;
using AcmStatisticsBackend.Authorization.Users;
using AcmStatisticsBackend.Configuration;
using AcmStatisticsBackend.Localization;
using AcmStatisticsBackend.MultiTenancy;
using AcmStatisticsBackend.Timing;
using Castle.MicroKernel.Registration;
namespace AcmStatisticsBackend
{
[DependsOn(typeof(AbpZeroCoreModule))]
public class AcmStatisticsBackendCoreModule : AbpModule
{
public override void PreInitialize()
{
Clock.Provider = ClockProviders.Utc;
IocManager.IocContainer.Register(
Component.For<IClockProvider>()
.Instance(ClockProviders.Utc)
.LifestyleSingleton());
Configuration.Auditing.IsEnabledForAnonymousUsers = true;
// Declare entity types
Configuration.Modules.Zero().EntityTypes.Tenant = typeof(Tenant);
Configuration.Modules.Zero().EntityTypes.Role = typeof(Role);
Configuration.Modules.Zero().EntityTypes.User = typeof(User);
AcmStatisticsBackendLocalizationConfigurer.Configure(Configuration.Localization);
// Enable this line to create a multi-tenant application.
Configuration.MultiTenancy.IsEnabled = AcmStatisticsBackendConsts.MultiTenancyEnabled;
// Configure roles
AppRoleConfig.Configure(Configuration.Modules.Zero().RoleManagement);
Configuration.Settings.Providers.Add<AppSettingProvider>();
}
public override void Initialize()
{
IocManager.RegisterAssemblyByConvention(typeof(AcmStatisticsBackendCoreModule).GetAssembly());
}
public override void PostInitialize()
{
IocManager.Resolve<AppTimes>().StartupTime = Clock.Now;
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/AcmStatisticsBackendExtensions.cs
================================================
using System;
using System.Collections;
using System.Collections.Generic;
namespace AcmStatisticsBackend
{
public static class AcmStatisticsBackendExtensions
{
#pragma warning disable SA1618
/// <summary>
/// 用法:
/// <code>
/// Get().A().Object().WithIn(it => {
/// it.methodA();
/// it.methodB();
/// })
/// </code>
/// </summary>
public static TR WithIn<TT, TR>(this TT obj, Func<TT, TR> func)
where TT : class
{
return func(obj);
}
#pragma warning restore SA1618
public static TR WithIn<TT, TR>(this ref TT obj, Func<TT, TR> func)
where TT : struct
{
return func(obj);
}
public static void WithIn<T>(this T obj, Action<T> action)
where T : class
{
action(obj);
}
public static void WithIn<T>(this ref T obj, Action<T> action)
where T : struct
{
action(obj);
}
// from https://stackoverflow.com/a/47815787
public static void Deconstruct<T>(this T[] items, out T t0)
{
t0 = items.Length > 0 ? items[0] : default;
}
public static void Deconstruct<T>(this T[] items, out T t0, out T t1)
{
t0 = items.Length > 0 ? items[0] : default;
t1 = items.Length > 1 ? items[1] : default;
}
// from https://stackoverflow.com/a/34362585
public static IReadOnlyCollection<T> AsReadOnly<T>(this ICollection<T> source)
{
if (source == null)
{
throw new ArgumentNullException("source");
}
return source as IReadOnlyCollection<T> ?? new ReadOnlyCollectionAdapter<T>(source);
}
private sealed class ReadOnlyCollectionAdapter<T> : IReadOnlyCollection<T>
{
private readonly ICollection<T> _source;
public ReadOnlyCollectionAdapter(ICollection<T> source) => this._source = source;
public int Count => _source.Count;
public IEnumerator<T> GetEnumerator() => _source.GetEnumerator();
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/AppVersionHelper.cs
================================================
using System;
using System.IO;
using Abp.Reflection.Extensions;
namespace AcmStatisticsBackend
{
/// <summary>
/// Central point for application version.
/// </summary>
public class AppVersionHelper
{
/// <summary>
/// Gets current version of the application.
/// It's also shown in the web page.
/// </summary>
public const string Version = "5.1.0.0";
/// <summary>
/// Gets release (last build) date of the application.
/// It's shown in the web page.
/// </summary>
public static DateTime ReleaseDate => LzyReleaseDate.Value;
private static readonly Lazy<DateTime> LzyReleaseDate = new Lazy<DateTime>(() => new FileInfo(typeof(AppVersionHelper).GetAssembly().Location).LastWriteTime);
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/AcmStatisticsBackendAuthorizationProvider.cs
================================================
using Abp.Authorization;
using Abp.Localization;
using Abp.MultiTenancy;
namespace AcmStatisticsBackend.Authorization
{
public class AcmStatisticsBackendAuthorizationProvider : AuthorizationProvider
{
public override void SetPermissions(IPermissionDefinitionContext context)
{
context.CreatePermission(PermissionNames.Pages_Users, L("Users"));
context.CreatePermission(PermissionNames.Pages_Roles, L("Roles"));
context.CreatePermission(PermissionNames.Pages_Tenants, L("Tenants"),
multiTenancySides: MultiTenancySides.Host);
context.CreatePermission(PermissionNames.Statistics_DefaultQuery, F("Default query username"));
context.CreatePermission(PermissionNames.AcHistory_Histories, F("Query history"));
context.CreatePermission(PermissionNames.Settings_Update, F("Change user's own settings"));
}
private static ILocalizableString L(string name)
{
return new LocalizableString(name, AcmStatisticsBackendConsts.LocalizationSourceName);
}
private static ILocalizableString F(string content)
{
return new FixedLocalizableString(content);
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/LoginManager.cs
================================================
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.Configuration.Startup;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Zero.Configuration;
using AcmStatisticsBackend.Authorization.Roles;
using AcmStatisticsBackend.Authorization.Users;
using AcmStatisticsBackend.MultiTenancy;
using Microsoft.AspNetCore.Identity;
namespace AcmStatisticsBackend.Authorization
{
public class LogInManager : AbpLogInManager<Tenant, Role, User>
{
public LogInManager(
UserManager userManager,
IMultiTenancyConfig multiTenancyConfig,
IRepository<Tenant> tenantRepository,
IUnitOfWorkManager unitOfWorkManager,
ISettingManager settingManager,
IRepository<UserLoginAttempt, long> userLoginAttemptRepository,
IUserManagementConfig userManagementConfig,
IIocResolver iocResolver,
IPasswordHasher<User> passwordHasher,
RoleManager roleManager,
UserClaimsPrincipalFactory claimsPrincipalFactory)
: base(
userManager,
multiTenancyConfig,
tenantRepository,
unitOfWorkManager,
settingManager,
userLoginAttemptRepository,
userManagementConfig,
iocResolver,
passwordHasher,
roleManager,
claimsPrincipalFactory)
{
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/PermissionChecker.cs
================================================
using Abp.Authorization;
using AcmStatisticsBackend.Authorization.Roles;
using AcmStatisticsBackend.Authorization.Users;
namespace AcmStatisticsBackend.Authorization
{
public class PermissionChecker : PermissionChecker<Role, User>
{
public PermissionChecker(UserManager userManager)
: base(userManager)
{
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/PermissionNames.cs
================================================
namespace AcmStatisticsBackend.Authorization
{
public static class PermissionNames
{
#pragma warning disable SA1310 // Field names should not contain underscore
public const string Pages_Tenants = "Pages.Tenants";
public const string Pages_Users = "Pages.Users";
public const string Pages_Roles = "Pages.Roles";
public const string Statistics_DefaultQuery = "Statistics.DefaultQuery";
public const string AcHistory_Histories = "AcHistory.Histories";
public const string Settings_Update = "Settings.Update";
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Roles/AppRoleConfig.cs
================================================
using Abp.MultiTenancy;
using Abp.Zero.Configuration;
namespace AcmStatisticsBackend.Authorization.Roles
{
public static class AppRoleConfig
{
public static void Configure(IRoleManagementConfig roleManagementConfig)
{
// Static host roles
roleManagementConfig.StaticRoles.Add(
new StaticRoleDefinition(
StaticRoleNames.Host.Admin,
MultiTenancySides.Host));
// Static tenant roles
roleManagementConfig.StaticRoles.Add(
new StaticRoleDefinition(
StaticRoleNames.Tenants.Admin,
MultiTenancySides.Tenant));
roleManagementConfig.StaticRoles.Add(
new StaticRoleDefinition(
StaticRoleNames.Tenants.User,
MultiTenancySides.Tenant));
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Roles/Role.cs
================================================
using System.ComponentModel.DataAnnotations;
using Abp.Authorization.Roles;
using AcmStatisticsBackend.Authorization.Users;
namespace AcmStatisticsBackend.Authorization.Roles
{
public class Role : AbpRole<User>
{
public Role()
{
}
public Role(int? tenantId, string displayName)
: base(tenantId, displayName)
{
}
public Role(int? tenantId, string name, string displayName)
: base(tenantId, name, displayName)
{
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Roles/RoleManager.cs
================================================
using System.Collections.Generic;
using Abp.Authorization;
using Abp.Authorization.Roles;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Organizations;
using Abp.Runtime.Caching;
using Abp.Zero.Configuration;
using AcmStatisticsBackend.Authorization.Users;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
namespace AcmStatisticsBackend.Authorization.Roles
{
public class RoleManager : AbpRoleManager<Role, User>
{
public RoleManager(
RoleStore store,
IEnumerable<IRoleValidator<Role>> roleValidators,
ILookupNormalizer keyNormalizer,
IdentityErrorDescriber errors,
ILogger<AbpRoleManager<Role, User>> logger,
IPermissionManager permissionManager,
ICacheManager cacheManager,
IUnitOfWorkManager unitOfWorkManager,
IRoleManagementConfig roleManagementConfig,
IRepository<OrganizationUnit, long> organizationUnitRepository,
IRepository<OrganizationUnitRole, long> organizationUnitRoleRepository)
: base(
store,
roleValidators,
keyNormalizer,
errors, logger,
permissionManager,
cacheManager,
unitOfWorkManager,
roleManagementConfig,
organizationUnitRepository,
organizationUnitRoleRepository)
{
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Roles/RoleStore.cs
================================================
using Abp.Authorization.Roles;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using AcmStatisticsBackend.Authorization.Users;
namespace AcmStatisticsBackend.Authorization.Roles
{
public class RoleStore : AbpRoleStore<Role, User>
{
public RoleStore(
IUnitOfWorkManager unitOfWorkManager,
IRepository<Role> roleRepository,
IRepository<RolePermissionSetting, long> rolePermissionSettingRepository)
: base(
unitOfWorkManager,
roleRepository,
rolePermissionSettingRepository)
{
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Roles/StaticRoleNames.cs
================================================
namespace AcmStatisticsBackend.Authorization.Roles
{
public static class StaticRoleNames
{
public static class Host
{
public const string Admin = "Admin";
}
public static class Tenants
{
public const string Admin = "Admin";
public const string User = "User";
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Users/User.cs
================================================
using System;
using System.Collections.Generic;
using Abp.Authorization.Users;
using Abp.Extensions;
namespace AcmStatisticsBackend.Authorization.Users
{
public class User : AbpUser<User>
{
public const string DefaultPassword = "123qwe";
public static string CreateRandomPassword()
{
return Guid.NewGuid().ToString("N").Truncate(16);
}
public static User CreateTenantAdminUser(int tenantId, string emailAddress)
{
var user = new User
{
TenantId = tenantId,
UserName = AdminUserName,
Name = AdminUserName,
Surname = AdminUserName,
EmailAddress = emailAddress,
Roles = new List<UserRole>(),
};
user.SetNormalizedNames();
return user;
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserClaimsPrincipalFactory.cs
================================================
using Abp.Authorization;
using Abp.Domain.Uow;
using AcmStatisticsBackend.Authorization.Roles;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
namespace AcmStatisticsBackend.Authorization.Users
{
public class UserClaimsPrincipalFactory : AbpUserClaimsPrincipalFactory<User, Role>
{
public UserClaimsPrincipalFactory(
UserManager userManager,
RoleManager roleManager,
IOptions<IdentityOptions> optionsAccessor,
IUnitOfWorkManager unitOfWorkManager)
: base(
userManager,
roleManager,
optionsAccessor,
unitOfWorkManager)
{
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserDeletingEventHandler.cs
================================================
using System.Linq.Dynamic.Core;
using System.Threading.Tasks;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Events.Bus.Entities;
using Abp.Events.Bus.Handlers;
using AcmStatisticsBackend.Crawlers;
namespace AcmStatisticsBackend.Authorization.Users
{
public class UserDeletingEventHandler : IAsyncEventHandler<EntityDeletingEventData<User>>, ITransientDependency
{
private readonly IRepository<DefaultQuery, long> _defaultQueryRepository;
private readonly IRepository<QueryHistory, long> _acHistoryRepository;
public UserDeletingEventHandler(IRepository<DefaultQuery, long> defaultQueryRepository,
IRepository<QueryHistory, long> acHistoryRepository)
{
_defaultQueryRepository = defaultQueryRepository;
_acHistoryRepository = acHistoryRepository;
}
public async Task HandleEventAsync(EntityDeletingEventData<User> eventData)
{
await _defaultQueryRepository.HardDeleteAsync(
e => e.UserId == eventData.Entity.Id);
await _acHistoryRepository.DeleteAsync(
e => e.UserId == eventData.Entity.Id);
}
}
}
================================================
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserManager.cs
================================================
using System;
using System.Collections.Generic;
using Abp.Authorization;
using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Organizations;
using Abp.Runtime.Caching;
using AcmStatisticsBackend.Authorization.Roles;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace AcmStatisticsBackend.Authorization.Users
{
public class UserManager : AbpUserManager<Role, User>
{
public UserManager(AbpRoleManager<Role, User> roleManager, AbpUserStore<Role, User> userStore, IOptions<IdentityOptions> optionsAccessor, IPasswordHasher<User> passwordHasher, IEnumerable<IUserValidator<User>> userValidators, IEnumerable<IPasswordValidator<User>> passwordValidators, ILookupNormalizer keyNormalizer, IdentityErrorDescriber errors, IServiceProvider services, ILogger<UserManager<User>> logger, IPermissionManager permissionManager, IUnitOfWorkManager unitOfWorkManager, ICacheManager cacheManager, IRepository<OrganizationUnit, long> organizationUnitRepository, IRepository<UserOrganizationUnit, long> userOrganizationUnitRepository, IOrganizationUnitSettings organizationUnitSettings, ISettingManager settingManager, IRepository<UserLogin, long> userLoginRepository) : base(roleManager, userStore, optionsAccessor, passwordHasher, userValidators, passwordValidators, keyNormalizer, errors, services, logger, permissionManager, unitOfWorkManager, cacheManager, organizationUnitRepository, userOrganizationUnitRepository, org
gitextract_va1v6f6n/
├── .all-contributorsrc
├── .editorconfig
├── .gitattributes
├── .github/
│ ├── .vscode/
│ │ └── settings.json
│ ├── mergify.yml
│ └── workflows/
│ ├── auto-cancellation.yml
│ ├── deploy.yml
│ ├── e2e-test-pr.yml
│ ├── e2e-test-push.yml
│ ├── html-test.yml
│ ├── sonar-cloud.yml
│ ├── unit-test.yml
│ ├── update-e2e-snapshot.yml
│ └── update-html-snapshot.yml
├── .gitignore
├── .imgbotconfig
├── .renovaterc.json
├── LICENSE
├── Makefile
├── README.md
├── README_zh-hans.md
├── backend/
│ ├── .config/
│ │ └── dotnet-tools.json
│ ├── .dockerignore
│ ├── .gitattributes
│ ├── .gitignore
│ ├── AcmStatisticsBackend.sln
│ ├── AcmStatisticsBackend.sln.DotSettings
│ ├── Directory.Build.props
│ ├── Makefile
│ ├── README.md
│ ├── StyleCop.ruleset
│ ├── dev.Dockerfile
│ ├── global.json
│ ├── src/
│ │ ├── AcmStatisticsBackend.Application/
│ │ │ ├── Accounts/
│ │ │ │ ├── AccountAppService.cs
│ │ │ │ ├── Dto/
│ │ │ │ │ ├── ChangePasswordInput.cs
│ │ │ │ │ ├── RegisterInput.cs
│ │ │ │ │ └── RegisterOutput.cs
│ │ │ │ └── IAccountAppService.cs
│ │ │ ├── AcmStatisticsBackend.Application.csproj
│ │ │ ├── AcmStatisticsBackendAppServiceBase.cs
│ │ │ ├── AcmStatisticsBackendApplicationModule.cs
│ │ │ ├── Authorization/
│ │ │ │ └── AbpLoginResultTypeHelper.cs
│ │ │ ├── Crawlers/
│ │ │ │ ├── DefaultQueryAppService.cs
│ │ │ │ ├── Dto/
│ │ │ │ │ ├── DefaultQueryDto.cs
│ │ │ │ │ ├── DeleteQueryHistoryInput.cs
│ │ │ │ │ ├── GetAcWorkerHistoryInput.cs
│ │ │ │ │ ├── GetQueryHistoryAndSummaryOutput.cs
│ │ │ │ │ ├── GetQueryHistoryOutput.cs
│ │ │ │ │ ├── GetQuerySummaryInput.cs
│ │ │ │ │ ├── QueryCrawlerSummaryDto.cs
│ │ │ │ │ ├── QuerySummaryDto.cs
│ │ │ │ │ ├── QueryWorkerHistoryDto.cs
│ │ │ │ │ ├── SaveOrReplaceQueryHistoryInput.cs
│ │ │ │ │ ├── SaveOrReplaceQueryHistoryOutput.cs
│ │ │ │ │ └── UsernameInCrawlerDto.cs
│ │ │ │ ├── IDefaultQueryAppService.cs
│ │ │ │ ├── IQueryHistoryAppService.cs
│ │ │ │ └── QueryHistoryAppService.cs
│ │ │ ├── Net/
│ │ │ │ └── MimeTypes/
│ │ │ │ └── MimeTypeNames.cs
│ │ │ ├── Properties/
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── Sessions/
│ │ │ │ ├── Dto/
│ │ │ │ │ ├── ApplicationInfoDto.cs
│ │ │ │ │ ├── GetCurrentLoginInformationsOutput.cs
│ │ │ │ │ ├── TenantLoginInfoDto.cs
│ │ │ │ │ └── UserLoginInfoDto.cs
│ │ │ │ ├── ISessionAppService.cs
│ │ │ │ └── SessionAppService.cs
│ │ │ └── Settings/
│ │ │ ├── Dto/
│ │ │ │ ├── UpdateAutoSaveHistoryInput.cs
│ │ │ │ ├── UserSettingsConfigDto.cs
│ │ │ │ └── UserTimeZoneDto.cs
│ │ │ ├── IUserConfigAppService.cs
│ │ │ └── UserConfigAppService.cs
│ │ ├── AcmStatisticsBackend.Core/
│ │ │ ├── AcmStatisticsBackend.Core.csproj
│ │ │ ├── AcmStatisticsBackendConsts.cs
│ │ │ ├── AcmStatisticsBackendCoreModule.cs
│ │ │ ├── AcmStatisticsBackendExtensions.cs
│ │ │ ├── AppVersionHelper.cs
│ │ │ ├── Authorization/
│ │ │ │ ├── AcmStatisticsBackendAuthorizationProvider.cs
│ │ │ │ ├── LoginManager.cs
│ │ │ │ ├── PermissionChecker.cs
│ │ │ │ ├── PermissionNames.cs
│ │ │ │ ├── Roles/
│ │ │ │ │ ├── AppRoleConfig.cs
│ │ │ │ │ ├── Role.cs
│ │ │ │ │ ├── RoleManager.cs
│ │ │ │ │ ├── RoleStore.cs
│ │ │ │ │ └── StaticRoleNames.cs
│ │ │ │ └── Users/
│ │ │ │ ├── User.cs
│ │ │ │ ├── UserClaimsPrincipalFactory.cs
│ │ │ │ ├── UserDeletingEventHandler.cs
│ │ │ │ ├── UserManager.cs
│ │ │ │ ├── UserRegistrationManager.cs
│ │ │ │ └── UserStore.cs
│ │ │ ├── Configuration/
│ │ │ │ ├── AppConfigurations.cs
│ │ │ │ ├── AppEnvironmentVariables.cs
│ │ │ │ ├── AppSettingNames.cs
│ │ │ │ └── AppSettingProvider.cs
│ │ │ ├── Crawlers/
│ │ │ │ ├── DefaultQuery.cs
│ │ │ │ ├── QueryCrawlerSummary.cs
│ │ │ │ ├── QueryHistory.cs
│ │ │ │ ├── QuerySummary.cs
│ │ │ │ ├── QueryWorkerHistory.cs
│ │ │ │ ├── SummaryGenerator.cs
│ │ │ │ ├── SummaryWarning.cs
│ │ │ │ └── UsernameInCrawler.cs
│ │ │ ├── Editions/
│ │ │ │ └── EditionManager.cs
│ │ │ ├── Features/
│ │ │ │ └── FeatureValueStore.cs
│ │ │ ├── Identity/
│ │ │ │ ├── IdentityRegistrar.cs
│ │ │ │ ├── SecurityStampValidator.cs
│ │ │ │ └── SignInManager.cs
│ │ │ ├── Localization/
│ │ │ │ ├── AcmStatisticsBackendLocalizationConfigurer.cs
│ │ │ │ └── SourceFiles/
│ │ │ │ ├── AcmStatisticsBackend-es.xml
│ │ │ │ ├── AcmStatisticsBackend-fr.xml
│ │ │ │ ├── AcmStatisticsBackend-it.xml
│ │ │ │ ├── AcmStatisticsBackend-ja.xml
│ │ │ │ ├── AcmStatisticsBackend-lt.xml
│ │ │ │ ├── AcmStatisticsBackend-nl.xml
│ │ │ │ ├── AcmStatisticsBackend-pt-BR.xml
│ │ │ │ ├── AcmStatisticsBackend-tr.xml
│ │ │ │ ├── AcmStatisticsBackend-zh-Hans.xml
│ │ │ │ └── AcmStatisticsBackend.xml
│ │ │ ├── MultiTenancy/
│ │ │ │ ├── Tenant.cs
│ │ │ │ └── TenantManager.cs
│ │ │ ├── Properties/
│ │ │ │ └── AssemblyInfo.cs
│ │ │ ├── ServiceClients/
│ │ │ │ ├── CaptchaServiceClient.cs
│ │ │ │ ├── CaptchaServiceValidateResult.cs
│ │ │ │ ├── CrawlerApiBackendClient.cs
│ │ │ │ ├── CrawlerMetaItem.cs
│ │ │ │ ├── ICaptchaServiceClient.cs
│ │ │ │ └── ICrawlerApiBackendClient.cs
│ │ │ ├── Settings/
│ │ │ │ └── UserSettingAttribute.cs
│ │ │ ├── Timing/
│ │ │ │ └── AppTimes.cs
│ │ │ ├── Validation/
│ │ │ │ └── ValidationHelper.cs
│ │ │ └── Web/
│ │ │ └── WebContentFolderHelper.cs
│ │ ├── AcmStatisticsBackend.EntityFrameworkCore/
│ │ │ ├── AcmStatisticsBackend.EntityFrameworkCore.csproj
│ │ │ ├── EntityFrameworkCore/
│ │ │ │ ├── AbpZeroDbMigrator.cs
│ │ │ │ ├── AcmStatisticsBackendDbContext.cs
│ │ │ │ ├── AcmStatisticsBackendDbContextConfigurer.cs
│ │ │ │ ├── AcmStatisticsBackendDbContextFactory.cs
│ │ │ │ ├── AcmStatisticsBackendEntityFrameworkModule.cs
│ │ │ │ ├── Repositories/
│ │ │ │ │ └── AcmStatisticsBackendRepositoryBase.cs
│ │ │ │ └── Seed/
│ │ │ │ ├── Host/
│ │ │ │ │ ├── DefaultEditionCreator.cs
│ │ │ │ │ ├── DefaultLanguagesCreator.cs
│ │ │ │ │ ├── DefaultSettingsCreator.cs
│ │ │ │ │ ├── HostRoleAndUserCreator.cs
│ │ │ │ │ └── InitialHostDbBuilder.cs
│ │ │ │ ├── SeedHelper.cs
│ │ │ │ └── Tenants/
│ │ │ │ ├── DefaultTenantBuilder.cs
│ │ │ │ └── TenantRoleAndUserBuilder.cs
│ │ │ └── Migrations/
│ │ │ ├── 20200325035348_Init.Designer.cs
│ │ │ ├── 20200325035348_Init.cs
│ │ │ ├── 20200410093107_AddDefaultQuery.Designer.cs
│ │ │ ├── 20200410093107_AddDefaultQuery.cs
│ │ │ ├── 20200414102908_AddAcHistory.Designer.cs
│ │ │ ├── 20200414102908_AddAcHistory.cs
│ │ │ ├── 20200419031052_UseQueryHistory.Designer.cs
│ │ │ ├── 20200419031052_UseQueryHistory.cs
│ │ │ ├── 20200522145416_AddSettings.Designer.cs
│ │ │ ├── 20200522145416_AddSettings.cs
│ │ │ ├── 20200604111842_AddSummary.Designer.cs
│ │ │ ├── 20200604111842_AddSummary.cs
│ │ │ ├── 20210429095008_UpgradeAbp.Designer.cs
│ │ │ ├── 20210429095008_UpgradeAbp.cs
│ │ │ ├── 20210627092246_RemoveRoleDescription.Designer.cs
│ │ │ ├── 20210627092246_RemoveRoleDescription.cs
│ │ │ ├── 20210627092411_UpgradeDriver.Designer.cs
│ │ │ ├── 20210627092411_UpgradeDriver.cs
│ │ │ ├── 20250813025256_UpgradeAbp840.Designer.cs
│ │ │ ├── 20250813025256_UpgradeAbp840.cs
│ │ │ └── AcmStatisticsBackendDbContextModelSnapshot.cs
│ │ ├── AcmStatisticsBackend.Web.Core/
│ │ │ ├── AcmStatisticsBackend.Web.Core.csproj
│ │ │ ├── AcmStatisticsBackendWebCoreModule.cs
│ │ │ ├── Authentication/
│ │ │ │ └── JwtBearer/
│ │ │ │ ├── JwtTokenMiddleware.cs
│ │ │ │ └── TokenAuthConfiguration.cs
│ │ │ ├── Configuration/
│ │ │ │ └── HostingEnvironmentExtensions.cs
│ │ │ ├── Controllers/
│ │ │ │ ├── AcmStatisticsBackendControllerBase.cs
│ │ │ │ └── TokenAuthController.cs
│ │ │ ├── Middleware/
│ │ │ │ └── CookieAuthMiddleware.cs
│ │ │ ├── Models/
│ │ │ │ └── TokenAuth/
│ │ │ │ ├── AuthenticateModel.cs
│ │ │ │ └── AuthenticateResultModel.cs
│ │ │ └── Properties/
│ │ │ └── AssemblyInfo.cs
│ │ └── AcmStatisticsBackend.Web.Host/
│ │ ├── AcmStatisticsBackend.Web.Host.csproj
│ │ ├── Controllers/
│ │ │ └── AntiForgeryController.cs
│ │ ├── Dockerfile
│ │ ├── Properties/
│ │ │ └── launchSettings.json
│ │ ├── Startup/
│ │ │ ├── AcmStatisticsBackendWebHostModule.cs
│ │ │ ├── AuthConfigurer.cs
│ │ │ ├── Program.cs
│ │ │ └── Startup.cs
│ │ ├── app.config
│ │ ├── appsettings.Staging.json
│ │ ├── appsettings.json
│ │ ├── log4net.config
│ │ └── web.config
│ ├── stylecop.json
│ └── test/
│ └── AcmStatisticsBackend.Tests/
│ ├── Accounts/
│ │ ├── AccountAppService_Tests.cs
│ │ └── FakeCaptchaServiceClient.cs
│ ├── AcmStatisticsBackend.Tests.csproj
│ ├── AcmStatisticsBackendTestBase.cs
│ ├── AcmStatisticsBackendTestModule.cs
│ ├── Crawlers/
│ │ ├── DefaultQueryAppService_Tests.cs
│ │ ├── QueryHistoryAppService_Tests.cs
│ │ ├── QuerySummary_ModelTests.cs
│ │ └── SummaryGenerator_Tests.cs
│ ├── DependencyInjection/
│ │ ├── ServiceCollectionRegistrar.cs
│ │ ├── TestClockProvider.cs
│ │ └── TestCrawlerApiBackendClient.cs
│ ├── MultiTenantFactAttribute.cs
│ ├── Properties/
│ │ └── AssemblyInfo.cs
│ ├── ServiceClients/
│ │ ├── CaptchaServiceClient_Tests.cs
│ │ └── CrawlerApiBackendClient_Tests.cs
│ ├── Sessions/
│ │ └── SessionAppService_Tests.cs
│ ├── Settings/
│ │ └── UserConfigAppService_TimeZone_Tests.cs
│ └── TestExtensions.cs
├── build/
│ ├── .dockerignore
│ ├── .gitignore
│ ├── commitlint.Dockerfile
│ ├── commitlint.mk
│ ├── docker-compose.dcproj
│ ├── docker-compose.dev-backend.yml
│ ├── docker-compose.dev-frontend.yml
│ ├── docker-compose.e2e.yml
│ ├── docker-compose.mk
│ ├── docker-compose.yml
│ ├── node-base.Dockerfile
│ ├── node-base.mk
│ ├── share.mk
│ ├── shell.Dockerfile
│ ├── shell.mk
│ └── template.env
├── captcha-service/
│ ├── .dockerignore
│ ├── .eslintrc.js
│ ├── .gitignore
│ ├── Makefile
│ ├── README.md
│ ├── __mocks__/
│ │ └── svg-captcha.js
│ ├── __test__/
│ │ ├── app.spec.js
│ │ └── interface.test.js
│ ├── base.Dockerfile
│ ├── package.json
│ ├── release.Dockerfile
│ └── src/
│ ├── app.js
│ ├── index.js
│ └── restHelper.js
├── codecov.yml
├── commitlint.config.js
├── crawler/
│ ├── .dockerignore
│ ├── .eslintrc.js
│ ├── .gitignore
│ ├── .vscode/
│ │ └── launch.json
│ ├── Makefile
│ ├── README.md
│ ├── __mocks__/
│ │ └── fs.js
│ ├── __test__/
│ │ ├── __snapshots__/
│ │ │ └── crawlers.test.js.snap
│ │ ├── configReader.test.js
│ │ ├── crawlers.test.js
│ │ └── functionGenerator.test.js
│ ├── base.Dockerfile
│ ├── config.yml
│ ├── crawlers/
│ │ ├── .eslintrc.js
│ │ ├── LICENSE
│ │ ├── aizu.js
│ │ ├── atcoder.js
│ │ ├── bnu.js
│ │ ├── codechef.js
│ │ ├── codeforces.js
│ │ ├── codewars.js
│ │ ├── csu.js
│ │ ├── dashiye.js
│ │ ├── dmoj.js
│ │ ├── eljudge.js
│ │ ├── fzu.js
│ │ ├── hdu.js
│ │ ├── leetcode_cn.js
│ │ ├── loj.js
│ │ ├── luogu.js
│ │ ├── nbut.js
│ │ ├── nit.js
│ │ ├── nod.js
│ │ ├── nowcoder.js
│ │ ├── poj.js
│ │ ├── sdutoj.js
│ │ ├── spoj.js
│ │ ├── timus.js
│ │ ├── uestc.js
│ │ ├── uoj.js
│ │ ├── uva.js
│ │ ├── uvalive.js
│ │ ├── vjudge.js
│ │ └── zoj.js
│ ├── index.js
│ ├── lib/
│ │ ├── __mocks__/
│ │ │ └── configReader.js
│ │ ├── configReader.js
│ │ ├── functionGenerator.js
│ │ └── globalProxy.js
│ ├── package.json
│ └── release.Dockerfile
├── crawler-api-backend/
│ ├── .dockerignore
│ ├── .eslintrc.js
│ ├── .gitignore
│ ├── Makefile
│ ├── README.md
│ ├── __mocks__/
│ │ └── crawler.js
│ ├── __test__/
│ │ ├── __snapshots__/
│ │ │ └── apiRouter.test.js.snap
│ │ └── apiRouter.test.js
│ ├── apiRouter.js
│ ├── app.js
│ ├── base.Dockerfile
│ ├── config/
│ │ └── log.js
│ ├── index.js
│ ├── package.json
│ ├── release.Dockerfile
│ ├── swagger.json
│ └── utils/
│ ├── logUtil.js
│ ├── rateLimit.js
│ └── restHelper.js
├── e2e/
│ ├── .dockerignore
│ ├── .eslintignore
│ ├── .eslintrc.js
│ ├── .gitignore
│ ├── .npmrc
│ ├── Dockerfile
│ ├── Makefile
│ ├── README.md
│ ├── __test__/
│ │ └── pages/
│ │ ├── __snapshots__/
│ │ │ └── pages_snapshot.test.js.snap
│ │ └── pages_snapshot.test.js
│ ├── cypress/
│ │ ├── fixtures/
│ │ │ ├── example.json
│ │ │ ├── history_list-max5.json
│ │ │ ├── history_list-skip10.json
│ │ │ ├── history_list.json
│ │ │ ├── poj_notExist.txt
│ │ │ ├── poj_ok.txt
│ │ │ ├── summary_hdu.txt
│ │ │ ├── summary_leetcode.txt
│ │ │ └── summary_vjudge.txt
│ │ ├── integration/
│ │ │ ├── application/
│ │ │ │ ├── auth-redirect.spec.js
│ │ │ │ ├── auto-save-history.spec.js
│ │ │ │ ├── default-query.spec.js
│ │ │ │ ├── login-and-register.spec.js
│ │ │ │ └── swagger.spec.js
│ │ │ └── frontend/
│ │ │ ├── about.spec.js
│ │ │ ├── history.spec.js
│ │ │ ├── index.spec.js
│ │ │ ├── login-register.spec.js
│ │ │ ├── settings.spec.js
│ │ │ ├── side-bar.spec.js
│ │ │ └── statistics.spec.js
│ │ └── support/
│ │ ├── commands.js
│ │ └── e2e.js
│ ├── cypress.config.js
│ ├── http-mocks/
│ │ ├── .dockerignore
│ │ ├── .gitignore
│ │ ├── Dockerfile
│ │ ├── package.json
│ │ └── src/
│ │ ├── index.js
│ │ ├── lib/
│ │ │ ├── mock.js
│ │ │ └── restClient.js
│ │ ├── mocks/
│ │ │ ├── busuanzi.js
│ │ │ ├── googleAds.js
│ │ │ ├── googleAnalysis.js
│ │ │ ├── history-snapshot.js
│ │ │ ├── oj.js
│ │ │ ├── reset.js
│ │ │ └── tajs.js
│ │ └── preActivation.js
│ ├── jsconfig.json
│ └── package.json
├── frontend/
│ ├── .dockerignore
│ ├── .editorconfig
│ ├── .eslintignore
│ ├── .eslintrc.js
│ ├── .gitignore
│ ├── .npmrc
│ ├── .nuxtignore
│ ├── Makefile
│ ├── README.md
│ ├── __test__/
│ │ ├── StoreContextSimulator.js
│ │ ├── components/
│ │ │ ├── MessagePanel.test.js
│ │ │ ├── WorkerCard.test.js
│ │ │ ├── __snapshots__/
│ │ │ │ ├── MessagePanel.test.js.snap
│ │ │ │ └── WorkerCard.test.js.snap
│ │ │ ├── statisticsLayoutBuilder.test.js
│ │ │ └── statisticsUtils.test.js
│ │ ├── e2eMocks/
│ │ │ └── crawler.js
│ │ └── store/
│ │ └── statistics.test.js
│ ├── app.html
│ ├── assets/
│ │ ├── README.md
│ │ └── style/
│ │ └── app.scss
│ ├── babel.config.js
│ ├── base.Dockerfile
│ ├── components/
│ │ ├── GithubButton.vue
│ │ ├── MessagePanel.vue
│ │ ├── README.md
│ │ ├── ResultOverlay.vue
│ │ ├── UserStatus.vue
│ │ ├── WorkerCard.vue
│ │ ├── consts.js
│ │ ├── rulesMixin.js
│ │ ├── statisticsLayoutBuilder.js
│ │ ├── statisticsUtils.js
│ │ └── utils.js
│ ├── configs/
│ │ └── sensitive-url-router.js
│ ├── layouts/
│ │ ├── README.md
│ │ ├── default.vue
│ │ ├── error.vue
│ │ ├── login.vue
│ │ └── none.vue
│ ├── middleware/
│ │ ├── README.md
│ │ └── auth.js
│ ├── modules/
│ │ └── crawlerLoader/
│ │ ├── README.md
│ │ ├── cors.js
│ │ └── index.js
│ ├── nuxt.config.js
│ ├── package.json
│ ├── pages/
│ │ ├── README.md
│ │ ├── about.vue
│ │ ├── history/
│ │ │ ├── _id/
│ │ │ │ ├── -GoHistoryPage.vue
│ │ │ │ ├── -HistoryToolbar.vue
│ │ │ │ └── index.vue
│ │ │ └── index.vue
│ │ ├── index.vue
│ │ ├── jojo.vue
│ │ ├── login.vue
│ │ ├── register.vue
│ │ ├── settings.vue
│ │ └── statistics.vue
│ ├── plugins/
│ │ ├── README.md
│ │ ├── chartjs.js
│ │ ├── debug.js
│ │ └── font.js
│ ├── release.Dockerfile
│ ├── static/
│ │ ├── google90cac42981c276fb.html
│ │ └── swagger/
│ │ ├── abp.js
│ │ ├── abp.swagger.js
│ │ ├── index.html
│ │ ├── oauth2-redirect.html
│ │ ├── swagger-ui-bundle.js
│ │ ├── swagger-ui-standalone-preset.js
│ │ ├── swagger-ui.css
│ │ └── swagger-ui.js
│ ├── store/
│ │ ├── -dynamic/
│ │ │ └── statistics.js
│ │ ├── README.md
│ │ ├── index.js
│ │ ├── message.js
│ │ └── session.js
│ └── vuetify.options.js
├── ohunt/
│ ├── .config/
│ │ └── dotnet-tools.json
│ ├── .dockerignore
│ ├── .gitignore
│ ├── Makefile
│ ├── OHunt.Tests/
│ │ ├── Crawlers/
│ │ │ ├── BnuMappingCrawlerTests.cs
│ │ │ ├── NitMappingCrawlerTests.cs
│ │ │ ├── UvaMappingCrawlersTests.cs
│ │ │ ├── ZojSubmissionCrawlerTests.cs
│ │ │ └── __snapshots__/
│ │ │ └── ZojSubmissionCrawlerTests.It_ShouldGetCorrectResult.snap
│ │ ├── Dataflow/
│ │ │ ├── CrawlerPropagatorTests.cs
│ │ │ ├── DatabaseInserterTests.cs
│ │ │ └── SubmissionCrawlerCoordinatorTests.cs
│ │ ├── Dependency/
│ │ │ ├── NullDbBuilder.cs
│ │ │ ├── OHuntTestBase.cs
│ │ │ └── TestWebApplicationFactory.cs
│ │ ├── OHunt.Tests.csproj
│ │ ├── Services/
│ │ │ └── ProblemLabelManagerTests.cs
│ │ ├── TestExtensions.cs
│ │ ├── Utils.cs
│ │ └── Web/
│ │ ├── ProblemControllerTests.cs
│ │ ├── StartupTests.cs
│ │ ├── SubmissionControllerTests.cs
│ │ ├── SwaggerTests.cs
│ │ └── __snapshots__/
│ │ └── SwaggerTests.It_ShouldOutputDocument.snap
│ ├── OHunt.Web/
│ │ ├── Controllers/
│ │ │ ├── Dto/
│ │ │ │ ├── ResolveLabelInput.cs
│ │ │ │ └── ResolveLabelOutput.cs
│ │ │ ├── HomeController.cs
│ │ │ ├── ProblemController.cs
│ │ │ └── SubmissionsController.cs
│ │ ├── Crawlers/
│ │ │ ├── BnuMappingCrawler.cs
│ │ │ ├── CrawlerBase.cs
│ │ │ ├── CrawlerMessage.cs
│ │ │ ├── IMappingCrawler.cs
│ │ │ ├── ISubmissionCrawler.cs
│ │ │ ├── NitMappingCrawler.cs
│ │ │ ├── UvaCrawlers.cs
│ │ │ └── ZojSubmissionCrawler.cs
│ │ ├── Database/
│ │ │ ├── IDbBuilder.cs
│ │ │ ├── OHuntDbBuilder.cs
│ │ │ └── OHuntDbContext.cs
│ │ ├── Dataflow/
│ │ │ ├── CrawlerPropagator.cs
│ │ │ ├── DatabaseInserter.cs
│ │ │ ├── DatabaseInserterFactory.cs
│ │ │ ├── DatabaseInserterMessage.cs
│ │ │ └── SubmissionCrawlerCoordinator.cs
│ │ ├── Dockerfile
│ │ ├── GlobalConfigurer.cs
│ │ ├── Migrations/
│ │ │ ├── 20200701054200_Init.Designer.cs
│ │ │ ├── 20200701054200_Init.cs
│ │ │ ├── 20200701112402_AddSubmission.Designer.cs
│ │ │ ├── 20200701112402_AddSubmission.cs
│ │ │ ├── 20200702060356_AddIndex.Designer.cs
│ │ │ ├── 20200702060356_AddIndex.cs
│ │ │ ├── 20200702142254_AddCrawlerError.Designer.cs
│ │ │ ├── 20200702142254_AddCrawlerError.cs
│ │ │ ├── 20200802072749_AddProblemLabelMapping.Designer.cs
│ │ │ ├── 20200802072749_AddProblemLabelMapping.cs
│ │ │ ├── 20210627092639_UpgradeDriver.Designer.cs
│ │ │ ├── 20210627092639_UpgradeDriver.cs
│ │ │ └── OHuntWebContextModelSnapshot.cs
│ │ ├── Models/
│ │ │ ├── CrawlerError.cs
│ │ │ ├── MappingOnlineJudge.cs
│ │ │ ├── OnlineJudge.cs
│ │ │ ├── ProblemLabelMapping.cs
│ │ │ ├── RunResult.cs
│ │ │ └── Submission.cs
│ │ ├── OHunt.Web.csproj
│ │ ├── Options/
│ │ │ └── DatabaseInserterOptions.cs
│ │ ├── Program.cs
│ │ ├── Properties/
│ │ │ └── launchSettings.json
│ │ ├── Services/
│ │ │ ├── ProblemLabelManager.cs
│ │ │ └── ScheduleCrawlerService.cs
│ │ ├── Startup.cs
│ │ ├── Utils/
│ │ │ ├── Extensions.cs
│ │ │ └── QueryParameterFilter.cs
│ │ ├── appsettings.Development.json
│ │ └── appsettings.json
│ ├── README.md
│ ├── dev.Dockerfile
│ ├── global.json
│ └── ohunt.sln
├── sonar-project.properties
└── tools/
├── acm-statistics.service
├── history-test.sql
└── remote-docker-up.sh
Showing preview only (416K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (4464 symbols across 250 files)
FILE: backend/src/AcmStatisticsBackend.Application/Accounts/AccountAppService.cs
class AccountAppService (line 16) | public class AccountAppService : AcmStatisticsBackendAppServiceBase, IAc...
method AccountAppService (line 25) | public AccountAppService(
method Register (line 38) | public async Task<RegisterOutput> Register(RegisterInput input)
method SelfDelete (line 57) | [AbpAuthorize]
method ChangePassword (line 66) | [AbpAuthorize]
FILE: backend/src/AcmStatisticsBackend.Application/Accounts/Dto/ChangePasswordInput.cs
class ChangePasswordInput (line 5) | public class ChangePasswordInput
FILE: backend/src/AcmStatisticsBackend.Application/Accounts/Dto/RegisterInput.cs
class RegisterInput (line 7) | public class RegisterInput
FILE: backend/src/AcmStatisticsBackend.Application/Accounts/Dto/RegisterOutput.cs
class RegisterOutput (line 3) | public class RegisterOutput
FILE: backend/src/AcmStatisticsBackend.Application/Accounts/IAccountAppService.cs
type IAccountAppService (line 7) | public interface IAccountAppService : IApplicationService
method Register (line 9) | Task<RegisterOutput> Register(RegisterInput input);
method SelfDelete (line 14) | Task SelfDelete();
method ChangePassword (line 19) | Task ChangePassword(ChangePasswordInput input);
FILE: backend/src/AcmStatisticsBackend.Application/AcmStatisticsBackendAppServiceBase.cs
class AcmStatisticsBackendAppServiceBase (line 15) | public abstract class AcmStatisticsBackendAppServiceBase : ApplicationSe...
method AcmStatisticsBackendAppServiceBase (line 21) | protected AcmStatisticsBackendAppServiceBase()
method GetCurrentUserAsync (line 26) | protected virtual async Task<User> GetCurrentUserAsync()
method GetCurrentTenantAsync (line 37) | protected virtual Task<Tenant> GetCurrentTenantAsync()
method CheckErrors (line 42) | protected virtual void CheckErrors(IdentityResult identityResult)
FILE: backend/src/AcmStatisticsBackend.Application/AcmStatisticsBackendApplicationModule.cs
class AcmStatisticsBackendApplicationModule (line 8) | [DependsOn(
method PreInitialize (line 13) | public override void PreInitialize()
method Initialize (line 18) | public override void Initialize()
FILE: backend/src/AcmStatisticsBackend.Application/Authorization/AbpLoginResultTypeHelper.cs
class AbpLoginResultTypeHelper (line 9) | public class AbpLoginResultTypeHelper : AbpServiceBase, ITransientDepend...
method AbpLoginResultTypeHelper (line 11) | public AbpLoginResultTypeHelper()
method CreateExceptionForFailedLoginAttempt (line 16) | public Exception CreateExceptionForFailedLoginAttempt(AbpLoginResultTy...
method CreateLocalizedMessageForFailedLoginAttempt (line 41) | public string CreateLocalizedMessageForFailedLoginAttempt(AbpLoginResu...
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/DefaultQueryAppService.cs
class DefaultQueryAppService (line 12) | [AbpAuthorize(PermissionNames.Statistics_DefaultQuery)]
method DefaultQueryAppService (line 17) | public DefaultQueryAppService(IRepository<DefaultQuery, long> defaultQ...
method GetDefaultQueries (line 23) | public async Task<DefaultQueryDto> GetDefaultQueries()
method SetDefaultQueries (line 30) | public async Task SetDefaultQueries(DefaultQueryDto dto)
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/DefaultQueryDto.cs
class DefaultQueryDto (line 11) | [AutoMap(typeof(DefaultQuery))]
method AddValidationErrors (line 27) | public void AddValidationErrors(CustomValidationContext context)
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/DeleteQueryHistoryInput.cs
class DeleteQueryHistoryInput (line 5) | public class DeleteQueryHistoryInput
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetAcWorkerHistoryInput.cs
class GetAcWorkerHistoryInput (line 5) | public class GetAcWorkerHistoryInput
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetQueryHistoryAndSummaryOutput.cs
class GetQueryHistoryAndSummaryOutput (line 6) | public class GetQueryHistoryAndSummaryOutput
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetQueryHistoryOutput.cs
class GetQueryHistoryOutput (line 8) | [AutoMap(typeof(QueryHistory))]
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetQuerySummaryInput.cs
class GetQuerySummaryInput (line 5) | public class GetQuerySummaryInput
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/QueryCrawlerSummaryDto.cs
class QueryCrawlerSummaryDto (line 7) | [AutoMap(typeof(QueryCrawlerSummary))]
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/QuerySummaryDto.cs
class QuerySummaryDto (line 8) | [AutoMap(typeof(QuerySummary))]
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/QueryWorkerHistoryDto.cs
class QueryWorkerHistoryDto (line 9) | [AutoMap(typeof(QueryWorkerHistory))]
method AddValidationErrors (line 63) | public void AddValidationErrors(CustomValidationContext context)
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/SaveOrReplaceQueryHistoryInput.cs
class SaveOrReplaceQueryHistoryInput (line 7) | [AutoMapTo(typeof(QueryHistory))]
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/SaveOrReplaceQueryHistoryOutput.cs
class SaveOrReplaceQueryHistoryOutput (line 5) | public class SaveOrReplaceQueryHistoryOutput
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/UsernameInCrawlerDto.cs
class UsernameInCrawlerDto (line 6) | [AutoMap(typeof(UsernameInCrawler))]
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/IDefaultQueryAppService.cs
type IDefaultQueryAppService (line 11) | public interface IDefaultQueryAppService : IApplicationService
method GetDefaultQueries (line 17) | Task<DefaultQueryDto> GetDefaultQueries();
method SetDefaultQueries (line 23) | Task SetDefaultQueries(DefaultQueryDto dto);
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/IQueryHistoryAppService.cs
type IQueryHistoryAppService (line 11) | public interface IQueryHistoryAppService : IApplicationService
method SaveOrReplaceQueryHistory (line 19) | Task<SaveOrReplaceQueryHistoryOutput> SaveOrReplaceQueryHistory(SaveOr...
method DeleteQueryHistory (line 24) | Task DeleteQueryHistory(DeleteQueryHistoryInput input);
method GetQueryHistories (line 29) | Task<PagedResultDto<GetQueryHistoryOutput>> GetQueryHistories(PagedRes...
method GetQueryWorkerHistories (line 34) | Task<ListResultDto<QueryWorkerHistoryDto>> GetQueryWorkerHistories(Get...
method GetQuerySummary (line 40) | Task<QuerySummaryDto> GetQuerySummary(GetQuerySummaryInput input);
method GetQueryHistoriesAndSummaries (line 46) | Task<PagedResultDto<GetQueryHistoryAndSummaryOutput>>
FILE: backend/src/AcmStatisticsBackend.Application/Crawlers/QueryHistoryAppService.cs
class QueryHistoryAppService (line 22) | [AbpAuthorize(PermissionNames.AcHistory_Histories)]
method QueryHistoryAppService (line 34) | public QueryHistoryAppService(
method SaveOrReplaceQueryHistory (line 55) | public async Task<SaveOrReplaceQueryHistoryOutput> SaveOrReplaceQueryH...
method RemoveLatestHistoryTheSameDayOf (line 98) | private async Task RemoveLatestHistoryTheSameDayOf(DateTime day)
method DeleteQueryHistory (line 122) | [HttpPost]
method GetQueryHistories (line 142) | public async Task<PagedResultDto<GetQueryHistoryOutput>> GetQueryHisto...
method QueryHistoriesOfCurrentUser (line 154) | private IQueryable<QueryHistory> QueryHistoriesOfCurrentUser()
method GetQueryWorkerHistories (line 161) | public async Task<ListResultDto<QueryWorkerHistoryDto>> GetQueryWorker...
method GetQuerySummary (line 187) | public async Task<QuerySummaryDto> GetQuerySummary(GetQuerySummaryInpu...
method GetQueryHistoriesAndSummaries (line 213) | public async Task<PagedResultDto<GetQueryHistoryAndSummaryOutput>> Get...
method GetAuthorizedEntity (line 242) | private async Task<QueryHistory> GetAuthorizedEntity(long id)
method DoDeleteHistory (line 256) | private async Task DoDeleteHistory(QueryHistory entity)
FILE: backend/src/AcmStatisticsBackend.Application/Net/MimeTypes/MimeTypeNames.cs
class MimeTypeNames (line 11) | public static class MimeTypeNames
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/Dto/ApplicationInfoDto.cs
class ApplicationInfoDto (line 6) | public class ApplicationInfoDto
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/Dto/GetCurrentLoginInformationsOutput.cs
class GetCurrentLoginInformationsOutput (line 3) | public class GetCurrentLoginInformationsOutput
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/Dto/TenantLoginInfoDto.cs
class TenantLoginInfoDto (line 7) | [AutoMapFrom(typeof(Tenant))]
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/Dto/UserLoginInfoDto.cs
class UserLoginInfoDto (line 7) | [AutoMapFrom(typeof(User))]
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/ISessionAppService.cs
type ISessionAppService (line 7) | public interface ISessionAppService : IApplicationService
method GetCurrentLoginInformations (line 9) | Task<GetCurrentLoginInformationsOutput> GetCurrentLoginInformations();
FILE: backend/src/AcmStatisticsBackend.Application/Sessions/SessionAppService.cs
class SessionAppService (line 8) | public class SessionAppService : AcmStatisticsBackendAppServiceBase, ISe...
method GetCurrentLoginInformations (line 10) | [DisableAuditing]
FILE: backend/src/AcmStatisticsBackend.Application/Settings/Dto/UpdateAutoSaveHistoryInput.cs
class UpdateAutoSaveHistoryInput (line 3) | public class UpdateAutoSaveHistoryInput
FILE: backend/src/AcmStatisticsBackend.Application/Settings/Dto/UserSettingsConfigDto.cs
class UserSettingsConfigDto (line 5) | public class UserSettingsConfigDto
FILE: backend/src/AcmStatisticsBackend.Application/Settings/Dto/UserTimeZoneDto.cs
class UserTimeZoneDto (line 8) | public class UserTimeZoneDto : ICustomValidate
method AddValidationErrors (line 18) | public void AddValidationErrors(CustomValidationContext context)
FILE: backend/src/AcmStatisticsBackend.Application/Settings/IUserConfigAppService.cs
type IUserConfigAppService (line 9) | public interface IUserConfigAppService
method GetUserSettings (line 14) | Task<UserSettingsConfigDto> GetUserSettings();
method UpdateAutoSaveHistory (line 19) | Task UpdateAutoSaveHistory(UpdateAutoSaveHistoryInput input);
method SetUserTimeZone (line 24) | Task SetUserTimeZone(UserTimeZoneDto dto);
FILE: backend/src/AcmStatisticsBackend.Application/Settings/UserConfigAppService.cs
class UserConfigAppService (line 17) | [AbpAuthorize]
method UserConfigAppService (line 25) | public UserConfigAppService(ISettingDefinitionManager settingDefinitio...
method GetUserSettings (line 34) | public async Task<UserSettingsConfigDto> GetUserSettings()
method UpdateAutoSaveHistory (line 60) | [AbpAuthorize(PermissionNames.Settings_Update)]
method SetUserTimeZone (line 70) | [AbpAuthorize(PermissionNames.Settings_Update)]
method GetOrCreateUserSettingAttribute (line 88) | private async Task<UserSettingAttribute> GetOrCreateUserSettingAttribu...
FILE: backend/src/AcmStatisticsBackend.Core/AcmStatisticsBackendConsts.cs
class AcmStatisticsBackendConsts (line 3) | public class AcmStatisticsBackendConsts
FILE: backend/src/AcmStatisticsBackend.Core/AcmStatisticsBackendCoreModule.cs
class AcmStatisticsBackendCoreModule (line 17) | [DependsOn(typeof(AbpZeroCoreModule))]
method PreInitialize (line 20) | public override void PreInitialize()
method Initialize (line 46) | public override void Initialize()
method PostInitialize (line 51) | public override void PostInitialize()
FILE: backend/src/AcmStatisticsBackend.Core/AcmStatisticsBackendExtensions.cs
class AcmStatisticsBackendExtensions (line 7) | public static class AcmStatisticsBackendExtensions
method WithIn (line 19) | public static TR WithIn<TT, TR>(this TT obj, Func<TT, TR> func)
method WithIn (line 26) | public static TR WithIn<TT, TR>(this ref TT obj, Func<TT, TR> func)
method WithIn (line 32) | public static void WithIn<T>(this T obj, Action<T> action)
method WithIn (line 38) | public static void WithIn<T>(this ref T obj, Action<T> action)
method Deconstruct (line 45) | public static void Deconstruct<T>(this T[] items, out T t0)
method Deconstruct (line 50) | public static void Deconstruct<T>(this T[] items, out T t0, out T t1)
method AsReadOnly (line 57) | public static IReadOnlyCollection<T> AsReadOnly<T>(this ICollection<T>...
class ReadOnlyCollectionAdapter (line 67) | private sealed class ReadOnlyCollectionAdapter<T> : IReadOnlyCollectio...
method ReadOnlyCollectionAdapter (line 70) | public ReadOnlyCollectionAdapter(ICollection<T> source) => this._sou...
method GetEnumerator (line 72) | public IEnumerator<T> GetEnumerator() => _source.GetEnumerator();
method GetEnumerator (line 73) | IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
FILE: backend/src/AcmStatisticsBackend.Core/AppVersionHelper.cs
class AppVersionHelper (line 10) | public class AppVersionHelper
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/AcmStatisticsBackendAuthorizationProvider.cs
class AcmStatisticsBackendAuthorizationProvider (line 7) | public class AcmStatisticsBackendAuthorizationProvider : AuthorizationPr...
method SetPermissions (line 9) | public override void SetPermissions(IPermissionDefinitionContext context)
method L (line 21) | private static ILocalizableString L(string name)
method F (line 26) | private static ILocalizableString F(string content)
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/LoginManager.cs
class LogInManager (line 16) | public class LogInManager : AbpLogInManager<Tenant, Role, User>
method LogInManager (line 18) | public LogInManager(
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/PermissionChecker.cs
class PermissionChecker (line 7) | public class PermissionChecker : PermissionChecker<Role, User>
method PermissionChecker (line 9) | public PermissionChecker(UserManager userManager)
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/PermissionNames.cs
class PermissionNames (line 3) | public static class PermissionNames
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Roles/AppRoleConfig.cs
class AppRoleConfig (line 6) | public static class AppRoleConfig
method Configure (line 8) | public static void Configure(IRoleManagementConfig roleManagementConfig)
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Roles/Role.cs
class Role (line 7) | public class Role : AbpRole<User>
method Role (line 9) | public Role()
method Role (line 13) | public Role(int? tenantId, string displayName)
method Role (line 18) | public Role(int? tenantId, string name, string displayName)
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Roles/RoleManager.cs
class RoleManager (line 15) | public class RoleManager : AbpRoleManager<Role, User>
method RoleManager (line 17) | public RoleManager(
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Roles/RoleStore.cs
class RoleStore (line 8) | public class RoleStore : AbpRoleStore<Role, User>
method RoleStore (line 10) | public RoleStore(
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Roles/StaticRoleNames.cs
class StaticRoleNames (line 3) | public static class StaticRoleNames
class Host (line 5) | public static class Host
class Tenants (line 10) | public static class Tenants
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Users/User.cs
class User (line 8) | public class User : AbpUser<User>
method CreateRandomPassword (line 12) | public static string CreateRandomPassword()
method CreateTenantAdminUser (line 17) | public static User CreateTenantAdminUser(int tenantId, string emailAdd...
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserClaimsPrincipalFactory.cs
class UserClaimsPrincipalFactory (line 9) | public class UserClaimsPrincipalFactory : AbpUserClaimsPrincipalFactory<...
method UserClaimsPrincipalFactory (line 11) | public UserClaimsPrincipalFactory(
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserDeletingEventHandler.cs
class UserDeletingEventHandler (line 11) | public class UserDeletingEventHandler : IAsyncEventHandler<EntityDeletin...
method UserDeletingEventHandler (line 16) | public UserDeletingEventHandler(IRepository<DefaultQuery, long> defaul...
method HandleEventAsync (line 23) | public async Task HandleEventAsync(EntityDeletingEventData<User> event...
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserManager.cs
class UserManager (line 18) | public class UserManager : AbpUserManager<Role, User>
method UserManager (line 20) | public UserManager(AbpRoleManager<Role, User> roleManager, AbpUserStor...
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserRegistrationManager.cs
class UserRegistrationManager (line 18) | public class UserRegistrationManager : DomainService
method UserRegistrationManager (line 27) | public UserRegistrationManager(
method RegisterAsync (line 41) | [UnitOfWork]
method CheckForTenant (line 75) | private void CheckForTenant()
method GetActiveTenantAsync (line 83) | private async Task<Tenant> GetActiveTenantAsync()
method GetActiveTenantAsync (line 93) | private async Task<Tenant> GetActiveTenantAsync(int tenantId)
method CheckErrors (line 109) | protected virtual void CheckErrors(IdentityResult identityResult)
FILE: backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserStore.cs
class UserStore (line 10) | public class UserStore : AbpUserStore<Role, User>
method UserStore (line 12) | public UserStore(
FILE: backend/src/AcmStatisticsBackend.Core/Configuration/AppConfigurations.cs
class AppConfigurations (line 8) | public static class AppConfigurations
method AppConfigurations (line 12) | static AppConfigurations()
method Get (line 17) | public static IConfigurationRoot Get(string path, string environmentNa...
method BuildConfiguration (line 25) | private static IConfigurationRoot BuildConfiguration(string path, stri...
FILE: backend/src/AcmStatisticsBackend.Core/Configuration/AppEnvironmentVariables.cs
class AppEnvironmentVariables (line 5) | public class AppEnvironmentVariables
FILE: backend/src/AcmStatisticsBackend.Core/Configuration/AppSettingNames.cs
class AppSettingNames (line 3) | public static class AppSettingNames
FILE: backend/src/AcmStatisticsBackend.Core/Configuration/AppSettingProvider.cs
class AppSettingProvider (line 6) | public class AppSettingProvider : SettingProvider
method GetSettingDefinitions (line 8) | public override IEnumerable<SettingDefinition> GetSettingDefinitions(S...
FILE: backend/src/AcmStatisticsBackend.Core/Crawlers/DefaultQuery.cs
class DefaultQuery (line 11) | public class DefaultQuery : FullAuditedEntity<long, User>
FILE: backend/src/AcmStatisticsBackend.Core/Crawlers/QueryCrawlerSummary.cs
class QueryCrawlerSummary (line 10) | public class QueryCrawlerSummary : Entity<long>
FILE: backend/src/AcmStatisticsBackend.Core/Crawlers/QueryHistory.cs
class QueryHistory (line 12) | public class QueryHistory : Entity<long>
FILE: backend/src/AcmStatisticsBackend.Core/Crawlers/QuerySummary.cs
class QuerySummary (line 11) | public class QuerySummary : Entity<long>
FILE: backend/src/AcmStatisticsBackend.Core/Crawlers/QueryWorkerHistory.cs
class QueryWorkerHistory (line 11) | public class QueryWorkerHistory : Entity<long>
FILE: backend/src/AcmStatisticsBackend.Core/Crawlers/SummaryGenerator.cs
class SummaryGenerator (line 16) | public class SummaryGenerator : ISingletonDependency
method SummaryGenerator (line 20) | public SummaryGenerator(IClockProvider clockProvider)
method Generate (line 31) | [Pure]
method ResolveSummaryData (line 119) | private static void ResolveSummaryData(
method EnsureCrawlerType (line 179) | private static void EnsureCrawlerType(
method GetCrawlerTitle (line 230) | private static string GetCrawlerTitle(
method HandleVirtualJudgeProblems (line 238) | private static void HandleVirtualJudgeProblems(
method HandleVirtualJudgeSubmissions (line 266) | private static void HandleVirtualJudgeSubmissions(
method InitSummaries (line 292) | private static Dictionary<string, CrawlerSummaryData> InitSummaries(
class CrawlerSummaryData (line 308) | private class CrawlerSummaryData
method CrawlerSummaryData (line 323) | public CrawlerSummaryData()
class UsernameInCrawlerEqualityComparer (line 330) | private class UsernameInCrawlerEqualityComparer : IEqualityComparer<Us...
method Equals (line 332) | public bool Equals(UsernameInCrawler x, UsernameInCrawler y)
method GetHashCode (line 347) | public int GetHashCode(UsernameInCrawler obj)
FILE: backend/src/AcmStatisticsBackend.Core/Crawlers/SummaryWarning.cs
class SummaryWarning (line 9) | public class SummaryWarning : ValueObject
method SummaryWarning (line 11) | public SummaryWarning(string crawlerName, string content)
method GetAtomicValues (line 27) | protected override IEnumerable<object> GetAtomicValues()
FILE: backend/src/AcmStatisticsBackend.Core/Crawlers/UsernameInCrawler.cs
class UsernameInCrawler (line 10) | [DebuggerDisplay("FromCrawlerName = {FromCrawlerName}, Username = {Usern...
FILE: backend/src/AcmStatisticsBackend.Core/Editions/EditionManager.cs
class EditionManager (line 8) | public class EditionManager : AbpEditionManager
method EditionManager (line 12) | public EditionManager(
FILE: backend/src/AcmStatisticsBackend.Core/Features/FeatureValueStore.cs
class FeatureValueStore (line 11) | public class FeatureValueStore : AbpFeatureValueStore<Tenant, User>
method FeatureValueStore (line 13) | public FeatureValueStore(
FILE: backend/src/AcmStatisticsBackend.Core/Identity/IdentityRegistrar.cs
class IdentityRegistrar (line 11) | public static class IdentityRegistrar
method Register (line 13) | public static IdentityBuilder Register(IServiceCollection services)
FILE: backend/src/AcmStatisticsBackend.Core/Identity/SecurityStampValidator.cs
class SecurityStampValidator (line 13) | public class SecurityStampValidator : AbpSecurityStampValidator<Tenant, ...
method SecurityStampValidator (line 15) | public SecurityStampValidator(
FILE: backend/src/AcmStatisticsBackend.Core/Identity/SignInManager.cs
class SignInManager (line 15) | public class SignInManager : AbpSignInManager<Tenant, Role, User>
method SignInManager (line 17) | public SignInManager(
FILE: backend/src/AcmStatisticsBackend.Core/Localization/AcmStatisticsBackendLocalizationConfigurer.cs
class AcmStatisticsBackendLocalizationConfigurer (line 8) | public static class AcmStatisticsBackendLocalizationConfigurer
method Configure (line 10) | public static void Configure(ILocalizationConfiguration localizationCo...
FILE: backend/src/AcmStatisticsBackend.Core/MultiTenancy/Tenant.cs
class Tenant (line 6) | public class Tenant : AbpTenant<User>
method Tenant (line 8) | public Tenant()
method Tenant (line 12) | public Tenant(string tenancyName, string name)
FILE: backend/src/AcmStatisticsBackend.Core/MultiTenancy/TenantManager.cs
class TenantManager (line 9) | public class TenantManager : AbpTenantManager<Tenant, User>
method TenantManager (line 11) | public TenantManager(
FILE: backend/src/AcmStatisticsBackend.Core/ServiceClients/CaptchaServiceClient.cs
class CaptchaServiceClient (line 7) | public class CaptchaServiceClient : ICaptchaServiceClient, ISingletonDep...
method ValidateAsync (line 10) | public async Task<CaptchaServiceValidateResult> ValidateAsync(string i...
class CaptchaServiceValidateRestResponse (line 33) | private class CaptchaServiceValidateRestResponse
FILE: backend/src/AcmStatisticsBackend.Core/ServiceClients/CaptchaServiceValidateResult.cs
class CaptchaServiceValidateResult (line 6) | public class CaptchaServiceValidateResult
FILE: backend/src/AcmStatisticsBackend.Core/ServiceClients/CrawlerApiBackendClient.cs
class CrawlerApiBackendClient (line 10) | public class CrawlerApiBackendClient : ICrawlerApiBackendClient, ISingle...
method GetCrawlerMeta (line 14) | public async Task<IReadOnlyCollection<CrawlerMetaItem>> GetCrawlerMeta()
class GetMetaReturn (line 38) | private class GetMetaReturn
class DataItem (line 45) | private class DataItem
FILE: backend/src/AcmStatisticsBackend.Core/ServiceClients/CrawlerMetaItem.cs
class CrawlerMetaItem (line 6) | public class CrawlerMetaItem
FILE: backend/src/AcmStatisticsBackend.Core/ServiceClients/ICaptchaServiceClient.cs
type ICaptchaServiceClient (line 5) | public interface ICaptchaServiceClient
method ValidateAsync (line 13) | Task<CaptchaServiceValidateResult> ValidateAsync(string id, string text);
FILE: backend/src/AcmStatisticsBackend.Core/ServiceClients/ICrawlerApiBackendClient.cs
type ICrawlerApiBackendClient (line 7) | public interface ICrawlerApiBackendClient
method GetCrawlerMeta (line 12) | Task<IReadOnlyCollection<CrawlerMetaItem>> GetCrawlerMeta();
FILE: backend/src/AcmStatisticsBackend.Core/Settings/UserSettingAttribute.cs
class UserSettingAttribute (line 12) | public class UserSettingAttribute : Entity<long>, IAudited<User>
FILE: backend/src/AcmStatisticsBackend.Core/Timing/AppTimes.cs
class AppTimes (line 6) | public class AppTimes : ISingletonDependency
FILE: backend/src/AcmStatisticsBackend.Core/Validation/ValidationHelper.cs
class ValidationHelper (line 6) | public static class ValidationHelper
method IsEmail (line 10) | public static bool IsEmail(string value)
FILE: backend/src/AcmStatisticsBackend.Core/Web/WebContentFolderHelper.cs
class WebContentDirectoryFinder (line 12) | public static class WebContentDirectoryFinder
method CalculateContentRootFolder (line 14) | public static string CalculateContentRootFolder()
method DirectoryContains (line 48) | private static bool DirectoryContains(string directory, string fileName)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/AbpZeroDbMigrator.cs
class AbpZeroDbMigrator (line 8) | public class AbpZeroDbMigrator : AbpZeroDbMigrator<AcmStatisticsBackendD...
method AbpZeroDbMigrator (line 10) | public AbpZeroDbMigrator(
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/AcmStatisticsBackendDbContext.cs
class AcmStatisticsBackendDbContext (line 14) | public class AcmStatisticsBackendDbContext : AbpZeroDbContext<Tenant, Ro...
method AcmStatisticsBackendDbContext (line 32) | public AcmStatisticsBackendDbContext(DbContextOptions<AcmStatisticsBac...
method OnModelCreating (line 37) | protected override void OnModelCreating(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/AcmStatisticsBackendDbContextConfigurer.cs
class AcmStatisticsBackendDbContextConfigurer (line 6) | public static class AcmStatisticsBackendDbContextConfigurer
method Configure (line 8) | public static void Configure(DbContextOptionsBuilder<AcmStatisticsBack...
method Configure (line 13) | public static void Configure(DbContextOptionsBuilder<AcmStatisticsBack...
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/AcmStatisticsBackendDbContextFactory.cs
class AcmStatisticsBackendDbContextFactory (line 10) | public class AcmStatisticsBackendDbContextFactory : IDesignTimeDbContext...
method CreateDbContext (line 12) | public AcmStatisticsBackendDbContext CreateDbContext(string[] args)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/AcmStatisticsBackendEntityFrameworkModule.cs
class AcmStatisticsBackendEntityFrameworkModule (line 13) | [DependsOn(
method PreInitialize (line 23) | public override void PreInitialize()
method Initialize (line 41) | public override void Initialize()
method PostInitialize (line 46) | public override void PostInitialize()
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Repositories/AcmStatisticsBackendRepositoryBase.cs
class AcmStatisticsBackendRepositoryBase (line 13) | public abstract class AcmStatisticsBackendRepositoryBase<TEntity, TPrima...
method AcmStatisticsBackendRepositoryBase (line 16) | protected AcmStatisticsBackendRepositoryBase(IDbContextProvider<AcmSta...
method AcmStatisticsBackendRepositoryBase (line 32) | protected AcmStatisticsBackendRepositoryBase(IDbContextProvider<AcmSta...
class AcmStatisticsBackendRepositoryBase (line 29) | public abstract class AcmStatisticsBackendRepositoryBase<TEntity> : AcmS...
method AcmStatisticsBackendRepositoryBase (line 16) | protected AcmStatisticsBackendRepositoryBase(IDbContextProvider<AcmSta...
method AcmStatisticsBackendRepositoryBase (line 32) | protected AcmStatisticsBackendRepositoryBase(IDbContextProvider<AcmSta...
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultEditionCreator.cs
class DefaultEditionCreator (line 9) | public class DefaultEditionCreator
method DefaultEditionCreator (line 13) | public DefaultEditionCreator(AcmStatisticsBackendDbContext context)
method Create (line 18) | public void Create()
method CreateEditions (line 23) | private void CreateEditions()
method CreateFeatureIfNotExists (line 36) | private void CreateFeatureIfNotExists(int editionId, string featureNam...
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultLanguagesCreator.cs
class DefaultLanguagesCreator (line 9) | public class DefaultLanguagesCreator
method GetInitialLanguages (line 15) | private static List<ApplicationLanguage> GetInitialLanguages()
method DefaultLanguagesCreator (line 35) | public DefaultLanguagesCreator(AcmStatisticsBackendDbContext context)
method Create (line 40) | public void Create()
method CreateLanguages (line 45) | private void CreateLanguages()
method AddLanguageIfNotExists (line 53) | private void AddLanguageIfNotExists(ApplicationLanguage language)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultSettingsCreator.cs
class DefaultSettingsCreator (line 10) | public class DefaultSettingsCreator
method DefaultSettingsCreator (line 14) | public DefaultSettingsCreator(AcmStatisticsBackendDbContext context)
method Create (line 19) | public void Create()
method AddSettingIfNotExists (line 36) | private void AddSettingIfNotExists(string name, string value, int? ten...
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/HostRoleAndUserCreator.cs
class HostRoleAndUserCreator (line 16) | public class HostRoleAndUserCreator
method HostRoleAndUserCreator (line 20) | public HostRoleAndUserCreator(AcmStatisticsBackendDbContext context)
method Create (line 25) | public void Create()
method CreateHostRoleAndUsers (line 30) | private void CreateHostRoleAndUsers()
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/InitialHostDbBuilder.cs
class InitialHostDbBuilder (line 3) | public class InitialHostDbBuilder
method InitialHostDbBuilder (line 7) | public InitialHostDbBuilder(AcmStatisticsBackendDbContext context)
method Create (line 12) | public void Create()
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/SeedHelper.cs
class SeedHelper (line 13) | public static class SeedHelper
method SeedHostDb (line 15) | public static void SeedHostDb(IIocResolver iocResolver)
method SeedHostDb (line 20) | public static void SeedHostDb(AcmStatisticsBackendDbContext context)
method WithDbContext (line 32) | private static void WithDbContext<TDbContext>(IIocResolver iocResolver...
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Tenants/DefaultTenantBuilder.cs
class DefaultTenantBuilder (line 9) | public class DefaultTenantBuilder
method DefaultTenantBuilder (line 13) | public DefaultTenantBuilder(AcmStatisticsBackendDbContext context)
method Create (line 18) | public void Create()
method CreateDefaultTenant (line 23) | private void CreateDefaultTenant()
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Tenants/TenantRoleAndUserBuilder.cs
class TenantRoleAndUserBuilder (line 16) | public class TenantRoleAndUserBuilder
method TenantRoleAndUserBuilder (line 21) | public TenantRoleAndUserBuilder(AcmStatisticsBackendDbContext context,...
method Create (line 27) | public void Create()
method CreateAdminRoleAndUser (line 33) | private void CreateAdminRoleAndUser()
method CreateUserRole (line 99) | private void CreateUserRole()
method GrantPermissionForRule (line 123) | private void GrantPermissionForRule(Role role, params string[] permiss...
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200325035348_Init.Designer.cs
class Init (line 11) | [DbContext(typeof(AcmStatisticsBackendDbContext))]
method BuildTargetModel (line 15) | protected override void BuildTargetModel(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200325035348_Init.cs
class Init (line 7) | public partial class Init : Migration
method Up (line 9) | protected override void Up(MigrationBuilder migrationBuilder)
method Down (line 1112) | protected override void Down(MigrationBuilder migrationBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200410093107_AddDefaultQuery.Designer.cs
class AddDefaultQuery (line 11) | [DbContext(typeof(AcmStatisticsBackendDbContext))]
method BuildTargetModel (line 15) | protected override void BuildTargetModel(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200410093107_AddDefaultQuery.cs
class AddDefaultQuery (line 7) | public partial class AddDefaultQuery : Migration
method Up (line 9) | protected override void Up(MigrationBuilder migrationBuilder)
method Down (line 195) | protected override void Down(MigrationBuilder migrationBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200414102908_AddAcHistory.Designer.cs
class AddAcHistory (line 11) | [DbContext(typeof(AcmStatisticsBackendDbContext))]
method BuildTargetModel (line 15) | protected override void BuildTargetModel(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200414102908_AddAcHistory.cs
class AddAcHistory (line 7) | public partial class AddAcHistory : Migration
method Up (line 9) | protected override void Up(MigrationBuilder migrationBuilder)
method Down (line 79) | protected override void Down(MigrationBuilder migrationBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200419031052_UseQueryHistory.Designer.cs
class UseQueryHistory (line 11) | [DbContext(typeof(AcmStatisticsBackendDbContext))]
method BuildTargetModel (line 15) | protected override void BuildTargetModel(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200419031052_UseQueryHistory.cs
class UseQueryHistory (line 7) | public partial class UseQueryHistory : Migration
method Up (line 9) | protected override void Up(MigrationBuilder migrationBuilder)
method Down (line 86) | protected override void Down(MigrationBuilder migrationBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200522145416_AddSettings.Designer.cs
class AddSettings (line 11) | [DbContext(typeof(AcmStatisticsBackendDbContext))]
method BuildTargetModel (line 15) | protected override void BuildTargetModel(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200522145416_AddSettings.cs
class AddSettings (line 7) | public partial class AddSettings : Migration
method Up (line 9) | protected override void Up(MigrationBuilder migrationBuilder)
method Down (line 74) | protected override void Down(MigrationBuilder migrationBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200604111842_AddSummary.Designer.cs
class AddSummary (line 11) | [DbContext(typeof(AcmStatisticsBackendDbContext))]
method BuildTargetModel (line 15) | protected override void BuildTargetModel(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200604111842_AddSummary.cs
class AddSummary (line 7) | public partial class AddSummary : Migration
method Up (line 9) | protected override void Up(MigrationBuilder migrationBuilder)
method Down (line 127) | protected override void Down(MigrationBuilder migrationBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210429095008_UpgradeAbp.Designer.cs
class UpgradeAbp (line 11) | [DbContext(typeof(AcmStatisticsBackendDbContext))]
method BuildTargetModel (line 15) | protected override void BuildTargetModel(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210429095008_UpgradeAbp.cs
class UpgradeAbp (line 6) | public partial class UpgradeAbp : Migration
method Up (line 8) | protected override void Up(MigrationBuilder migrationBuilder)
method Down (line 150) | protected override void Down(MigrationBuilder migrationBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210627092246_RemoveRoleDescription.Designer.cs
class RemoveRoleDescription (line 11) | [DbContext(typeof(AcmStatisticsBackendDbContext))]
method BuildTargetModel (line 15) | protected override void BuildTargetModel(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210627092246_RemoveRoleDescription.cs
class RemoveRoleDescription (line 5) | public partial class RemoveRoleDescription : Migration
method Up (line 7) | protected override void Up(MigrationBuilder migrationBuilder)
method Down (line 14) | protected override void Down(MigrationBuilder migrationBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210627092411_UpgradeDriver.Designer.cs
class UpgradeDriver (line 11) | [DbContext(typeof(AcmStatisticsBackendDbContext))]
method BuildTargetModel (line 15) | protected override void BuildTargetModel(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210627092411_UpgradeDriver.cs
class UpgradeDriver (line 5) | public partial class UpgradeDriver : Migration
method Up (line 7) | protected override void Up(MigrationBuilder migrationBuilder)
method Down (line 458) | protected override void Down(MigrationBuilder migrationBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20250813025256_UpgradeAbp840.Designer.cs
class UpgradeAbp840 (line 14) | [DbContext(typeof(AcmStatisticsBackendDbContext))]
method BuildTargetModel (line 19) | protected override void BuildTargetModel(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20250813025256_UpgradeAbp840.cs
class UpgradeAbp840 (line 9) | public partial class UpgradeAbp840 : Migration
method Up (line 12) | protected override void Up(MigrationBuilder migrationBuilder)
method Down (line 383) | protected override void Down(MigrationBuilder migrationBuilder)
FILE: backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/AcmStatisticsBackendDbContextModelSnapshot.cs
class AcmStatisticsBackendDbContextModelSnapshot (line 13) | [DbContext(typeof(AcmStatisticsBackendDbContext))]
method BuildModel (line 16) | protected override void BuildModel(ModelBuilder modelBuilder)
FILE: backend/src/AcmStatisticsBackend.Web.Core/AcmStatisticsBackendWebCoreModule.cs
class AcmStatisticsBackendWebCoreModule (line 19) | [DependsOn(
method AcmStatisticsBackendWebCoreModule (line 28) | public AcmStatisticsBackendWebCoreModule(IWebHostEnvironment env)
method PreInitialize (line 34) | public override void PreInitialize()
method ConfigureTokenAuth (line 49) | private void ConfigureTokenAuth()
method Initialize (line 61) | public override void Initialize()
method PostInitialize (line 66) | public override void PostInitialize()
FILE: backend/src/AcmStatisticsBackend.Web.Core/Authentication/JwtBearer/JwtTokenMiddleware.cs
class JwtTokenMiddleware (line 7) | public static class JwtTokenMiddleware
method UseJwtTokenMiddleware (line 9) | public static IApplicationBuilder UseJwtTokenMiddleware(this IApplicat...
FILE: backend/src/AcmStatisticsBackend.Web.Core/Authentication/JwtBearer/TokenAuthConfiguration.cs
class TokenAuthConfiguration (line 6) | public class TokenAuthConfiguration
FILE: backend/src/AcmStatisticsBackend.Web.Core/Configuration/HostingEnvironmentExtensions.cs
class HostingEnvironmentExtensions (line 7) | public static class HostingEnvironmentExtensions
method GetAppConfiguration (line 9) | public static IConfigurationRoot GetAppConfiguration(this IWebHostEnvi...
FILE: backend/src/AcmStatisticsBackend.Web.Core/Controllers/AcmStatisticsBackendControllerBase.cs
class AcmStatisticsBackendControllerBase (line 7) | public abstract class AcmStatisticsBackendControllerBase : AbpController
method AcmStatisticsBackendControllerBase (line 9) | protected AcmStatisticsBackendControllerBase()
method CheckErrors (line 14) | protected void CheckErrors(IdentityResult identityResult)
FILE: backend/src/AcmStatisticsBackend.Web.Core/Controllers/TokenAuthController.cs
class TokenAuthController (line 20) | [Route("api/[controller]/[action]")]
method TokenAuthController (line 28) | public TokenAuthController(
method Authenticate (line 40) | [HttpPost]
method GetTenancyNameOrNull (line 62) | private string GetTenancyNameOrNull()
method GetLoginResultAsync (line 72) | private async Task<AbpLoginResult<Tenant, User>> GetLoginResultAsync(
method CreateAccessToken (line 89) | private string CreateAccessToken(IEnumerable<Claim> claims, TimeSpan? ...
method CreateJwtClaims (line 104) | private static List<Claim> CreateJwtClaims(ClaimsIdentity identity)
FILE: backend/src/AcmStatisticsBackend.Web.Core/Middleware/CookieAuthMiddleware.cs
class CookieAuthMiddleware (line 10) | public class CookieAuthMiddleware
method CookieAuthMiddleware (line 18) | public CookieAuthMiddleware(RequestDelegate next)
method Invoke (line 23) | public async Task Invoke(HttpContext context)
FILE: backend/src/AcmStatisticsBackend.Web.Core/Models/TokenAuth/AuthenticateModel.cs
class AuthenticateModel (line 7) | public class AuthenticateModel
FILE: backend/src/AcmStatisticsBackend.Web.Core/Models/TokenAuth/AuthenticateResultModel.cs
class AuthenticateResultModel (line 3) | public class AuthenticateResultModel
FILE: backend/src/AcmStatisticsBackend.Web.Host/Controllers/AntiForgeryController.cs
class AntiForgeryController (line 7) | public class AntiForgeryController : AcmStatisticsBackendControllerBase
method AntiForgeryController (line 12) | public AntiForgeryController(IAntiforgery antiforgery, IAbpAntiForgery...
method GetToken (line 18) | public void GetToken()
method SetCookie (line 23) | public void SetCookie()
FILE: backend/src/AcmStatisticsBackend.Web.Host/Startup/AcmStatisticsBackendWebHostModule.cs
class AcmStatisticsBackendWebHostModule (line 9) | [DependsOn(
method AcmStatisticsBackendWebHostModule (line 16) | public AcmStatisticsBackendWebHostModule(IWebHostEnvironment env)
method Initialize (line 22) | public override void Initialize()
FILE: backend/src/AcmStatisticsBackend.Web.Host/Startup/AuthConfigurer.cs
class AuthConfigurer (line 13) | public static class AuthConfigurer
method Configure (line 15) | public static void Configure(IServiceCollection services, IConfigurati...
FILE: backend/src/AcmStatisticsBackend.Web.Host/Startup/Program.cs
class Program (line 6) | public class Program
method Main (line 8) | public static void Main(string[] args)
method BuildWebHost (line 13) | public static IWebHost BuildWebHost(string[] args)
FILE: backend/src/AcmStatisticsBackend.Web.Host/Startup/Startup.cs
class Startup (line 24) | public class Startup
method Startup (line 30) | public Startup(IWebHostEnvironment env)
method ConfigureServices (line 35) | public IServiceProvider ConfigureServices(IServiceCollection services)
method Configure (line 103) | public void Configure(IApplicationBuilder app, ILoggerFactory loggerFa...
FILE: backend/test/AcmStatisticsBackend.Tests/Accounts/AccountAppService_Tests.cs
class AccountAppService_Tests (line 19) | public class AccountAppService_Tests : AcmStatisticsBackendTestBase
method AccountAppService_Tests (line 25) | public AccountAppService_Tests()
method Register_应该能够正确注册 (line 35) | [Fact]
method Register_能够在验证码错误时能报错 (line 65) | [Fact]
method SelfDelete_能够正确删除用户 (line 87) | [Fact]
method ChangePassword_CanWorkCorrectly (line 137) | [Fact]
FILE: backend/test/AcmStatisticsBackend.Tests/Accounts/FakeCaptchaServiceClient.cs
class FakeCaptchaServiceClient (line 6) | public class FakeCaptchaServiceClient : ICaptchaServiceClient
method ValidateAsync (line 10) | public Task<CaptchaServiceValidateResult> ValidateAsync(string id, str...
FILE: backend/test/AcmStatisticsBackend.Tests/AcmStatisticsBackendTestBase.cs
class AcmStatisticsBackendTestBase (line 20) | public abstract class AcmStatisticsBackendTestBase : AbpIntegratedTestBa...
method AcmStatisticsBackendTestBase (line 22) | protected AcmStatisticsBackendTestBase()
method UsingTenantId (line 55) | protected IDisposable UsingTenantId(int? tenantId)
method UsingDbContext (line 62) | protected void UsingDbContext(Action<AcmStatisticsBackendDbContext> ac...
method UsingDbContextAsync (line 67) | protected Task UsingDbContextAsync(Func<AcmStatisticsBackendDbContext,...
method UsingDbContext (line 72) | protected T UsingDbContext<T>(Func<AcmStatisticsBackendDbContext, T> f...
method UsingDbContextAsync (line 77) | protected Task<T> UsingDbContextAsync<T>(Func<AcmStatisticsBackendDbCo...
method UsingDbContext (line 82) | protected void UsingDbContext(int? tenantId, Action<AcmStatisticsBacke...
method UsingDbContextAsync (line 94) | protected async Task UsingDbContextAsync(int? tenantId, Func<AcmStatis...
method UsingDbContext (line 106) | protected T UsingDbContext<T>(int? tenantId, Func<AcmStatisticsBackend...
method UsingDbContextAsync (line 122) | protected async Task<T> UsingDbContextAsync<T>(int? tenantId, Func<Acm...
method LoginAsHostAdmin (line 142) | protected void LoginAsHostAdmin()
method LoginAsDefaultTenantAdmin (line 147) | protected void LoginAsDefaultTenantAdmin()
method LoginAsDefaultTenant (line 152) | protected void LoginAsDefaultTenant(string userName)
method LoginAsHost (line 157) | protected void LoginAsHost(string userName)
method LoginAsTenant (line 163) | protected void LoginAsTenant(string tenancyName, string userName)
method GetCurrentUserAsync (line 193) | protected async Task<User> GetCurrentUserAsync()
method GetCurrentTenantAsync (line 203) | protected async Task<Tenant> GetCurrentTenantAsync()
method GetHostUser (line 209) | protected User GetHostUser(string userName)
method GetHostAdmin (line 226) | protected User GetHostAdmin()
FILE: backend/test/AcmStatisticsBackend.Tests/AcmStatisticsBackendTestModule.cs
class AcmStatisticsBackendTestModule (line 18) | [DependsOn(
method AcmStatisticsBackendTestModule (line 26) | public AcmStatisticsBackendTestModule(
method PreInitialize (line 35) | public override void PreInitialize()
method Initialize (line 53) | public override void Initialize()
method Shutdown (line 58) | public override void Shutdown()
method RegisterFakeService (line 64) | private void RegisterFakeService<TService>() where TService : class
FILE: backend/test/AcmStatisticsBackend.Tests/Crawlers/DefaultQueryAppService_Tests.cs
class DefaultQueryAppService_Tests (line 10) | public class DefaultQueryAppService_Tests : AcmStatisticsBackendTestBase
method DefaultQueryAppService_Tests (line 14) | public DefaultQueryAppService_Tests()
method GetDefaultQueries_ShouldWorkCorrectly (line 19) | [Fact]
method SetDefaultQueries_ShouldWorkCorrectly (line 47) | [Fact]
method GetDefaultQueries_WhenNoRecord_ReturnResultWithEmptyParameters (line 66) | [Fact]
FILE: backend/test/AcmStatisticsBackend.Tests/Crawlers/QueryHistoryAppService_Tests.cs
class QueryHistoryAppService_Tests (line 19) | public class QueryHistoryAppService_Tests : AcmStatisticsBackendTestBase
method PreInitialize (line 25) | protected override void PreInitialize()
method PostInitialize (line 30) | protected override void PostInitialize()
method SaveOrReplaceQueryHistory_CanSaveRecord (line 77) | [Fact]
method SaveOrReplaceQueryHistory_CanReplaceRecordOfTheSameDay (line 147) | [Fact]
method SaveOrReplaceAcHistory_ShouldKeepRecordsOfDifferentDays (line 202) | [Fact]
method SaveOrReplaceQueryHistory_ShouldGenerateSummary (line 252) | [Fact]
method DeleteAcHistory_ShouldRemoveAcHistoryAndAcWorkerHistoryAtTheSameTime (line 305) | [Fact]
method GetAcHistory_ShouldWorkCorrectly (line 342) | [Fact]
method GetAcHistory_ShouldReturnHistoriesInCorrectOrder (line 374) | [Fact]
method GetAcWorkerHistory_ShouldWorkCorrectly (line 420) | [Fact]
method It_CanSaveAndGetRecordWithSubmissions (line 485) | [Fact]
method GetQuerySummary_ShouldWorkCorrectly (line 570) | [Fact]
method GetQuerySummary_WhenSummaryNotExist_ShouldThrow (line 640) | [Fact]
method GetQueryHistoriesAndSummaries_ShouldWorkCorrectly (line 672) | [Fact]
FILE: backend/test/AcmStatisticsBackend.Tests/Crawlers/QuerySummary_ModelTests.cs
class QuerySummary_ModelTests (line 13) | public class QuerySummary_ModelTests : AcmStatisticsBackendTestBase
method QuerySummary_ModelTests (line 20) | public QuerySummary_ModelTests()
method InsertDataByQueryHistory (line 28) | private async Task InsertDataByQueryHistory()
method InsertDataByQuerySummary (line 78) | private async Task InsertDataByQuerySummary(long? userId = null)
method AfterInsertion_ShouldSetForeignKey (line 126) | [Theory]
method WhenDeleteQuerySummary_ShouldNotDeleteQueryHistory (line 163) | [Fact]
method WhenDeleteQueryHistory_ShouldDeleteQuerySummary (line 186) | [Fact]
method WhenDeletingUser_ShouldDeleteHistoriesAndSummaries (line 209) | [Fact]
FILE: backend/test/AcmStatisticsBackend.Tests/Crawlers/SummaryGenerator_Tests.cs
class SummaryGenerator_Tests (line 11) | public class SummaryGenerator_Tests
method SummaryGenerator_Tests (line 16) | public SummaryGenerator_Tests()
method It_ShouldHaveGenerateTime (line 60) | [Fact]
method WithoutSolvedList_ShouldGenerateWarning (line 84) | [Fact]
method VirtualJudgeWithoutSolvedList_ShouldThrow (line 157) | [Fact]
method WhenWorkerNotMatchCrawlerMeta_ShouldThrow (line 177) | [Theory]
method WhenWorkerDoesNotExistInMeta_ShouldThrow (line 206) | [Fact]
method LocalJudgeWithSolvedList_ShouldWork (line 227) | [Fact]
method DifferentWorkerOfTheSameCrawler_ShouldMergeTheirSolvedList (line 301) | [Theory]
method DifferentWorkerOfTheSameCrawler_WhenOnlySomeWorkerDoNotHaveSolvedList_ShouldThrow (line 374) | [Fact]
method WorkerCrawlerExistsInVirtualJudge_WhenBothHaveSolvedList_ShouldMergeResult (line 422) | [Fact]
method WorkerCrawlerExistsInVirtualJudge_WhenCrawlerNotHaveSolvedList_ShouldGenerateWarning_AndAddResult (line 509) | [Fact]
method WhenSolvedNotMatchSolvedList_ShouldUseResultOfSolvedList (line 597) | [Fact]
method VirtualJudge_WhenSolvedNotMatchSolvedList_ShouldUseResultOfSolvedList (line 651) | [Fact]
method VirtualJudge_WhenAllSolvedListsMerged_ShouldNotExistInSummary (line 727) | [Fact]
method VirtualJudge_WhenSomeSolvedListsNotMerged_ShouldExistInSummary (line 797) | [Fact]
method VirtualJudge_WhenSubmissionByCrawlerIsNotInCrawlerMeta_ShouldAddToVirtualJudge (line 866) | [Fact]
method VirtualJudge_WhenSubmissionNotMatchSubmissionByCrawler_ShouldGenerateWarning_AndUseSubmissionByCrawler (line 919) | [Fact]
method VirtualJudge_WhenItHasLocalJudge_ShouldWorkAsLocalJudge (line 977) | [Fact]
method VirtualJudge_WhenItHasLocalJudge_AndProvidedByAnotherVj_ShouldWorkAsLocalJudge (line 1030) | [Fact]
method VirtualJudge_WhenItHasLocalJudge_AndListNotMerged_ShouldOutputTwoSummary (line 1105) | [Fact]
method VirtualJudge_WhenItHasLocalJudge_CanOutputTwoDifferentUsernames (line 1193) | [Fact]
method WhenInputErrorWorker_ShouldIgnore (line 1303) | [Fact]
FILE: backend/test/AcmStatisticsBackend.Tests/DependencyInjection/ServiceCollectionRegistrar.cs
class ServiceCollectionRegistrar (line 13) | public class ServiceCollectionRegistrar : IDisposable
method Register (line 17) | public void Register(IIocManager iocManager)
method Dispose (line 41) | public void Dispose()
FILE: backend/test/AcmStatisticsBackend.Tests/DependencyInjection/TestClockProvider.cs
class TestClockProvider (line 9) | public class TestClockProvider : IClockProvider
method Normalize (line 13) | public DateTime Normalize(DateTime dateTime)
FILE: backend/test/AcmStatisticsBackend.Tests/DependencyInjection/TestCrawlerApiBackendClient.cs
class TestCrawlerApiBackendClient (line 7) | public class TestCrawlerApiBackendClient : ICrawlerApiBackendClient
method GetCrawlerMeta (line 12) | public async Task<IReadOnlyCollection<CrawlerMetaItem>> GetCrawlerMeta()
FILE: backend/test/AcmStatisticsBackend.Tests/MultiTenantFactAttribute.cs
class MultiTenantFactAttribute (line 5) | public sealed class MultiTenantFactAttribute : FactAttribute
method MultiTenantFactAttribute (line 7) | public MultiTenantFactAttribute()
FILE: backend/test/AcmStatisticsBackend.Tests/ServiceClients/CaptchaServiceClient_Tests.cs
class CaptchaServiceClient_Tests (line 10) | public class CaptchaServiceClient_Tests
method CaptchaServiceClient_Tests (line 14) | public CaptchaServiceClient_Tests()
method WhenHttpResponseWithoutError_ShouldWorkCorrectly (line 19) | [Fact]
method WhenHttpResponseError_ShouldReportError (line 46) | [Fact]
FILE: backend/test/AcmStatisticsBackend.Tests/ServiceClients/CrawlerApiBackendClient_Tests.cs
class CrawlerApiBackendClient_Tests (line 11) | public class CrawlerApiBackendClient_Tests
method CrawlerApiBackendClient_Tests (line 15) | public CrawlerApiBackendClient_Tests()
method GetCrawlerMeta_ShouldWorkCorrectly (line 20) | [Fact]
FILE: backend/test/AcmStatisticsBackend.Tests/Sessions/SessionAppService_Tests.cs
class SessionAppService_Tests (line 8) | public class SessionAppService_Tests : AcmStatisticsBackendTestBase
method SessionAppService_Tests (line 12) | public SessionAppService_Tests()
method Should_Get_Current_User_And_Tenant_When_Logged_In_As_Tenant (line 17) | [Fact]
FILE: backend/test/AcmStatisticsBackend.Tests/Settings/UserConfigAppService_TimeZone_Tests.cs
class UserConfigAppService_TimeZone_Tests (line 12) | public class UserConfigAppService_TimeZone_Tests : AcmStatisticsBackendT...
method UserConfigAppService_TimeZone_Tests (line 17) | public UserConfigAppService_TimeZone_Tests()
method GetUserTimeZone_ShouldWork (line 26) | [Fact]
method GetUserTimeZone_WhenNoTimeZoneSet_ShouldReturnDefaultTimeZone (line 43) | [Fact]
method SetUserTimeZone_WhenTimeZoneIsInvalid_ShouldThrow (line 56) | [Fact]
method SetUserTimeZone_ShouldWork (line 67) | [Fact]
method SetUserTimeZone_CannotBeSetTwiceWithIn24Hours (line 84) | [Fact]
method SetUserTimeZone_WhenInputWithNonWindowsIds_ShouldThrow (line 117) | [Fact]
FILE: backend/test/AcmStatisticsBackend.Tests/TestExtensions.cs
class TestExtensions (line 8) | public static class TestExtensions
method ShouldThrow (line 10) | public static Task<ExceptionAssertions<T>> ShouldThrow<T>(
method ShouldThrow (line 19) | public static Task<ExceptionAssertions<TException>>
FILE: captcha-service/__mocks__/svg-captcha.js
method create (line 2) | create() {
FILE: captcha-service/src/app.js
constant CAPTCHA_AVAILABLE_TIME (line 20) | const CAPTCHA_AVAILABLE_TIME = process.env.CAPTCHA_AVAILABLE_TIME
FILE: crawler/__test__/crawlers.test.js
function checkRes (line 629) | function checkRes(res) {
FILE: crawler/__test__/functionGenerator.test.js
function ensureDirectoryExistence (line 74) | function ensureDirectoryExistence(filePath) {
function writeCrawlerMockFile (line 83) | function writeCrawlerMockFile(fileName, content) {
FILE: crawler/crawlers/codeforces.js
constant MAX_PAGE_SIZE (line 19) | const MAX_PAGE_SIZE = 10000
function queryForNumber (line 28) | async function queryForNumber(username, pageCount, acSet) {
FILE: crawler/crawlers/loj.js
function resolveSolvedList (line 38) | async function resolveSolvedList(username) {
FILE: crawler/crawlers/luogu.js
function getUserId (line 3) | async function getUserId(username) {
function getUserJson (line 21) | function getUserJson(text) {
FILE: crawler/crawlers/nit.js
function ojMap (line 61) | function ojMap(oj) {
FILE: crawler/crawlers/sdutoj.js
function fetchSDUTOJ (line 3) | async function fetchSDUTOJ(api, data) {
FILE: crawler/crawlers/timus.js
function queryList (line 50) | async function queryList(uri) {
FILE: crawler/crawlers/vjudge.js
constant MAX_PAGE_SIZE (line 9) | const MAX_PAGE_SIZE = 500
function tryLogin (line 121) | async function tryLogin() {
function mapOjName (line 160) | function mapOjName(nameInVjudge) {
FILE: crawler/lib/functionGenerator.js
function checkNumberFormat (line 46) | function checkNumberFormat(field) {
FILE: e2e/__test__/pages/pages_snapshot.test.js
function testPageByPath (line 8) | async function testPageByPath(path, authToken) {
FILE: e2e/cypress.config.js
method setupNodeEvents (line 7) | setupNodeEvents(on, config) {
FILE: e2e/cypress/integration/application/auto-save-history.spec.js
function specs (line 17) | function specs(enterStatistics) {
function enterStatisticsAndQuery (line 84) | function enterStatisticsAndQuery(enterFunc) {
FILE: e2e/cypress/integration/frontend/history.spec.js
function queryAndWait (line 215) | function queryAndWait(waitFor) {
function historyPageSnapshot (line 227) | function historyPageSnapshot(target = cy) {
FILE: e2e/cypress/integration/frontend/statistics.spec.js
function snapshot (line 118) | function snapshot(name) {
function waitAndRefresh (line 130) | function waitAndRefresh() {
FILE: e2e/http-mocks/src/index.js
function findInPath (line 47) | function findInPath(obj, path) {
FILE: e2e/http-mocks/src/mocks/history-snapshot.js
method history (line 2) | history(client) {
method summary (line 19) | summary(client) {
FILE: e2e/http-mocks/src/mocks/oj.js
method backend_ok (line 3) | backend_ok(client) {
FILE: frontend/__test__/StoreContextSimulator.js
class StoreContextSimulator (line 3) | class StoreContextSimulator {
method constructor (line 10) | constructor(state = null, {mutations, getters} = {}) {
method getCommitHistory (line 28) | getCommitHistory() {
method getCommiter (line 32) | getCommiter() {
method getGetters (line 44) | getGetters() {
FILE: frontend/components/consts.js
constant WORKER_STATUS (line 1) | const WORKER_STATUS = {
constant PROJECT_TITLE (line 7) | const PROJECT_TITLE = 'OJ Analyzer'
constant TIMEZONE_LIST (line 9) | const TIMEZONE_LIST = [
FILE: frontend/components/rulesMixin.js
method data (line 2) | data() {
FILE: frontend/components/statisticsUtils.js
function warningHelper (line 11) | function warningHelper(worker, crawlerMeta, {nullSolvedListCrawlers, wor...
function mapVirtualJudgeProblemTitle (line 57) | function mapVirtualJudgeProblemTitle(solvedList, crawlers) {
FILE: frontend/components/utils.js
function getDateFromTimestamp (line 8) | function getDateFromTimestamp(timestamp) {
function getAbpErrorMessage (line 16) | function getAbpErrorMessage(err) {
function delay (line 22) | function delay(t, v) {
FILE: frontend/modules/crawlerLoader/index.js
function buildSources (line 6) | async function buildSources() {
FILE: frontend/static/swagger/abp.swagger.js
function addAntiForgeryTokenToXhr (line 29) | function addAntiForgeryTokenToXhr(xhr) {
function loginUserInternal (line 36) | function loginUserInternal(tenantId, callback) {
function createInput (line 193) | function createInput(container, id, title, type) {
FILE: frontend/static/swagger/swagger-ui-bundle.js
function t (line 1) | function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{...
function e (line 1) | function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.en...
function r (line 1) | function r(e){return e&&e.__esModule?e:{default:e}}
function e (line 1) | function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype....
function t (line 1) | function t(e){return o(e)?e:O(e)}
function n (line 1) | function n(e){return a(e)?e:M(e)}
function r (line 1) | function r(e){return s(e)?e:T(e)}
function i (line 1) | function i(e){return o(e)&&!u(e)?e:P(e)}
function o (line 1) | function o(e){return!(!e||!e[ln])}
function a (line 1) | function a(e){return!(!e||!e[cn])}
function s (line 1) | function s(e){return!(!e||!e[pn])}
function u (line 1) | function u(e){return a(e)||s(e)}
function l (line 1) | function l(e){return!(!e||!e[fn])}
function c (line 1) | function c(e){return e.value=!1,e}
function p (line 1) | function p(e){e&&(e.value=!0)}
function f (line 1) | function f(){}
function h (line 1) | function h(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),i...
function d (line 1) | function d(e){return void 0===e.size&&(e.size=e.__iterate(v)),e.size}
function m (line 1) | function m(e,t){if("number"!=typeof t){var n=t>>>0;if(""+n!==t||42949672...
function v (line 1) | function v(){return!0}
function g (line 1) | function g(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!...
function y (line 1) | function y(e,t){return b(e,t,0)}
function _ (line 1) | function _(e,t){return b(e,t,t)}
function b (line 1) | function b(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:M...
function x (line 1) | function x(e){this.next=e}
function w (line 1) | function w(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={va...
function k (line 1) | function k(){return{value:void 0,done:!0}}
function E (line 1) | function E(e){return!!A(e)}
function S (line 1) | function S(e){return e&&"function"==typeof e.next}
function C (line 1) | function C(e){var t=A(e);return t&&t.call(e)}
function A (line 1) | function A(e){var t=e&&(wn&&e[wn]||e[kn]);if("function"==typeof t)return t}
function D (line 1) | function D(e){return e&&"number"==typeof e.length}
function O (line 1) | function O(e){return null===e||void 0===e?B():o(e)?e.toSeq():z(e)}
function M (line 1) | function M(e){return null===e||void 0===e?B().toKeyedSeq():o(e)?a(e)?e.t...
function T (line 1) | function T(e){return null===e||void 0===e?B():o(e)?a(e)?e.entrySeq():e.t...
function P (line 1) | function P(e){return(null===e||void 0===e?B():o(e)?a(e)?e.entrySeq():e:q...
function I (line 1) | function I(e){this._array=e,this.size=e.length}
function R (line 1) | function R(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size...
function j (line 1) | function j(e){this._iterable=e,this.size=e.length||e.size}
function N (line 1) | function N(e){this._iterator=e,this._iteratorCache=[]}
function F (line 1) | function F(e){return!(!e||!e[Sn])}
function B (line 1) | function B(){return Cn||(Cn=new I([]))}
function L (line 1) | function L(e){var t=Array.isArray(e)?new I(e).fromEntrySeq():S(e)?new N(...
function q (line 1) | function q(e){var t=U(e);if(!t)throw new TypeError("Expected Array or it...
function z (line 1) | function z(e){var t=U(e)||"object"==typeof e&&new R(e);if(!t)throw new T...
function U (line 1) | function U(e){return D(e)?new I(e):S(e)?new N(e):E(e)?new j(e):void 0}
function W (line 1) | function W(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a...
function V (line 1) | function V(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new...
function H (line 1) | function H(e,t){return t?J(t,e,"",{"":e}):G(e)}
function J (line 1) | function J(e,t,n,r){return Array.isArray(t)?e.call(r,n,T(t).map(function...
function G (line 1) | function G(e){return Array.isArray(e)?T(e).map(G).toList():X(e)?M(e).map...
function X (line 1) | function X(e){return e&&(e.constructor===Object||void 0===e.constructor)}
function Y (line 1) | function Y(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("f...
function K (line 1) | function K(e,t){if(e===t)return!0;if(!o(t)||void 0!==e.size&&void 0!==t....
function $ (line 1) | function $(e,t){if(!(this instanceof $))return new $(e,t);if(this._value...
function Z (line 1) | function Z(e,t){if(!e)throw new Error(t)}
function Q (line 1) | function Q(e,t,n){if(!(this instanceof Q))return new Q(e,t,n);if(Z(0!==n...
function ee (line 1) | function ee(){throw TypeError("Abstract")}
function te (line 1) | function te(){}
function ne (line 1) | function ne(){}
function re (line 1) | function re(){}
function ie (line 1) | function ie(e){return e>>>1&1073741824|3221225471&e}
function oe (line 1) | function oe(e){if(!1===e||null===e||void 0===e)return 0;if("function"==t...
function ae (line 1) | function ae(e){var t=Ln[e];return void 0===t&&(t=se(e),Bn===Fn&&(Bn=0,Ln...
function se (line 1) | function se(e){for(var t=0,n=0;n<e.length;n++)t=31*t+e.charCodeAt(n)|0;r...
function ue (line 1) | function ue(e){var t;if(In&&void 0!==(t=On.get(e)))return t;if(void 0!==...
function le (line 1) | function le(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uni...
function ce (line 1) | function ce(e){Z(e!==1/0,"Cannot perform this action with an infinite si...
function pe (line 1) | function pe(e){return null===e||void 0===e?we():fe(e)&&!l(e)?e:we().with...
function fe (line 1) | function fe(e){return!(!e||!e[qn])}
function he (line 1) | function he(e,t){this.ownerID=e,this.entries=t}
function de (line 1) | function de(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}
function me (line 1) | function me(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}
function ve (line 1) | function ve(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}
function ge (line 1) | function ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}
function ye (line 1) | function ye(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&be(...
function _e (line 1) | function _e(e,t){return w(e,t[0],t[1])}
function be (line 1) | function be(e,t){return{node:e,index:0,__prev:t}}
function xe (line 1) | function xe(e,t,n,r){var i=Object.create(zn);return i.size=e,i._root=t,i...
function we (line 1) | function we(){return Un||(Un=xe(0))}
function ke (line 1) | function ke(e,t,n){var r,i;if(e._root){var o=c(gn),a=c(yn);if(r=Ee(e._ro...
function Ee (line 1) | function Ee(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===vn?e:(...
function Se (line 1) | function Se(e){return e.constructor===ge||e.constructor===ve}
function Ce (line 1) | function Ce(e,t,n,r,i){if(e.keyHash===r)return new ve(t,r,[e.entry,i]);v...
function Ae (line 1) | function Ae(e,t,n,r){e||(e=new f);for(var i=new ge(e,oe(n),[n,r]),o=0;o<...
function De (line 1) | function De(e,t,n,r){for(var i=0,o=0,a=new Array(n),s=0,u=1,l=t.length;s...
function Oe (line 1) | function Oe(e,t,n,r,i){for(var o=0,a=new Array(dn),s=0;0!==n;s++,n>>>=1)...
function Me (line 1) | function Me(e,t,r){for(var i=[],a=0;a<r.length;a++){var s=r[a],u=n(s);o(...
function Te (line 1) | function Te(e,t,n){return e&&e.mergeDeep&&o(t)?e.mergeDeep(t):Y(e,t)?e:t}
function Pe (line 1) | function Pe(e){return function(t,n,r){if(t&&t.mergeDeepWith&&o(n))return...
function Ie (line 1) | function Ie(e,t,n){return n=n.filter(function(e){return 0!==e.size}),0==...
function Re (line 1) | function Re(e,t,n,r){var i=e===vn,o=t.next();if(o.done){var a=i?n:e,s=r(...
function je (line 1) | function je(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459...
function Ne (line 1) | function Ne(e,t,n,r){var i=r?e:h(e);return i[t]=n,i}
function Fe (line 1) | function Fe(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(...
function Be (line 1) | function Be(e,t,n){var r=e.length-1;if(n&&t===r)return e.pop(),e;for(var...
function Le (line 1) | function Le(e){var t=Ve();if(null===e||void 0===e)return t;if(qe(e))retu...
function qe (line 1) | function qe(e){return!(!e||!e[Jn])}
function ze (line 1) | function ze(e,t){this.array=e,this.ownerID=t}
function Ue (line 1) | function Ue(e,t){function n(e,t,n){return 0===t?r(e,n):i(e,t,n)}function...
function We (line 1) | function We(e,t,n,r,i,o,a){var s=Object.create(Gn);return s.size=t-e,s._...
function Ve (line 1) | function Ve(){return Xn||(Xn=We(0,0,hn))}
function He (line 1) | function He(e,t,n){if((t=m(e,t))!==t)return e;if(t>=e.size||t<0)return e...
function Je (line 1) | function Je(e,t,n,r,i,o){var a=r>>>n&mn,s=e&&a<e.array.length;if(!s&&voi...
function Ge (line 1) | function Ge(e,t){return t&&e&&t===e.ownerID?e:new ze(e?e.array.slice():[...
function Xe (line 1) | function Xe(e,t){if(t>=$e(e._capacity))return e._tail;if(t<1<<e._level+h...
function Ye (line 1) | function Ye(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__owner...
function Ke (line 1) | function Ke(e,t,n){for(var i=[],a=0,s=0;s<n.length;s++){var u=n[s],l=r(u...
function $e (line 1) | function $e(e){return e<dn?0:e-1>>>hn<<hn}
function Ze (line 1) | function Ze(e){return null===e||void 0===e?tt():Qe(e)?e:tt().withMutatio...
function Qe (line 1) | function Qe(e){return fe(e)&&l(e)}
function et (line 1) | function et(e,t,n,r){var i=Object.create(Ze.prototype);return i.size=e?e...
function tt (line 1) | function tt(){return Kn||(Kn=et(we(),Ve()))}
function nt (line 1) | function nt(e,t,n){var r,i,o=e._map,a=e._list,s=o.get(t),u=void 0!==s;if...
function rt (line 1) | function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}
function it (line 1) | function it(e){this._iter=e,this.size=e.size}
function ot (line 1) | function ot(e){this._iter=e,this.size=e.size}
function at (line 1) | function at(e){this._iter=e,this.size=e.size}
function st (line 1) | function st(e){var t=Dt(e);return t._iter=e,t.size=e.size,t.flip=functio...
function ut (line 1) | function ut(e,t,n){var r=Dt(e);return r.size=e.size,r.has=function(t){re...
function lt (line 1) | function lt(e,t){var n=Dt(e);return n._iter=e,n.size=e.size,n.reverse=fu...
function ct (line 1) | function ct(e,t,n,r){var i=Dt(e);return r&&(i.has=function(r){var i=e.ge...
function pt (line 1) | function pt(e,t,n){var r=pe().asMutable();return e.__iterate(function(i,...
function ft (line 1) | function ft(e,t,n){var r=a(e),i=(l(e)?Ze():pe()).asMutable();e.__iterate...
function ht (line 1) | function ht(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n==...
function dt (line 1) | function dt(e,t,n){var r=Dt(e);return r.__iterateUncached=function(r,i){...
function mt (line 1) | function mt(e,t,n,r){var i=Dt(e);return i.__iterateUncached=function(i,o...
function vt (line 1) | function vt(e,t){var r=a(e),i=[e].concat(t).map(function(e){return o(e)?...
function gt (line 1) | function gt(e,t,n){var r=Dt(e);return r.__iterateUncached=function(r,i){...
function yt (line 1) | function yt(e,t,n){var r=At(e);return e.toSeq().map(function(i,o){return...
function _t (line 1) | function _t(e,t){var n=Dt(e);return n.size=e.size&&2*e.size-1,n.__iterat...
function bt (line 1) | function bt(e,t,n){t||(t=Mt);var r=a(e),i=0,o=e.toSeq().map(function(t,r...
function xt (line 1) | function xt(e,t,n){if(t||(t=Mt),n){var r=e.toSeq().map(function(t,r){ret...
function wt (line 1) | function wt(e,t,n){var r=e(n,t);return 0===r&&n!==t&&(void 0===n||null==...
function kt (line 1) | function kt(e,n,r){var i=Dt(e);return i.size=new I(r).map(function(e){re...
function Et (line 1) | function Et(e,t){return F(e)?t:e.constructor(t)}
function St (line 1) | function St(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tup...
function Ct (line 1) | function Ct(e){return ce(e.size),d(e)}
function At (line 1) | function At(e){return a(e)?n:s(e)?r:i}
function Dt (line 1) | function Dt(e){return Object.create((a(e)?M:s(e)?T:P).prototype)}
function Ot (line 1) | function Ot(){return this._iter.cacheResult?(this._iter.cacheResult(),th...
function Mt (line 1) | function Mt(e,t){return e>t?1:e<t?-1:0}
function Tt (line 1) | function Tt(e){var n=C(e);if(!n){if(!D(e))throw new TypeError("Expected ...
function Pt (line 1) | function Pt(e,t){var n,r=function(o){if(o instanceof r)return o;if(!(thi...
function It (line 1) | function It(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return ...
function Rt (line 1) | function Rt(e){return e._name||e.constructor.name||"Record"}
function jt (line 1) | function jt(e,t){try{t.forEach(Nt.bind(void 0,e))}catch(e){}}
function Nt (line 1) | function Nt(e,t){Object.defineProperty(e,t,{get:function(){return this.g...
function Ft (line 1) | function Ft(e){return null===e||void 0===e?zt():Bt(e)&&!l(e)?e:zt().with...
function Bt (line 1) | function Bt(e){return!(!e||!e[Zn])}
function Lt (line 1) | function Lt(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._ma...
function qt (line 1) | function qt(e,t){var n=Object.create(Qn);return n.size=e?e.size:0,n._map...
function zt (line 1) | function zt(){return er||(er=qt(we()))}
function Ut (line 1) | function Ut(e){return null===e||void 0===e?Ht():Wt(e)?e:Ht().withMutatio...
function Wt (line 1) | function Wt(e){return Bt(e)&&l(e)}
function Vt (line 1) | function Vt(e,t){var n=Object.create(tr);return n.size=e?e.size:0,n._map...
function Ht (line 1) | function Ht(){return nr||(nr=Vt(tt()))}
function Jt (line 1) | function Jt(e){return null===e||void 0===e?Yt():Gt(e)?e:Yt().unshiftAll(e)}
function Gt (line 1) | function Gt(e){return!(!e||!e[rr])}
function Xt (line 1) | function Xt(e,t,n,r){var i=Object.create(ir);return i.size=e,i._head=t,i...
function Yt (line 1) | function Yt(){return or||(or=Xt(0))}
function Kt (line 1) | function Kt(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.ke...
function $t (line 1) | function $t(e,t){return t}
function Zt (line 1) | function Zt(e,t){return[t,e]}
function Qt (line 1) | function Qt(e){return function(){return!e.apply(this,arguments)}}
function en (line 1) | function en(e){return function(){return-e.apply(this,arguments)}}
function tn (line 1) | function tn(e){return"string"==typeof e?JSON.stringify(e):String(e)}
function nn (line 1) | function nn(){return h(arguments)}
function rn (line 1) | function rn(e,t){return e<t?1:e>t?-1:0}
function on (line 1) | function on(e){if(e.size===1/0)return 0;var t=l(e),n=a(e),r=t?1:0;return...
function an (line 1) | function an(e,t){return t=Mn(t,3432918353),t=Mn(t<<15|t>>>-15,461845907)...
function sn (line 1) | function sn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}
function r (line 1) | function r(e,t,n,r,o,a,s,u){if(i(t),!e){var l;if(void 0===t)l=new Error(...
function r (line 1) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 1) | function i(e){try{var t=JSON.parse(e);if(t&&"object"===(void 0===t?"unde...
function o (line 1) | function o(e){return p(e)?oe(e)?e.toObject():e:{}}
function a (line 1) | function a(e){return e?e.toArray?e.toArray():l(e):[]}
function s (line 1) | function s(e){return oe(e)?e:e instanceof te.default.File?e:p(e)?Array.i...
function u (line 1) | function u(e,t){var n={};return(0,j.default)(e).filter(function(t){retur...
function l (line 1) | function l(e){return Array.isArray(e)?e:[e]}
function c (line 1) | function c(e){return"function"==typeof e}
function p (line 1) | function p(e){return!!e&&"object"===(void 0===e?"undefined":(0,F.default...
function f (line 1) | function f(e){return"function"==typeof e}
function h (line 1) | function h(e){return Array.isArray(e)}
function d (line 1) | function d(e,t){return(0,j.default)(e).reduce(function(n,r){return n[r]=...
function m (line 1) | function m(e,t){return(0,j.default)(e).reduce(function(n,r){var i=t(e[r]...
function v (line 1) | function v(e){return function(t){t.dispatch,t.getState;return function(t...
function g (line 1) | function g(e){var t=e.keySeq();return t.contains(ie)?ie:t.filter(functio...
function y (line 1) | function y(e,t){if(!L.default.Iterable.isIterable(e))return L.default.Li...
function _ (line 1) | function _(e){var t=document;if(!e)return"";if(e.textContent.length>5e3)...
function b (line 1) | function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
function x (line 1) | function x(e){var t=/filename="([^;]*);?"/i.exec(e);return null===t&&(t=...
function w (line 1) | function w(e){return(0,V.default)((0,U.default)(e))}
function k (line 1) | function k(e){return w(e.replace(/\.[^.\/]*$/,""))}
function E (line 1) | function E(e){return"string"!=typeof e||""===e?"":(0,q.sanitizeUrl)(e)}
function S (line 1) | function S(e){if(!L.default.OrderedMap.isOrderedMap(e))return null;if(!e...
function r (line 1) | function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+...
function r (line 1) | function r(e){var t=typeof e;return Array.isArray(e)?"array":e instanceo...
function i (line 1) | function i(e){function t(t,n,r,i,o,a){for(var s=arguments.length,u=Array...
function o (line 1) | function o(e,t){function n(n,i,o,a,s){var u=n[i];if(!t(u)){var l=r(u);re...
function a (line 1) | function a(e,t,n){function o(i,o,a,s,u){for(var l=arguments.length,c=Arr...
function s (line 1) | function s(e){function t(t,n,r,i,o){for(var a=arguments.length,s=Array(a...
function u (line 1) | function u(e){return a(e,"List",b.List.isList)}
function l (line 1) | function l(e,t,n,r){function o(){for(var i=arguments.length,o=Array(i),u...
function c (line 1) | function c(e,t){return l(e,t,"Map",b.Map.isMap)}
function p (line 1) | function p(e,t){return l(e,t,"OrderedMap",b.OrderedMap.isOrderedMap)}
function f (line 1) | function f(e){return a(e,"Set",b.Set.isSet)}
function h (line 1) | function h(e){return a(e,"OrderedSet",b.OrderedSet.isOrderedSet)}
function d (line 1) | function d(e){return a(e,"Stack",b.Stack.isStack)}
function m (line 1) | function m(e){return a(e,"Iterable",b.Iterable.isIterable)}
function v (line 1) | function v(e){function t(t,n,i,o,a){for(var s=arguments.length,u=Array(s...
function g (line 1) | function g(e){function t(t,i,a,s,u){for(var l=arguments.length,c=Array(l...
function y (line 1) | function y(e){return g(e)}
function _ (line 1) | function _(e){return g(e,"Map",b.Map.isMap)}
function r (line 1) | function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign...
function r (line 6) | function r(e,t){return 1===e.nodeType&&e.getAttribute(d)===String(t)||8=...
function i (line 6) | function i(e){for(var t;t=e._renderedComponent;)e=t;return e}
function o (line 6) | function o(e,t){var n=i(e);n._hostNode=t,t[v]=n}
function a (line 6) | function a(e){var t=e._hostNode;t&&(delete t[v],e._hostNode=null)}
function s (line 6) | function s(e,t){if(!(e._flags&m.hasCachedChildNodes)){var n=e._renderedC...
function u (line 6) | function u(e){if(e[v])return e[v];for(var t=[];!e[v];){if(t.push(e),!e.p...
function l (line 6) | function l(e){var t=u(e);return null!=t&&t._hostNode===e?t:null}
function c (line 6) | function c(e){if(void 0===e._hostNode&&p("33"),e._hostNode)return e._hos...
function r (line 6) | function r(e){var t={};return null!==e&&Object.keys(e).forEach(function(...
function i (line 6) | function i(e,t){if(t=t||{},Object.keys(t).forEach(function(t){if(-1===a....
function r (line 6) | function r(e){return e&&e.__esModule?e:{default:e}}
function e (line 6) | function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=(0,s.default...
function r (line 6) | function r(e){return Object.prototype.toString.call(e)}
function i (line 6) | function i(e){return"[object String]"===r(e)}
function o (line 6) | function o(e,t){return!!e&&d.call(e,t)}
function a (line 6) | function a(e){return[].slice.call(arguments,1).forEach(function(t){if(t)...
function s (line 6) | function s(e){return e.indexOf("\\")<0?e:e.replace(m,"$1")}
function u (line 6) | function u(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(6553...
function l (line 6) | function l(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);...
function c (line 6) | function c(e,t){var n=0;return o(y,t)?y[t]:35===t.charCodeAt(0)&&g.test(...
function p (line 6) | function p(e){return e.indexOf("&")<0?e:e.replace(v,c)}
function f (line 6) | function f(e){return x[e]}
function h (line 6) | function h(e){return _.test(e)?e.replace(b,f):e}
function r (line 6) | function r(e){return function(){return e}}
function n (line 6) | function n(){throw new Error("setTimeout has not been defined")}
function r (line 6) | function r(){throw new Error("clearTimeout has not been defined")}
function i (line 6) | function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&s...
function o (line 6) | function o(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&...
function a (line 6) | function a(){m&&h&&(m=!1,h.length?d=h.concat(d):v=-1,d.length&&s())}
function s (line 6) | function s(){if(!m){var e=i(a);m=!0;for(var t=d.length;t;){for(h=d,d=[];...
function u (line 6) | function u(e,t){this.fun=e,this.array=t}
function l (line 6) | function l(){}
function r (line 6) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 6) | function i(e){var t=e.get("openapi");return!!t&&t.startsWith("3")}
function o (line 6) | function o(e){var t=e.get("swagger");return!!t&&t.startsWith("2")}
function a (line 6) | function a(e){return function(t,n){return function(r){if(n&&n.specSelect...
function n (line 6) | function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}
function r (line 6) | function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}
function i (line 6) | function i(e,t){if(r()<t)throw new RangeError("Invalid typed array lengt...
function o (line 6) | function o(e,t,n){if(!(o.TYPED_ARRAY_SUPPORT||this instanceof o))return ...
function a (line 6) | function a(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" a...
function s (line 6) | function s(e){if("number"!=typeof e)throw new TypeError('"size" argument...
function u (line 6) | function u(e,t,n,r){return s(t),t<=0?i(e,t):void 0!==n?"string"==typeof ...
function l (line 6) | function l(e,t){if(s(t),e=i(e,t<0?0:0|d(t)),!o.TYPED_ARRAY_SUPPORT)for(v...
function c (line 6) | function c(e,t,n){if("string"==typeof n&&""!==n||(n="utf8"),!o.isEncodin...
function p (line 6) | function p(e,t){var n=t.length<0?0:0|d(t.length);e=i(e,n);for(var r=0;r<...
function f (line 6) | function f(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeE...
function h (line 6) | function h(e,t){if(o.isBuffer(t)){var n=0|d(t.length);return e=i(e,n),0=...
function d (line 6) | function d(e){if(e>=r())throw new RangeError("Attempt to allocate Buffer...
function m (line 6) | function m(e){return+e!=e&&(e=0),o.alloc(+e)}
function v (line 6) | function v(e,t){if(o.isBuffer(e))return e.length;if("undefined"!=typeof ...
function g (line 6) | function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)ret...
function y (line 6) | function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}
function _ (line 6) | function _(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=...
function b (line 6) | function b(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t...
function x (line 6) | function x(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(...
function w (line 6) | function w(e,t,n,r){return X(V(t,e.length-n),e,n,r)}
function k (line 6) | function k(e,t,n,r){return X(H(t),e,n,r)}
function E (line 6) | function E(e,t,n,r){return k(e,t,n,r)}
function S (line 6) | function S(e,t,n,r){return X(G(t),e,n,r)}
function C (line 6) | function C(e,t,n,r){return X(J(t,e.length-n),e,n,r)}
function A (line 6) | function A(e,t,n){return 0===t&&n===e.length?K.fromByteArray(e):K.fromBy...
function D (line 6) | function D(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o=e[...
function O (line 6) | function O(e){var t=e.length;if(t<=Q)return String.fromCharCode.apply(St...
function M (line 6) | function M(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+...
function T (line 6) | function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+...
function P (line 6) | function P(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);...
function I (line 6) | function I(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=Str...
function R (line 6) | function R(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uin...
function j (line 6) | function j(e,t,n,r,i,a){if(!o.isBuffer(e))throw new TypeError('"buffer" ...
function N (line 6) | function N(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n...
function F (line 6) | function F(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.len...
function B (line 6) | function B(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out ...
function L (line 6) | function L(e,t,n,r,i){return i||B(e,t,n,4,3.4028234663852886e38,-3.40282...
function q (line 6) | function q(e,t,n,r,i){return i||B(e,t,n,8,1.7976931348623157e308,-1.7976...
function z (line 6) | function z(e){if(e=U(e).replace(ee,""),e.length<2)return"";for(;e.length...
function U (line 6) | function U(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}
function W (line 6) | function W(e){return e<16?"0"+e.toString(16):e.toString(16)}
function V (line 6) | function V(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a<r;++a){i...
function H (line 6) | function H(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n)...
function J (line 6) | function J(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.c...
function G (line 6) | function G(e){return K.toByteArray(z(e))}
function X (line 6) | function X(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t...
function Y (line 6) | function Y(e){return e!==e}
function r (line 12) | function r(){D.ReactReconcileTransaction&&w||c("123")}
function i (line 12) | function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=n...
function o (line 12) | function o(e,t,n,i,o,a){return r(),w.batchedUpdates(e,t,n,i,o,a)}
function a (line 12) | function a(e,t){return e._mountOrder-t._mountOrder}
function s (line 12) | function s(e){var t=e.dirtyComponentsLength;t!==y.length&&c("124",t,y.le...
function u (line 12) | function u(e){if(r(),!w.isBatchingUpdates)return void w.batchedUpdates(u...
function l (line 12) | function l(e,t){g(w.isBatchingUpdates,"ReactUpdates.asap: Can't enqueue ...
function r (line 12) | function r(){this.constructor=e}
function t (line 12) | function t(e,t,n,r){this.line=e,this.column=t,this.buffer=n,this.pointer=r}
function n (line 12) | function n(e){this.message=e,n.__super__.constructor.call(this),this.sta...
function n (line 12) | function n(e,t,r,i,o){this.context=e,this.context_mark=t,this.problem=r,...
function r (line 12) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 12) | function r(e,t,n){return n?[e,t]:e}
function n (line 12) | function n(e){return null!=e&&"object"==typeof e}
function r (line 12) | function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.native...
function r (line 12) | function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.len...
function i (line 12) | function i(e,t){return e===t}
function o (line 12) | function o(e){var t=arguments.length<=1||void 0===arguments[1]?i:argumen...
function a (line 12) | function a(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){r...
function s (line 12) | function s(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)...
function u (line 12) | function u(){return s(o).apply(void 0,arguments)}
function l (line 12) | function l(e){var t=arguments.length<=1||void 0===arguments[1]?u:argumen...
function e (line 12) | function e(){this.string=""}
function r (line 12) | function r(e){return null==e?void 0===e?u:s:l&&l in Object(e)?o(e):a(e)}
function r (line 12) | function r(e,t){var n=o(e,t);return i(n)?n:void 0}
function r (line 12) | function r(e){return a(e)?i(e):o(e)}
function r (line 12) | function r(e){if(!(this instanceof r))return new r(e);l.call(this,e),c.c...
function i (line 12) | function i(){this.allowHalfOpen||this._writableState.ended||a.nextTick(o...
function o (line 12) | function o(e){e.end()}
function r (line 12) | function r(e){return void 0===e||null===e}
function i (line 12) | function i(e){return"object"==typeof e&&null!==e}
function o (line 12) | function o(e){return Array.isArray(e)?e:r(e)?[]:[e]}
function a (line 12) | function a(e,t){var n,r,i,o;if(t)for(o=Object.keys(t),n=0,r=o.length;n<r...
function s (line 12) | function s(e,t){var n,r="";for(n=0;n<t;n+=1)r+=e;return r}
function u (line 12) | function u(e){return 0===e&&Number.NEGATIVE_INFINITY===1/e}
function r (line 12) | function r(e,t,n){var i=[];return e.include.forEach(function(e){n=r(e,t,...
function i (line 12) | function i(){function e(e){r[e.kind][e.tag]=r.fallback[e.tag]=e}var t,n,...
function o (line 12) | function o(e){this.include=e.include||[],this.implicit=e.implicit||[],th...
function r (line 12) | function r(e,t){return i(e)?e:o(e,t)?[e]:a(s(e))}
function r (line 12) | function r(e,t,n,r){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){v...
function r (line 12) | function r(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"=...
function r (line 12) | function r(e){return null!=e&&o(e.length)&&!i(e)}
function r (line 12) | function r(e){return null==e?"":i(e)}
function r (line 12) | function r(e){if(d){var t=e.node,n=e.children;if(n.length)for(var r=0;r<...
function i (line 12) | function i(e,t){e.parentNode.replaceChild(t.node,e),r(t)}
function o (line 12) | function o(e,t){d?e.children.push(t):e.node.appendChild(t.node)}
function a (line 12) | function a(e,t){d?e.html=t:p(e.node,t)}
function s (line 12) | function s(e,t){d?e.text=t:h(e.node,t)}
function u (line 12) | function u(){return this.node.nodeName}
function l (line 12) | function l(e){return{node:e,children:[],html:null,text:null,toString:u}}
function r (line 12) | function r(e,t){return(e&t)===t}
function r (line 12) | function r(){i.attachRefs(this,this._currentElement)}
function r (line 12) | function r(e){return void 0!==e.ref}
function i (line 12) | function i(e){return void 0!==e.key}
function r (line 12) | function r(){this.constructor=e}
function t (line 12) | function t(t,n,r,i){this.tag=t,this.value=n,this.start_mark=r,this.end_m...
function n (line 12) | function n(e,t,r,i,o){this.tag=e,this.value=t,this.start_mark=r,this.end...
function n (line 12) | function n(e,t,r,i,o){this.tag=e,this.value=t,this.start_mark=r,this.end...
function n (line 12) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 12) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 12) | function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===v...
function r (line 12) | function r(e){return"boolean"==typeof e}
function i (line 12) | function i(e){return null===e}
function o (line 12) | function o(e){return null==e}
function a (line 12) | function a(e){return"number"==typeof e}
function s (line 12) | function s(e){return"string"==typeof e}
function u (line 12) | function u(e){return"symbol"==typeof e}
function l (line 12) | function l(e){return void 0===e}
function c (line 12) | function c(e){return"[object RegExp]"===v(e)}
function p (line 12) | function p(e){return"object"==typeof e&&null!==e}
function f (line 12) | function f(e){return"[object Date]"===v(e)}
function h (line 12) | function h(e){return"[object Error]"===v(e)||e instanceof Error}
function d (line 12) | function d(e){return"function"==typeof e}
function m (line 12) | function m(e){return null===e||"boolean"==typeof e||"number"==typeof e||...
function v (line 12) | function v(e){return Object.prototype.toString.call(e)}
function r (line 12) | function r(e){return"string"==typeof e&&i.test(e)}
function r (line 12) | function r(t,n){return delete e.exports[t],e.exports[t]=n,n}
method FeedHandler (line 12) | get FeedHandler(){return r("FeedHandler",n(775))}
method Stream (line 12) | get Stream(){return r("Stream",n(777))}
method WritableStream (line 12) | get WritableStream(){return r("WritableStream",n(391))}
method ProxyHandler (line 12) | get ProxyHandler(){return r("ProxyHandler",n(776))}
method DomUtils (line 12) | get DomUtils(){return r("DomUtils",n(717))}
method CollectingHandler (line 12) | get CollectingHandler(){return r("CollectingHandler",n(774))}
method RssHandler (line 12) | get RssHandler(){return r("RssHandler",this.FeedHandler)}
function r (line 12) | function r(e,t){Error.call(this),this.name="YAMLException",this.reason=e...
function n (line 12) | function n(e,t){return e===t||e!==e&&t!==t}
function n (line 12) | function n(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n...
function r (line 12) | function r(e){var t=e.match(y);return t?{scheme:t[1],auth:t[2],host:t[3]...
function i (line 12) | function i(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth...
function o (line 12) | function o(e){var n=e,o=r(e);if(o){if(!o.path)return e;n=o.path}for(var ...
function a (line 12) | function a(e,t){""===e&&(e="."),""===t&&(t=".");var n=r(t),a=r(e);if(a&&...
function s (line 12) | function s(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t....
function u (line 12) | function u(e){return e}
function l (line 12) | function l(e){return p(e)?"$"+e:e}
function c (line 12) | function c(e){return p(e)?e.slice(1):e}
function p (line 12) | function p(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.ch...
function f (line 12) | function f(e,t,n){var r=d(e.source,t.source);return 0!==r?r:0!==(r=e.ori...
function h (line 12) | function h(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0...
function d (line 12) | function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}
function m (line 12) | function m(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!=...
function v (line 12) | function v(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}
function g (line 12) | function g(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/...
function r (line 12) | function r(e){return"button"===e||"input"===e||"select"===e||"textarea"=...
function i (line 12) | function i(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDo...
function r (line 12) | function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];retu...
function i (line 12) | function i(e,t,n){var i=r(e,n,t);i&&(n._dispatchListeners=m(n._dispatchL...
function o (line 12) | function o(e){e&&e.dispatchConfig.phasedRegistrationNames&&d.traverseTwo...
function a (line 12) | function a(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._t...
function s (line 12) | function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispa...
function u (line 12) | function u(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null...
function l (line 12) | function l(e){v(e,o)}
function c (line 12) | function c(e){v(e,a)}
function p (line 12) | function p(e,t,n,r){d.traverseEnterLeave(n,r,s,e,t)}
function f (line 12) | function f(e){v(e,u)}
function r (line 12) | function r(e,t,n,r){return i.call(this,e,t,n,r)}
function r (line 12) | function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+...
function r (line 12) | function r(){this.constructor=e}
function e (line 12) | function e(e,t){this.start_mark=e,this.end_mark=t}
function n (line 12) | function n(e,t,n){this.anchor=e,this.start_mark=t,this.end_mark=n}
function n (line 12) | function n(e,t,n,r,i,o){this.anchor=e,this.tag=t,this.implicit=n,this.st...
function n (line 12) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 12) | function n(e,t,n){this.start_mark=e,this.end_mark=t,this.encoding=n}
function n (line 12) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 12) | function n(e,t,n,r,i){this.start_mark=e,this.end_mark=t,this.explicit=n,...
function n (line 12) | function n(e,t,n){this.start_mark=e,this.end_mark=t,this.explicit=n}
function n (line 12) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 12) | function n(e,t,n,r,i,o,a){this.anchor=e,this.tag=t,this.implicit=n,this....
function n (line 12) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 12) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 12) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 12) | function n(){return n.__super__.constructor.apply(this,arguments)}
function r (line 12) | function r(e){return{type:f,payload:(0,p.default)(e)}}
function i (line 12) | function i(e){return{type:h,payload:e}}
function o (line 12) | function o(e){return{type:d,payload:e}}
function a (line 12) | function a(e){return{type:m,payload:e}}
function s (line 12) | function s(e){return{type:v,payload:e}}
function u (line 12) | function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function l (line 12) | function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 12) | function n(){this._events=this._events||{},this._maxListeners=this._maxL...
function r (line 12) | function r(e){return"function"==typeof e}
function i (line 12) | function i(e){return"number"==typeof e}
function o (line 12) | function o(e){return"object"==typeof e&&null!==e}
function a (line 12) | function a(e){return void 0===e}
function n (line 12) | function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}
function r (line 12) | function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var...
function r (line 12) | function r(e,t,n){var r=e[t];s.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||...
function r (line 12) | function r(e,t){for(var n=e.length;n--;)if(i(e[n][0],t))return n;return-1}
function r (line 12) | function r(e,t){t=i(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[o(t[n+...
function r (line 12) | function r(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?...
function r (line 12) | function r(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"strin...
function n (line 12) | function n(e,t){var n=typeof e;return!!(t=null==t?r:t)&&("number"==n||"s...
function n (line 12) | function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t...
function r (line 12) | function r(e){return"symbol"==typeof e||o(e)&&i(e)==a}
function r (line 12) | function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function i (line 12) | function i(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function o (line 12) | function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("S...
function t (line 12) | function t(n){r(this,t);var o=i(this,e.call(this,n));return o.type="atru...
function r (line 12) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 12) | function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function o (line 12) | function o(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function a (line 12) | function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("S...
function e (line 12) | function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.en...
function t (line 12) | function t(n){i(this,t);var r=o(this,e.call(this,n));return r.type="rule...
function n (line 12) | function n(e,n,r,i){if("function"!=typeof e)throw new TypeError('"callba...
function r (line 12) | function r(e){return Object.prototype.hasOwnProperty.call(e,m)||(e[m]=h+...
function r (line 12) | function r(e,t,n,r){return i.call(this,e,t,n,r)}
function r (line 12) | function r(e){var t=""+e,n=o.exec(t);if(!n)return t;var r,i="",a=0,s=0;f...
function i (line 12) | function i(e){return"boolean"==typeof e||"number"==typeof e?""+e:r(e)}
function r (line 12) | function r(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.ca...
function r (line 12) | function r(){this.__rules__=[],this.__cache__=null}
function r (line 12) | function r(e,t){for(var n in e)t[n]=e[n]}
function i (line 12) | function i(e,t,n){return a(e,t,n)}
function r (line 12) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 12) | function i(e){return{type:v,payload:e}}
function o (line 12) | function o(e){return{type:g,payload:e}}
function a (line 12) | function a(e){return{type:y,payload:e}}
function s (line 12) | function s(e){return{type:_,payload:e}}
function u (line 12) | function u(e){return{type:b,payload:e}}
function r (line 12) | function r(e,t){return{type:s,payload:(0,a.default)({},e,t)}}
function i (line 12) | function i(e){return{type:u,payload:e}}
function r (line 12) | function r(e){return{type:u,payload:e}}
function i (line 12) | function i(e){return{type:l,payload:e}}
function o (line 12) | function o(e){var t=!(arguments.length>1&&void 0!==arguments[1])||argume...
function a (line 12) | function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
function r (line 12) | function r(e,t){return{type:u,payload:{selectedServerUrl:e,namespace:t}}}
function i (line 12) | function i(e){var t=e.value,n=e.pathMethod;return{type:l,payload:{value:...
function o (line 12) | function o(e){var t=e.value,n=e.pathMethod;return{type:c,payload:{value:...
function a (line 12) | function a(e){var t=e.value,n=e.path,r=e.method;return{type:p,payload:{v...
function s (line 12) | function s(e){var t=e.server,n=e.namespace,r=e.key,i=e.val;return{type:f...
function r (line 12) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 12) | function i(e,t){var n=h(e,t);if(n)return(0,s.default)(n,{declaration:!0,...
function r (line 12) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 12) | function i(e){var t=se(e).replace(/\t/g," ");if("string"==typeof e)retu...
function o (line 12) | function o(e){return{type:ie,payload:e}}
function a (line 12) | function a(e){return{type:J,payload:e}}
function s (line 12) | function s(e){return{type:G,payload:e}}
function u (line 12) | function u(e,t,n,r,i){return{type:X,payload:{path:e,value:r,paramName:t,...
function l (line 12) | function l(e){return{type:ne,payload:{pathMethod:e}}}
function c (line 12) | function c(e,t){return{type:re,payload:{path:e,value:t,key:"consumes_val...
function p (line 12) | function p(e,t){return{type:re,payload:{path:e,value:t,key:"produces_val...
function f (line 12) | function f(e,t){return{type:ee,payload:{path:e,method:t}}}
function h (line 12) | function h(e,t){return{type:te,payload:{path:e,method:t}}}
function d (line 12) | function d(e,t,n){return{type:ae,payload:{scheme:e,path:t,method:n}}}
function r (line 12) | function r(e,t,n,r){return t=t||[],e.getIn(["meta","paths"].concat((0,f....
function i (line 12) | function i(e,t,n){return t=t||[],j.apply(void 0,[e].concat((0,f.default)...
function o (line 12) | function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
function a (line 12) | function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
function s (line 12) | function s(e,t){t=t||[];var n=b(e).getIn(["paths"].concat((0,f.default)(...
function u (line 12) | function u(e,t){return t=t||[],b(e).getIn(["paths"].concat((0,f.default)...
function l (line 12) | function l(e,t){t=t||[];var n=b(e).getIn(["paths"].concat((0,f.default)(...
function c (line 12) | function c(e){return m.Map.isMap(e)?e:new m.Map}
function r (line 12) | function r(e){switch(e._type){case"document":case"block_quote":case"list...
function r (line 12) | function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||vo...
function r (line 12) | function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||vo...
function n (line 38) | function n(e){return e instanceof t||e instanceof Date||e instanceof Reg...
function r (line 38) | function r(e){if(e instanceof t){var n=new t(e.length);return e.copy(n),...
function i (line 38) | function i(e){var t=[];return e.forEach(function(e,a){"object"==typeof e...
function n (line 38) | function n(e,t){return f.call(e,t)}
function r (line 38) | function r(e){if(Array.isArray(e)){for(var t=new Array(e.length),r=0;r<t...
function i (line 38) | function i(e){switch(typeof e){case"object":return JSON.parse(JSON.strin...
function o (line 38) | function o(e){for(var t,n=0,r=e.length;n<r;){t=e.charCodeAt(n);{if(!(t>=...
function a (line 38) | function a(e){return-1===e.indexOf("/")&&-1===e.indexOf("~")?e:e.replace...
function s (line 38) | function s(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}
function u (line 38) | function u(e,t){var r;for(var i in e)if(n(e,i)){if(e[i]===t)return a(i)+...
function l (line 38) | function l(e,t){if(e===t)return"/";var n=u(e,t);if(""===n)throw new Erro...
function c (line 38) | function c(e){if(void 0===e)return!0;if(e)if(Array.isArray(e)){for(var t...
function n (line 38) | function n(){this.constructor=e}
function t (line 38) | function t(t,n,r,i,o){e.call(this,t),this.message=t,this.name=n,this.ind...
function r (line 38) | function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}
function i (line 38) | function i(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"obj...
function r (line 38) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 38) | function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}
function r (line 38) | function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var...
function r (line 38) | function r(e){var t=this.__data__=new i(e);this.size=t.size}
function n (line 38) | function n(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];re...
function n (line 38) | function n(e){return function(t){return e(t)}}
function r (line 38) | function r(e){var t=new e.constructor(e.byteLength);return new i(t).set(...
function r (line 38) | function r(e,t){if(i(e))return!1;var n=typeof e;return!("number"!=n&&"sy...
function r (line 38) | function r(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}
function n (line 38) | function n(e){return e}
function n (line 38) | function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}
function r (line 38) | function r(e){if(!a(e)||i(e)!=s)return!1;var t=o(e);if(null===t)return!0...
function n (line 38) | function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e....
function r (line 38) | function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.leng...
function r (line 38) | function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-...
function r (line 38) | function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function i (line 38) | function i(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function o (line 38) | function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("S...
function t (line 38) | function t(n){r(this,t);var o=i(this,e.call(this,n));return o.type="comm...
function r (line 38) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 38) | function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function o (line 38) | function o(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function a (line 38) | function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("S...
function s (line 38) | function s(e){return e.map(function(e){return e.nodes&&(e.nodes=s(e.node...
function e (line 38) | function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.en...
function t (line 38) | function t(){return i(this,t),o(this,e.apply(this,arguments))}
function r (line 38) | function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function i (line 38) | function i(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function o (line 38) | function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("S...
function t (line 38) | function t(n){r(this,t);var o=i(this,e.call(this,n));return o.type="decl...
function r (line 38) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 38) | function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function e (line 38) | function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function r (line 38) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 38) | function i(e,t){if(t&&t.safe)throw new Error('Option safe was removed. U...
function r (line 38) | function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function i (line 38) | function i(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function o (line 38) | function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("S...
function t (line 38) | function t(n){r(this,t);var o=i(this,e.call(this,n));return o.type="root...
function r (line 38) | function r(e,t){new o.default(t).stringify(e)}
function r (line 38) | function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firs...
function i (line 38) | function i(e,t,n){c.insertTreeBefore(e,t,n)}
function o (line 38) | function o(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):m(e,t,n)}
function a (line 38) | function a(e,t){if(Array.isArray(t)){var n=t[1];t=t[0],u(e,t,n),e.remove...
function s (line 38) | function s(e,t,n,r){for(var i=t;;){var o=i.nextSibling;if(m(e,i,r),i===n...
function u (line 38) | function u(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChi...
function l (line 38) | function l(e,t,n){var r=e.parentNode,i=e.nextSibling;i===t?n&&m(r,docume...
function r (line 38) | function r(){if(s)for(var e in u){var t=u[e],n=s.indexOf(e);if(n>-1||a("...
function i (line 38) | function i(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)&&a("99",n...
function o (line 38) | function o(e,t,n){l.registrationNameModules[e]&&a("100",e),l.registratio...
function r (line 38) | function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel...
function i (line 38) | function i(e){return"topMouseMove"===e||"topTouchMove"===e}
function o (line 38) | function o(e){return"topMouseDown"===e||"topTouchStart"===e}
function a (line 38) | function a(e,t,n,r){var i=e.type||"unknown-event";e.currentTarget=g.getN...
function s (line 38) | function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Arr...
function u (line 38) | function u(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array...
function l (line 38) | function l(e){var t=u(e);return e._dispatchInstances=null,e._dispatchLis...
function c (line 38) | function c(e){var t=e._dispatchListeners,n=e._dispatchInstances;Array.is...
function p (line 38) | function p(e){return!!e._dispatchListeners}
function r (line 38) | function r(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g...
function i (line 38) | function i(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===e[...
function r (line 38) | function r(e){null!=e.checkedLink&&null!=e.valueLink&&s("87")}
function i (line 38) | function i(e){r(e),(null!=e.value||null!=e.onChange)&&s("88")}
function o (line 38) | function o(e){r(e),(null!=e.checked||null!=e.onChange)&&s("89")}
function a (line 38) | function a(e){if(e){var t=e.getName();if(t)return" Check the render meth...
function r (line 38) | function r(e,t,n){try{t(n)}catch(e){null===i&&(i=e)}}
function r (line 38) | function r(e){u.enqueueUpdate(e)}
function i (line 38) | function i(e){var t=typeof e;if("object"!==t)return t;var n=e.constructo...
function o (line 38) | function o(e,t){var n=s.get(e);if(!n){return null}return n}
function r (line 38) | function r(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&...
function r (line 38) | function r(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n....
function i (line 38) | function i(e){return r}
function r (line 38) | function r(e){var t=e.target||e.srcElement||window;return t.correspondin...
function r (line 52) | function r(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))ret...
function r (line 52) | function r(e,t){var n=null===e||!1===e,r=null===t||!1===t;if(n||r)return...
function r (line 52) | function r(e){switch(e._type){case"Document":case"BlockQuote":case"List"...
function r (line 52) | function r(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.ca...
function r (line 52) | function r(e,t,n){for(var r in t)if(Object.prototype.hasOwnProperty.call...
function r (line 52) | function r(e,t,n,r,o,a,s){var u=-o*(t-r),l=-a*n,c=u+l,p=n+c*e,f=t+p*e;re...
function o (line 52) | function o(e){var t=this;this.next=null,this.entry=null,this.finish=func...
function a (line 52) | function a(e){return R.from(e)}
function s (line 52) | function s(e){return R.isBuffer(e)||e instanceof j}
function u (line 52) | function u(){}
function l (line 52) | function l(e,t){O=O||n(71),e=e||{};var r=t instanceof O;this.objectMode=...
function c (line 52) | function c(e){if(O=O||n(71),!(F.call(c,this)||this instanceof O))return ...
function p (line 52) | function p(e,t){var n=new Error("write after end");e.emit("error",n),D.n...
function f (line 52) | function f(e,t,n,r){var i=!0,o=!1;return null===n?o=new TypeError("May n...
function h (line 52) | function h(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!=t...
function d (line 52) | function d(e,t,n,r,i,o){if(!n){var a=h(t,r,i);r!==a&&(n=!0,i="buffer",r=...
function m (line 52) | function m(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!...
function v (line 52) | function v(e,t,n,r,i){--t.pendingcb,n?(D.nextTick(i,r),D.nextTick(S,e,t)...
function g (line 52) | function g(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writele...
function y (line 52) | function y(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(g(n),t)v(...
function _ (line 52) | function _(e,t,n,r){n||b(e,t),t.pendingcb--,r(),S(e,t)}
function b (line 52) | function b(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain...
function x (line 52) | function x(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writ...
function w (line 52) | function w(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!...
function k (line 52) | function k(e,t){e._final(function(n){t.pendingcb--,n&&e.emit("error",n),...
function E (line 52) | function E(e,t){t.prefinished||t.finalCalled||("function"==typeof e._fin...
function S (line 52) | function S(e,t){var n=w(t);return n&&(E(e,t),0===t.pendingcb&&(t.finishe...
function C (line 52) | function C(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?D.nextTick(n):e.once...
function A (line 52) | function A(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t....
function r (line 52) | function r(e,t,n,r,i){this.src=e,this.env=r,this.options=n,this.parser=t...
function r (line 52) | function r(e,t){var n;return n=Array.isArray(e)?[]:{},t.push(e),Object.k...
function r (line 52) | function r(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"u...
function i (line 52) | function i(e){var t=r(e);if("string"!=typeof t&&(y.isEncoding===_||!_(e)...
function o (line 52) | function o(e){this.encoding=i(e);var t;switch(this.encoding){case"utf16l...
function a (line 52) | function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}
function s (line 52) | function s(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);return ...
function u (line 52) | function u(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�".repeat(n);i...
function l (line 52) | function l(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);return vo...
function c (line 52) | function c(e,t){var n=s(this,e,t);if(!this.lastNeed)return e.toString("u...
function p (line 52) | function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+...
function f (line 52) | function f(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n...
function h (line 52) | function h(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n...
function d (line 52) | function d(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t)...
function m (line 52) | function m(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+...
function v (line 52) | function v(e){return e.toString(this.encoding)}
function g (line 52) | function g(e){return e&&e.length?this.write(e):""}
function n (line 52) | function n(){this.constructor=e}
function t (line 52) | function t(){return t.__super__.constructor.apply(this,arguments)}
function e (line 52) | function e(){this.resolver_exact_paths=[],this.resolver_prefix_paths=[]}
function t (line 52) | function t(){return t.__super__.constructor.apply(this,arguments)}
function r (line 52) | function r(){this.constructor=e}
function e (line 52) | function e(e,t){this.start_mark=e,this.end_mark=t}
function n (line 52) | function n(e,t,n,r){this.name=e,this.value=t,this.start_mark=n,this.end_...
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(e,t,n){this.start_mark=e,this.end_mark=t,this.encoding=n}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(){return n.__super__.constructor.apply(this,arguments)}
function n (line 52) | function n(e,t,n){this.value=e,this.start_mark=t,this.end_mark=n}
function n (line 52) | function n(e,t,n){this.value=e,this.start_mark=t,this.end_mark=n}
function n (line 52) | function n(e,t,n){this.value=e,this.start_mark=t,this.end_mark=n}
function n (line 52) | function n(e,t,n,r,i){this.value=e,this.plain=t,this.start_mark=n,this.e...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 52) | function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=argu...
function t (line 52) | function t(){return(0,f.default)(this,t),(0,v.default)(this,(t.__proto__...
function t (line 52) | function t(){return(0,f.default)(this,t),(0,v.default)(this,(t.__proto__...
function t (line 52) | function t(){return(0,f.default)(this,t),(0,v.default)(this,(t.__proto__...
function t (line 52) | function t(){return(0,f.default)(this,t),(0,v.default)(this,(t.__proto__...
function t (line 52) | function t(e,n){(0,f.default)(this,t);var r=(0,v.default)(this,(t.__prot...
function t (line 52) | function t(){return(0,f.default)(this,t),(0,v.default)(this,(t.__proto__...
function t (line 52) | function t(){return(0,f.default)(this,t),(0,v.default)(this,(t.__proto__...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 52) | function t(){var e,n,r,i;(0,l.default)(this,t);for(var o=arguments.lengt...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 52) | function i(e){var t=e.source;if(v(t))return l.default.createElement("div...
function o (line 52) | function o(e){return(0,m.default)(e,g)}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 52) | function i(e,t){function n(e,t,i){if(!e)return i&&i.start_mark?i.start_m...
function o (line 52) | function o(e,t){function n(e,o){if(e.tag===b)for(i=0;i<e.value.length;i+...
function a (line 52) | function a(e,t){function n(e){function r(e){return e.start_mark.line===e...
function s (line 52) | function s(e){return function(){for(var t=arguments.length,n=Array(t),r=...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 52) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function r (line 52) | function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n ...
function i (line 52) | function i(e){return e&&e.__esModule?e:{default:e}}
function o (line 52) | function o(e,t,n,r){var i=e.authActions.authorize,o=e.specSelectors,a=o....
function a (line 52) | function a(e,t,n){var r=e.authActions.authorize,i=e.specSelectors,o=i.sp...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n ...
function i (line 52) | function i(e){return e&&e.__esModule?e:{default:e}}
function o (line 52) | function o(){return{statePlugins:{spec:{actions:g,selectors:y},configs:{...
function r (line 52) | function r(n){n instanceof Error||n.status>=400?(i.updateLoadingStatus("...
function r (line 52) | function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n ...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 52) | function i(e){var t=e.fn;return{statePlugins:{spec:{actions:{download:fu...
function r (line 52) | function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n ...
function i (line 52) | function i(e,t){var n={jsSpec:t.specSelectors.specJson().toJS()};return(...
function r (line 52) | function r(e){return e.map(function(e){var t=e.get("message").indexOf("i...
function i (line 52) | function i(e){return e.reduce(function(e,t,n,r){return n===r.length-1&&r...
function r (line 52) | function r(e,t){t.jsSpec;return e}
function r (line 52) | function r(e){return e.map(function(e){return e.set("message",i(e.get("m...
function i (line 52) | function i(e,t){return e.replace(new RegExp(t,"g"),"")}
function r (line 52) | function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n ...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n ...
function t (line 52) | function t(e){for(var t,n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o+...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 52) | function t(e,n){(0,s.default)(this,t);var r=(0,p.default)(this,(t.__prot...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 52) | function i(e,t){return"string"!=typeof t?"":t.split("\n").map(function(t...
function t (line 52) | function t(){return(0,c.default)(this,t),(0,d.default)(this,(t.__proto__...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 52) | function t(){var e,n,r,i;(0,l.default)(this,t);for(var a=arguments.lengt...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 52) | function t(e,n){(0,s.default)(this,t);var r=(0,p.default)(this,(t.__prot...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 52) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 52) | function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n ...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){return function(){for(var t=arguments.length,n=Array(t),r=...
function r (line 52) | function r(e){return function(t,n){return function(){var r=n.getSystem()...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 52) | function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 52) | function t(e){(0,l.default)(this,t);var n=(0,h.default)(this,(t.__proto_...
function r (line 52) | function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n ...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 52) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 52) | function r(){return{components:{SplitPaneMode:o.default}}}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 52) | function r(){return(0,m.default)(this,r),(0,_.default)(this,(r.__proto__...
function r (line 52) | function r(){return(0,m.default)(this,r),(0,_.default)(this,(r.__proto__...
function r (line 52) | function r(t,n){(0,m.default)(this,r);var i=(0,_.default)(this,(r.__prot...
function n (line 52) | function n(){return(0,m.default)(this,n),(0,_.default)(this,(n.__proto__...
function r (line 52) | function r(o,a){try{var s=t[o](a),u=s.value}catch(e){return void n(e)}if...
function r (line 52) | function r(){}
function i (line 52) | function i(e){var t,n,r=e.walker();for(this.buffer="",this.lastOut="\n";...
function o (line 52) | function o(e){this.buffer+=e,this.lastOut=e}
function a (line 52) | function a(){"\n"!==this.lastOut&&this.lit("\n")}
function s (line 52) | function s(e){this.lit(e)}
function u (line 52) | function u(e){return e}
function r (line 52) | function r(e){return(0,o.default)(e)}
function r (line 52) | function r(e){return null===e||void 0===e}
function i (line 52) | function i(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)...
function o (line 52) | function o(e,t,n){var o,c;if(r(e)||r(t))return!1;if(e.prototype!==t.prot...
method firstChild (line 52) | get firstChild(){var e=this.children;return e&&e[0]||null}
method lastChild (line 52) | get lastChild(){var e=this.children;return e&&e[e.length-1]||null}
method nodeType (line 52) | get nodeType(){return i[this.type]||i.element}
function r (line 52) | function r(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in i&&(e=i[e]...
function r (line 52) | function r(e,t){if(""==t)return e;var n={op:"_get",path:t};return i(e,n)...
function i (line 52) | function i(e,n,i,o){if(void 0===i&&(i=!1),void 0===o&&(o=!0),i&&("functi...
function o (line 52) | function o(e,n,r,o){if(void 0===o&&(o=!0),r&&!Array.isArray(n))throw new...
function a (line 52) | function a(e,n){var r=i(e,n);if(!1===r.test)throw new t.JsonPatchError("...
function s (line 52) | function s(e,n,r,i){if("object"!=typeof e||null===e||Array.isArray(e))th...
function u (line 52) | function u(e,n,r){try{if(!Array.isArray(e))throw new t.JsonPatchError("P...
function r (line 52) | function r(e){try{e.focus()}catch(e){}}
function r (line 52) | function r(e){if(void 0===(e=e||("undefined"!=typeof document?document:v...
function r (line 52) | function r(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",thi...
function r (line 52) | function r(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}
function i (line 52) | function i(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?t...
function o (line 52) | function o(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?th...
function a (line 52) | function a(e,t){this._state=f,this._buffer="",this._sectionStart=0,this....
function r (line 52) | function r(e,t){var n=this._parser=new i(e,t),r=this._decoder=new a;o.ca...
function r (line 52) | function r(e,t){-1===e.indexOf(t)&&e.push(t)}
function i (line 52) | function i(e,t){if(Array.isArray(t))for(var n=0,i=t.length;n<i;++n)r(e,t...
function r (line 52) | function r(e){return e instanceof Object&&!Array.isArray(e)}
function r (line 52) | function r(e,t,n,r,i){for(var o=0,a=e.length;o<a;++o){var s=e[o](t,n,r,i...
function n (line 52) | function n(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"fu...
function r (line 52) | function r(e){if(!n.i(a.a)(e)||n.i(i.a)(e)!=s)return!1;var t=n.i(o.a)(e)...
function n (line 52) | function n(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!...
function r (line 52) | function r(e){return!!e&&"object"==typeof e}
function i (line 52) | function i(e){if(!r(e)||p.call(e)!=o||n(e))return!1;var t=f(e);if(null==...
function r (line 52) | function r(e,t){var n=a(e),r=!n&&o(e),c=!n&&!r&&s(e),f=!n&&!r&&!c&&l(e),...
function n (line 52) | function n(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]...
function n (line 52) | function n(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);+...
function n (line 52) | function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))...
function r (line 52) | function r(e,t,n){"__proto__"==t&&i?i(e,t,{configurable:!0,enumerable:!0...
function r (line 52) | function r(e,t,n,I,R,j){var N,F=t&S,B=t&C,L=t&A;if(n&&(N=R?n(e,I,R,j):n(...
function r (line 52) | function r(e,t,n){var r=t(e);return o(e)?r:i(r,n(e))}
function r (line 52) | function r(e,t,n,a,s){return e===t||(null==e||null==t||!o(e)&&!o(t)?e!==...
function r (line 52) | function r(e,t,n,r){if(!s(e))return e;t=o(t,e);for(var l=-1,c=t.length,p...
function n (line 52) | function n(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&...
function r (line 52) | function r(e){if("string"==typeof e)return e;if(a(e))return o(e,r)+"";if...
function r (line 52) | function r(e){return function(t){return i(a(o(t).replace(s,"")),e,"")}}
function r (line 52) | function r(e,t,n,r,l,c){var p=n&s,f=e.length,h=t.length;if(f!=h&&!(p&&h>...
function r (line 52) | function r(e){return a(o(e,void 0,i),e+"")}
function r (line 52) | function r(e){return i(e,a,o)}
function r (line 52) | function r(e){return i(e,a,o)}
function n (line 52) | function n(e){return r.test(e)}
function r (line 52) | function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?...
function r (line 52) | function r(e){return e===e&&!i(e)}
function n (line 52) | function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==...
function n (line 52) | function n(e,t){return function(n){return e(t(n))}}
function r (line 52) | function r(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(v...
function n (line 52) | function n(e){if(null!=e){try{return i.call(e)}catch(e){}try{return e+""...
function r (line 52) | function r(e,t){return null!=e&&o(e,t,i)}
function r (line 52) | function r(e){if(!o(e))return!1;var t=i(e);return t==s||t==u||t==a||t==l}
function r (line 52) | function r(e){return"string"==typeof e||!o(e)&&a(e)&&i(e)==s}
function r (line 52) | function r(e){return a(e)?i(e,!0):o(e)}
function r (line 52) | function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)t...
function n (line 52) | function n(){return[]}
function r (line 52) | function r(e){var t=i(e),n=t%1;return t===t?n?t-n:t:0}
function r (line 52) | function r(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){v...
function r (line 52) | function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n...
function i (line 52) | function i(e,t){var n;return"string"!=typeof t&&(t=i.defaultChars),n=r(t...
function r (line 52) | function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n...
function i (line 52) | function i(e,t,n){var o,a,s,u,l,c="";for("string"!=typeof t&&(n=t,t=i.de...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 52) | function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function e (line 52) | function e(t,n,r,o,a,s){i(this,e),this.name="CssSyntaxError",this.reason...
function t (line 52) | function t(t){return e&&u.default.red?u.default.red.bold(t):t}
function n (line 52) | function n(t){return e&&u.default.gray?u.default.gray(t):t}
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 52) | function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function e (line 52) | function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.en...
function e (line 52) | function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 52) | function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function o (line 52) | function o(e){return"object"===(void 0===e?"undefined":s(e))&&"function"...
function e (line 52) | function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.en...
function e (line 52) | function e(t,n,r){i(this,e),this.stringified=!1,this.processed=!1;var o=...
function r (line 52) | function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function e (line 52) | function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function r (line 52) | function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function i (line 52) | function i(e){return e[0].toUpperCase()+e.slice(1)}
function e (line 52) | function e(t){r(this,e),this.builder=t}
function r (line 52) | function r(e){function t(t){throw e.error("Unclosed "+t,G,X-J)}function ...
function r (line 52) | function r(e){i[e]||(i[e]=!0,"undefined"!=typeof console&&console.warn&&...
function r (line 52) | function r(){this._array=[],this._set=a?new Map:Object.create(null)}
function r (line 52) | function r(e){return e<0?1+(-e<<1):0+(e<<1)}
function i (line 52) | function i(e){var t=1==(1&e),n=e>>1;return t?-n:n}
function r (line 52) | function r(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceR...
function r (line 52) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 52) | function i(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototyp...
function o (line 52) | function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function a (line 52) | function a(e,t){if(!e)throw new ReferenceError("this hasn't been initial...
function s (line 52) | function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("S...
function e (line 52) | function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.en...
function t (line 52) | function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf...
function r (line 52) | function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}
function r (line 52) | function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function e (line 52) | function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._a...
function r (line 52) | function r(e){return!!l.hasOwnProperty(e)||!u.hasOwnProperty(e)&&(s.test...
function i (line 52) | function i(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue...
function r (line 52) | function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this...
function i (line 52) | function i(e,t,n){var r,i,o=u.getNodeFromInstance(e).options;if(t){for(r...
function o (line 52) | function o(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);...
function r (line 52) | function r(e){return s||a("111",e.type),new s(e)}
function i (line 52) | function i(e){return new u(e)}
function o (line 52) | function o(e){return e instanceof u}
function r (line 52) | function r(e){return o(document.documentElement,e)}
function r (line 52) | function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.c...
function i (line 52) | function i(e){return e?e.nodeType===R?e.documentElement:e.firstChild:null}
function o (line 52) | function o(e){return e.getAttribute&&e.getAttribute(T)||""}
function a (line 52) | function a(e,t,n,r,i){var o;if(x.logTopLevelRenders){var a=e._currentEle...
function s (line 52) | function s(e,t,n,r){var i=C.ReactReconcileTransaction.getPooled(!n&&b.us...
function u (line 52) | function u(e,t,n){for(E.unmountComponent(e,n),t.nodeType===R&&(t=t.docum...
function l (line 52) | function l(e){var t=i(e);if(t){var n=y.getInstanceFromNode(t);return!(!n...
function c (line 52) | function c(e){return!(!e||e.nodeType!==I&&e.nodeType!==R&&e.nodeType!==j)}
function p (line 52) | function p(e){var t=i(e),n=t&&y.getInstanceFromNode(t);return n&&!n._hos...
function f (line 52) | function f(e){var t=p(e);return t?t._hostContainerInfo._topLevelWrapper:...
function r (line 52) | function r(e,t){return null==t&&i("30"),null==e?t:Array.isArray(e)?Array...
function r (line 52) | function r(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}
function r (line 52) | function r(e){for(var t;(t=e._renderedNodeType)===i.COMPOSITE;)e=e._rend...
function r (line 52) | function r(){return!o&&i.canUseDOM&&(o="textContent"in document.document...
function r (line 52) | function r(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCas...
function i (line 52) | function i(e){return e._wrapperState.valueTracker}
function o (line 52) | function o(e,t){e._wrapperState.valueTracker=t}
function a (line 52) | function a(e){e._wrapperState.valueTracker=null}
function s (line 52) | function s(e){var t;return e&&(t=r(e)?""+e.checked:e.value),t}
function r (line 52) | function r(e){if(e){var t=e.getName();if(t)return" Check the render meth...
function i (line 52) | function i(e){return"function"==typeof e&&void 0!==e.prototype&&"functio...
function o (line 52) | function o(e,t){var n;if(null===e||!1===e)n=l.create(o);else if("object"...
function r (line 52) | function r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input...
function r (line 52) | function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key...
function i (line 52) | function i(e,t,n,o){var f=typeof e;if("undefined"!==f&&"boolean"!==f||(e...
function o (line 52) | function o(e,t,n){return null==e?0:i(e,"",t,n)}
function r (line 52) | function r(e){"undefined"!=typeof console&&"function"==typeof console.er...
function r (line 52) | function r(e,t,n){this.props=e,this.context=t,this.refs=l,this.updater=n...
function i (line 52) | function i(e,t,n){this.props=e,this.context=t,this.refs=l,this.updater=n...
function o (line 52) | function o(){}
function r (line 52) | function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOw...
function i (line 52) | function i(e){var t=l(e);if(t){var n=t.childIDs;c(e),n.forEach(i)}}
function o (line 52) | function o(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName...
function a (line 52) | function a(e){return null==e?"#empty":"string"==typeof e||"number"==type...
function s (line 52) | function s(e){var t,n=S.getDisplayName(e),r=S.getElement(e),i=S.getOwner...
function i (line 52) | function i(e){return F.from(e)}
function o (line 52) | function o(e){return F.isBuffer(e)||e instanceof B}
function a (line 52) | function a(e,t,n){if("function"==typeof e.prependListener)return e.prepe...
function s (line 52) | function s(e,t){I=I||n(71),e=e||{};var r=t instanceof I;this.objectMode=...
function u (line 52) | function u(e){if(I=I||n(71),!(this instanceof u))return new u(e);this._r...
function l (line 52) | function l(e,t,n,r,o){var a=e._readableState;if(null===t)a.reading=!1,m(...
function c (line 52) | function c(e,t,n,r){t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e...
function p (line 52) | function p(e,t){var n;return o(t)||"string"==typeof t||void 0===t||e.obj...
function f (line 52) | function f(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark|...
function h (line 52) | function h(e){return e>=J?e=J:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e...
function d (line 52) | function d(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==...
function m (line 52) | function m(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.le...
function v (line 52) | function v(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable...
function g (line 52) | function g(e){z("emit readable"),e.emit("readable"),E(e)}
function y (line 52) | function y(e,t){t.readingMore||(t.readingMore=!0,P.nextTick(_,e,t))}
function _ (line 52) | function _(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.l...
function b (line 52) | function b(e){return function(){var t=e._readableState;z("pipeOnDrain",t...
function x (line 52) | function x(e){z("readable nexttick read 0"),e.read(0)}
function w (line 52) | function w(e,t){t.resumeScheduled||(t.resumeScheduled=!0,P.nextTick(k,e,...
function k (line 52) | function k(e,t){t.reading||(z("resume read 0"),e.read(0)),t.resumeSchedu...
function E (line 52) | function E(e){var t=e._readableState;for(z("flow",t.flowing);t.flowing&&...
function S (line 52) | function S(e,t){if(0===t.length)return null;var n;return t.objectMode?n=...
function C (line 52) | function C(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice...
function A (line 52) | function A(e,t){var n=t.head,r=1,i=n.data;for(e-=i.length;n=n.next;){var...
function D (line 52) | function D(e,t){var n=F.allocUnsafe(e),r=t.head,i=1;for(r.data.copy(n),e...
function O (line 52) | function O(e){var t=e._readableState;if(t.length>0)throw new Error('"end...
function M (line 52) | function M(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=...
function T (line 52) | function T(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;retu...
function n (line 52) | function n(e,t){z("onunpipe"),e===f&&t&&!1===t.hasUnpiped&&(t.hasUnpiped...
function i (line 52) | function i(){z("onend"),e.end()}
function o (line 52) | function o(){z("cleanup"),e.removeListener("close",l),e.removeListener("...
function s (line 52) | function s(t){z("ondata"),y=!1,!1!==e.write(t)||y||((1===h.pipesCount&&h...
function u (line 52) | function u(t){z("onerror",t),p(),e.removeListener("error",u),0===j(e,"er...
function l (line 52) | function l(){e.removeListener("finish",c),p()}
function c (line 52) | function c(){z("onfinish"),e.removeListener("close",l),p()}
function p (line 52) | function p(){z("unpipe"),f.unpipe(e)}
function r (line 52) | function r(e,t){var n=this._transformState;n.transforming=!1;var r=n.wri...
function i (line 52) | function i(e){if(!(this instanceof i))return new i(e);s.call(this,e),thi...
function o (line 52) | function o(){var e=this;"function"==typeof this._flush?this._flush(funct...
function a (line 52) | function a(e,t,n){if(t)return e.emit("error",t);if(null!=n&&e.push(n),e....
function r (line 52) | function r(e,t){var n=this,r=this._readableState&&this._readableState.de...
function i (line 52) | function i(){this._readableState&&(this._readableState.destroyed=!1,this...
function o (line 52) | function o(e,t){e.emit("error",t)}
function r (line 52) | function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=argu...
function r (line 52) | function r(e,t,s){function u(){y===g&&(y=g.slice())}function l(){return ...
function r (line 52) | function r(){i.call(this)}
function n (line 52) | function n(t){e.writable&&!1===e.write(t)&&l.pause&&l.pause()}
function r (line 52) | function r(){l.readable&&l.resume&&l.resume()}
function o (line 52) | function o(){c||(c=!0,e.end())}
function a (line 52) | function a(){c||(c=!0,"function"==typeof e.destroy&&e.destroy())}
function s (line 52) | function s(e){if(u(),0===i.listenerCount(this,"error"))throw e}
function u (line 52) | function u(){l.removeListener("data",n),e.removeListener("drain",r),l.re...
function t (line 53) | function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e){var t=e.openapi;return!!t&&(0,b.default)(t,"3")}
function o (line 53) | function o(e){var t=e.swagger;return!!t&&(0,b.default)(t,"2")}
function a (line 53) | function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?argument...
function s (line 53) | function s(e,t){return""+x(t)+w(e)}
function u (line 53) | function u(e,t){return x(t)+"-"+e}
function l (line 53) | function l(e,t){return e&&e.paths?c(e,function(e){var n=e.pathName,r=e.m...
function c (line 53) | function c(e,t){return p(e,t,!0)||null}
function p (line 53) | function p(e,t,n){if(!e||"object"!==(void 0===e?"undefined":(0,v.default...
function f (line 53) | function f(e){var t=e.spec,n=t.paths,r={};if(!n)return e;for(var i in n)...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
function o (line 53) | function o(e,t){return"application/json"===t?JSON.parse(e):E.default.saf...
function a (line 53) | function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?argument...
function s (line 53) | function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function u (line 53) | function u(e){return"undefined"!=typeof File?e instanceof File:null!==e&...
function l (line 53) | function l(e,t){var n=e.collectionFormat,r=e.allowEmptyValue,i="object"=...
function c (line 53) | function c(e){var t=(0,v.default)(e).reduce(function(t,n){var r=e[n],i=!...
function p (line 53) | function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function f (line 53) | function f(e,t,n){return n=n||function(e){return e},t=t||function(e){ret...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e,t,n){if(n=n||{},t=(0,W.default)({},t,{path:t.path&&o(t.path...
function o (line 53) | function o(e){return Array.isArray(e)?e.length<1?"":"/"+e.map(function(e...
function a (line 53) | function a(e,t){return{op:"add",path:e,value:t}}
function s (line 53) | function s(e,t,n){return{op:"replace",path:e,value:t,meta:n}}
function u (line 53) | function u(e,t){return{op:"remove",path:e}}
function l (line 53) | function l(e,t){return{type:"mutation",op:"merge",path:e,value:t}}
function c (line 53) | function c(e,t){return{type:"mutation",op:"mergeDeep",path:e,value:t}}
function p (line 53) | function p(e,t){return{type:"context",path:e,value:t}}
function f (line 53) | function f(e,t){try{return d(e,v,t)}catch(e){return e}}
function h (line 53) | function h(e,t){try{return d(e,m,t)}catch(e){return e}}
function d (line 53) | function d(e,t,n){return w(x(e.filter(M).map(function(e){return t(e.valu...
function m (line 53) | function m(e,t,n){return n=n||[],Array.isArray(e)?e.map(function(e,r){re...
function v (line 53) | function v(e,t,n){n=n||[];var r=[];if(n.length>0){var i=t(e,n[n.length-1...
function g (line 53) | function g(e,t){if(!Array.isArray(t))return!1;for(var n=0,r=t.length;n<r...
function y (line 53) | function y(e,t){return t.reduce(function(e,t){return void 0!==t&&e?e[t]:...
function _ (line 53) | function _(e){return w(x(b(e)))}
function b (line 53) | function b(e){return Array.isArray(e)?e:[e]}
function x (line 53) | function x(e){var t;return(t=[]).concat.apply(t,(0,F.default)(e.map(func...
function w (line 53) | function w(e){return e.filter(function(e){return void 0!==e})}
function k (line 53) | function k(e){return e&&"object"===(void 0===e?"undefined":(0,j.default)...
function E (line 53) | function E(e){return k(e)&&S(e.then)}
function S (line 53) | function S(e){return e&&"function"==typeof e}
function C (line 53) | function C(e){return e instanceof Error}
function A (line 53) | function A(e){if(P(e)){var t=e.op;return"add"===t||"remove"===t||"replac...
function D (line 53) | function D(e){return G.default.isGeneratorFunction(e)}
function O (line 53) | function O(e){return A(e)||P(e)&&"mutation"===e.type}
function M (line 53) | function M(e){return O(e)&&("add"===e.op||"replace"===e.op||"merge"===e....
function T (line 53) | function T(e){return P(e)&&"context"===e.type}
function P (line 53) | function P(e){return e&&"object"===(void 0===e?"undefined":(0,j.default)...
function I (line 53) | function I(e,t){try{return H.default.getValueByPointer(e,t)}catch(e){ret...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
function o (line 53) | function o(){h.plugins.refs.clearCache()}
function a (line 53) | function a(e){function t(e){var t=this;w&&(h.plugins.refs.docCache[w]=e)...
function r (line 53) | function r(e){var t=e[e.length-1],n=e.join("/");return i.indexOf(t)>-1||...
function r (line 53) | function r(e,t){function n(){Error.captureStackTrace?Error.captureStackT...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arg...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e){var t=e.http,n=e.fetch,r=e.spec,i=e.operationId,o=e.pathNa...
function o (line 53) | function o(e){var t=e.spec,n=e.operationId,r=(e.securities,e.requestCont...
function a (line 53) | function a(e){return(0,H.isOAS3)(e.spec)?s(e):c(e)}
function s (line 53) | function s(e){var t=e.spec,n=e.pathName,r=e.method,i=e.server,o=e.contex...
function u (line 53) | function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function l (line 53) | function l(e){for(var t=[],n=/{([^}]+)}/g,r=void 0;r=n.exec(e);)t.push(r...
function c (line 53) | function c(e){var t=e.spec,n=e.scheme,r=e.contextUrl,i=void 0===r?"":r,o...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e){var t=e.request,n=e.securities,r=void 0===n?{}:n,i=e.opera...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e){var t=e.req,n=e.value,r=e.parameter,i=r.name,o=r.style,a=r...
function o (line 53) | function o(e){var t=e.req,n=e.value,r=e.parameter;if(t.query=t.query||{}...
function a (line 53) | function a(e){var t=e.req,n=e.parameter,r=e.value;t.headers=t.headers||{...
function s (line 53) | function s(e){var t=e.req,n=e.parameter,r=e.value;t.headers=t.headers||{...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
function o (line 53) | function o(e){var t=e.key,n=e.value,r=e.style,o=e.explode,a=e.escape,s=f...
function a (line 53) | function a(e){var t=e.key,n=e.value,r=e.style,o=e.explode,a=e.escape,s=f...
function s (line 53) | function s(e){var t=e.key,n=e.value,r=e.style,o=e.escape,a=function(e){r...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e){var t=e.request,n=e.securities,r=void 0===n?{}:n,i=e.opera...
function r (line 53) | function r(e){var t=e.req,n=e.value;t.body=n}
function i (line 53) | function i(e){var t=e.req,n=e.value,r=e.parameter;t.form=t.form||{},(n||...
function o (line 53) | function o(e){var t=e.req,n=e.parameter,r=e.value;t.headers=t.headers||{...
function a (line 53) | function a(e){var t=e.req,n=e.value,r=e.parameter;t.url=t.url.replace("{...
function s (line 53) | function s(e){var t=e.req,n=e.value,r=e.parameter;if(t.query=t.query||{}...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function o (line 53) | function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function a (line 53) | function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function s (line 53) | function s(e){var t=e.spec,n=e.cb,r=void 0===n?h:n,i=e.defaultTag,o=void...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e){return new F(e).dispatch()}
function e (line 53) | function e(t){(0,b.default)(this,e),(0,y.default)(this,{spec:"",debugLev...
function e (line 53) | function e(e){e&&(e=C.default.fullyNormalizeArray(e),n.updatePatches(e,r))}
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e,t){return o({children:{}},e,t)}
function o (line 53) | function o(e,t,n){return e.value=t||{},e.protoValue=n?(0,l.default)({},n...
function e (line 53) | function e(t){(0,p.default)(this,e),this.root=i(t||{})}
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 53) | function i(e,t){if(!F.test(e)){if(!t)throw new B("Tried to resolve a rel...
function o (line 53) | function o(e,t){return new B("Could not resolve reference because of: "+...
function a (line 53) | function a(e){return(e+"").split("#")}
function s (line 53) | function s(e,t){var n=L[e];if(n&&!I.default.isPromise(n))try{var r=p(t,n...
function u (line 53) | function u(e){void 0!==e?delete L[e]:(0,w.default)(L).forEach(function(e...
function l (line 53) | function l(e){var t=L[e];return t?I.default.isPromise(t)?t:E.default.res...
function c (line 53) | function c(e){return(0,O.fetch)(e,{headers:{Accept:"application/json, ap...
function p (line 53) | function p(e,t){var n=f(e);if(n.length<1)return t;var r=I.default.getIn(...
function f (line 53) | function f(e){if("string"!=typeof e)throw new TypeError("Expected a stri...
function h (line 53) | function h(e){return"string"!=typeof e?e:e.replace(/~1/g,"/").replace(/~...
function d (line 53) | function d(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}
function m (line 53) | function m(e){return 0===e.length?"":"/"+e.map(d).join("/")}
function v (line 53) | function v(e,t){if(W(t))return!0;var n=e.charAt(t.length);return 0===e.i...
function g (line 53) | function g(e,t,n,r){var i=q.get(r);i||(i={},q.set(r,i));var o=m(n),a=(t|...
function y (line 53) | function y(e,t){function n(e){return I.default.isObject(e)&&(r.indexOf(e...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function e (line 53) | function e(e,n){return t.apply(this,arguments)}
function r (line 53) | function r(e,t){this._id=e,this._clearFn=t}
function r (line 53) | function r(){this.protocol=null,this.slashes=null,this.auth=null,this.ho...
function i (line 53) | function i(e,t,n){if(e&&l.isObject(e)&&e instanceof r)return e;var i=new...
function o (line 53) | function o(e){return l.isString(e)&&(e=i(e)),e instanceof r?e.format():r...
function a (line 53) | function a(e,t){return i(e,!1,!0).resolve(t)}
function s (line 53) | function s(e,t){return e?i(e,!1,!0).resolveObject(t):t}
function n (line 53) | function n(){this.constructor=e}
function t (line 53) | function t(){return t.__super__.constructor.apply(this,arguments)}
function e (line 53) | function e(){this.anchors={}}
function n (line 53) | function n(){this.constructor=e}
function t (line 53) | function t(){return t.__super__.constructor.apply(this,arguments)}
function e (line 53) | function e(){this.constructed_objects={},this.constructing_nodes=[],this...
function r (line 53) | function r(){return r.__super__.constructor.apply(this,arguments)}
function n (line 53) | function n(){this.constructor=e}
function t (line 53) | function t(){return t.__super__.constructor.apply(this,arguments)}
function e (line 53) | function e(){this.current_event=null,this.yaml_version=null,this.tag_han...
function n (line 53) | function n(){this.constructor=e}
function t (line 53) | function t(e,n,r){this.position=e,this.character=n,this.reason=r,t.__sup...
function n (line 53) | function n(e){this.string=e,this.line=0,this.column=0,this.index=0,this....
function n (line 53) | function n(){this.constructor=e}
function t (line 53) | function t(){return t.__super__.constructor.apply(this,arguments)}
function e (line 53) | function e(e,t,n,r,i,o){this.token_number=e,this.required=t,this.index=n...
function e (line 53) | function e(){this.done=!1,this.flow_level=0,this.tokens=[],this.fetch_st...
function r (line 53) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 53) | function r(e){return u.indexOf(e[0])>-1}
function i (line 53) | function i(e){var t,n,i=e.replace(a,"");return r(i)?i:(n=i.match(s))?(t=...
function n (line 53) | function n(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.pu...
function r (line 53) | function r(e){var t=new Set;return e.filter(function(e){return!t.has(e)&...
function i (line 53) | function i(e){var t=[];return new Set(e).forEach(function(e){t.push(e)}),t}
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,p.default)(this,t),(0,m.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(e,n){(0,l.default)(this,t);var r=(0,h.default)(this,(t.__prot...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(e,n){(0,l.default)(this,t);var r=(0,h.default)(this,(t.__prot...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(e,n){(0,s.default)(this,t);var r=(0,p.default)(this,(t.__prot...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(e,n){(0,l.default)(this,t);var r=(0,h.default)(this,(t.__prot...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 62) | function i(e){return(e||"").split(" ").map(function(e){return e[0].toUpp...
function t (line 62) | function t(){return(0,u.default)(this,t),(0,f.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(e,n){(0,s.default)(this,t);var r=(0,p.default)(this,(t.__prot...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(e,n){(0,s.default)(this,t);var r=(0,p.default)(this,(t.__prot...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,l.default)(this,t);for(var o=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,p.default)(this,t);for(var o=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,m.default)(this,t),(0,_.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(e,n){(0,p.default)(this,t);var r=(0,m.default)(this,(t.__prot...
function t (line 62) | function t(e){(0,p.default)(this,t);var n=(0,m.default)(this,(t.__proto_...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e;(0,s.default)(this,t);for(var n=arguments.length,r=Ar...
function t (line 62) | function t(e){(0,s.default)(this,t);var n=(0,p.default)(this,(t.__proto_...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(e,n){(0,s.default)(this,t);var r=(0,p.default)(this,(t.__prot...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(e,n){(0,s.default)(this,t);var r=(0,p.default)(this,(t.__prot...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,l.default)(this,t),(0,h.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(e,n){(0,s.default)(this,t);var r=(0,p.default)(this,(t.__prot...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,l.default)(this,t);for(var o=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){var e,n,r,i;(0,s.default)(this,t);for(var a=arguments.lengt...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,s.default)(this,t),(0,p.default)(this,(t.__proto__...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(e,n){(0,s.default)(this,t);var r=(0,p.default)(this,(t.__prot...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 62) | function i(e){var t=[],n="",r=e.get("headers");if(t.push("curl"),t.push(...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function t (line 62) | function t(){return(0,p.default)(this,t),(0,m.default)(this,(t.__proto__...
function t (line 62) | function t(){var e,n,r,i;(0,p.default)(this,t);for(var o=arguments.lengt...
function t (line 62) | function t(e,n){(0,p.default)(this,t);var r=(0,m.default)(this,(t.__prot...
function t (line 62) | function t(){var e,n,r,i;(0,p.default)(this,t);for(var o=arguments.lengt...
function r (line 62) | function r(e){var t=e.auth,n=e.authActions,r=e.errActions,i=e.configs,s=...
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 62) | function i(){return[a.default,u.default]}
function r (line 62) | function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n ...
function i (line 62) | function i(e){return e&&e.__esModule?e:{default:e}}
function r (line 62) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 62) | function i(e,t,n){var r=[(0,N.systemThunkMiddleware)(n)],i=j.default.__R...
function o (line 62) | function o(e,t){return(0,N.isObject)(e)&&!(0,N.isArray)(e)?e:(0,N.isFunc...
function a (line 62) | function a(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?a...
function s (line 62) | function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function u (line 62) | function u(e){return l((0,N.objMap)(e,function(e){return e.reducers}))}
function l (line 62) | function l(e){var t=(0,d.default)(e).reduce(function(t,n){return t[n]=c(...
function c (line 62) | function c(e){return function(){var t=arguments.length>0&&void 0!==argum...
function p (line 62) | function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[...
function f (line 62) | function f(e,t,n){return i(e,t,n)}
function e (line 62) | function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function r (line 62) | function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. L...
function i (line 62) | function i(e){return 3*e.length/4-r(e)}
function o (line 62) | function o(e){var t,n,i,o,a,s=e.length;o=r(e),a=new p(3*s/4-o),n=o>0?s-4...
function a (line 62) | function a(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}
function s (line 62) | function s(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o...
function u (line 62) | function u(e){for(var t,n=e.length,r=n%3,i="",o=[],a=0,u=n-r;a<u;a+=1638...
function e (line 67) | function e(e){function t(t){var n=e.match(t);return n&&n.length>1&&n[1]|...
function t (line 67) | function t(e){return e.split(".").length}
function n (line 67) | function n(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype...
function r (line 67) | function r(e){for(var r=Math.max(t(e[0]),t(e[1])),i=n(e,function(e){var ...
function i (line 67) | function i(t,n,i){var o=s;"string"==typeof n&&(i=n,n=void 0),void 0===n&...
function o (line 67) | function o(e,t,n){return!i(e,t,n)}
function n (line 67) | function n(e){var n;return n=e instanceof t?e:new t(e.toString(),"binary...
function n (line 72) | function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t]...
function r (line 72) | function r(e){return{key:e.nodeKey,className:e.className,"data-sourcepos...
function i (line 72) | function i(e){var t=e.toLowerCase(),n=w[t]||t;return void 0!==k[n]?n:e}
function o (line 72) | function o(e){return Object.keys(e||{}).reduce(function(t,n){return t[i(...
function a (line 72) | function a(e){var t=r(e),n=e.escapeHtml?{}:{dangerouslySetInnerHTML:{__h...
function s (line 72) | function s(e){var t=e.parent.parent;return t&&"list"===t.type.toLowerCas...
function u (line 72) | function u(e,t){var n=e;do{n=n.parent}while(!n.react);n.react.children.p...
function l (line 72) | function l(e,t,n){var r=Array.isArray(n)&&n.reduce(c,[]),i=[e,t].concat(...
function c (line 72) | function c(e,t){var n=e.length-1;return"string"==typeof t&&"string"==typ...
function p (line 72) | function p(e){return[e[0][0],":",e[0][1],"-",e[1][0],":",e[1][1]].map(St...
function f (line 72) | function f(e,t,n,r){var o={key:t};n.sourcePos&&e.sourcepos&&(o["data-sou...
function h (line 72) | function h(e){return e?e.sourcepos?p(e.sourcepos):h(e.parent):null}
function d (line 72) | function d(e){for(var t,n,r,o,a,l,c,p,d,m=e.walker(),v={sourcePos:this.s...
function m (line 72) | function m(e){var t=e.replace(/file:\/\//g,"x-file://");return decodeURI...
function v (line 72) | function v(e){var t=e||{};if(t.allowedTypes&&t.disallowedTypes)throw new...
function r (line 72) | function r(e){return{doc:new B,blocks:M,blockStarts:T,tip:this.doc,oldti...
function r (line 73) | function r(e){return{subject:"",delimiters:null,brackets:null,pos:0,refm...
function r (line 73) | function r(e,t,n){if(!(this.disableTags>0)){if(this.buffer+="<"+e,t&&t.l...
function i (line 73) | function i(e){e=e||{},e.softbreak=e.softbreak||"\n",this.disableTags=0,t...
function o (line 73) | function o(e){this.out(e.literal)}
function a (line 73) | function a(){this.lit(this.options.softbreak)}
function s (line 73) | function s(){this.tag("br",[],!0),this.cr()}
function u (line 73) | function u(e,t){var n=this.attrs(e);t?(this.options.safe&&O(e.destinatio...
function l (line 73) | function l(e,t){t?(0===this.disableTags&&(this.options.safe&&O(e.destina...
function c (line 73) | function c(e,t){this.tag(t?"em":"/em")}
function p (line 73) | function p(e,t){this.tag(t?"strong":"/strong")}
function f (line 73) | function f(e,t){var n=e.parent.parent,r=this.attrs(e);null!==n&&"list"==...
function h (line 73) | function h(e,t){var n="h"+e.level,r=this.attrs(e);t?(this.cr(),this.tag(...
function d (line 73) | function d(e){this.tag("code"),this.out(e.literal),this.tag("/code")}
function m (line 73) | function m(e){var t=e.info?e.info.split(/\s+/):[],n=this.attrs(e);t.leng...
function v (line 73) | function v(e){var t=this.attrs(e);this.cr(),this.tag("hr",t,!0),this.cr()}
function g (line 73) | function g(e,t){var n=this.attrs(e);t?(this.cr(),this.tag("blockquote",n...
function y (line 73) | function y(e,t){var n="bullet"===e.listType?"ul":"ol",r=this.attrs(e);if...
function _ (line 73) | function _(e,t){var n=this.attrs(e);t?this.tag("li",n):(this.tag("/li"),...
function b (line 73) | function b(e){this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3...
function x (line 73) | function x(e){this.cr(),this.options.safe?this.lit("\x3c!-- raw HTML omi...
function w (line 73) | function w(e,t){t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(...
function k (line 73) | function k(e,t){this.cr(),t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&...
function E (line 73) | function E(e){this.lit(this.esc(e,!1))}
function S (line 73) | function S(e){var t=[];if(this.options.sourcepos){var n=e.sourcepos;n&&t...
function r (line 73) | function r(e){return e.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}
function i (line 73) | function i(e){e=e||{},this.disableTags=0,this.lastOut="\n",this.indentLe...
function o (line 73) | function o(e){this.buffer="";var t,n,i,o,a,s,u,l,c=e.walker(),p=this.opt...
function a (line 73) | function a(e){this.disableTags>0?this.buffer+=e.replace(c,""):this.buffe...
function s (line 73) | function s(){if("\n"!==this.lastOut){this.buffer+="\n",this.lastOut="\n"...
function u (line 73) | function u(e,t,n){var r="<"+e;if(t&&t.length>0)for(var i,o=0;void 0!==(i...
function r (line 73) | function r(e,t){if("string"!=typeof e)throw new TypeError("argument str ...
function i (line 73) | function i(e,t,n){var r=n||{},i=r.encode||s;if("function"!=typeof i)thro...
function o (line 73) | function o(e,t){try{return t(e)}catch(t){return e}}
function r (line 79) | function r(e){return e}
function i (line 79) | function i(e,t,n){function i(e,t){var n=y.hasOwnProperty(t)?y[t]:null;k....
function t (line 79) | function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^...
function n (line 79) | function n(e){return"string"!=typeof e&&(e=String(e)),e}
function r (line 79) | function r(e){var t={next:function(){var t=e.shift();return{done:void 0=...
function i (line 79) | function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.ap...
function o (line 79) | function o(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already...
function a (line 79) | function a(e){return new Promise(function(t,n){e.onload=function(){t(e.r...
function s (line 79) | function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}
function u (line 79) | function u(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}
function l (line 79) | function l(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t....
function c (line 79) | function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLe...
function p (line 79) | function p(){return this.bodyUsed=!1,this._initBody=function(e){if(this....
function f (line 79) | function f(e){var t=e.toUpperCase();return x.indexOf(t)>-1?t:e}
function h (line 79) | function h(e,t){var n=(t=t||{}).body;if(e instanceof h){if(e.bodyUsed)th...
function d (line 79) | function d(e){var t=new FormData;return e.trim().split("&").forEach(func...
function m (line 79) | function m(e){var t=new i;return e.split(/\r?\n/).forEach(function(e){va...
function v (line 79) | function v(e,t){t||(t={}),this.type="default",this.status="status"in t?t...
function t (line 79) | function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^...
function n (line 79) | function n(e){return"string"!=typeof e&&(e=String(e)),e}
function r (line 79) | function r(e){var t={next:function(){var t=e.shift();return{done:void 0=...
function i (line 79) | function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.ap...
function o (line 79) | function o(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already...
function a (line 79) | function a(e){return new Promise(function(t,n){e.onload=function(){t(e.r...
function s (line 79) | function s(e){var t=new FileReader,n=a(t);return t.readAsArrayBuffer(e),n}
function u (line 79) | function u(e){var t=new FileReader,n=a(t);return t.readAsText(e),n}
function l (line 79) | function l(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t....
function c (line 79) | function c(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLe...
function p (line 79) | function p(){return this.bodyUsed=!1,this._initBody=function(e){if(this....
function f (line 79) | function f(e){var t=e.toUpperCase();return x.indexOf(t)>-1?t:e}
function h (line 79) | function h(e,t){var n=(t=t||{}).body;if(e instanceof h){if(e.bodyUsed)th...
function d (line 79) | function d(e){var t=new FormData;return e.trim().split("&").forEach(func...
function m (line 79) | function m(e){var t=new i;return e.split(/\r?\n/).forEach(function(e){va...
function v (line 79) | function v(e,t){t||(t={}),this.type="default",this.status="status"in t?t...
function n (line 79) | function n(e){return"[object Arguments]"==Object.prototype.toString.call...
function r (line 79) | function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&O...
function n (line 79) | function n(e){var t=[];for(var n in e)t.push(n);return t}
function r (line 79) | function r(e,t){if(e){var n,r="";for(var i in e)n=e[i],r&&(r+=" "),!n&&p...
function i (line 79) | function i(e,t){"svg"===e.name&&(t={decodeEntities:t.decodeEntities,xmlM...
function o (line 79) | function o(e){return"<"+e.data+">"}
function a (line 79) | function a(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.pa...
function s (line 79) | function s(e){return"<![CDATA["+e.children[0].data+"]]>"}
function u (line 79) | function u(e){return"\x3c!--"+e.data+"--\x3e"}
function r (line 79) | function r(e,t,n){"object"==typeof e?(n=t,t=e,e=null):"function"==typeof...
function r (line 79) | function r(e,t){return"function"==typeof t?function(n){return n.attribs&...
function i (line 79) | function i(e,t){return function(n){return e(n)||t(n)}}
function r (line 79) | function r(e,t,n,r){return Array.isArray(t)||(t=[t]),"number"==typeof r&...
function i (line 79) | function i(e,t,n,r){for(var o,a=[],s=0,u=t.length;s<u&&!(e(t[s])&&(a.pus...
function o (line 79) | function o(e,t){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return t[n];re...
function a (line 79) | function a(e,t){for(var n=null,r=0,i=t.length;r<i&&!n;r++)l(t[r])&&(e(t[...
function s (line 79) | function s(e,t){for(var n=0,r=t.length;n<r;n++)if(l(t[n])&&(e(t[n])||t[n...
function u (line 79) | function u(e,t){for(var n=[],r=t.slice();r.length;){var i=r.shift();l(i)...
function r (line 79) | function r(e,t){return e.children?e.children.map(function(e){return a(e,...
function i (line 79) | function i(e){return Array.isArray(e)?e.map(i).join(""):s(e)?"br"===e.na...
function r (line 79) | function r(e){var t=Object.keys(e).join("|"),n=o(e);t+="|#[xX][\\da-fA-F...
function i (line 79) | function i(e,t){return e<t?1:-1}
function o (line 79) | function o(e){return function(t){return"#"===t.charAt(1)?l("X"===t.charA...
function e (line 79) | function e(e){return";"!==e.substr(-1)&&(e+=";"),c(e)}
function r (line 79) | function r(e){return Object.keys(e).sort().reduce(function(t,n){return t...
function i (line 79) | function i(e){var t=[],n=[];return Object.keys(e).forEach(function(e){1=...
function o (line 79) | function o(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}
function a (line 79) | function a(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-...
function s (line 79) | function s(e,t){function n(t){return e[t]}return function(e){return e.re...
function u (line 79) | function u(e){return e.replace(m,o).replace(d,a).replace(h,o)}
function t (line 79) | function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,lo...
function r (line 79) | function r(e,t,n){var r=null,i=function(e,t){n&&n(e,t),r&&r.visit(e,t)},...
function i (line 79) | function i(e,t,n){var i=t||{};return i.sourceType="module",r(e,i,n)}
function o (line 79) | function o(e,t,n){var i=t||{};return i.sourceType="script",r(e,i,n)}
function a (line 79) | function a(e,t,n){var r,i=new c.Tokenizer(e,t);r=[];try{for(;;){var o=i....
function e (line 79) | function e(){this.attach=!1,this.comments=[],this.stack=[],this.leading=...
function r (line 79) | function r(e){var t;switch(e.type){case s.JSXSyntax.JSXIdentifier:t=e.na...
function r (line 79) | function r(){this.constructor=t}
function t (line 79) | function t(t,n,r){return e.call(this,t,n,r)||this}
function e (line 79) | function e(e){this.type=r.JSXSyntax.JSXClosingElement,this.name=e}
function e (line 79) | function e(e,t,n){this.type=r.JSXSyntax.JSXElement,this.openingElement=e...
function e (line 79) | function e(){this.type=r.JSXSyntax.JSXEmptyExpression}
function e (line 79) | function e(e){this.type=r.JSXSyntax.JSXExpressionContainer,this.expressi...
function e (line 79) | function e(e){this.type=r.JSXSyntax.JSXIdentifier,this.name=e}
function e (line 79) | function e(e,t){this.type=r.JSXSyntax.JSXMemberExpression,this.object=e,...
function e (line 79) | function e(e,t){this.type=r.JSXSyntax.JSXAttribute,this.name=e,this.valu...
function e (line 79) | function e(e,t){this.type=r.JSXSyntax.JSXNamespacedName,this.namespace=e...
function e (line 79) | function e(e,t,n){this.type=r.JSXSyntax.JSXOpeningElement,this.name=e,th...
function e (line 79) | function e(e){this.type=r.JSXSyntax.JSXSpreadAttribute,this.argument=e}
function e (line 79) | function e(e,t){this.type=r.JSXSyntax.JSXText,this.value=e,this.raw=t}
function e (line 79) | function e(e){this.type=r.Syntax.ArrayExpression,this.elements=e}
function e (line 79) | function e(e){this.type=r.Syntax.ArrayPattern,this.elements=e}
function e (line 79) | function e(e,t,n){this.type=r.Syntax.ArrowFunctionExpression,this.id=nul...
function e (line 79) | function e(e,t,n){this.type=r.Syntax.AssignmentExpression,this.operator=...
function e (line 79) | function e(e,t){this.type=r.Syntax.AssignmentPattern,this.left=e,this.ri...
function e (line 79) | function e(e,t,n){this.type=r.Syntax.ArrowFunctionExpression,this.id=nul...
function e (line 79) | function e(e,t,n){this.type=r.Syntax.FunctionDeclaration,this.id=e,this....
function e (line 79) | function e(e,t,n){this.type=r.Syntax.FunctionExpression,this.id=e,this.p...
function e (line 79) | function e(e){this.type=r.Syntax.AwaitExpression,this.argument=e}
function e (line 79) | function e(e,t,n){var i="||"===e||"&&"===e;this.type=i?r.Syntax.LogicalE...
function e (line 79) | function e(e){this.type=r.Syntax.BlockStatement,this.body=e}
function e (line 79) | function e(e){this.type=r.Syntax.BreakStatement,this.label=e}
function e (line 79) | function e(e,t){this.type=r.Syntax.CallExpression,this.callee=e,this.arg...
function e (line 79) | function e(e,t){this.type=r.Syntax.CatchClause,this.param=e,this.body=t}
function e (line 79) | function e(e){this.type=r.Syntax.ClassBody,this.body=e}
function e (line 79) | function e(e,t,n){this.type=r.Syntax.ClassDeclaration,this.id=e,this.sup...
function e (line 79) | function e(e,t,n){this.type=r.Syntax.ClassExpression,this.id=e,this.supe...
function e (line 79) | function e(e,t){this.type=r.Syntax.MemberExpression,this.computed=!0,thi...
function e (line 79) | function e(e,t,n){this.type=r.Syntax.ConditionalExpression,this.test=e,t...
function e (line 79) | function e(e){this.type=r.Syntax.ContinueStatement,this.label=e}
function e (line 79) | function e(){this.type=r.Syntax.DebuggerStatement}
function e (line 79) | function e(e,t){this.type=r.Syntax.ExpressionStatement,this.expression=e...
function e (line 79) | function e(e,t){this.type=r.Syntax.DoWhileStatement,this.body=e,this.tes...
function e (line 79) | function e(){this.type=r.Syntax.EmptyStatement}
function e (line 79) | function e(e){this.type=r.Syntax.ExportAllDeclaration,this.source=e}
function e (line 79) | function e(e){this.type=r.Syntax.ExportDefaultDeclaration,this.declarati...
function e (line 79) | function e(e,t,n){this.type=r.Syntax.ExportNamedDeclaration,this.declara...
function e (line 79) | function e(e,t){this.type=r.Syntax.ExportSpecifier,this.exported=t,this....
function e (line 79) | function e(e){this.type=r.Syntax.ExpressionStatement,this.expression=e}
function e (line 79) | function e(e,t,n){this.type=r.Syntax.ForInStatement,this.left=e,this.rig...
function e (line 79) | function e(e,t,n){this.type=r.Syntax.ForOfStatement,this.left=e,this.rig...
function e (line 79) | function e(e,t,n,i){this.type=r.Syntax.ForStatement,this.init=e,this.tes...
function e (line 79) | function e(e,t,n,i){this.type=r.Syntax.FunctionDeclaration,this.id=e,thi...
function e (line 79) | function e(e,t,n,i){this.type=r.Syntax.FunctionExpression,this.id=e,this...
function e (line 79) | function e(e){this.type=r.Syntax.Identifier,this.name=e}
function e (line 79) | function e(e,t,n){this.type=r.Syntax.IfStatement,this.test=e,this.conseq...
function e (line 79) | function e(e,t){this.type=r.Syntax.ImportDeclaration,this.specifiers=e,t...
function e (line 79) | function e(e){this.type=r.Syntax.ImportDefaultSpecifier,this.local=e}
function e (line 79) | function e(e){this.type=r.Syntax.ImportNamespaceSpecifier,this.local=e}
function e (line 79) | function e(e,t){this.type=r.Syntax.ImportSpecifier,this.local=e,this.imp...
function e (line 79) | function e(e,t){this.type=r.Syntax.LabeledStatement,this.label=e,this.bo...
function e (line 79) | function e(e,t){this.type=r.Syntax.Literal,this.value=e,this.raw=t}
function e (line 79) | function e(e,t){this.type=r.Syntax.MetaProperty,this.meta=e,this.propert...
function e (line 79) | function e(e,t,n,i,o){this.type=r.Syntax.MethodDefinition,this.key=e,thi...
function e (line 79) | function e(e){this.type=r.Syntax.Program,this.body=e,this.sourceType="mo...
function e (line 79) | function e(e,t){this.type=r.Syntax.NewExpression,this.callee=e,this.argu...
function e (line 79) | function e(e){this.type=r.Syntax.ObjectExpression,this.properties=e}
function e (line 79) | function e(e){this.type=r.Syntax.ObjectPattern,this.properties=e}
function e (line 79) | function e(e,t,n,i,o,a){this.type=r.Syntax.Property,this.key=t,this.comp...
function e (line 79) | function e(e,t,n,i){this.type=r.Syntax.Literal,this.value=e,this.raw=t,t...
function e (line 79) | function e(e){this.type=r.Syntax.RestElement,this.argument=e}
function e (line 79) | function e(e){this.type=r.Syntax.ReturnStatement,this.argument=e}
function e (line 79) | function e(e){this.type=r.Syntax.Program,this.body=e,this.sourceType="sc...
function e (line 79) | function e(e){this.type=r.Syntax.SequenceExpression,this.expressions=e}
function e (line 79) | function e(e){this.type=r.Syntax.SpreadElement,this.argument=e}
function e (line 79) | function e(e,t){this.type=r.Syntax.MemberExpression,this.computed=!1,thi...
function e (line 79) | function e(){this.type=r.Syntax.Super}
function e (line 79) | function e(e,t){this.type=r.Syntax.SwitchCase,this.test=e,this.consequen...
function e (line 79) | function e(e,t){this.type=r.Syntax.SwitchStatement,this.discriminant=e,t...
function e (line 79) | function e(e,t){this.type=r.Syntax.TaggedTemplateExpression,this.tag=e,t...
function e (line 79) | function e(e,t){this.type=r.Syntax.TemplateElement,this.value=e,this.tai...
function e (line 79) | function e(e,t){this.type=r.Syntax.TemplateLiteral,this.quasis=e,this.ex...
function e (line 79) | function e(){this.type=r.Syntax.ThisExpression}
function e (line 79) | function e(e){this.type=r.Syntax.ThrowStatement,this.argument=e}
function e (line 79) | function e(e,t,n){this.type=r.Syntax.TryStatement,this.block=e,this.hand...
function e (line 79) | function e(e,t){this.type=r.Syntax.UnaryExpression,this.operator=e,this....
function e (line 79) | function e(e,t,n){this.type=r.Syntax.UpdateExpression,this.operator=e,th...
function e (line 79) | function e(e,t){this.type=r.Syntax.VariableDeclaration,this.declarations...
function e (line 79) | function e(e,t){this.type=r.Syntax.VariableDeclarator,this.id=e,this.ini...
function e (line 79) | function e(e,t){this.type=r.Syntax.WhileStatement,this.test=e,this.body=t}
function e (line 79) | function e(e,t){this.type=r.Syntax.WithStatement,this.object=e,this.body=t}
function e (line 79) | function e(e,t){this.type=r.Syntax.YieldExpression,this.argument=e,this....
function e (line 79) | function e(e,t,n){void 0===t&&(t={}),this.config={range:"boolean"==typeo...
function n (line 79) | function n(e,t){if(!e)throw new Error("ASSERT: "+t)}
function e (line 79) | function e(){this.errors=[],this.tolerant=!1}
function r (line 79) | function r(e){return"0123456789abcdef".indexOf(e.toLowerCase())}
function i (line 79) | function i(e){return"01234567".indexOf(e)}
function e (line 79) | function e(e,t){this.source=e,this.errorHandler=t,this.trackComment=!1,t...
function e (line 79) | function e(){this.values=[],this.curly=this.paren=-1}
function e (line 79) | function e(e,t){this.errorHandler=new r.ErrorHandler,this.errorHandler.t...
function r (line 79) | function r(e){for(var t=0,n=m.length;t<n;t++)if(m[t].obj===e)return m[t]}
function i (line 79) | function i(e,t){for(var n=0,r=e.observers.length;n<r;n++)if(e.observers[...
function o (line 79) | function o(e,t){for(var n=0,r=e.observers.length;n<r;n++)if(e.observers[...
function a (line 79) | function a(e,t){t.unobserve()}
function s (line 79) | function s(e,t){var n,a=[],s=r(e);if(s?n=i(s,t):(s=new v(e),m.push(s)),n...
function u (line 79) | function u(e){for(var t,n=0,r=m.length;n<r;n++)if(m[n].obj===e.object){t...
function l (line 79) | function l(e,t,n,r){if(t!==e){"function"==typeof t.toJSON&&(t=t.toJSON()...
function c (line 79) | function c(e,t){var n=[];return l(e,t,n,""),n}
function e (line 79) | function e(e){this.observers=[],this.obj=e}
function e (line 79) | function e(e,t){this.callback=e,this.observer=t}
function r (line 79) | function r(e){return e.replace(i,function(e,t){return t.toUpperCase()})}
function r (line 79) | function r(e){return i(e.replace(o,"ms-"))}
function r (line 79) | function r(e,t){return!(!e||!t)&&(e===t||!i(e)&&(i(t)?r(e,t.parentNode):...
function r (line 79) | function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"...
function i (line 79) | function i(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"le...
function o (line 79) | function o(e){return i(e)?Array.isArray(e)?e.slice():r(e):[e]}
function r (line 79) | function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}
function i (line 79) | function i(e,t){var n=l;l||u(!1);var i=r(e),o=i&&s(i);if(o){n.innerHTML=...
function r (line 79) | function r(e){return a||o(!1),f.hasOwnProperty(e)||(e="*"),s.hasOwnPrope...
function r (line 79) | function r(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e...
function r (line 79) | function r(e){return e.replace(i,"-$1").toLowerCase()}
function r (line 79) | function r(e){return i(e).replace(o,"-ms-")}
function r (line 79) | function r(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||windo...
function r (line 79) | function r(e){return i(e)&&3==e.nodeType}
function r (line 79) | function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t...
function r (line 79) | function r(e){this._cbs=e||{},this.events=[]}
function r (line 79) | function r(e,t){this.init(e,t)}
function i (line 79) | function i(e,t){return c.getElementsByTagName(e,t,!0)}
function o (line 79) | function o(e,t){return c.getElementsByTagName(e,t,!0,1)[0]}
function a (line 79) | function a(e,t,n){return c.getText(c.getElementsByTagName(e,t,n,1)).trim()}
function s (line 79) | function s(e,t,n,r,i){var o=a(n,r,i);o&&(e[t]=o)}
function r (line 79) | function r(e){this._cbs=e||{}}
function r (line 79) | function r(e){o.call(this,new i(this),e)}
function i (line 79) | function i(e){this.scope=e}
function r (line 79) | function r(e){return e in a?a[e]:a[e]=e.replace(i,"-$&").toLowerCase().r...
function r (line 79) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 79) | function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a ...
function o (line 79) | function o(e){var t=e.prefixMap,n=e.plugins,r=arguments.length>1&&void 0...
function e (line 79) | function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.en...
function r (line 79) | function r(e,t,n,r){var i=r.browserName,a=r.browserVersion,s=r.cssPrefix...
function r (line 79) | function r(e,t,n,r){var i=r.browserName,u=r.browserVersion,l=r.cssPrefix...
function r (line 79) | function r(e,t,n,r){var i=r.browserName,a=r.browserVersion,s=r.cssPrefix...
function r (line 79) | function r(e,t,n,r){var i=r.browserName,s=r.browserVersion,u=r.cssPrefix...
function r (line 79) | function r(e,t,n,r){var i=r.browserName,u=r.browserVersion,c=r.cssPrefix...
function r (line 79) | function r(e,t,n,r){var i=r.browserName,s=r.browserVersion,u=r.cssPrefix...
function r (line 79) | function r(e,t,n,r){var i=r.browserName,a=r.cssPrefix,s=r.keepUnprefixed...
function r (line 79) | function r(e,t,n,r){var i=r.browserName,a=r.cssPrefix,s=r.keepUnprefixed...
function r (line 79) | function r(e,t,n,r){var i=r.cssPrefix,u=r.keepUnprefixed;if(a.hasOwnProp...
function r (line 79) | function r(e,t,n,r){var i=r.cssPrefix,u=r.keepUnprefixed,l=r.requiresPre...
function r (line 79) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 79) | function i(e){function t(e){for(var i in e){var o=e[i];if((0,f.default)(...
function r (line 79) | function r(e){return e&&e.__esModule?e:{default:e}}
function r (line 79) | function r(e,t){if("string"==typeof t&&!(0,o.default)(t)&&t.indexOf("cro...
function r (line 79) | function r(e,t){if("cursor"===e&&o.hasOwnProperty(t))return i.map(functi...
function r (line 79) | function r(e,t){if("string"==typeof t&&!(0,o.default)(t)&&t.indexOf("fil...
function r (line 79) | function r(e,t){if("display"===e&&i.hasOwnProperty(t))return i[t]}
function r (line 79) | function r(e,t,n){"flexDirection"===e&&"string"==typeof t&&(t.indexOf("c...
function r (line 79) | function r(e,t){if("string"==typeof t&&!(0,o.default)(t)&&s.test(t))retu...
function r (line 79) | function r(e,t){if("string"==typeof t&&!(0,o.default)(t)&&t.indexOf("ima...
function r (line 79) | function r(e,t){if("position"===e&&"sticky"===t)return["-webkit-sticky",...
function r (line 79) | function r(e,t){if(o.hasOwnProperty(e)&&a.hasOwnProperty(t))return i.map...
function r (line 79) | function r(e){return e&&e.__esModule?e:{default:e}}
function i (line 79) | function i(e,t){if((0,l.default)(e))return e;for(var n=e.split(/,(?![^()...
function o (line 79) | function o(e,t,n,r){if("string"==typeof t&&f.hasOwnProperty(e)){var o=i(...
function r (line 79) | function r(e){if(e.firefox)return"firefox";if(e.mobile||e.tablet){if(e.i...
function i (line 79) | function i(e){var t=a.default._detect(e);t.yandexbrowser&&(t=a.default._...
function r (line 79) | function r(e,t,n){return"chrome"===e&&t<43||("safari"===e||"ios_saf"===e...
function r (line 79) | function r(e,t,n){if(e.hasOwnProperty(t))for(var r=e[t],i=0,a=r.length;i...
function r (line 79) | function r(e){return function(){throw new Error("Function "+e+" is depre...
function r (line 79) | function r(e,t){var n,r,i,o,a,s,u;if(null===t)return{};for(n={},r=Object...
function i (line 79) | function i(e){var t,n,r;if(t=e.toString(16).toUpperCase(),e<=255)n="x",r...
function o (line 79) | function o(e){this.schema=e.schema||P,this.indent=Math.max(1,e.indent||2...
function a (line 79) | function a(e,t){for(var n,r=M.repeat(" ",t),i=0,o=-1,a="",s=e.length;i<s...
function s (line 79) | function s(e,t){return"\n"+M.repeat(" ",e.indent*t)}
function u (line 79) | function u(e,t){var n,r,i;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(i...
function l (line 79) | function l(e){return e===B||e===N}
function c (line 79) | function c(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e...
function p (line 79) | function p(e){return c(e)&&65279!==e&&e!==J&&e!==Z&&e!==Q&&e!==te&&e!==r...
function f (line 79) | function f(e){return c(e)&&65279!==e&&!l(e)&&e!==G&&e!==K&&e!==X&&
Condensed preview — 529 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (5,249K chars).
[
{
"path": ".all-contributorsrc",
"chars": 4813,
"preview": "{\n \"files\": [\n \"README.md\"\n ],\n \"imageSize\": 100,\n \"commit\": false,\n \"contributors\": [\n {\n \"login\": \"Liu"
},
{
"path": ".editorconfig",
"chars": 22,
"preview": "[*.js]\nindent_size = 2"
},
{
"path": ".gitattributes",
"chars": 526,
"preview": "# Auto detect text files and perform LF normalization\n* text=auto\n# Custom for Visual Studio\n*.cs diff=csharp\n# Stan"
},
{
"path": ".github/.vscode/settings.json",
"chars": 42,
"preview": "{\n \"cSpell.words\": [\n \"endgroup\"\n ]\n}"
},
{
"path": ".github/mergify.yml",
"chars": 1697,
"preview": "\npull_request_rules:\n - name: automatic merge on CI success and tag\n conditions:\n - label=ready-to-be-merged\n "
},
{
"path": ".github/workflows/auto-cancellation.yml",
"chars": 473,
"preview": "name: Cancelling Duplicates\non:\n workflow_run:\n workflows: ['Test E2E']\n types: ['requested']\n\njobs:\n cancel-dup"
},
{
"path": ".github/workflows/deploy.yml",
"chars": 993,
"preview": "name: auto deploy on master\n\non:\n push:\n branches:\n - master\n\njobs:\n deploy:\n runs-on: ubuntu-latest\n st"
},
{
"path": ".github/workflows/e2e-test-pr.yml",
"chars": 829,
"preview": "name: Test E2E on pull request\n\non: pull_request\n\njobs:\n e2e-pr:\n name: E2E on pull request\n runs-on: ubuntu-late"
},
{
"path": ".github/workflows/e2e-test-push.yml",
"chars": 735,
"preview": "name: Test E2E on push\n\non: push\n\njobs:\n e2e-push:\n name: E2E on push\n runs-on: ubuntu-latest\n env:\n CYPR"
},
{
"path": ".github/workflows/html-test.yml",
"chars": 365,
"preview": "name: Html Snapshot Tests\n\non: [push, pull_request]\n\njobs:\n html-snapshot-test:\n name: Html Snapshot Test\n runs-o"
},
{
"path": ".github/workflows/sonar-cloud.yml",
"chars": 391,
"preview": "name: Sonar Cloud Analysis\n\non:\n push:\n branches:\n - '**'\n\njobs:\n sonarCloudTrigger:\n name: SonarCloud Trig"
},
{
"path": ".github/workflows/unit-test.yml",
"chars": 1883,
"preview": "name: Unit Tests\n\non: [push, pull_request]\n\njobs:\n\n backend:\n name: Test Backend\n runs-on: ubuntu-latest\n step"
},
{
"path": ".github/workflows/update-e2e-snapshot.yml",
"chars": 3038,
"preview": "name: Update E2E Snapshot when comment on pr\n\non:\n issue_comment:\n types: [created]\n \njobs:\n update-snapshot:\n "
},
{
"path": ".github/workflows/update-html-snapshot.yml",
"chars": 2469,
"preview": "name: Update HTML Snapshot when comment on pr\n\non:\n issue_comment:\n types: [created]\n \njobs:\n update-snapshot:\n "
},
{
"path": ".gitignore",
"chars": 1433,
"preview": "# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm\n# Reference:"
},
{
"path": ".imgbotconfig",
"chars": 49,
"preview": "{\n \"ignoredFiles\": [\n \"e2e/*\",\n ]\n}\n"
},
{
"path": ".renovaterc.json",
"chars": 630,
"preview": "{\n \"$schema\": \"https://docs.renovatebot.com/renovate-schema.json\",\n \"extends\": [\n \"config:base\",\n \"docker:enable"
},
{
"path": "LICENSE",
"chars": 34527,
"preview": " GNU AFFERO GENERAL PUBLIC LICENSE\n Version 3, 19 November 2007\n\n Copyright (C)"
},
{
"path": "Makefile",
"chars": 4604,
"preview": "## root makefile\n\ninclude ./build/share.mk\n\n.PHONY: default\ndefault: .short-help ;\n\n# == common suffix ==\n\n# use command"
},
{
"path": "README.md",
"chars": 11986,
"preview": "# This Project will be deprecated. Please use [OJHunt Lite](https://github.com/Liu233w/ojhunt-lite) instead.\n\n\n\n\n# This "
},
{
"path": "README_zh-hans.md",
"chars": 3297,
"preview": "新版 NWPU-ACM 查询系统\n===\n\n中文版文档可能有不准确之处,请以英文版文档为准。\n\n[\n\n## 运行环境\n- docker docker-compose\n\n## 开发环境\n- docker docker-compose (必要)\n- dotnet core 3.1\n- Visual Studio "
},
{
"path": "backend/StyleCop.ruleset",
"chars": 10589,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RuleSet Name=\"Microsoft Managed Recommended Rules\" Description=\"These rules foc"
},
{
"path": "backend/dev.Dockerfile",
"chars": 1159,
"preview": "FROM mcr.microsoft.com/dotnet/sdk:8.0\n\n# needed in sln file\nRUN mkdir /build && echo '<?xml version=\"1.0\" encoding=\"utf-"
},
{
"path": "backend/global.json",
"chars": 107,
"preview": "{\n \"sdk\": {\n \"version\": \"8.0.418\",\n \"rollForward\": \"latestMajor\",\n \"allowPrerelease\": false\n }\n}"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Accounts/AccountAppService.cs",
"chars": 3240,
"preview": "using System.Diagnostics;\nusing System.Text.RegularExpressions;\nusing System.Threading.Tasks;\nusing Abp.Authorization;\nu"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Accounts/Dto/ChangePasswordInput.cs",
"chars": 283,
"preview": "using System.ComponentModel.DataAnnotations;\n\nnamespace AcmStatisticsBackend.Accounts.Dto\n{\n public class ChangePass"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Accounts/Dto/RegisterInput.cs",
"chars": 591,
"preview": "using System.ComponentModel.DataAnnotations;\nusing Abp.Auditing;\nusing Abp.Authorization.Users;\n\nnamespace AcmStatistic"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Accounts/Dto/RegisterOutput.cs",
"chars": 136,
"preview": "namespace AcmStatisticsBackend.Accounts.Dto\n{\n public class RegisterOutput\n {\n public bool CanLogin { get;"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Accounts/IAccountAppService.cs",
"chars": 534,
"preview": "using System.Threading.Tasks;\nusing Abp.Application.Services;\nusing AcmStatisticsBackend.Accounts.Dto;\n\nnamespace AcmSt"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/AcmStatisticsBackend.Application.csproj",
"chars": 1419,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n <PropertyGroup>\n <VersionPrefix>1.0.0.0</VersionPrefix>\n <TargetFramework>net8"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/AcmStatisticsBackendAppServiceBase.cs",
"chars": 1399,
"preview": "using System;\nusing System.Threading.Tasks;\nusing Abp.Application.Services;\nusing Abp.IdentityFramework;\nusing Abp.Runt"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/AcmStatisticsBackendApplicationModule.cs",
"chars": 926,
"preview": "using Abp.AutoMapper;\nusing Abp.Modules;\nusing Abp.Reflection.Extensions;\nusing AcmStatisticsBackend.Authorization;\n\nna"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Authorization/AbpLoginResultTypeHelper.cs",
"chars": 3376,
"preview": "using System;\nusing Abp;\nusing Abp.Authorization;\nusing Abp.Dependency;\nusing Abp.UI;\n\nnamespace AcmStatisticsBackend.Au"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/DefaultQueryAppService.cs",
"chars": 1941,
"preview": "using System.Diagnostics;\nusing System.Threading.Tasks;\nusing Abp.Authorization;\nusing Abp.Domain.Repositories;\nusing A"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/DefaultQueryDto.cs",
"chars": 1222,
"preview": "using System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing Abp.AutoMapper;\nusing Abp.Runtime."
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/DeleteQueryHistoryInput.cs",
"chars": 415,
"preview": "using System.Diagnostics.CodeAnalysis;\n\nnamespace AcmStatisticsBackend.Crawlers.Dto\n{\n public class DeleteQueryHisto"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetAcWorkerHistoryInput.cs",
"chars": 231,
"preview": "using System.ComponentModel.DataAnnotations;\n\nnamespace AcmStatisticsBackend.Crawlers.Dto\n{\n public class GetAcWorke"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetQueryHistoryAndSummaryOutput.cs",
"chars": 897,
"preview": "using System;\nusing System.ComponentModel.DataAnnotations;\n\nnamespace AcmStatisticsBackend.Crawlers.Dto\n{\n public cla"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetQueryHistoryOutput.cs",
"chars": 554,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing Abp.AutoMapper;\n\nnam"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/GetQuerySummaryInput.cs",
"chars": 228,
"preview": "using System.ComponentModel.DataAnnotations;\n\nnamespace AcmStatisticsBackend.Crawlers.Dto\n{\n public class GetQuerySu"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/QueryCrawlerSummaryDto.cs",
"chars": 943,
"preview": "using System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing AutoMapper;\n\nnamespace AcmStatisti"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/QuerySummaryDto.cs",
"chars": 1369,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing Abp.AutoMapper;\n\nnam"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/QueryWorkerHistoryDto.cs",
"chars": 3319,
"preview": "using System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing System.Diagnostics.CodeAnalysis;\nu"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/SaveOrReplaceQueryHistoryInput.cs",
"chars": 582,
"preview": "using System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing Abp.AutoMapper;\n\nnamespace AcmStat"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/SaveOrReplaceQueryHistoryOutput.cs",
"chars": 239,
"preview": "using System.ComponentModel.DataAnnotations;\n\nnamespace AcmStatisticsBackend.Crawlers.Dto\n{\n public class SaveOrRepl"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/Dto/UsernameInCrawlerDto.cs",
"chars": 535,
"preview": "using System.ComponentModel.DataAnnotations;\nusing AutoMapper;\n\nnamespace AcmStatisticsBackend.Crawlers.Dto\n{\n [Auto"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/IDefaultQueryAppService.cs",
"chars": 782,
"preview": "using System.Threading.Tasks;\nusing Abp.Application.Services;\nusing AcmStatisticsBackend.Crawlers.Dto;\n\nnamespace AcmSt"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/IQueryHistoryAppService.cs",
"chars": 1926,
"preview": "using System.Threading.Tasks;\nusing Abp.Application.Services;\nusing Abp.Application.Services.Dto;\nusing AcmStatisticsBa"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Crawlers/QueryHistoryAppService.cs",
"chars": 11023,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Linq;\nusing System.Threading.Task"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Net/MimeTypes/MimeTypeNames.cs",
"chars": 16307,
"preview": "using System;\n\nnamespace AcmStatisticsBackend.Net.MimeTypes\n{\n /* Copied from:\n * http://stackoverflow.com/quest"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Properties/AssemblyInfo.cs",
"chars": 803,
"preview": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled "
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Sessions/Dto/ApplicationInfoDto.cs",
"chars": 305,
"preview": "using System;\nusing System.Collections.Generic;\n\nnamespace AcmStatisticsBackend.Sessions.Dto\n{\n public class Applica"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Sessions/Dto/GetCurrentLoginInformationsOutput.cs",
"chars": 280,
"preview": "namespace AcmStatisticsBackend.Sessions.Dto\n{\n public class GetCurrentLoginInformationsOutput\n {\n public A"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Sessions/Dto/TenantLoginInfoDto.cs",
"chars": 333,
"preview": "using Abp.Application.Services.Dto;\nusing Abp.AutoMapper;\nusing AcmStatisticsBackend.MultiTenancy;\n\nnamespace AcmStatis"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Sessions/Dto/UserLoginInfoDto.cs",
"chars": 434,
"preview": "using Abp.Application.Services.Dto;\nusing Abp.AutoMapper;\nusing AcmStatisticsBackend.Authorization.Users;\n\nnamespace Ac"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Sessions/ISessionAppService.cs",
"chars": 302,
"preview": "using System.Threading.Tasks;\nusing Abp.Application.Services;\nusing AcmStatisticsBackend.Sessions.Dto;\n\nnamespace AcmSt"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Sessions/SessionAppService.cs",
"chars": 1148,
"preview": "using System.Collections.Generic;\nusing System.Threading.Tasks;\nusing Abp.Auditing;\nusing AcmStatisticsBackend.Sessions."
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Settings/Dto/UpdateAutoSaveHistoryInput.cs",
"chars": 155,
"preview": "namespace AcmStatisticsBackend.Settings.Dto\n{\n public class UpdateAutoSaveHistoryInput\n {\n public bool Aut"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Settings/Dto/UserSettingsConfigDto.cs",
"chars": 199,
"preview": "using System.Collections.Generic;\n\nnamespace AcmStatisticsBackend.Settings.Dto\n{\n public class UserSettingsConfigDto"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Settings/Dto/UserTimeZoneDto.cs",
"chars": 836,
"preview": "using System.ComponentModel.DataAnnotations;\nusing System.Linq;\nusing Abp.Runtime.Validation;\nusing TimeZoneConverter;\n"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Settings/IUserConfigAppService.cs",
"chars": 721,
"preview": "using System.Threading.Tasks;\nusing AcmStatisticsBackend.Settings.Dto;\n\nnamespace AcmStatisticsBackend.Settings\n{\n /"
},
{
"path": "backend/src/AcmStatisticsBackend.Application/Settings/UserConfigAppService.cs",
"chars": 3872,
"preview": "using System.Collections.Generic;\nusing System.Threading.Tasks;\nusing Abp.Authorization;\nusing Abp.Configuration;\nusing"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/AcmStatisticsBackend.Core.csproj",
"chars": 1187,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n <PropertyGroup>\n <VersionPrefix>1.0.0.0</VersionPrefix>\n <TargetFramework>net8"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/AcmStatisticsBackendConsts.cs",
"chars": 428,
"preview": "namespace AcmStatisticsBackend\n{\n public class AcmStatisticsBackendConsts\n {\n public const string Localizat"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/AcmStatisticsBackendCoreModule.cs",
"chars": 1977,
"preview": "using Abp.Dependency;\nusing Abp.Modules;\nusing Abp.Reflection.Extensions;\nusing Abp.Timing;\nusing Abp.Zero;\nusing Abp.Z"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/AcmStatisticsBackendExtensions.cs",
"chars": 2291,
"preview": "using System;\nusing System.Collections;\nusing System.Collections.Generic;\n\nnamespace AcmStatisticsBackend\n{\n public "
},
{
"path": "backend/src/AcmStatisticsBackend.Core/AppVersionHelper.cs",
"chars": 808,
"preview": "using System;\nusing System.IO;\nusing Abp.Reflection.Extensions;\n\nnamespace AcmStatisticsBackend\n{\n /// <summary>\n "
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/AcmStatisticsBackendAuthorizationProvider.cs",
"chars": 1243,
"preview": "using Abp.Authorization;\nusing Abp.Localization;\nusing Abp.MultiTenancy;\n\nnamespace AcmStatisticsBackend.Authorization\n"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/LoginManager.cs",
"chars": 1546,
"preview": "using Abp.Authorization;\nusing Abp.Authorization.Users;\nusing Abp.Configuration;\nusing Abp.Configuration.Startup;\nusing"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/PermissionChecker.cs",
"chars": 361,
"preview": "using Abp.Authorization;\nusing AcmStatisticsBackend.Authorization.Roles;\nusing AcmStatisticsBackend.Authorization.Users"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/PermissionNames.cs",
"chars": 577,
"preview": "namespace AcmStatisticsBackend.Authorization\n{\n public static class PermissionNames\n {\n#pragma warning disable SA"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/Roles/AppRoleConfig.cs",
"chars": 901,
"preview": "using Abp.MultiTenancy;\nusing Abp.Zero.Configuration;\n\nnamespace AcmStatisticsBackend.Authorization.Roles\n{\n public "
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/Roles/Role.cs",
"chars": 527,
"preview": "using System.ComponentModel.DataAnnotations;\nusing Abp.Authorization.Roles;\nusing AcmStatisticsBackend.Authorization.Use"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/Roles/RoleManager.cs",
"chars": 1499,
"preview": "using System.Collections.Generic;\nusing Abp.Authorization;\nusing Abp.Authorization.Roles;\nusing Abp.Domain.Repositories;"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/Roles/RoleStore.cs",
"chars": 618,
"preview": "using Abp.Authorization.Roles;\nusing Abp.Domain.Repositories;\nusing Abp.Domain.Uow;\nusing AcmStatisticsBackend.Authoriza"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/Roles/StaticRoleNames.cs",
"chars": 363,
"preview": "namespace AcmStatisticsBackend.Authorization.Roles\n{\n public static class StaticRoleNames\n {\n public static"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/Users/User.cs",
"chars": 879,
"preview": "using System;\nusing System.Collections.Generic;\nusing Abp.Authorization.Users;\nusing Abp.Extensions;\n\nnamespace AcmStati"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserClaimsPrincipalFactory.cs",
"chars": 720,
"preview": "using Abp.Authorization;\nusing Abp.Domain.Uow;\nusing AcmStatisticsBackend.Authorization.Roles;\nusing Microsoft.AspNetCor"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserDeletingEventHandler.cs",
"chars": 1186,
"preview": "using System.Linq.Dynamic.Core;\nusing System.Threading.Tasks;\nusing Abp.Dependency;\nusing Abp.Domain.Repositories;\nusin"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserManager.cs",
"chars": 1677,
"preview": "using System;\nusing System.Collections.Generic;\nusing Abp.Authorization;\nusing Abp.Authorization.Roles;\nusing Abp.Autho"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserRegistrationManager.cs",
"chars": 3477,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Abp.Authorization"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Authorization/Users/UserStore.cs",
"chars": 1400,
"preview": "using Abp.Authorization.Users;\nusing Abp.Domain.Repositories;\nusing Abp.Domain.Uow;\nusing Abp.Linq;\nusing Abp.Organizati"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Configuration/AppConfigurations.cs",
"chars": 1616,
"preview": "using System.Collections.Concurrent;\nusing Abp.Extensions;\nusing Abp.Reflection.Extensions;\nusing Microsoft.Extensions."
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Configuration/AppEnvironmentVariables.cs",
"chars": 276,
"preview": "using System;\n\nnamespace AcmStatisticsBackend.Configuration\n{\n public class AppEnvironmentVariables\n {\n pub"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Configuration/AppSettingNames.cs",
"chars": 225,
"preview": "namespace AcmStatisticsBackend.Configuration\n{\n public static class AppSettingNames\n {\n public const strin"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Configuration/AppSettingProvider.cs",
"chars": 739,
"preview": "using System.Collections.Generic;\nusing Abp.Configuration;\n\nnamespace AcmStatisticsBackend.Configuration\n{\n public cl"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Crawlers/DefaultQuery.cs",
"chars": 821,
"preview": "using System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing Abp.Domain.Entities.Auditing;\nusin"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Crawlers/QueryCrawlerSummary.cs",
"chars": 1124,
"preview": "using System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing Abp.Domain.Entities;\n\nnamespace Ac"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Crawlers/QueryHistory.cs",
"chars": 1289,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing Abp.Domain.Entities;\n"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Crawlers/QuerySummary.cs",
"chars": 1318,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing Abp.Domain.Entities;"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Crawlers/QueryWorkerHistory.cs",
"chars": 2192,
"preview": "using System.Collections.Generic;\nusing System.ComponentModel.DataAnnotations;\nusing System.Diagnostics.CodeAnalysis;\nus"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Crawlers/SummaryGenerator.cs",
"chars": 13799,
"preview": "using System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Diagnostics.Contracts;\nusing System.Linq;\nusin"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Crawlers/SummaryWarning.cs",
"chars": 809,
"preview": "using System.Collections.Generic;\nusing Abp.Domain.Values;\n\nnamespace AcmStatisticsBackend.Crawlers\n{\n /// <summary>"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Crawlers/UsernameInCrawler.cs",
"chars": 885,
"preview": "using System.ComponentModel.DataAnnotations;\nusing System.Diagnostics;\nusing Abp.Domain.Entities;\n\nnamespace AcmStatist"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Editions/EditionManager.cs",
"chars": 623,
"preview": "using Abp.Application.Editions;\nusing Abp.Application.Features;\nusing Abp.Domain.Repositories;\nusing Abp.Domain.Uow;\n\nna"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Features/FeatureValueStore.cs",
"chars": 994,
"preview": "using Abp.Application.Features;\nusing Abp.Domain.Repositories;\nusing Abp.Domain.Uow;\nusing Abp.MultiTenancy;\nusing Abp.R"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Identity/IdentityRegistrar.cs",
"chars": 1262,
"preview": "using AcmStatisticsBackend.Authorization;\nusing AcmStatisticsBackend.Authorization.Roles;\nusing AcmStatisticsBackend.Au"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Identity/SecurityStampValidator.cs",
"chars": 862,
"preview": "using Abp.Authorization;\nusing Abp.Domain.Uow;\nusing AcmStatisticsBackend.Authorization.Roles;\nusing AcmStatisticsBacken"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Identity/SignInManager.cs",
"chars": 1167,
"preview": "using Abp.Authorization;\nusing Abp.Configuration;\nusing Abp.Domain.Uow;\nusing AcmStatisticsBackend.Authorization.Roles;"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Localization/AcmStatisticsBackendLocalizationConfigurer.cs",
"chars": 777,
"preview": "using Abp.Configuration.Startup;\nusing Abp.Localization.Dictionaries;\nusing Abp.Localization.Dictionaries.Xml;\nusing Ab"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Localization/SourceFiles/AcmStatisticsBackend-es.xml",
"chars": 2871,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<localizationDictionary culture=\"es\">\n <texts>\n <text name=\"HomePage\" value"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Localization/SourceFiles/AcmStatisticsBackend-fr.xml",
"chars": 2944,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<localizationDictionary culture=\"fr\">\n <texts>\n <text name=\"HomePage\" value"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Localization/SourceFiles/AcmStatisticsBackend-it.xml",
"chars": 3161,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<localizationDictionary culture=\"it\">\n <texts>\n <text name=\"HomePage\" value"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Localization/SourceFiles/AcmStatisticsBackend-ja.xml",
"chars": 2645,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<localizationDictionary culture=\"ja\">\n <texts>\n <text name=\"HomePage\" value"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Localization/SourceFiles/AcmStatisticsBackend-lt.xml",
"chars": 5851,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<localizationDictionary culture=\"lt\">\n <texts>\n <text name=\"HomePage\" value"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Localization/SourceFiles/AcmStatisticsBackend-nl.xml",
"chars": 4792,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<localizationDictionary culture=\"nl\">\n <texts>\n <text name=\"HomePage\" value"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Localization/SourceFiles/AcmStatisticsBackend-pt-BR.xml",
"chars": 6781,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<localizationDictionary culture=\"pt-BR\">\n <texts>\n <text name=\"HomePage\" va"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Localization/SourceFiles/AcmStatisticsBackend-tr.xml",
"chars": 5635,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<localizationDictionary culture=\"tr\">\n <texts>\n <text name=\"HomePage\" value"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Localization/SourceFiles/AcmStatisticsBackend-zh-Hans.xml",
"chars": 4240,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<localizationDictionary culture=\"zh-Hans\">\n <texts>\n <text name=\"HomePage\" "
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Localization/SourceFiles/AcmStatisticsBackend.xml",
"chars": 6487,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<localizationDictionary culture=\"en\">\n <texts>\n <text name=\"HomePage\" value"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/MultiTenancy/Tenant.cs",
"chars": 334,
"preview": "using Abp.MultiTenancy;\nusing AcmStatisticsBackend.Authorization.Users;\n\nnamespace AcmStatisticsBackend.MultiTenancy\n{\n"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/MultiTenancy/TenantManager.cs",
"chars": 737,
"preview": "using Abp.Application.Features;\nusing Abp.Domain.Repositories;\nusing Abp.MultiTenancy;\nusing AcmStatisticsBackend.Autho"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Properties/AssemblyInfo.cs",
"chars": 796,
"preview": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled "
},
{
"path": "backend/src/AcmStatisticsBackend.Core/ServiceClients/CaptchaServiceClient.cs",
"chars": 1268,
"preview": "using System.Threading.Tasks;\nusing Abp.Dependency;\nusing Flurl.Http;\n\nnamespace AcmStatisticsBackend.ServiceClients\n{\n "
},
{
"path": "backend/src/AcmStatisticsBackend.Core/ServiceClients/CaptchaServiceValidateResult.cs",
"chars": 444,
"preview": "namespace AcmStatisticsBackend.ServiceClients\n{\n /// <summary>\n /// <see cref=\"ICaptchaServiceClient.ValidateAsync"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/ServiceClients/CrawlerApiBackendClient.cs",
"chars": 1694,
"preview": "using System.Collections.Generic;\nusing System.Collections.Immutable;\nusing System.Linq;\nusing System.Threading.Tasks;\n"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/ServiceClients/CrawlerMetaItem.cs",
"chars": 503,
"preview": "using System.ComponentModel.DataAnnotations;\nusing System.Diagnostics.CodeAnalysis;\n\nnamespace AcmStatisticsBackend.Ser"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/ServiceClients/ICaptchaServiceClient.cs",
"chars": 433,
"preview": "using System.Threading.Tasks;\n\nnamespace AcmStatisticsBackend.ServiceClients\n{\n public interface ICaptchaServiceClien"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/ServiceClients/ICrawlerApiBackendClient.cs",
"chars": 366,
"preview": "using System.Collections.Generic;\nusing System.Collections.Immutable;\nusing System.Threading.Tasks;\n\nnamespace AcmStati"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Settings/UserSettingAttribute.cs",
"chars": 950,
"preview": "using System;\nusing System.ComponentModel.DataAnnotations;\nusing Abp.Domain.Entities;\nusing Abp.Domain.Entities.Auditin"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Timing/AppTimes.cs",
"chars": 298,
"preview": "using System;\nusing Abp.Dependency;\n\nnamespace AcmStatisticsBackend.Timing\n{\n public class AppTimes : ISingletonDepe"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Validation/ValidationHelper.cs",
"chars": 509,
"preview": "using System.Text.RegularExpressions;\nusing Abp.Extensions;\n\nnamespace AcmStatisticsBackend.Validation\n{\n public sta"
},
{
"path": "backend/src/AcmStatisticsBackend.Core/Web/WebContentFolderHelper.cs",
"chars": 1959,
"preview": "using System;\nusing System.IO;\nusing System.Linq;\nusing Abp.Reflection.Extensions;\n\nnamespace AcmStatisticsBackend.Web\n"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/AcmStatisticsBackend.EntityFrameworkCore.csproj",
"chars": 982,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n <PropertyGroup>\n <TargetFramework>net8.0</TargetFramework>\n <RootNamespace>Acm"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/AbpZeroDbMigrator.cs",
"chars": 629,
"preview": "using Abp.Domain.Uow;\nusing Abp.EntityFrameworkCore;\nusing Abp.MultiTenancy;\nusing Abp.Zero.EntityFrameworkCore;\n\nnames"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/AcmStatisticsBackendDbContext.cs",
"chars": 2700,
"preview": "using System.Collections.Generic;\nusing Abp.Json;\nusing Abp.Zero.EntityFrameworkCore;\nusing AcmStatisticsBackend.Author"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/AcmStatisticsBackendDbContextConfigurer.cs",
"chars": 678,
"preview": "using System.Data.Common;\nusing Microsoft.EntityFrameworkCore;\n\nnamespace AcmStatisticsBackend.EntityFrameworkCore\n{\n "
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/AcmStatisticsBackendDbContextFactory.cs",
"chars": 1025,
"preview": "using AcmStatisticsBackend.Configuration;\nusing AcmStatisticsBackend.Web;\nusing Microsoft.EntityFrameworkCore;\nusing Mi"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/AcmStatisticsBackendEntityFrameworkModule.cs",
"chars": 2518,
"preview": "using Abp.Domain.Uow;\nusing Abp.EntityFrameworkCore;\nusing Abp.EntityFrameworkCore.Configuration;\nusing Abp.Modules;\nus"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Repositories/AcmStatisticsBackendRepositoryBase.cs",
"chars": 1669,
"preview": "using Abp.Domain.Entities;\nusing Abp.Domain.Repositories;\nusing Abp.EntityFrameworkCore;\nusing Abp.EntityFrameworkCore."
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultEditionCreator.cs",
"chars": 1695,
"preview": "using System.Linq;\nusing Abp.Application.Editions;\nusing Abp.Application.Features;\nusing AcmStatisticsBackend.Editions;\n"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultLanguagesCreator.cs",
"chars": 2566,
"preview": "using System.Collections.Generic;\nusing System.Linq;\nusing Abp.Localization;\nusing Abp.MultiTenancy;\nusing Microsoft.Ent"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/DefaultSettingsCreator.cs",
"chars": 1477,
"preview": "using System.Linq;\nusing Abp.Configuration;\nusing Abp.Localization;\nusing Abp.MultiTenancy;\nusing Abp.Net.Mail;\nusing M"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/HostRoleAndUserCreator.cs",
"chars": 3752,
"preview": "using System.Linq;\nusing Abp.Authorization;\nusing Abp.Authorization.Roles;\nusing Abp.Authorization.Users;\nusing Abp.Mult"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Host/InitialHostDbBuilder.cs",
"chars": 632,
"preview": "namespace AcmStatisticsBackend.EntityFrameworkCore.Seed.Host\n{\n public class InitialHostDbBuilder\n {\n priv"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/SeedHelper.cs",
"chars": 1597,
"preview": "using System;\nusing System.Transactions;\nusing Abp.Dependency;\nusing Abp.Domain.Uow;\nusing Abp.EntityFrameworkCore.Uow;"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Tenants/DefaultTenantBuilder.cs",
"chars": 1351,
"preview": "using System.Linq;\nusing Abp.MultiTenancy;\nusing AcmStatisticsBackend.Editions;\nusing AcmStatisticsBackend.MultiTenancy"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/EntityFrameworkCore/Seed/Tenants/TenantRoleAndUserBuilder.cs",
"chars": 5294,
"preview": "using System.Linq;\nusing Abp.Authorization;\nusing Abp.Authorization.Roles;\nusing Abp.Authorization.Users;\nusing Abp.Mult"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200325035348_Init.Designer.cs",
"chars": 61567,
"preview": "// <auto-generated />\nusing System;\nusing AcmStatisticsBackend.EntityFrameworkCore;\nusing Microsoft.EntityFrameworkCore"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200325035348_Init.cs",
"chars": 59135,
"preview": "using System;\nusing Microsoft.EntityFrameworkCore.Metadata;\nusing Microsoft.EntityFrameworkCore.Migrations;\n\nnamespace A"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200410093107_AddDefaultQuery.Designer.cs",
"chars": 69176,
"preview": "// <auto-generated />\nusing System;\nusing AcmStatisticsBackend.EntityFrameworkCore;\nusing Microsoft.EntityFrameworkCore"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200410093107_AddDefaultQuery.cs",
"chars": 10219,
"preview": "using System;\nusing Microsoft.EntityFrameworkCore.Metadata;\nusing Microsoft.EntityFrameworkCore.Migrations;\n\nnamespace "
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200414102908_AddAcHistory.Designer.cs",
"chars": 72402,
"preview": "// <auto-generated />\nusing System;\nusing AcmStatisticsBackend.EntityFrameworkCore;\nusing Microsoft.EntityFrameworkCore"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200414102908_AddAcHistory.cs",
"chars": 4008,
"preview": "using System;\nusing Microsoft.EntityFrameworkCore.Metadata;\nusing Microsoft.EntityFrameworkCore.Migrations;\n\nnamespace "
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200419031052_UseQueryHistory.Designer.cs",
"chars": 72408,
"preview": "// <auto-generated />\nusing System;\nusing AcmStatisticsBackend.EntityFrameworkCore;\nusing Microsoft.EntityFrameworkCore"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200419031052_UseQueryHistory.cs",
"chars": 7628,
"preview": "using System;\nusing Microsoft.EntityFrameworkCore.Metadata;\nusing Microsoft.EntityFrameworkCore.Migrations;\n\nnamespace "
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200522145416_AddSettings.Designer.cs",
"chars": 74659,
"preview": "// <auto-generated />\nusing System;\nusing AcmStatisticsBackend.EntityFrameworkCore;\nusing Microsoft.EntityFrameworkCore"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200522145416_AddSettings.cs",
"chars": 3683,
"preview": "using System;\nusing Microsoft.EntityFrameworkCore.Metadata;\nusing Microsoft.EntityFrameworkCore.Migrations;\n\nnamespace "
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200604111842_AddSummary.Designer.cs",
"chars": 78545,
"preview": "// <auto-generated />\nusing System;\nusing AcmStatisticsBackend.EntityFrameworkCore;\nusing Microsoft.EntityFrameworkCore"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20200604111842_AddSummary.cs",
"chars": 7276,
"preview": "using System;\nusing Microsoft.EntityFrameworkCore.Metadata;\nusing Microsoft.EntityFrameworkCore.Migrations;\n\nnamespace "
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210429095008_UpgradeAbp.Designer.cs",
"chars": 82434,
"preview": "// <auto-generated />\nusing System;\nusing AcmStatisticsBackend.EntityFrameworkCore;\nusing Microsoft.EntityFrameworkCore"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210429095008_UpgradeAbp.cs",
"chars": 13927,
"preview": "using Microsoft.EntityFrameworkCore.Metadata;\nusing Microsoft.EntityFrameworkCore.Migrations;\n\nnamespace AcmStatisticsBa"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210627092246_RemoveRoleDescription.Designer.cs",
"chars": 82283,
"preview": "// <auto-generated />\nusing System;\nusing AcmStatisticsBackend.EntityFrameworkCore;\nusing Microsoft.EntityFrameworkCore"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210627092246_RemoveRoleDescription.cs",
"chars": 706,
"preview": "using Microsoft.EntityFrameworkCore.Migrations;\n\nnamespace AcmStatisticsBackend.Migrations\n{\n public partial class R"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210627092411_UpgradeDriver.Designer.cs",
"chars": 79517,
"preview": "// <auto-generated />\nusing System;\nusing AcmStatisticsBackend.EntityFrameworkCore;\nusing Microsoft.EntityFrameworkCore"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20210627092411_UpgradeDriver.cs",
"chars": 37344,
"preview": "using Microsoft.EntityFrameworkCore.Migrations;\n\nnamespace AcmStatisticsBackend.Migrations\n{\n public partial class U"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20250813025256_UpgradeAbp840.Designer.cs",
"chars": 83897,
"preview": "// <auto-generated />\nusing System;\nusing AcmStatisticsBackend.EntityFrameworkCore;\nusing Microsoft.EntityFrameworkCore"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/20250813025256_UpgradeAbp840.cs",
"chars": 29750,
"preview": "using Microsoft.EntityFrameworkCore.Metadata;\nusing Microsoft.EntityFrameworkCore.Migrations;\n\n#nullable disable\n\nnames"
},
{
"path": "backend/src/AcmStatisticsBackend.EntityFrameworkCore/Migrations/AcmStatisticsBackendDbContextModelSnapshot.cs",
"chars": 83813,
"preview": "// <auto-generated />\nusing System;\nusing AcmStatisticsBackend.EntityFrameworkCore;\nusing Microsoft.EntityFrameworkCore"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Core/AcmStatisticsBackend.Web.Core.csproj",
"chars": 1703,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n <PropertyGroup>\n <VersionPrefix>1.0.0.0</VersionPrefix>\n <TargetFramework>net8"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Core/AcmStatisticsBackendWebCoreModule.cs",
"chars": 2898,
"preview": "using System;\nusing System.Text;\nusing Abp.AspNetCore;\nusing Abp.AspNetCore.Configuration;\nusing Abp.Configuration.Start"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Core/Authentication/JwtBearer/JwtTokenMiddleware.cs",
"chars": 865,
"preview": "using Microsoft.AspNetCore.Authentication;\nusing Microsoft.AspNetCore.Authentication.JwtBearer;\nusing Microsoft.AspNetC"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Core/Authentication/JwtBearer/TokenAuthConfiguration.cs",
"chars": 436,
"preview": "using System;\nusing Microsoft.IdentityModel.Tokens;\n\nnamespace AcmStatisticsBackend.Authentication.JwtBearer\n{\n publ"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Core/Configuration/HostingEnvironmentExtensions.cs",
"chars": 446,
"preview": "using Microsoft.AspNetCore.Hosting;\nusing Microsoft.Extensions.Configuration;\nusing Microsoft.Extensions.Hosting;\n\nname"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Core/Controllers/AcmStatisticsBackendControllerBase.cs",
"chars": 552,
"preview": "using Abp.AspNetCore.Mvc.Controllers;\nusing Abp.IdentityFramework;\nusing Microsoft.AspNetCore.Identity;\n\nnamespace AcmSt"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Core/Controllers/TokenAuthController.cs",
"chars": 4469,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.IdentityModel.Tokens.Jwt;\nusing System.Linq;\nusing System.S"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Core/Middleware/CookieAuthMiddleware.cs",
"chars": 987,
"preview": "using System;\nusing System.Threading.Tasks;\nusing Microsoft.AspNetCore.Http;\n\nnamespace AcmStatisticsBackend.Middleware\n"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Core/Models/TokenAuth/AuthenticateModel.cs",
"chars": 533,
"preview": "using System.ComponentModel.DataAnnotations;\nusing Abp.Auditing;\nusing Abp.Authorization.Users;\n\nnamespace AcmStatistic"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Core/Models/TokenAuth/AuthenticateResultModel.cs",
"chars": 246,
"preview": "namespace AcmStatisticsBackend.Models.TokenAuth\n{\n public class AuthenticateResultModel\n {\n public string "
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Core/Properties/AssemblyInfo.cs",
"chars": 1387,
"preview": "using System.Reflection;\nusing System.Runtime.InteropServices;\n\n// General Information about an assembly is controlled "
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/AcmStatisticsBackend.Web.Host.csproj",
"chars": 1968,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk.Web\">\n <PropertyGroup>\n <TargetFramework>net8.0</TargetFramework>\n <PreserveCompi"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/Controllers/AntiForgeryController.cs",
"chars": 827,
"preview": "using Abp.Web.Security.AntiForgery;\nusing AcmStatisticsBackend.Controllers;\nusing Microsoft.AspNetCore.Antiforgery;\n\nnam"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/Dockerfile",
"chars": 1470,
"preview": "#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for fast"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/Properties/launchSettings.json",
"chars": 860,
"preview": "{\n \"iisSettings\": {\n \"windowsAuthentication\": false,\n \"anonymousAuthentication\": true,\n \"iisExpress\": {\n "
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/Startup/AcmStatisticsBackendWebHostModule.cs",
"chars": 833,
"preview": "using Abp.Modules;\nusing Abp.Reflection.Extensions;\nusing AcmStatisticsBackend.Configuration;\nusing Microsoft.AspNetCor"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/Startup/AuthConfigurer.cs",
"chars": 2061,
"preview": "using System;\nusing System.Linq;\nusing System.Text;\nusing System.Threading.Tasks;\nusing Abp.Runtime.Security;\nusing Micr"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/Startup/Program.cs",
"chars": 459,
"preview": "using Microsoft.AspNetCore;\nusing Microsoft.AspNetCore.Hosting;\n\nnamespace AcmStatisticsBackend.Web.Host.Startup\n{\n "
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/Startup/Startup.cs",
"chars": 5124,
"preview": "using System;\nusing System.IO;\nusing System.Linq;\nusing Abp.AspNetCore;\nusing Abp.AspNetCore.Mvc.Antiforgery;\nusing Abp."
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/app.config",
"chars": 218,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<configuration>\n <appSettings>\n <add key=\"owin:AutomaticAppStartup\" value=\"f"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/appsettings.Staging.json",
"chars": 237,
"preview": "{\n \"ConnectionStrings\": {\n \"Default\": \"Server=10.0.75.1; Database=AcmStatisticsBackendDb; User=sa; Password=123qwe;"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/appsettings.json",
"chars": 757,
"preview": "{\n \"ConnectionStrings\": {\n \"Default\": \"Server=localhost; port=3306; Database=acm_statistics_abp; uid=root; pwd=12345"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/log4net.config",
"chars": 645,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<log4net>\n <appender name=\"RollingFileAppender\" type=\"log4net.Appender.Rolling"
},
{
"path": "backend/src/AcmStatisticsBackend.Web.Host/web.config",
"chars": 838,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<configuration>\n <system.webServer>\n <handlers>\n <add name=\"aspNetCore\""
},
{
"path": "backend/stylecop.json",
"chars": 331,
"preview": "{\n \"$schema\": \"https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.A"
},
{
"path": "backend/test/AcmStatisticsBackend.Tests/Accounts/AccountAppService_Tests.cs",
"chars": 5884,
"preview": "using System.Collections.Generic;\nusing System.Threading.Tasks;\nusing Abp.Authorization;\nusing Abp.MultiTenancy;\nusing A"
},
{
"path": "backend/test/AcmStatisticsBackend.Tests/Accounts/FakeCaptchaServiceClient.cs",
"chars": 420,
"preview": "using System.Threading.Tasks;\nusing AcmStatisticsBackend.ServiceClients;\n\nnamespace AcmStatisticsBackend.Tests.Accounts\n"
},
{
"path": "backend/test/AcmStatisticsBackend.Tests/AcmStatisticsBackend.Tests.csproj",
"chars": 2178,
"preview": "<Project Sdk=\"Microsoft.NET.Sdk\">\n <PropertyGroup>\n <VersionPrefix>1.0.0.0</VersionPrefix>\n <TargetFramework>net"
},
{
"path": "backend/test/AcmStatisticsBackend.Tests/AcmStatisticsBackendTestBase.cs",
"chars": 7490,
"preview": "using System;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing Abp;\nusing Abp.Authorization.Users;\nusing Abp.Even"
},
{
"path": "backend/test/AcmStatisticsBackend.Tests/AcmStatisticsBackendTestModule.cs",
"chars": 2457,
"preview": "using System;\nusing Abp.AutoMapper;\nusing Abp.Configuration.Startup;\nusing Abp.Dependency;\nusing Abp.Modules;\nusing Abp."
},
{
"path": "backend/test/AcmStatisticsBackend.Tests/Crawlers/DefaultQueryAppService_Tests.cs",
"chars": 2547,
"preview": "using System.Collections.Generic;\nusing System.Threading.Tasks;\nusing AcmStatisticsBackend.Crawlers;\nusing AcmStatistic"
},
{
"path": "backend/test/AcmStatisticsBackend.Tests/Crawlers/QueryHistoryAppService_Tests.cs",
"chars": 26909,
"preview": "using System;\nusing System.Collections.Generic;\nusing System.Diagnostics;\nusing System.Linq;\nusing System.Threading.Tas"
}
]
// ... and 329 more files (download for full content)
About this extraction
This page contains the full source code of the Liu233w/acm-statistics GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 529 files (4.7 MB), approximately 1.3M tokens, and a symbol index with 4464 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.