├── .github └── FUNDING.yml ├── .gitignore ├── Documentation ├── Concept-ControllerAndAgentCommunication.png ├── Development │ └── How to add new administration.txt ├── HISTORY.txt ├── Installation │ ├── sample-solution-cpp11.cpp │ ├── sample-solution.cpp │ ├── sample-solution.cs │ ├── sample-solution.js │ └── sample-tests.zip └── Requirements │ ├── Gacutil │ ├── gacutil.exe │ ├── gacutil.exe.config │ └── gacutlrc.dll │ ├── MinGW │ └── mingw-get-setup.exe │ ├── PowerCollections │ ├── Binaries │ │ ├── License.txt │ │ ├── PowerCollections.XML │ │ └── PowerCollections.dll │ └── Binaries_Signed_4.5 │ │ ├── PowerCollections.XML │ │ ├── PowerCollections.dll │ │ └── PowerCollections.dll.config │ └── Requirements for agent enviroments.txt ├── LICENSE ├── Open Judge System ├── Data │ ├── OJS.Data.Contracts │ │ ├── App.config │ │ ├── AuditInfo.cs │ │ ├── CodeFirstConventions │ │ │ └── IsUnicodeAttributeConvention.cs │ │ ├── DataAnnotations │ │ │ └── IsUnicodeAttribute.cs │ │ ├── DeletableEntity.cs │ │ ├── IAuditInfo.cs │ │ ├── IDeletableEntity.cs │ │ ├── IDeletableEntityRepository.cs │ │ ├── IOrderable.cs │ │ ├── IRepository.cs │ │ ├── OJS.Data.Contracts.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ ├── OJS.Data.Models │ │ ├── AccessLog.cs │ │ ├── App.config │ │ ├── Checker.cs │ │ ├── Contest.cs │ │ ├── ContestCategory.cs │ │ ├── ContestQuestion.cs │ │ ├── ContestQuestionAnswer.cs │ │ ├── Event.cs │ │ ├── FeedbackReport.cs │ │ ├── News.cs │ │ ├── OJS.Data.Models.csproj │ │ ├── Participant.cs │ │ ├── ParticipantAnswer.cs │ │ ├── Problem.cs │ │ ├── ProblemResource.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── Setting.cs │ │ ├── SourceCode.cs │ │ ├── Submission.cs │ │ ├── SubmissionType.cs │ │ ├── Tag.cs │ │ ├── Test.cs │ │ ├── TestRun.cs │ │ ├── UserProfile.cs │ │ ├── UserSettings.cs │ │ └── packages.config │ └── OJS.Data │ │ ├── App.config │ │ ├── Configurations │ │ ├── ParticipantAnswersConfiguration.cs │ │ ├── TestRunConfiguration.cs │ │ └── UserProfileConfiguration.cs │ │ ├── IOjsData.cs │ │ ├── IOjsDbContext.cs │ │ ├── Migrations │ │ └── DefaultMigrationConfiguration.cs │ │ ├── OJS.Data.csproj │ │ ├── OjsData.cs │ │ ├── OjsDbContext.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── Providers │ │ ├── GlimpseConnectionEfSqlBulkInsertProvider.cs │ │ └── Registries │ │ │ └── EfBulkInsertGlimpseProviderRegistry.cs │ │ ├── Repositories │ │ ├── Base │ │ │ ├── DeletableEntityRepository.cs │ │ │ └── GenericRepository.cs │ │ ├── ContestsRepository.cs │ │ ├── Contracts │ │ │ ├── IContestsRepository.cs │ │ │ ├── IParticipantsRepository.cs │ │ │ ├── ISubmissionsRepository.cs │ │ │ ├── ITestRepository.cs │ │ │ ├── ITestRunsRepository.cs │ │ │ └── IUsersRepository.cs │ │ ├── ParticipantsRepository.cs │ │ ├── SubmissionsRepository.cs │ │ ├── TestRepository.cs │ │ ├── TestRunsRepository.cs │ │ └── UsersRepository.cs │ │ └── packages.config ├── External Libraries │ ├── Kendo.Mvc.README │ ├── Kendo.Mvc.dll │ └── Kendo.Mvc.xml ├── OJS.Common │ ├── Attributes │ │ ├── LocalizedDescriptionAttribute.cs │ │ └── LocalizedDisplayFormatAttribute.cs │ ├── Calculator.cs │ ├── DataAnnotations │ │ ├── DatabasePropertyAttribute.cs │ │ └── ExcludeFromExcelAttribute.cs │ ├── ExpressionBuilder.cs │ ├── Extensions │ │ ├── CompilerTypeExtensions.cs │ │ ├── CompressStringExtensions.cs │ │ ├── DirectoryHelpers.cs │ │ ├── EnumExtensions.cs │ │ ├── ExecutionStrategyTypeExtensions.cs │ │ ├── FileHelpers.cs │ │ ├── IEnumerableExtensions.cs │ │ ├── ObjectExtensions.cs │ │ ├── PlagiarismDetectorTypeExtensions.cs │ │ ├── StreamExtensions.cs │ │ └── StringExtensions.cs │ ├── GlobalConstants.cs │ ├── MailSender.cs │ ├── Models │ │ ├── CompilerType.cs │ │ ├── ContestQuestionType.cs │ │ ├── ExecutionStrategyType.cs │ │ ├── PlagiarismDetectorType.cs │ │ ├── ProblemResourceType.cs │ │ └── TestRunResultType.cs │ ├── OJS.Common.csproj │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Resources │ │ └── Enums │ │ │ ├── EnumTranslations.Designer.cs │ │ │ ├── EnumTranslations.bg.Designer.cs │ │ │ ├── EnumTranslations.bg.resx │ │ │ └── EnumTranslations.resx │ ├── SynchronizedHashtable.cs │ └── packages.config ├── Open Judge System.sln ├── Rules.ruleset ├── Settings.StyleCop ├── Tests │ ├── OJS.Common.Tests │ │ ├── OJS.Common.Tests.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── StringExtensions │ │ │ ├── CompressDecompressTests.cs │ │ │ ├── GetFileExtensionTests.cs │ │ │ ├── GetFirstDifferenceIndexWithTests.cs │ │ │ ├── GetStringBetweenTests.cs │ │ │ ├── GetStringWithEllipsisBetweenTests.cs │ │ │ ├── MaxLengthTests.cs │ │ │ ├── PascalCaseToTextTests.cs │ │ │ ├── StringToUrlTests.cs │ │ │ ├── ToInteger.cs │ │ │ └── ToIntegerTests.cs │ │ └── packages.config │ ├── OJS.Tests.Common │ │ ├── App.config │ │ ├── DataFakes │ │ │ ├── DatabaseConfiguration.cs │ │ │ ├── FakeEmptyOjsDbContext.cs │ │ │ ├── FakeOjsDbContext.cs │ │ │ └── ObjectExtensions.cs │ │ ├── OJS.Tests.Common.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── TestClassBase.cs │ │ ├── WebStubs │ │ │ ├── StubHttpContextForRouting.cs │ │ │ ├── StubHttpRequestForRouting.cs │ │ │ └── StubHttpResponseForRouting.cs │ │ └── packages.config │ ├── OJS.Workers.Checkers.Tests │ │ ├── CSharpCodeCheckerTests.cs │ │ ├── CaseInsensitiveCheckerTests.cs │ │ ├── ExactCheckerTests.cs │ │ ├── OJS.Workers.Checkers.Tests.csproj │ │ ├── PrecisionCheckerTests.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── SortCheckerTests.cs │ │ ├── TrimCheckerTests.cs │ │ └── packages.config │ ├── OJS.Workers.Compilers.Tests │ │ ├── CSharpCompilerTests.cs │ │ ├── MsBuildCompilerTests.cs │ │ ├── OJS.Workers.Compilers.Tests.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ ├── OJS.Workers.ExecutionStrategies.Tests │ │ ├── JsonExecutionResultTests.cs │ │ ├── OJS.Workers.ExecutionStrategies.Tests.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ └── packages.config │ ├── OJS.Workers.Executors.Tests │ │ ├── BaseExecutorsTestClass.cs │ │ ├── OJS.Workers.Executors.Tests.csproj │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── RestrictedProcessSecurityTests.cs │ │ ├── RestrictedProcessTests.cs │ │ └── packages.config │ └── OJS.Workers.Tools.Tests │ │ ├── AntiCheat │ │ └── SortAndTrimLinesVisitorTests.cs │ │ ├── OJS.Workers.Tools.Tests.csproj │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── Similarity │ │ └── SimilarityFinderDiffTextTests.cs │ │ └── packages.config ├── Tools │ ├── SandboxExecutorProofOfConcept │ │ ├── App.config │ │ ├── GlobalConstants.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── SandboxExecutorProofOfConcept.csproj │ │ ├── SandboxExecutorProofOfConceptProgram.cs │ │ └── packages.config │ ├── SandboxTarget │ │ ├── App.config │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── SandboxTarget.csproj │ │ ├── SandboxTargetProgram.cs │ │ ├── TryToExecuteParams.cs │ │ └── packages.config │ └── SqlTestingPoC │ │ ├── App.config │ │ ├── Program.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ ├── SqlPrepareDatabaseAndRunUserQueryExecutionStrategy.cs │ │ ├── SqlRunUserQueryAndCheckDatabaseExecutionStrategy.cs │ │ ├── SqlTestingPoC.csproj │ │ └── packages.config ├── Web │ ├── OJS.Web.Common │ │ ├── Attributes │ │ │ ├── LogAccessAttribute.cs │ │ │ ├── LoggerFilterAttribute.cs │ │ │ └── OverrideAuthorizeAttribute.cs │ │ ├── EnumConverter.cs │ │ ├── Extensions │ │ │ ├── PrincipalExtensions.cs │ │ │ └── TempDataExtentions.cs │ │ ├── Interfaces │ │ │ ├── IAdministrationViewModel.cs │ │ │ └── IKendoGridAdministrationController.cs │ │ ├── OJS.Web.Common.csproj │ │ ├── OjsUserManager.cs │ │ ├── Properties │ │ │ └── AssemblyInfo.cs │ │ ├── SearchResultType.cs │ │ ├── SystemMessage.cs │ │ ├── SystemMessageCollection.cs │ │ ├── SystemMessageType.cs │ │ ├── ZipFileResult.cs │ │ ├── ZippedTestManipulator │ │ │ ├── TestsParseResult.cs │ │ │ └── ZippedTestsManipulator.cs │ │ ├── app.config │ │ └── packages.config │ └── OJS.Web │ │ ├── App_Code │ │ └── ContestsHelper.cshtml │ │ ├── App_GlobalResources │ │ ├── Account │ │ │ ├── AccountEmails.Designer.cs │ │ │ ├── AccountEmails.bg.Designer.cs │ │ │ ├── AccountEmails.bg.resx │ │ │ ├── AccountEmails.resx │ │ │ ├── ViewModels │ │ │ │ ├── AccountViewModels.Designer.cs │ │ │ │ ├── AccountViewModels.bg.Designer.cs │ │ │ │ ├── AccountViewModels.bg.resx │ │ │ │ └── AccountViewModels.resx │ │ │ └── Views │ │ │ │ ├── ChangeEmailView.Designer.cs │ │ │ │ ├── ChangeEmailView.bg.designer.cs │ │ │ │ ├── ChangeEmailView.bg.resx │ │ │ │ ├── ChangeEmailView.resx │ │ │ │ ├── ChangePasswordView.Designer.cs │ │ │ │ ├── ChangePasswordView.bg.designer.cs │ │ │ │ ├── ChangePasswordView.bg.resx │ │ │ │ ├── ChangePasswordView.resx │ │ │ │ ├── ChangeUsernameView.bg.designer.cs │ │ │ │ ├── ChangeUsernameView.bg.resx │ │ │ │ ├── ChangeUsernameView.designer.cs │ │ │ │ ├── ChangeUsernameView.resx │ │ │ │ ├── Disassociate.Designer.cs │ │ │ │ ├── Disassociate.bg.designer.cs │ │ │ │ ├── Disassociate.bg.resx │ │ │ │ ├── Disassociate.resx │ │ │ │ ├── ExternalLoginCallback.bg.designer.cs │ │ │ │ ├── ExternalLoginCallback.bg.resx │ │ │ │ ├── ExternalLoginCallback.designer.cs │ │ │ │ ├── ExternalLoginCallback.resx │ │ │ │ ├── ExternalLoginConfirmation.Designer.cs │ │ │ │ ├── ExternalLoginConfirmation.bg.designer.cs │ │ │ │ ├── ExternalLoginConfirmation.bg.resx │ │ │ │ ├── ExternalLoginConfirmation.resx │ │ │ │ ├── ExternalLoginFailure.Designer.cs │ │ │ │ ├── ExternalLoginFailure.bg.designer.cs │ │ │ │ ├── ExternalLoginFailure.bg.resx │ │ │ │ ├── ExternalLoginFailure.resx │ │ │ │ ├── ForgottenPassword.Designer.cs │ │ │ │ ├── ForgottenPassword.bg.designer.cs │ │ │ │ ├── ForgottenPassword.bg.resx │ │ │ │ ├── ForgottenPassword.resx │ │ │ │ ├── General.Designer.cs │ │ │ │ ├── General.bg.designer.cs │ │ │ │ ├── General.bg.resx │ │ │ │ ├── General.resx │ │ │ │ ├── Login.Designer.cs │ │ │ │ ├── Login.bg.designer.cs │ │ │ │ ├── Login.bg.resx │ │ │ │ ├── Login.resx │ │ │ │ ├── Manage.Designer.cs │ │ │ │ ├── Manage.bg.designer.cs │ │ │ │ ├── Manage.bg.resx │ │ │ │ ├── Manage.resx │ │ │ │ ├── Partial │ │ │ │ ├── ChangePassword.Designer.cs │ │ │ │ ├── ChangePassword.bg.designer.cs │ │ │ │ ├── ChangePassword.bg.resx │ │ │ │ ├── ChangePassword.resx │ │ │ │ ├── ExternalLoginsList.Designer.cs │ │ │ │ ├── ExternalLoginsList.bg.designer.cs │ │ │ │ ├── ExternalLoginsList.bg.resx │ │ │ │ ├── ExternalLoginsList.resx │ │ │ │ ├── RemoveAccount.Designer.cs │ │ │ │ ├── RemoveAccount.bg.designer.cs │ │ │ │ ├── RemoveAccount.bg.resx │ │ │ │ ├── RemoveAccount.resx │ │ │ │ ├── SetPassword.Designer.cs │ │ │ │ ├── SetPassword.bg.designer.cs │ │ │ │ ├── SetPassword.bg.resx │ │ │ │ └── SetPassword.resx │ │ │ │ ├── Register.Designer.cs │ │ │ │ ├── Register.bg.designer.cs │ │ │ │ ├── Register.bg.resx │ │ │ │ └── Register.resx │ │ ├── Areas │ │ │ ├── Administration │ │ │ │ ├── AccessLogs │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── AccessLogGridViewModel.Designer.cs │ │ │ │ │ │ ├── AccessLogGridViewModel.bg.designer.cs │ │ │ │ │ │ ├── AccessLogGridViewModel.bg.resx │ │ │ │ │ │ └── AccessLogGridViewModel.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── AccessLogsIndex.Designer.cs │ │ │ │ │ │ ├── AccessLogsIndex.bg.Designer.cs │ │ │ │ │ │ ├── AccessLogsIndex.bg.resx │ │ │ │ │ │ └── AccessLogsIndex.resx │ │ │ │ ├── AdministrationGeneral.Designer.cs │ │ │ │ ├── AdministrationGeneral.bg.designer.cs │ │ │ │ ├── AdministrationGeneral.bg.resx │ │ │ │ ├── AdministrationGeneral.resx │ │ │ │ ├── AntiCheat │ │ │ │ │ └── Views │ │ │ │ │ │ ├── AntiCheatViews.Designer.cs │ │ │ │ │ │ ├── AntiCheatViews.bg.designer.cs │ │ │ │ │ │ ├── AntiCheatViews.bg.resx │ │ │ │ │ │ └── AntiCheatViews.resx │ │ │ │ ├── Checkers │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── CheckerAdministrationViewModel.Designer.cs │ │ │ │ │ │ ├── CheckerAdministrationViewModel.bg.designer.cs │ │ │ │ │ │ ├── CheckerAdministrationViewModel.bg.resx │ │ │ │ │ │ └── CheckerAdministrationViewModel.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── CheckersIndex.Designer.cs │ │ │ │ │ │ ├── CheckersIndex.bg.designer.cs │ │ │ │ │ │ ├── CheckersIndex.bg.resx │ │ │ │ │ │ └── CheckersIndex.resx │ │ │ │ ├── ContestCategories │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── ContestCategoryAdministrationViewModel.Designer.cs │ │ │ │ │ │ ├── ContestCategoryAdministrationViewModel.bg.designer.cs │ │ │ │ │ │ ├── ContestCategoryAdministrationViewModel.bg.resx │ │ │ │ │ │ └── ContestCategoryAdministrationViewModel.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── ContestCategoriesViews.Designer.cs │ │ │ │ │ │ ├── ContestCategoriesViews.bg.designer.cs │ │ │ │ │ │ ├── ContestCategoriesViews.bg.resx │ │ │ │ │ │ └── ContestCategoriesViews.resx │ │ │ │ ├── Contests │ │ │ │ │ ├── ContestsControllers.Designer.cs │ │ │ │ │ ├── ContestsControllers.bg.designer.cs │ │ │ │ │ ├── ContestsControllers.bg.resx │ │ │ │ │ ├── ContestsControllers.resx │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── ContestAdministration.Designer.cs │ │ │ │ │ │ ├── ContestAdministration.bg.Designer.cs │ │ │ │ │ │ ├── ContestAdministration.bg.resx │ │ │ │ │ │ ├── ContestAdministration.resx │ │ │ │ │ │ ├── ContestQuestion.Designer.cs │ │ │ │ │ │ ├── ContestQuestion.bg.designer.cs │ │ │ │ │ │ ├── ContestQuestion.bg.resx │ │ │ │ │ │ ├── ContestQuestion.resx │ │ │ │ │ │ ├── ContestQuestionAnswer.Designer.cs │ │ │ │ │ │ ├── ContestQuestionAnswer.bg.designer.cs │ │ │ │ │ │ ├── ContestQuestionAnswer.bg.resx │ │ │ │ │ │ ├── ContestQuestionAnswer.resx │ │ │ │ │ │ ├── ShortContestAdministration.Designer.cs │ │ │ │ │ │ ├── ShortContestAdministration.bg.Designer.cs │ │ │ │ │ │ ├── ShortContestAdministration.bg.resx │ │ │ │ │ │ └── ShortContestAdministration.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── ContestCreate.bg.designer.cs │ │ │ │ │ │ ├── ContestCreate.bg.resx │ │ │ │ │ │ ├── ContestCreate.designer.cs │ │ │ │ │ │ ├── ContestCreate.resx │ │ │ │ │ │ ├── ContestEdit.Designer.cs │ │ │ │ │ │ ├── ContestEdit.bg.designer.cs │ │ │ │ │ │ ├── ContestEdit.bg.resx │ │ │ │ │ │ ├── ContestEdit.resx │ │ │ │ │ │ ├── ContestIndex.Designer.cs │ │ │ │ │ │ ├── ContestIndex.bg.designer.cs │ │ │ │ │ │ ├── ContestIndex.bg.resx │ │ │ │ │ │ ├── ContestIndex.resx │ │ │ │ │ │ ├── EditorTemplates │ │ │ │ │ │ ├── CategoryDropDown.Designer.cs │ │ │ │ │ │ ├── CategoryDropDown.bg.designer.cs │ │ │ │ │ │ ├── CategoryDropDown.bg.resx │ │ │ │ │ │ ├── CategoryDropDown.resx │ │ │ │ │ │ ├── SubmissionTypeCheckBoxes.Designer.cs │ │ │ │ │ │ ├── SubmissionTypeCheckBoxes.bg.designer.cs │ │ │ │ │ │ ├── SubmissionTypeCheckBoxes.bg.resx │ │ │ │ │ │ └── SubmissionTypeCheckBoxes.resx │ │ │ │ │ │ └── Partials │ │ │ │ │ │ ├── ContestEditor.Designer.cs │ │ │ │ │ │ ├── ContestEditor.bg.designer.cs │ │ │ │ │ │ ├── ContestEditor.bg.resx │ │ │ │ │ │ └── ContestEditor.resx │ │ │ │ ├── Feedback │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── FeedbackReport.Designer.cs │ │ │ │ │ │ ├── FeedbackReport.bg.designer.cs │ │ │ │ │ │ ├── FeedbackReport.bg.resx │ │ │ │ │ │ └── FeedbackReport.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── FeedbackIndexAdmin.Designer.cs │ │ │ │ │ │ ├── FeedbackIndexAdmin.bg.Designer.cs │ │ │ │ │ │ ├── FeedbackIndexAdmin.bg.resx │ │ │ │ │ │ └── FeedbackIndexAdmin.resx │ │ │ │ ├── News │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── NewsAdministration.Designer.cs │ │ │ │ │ │ ├── NewsAdministration.bg.designer.cs │ │ │ │ │ │ ├── NewsAdministration.bg.resx │ │ │ │ │ │ └── NewsAdministration.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── NewsIndex.Designer.cs │ │ │ │ │ │ ├── NewsIndex.bg.designer.cs │ │ │ │ │ │ ├── NewsIndex.bg.resx │ │ │ │ │ │ └── NewsIndex.resx │ │ │ │ ├── Participants │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── ParticipantViewModels.Designer.cs │ │ │ │ │ │ ├── ParticipantViewModels.bg.designer.cs │ │ │ │ │ │ ├── ParticipantViewModels.bg.resx │ │ │ │ │ │ └── ParticipantViewModels.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── EditorTemplates │ │ │ │ │ │ ├── ParticipantEditorTemplates.Designer.cs │ │ │ │ │ │ ├── ParticipantEditorTemplates.bg.designer.cs │ │ │ │ │ │ ├── ParticipantEditorTemplates.bg.resx │ │ │ │ │ │ └── ParticipantEditorTemplates.resx │ │ │ │ │ │ ├── Partials │ │ │ │ │ │ ├── Participants.Designer.cs │ │ │ │ │ │ ├── Participants.bg.designer.cs │ │ │ │ │ │ ├── Participants.bg.resx │ │ │ │ │ │ └── Participants.resx │ │ │ │ │ │ ├── ParticipantsContest.bg.designer.cs │ │ │ │ │ │ ├── ParticipantsContest.bg.resx │ │ │ │ │ │ ├── ParticipantsContest.designer.cs │ │ │ │ │ │ ├── ParticipantsContest.resx │ │ │ │ │ │ ├── ParticipantsIndex.Designer.cs │ │ │ │ │ │ ├── ParticipantsIndex.bg.designer.cs │ │ │ │ │ │ ├── ParticipantsIndex.bg.resx │ │ │ │ │ │ └── ParticipantsIndex.resx │ │ │ │ ├── Problems │ │ │ │ │ ├── ProblemsControllers.Designer.cs │ │ │ │ │ ├── ProblemsControllers.bg.designer.cs │ │ │ │ │ ├── ProblemsControllers.bg.resx │ │ │ │ │ ├── ProblemsControllers.resx │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── DetailedProblem.Designer.cs │ │ │ │ │ │ ├── DetailedProblem.bg.designer.cs │ │ │ │ │ │ ├── DetailedProblem.bg.resx │ │ │ │ │ │ ├── DetailedProblem.resx │ │ │ │ │ │ ├── ProblemResources.bg.designer.cs │ │ │ │ │ │ ├── ProblemResources.bg.resx │ │ │ │ │ │ ├── ProblemResources.designer.cs │ │ │ │ │ │ └── ProblemResources.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── Partials │ │ │ │ │ │ ├── ProblemsPartials.Designer.cs │ │ │ │ │ │ ├── ProblemsPartials.bg.designer.cs │ │ │ │ │ │ ├── ProblemsPartials.bg.resx │ │ │ │ │ │ └── ProblemsPartials.resx │ │ │ │ │ │ ├── ProblemsCreate.Designer.cs │ │ │ │ │ │ ├── ProblemsCreate.bg.designer.cs │ │ │ │ │ │ ├── ProblemsCreate.bg.resx │ │ │ │ │ │ ├── ProblemsCreate.resx │ │ │ │ │ │ ├── ProblemsDelete.Designer.cs │ │ │ │ │ │ ├── ProblemsDelete.bg.designer.cs │ │ │ │ │ │ ├── ProblemsDelete.bg.resx │ │ │ │ │ │ ├── ProblemsDelete.resx │ │ │ │ │ │ ├── ProblemsDeleteAll.Designer.cs │ │ │ │ │ │ ├── ProblemsDeleteAll.bg.designer.cs │ │ │ │ │ │ ├── ProblemsDeleteAll.bg.resx │ │ │ │ │ │ ├── ProblemsDeleteAll.resx │ │ │ │ │ │ ├── ProblemsDetails.Designer.cs │ │ │ │ │ │ ├── ProblemsDetails.bg.designer.cs │ │ │ │ │ │ ├── ProblemsDetails.bg.resx │ │ │ │ │ │ ├── ProblemsDetails.resx │ │ │ │ │ │ ├── ProblemsEdit.Designer.cs │ │ │ │ │ │ ├── ProblemsEdit.bg.designer.cs │ │ │ │ │ │ ├── ProblemsEdit.bg.resx │ │ │ │ │ │ ├── ProblemsEdit.resx │ │ │ │ │ │ ├── ProblemsIndex.Designer.cs │ │ │ │ │ │ ├── ProblemsIndex.bg.designer.cs │ │ │ │ │ │ ├── ProblemsIndex.bg.resx │ │ │ │ │ │ └── ProblemsIndex.resx │ │ │ │ ├── Resources │ │ │ │ │ ├── ResourcesControllers.Designer.cs │ │ │ │ │ ├── ResourcesControllers.bg.designer.cs │ │ │ │ │ ├── ResourcesControllers.bg.resx │ │ │ │ │ ├── ResourcesControllers.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── ResourcesCreate.Designer.cs │ │ │ │ │ │ ├── ResourcesCreate.bg.designer.cs │ │ │ │ │ │ ├── ResourcesCreate.bg.resx │ │ │ │ │ │ ├── ResourcesCreate.resx │ │ │ │ │ │ ├── ResourcesEdit.Designer.cs │ │ │ │ │ │ ├── ResourcesEdit.bg.designer.cs │ │ │ │ │ │ ├── ResourcesEdit.bg.resx │ │ │ │ │ │ └── ResourcesEdit.resx │ │ │ │ ├── Roles │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── RolesViewModels.Designer.cs │ │ │ │ │ │ ├── RolesViewModels.bg.designer.cs │ │ │ │ │ │ ├── RolesViewModels.bg.resx │ │ │ │ │ │ └── RolesViewModels.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── RolesIndex.Designer.cs │ │ │ │ │ │ ├── RolesIndex.bg.designer.cs │ │ │ │ │ │ ├── RolesIndex.bg.resx │ │ │ │ │ │ └── RolesIndex.resx │ │ │ │ ├── Settings │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── SettingAdministration.Designer.cs │ │ │ │ │ │ ├── SettingAdministration.bg.designer.cs │ │ │ │ │ │ ├── SettingAdministration.bg.resx │ │ │ │ │ │ └── SettingAdministration.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── SettingsAdministrationIndex.Designer.cs │ │ │ │ │ │ ├── SettingsAdministrationIndex.bg.Designer.cs │ │ │ │ │ │ ├── SettingsAdministrationIndex.bg.resx │ │ │ │ │ │ └── SettingsAdministrationIndex.resx │ │ │ │ ├── Shared │ │ │ │ │ └── Views │ │ │ │ │ │ └── Partials │ │ │ │ │ │ ├── Partials.Designer.cs │ │ │ │ │ │ ├── Partials.bg.designer.cs │ │ │ │ │ │ ├── Partials.bg.resx │ │ │ │ │ │ └── Partials.resx │ │ │ │ ├── SubmissionTypes │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── SubmissionTypeAdministration.Designer.cs │ │ │ │ │ │ ├── SubmissionTypeAdministration.bg.designer.cs │ │ │ │ │ │ ├── SubmissionTypeAdministration.bg.resx │ │ │ │ │ │ └── SubmissionTypeAdministration.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── SubmissionTypesIndex.Designer.cs │ │ │ │ │ │ ├── SubmissionTypesIndex.bg.designer.cs │ │ │ │ │ │ ├── SubmissionTypesIndex.bg.resx │ │ │ │ │ │ └── SubmissionTypesIndex.resx │ │ │ │ ├── Submissions │ │ │ │ │ ├── SubmissionsControllers.Designer.cs │ │ │ │ │ ├── SubmissionsControllers.bg.designer.cs │ │ │ │ │ ├── SubmissionsControllers.bg.resx │ │ │ │ │ ├── SubmissionsControllers.resx │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── SubmissionAdministration.Designer.cs │ │ │ │ │ │ ├── SubmissionAdministration.bg.designer.cs │ │ │ │ │ │ ├── SubmissionAdministration.bg.resx │ │ │ │ │ │ └── SubmissionAdministration.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── EditorTemplates │ │ │ │ │ │ ├── SubmissionsEditorTemplates.Designer.cs │ │ │ │ │ │ ├── SubmissionsEditorTemplates.bg.Designer.cs │ │ │ │ │ │ ├── SubmissionsEditorTemplates.bg.resx │ │ │ │ │ │ └── SubmissionsEditorTemplates.resx │ │ │ │ │ │ ├── Partials │ │ │ │ │ │ ├── SubmissionForm.Designer.cs │ │ │ │ │ │ ├── SubmissionForm.bg.designer.cs │ │ │ │ │ │ ├── SubmissionForm.bg.resx │ │ │ │ │ │ ├── SubmissionForm.resx │ │ │ │ │ │ ├── SubmissionsGrid.Designer.cs │ │ │ │ │ │ ├── SubmissionsGrid.bg.designer.cs │ │ │ │ │ │ ├── SubmissionsGrid.bg.resx │ │ │ │ │ │ └── SubmissionsGrid.resx │ │ │ │ │ │ ├── SubmissionsCreate.Designer.cs │ │ │ │ │ │ ├── SubmissionsCreate.bg.designer.cs │ │ │ │ │ │ ├── SubmissionsCreate.bg.resx │ │ │ │ │ │ ├── SubmissionsCreate.resx │ │ │ │ │ │ ├── SubmissionsDelete.Designer.cs │ │ │ │ │ │ ├── SubmissionsDelete.bg.designer.cs │ │ │ │ │ │ ├── SubmissionsDelete.bg.resx │ │ │ │ │ │ ├── SubmissionsDelete.resx │ │ │ │ │ │ ├── SubmissionsIndex.Designer.cs │ │ │ │ │ │ ├── SubmissionsIndex.bg.designer.cs │ │ │ │ │ │ ├── SubmissionsIndex.bg.resx │ │ │ │ │ │ ├── SubmissionsIndex.resx │ │ │ │ │ │ ├── SubmissionsUpdate.Designer.cs │ │ │ │ │ │ ├── SubmissionsUpdate.bg.designer.cs │ │ │ │ │ │ ├── SubmissionsUpdate.bg.resx │ │ │ │ │ │ └── SubmissionsUpdate.resx │ │ │ │ ├── Tests │ │ │ │ │ ├── TestsControllers.bg.designer.cs │ │ │ │ │ ├── TestsControllers.bg.resx │ │ │ │ │ ├── TestsControllers.designer.cs │ │ │ │ │ ├── TestsControllers.resx │ │ │ │ │ ├── ViewModels │ │ │ │ │ │ ├── TestAdministration.Designer.cs │ │ │ │ │ │ ├── TestAdministration.bg.designer.cs │ │ │ │ │ │ ├── TestAdministration.bg.resx │ │ │ │ │ │ └── TestAdministration.resx │ │ │ │ │ └── Views │ │ │ │ │ │ ├── TestsCreate.Designer.cs │ │ │ │ │ │ ├── TestsCreate.bg.designer.cs │ │ │ │ │ │ ├── TestsCreate.bg.resx │ │ │ │ │ │ ├── TestsCreate.resx │ │ │ │ │ │ ├── TestsDelete.Designer.cs │ │ │ │ │ │ ├── TestsDelete.bg.designer.cs │ │ │ │ │ │ ├── TestsDelete.bg.resx │ │ │ │ │ │ ├── TestsDelete.resx │ │ │ │ │ │ ├── TestsDeleteAll.Designer.cs │ │ │ │ │ │ ├── TestsDeleteAll.bg.designer.cs │ │ │ │ │ │ ├── TestsDeleteAll.bg.resx │ │ │ │ │ │ ├── TestsDeleteAll.resx │ │ │ │ │ │ ├── TestsDetails.bg.designer.cs │ │ │ │ │ │ ├── TestsDetails.bg.resx │ │ │ │ │ │ ├── TestsDetails.designer.cs │ │ │ │ │ │ ├── TestsDetails.resx │ │ │ │ │ │ ├── TestsEdit.Designer.cs │ │ │ │ │ │ ├── TestsEdit.bg.designer.cs │ │ │ │ │ │ ├── TestsEdit.bg.resx │ │ │ │ │ │ ├── TestsEdit.resx │ │ │ │ │ │ ├── TestsIndex.Designer.cs │ │ │ │ │ │ ├── TestsIndex.bg.designer.cs │ │ │ │ │ │ ├── TestsIndex.bg.resx │ │ │ │ │ │ └── TestsIndex.resx │ │ │ │ └── Users │ │ │ │ │ ├── ViewModels │ │ │ │ │ ├── UserProfileAdministration.Designer.cs │ │ │ │ │ ├── UserProfileAdministration.bg.designer.cs │ │ │ │ │ ├── UserProfileAdministration.bg.resx │ │ │ │ │ └── UserProfileAdministration.resx │ │ │ │ │ └── Views │ │ │ │ │ ├── UsersIndex.Designer.cs │ │ │ │ │ ├── UsersIndex.bg.designer.cs │ │ │ │ │ ├── UsersIndex.bg.resx │ │ │ │ │ └── UsersIndex.resx │ │ │ ├── Contests │ │ │ │ ├── ContestsGeneral.Designer.cs │ │ │ │ ├── ContestsGeneral.bg.Designer.cs │ │ │ │ ├── ContestsGeneral.bg.resx │ │ │ │ ├── ContestsGeneral.resx │ │ │ │ ├── Shared │ │ │ │ │ ├── ContestsAllContestSubmissionsByUser.Designer.cs │ │ │ │ │ ├── ContestsAllContestSubmissionsByUser.bg.designer.cs │ │ │ │ │ ├── ContestsAllContestSubmissionsByUser.bg.resx │ │ │ │ │ ├── ContestsAllContestSubmissionsByUser.resx │ │ │ │ │ ├── ContestsProblemPartial.Designer.cs │ │ │ │ │ ├── ContestsProblemPartial.bg.Designer.cs │ │ │ │ │ ├── ContestsProblemPartial.bg.resx │ │ │ │ │ └── ContestsProblemPartial.resx │ │ │ │ ├── ViewModels │ │ │ │ │ ├── ContestsViewModels.Designer.cs │ │ │ │ │ ├── ContestsViewModels.bg.designer.cs │ │ │ │ │ ├── ContestsViewModels.bg.resx │ │ │ │ │ ├── ContestsViewModels.resx │ │ │ │ │ ├── ProblemsViewModels.Designer.cs │ │ │ │ │ ├── ProblemsViewModels.bg.designer.cs │ │ │ │ │ ├── ProblemsViewModels.bg.resx │ │ │ │ │ ├── ProblemsViewModels.resx │ │ │ │ │ ├── SubmissionsViewModels.Designer.cs │ │ │ │ │ ├── SubmissionsViewModels.bg.designer.cs │ │ │ │ │ ├── SubmissionsViewModels.bg.resx │ │ │ │ │ └── SubmissionsViewModels.resx │ │ │ │ └── Views │ │ │ │ │ ├── Compete │ │ │ │ │ ├── CompeteIndex.Designer.cs │ │ │ │ │ ├── CompeteIndex.bg.designer.cs │ │ │ │ │ ├── CompeteIndex.bg.resx │ │ │ │ │ ├── CompeteIndex.resx │ │ │ │ │ ├── CompeteRegister.Designer.cs │ │ │ │ │ ├── CompeteRegister.bg.Designer.cs │ │ │ │ │ ├── CompeteRegister.bg.resx │ │ │ │ │ └── CompeteRegister.resx │ │ │ │ │ ├── Contests │ │ │ │ │ ├── ContestsDetails.Designer.cs │ │ │ │ │ ├── ContestsDetails.bg.designer.cs │ │ │ │ │ ├── ContestsDetails.bg.resx │ │ │ │ │ └── ContestsDetails.resx │ │ │ │ │ ├── List │ │ │ │ │ ├── ListByCategory.Designer.cs │ │ │ │ │ ├── ListByCategory.bg.Designer.cs │ │ │ │ │ ├── ListByCategory.bg.resx │ │ │ │ │ ├── ListByCategory.resx │ │ │ │ │ ├── ListByType.Designer.cs │ │ │ │ │ ├── ListByType.bg.designer.cs │ │ │ │ │ ├── ListByType.bg.resx │ │ │ │ │ ├── ListByType.resx │ │ │ │ │ ├── ListIndex.bg.designer.cs │ │ │ │ │ ├── ListIndex.bg.resx │ │ │ │ │ ├── ListIndex.designer.cs │ │ │ │ │ └── ListIndex.resx │ │ │ │ │ ├── Results │ │ │ │ │ ├── Partials │ │ │ │ │ │ ├── StatsPartial.Designer.cs │ │ │ │ │ │ ├── StatsPartial.bg.designer.cs │ │ │ │ │ │ ├── StatsPartial.bg.resx │ │ │ │ │ │ └── StatsPartial.resx │ │ │ │ │ ├── ResultsFull.bg.Designer.cs │ │ │ │ │ ├── ResultsFull.bg.resx │ │ │ │ │ ├── ResultsFull.designer.cs │ │ │ │ │ ├── ResultsFull.resx │ │ │ │ │ ├── ResultsSimple.Designer.cs │ │ │ │ │ ├── ResultsSimple.bg.Designer.cs │ │ │ │ │ ├── ResultsSimple.bg.resx │ │ │ │ │ └── ResultsSimple.resx │ │ │ │ │ └── Submissions │ │ │ │ │ ├── SubmissionsView.Designer.cs │ │ │ │ │ ├── SubmissionsView.bg.designer.cs │ │ │ │ │ ├── SubmissionsView.bg.resx │ │ │ │ │ └── SubmissionsView.resx │ │ │ └── Users │ │ │ │ ├── Shared │ │ │ │ ├── ProfileProfileInfo.Designer.cs │ │ │ │ ├── ProfileProfileInfo.bg.Designer.cs │ │ │ │ ├── ProfileProfileInfo.bg.resx │ │ │ │ └── ProfileProfileInfo.resx │ │ │ │ ├── ViewModels │ │ │ │ ├── ProfileViewModels.Designer.cs │ │ │ │ ├── ProfileViewModels.bg.Designer.cs │ │ │ │ ├── ProfileViewModels.bg.resx │ │ │ │ └── ProfileViewModels.resx │ │ │ │ └── Views │ │ │ │ ├── Profile │ │ │ │ ├── ProfileIndex.Designer.cs │ │ │ │ ├── ProfileIndex.bg.Designer.cs │ │ │ │ ├── ProfileIndex.bg.resx │ │ │ │ └── ProfileIndex.resx │ │ │ │ └── Settings │ │ │ │ ├── SettingsIndex.Designer.cs │ │ │ │ ├── SettingsIndex.bg.designer.cs │ │ │ │ ├── SettingsIndex.bg.resx │ │ │ │ └── SettingsIndex.resx │ │ ├── Base │ │ │ ├── Main.Designer.cs │ │ │ ├── Main.bg.Designer.cs │ │ │ ├── Main.bg.resx │ │ │ └── Main.resx │ │ ├── Feedback │ │ │ ├── ViewModels │ │ │ │ ├── FeedbackViewModels.Designer.cs │ │ │ │ ├── FeedbackViewModels.bg.designer.cs │ │ │ │ ├── FeedbackViewModels.bg.resx │ │ │ │ └── FeedbackViewModels.resx │ │ │ └── Views │ │ │ │ ├── FeedbackIndex.Designer.cs │ │ │ │ ├── FeedbackIndex.bg.designer.cs │ │ │ │ ├── FeedbackIndex.bg.resx │ │ │ │ ├── FeedbackIndex.resx │ │ │ │ ├── FeedbackSubmitted.Designer.cs │ │ │ │ ├── FeedbackSubmitted.bg.designer.cs │ │ │ │ ├── FeedbackSubmitted.bg.resx │ │ │ │ └── FeedbackSubmitted.resx │ │ ├── Global.Designer.cs │ │ ├── Global.resx │ │ ├── Home │ │ │ └── Views │ │ │ │ ├── Index.bg.designer.cs │ │ │ │ ├── Index.bg.resx │ │ │ │ ├── Index.designer.cs │ │ │ │ └── Index.resx │ │ ├── Models │ │ │ ├── ContestQuestionTypeResource.bg.Designer.cs │ │ │ ├── ContestQuestionTypeResource.bg.resx │ │ │ ├── ContestQuestionTypeResource.designer.cs │ │ │ └── ContestQuestionTypeResource.resx │ │ ├── News │ │ │ └── Views │ │ │ │ ├── All.Designer.cs │ │ │ │ ├── All.bg.designer.cs │ │ │ │ ├── All.bg.resx │ │ │ │ ├── All.resx │ │ │ │ ├── LatestNews.Designer.cs │ │ │ │ ├── LatestNews.bg.designer.cs │ │ │ │ ├── LatestNews.bg.resx │ │ │ │ ├── LatestNews.resx │ │ │ │ ├── Selected.Designer.cs │ │ │ │ ├── Selected.bg.designer.cs │ │ │ │ ├── Selected.bg.resx │ │ │ │ └── Selected.resx │ │ ├── Search │ │ │ └── Views │ │ │ │ ├── SearchIndex.bg.Designer.cs │ │ │ │ ├── SearchIndex.bg.resx │ │ │ │ ├── SearchIndex.designer.cs │ │ │ │ ├── SearchIndex.resx │ │ │ │ ├── SearchResults.Designer.cs │ │ │ │ ├── SearchResults.bg.Designer.cs │ │ │ │ ├── SearchResults.bg.resx │ │ │ │ └── SearchResults.resx │ │ ├── Submissions │ │ │ └── Views │ │ │ │ ├── AdvancedSubmissions.Designer.cs │ │ │ │ ├── AdvancedSubmissions.bg.designer.cs │ │ │ │ ├── AdvancedSubmissions.bg.resx │ │ │ │ ├── AdvancedSubmissions.resx │ │ │ │ ├── BasicSubmissions.Designer.cs │ │ │ │ ├── BasicSubmissions.bg.designer.cs │ │ │ │ ├── BasicSubmissions.bg.resx │ │ │ │ ├── BasicSubmissions.resx │ │ │ │ └── Partial │ │ │ │ ├── AdvancedSubmissionsGridPartial.Designer.cs │ │ │ │ ├── AdvancedSubmissionsGridPartial.bg.designer.cs │ │ │ │ ├── AdvancedSubmissionsGridPartial.bg.resx │ │ │ │ └── AdvancedSubmissionsGridPartial.resx │ │ └── Views │ │ │ └── Shared │ │ │ ├── Layout.Designer.cs │ │ │ ├── Layout.bg.designer.cs │ │ │ ├── Layout.bg.resx │ │ │ ├── Layout.resx │ │ │ ├── LoginPartial.bg.designer.cs │ │ │ ├── LoginPartial.bg.resx │ │ │ ├── LoginPartial.designer.cs │ │ │ └── LoginPartial.resx │ │ ├── App_Start │ │ ├── BundleConfig.cs │ │ ├── FilterConfig.cs │ │ ├── GlimpseSecurityPolicy.cs │ │ ├── LoggingModule.cs │ │ ├── NinjectWebCommon.cs │ │ ├── RouteConfig.cs │ │ ├── Settings.cs │ │ ├── Startup.Auth.cs │ │ └── ViewEngineConfig.cs │ │ ├── Areas │ │ ├── Administration │ │ │ ├── AdministrationAreaRegistration.cs │ │ │ ├── Controllers │ │ │ │ ├── AccessLogsController.cs │ │ │ │ ├── AntiCheatController.cs │ │ │ │ ├── CheckersController.cs │ │ │ │ ├── ContestCategoriesController.cs │ │ │ │ ├── ContestQuestionAnswersController.cs │ │ │ │ ├── ContestQuestionsController.cs │ │ │ │ ├── ContestsController.cs │ │ │ │ ├── ContestsExportController.cs │ │ │ │ ├── FeedbackController.cs │ │ │ │ ├── NavigationController.cs │ │ │ │ ├── NewsController.cs │ │ │ │ ├── ParticipantsController.cs │ │ │ │ ├── ProblemsController.cs │ │ │ │ ├── ResourcesController.cs │ │ │ │ ├── RolesController.cs │ │ │ │ ├── SettingsController.cs │ │ │ │ ├── SubmissionTypesController.cs │ │ │ │ ├── SubmissionsController.cs │ │ │ │ ├── TestsController.cs │ │ │ │ └── UsersController.cs │ │ │ ├── Providers │ │ │ │ ├── Common │ │ │ │ │ └── BaseNewsProvider.cs │ │ │ │ ├── Contracts │ │ │ │ │ └── INewsProvider.cs │ │ │ │ ├── InfoManNewsProvider.cs │ │ │ │ └── InfosNewsProvider.cs │ │ │ ├── ViewModels │ │ │ │ ├── AccessLogs │ │ │ │ │ └── AccessLogGridViewModel.cs │ │ │ │ ├── AntiCheat │ │ │ │ │ ├── AntiCheatByIpAdministrationViewModel.cs │ │ │ │ │ ├── IpSubmissionsAdministrationViewModel.cs │ │ │ │ │ ├── SubmissionSimilarityFiltersInputModel.cs │ │ │ │ │ └── SubmissionSimilarityViewModel.cs │ │ │ │ ├── Checker │ │ │ │ │ └── CheckerAdministrationViewModel.cs │ │ │ │ ├── Common │ │ │ │ │ └── AdministrationViewModel.cs │ │ │ │ ├── Contest │ │ │ │ │ ├── ContestAdministrationViewModel.cs │ │ │ │ │ └── ShortContestAdministrationViewModel.cs │ │ │ │ ├── ContestCategory │ │ │ │ │ └── ContestCategoryAdministrationViewModel.cs │ │ │ │ ├── ContestQuestion │ │ │ │ │ └── ContestQuestionViewModel.cs │ │ │ │ ├── ContestQuestionAnswer │ │ │ │ │ └── ContestQuestionAnswerViewModel.cs │ │ │ │ ├── FeedbackReport │ │ │ │ │ └── FeedbackReportViewModel.cs │ │ │ │ ├── News │ │ │ │ │ └── NewsAdministrationViewModel.cs │ │ │ │ ├── Participant │ │ │ │ │ ├── ContestViewModel.cs │ │ │ │ │ ├── ParticipantAdministrationViewModel.cs │ │ │ │ │ ├── ParticipantAnswerViewModel.cs │ │ │ │ │ └── UserViewModel.cs │ │ │ │ ├── Problem │ │ │ │ │ ├── DetailedProblemViewModel.cs │ │ │ │ │ └── ProblemViewModel.cs │ │ │ │ ├── ProblemResource │ │ │ │ │ ├── ProblemResourceGridViewModel.cs │ │ │ │ │ └── ProblemResourceViewModel.cs │ │ │ │ ├── Roles │ │ │ │ │ ├── RoleAdministrationViewModel.cs │ │ │ │ │ └── UserInRoleAdministrationViewModel.cs │ │ │ │ ├── Setting │ │ │ │ │ └── SettingAdministrationViewModel.cs │ │ │ │ ├── Submission │ │ │ │ │ ├── SubmissionAdministrationGridViewModel.cs │ │ │ │ │ └── SubmissionAdministrationViewModel.cs │ │ │ │ ├── SubmissionType │ │ │ │ │ ├── SubmissionTypeAdministrationViewModel.cs │ │ │ │ │ └── SubmissionTypeViewModel.cs │ │ │ │ ├── Test │ │ │ │ │ └── TestViewModel.cs │ │ │ │ ├── TestRun │ │ │ │ │ └── TestRunViewModel.cs │ │ │ │ └── User │ │ │ │ │ └── UserProfileAdministrationViewModel.cs │ │ │ └── Views │ │ │ │ ├── AccessLogs │ │ │ │ └── Index.cshtml │ │ │ │ ├── AntiCheat │ │ │ │ ├── ByIP.cshtml │ │ │ │ ├── BySubmissionSimilarity.cshtml │ │ │ │ ├── _ContestsComboBox.cshtml │ │ │ │ ├── _IPGrid.cshtml │ │ │ │ └── _SubmissionsGrid.cshtml │ │ │ │ ├── Checkers │ │ │ │ └── Index.cshtml │ │ │ │ ├── ContestCategories │ │ │ │ ├── Hierarchy.cshtml │ │ │ │ └── Index.cshtml │ │ │ │ ├── Contests │ │ │ │ ├── Create.cshtml │ │ │ │ ├── Edit.cshtml │ │ │ │ ├── EditorTemplates │ │ │ │ │ ├── CategoryDropDown.cshtml │ │ │ │ │ ├── ContestQuestionType.cshtml │ │ │ │ │ └── SubmissionTypeCheckBoxes.cshtml │ │ │ │ ├── Index.cshtml │ │ │ │ └── _ContestEditor.cshtml │ │ │ │ ├── Feedback │ │ │ │ └── Index.cshtml │ │ │ │ ├── Navigation │ │ │ │ └── Index.cshtml │ │ │ │ ├── News │ │ │ │ └── Index.cshtml │ │ │ │ ├── Participants │ │ │ │ ├── Contest.cshtml │ │ │ │ ├── EditorTemplates │ │ │ │ │ ├── ContestsComboBox.cshtml │ │ │ │ │ └── UsersComboBox.cshtml │ │ │ │ ├── Index.cshtml │ │ │ │ └── _Participants.cshtml │ │ │ │ ├── Problems │ │ │ │ ├── Create.cshtml │ │ │ │ ├── Delete.cshtml │ │ │ │ ├── DeleteAll.cshtml │ │ │ │ ├── Details.cshtml │ │ │ │ ├── Edit.cshtml │ │ │ │ ├── Index.cshtml │ │ │ │ ├── _ResourcesGrid.cshtml │ │ │ │ └── _SubmissionsGrid.cshtml │ │ │ │ ├── Resources │ │ │ │ ├── Create.cshtml │ │ │ │ └── Edit.cshtml │ │ │ │ ├── Roles │ │ │ │ ├── EditorTemplates │ │ │ │ │ └── AddUserToRole.cshtml │ │ │ │ └── Index.cshtml │ │ │ │ ├── Settings │ │ │ │ └── Index.cshtml │ │ │ │ ├── Shared │ │ │ │ ├── EditorTemplates │ │ │ │ │ ├── Date.cshtml │ │ │ │ │ ├── DateAndTime.cshtml │ │ │ │ │ ├── DisabledCheckbox.cshtml │ │ │ │ │ ├── DropDownList.cshtml │ │ │ │ │ ├── Enum.cshtml │ │ │ │ │ ├── HtmlContent.cshtml │ │ │ │ │ ├── Integer.cshtml │ │ │ │ │ ├── MultiLineText.cshtml │ │ │ │ │ ├── NonEditable.cshtml │ │ │ │ │ ├── PositiveInteger.cshtml │ │ │ │ │ └── SingleLineText.cshtml │ │ │ │ ├── _AdministrationLayout.cshtml │ │ │ │ ├── _CopyQuestionsFromContest.cshtml │ │ │ │ ├── _ProblemResourceForm.cshtml │ │ │ │ └── _QuickContestsGrid.cshtml │ │ │ │ ├── SubmissionTypes │ │ │ │ └── Index.cshtml │ │ │ │ ├── Submissions │ │ │ │ ├── Create.cshtml │ │ │ │ ├── Delete.cshtml │ │ │ │ ├── EditorTemplates │ │ │ │ │ ├── ParticipantDropDownList.cshtml │ │ │ │ │ ├── ProblemComboBox.cshtml │ │ │ │ │ ├── SubmissionAdministrationViewModel.cshtml │ │ │ │ │ └── SubmissionTypesDropDownList.cshtml │ │ │ │ ├── Index.cshtml │ │ │ │ ├── Update.cshtml │ │ │ │ ├── _SubmissionForm.cshtml │ │ │ │ └── _SubmissionsGrid.cshtml │ │ │ │ ├── Tests │ │ │ │ ├── Create.cshtml │ │ │ │ ├── Delete.cshtml │ │ │ │ ├── DeleteAll.cshtml │ │ │ │ ├── Details.cshtml │ │ │ │ ├── Edit.cshtml │ │ │ │ └── Index.cshtml │ │ │ │ ├── Users │ │ │ │ └── Index.cshtml │ │ │ │ ├── Web.config │ │ │ │ └── _ViewStart.cshtml │ │ ├── Api │ │ │ ├── ApiAreaRegistration.cs │ │ │ ├── Controllers │ │ │ │ ├── ApiController.cs │ │ │ │ └── ResultsController.cs │ │ │ └── Models │ │ │ │ └── ErrorMessageViewModel.cs │ │ ├── Contests │ │ │ ├── ContestsAreaRegistration.cs │ │ │ ├── Controllers │ │ │ │ ├── CompeteController.cs │ │ │ │ ├── ContestsController.cs │ │ │ │ ├── ListController.cs │ │ │ │ ├── ParticipantsAnswersController.cs │ │ │ │ ├── ResultsController.cs │ │ │ │ └── SubmissionsController.cs │ │ │ ├── Helpers │ │ │ │ └── ContestExtensions.cs │ │ │ ├── Models │ │ │ │ ├── BinarySubmissionModel.cs │ │ │ │ ├── ContestQuestionAnswerModel.cs │ │ │ │ ├── ContestRegistrationModel.cs │ │ │ │ └── SubmissionModel.cs │ │ │ ├── ViewModels │ │ │ │ ├── Contests │ │ │ │ │ ├── ContestCategoryListViewModel.cs │ │ │ │ │ ├── ContestCategoryViewModel.cs │ │ │ │ │ ├── ContestPointsRangeViewModel.cs │ │ │ │ │ ├── ContestProblemResourceViewModel.cs │ │ │ │ │ ├── ContestProblemStatsViewModel.cs │ │ │ │ │ ├── ContestProblemViewModel.cs │ │ │ │ │ ├── ContestRegistrationViewModel.cs │ │ │ │ │ ├── ContestStatsChartViewModel.cs │ │ │ │ │ ├── ContestStatsViewModel.cs │ │ │ │ │ ├── ContestViewModel.cs │ │ │ │ │ ├── DropDownAnswerViewModel.cs │ │ │ │ │ └── QuestionViewModel.cs │ │ │ │ ├── Participants │ │ │ │ │ └── ParticipantViewModel.cs │ │ │ │ ├── ParticipantsAnswers │ │ │ │ │ └── ParticipantsAnswersViewModel.cs │ │ │ │ ├── Problems │ │ │ │ │ └── ProblemListItemViewModel.cs │ │ │ │ ├── Results │ │ │ │ │ ├── BestSubmissionViewModel.cs │ │ │ │ │ ├── ContestFullResultsViewModel.cs │ │ │ │ │ ├── ContestResultsViewModel.cs │ │ │ │ │ ├── ParticipantFullResultViewModel.cs │ │ │ │ │ ├── ParticipantResultViewModel.cs │ │ │ │ │ ├── ProblemFullResultViewModel.cs │ │ │ │ │ ├── ProblemResultPairViewModel.cs │ │ │ │ │ ├── ProblemResultViewModel.cs │ │ │ │ │ ├── SubmissionFullResultsViewModel.cs │ │ │ │ │ ├── SubmissionResultIsCompiledViewModel.cs │ │ │ │ │ └── TestRunFullResultsViewModel.cs │ │ │ │ └── Submissions │ │ │ │ │ ├── SubmissionDetailsViewModel.cs │ │ │ │ │ ├── SubmissionResultViewModel.cs │ │ │ │ │ ├── SubmissionTypeViewModel.cs │ │ │ │ │ └── TestRunDetailsViewModel.cs │ │ │ └── Views │ │ │ │ ├── Compete │ │ │ │ ├── Index.cshtml │ │ │ │ └── Register.cshtml │ │ │ │ ├── Contests │ │ │ │ └── Details.cshtml │ │ │ │ ├── List │ │ │ │ ├── ByCategory.cshtml │ │ │ │ ├── BySubmissionType.cshtml │ │ │ │ └── Index.cshtml │ │ │ │ ├── ParticipantsAnswers │ │ │ │ └── Details.cshtml │ │ │ │ ├── Results │ │ │ │ ├── Full.cshtml │ │ │ │ ├── Simple.cshtml │ │ │ │ ├── _StatsChartPartial.cshtml │ │ │ │ └── _StatsPartial.cshtml │ │ │ │ ├── Shared │ │ │ │ ├── _AllContestSubmissionsByUser.cshtml │ │ │ │ └── _ProblemPartial.cshtml │ │ │ │ ├── Submissions │ │ │ │ └── View.cshtml │ │ │ │ └── Web.Config │ │ └── Users │ │ │ ├── Controllers │ │ │ ├── ProfileController.cs │ │ │ └── SettingsController.cs │ │ │ ├── Helpers │ │ │ └── NullDisplayFormatAttribute.cs │ │ │ ├── UsersAreaRegistration.cs │ │ │ ├── ViewModels │ │ │ ├── UserParticipationViewModel.cs │ │ │ ├── UserProfileViewModel.cs │ │ │ └── UserSettingsViewModel.cs │ │ │ └── Views │ │ │ ├── Profile │ │ │ └── Index.cshtml │ │ │ ├── Settings │ │ │ └── Index.cshtml │ │ │ ├── Shared │ │ │ └── _ProfileInfo.cshtml │ │ │ └── Web.Config │ │ ├── Content │ │ ├── CodeMirror │ │ │ ├── addon │ │ │ │ └── merge.css │ │ │ ├── codemirror.css │ │ │ └── theme │ │ │ │ ├── 3024-day.css │ │ │ │ ├── 3024-night.css │ │ │ │ ├── ambiance-mobile.css │ │ │ │ ├── ambiance.css │ │ │ │ ├── base16-dark.css │ │ │ │ ├── base16-light.css │ │ │ │ ├── blackboard.css │ │ │ │ ├── cobalt.css │ │ │ │ ├── eclipse.css │ │ │ │ ├── elegant.css │ │ │ │ ├── erlang-dark.css │ │ │ │ ├── lesser-dark.css │ │ │ │ ├── mbo.css │ │ │ │ ├── mdn-like.css │ │ │ │ ├── midnight.css │ │ │ │ ├── monokai.css │ │ │ │ ├── neat.css │ │ │ │ ├── night.css │ │ │ │ ├── paraiso-dark.css │ │ │ │ ├── paraiso-light.css │ │ │ │ ├── pastel-on-dark.css │ │ │ │ ├── rubyblue.css │ │ │ │ ├── solarized.css │ │ │ │ ├── the-matrix.css │ │ │ │ ├── tomorrow-night-eighties.css │ │ │ │ ├── twilight.css │ │ │ │ ├── vibrant-ink.css │ │ │ │ ├── xq-dark.css │ │ │ │ └── xq-light.css │ │ ├── Contests │ │ │ ├── results-page.css │ │ │ ├── submission-page.css │ │ │ └── submission-view-page.css │ │ ├── Demos │ │ │ └── DemoTests.zip │ │ ├── Fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ └── glyphicons-halflings-regular.woff │ │ ├── KendoUI │ │ │ ├── Black │ │ │ │ ├── editor.png │ │ │ │ ├── imagebrowser.png │ │ │ │ ├── indeterminate.gif │ │ │ │ ├── loading-image.gif │ │ │ │ ├── loading.gif │ │ │ │ ├── loading_2x.gif │ │ │ │ ├── slider-h.gif │ │ │ │ ├── slider-v.gif │ │ │ │ ├── sprite.png │ │ │ │ ├── sprite_2x.png │ │ │ │ ├── sprite_kpi.png │ │ │ │ └── sprite_kpi_2x.png │ │ │ ├── kendo.black.css │ │ │ ├── kendo.common.css │ │ │ └── textures │ │ │ │ ├── brushed-metal.png │ │ │ │ ├── dots1.png │ │ │ │ ├── dots10.png │ │ │ │ ├── dots11.png │ │ │ │ ├── dots12.png │ │ │ │ ├── dots13.png │ │ │ │ ├── dots2.png │ │ │ │ ├── dots3.png │ │ │ │ ├── dots4.png │ │ │ │ ├── dots5.png │ │ │ │ ├── dots6.png │ │ │ │ ├── dots7.png │ │ │ │ ├── dots8.png │ │ │ │ ├── dots9.png │ │ │ │ ├── glass-lighter.png │ │ │ │ ├── glass.png │ │ │ │ ├── highlight.png │ │ │ │ ├── hsv-gradient.png │ │ │ │ ├── hue.png │ │ │ │ ├── leather1.png │ │ │ │ ├── leather2.png │ │ │ │ ├── noise.png │ │ │ │ ├── stripe1.png │ │ │ │ ├── stripe2.png │ │ │ │ ├── stripe3.png │ │ │ │ ├── stripe4.png │ │ │ │ ├── stripe5.png │ │ │ │ ├── stripe6.png │ │ │ │ ├── transparency.png │ │ │ │ └── transtexture.png │ │ ├── Site.css │ │ ├── bootstrap │ │ │ ├── bootstrap-theme-cyborg.css │ │ │ ├── bootstrap-theme-cyborg.min.css │ │ │ ├── bootstrap-theme.css │ │ │ ├── bootstrap-theme.min.css │ │ │ ├── bootstrap.css │ │ │ ├── bootstrap.min.css │ │ │ ├── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ │ └── themes │ │ │ │ ├── bootstrap-theme-cosmo.css │ │ │ │ ├── bootstrap-theme-cosmo.min.css │ │ │ │ ├── bootstrap-theme-cyborg.css │ │ │ │ ├── bootstrap-theme-cyborg.min.css │ │ │ │ ├── bootstrap-theme-flatly.css │ │ │ │ ├── bootstrap-theme-flatly.min.css │ │ │ │ ├── bootstrap-theme.css │ │ │ │ └── bootstrap-theme.min.css │ │ └── docs.css │ │ ├── Controllers │ │ ├── AccountController.cs │ │ ├── AdministrationController.cs │ │ ├── BaseController.cs │ │ ├── FeedbackController.cs │ │ ├── HomeController.cs │ │ ├── KendoGridAdministrationController.cs │ │ ├── NewsController.cs │ │ ├── RedirectsController.cs │ │ ├── SearchController.cs │ │ └── SubmissionsController.cs │ │ ├── Global.asax │ │ ├── Global.asax.cs │ │ ├── JSLintNet.json │ │ ├── OJS.Web.csproj │ │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── PublishProfiles │ │ │ ├── File System.pubxml │ │ │ └── bgcoder.com.pubxml │ │ ├── Scripts │ │ ├── Administration │ │ │ ├── Contests │ │ │ │ └── contests-index.js │ │ │ ├── Problems │ │ │ │ ├── problems-create.js │ │ │ │ ├── problems-edit.js │ │ │ │ └── problems-index.js │ │ │ ├── Resources │ │ │ │ ├── resources-create.js │ │ │ │ └── resources-edit.js │ │ │ ├── Tests │ │ │ │ ├── tests-details.js │ │ │ │ └── tests-index.js │ │ │ └── administration-global.js │ │ ├── CodeMirror │ │ │ ├── addon │ │ │ │ ├── diff_match_patch.js │ │ │ │ └── merge.js │ │ │ ├── codemirror.js │ │ │ └── mode │ │ │ │ ├── clike.js │ │ │ │ └── javascript.js │ │ ├── Contests │ │ │ ├── list-categories-page.js │ │ │ └── submission-page.js │ │ ├── Countdown │ │ │ └── countdown.min.js │ │ ├── Helpers │ │ │ └── test-results.js │ │ ├── KendoUI │ │ │ └── 2014.3.1411 │ │ │ │ ├── cultures │ │ │ │ ├── kendo.culture.bg.js │ │ │ │ └── kendo.culture.en-GB.js │ │ │ │ ├── kendo.all.js │ │ │ │ └── kendo.aspnetmvc.js │ │ ├── _references.js │ │ ├── bootstrap.js │ │ ├── bootstrap.min.js │ │ ├── global.js │ │ ├── jquery-2.1.4.intellisense.js │ │ ├── jquery-2.1.4.js │ │ ├── jquery-2.1.4.min.js │ │ ├── jquery-2.1.4.min.map │ │ ├── jquery.unobtrusive-ajax.js │ │ ├── jquery.unobtrusive-ajax.min.js │ │ ├── jquery.validate-vsdoc.js │ │ ├── jquery.validate.js │ │ ├── jquery.validate.min.js │ │ ├── jquery.validate.unobtrusive.js │ │ └── jquery.validate.unobtrusive.min.js │ │ ├── Startup.cs │ │ ├── ViewModels │ │ ├── Account │ │ │ ├── ChangeEmailViewModel.cs │ │ │ ├── ChangeUsernameViewModel.cs │ │ │ ├── ExternalLoginConfirmationViewModel.cs │ │ │ ├── ForgottenPasswordViewModel.cs │ │ │ ├── LoginViewModel.cs │ │ │ ├── ManageUserViewModel.cs │ │ │ └── RegisterViewModel.cs │ │ ├── CategoryMenuItemViewModel.cs │ │ ├── Feedback │ │ │ └── FeedbackViewModel.cs │ │ ├── Home │ │ │ └── Index │ │ │ │ ├── HomeContestViewModel.cs │ │ │ │ └── IndexViewModel.cs │ │ ├── News │ │ │ ├── AllNewsViewModel.cs │ │ │ ├── NewsViewModel.cs │ │ │ └── SelectedNewsViewModel.cs │ │ ├── Search │ │ │ ├── SearchResultGroupViewModel.cs │ │ │ └── SearchResultViewModel.cs │ │ ├── Shared │ │ │ └── PaginationViewModel.cs │ │ ├── Submission │ │ │ └── SubmissionViewModel.cs │ │ └── TestRun │ │ │ └── TestRunViewModel.cs │ │ ├── Views │ │ ├── Account │ │ │ ├── ChangeEmail.cshtml │ │ │ ├── ChangePassword.cshtml │ │ │ ├── ChangeUsername.cshtml │ │ │ ├── ExternalLoginConfirmation.cshtml │ │ │ ├── ExternalLoginFailure.cshtml │ │ │ ├── ForgottenPassword.cshtml │ │ │ ├── Login.cshtml │ │ │ ├── Manage.cshtml │ │ │ ├── Register.cshtml │ │ │ ├── _ChangePasswordPartial.cshtml │ │ │ ├── _ExternalLoginsListPartial.cshtml │ │ │ ├── _RemoveAccountPartial.cshtml │ │ │ └── _SetPasswordPartial.cshtml │ │ ├── Feedback │ │ │ ├── Index.cshtml │ │ │ └── Submitted.cshtml │ │ ├── Home │ │ │ └── Index.cshtml │ │ ├── News │ │ │ ├── All.cshtml │ │ │ └── Selected.cshtml │ │ ├── Search │ │ │ ├── Index.cshtml │ │ │ └── Results.cshtml │ │ ├── Shared │ │ │ ├── EditorTemplates │ │ │ │ ├── Currency.cshtml │ │ │ │ ├── Date.cshtml │ │ │ │ ├── DateTime.cshtml │ │ │ │ ├── EmailAddress.cshtml │ │ │ │ ├── GridForeignKey.cshtml │ │ │ │ ├── Integer.cshtml │ │ │ │ ├── MultilineText.cshtml │ │ │ │ ├── Number.cshtml │ │ │ │ ├── Password.cshtml │ │ │ │ ├── QuestionViewModel.cshtml │ │ │ │ ├── String.cshtml │ │ │ │ └── Time.cshtml │ │ │ ├── Error.cshtml │ │ │ ├── _AdvancedSubmissionsGridPartial.cshtml │ │ │ ├── _LatestNews.cshtml │ │ │ ├── _Layout.cshtml │ │ │ ├── _LoginPartial.cshtml │ │ │ └── _Pagination.cshtml │ │ ├── Submissions │ │ │ ├── AdvancedSubmissions.cshtml │ │ │ └── BasicSubmissions.cshtml │ │ ├── Web.config │ │ └── _ViewStart.cshtml │ │ ├── Web.Debug.config │ │ ├── Web.Release.config │ │ ├── Web.config │ │ ├── _ViewStart.cshtml │ │ ├── favicon.ico │ │ ├── google95e631afa25e7960.html │ │ ├── packages.config │ │ └── robots.txt └── Workers │ ├── OJS.Workers.Agent │ ├── AgentClient.cs │ ├── AgentCommunicator.cs │ ├── AgentService.cs │ ├── AgentServiceInstaller.cs │ ├── App.config │ ├── Batch Files │ │ ├── InstallService.bat │ │ └── StopService.bat │ ├── CodeJobWorker.cs │ ├── FileCache.cs │ ├── IFileCache.cs │ ├── IJobWorker.cs │ ├── OJS.Workers.Agent.csproj │ ├── OJS.Workers.Agent_TemporaryKey.pfx │ ├── Program.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── app.manifest │ └── packages.config │ ├── OJS.Workers.Checkers │ ├── CPlusPlusCodeChecker.cs │ ├── CSharpCodeChecker.cs │ ├── CaseInsensitiveChecker.cs │ ├── Checker.cs │ ├── ExactChecker.cs │ ├── OJS.Workers.Checkers.csproj │ ├── PrecisionChecker.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── SortChecker.cs │ ├── TrimChecker.cs │ └── packages.config │ ├── OJS.Workers.Common │ ├── Agents │ │ ├── AgentResponseData.cs │ │ ├── AgentTaskData.cs │ │ ├── SourceFile.cs │ │ ├── TaskInformation.cs │ │ ├── Test.cs │ │ └── TestResult.cs │ ├── CheckerDetails.cs │ ├── CheckerResult.cs │ ├── CheckerResultType.cs │ ├── Communication │ │ ├── Job.cs │ │ ├── JobResult.cs │ │ ├── NetworkCommunicationException.cs │ │ ├── NetworkDataObject.cs │ │ ├── NetworkDataObjectType.cs │ │ └── SystemInformation.cs │ ├── CompileResult.cs │ ├── Helpers │ │ └── JavaCodePreprocessorHelper.cs │ ├── IChecker.cs │ ├── ICompiler.cs │ ├── IExecutor.cs │ ├── OJS.Workers.Common.csproj │ ├── ProcessExecutionResult.cs │ ├── ProcessExecutionResultType.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── packages.config │ ├── OJS.Workers.Compilers │ ├── CPlusPlusCompiler.cs │ ├── CSharpCompiler.cs │ ├── Compiler.cs │ ├── CompilerOutput.cs │ ├── JavaCompiler.cs │ ├── JavaZipCompiler.cs │ ├── MsBuildCompiler.cs │ ├── OJS.Workers.Compilers.csproj │ ├── Properties │ │ └── AssemblyInfo.cs │ └── packages.config │ ├── OJS.Workers.Controller │ ├── App.config │ ├── Batch Files │ │ ├── InstallService.bat │ │ └── StopService.bat │ ├── ClientConnectedEventArgs.cs │ ├── ControllerCommunicator.cs │ ├── ControllerServer.cs │ ├── ControllerService.cs │ ├── ControllerServiceInstaller.cs │ ├── OJS.Workers.Controller.csproj │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── packages.config │ ├── OJS.Workers.ExecutionStrategies │ ├── CSharpTestRunnerExecutionStrategy.cs │ ├── CompileExecuteAndCheckExecutionStrategy.cs │ ├── DoNothingExecutionStrategy.cs │ ├── ExecutionContext.cs │ ├── ExecutionResult.cs │ ├── ExecutionStrategy.cs │ ├── IExecutionStrategy.cs │ ├── IoJsPreprocessExecuteAndRunJsDomUnitTestsExecutionStrategy.cs │ ├── JavaPreprocessCompileExecuteAndCheckExecutionStrategy.cs │ ├── JavaZipFileCompileExecuteAndCheckExecutionStrategy.cs │ ├── JsonExecutionResult.cs │ ├── NodeJsPreprocessExecuteAndCheckExecutionStrategy.cs │ ├── NodeJsPreprocessExecuteAndRunUnitTestsWithMochaExecutionStrategy.cs │ ├── OJS.Workers.ExecutionStrategies.csproj │ ├── PhpCgiExecuteAndCheckExecutionStrategy.cs │ ├── PhpCliExecuteAndCheckExecutionStrategy.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── PythonExecuteAndCheckExecutionStrategy.cs │ ├── RemoteExecutionStrategy.cs │ ├── TestContext.cs │ ├── TestResult.cs │ └── packages.config │ ├── OJS.Workers.Executors │ ├── JobObjects │ │ ├── BasicLimitInformation.cs │ │ ├── BasicUiRestrictions.cs │ │ ├── ExtendedLimitInformation.cs │ │ ├── InfoClass.cs │ │ ├── IoCounters.cs │ │ ├── JobObject.cs │ │ ├── LimitFlags.cs │ │ ├── NativeMethods.cs │ │ ├── PrepareJobObject.cs │ │ ├── SecurityAttributes.cs │ │ ├── SecurityLimitFlags.cs │ │ ├── SecurityLimitInformation.cs │ │ └── UiRestrictionFlags.cs │ ├── OJS.Workers.Executors.csproj │ ├── Process │ │ ├── CreateProcessFlags.cs │ │ ├── CreateRestrictedTokenFlags.cs │ │ ├── DuplicateOptions.cs │ │ ├── LogonProvider.cs │ │ ├── LogonType.cs │ │ ├── Luid.cs │ │ ├── LuidAndAttributes.cs │ │ ├── NativeMethods.cs │ │ ├── PriorityClass.cs │ │ ├── ProcessInformation.cs │ │ ├── ProcessMemoryCounters.cs │ │ ├── ProcessThreadTimes.cs │ │ ├── ProcessWaitHandle.cs │ │ ├── RestrictedProcess.cs │ │ ├── SafeLocalMemHandle.cs │ │ ├── SafeProcessHandle.cs │ │ ├── SecurityAttributes.cs │ │ ├── SecurityMandatoryLabel.cs │ │ ├── SidAndAttributes.cs │ │ ├── SidIdentifierAuthority.cs │ │ ├── StartupInfo.cs │ │ ├── StartupInfoFlags.cs │ │ ├── TokenInformationClass.cs │ │ └── TokenMandatoryLabel.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── RestrictedProcessExecutor.cs │ ├── StandardProcessExecutor.cs │ └── packages.config │ ├── OJS.Workers.LocalWorker │ ├── App.config │ ├── Batch Files │ │ ├── InstallService.bat │ │ └── StopService.bat │ ├── IJob.cs │ ├── LocalWorkerService.cs │ ├── LocalWorkerServiceInstaller.cs │ ├── OJS.Workers.LocalWorker.csproj │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Settings.cs │ ├── SubmissionJob.cs │ └── packages.config │ └── OJS.Workers.Tools │ ├── AntiCheat │ ├── CSharpCompileDisassemblePlagiarismDetector.cs │ ├── CompileDisassemblePlagiarismDetector.cs │ ├── Contracts │ │ ├── IDetectPlagiarismVisitor.cs │ │ ├── IPlagiarismDetector.cs │ │ └── IPlagiarismDetectorFactory.cs │ ├── JavaCompileDisassemblePlagiarismDetector.cs │ ├── PlagiarismDetectorCreationContext.cs │ ├── PlagiarismDetectorFactory.cs │ ├── PlagiarismResult.cs │ ├── PlainTextPlagiarismDetector.cs │ ├── SortAndTrimLinesVisitor.cs │ └── SortTrimLinesAndRemoveBlankLinesVisitor.cs │ ├── Disassemblers │ ├── Contracts │ │ └── IDisassembler.cs │ ├── DisassembleResult.cs │ ├── Disassembler.cs │ ├── DotNetDisassembler.cs │ └── JavaDisassembler.cs │ ├── OJS.Workers.Tools.csproj │ ├── Properties │ └── AssemblyInfo.cs │ ├── Similarity │ ├── Contracts │ │ └── ISimilarityFinder.cs │ ├── DiffData.cs │ ├── Difference.cs │ ├── ShortestMiddleSnakeReturnData.cs │ └── SimilarityFinder.cs │ └── packages.config ├── README.md └── Research ├── Other Judge Systems ├── PC2 │ ├── Web page.url │ ├── api-doc-9.2.3-2565.zip │ └── pc2-9.2.4-2837.zip └── README.md ├── Sandbox ├── ChromiumSandbox.docx ├── Escaping_The_Sandbox-2010.pdf ├── Executor.Security.Tests │ └── CSharp │ │ ├── 01. Shut Down With Diagnostics.txt │ │ ├── 02. Shut Down With Win32 Method.txt │ │ ├── 03. Shut Down With System.Management.txt │ │ ├── 04. Reboot.txt │ │ ├── 05. Kill Network.txt │ │ ├── 06. Registry Edit.txt │ │ ├── 07. Kill Process - WORKS ON CURRENT VERSION!.txt │ │ ├── 08. Execute Bat File - WORKS ON CURRENT VERSION.txt │ │ ├── 09. Create Folder Somewhere.txt │ │ ├── 10. Try To Save Input In File.txt │ │ ├── 11. Using Windows Fork Bomb - WORKS ON CURRENT VERSION.txt │ │ └── ToDo.txt ├── Java sandbox │ ├── SandboxTests │ │ ├── build.xml │ │ ├── build │ │ │ └── classes │ │ │ │ ├── .netbeans_automatic_build │ │ │ │ ├── .netbeans_update_resources │ │ │ │ ├── UserClass$TestThread.class │ │ │ │ ├── UserClass.class │ │ │ │ └── sandboxtests │ │ │ │ ├── SandboxSecurityManager.class │ │ │ │ └── SandboxTests.class │ │ ├── manifest.mf │ │ ├── nbproject │ │ │ ├── build-impl.xml │ │ │ ├── genfiles.properties │ │ │ ├── private │ │ │ │ ├── private.properties │ │ │ │ └── private.xml │ │ │ ├── project.properties │ │ │ └── project.xml │ │ └── src │ │ │ └── sandboxtests │ │ │ ├── SandboxSecurityManager.java │ │ │ ├── SandboxTests.java │ │ │ └── UserClass.java │ └── TestApplication │ │ ├── build.xml │ │ ├── build │ │ ├── built-jar.properties │ │ └── classes │ │ │ └── testapplication │ │ │ └── TestApplication.class │ │ ├── dist │ │ ├── README.TXT │ │ └── TestApplication.jar │ │ ├── manifest.mf │ │ ├── nbproject │ │ ├── build-impl.xml │ │ ├── genfiles.properties │ │ ├── private │ │ │ ├── private.properties │ │ │ └── private.xml │ │ ├── project.properties │ │ └── project.xml │ │ └── src │ │ └── testapplication │ │ └── TestApplication.java ├── README.md ├── Software │ └── AsproLock.v0504.src │ │ ├── AsproLock.sln │ │ └── AsproLock │ │ ├── AccessControl │ │ ├── BaseSecurity.cs │ │ ├── DesktopAccessRule.cs │ │ ├── DesktopAuditRule.cs │ │ ├── DesktopRights.cs │ │ ├── DesktopSecurity.cs │ │ ├── DirectoryAccessRule.cs │ │ ├── DirectoryAuditRule.cs │ │ ├── DirectoryRights.cs │ │ ├── DirectorySecurity.cs │ │ ├── FileAccessRule.cs │ │ ├── FileAuditRule.cs │ │ ├── FileMappingAccessRule.cs │ │ ├── FileMappingAuditRule.cs │ │ ├── FileMappingRights.cs │ │ ├── FileMappingSecurity.cs │ │ ├── FileRights.cs │ │ ├── FileSecurity.cs │ │ ├── GenericMapping.cs │ │ ├── JobObjectAccessRule.cs │ │ ├── JobObjectAuditRule.cs │ │ ├── JobObjectRights.cs │ │ ├── JobObjectSecurity.cs │ │ ├── PipeAccessRule.cs │ │ ├── PipeAuditRule.cs │ │ ├── PipeRights.cs │ │ ├── PipeSecurity.cs │ │ ├── PrinterAccessRule.cs │ │ ├── PrinterAuditRule.cs │ │ ├── PrinterRights.cs │ │ ├── PrinterSecurity.cs │ │ ├── ProcessAccessRule.cs │ │ ├── ProcessAuditRule.cs │ │ ├── ProcessRights.cs │ │ ├── ProcessSecurity.cs │ │ ├── RegistryKeyAccessRule.cs │ │ ├── RegistryKeyAuditRule.cs │ │ ├── RegistryKeyRights.cs │ │ ├── RegistryKeySecurity.cs │ │ ├── ServiceAccessRule.cs │ │ ├── ServiceAuditRule.cs │ │ ├── ServiceRights.cs │ │ ├── ServiceSecurity.cs │ │ ├── ShareAccessRule.cs │ │ ├── ShareAuditRule.cs │ │ ├── ShareRights.cs │ │ ├── ShareSecurity.cs │ │ ├── StandardRights.cs │ │ ├── ThreadAccessRule.cs │ │ ├── ThreadAuditRule.cs │ │ ├── ThreadRights.cs │ │ ├── ThreadSecurity.cs │ │ ├── TokenAccessRule.cs │ │ ├── TokenAuditRule.cs │ │ ├── TokenRights.cs │ │ ├── TokenSecurity.cs │ │ ├── WaitObjectAccessRule.cs │ │ ├── WaitObjectAuditRule.cs │ │ ├── WaitObjectRights.cs │ │ ├── WaitObjectSecurity.cs │ │ ├── WindowStationAccessRule.cs │ │ ├── WindowStationAuditRule.cs │ │ ├── WindowStationRights.cs │ │ └── WindowStationSecurity.cs │ │ ├── AsproLock.csproj │ │ ├── AssemblyInfo.cs │ │ └── Win32 │ │ ├── GenericSafeHandle.cs │ │ ├── NativeConstants.cs │ │ └── NativeMethods.cs ├── US-13-Bremer-Mo-Malware-Mo-Problems-Cuckoo-Sandbox-WP.pdf ├── bh-eu-13-thes-sandbox-wojtczuk-WP.pdf └── bh-eu-13-thes-sandbox-wojtczuk-slides.pdf └── Tools ├── API Monitor.url ├── ApiMonitorApiFilters.xml └── Whoami.exe /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: NikolayIT # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: # Replace with a single Ko-fi username 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] 13 | -------------------------------------------------------------------------------- /Documentation/Concept-ControllerAndAgentCommunication.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Documentation/Concept-ControllerAndAgentCommunication.png -------------------------------------------------------------------------------- /Documentation/Installation/sample-solution.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | int main() 4 | { 5 | string line; 6 | cin >> line; 7 | cout << line << endl; 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /Documentation/Installation/sample-solution.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | class Program 3 | { 4 | static void Main() 5 | { 6 | var line = Console.ReadLine(); 7 | Console.WriteLine(line); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Documentation/Installation/sample-solution.js: -------------------------------------------------------------------------------- 1 | function solve(lines) { 2 | return lines[0]; 3 | } 4 | -------------------------------------------------------------------------------- /Documentation/Installation/sample-tests.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Documentation/Installation/sample-tests.zip -------------------------------------------------------------------------------- /Documentation/Requirements/Gacutil/gacutil.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Documentation/Requirements/Gacutil/gacutil.exe -------------------------------------------------------------------------------- /Documentation/Requirements/Gacutil/gacutil.exe.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Documentation/Requirements/Gacutil/gacutlrc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Documentation/Requirements/Gacutil/gacutlrc.dll -------------------------------------------------------------------------------- /Documentation/Requirements/MinGW/mingw-get-setup.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Documentation/Requirements/MinGW/mingw-get-setup.exe -------------------------------------------------------------------------------- /Documentation/Requirements/PowerCollections/Binaries/PowerCollections.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Documentation/Requirements/PowerCollections/Binaries/PowerCollections.dll -------------------------------------------------------------------------------- /Documentation/Requirements/PowerCollections/Binaries_Signed_4.5/PowerCollections.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Documentation/Requirements/PowerCollections/Binaries_Signed_4.5/PowerCollections.dll -------------------------------------------------------------------------------- /Documentation/Requirements/PowerCollections/Binaries_Signed_4.5/PowerCollections.dll.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Contracts/AuditInfo.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Contracts 2 | { 3 | using System; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | 6 | public abstract class AuditInfo : IAuditInfo 7 | { 8 | public DateTime CreatedOn { get; set; } 9 | 10 | /// 11 | /// Gets or sets a value indicating whether or not the CreatedOn property should be automatically set. 12 | /// 13 | [NotMapped] 14 | public bool PreserveCreatedOn { get; set; } 15 | 16 | public DateTime? ModifiedOn { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Contracts/CodeFirstConventions/IsUnicodeAttributeConvention.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Contracts.CodeFirstConventions 2 | { 3 | using System.Data.Entity.ModelConfiguration.Configuration; 4 | using System.Data.Entity.ModelConfiguration.Conventions; 5 | 6 | using OJS.Data.Contracts.DataAnnotations; 7 | 8 | public class IsUnicodeAttributeConvention : PrimitivePropertyAttributeConfigurationConvention 9 | { 10 | public override void Apply(ConventionPrimitivePropertyConfiguration configuration, IsUnicodeAttribute attribute) 11 | { 12 | configuration.IsUnicode(attribute.IsUnicode); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Contracts/DataAnnotations/IsUnicodeAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Contracts.DataAnnotations 2 | { 3 | using System; 4 | 5 | public class IsUnicodeAttribute : Attribute 6 | { 7 | public IsUnicodeAttribute(bool isUnicode) 8 | { 9 | this.IsUnicode = isUnicode; 10 | } 11 | 12 | public bool IsUnicode { get; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Contracts/DeletableEntity.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Contracts 2 | { 3 | using System; 4 | using System.ComponentModel.DataAnnotations; 5 | 6 | public abstract class DeletableEntity : AuditInfo, IDeletableEntity 7 | { 8 | [Display(Name = "Изтрит?")] 9 | [Editable(false)] 10 | public bool IsDeleted { get; set; } 11 | 12 | [Display(Name = "Дата на изтриване")] 13 | [Editable(false)] 14 | [DataType(DataType.DateTime)] 15 | public DateTime? DeletedOn { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Contracts/IAuditInfo.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Contracts 2 | { 3 | using System; 4 | 5 | public interface IAuditInfo 6 | { 7 | DateTime CreatedOn { get; set; } 8 | 9 | bool PreserveCreatedOn { get; set; } 10 | 11 | DateTime? ModifiedOn { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Contracts/IDeletableEntity.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Contracts 2 | { 3 | using System; 4 | 5 | public interface IDeletableEntity 6 | { 7 | bool IsDeleted { get; set; } 8 | 9 | DateTime? DeletedOn { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Contracts/IDeletableEntityRepository.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Contracts 2 | { 3 | using System; 4 | using System.Linq; 5 | using System.Linq.Expressions; 6 | 7 | public interface IDeletableEntityRepository : IRepository 8 | where T : class 9 | { 10 | IQueryable AllWithDeleted(); 11 | 12 | void HardDelete(T entity); 13 | 14 | int HardDelete(Expression> filterExpression); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Contracts/IOrderable.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Contracts 2 | { 3 | public interface IOrderable 4 | { 5 | int OrderBy { get; set; } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Contracts/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Models/AccessLog.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Models 2 | { 3 | using System.ComponentModel.DataAnnotations; 4 | 5 | using OJS.Data.Contracts; 6 | 7 | public class AccessLog : AuditInfo 8 | { 9 | [Key] 10 | public long Id { get; set; } 11 | 12 | public string UserId { get; set; } 13 | 14 | public virtual UserProfile User { get; set; } 15 | 16 | public string IpAddress { get; set; } 17 | 18 | public string RequestType { get; set; } 19 | 20 | public string Url { get; set; } 21 | 22 | public string PostParams { get; set; } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Models/Checker.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Models 2 | { 3 | using System.ComponentModel.DataAnnotations; 4 | 5 | using OJS.Common; 6 | using OJS.Data.Contracts; 7 | 8 | public class Checker : DeletableEntity 9 | { 10 | [Key] 11 | public int Id { get; set; } 12 | 13 | [Required] 14 | [MinLength(GlobalConstants.CheckerNameMinLength)] 15 | [MaxLength(GlobalConstants.CheckerNameMaxLength)] 16 | public string Name { get; set; } 17 | 18 | public string Description { get; set; } 19 | 20 | public string DllFile { get; set; } 21 | 22 | public string ClassName { get; set; } 23 | 24 | public string Parameter { get; set; } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Models/ContestQuestionAnswer.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Models 2 | { 3 | using System.ComponentModel.DataAnnotations; 4 | 5 | using OJS.Common; 6 | using OJS.Data.Contracts; 7 | 8 | public class ContestQuestionAnswer : DeletableEntity 9 | { 10 | [Key] 11 | public int Id { get; set; } 12 | 13 | public int QuestionId { get; set; } 14 | 15 | public virtual ContestQuestion Question { get; set; } 16 | 17 | [MaxLength(GlobalConstants.ContestQuestionAnswerMaxLength)] 18 | [MinLength(GlobalConstants.ContestQuestionAnswerMinLength)] 19 | public string Text { get; set; } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Models/Event.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Models 2 | { 3 | using System; 4 | using System.ComponentModel.DataAnnotations; 5 | 6 | using OJS.Data.Contracts; 7 | 8 | public class Event : DeletableEntity 9 | { 10 | [Key] 11 | public int Id { get; set; } 12 | 13 | [Required(AllowEmptyStrings = false)] 14 | public string Title { get; set; } 15 | 16 | public string Description { get; set; } 17 | 18 | public DateTime StartTime { get; set; } 19 | 20 | /// 21 | /// If EndTime is null, the event happens (and should be displayed) only on the StartTime 22 | /// 23 | public DateTime? EndTime { get; set; } 24 | 25 | public string Url { get; set; } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Models/FeedbackReport.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Models 2 | { 3 | using System.ComponentModel.DataAnnotations; 4 | 5 | using OJS.Data.Contracts; 6 | 7 | public class FeedbackReport : DeletableEntity 8 | { 9 | [Key] 10 | public int Id { get; set; } 11 | 12 | public string Name { get; set; } 13 | 14 | [EmailAddress] 15 | public string Email { get; set; } 16 | 17 | public string Content { get; set; } 18 | 19 | public virtual UserProfile User { get; set; } 20 | 21 | public bool IsFixed { get; set; } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Models/News.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Models 2 | { 3 | using System.ComponentModel.DataAnnotations; 4 | 5 | using OJS.Data.Contracts; 6 | 7 | public class News : DeletableEntity 8 | { 9 | [Key] 10 | public int Id { get; set; } 11 | 12 | public string Title { get; set; } 13 | 14 | public string Author { get; set; } 15 | 16 | public string Source { get; set; } 17 | 18 | public string Content { get; set; } 19 | 20 | public bool IsVisible { get; set; } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Models/ParticipantAnswer.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Models 2 | { 3 | using System.ComponentModel.DataAnnotations; 4 | using System.ComponentModel.DataAnnotations.Schema; 5 | 6 | public class ParticipantAnswer 7 | { 8 | [Key] 9 | [Column(Order = 1)] 10 | public int ParticipantId { get; set; } 11 | 12 | [Required] 13 | public virtual Participant Participant { get; set; } 14 | 15 | [Key] 16 | [Column(Order = 2)] 17 | public int ContestQuestionId { get; set; } 18 | 19 | [Required] 20 | public virtual ContestQuestion ContestQuestion { get; set; } 21 | 22 | public string Answer { get; set; } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Models/Setting.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Models 2 | { 3 | using System.ComponentModel.DataAnnotations; 4 | 5 | public class Setting 6 | { 7 | [Key] 8 | public string Name { get; set; } 9 | 10 | public string Value { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data.Models/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data/Configurations/UserProfileConfiguration.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Configurations 2 | { 3 | using System.Data.Entity.ModelConfiguration; 4 | 5 | using OJS.Data.Models; 6 | 7 | public class UserProfileConfiguration : EntityTypeConfiguration 8 | { 9 | public UserProfileConfiguration() 10 | { 11 | this.Property(x => x.UserName) 12 | .IsRequired() 13 | .HasMaxLength(50) 14 | .IsUnicode(false); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data/Providers/Registries/EfBulkInsertGlimpseProviderRegistry.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Providers.Registries 2 | { 3 | using EntityFramework.BulkInsert; 4 | 5 | public static class EfBulkInsertGlimpseProviderRegistry 6 | { 7 | public static void Execute() 8 | { 9 | ProviderFactory.Register("Glimpse.Ado.AlternateType.GlimpseDbConnection"); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data/Repositories/Contracts/IContestsRepository.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Repositories.Contracts 2 | { 3 | using System.Linq; 4 | 5 | using OJS.Data.Contracts; 6 | using OJS.Data.Models; 7 | 8 | public interface IContestsRepository : IRepository, IDeletableEntityRepository 9 | { 10 | IQueryable AllActive(); 11 | 12 | IQueryable AllFuture(); 13 | 14 | IQueryable AllPast(); 15 | 16 | IQueryable AllVisible(); 17 | 18 | IQueryable AllVisibleInCategory(int categoryId); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data/Repositories/Contracts/IParticipantsRepository.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Repositories.Contracts 2 | { 3 | using OJS.Data.Contracts; 4 | using OJS.Data.Models; 5 | 6 | public interface IParticipantsRepository : IRepository 7 | { 8 | Participant GetWithContest(int contestId, string userId, bool isOfficial); 9 | 10 | bool Any(int contestId, string userId, bool isOfficial); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data/Repositories/Contracts/ISubmissionsRepository.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Repositories.Contracts 2 | { 3 | using System.Linq; 4 | using OJS.Data.Contracts; 5 | using OJS.Data.Models; 6 | 7 | public interface ISubmissionsRepository : IDeletableEntityRepository 8 | { 9 | IQueryable AllPublic(); 10 | 11 | Submission GetSubmissionForProcessing(); 12 | 13 | bool HasSubmissionTimeLimitPassedForParticipant(int participantId, int limitBetweenSubmissions); 14 | 15 | IQueryable GetLastFiftySubmissions(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data/Repositories/Contracts/ITestRepository.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Repositories.Contracts 2 | { 3 | using OJS.Data.Contracts; 4 | using OJS.Data.Models; 5 | 6 | public interface ITestRepository : IRepository 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data/Repositories/Contracts/ITestRunsRepository.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Repositories.Contracts 2 | { 3 | using OJS.Data.Contracts; 4 | using OJS.Data.Models; 5 | 6 | public interface ITestRunsRepository : IRepository 7 | { 8 | int DeleteBySubmissionId(int submissionId); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Open Judge System/Data/OJS.Data/Repositories/Contracts/IUsersRepository.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Data.Repositories.Contracts 2 | { 3 | using OJS.Data.Contracts; 4 | using OJS.Data.Models; 5 | 6 | public interface IUsersRepository : IRepository 7 | { 8 | UserProfile GetByUsername(string username); 9 | 10 | UserProfile GetById(string id); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Open Judge System/External Libraries/Kendo.Mvc.README: -------------------------------------------------------------------------------- 1 | This is Kendo UI Trial unified package, which contains all Kendo UI products and is not bound to any of the commercial Kendo UI offerings. 2 | It includes trial versions of the Kendo UI server wrappers, which are available in the individual commercial packages as follows: 3 | 4 | . Kendo UI Complete for ASP.NET MVC 5 | . Kendo UI Complete for JSP 6 | . Telerik DevCraft Complete or Ultimate Collections 7 | 8 | -------------------------------------------------------------------------------- /Open Judge System/External Libraries/Kendo.Mvc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/External Libraries/Kendo.Mvc.dll -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Attributes/LocalizedDescriptionAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.Attributes 2 | { 3 | using System; 4 | using System.ComponentModel; 5 | using System.Reflection; 6 | 7 | public class LocalizedDescriptionAttribute : DescriptionAttribute 8 | { 9 | public LocalizedDescriptionAttribute(string resourceName, Type resourceType = null) 10 | { 11 | var resourceProperty = resourceType?.GetProperty(resourceName, BindingFlags.Static | BindingFlags.Public); 12 | if (resourceProperty != null) 13 | { 14 | this.DescriptionValue = (string)resourceProperty.GetValue(resourceProperty.DeclaringType, null); 15 | } 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Calculator.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common 2 | { 3 | using System; 4 | 5 | public class Calculator 6 | { 7 | public static byte? Age(DateTime? date) 8 | { 9 | if (!date.HasValue) 10 | { 11 | return null; 12 | } 13 | 14 | var birthDate = date.Value; 15 | var now = DateTime.Now; 16 | 17 | var age = now.Year - birthDate.Year; 18 | if (now.Month < birthDate.Month || (now.Month == birthDate.Month && now.Day < birthDate.Day)) 19 | { 20 | age--; 21 | } 22 | 23 | return (byte)age; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/DataAnnotations/DatabasePropertyAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.DataAnnotations 2 | { 3 | using System; 4 | 5 | public class DatabasePropertyAttribute : Attribute 6 | { 7 | public string Name { get; set; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/DataAnnotations/ExcludeFromExcelAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.DataAnnotations 2 | { 3 | using System; 4 | 5 | [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] 6 | public class ExcludeFromExcelAttribute : Attribute 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Extensions/FileHelpers.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.Extensions 2 | { 3 | using System.IO; 4 | 5 | // TODO: Unit test 6 | public static class FileHelpers 7 | { 8 | public static string SaveStringToTempFile(string stringToWrite) 9 | { 10 | var tempFilePath = Path.GetTempFileName(); 11 | File.WriteAllText(tempFilePath, stringToWrite); 12 | return tempFilePath; 13 | } 14 | 15 | public static string SaveByteArrayToTempFile(byte[] dataToWrite) 16 | { 17 | var tempFilePath = Path.GetTempFileName(); 18 | File.WriteAllBytes(tempFilePath, dataToWrite); 19 | return tempFilePath; 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Extensions/IEnumerableExtensions.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.Extensions 2 | { 3 | using System; 4 | using System.Collections.Generic; 5 | 6 | public static class IEnumerableExtensions 7 | { 8 | public static void ForEach(this IEnumerable enumerable, Action action) 9 | { 10 | foreach (var item in enumerable) 11 | { 12 | action(item); 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Extensions/ObjectExtensions.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.Extensions 2 | { 3 | using System; 4 | 5 | public static class ObjectExtensions 6 | { 7 | public static T CastTo(this object obj) 8 | { 9 | var result = Activator.CreateInstance(typeof(T)); 10 | 11 | foreach (var property in obj.GetType().GetProperties()) 12 | { 13 | try 14 | { 15 | result.GetType().GetProperty(property.Name).SetValue(result, property.GetValue(obj)); 16 | } 17 | catch 18 | { 19 | } 20 | } 21 | 22 | return (T)result; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Models/CompilerType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.Models 2 | { 3 | public enum CompilerType 4 | { 5 | None = 0, 6 | CSharp = 1, 7 | MsBuild = 2, 8 | CPlusPlusGcc = 3, 9 | Java = 4, 10 | JavaZip = 5, 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Models/ContestQuestionType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.Models 2 | { 3 | using OJS.Common.Attributes; 4 | 5 | using Resource = Resources.Enums.EnumTranslations; 6 | 7 | public enum ContestQuestionType 8 | { 9 | [LocalizedDescription("Default", typeof(Resource))] 10 | Default = 0, // If possible answers available then DropDown, else text box 11 | 12 | [LocalizedDescription("DropDown", typeof(Resource))] 13 | DropDown = 1, 14 | 15 | [LocalizedDescription("TextBox", typeof(Resource))] 16 | TextBox = 2, 17 | 18 | [LocalizedDescription("MultiLineTextBox", typeof(Resource))] 19 | MultiLineTextBox = 3, 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Models/ExecutionStrategyType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.Models 2 | { 3 | public enum ExecutionStrategyType 4 | { 5 | DoNothing = 0, 6 | CompileExecuteAndCheck = 1, 7 | CSharpTestRunner = 9, 8 | NodeJsPreprocessExecuteAndCheck = 2, 9 | NodeJsPreprocessExecuteAndRunUnitTestsWithMocha = 7, 10 | IoJsPreprocessExecuteAndRunJsDomUnitTests = 8, 11 | RemoteExecution = 3, 12 | JavaPreprocessCompileExecuteAndCheck = 4, 13 | JavaZipFileCompileExecuteAndCheck = 10, 14 | PythonExecuteAndCheck = 11, 15 | PhpCgiExecuteAndCheck = 5, 16 | PhpCliExecuteAndCheck = 6 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Models/PlagiarismDetectorType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.Models 2 | { 3 | using OJS.Common.Attributes; 4 | 5 | using Resource = Resources.Enums.EnumTranslations; 6 | 7 | public enum PlagiarismDetectorType 8 | { 9 | [LocalizedDescription("CSharpCompileDisassemble", typeof(Resource))] 10 | CSharpCompileDisassemble = 1, 11 | 12 | [LocalizedDescription("JavaCompileDisassemble", typeof(Resource))] 13 | JavaCompileDisassemble = 2, 14 | 15 | [LocalizedDescription("PlainText", typeof(Resource))] 16 | PlainText = 3, 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Models/ProblemResourceType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.Models 2 | { 3 | using OJS.Common.Attributes; 4 | 5 | using Resource = Resources.Enums.EnumTranslations; 6 | 7 | public enum ProblemResourceType 8 | { 9 | [LocalizedDescription("ProblemDescription", typeof(Resource))] 10 | ProblemDescription = 1, 11 | 12 | [LocalizedDescription("AuthorsSolution", typeof(Resource))] 13 | AuthorsSolution = 2, 14 | 15 | [LocalizedDescription("Video", typeof(Resource))] 16 | Video = 3, 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Models/TestRunResultType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.Models 2 | { 3 | public enum TestRunResultType 4 | { 5 | CorrectAnswer = 0, 6 | WrongAnswer = 1, 7 | TimeLimit = 2, 8 | MemoryLimit = 3, 9 | RunTimeError = 4, 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/Resources/Enums/EnumTranslations.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/OJS.Common/Resources/Enums/EnumTranslations.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/OJS.Common/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Open Judge System/Tests/OJS.Common.Tests/StringExtensions/CompressDecompressTests.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Common.Tests.StringExtensions 2 | { 3 | using NUnit.Framework; 4 | 5 | using OJS.Common.Extensions; 6 | 7 | [TestFixture] 8 | public class CompressDecompressTests 9 | { 10 | [Test] 11 | public void DecompressShouldProduceTheOriginallyCompressedString() 12 | { 13 | const string InputString = "Николай"; 14 | var compressed = InputString.Compress(); 15 | var decompressed = compressed.Decompress(); 16 | 17 | Assert.That(InputString, Is.EqualTo(decompressed)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Open Judge System/Tests/OJS.Common.Tests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Open Judge System/Tests/OJS.Tests.Common/DataFakes/FakeEmptyOjsDbContext.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Tests.Common.DataFakes 2 | { 3 | using OJS.Data; 4 | 5 | public class FakeEmptyOjsDbContext : OjsDbContext 6 | { 7 | public FakeEmptyOjsDbContext() 8 | : base("FakeEmptyOjsDbContext") 9 | { 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Open Judge System/Tests/OJS.Tests.Common/DataFakes/FakeOjsDbContext.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Tests.Common.DataFakes 2 | { 3 | using OJS.Data; 4 | 5 | public class FakeOjsDbContext : OjsDbContext 6 | { 7 | public FakeOjsDbContext() 8 | : base("FakeOjsDbContext") 9 | { 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /Open Judge System/Tests/OJS.Tests.Common/WebStubs/StubHttpContextForRouting.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Tests.Common.WebStubs 2 | { 3 | using System.Web; 4 | 5 | public class StubHttpContextForRouting : HttpContextBase 6 | { 7 | private readonly StubHttpRequestForRouting request; 8 | 9 | private readonly StubHttpResponseForRouting response; 10 | 11 | public StubHttpContextForRouting(string appPath = "/", string requestUrl = "~/") 12 | { 13 | this.request = new StubHttpRequestForRouting(appPath, requestUrl); 14 | this.response = new StubHttpResponseForRouting(); 15 | } 16 | 17 | public override HttpRequestBase Request => this.request; 18 | 19 | public override HttpResponseBase Response => this.response; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Open Judge System/Tests/OJS.Tests.Common/WebStubs/StubHttpResponseForRouting.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Tests.Common.WebStubs 2 | { 3 | using System.Web; 4 | 5 | public class StubHttpResponseForRouting : HttpResponseBase 6 | { 7 | public override string ApplyAppPathModifier(string virtualPath) 8 | { 9 | return virtualPath; 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Open Judge System/Tests/OJS.Workers.Checkers.Tests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Open Judge System/Tests/OJS.Workers.Compilers.Tests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Open Judge System/Tests/OJS.Workers.ExecutionStrategies.Tests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Open Judge System/Tests/OJS.Workers.Executors.Tests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Open Judge System/Tests/OJS.Workers.Tools.Tests/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Open Judge System/Tools/SandboxExecutorProofOfConcept/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Open Judge System/Tools/SandboxTarget/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Open Judge System/Tools/SandboxTarget/TryToExecuteParams.cs: -------------------------------------------------------------------------------- 1 | namespace SandboxTarget 2 | { 3 | using System; 4 | 5 | internal class TryToExecuteParams 6 | { 7 | public TryToExecuteParams(Action action, string name, string parameter) 8 | { 9 | this.Action = action; 10 | this.Name = name; 11 | this.Parameter = parameter; 12 | } 13 | 14 | public Action Action { get; } 15 | 16 | public string Name { get; } 17 | 18 | public string Parameter { get; } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Open Judge System/Tools/SandboxTarget/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Open Judge System/Tools/SqlTestingPoC/SqlPrepareDatabaseAndRunUserQueryExecutionStrategy.cs: -------------------------------------------------------------------------------- 1 | namespace SqlTestingPoC 2 | { 3 | using System; 4 | 5 | using OJS.Workers.ExecutionStrategies; 6 | 7 | public class SqlPrepareDatabaseAndRunUserQueryExecutionStrategy : IExecutionStrategy 8 | { 9 | public ExecutionResult Execute(ExecutionContext executionContext) 10 | { 11 | // Test input = prepare database (first queries) 12 | // User code = query to execute 13 | // Test output = expected result from user query 14 | throw new NotImplementedException(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Open Judge System/Tools/SqlTestingPoC/SqlRunUserQueryAndCheckDatabaseExecutionStrategy.cs: -------------------------------------------------------------------------------- 1 | namespace SqlTestingPoC 2 | { 3 | using System; 4 | 5 | using OJS.Workers.ExecutionStrategies; 6 | 7 | public class SqlRunUserQueryAndCheckDatabaseExecutionStrategy : IExecutionStrategy 8 | { 9 | public ExecutionResult Execute(ExecutionContext executionContext) 10 | { 11 | // User code = user queries - prepare database 12 | // Test input = query to execute 13 | // Test output = expected result from the query 14 | throw new NotImplementedException(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Open Judge System/Tools/SqlTestingPoC/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/Attributes/LogAccessAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Common.Attributes 2 | { 3 | using System; 4 | 5 | [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)] 6 | public class LogAccessAttribute : Attribute 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/Attributes/OverrideAuthorizeAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Common.Attributes 2 | { 3 | using System; 4 | using System.Web.Mvc; 5 | using System.Web.Mvc.Filters; 6 | 7 | public class OverrideAuthorizeAttribute : AuthorizeAttribute, IOverrideFilter 8 | { 9 | public Type FiltersToOverride 10 | { 11 | get { return typeof(IAuthorizationFilter); } 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/Extensions/PrincipalExtensions.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Common.Extensions 2 | { 3 | using System.Security.Principal; 4 | 5 | using OJS.Common; 6 | 7 | public static class PrincipalExtensions 8 | { 9 | public static bool IsLoggedIn(this IPrincipal principal) 10 | { 11 | return principal.Identity.IsAuthenticated; 12 | } 13 | 14 | public static bool IsAdmin(this IPrincipal principal) 15 | { 16 | return principal.IsInRole(GlobalConstants.AdministratorRoleName); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/Extensions/TempDataExtentions.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Common.Extensions 2 | { 3 | using System.Web.Mvc; 4 | 5 | using OJS.Common; 6 | 7 | public static class TempDataExtentions 8 | { 9 | public static void AddDangerMessage(this TempDataDictionary tempData, string message) 10 | { 11 | tempData.Add(GlobalConstants.DangerMessage, message); 12 | } 13 | 14 | public static void AddInfoMessage(this TempDataDictionary tempData, string message) 15 | { 16 | tempData.Add(GlobalConstants.InfoMessage, message); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/Interfaces/IAdministrationViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Common.Interfaces 2 | { 3 | using System; 4 | 5 | public interface IAdministrationViewModel 6 | where T : class 7 | { 8 | DateTime? CreatedOn { get; set; } 9 | 10 | DateTime? ModifiedOn { get; set; } 11 | 12 | T GetEntityModel(T model = null); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/Interfaces/IKendoGridAdministrationController.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Common.Interfaces 2 | { 3 | using System.Collections; 4 | using System.Web.Mvc; 5 | 6 | using Kendo.Mvc.UI; 7 | 8 | public interface IKendoGridAdministrationController 9 | { 10 | IEnumerable GetData(); 11 | 12 | object GetById(object id); 13 | 14 | ActionResult Read([DataSourceRequest]DataSourceRequest request); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/OjsUserManager.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Common 2 | { 3 | using Microsoft.AspNet.Identity; 4 | 5 | public class OjsUserManager : UserManager 6 | where T : IUser 7 | { 8 | public OjsUserManager(IUserStore userStore) 9 | : base(userStore) 10 | { 11 | // changing the default user validator so that usernames can contain 12 | // not only alphanumeric characters 13 | this.UserValidator = new UserValidator(this) 14 | { 15 | AllowOnlyAlphanumericUserNames = false 16 | }; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/SearchResultType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Common 2 | { 3 | public enum SearchResultType 4 | { 5 | Problem = 0, 6 | Contest = 1, 7 | User = 2 8 | } 9 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/SystemMessage.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Common 2 | { 3 | public class SystemMessage 4 | { 5 | public string Content { get; set; } 6 | 7 | public int Importance { get; set; } 8 | 9 | public SystemMessageType Type { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/SystemMessageType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Common 2 | { 3 | public enum SystemMessageType 4 | { 5 | Informational = 0, 6 | Success = 1, 7 | Warning = 2, 8 | Error = 3, 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/ZippedTestManipulator/TestsParseResult.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Common.ZippedTestManipulator 2 | { 3 | using System.Collections.Generic; 4 | 5 | public class TestsParseResult 6 | { 7 | public TestsParseResult() 8 | { 9 | this.ZeroInputs = new List(); 10 | this.ZeroOutputs = new List(); 11 | this.Inputs = new List(); 12 | this.Outputs = new List(); 13 | } 14 | 15 | public List ZeroInputs { get; set; } 16 | 17 | public List ZeroOutputs { get; set; } 18 | 19 | public List Inputs { get; set; } 20 | 21 | public List Outputs { get; set; } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web.Common/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_Code/ContestsHelper.cshtml: -------------------------------------------------------------------------------- 1 | @using OJS.Common.Extensions; 2 | 3 | @helper GetUrl(int contestId, string contestName) 4 | { 5 | /Contests/@contestId/@contestName.ToUrl() 6 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/AccountEmails.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/AccountEmails.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/ViewModels/AccountViewModels.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/ViewModels/AccountViewModels.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ChangeEmailView.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ChangeEmailView.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ChangePasswordView.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ChangePasswordView.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ChangeUsernameView.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ChangeUsernameView.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Disassociate.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Disassociate.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ExternalLoginCallback.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ExternalLoginCallback.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ExternalLoginConfirmation.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ExternalLoginConfirmation.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ExternalLoginFailure.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ExternalLoginFailure.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ForgottenPassword.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/ForgottenPassword.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/General.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/General.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Login.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Login.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Manage.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Manage.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Partial/ChangePassword.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Partial/ChangePassword.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Partial/ExternalLoginsList.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Partial/ExternalLoginsList.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Partial/RemoveAccount.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Partial/RemoveAccount.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Partial/SetPassword.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Partial/SetPassword.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Register.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Account/Views/Register.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/AccessLogs/ViewModels/AccessLogGridViewModel.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/AccessLogs/ViewModels/AccessLogGridViewModel.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/AccessLogs/Views/AccessLogsIndex.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/AccessLogs/Views/AccessLogsIndex.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/AdministrationGeneral.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/AdministrationGeneral.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/AntiCheat/Views/AntiCheatViews.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/AntiCheat/Views/AntiCheatViews.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Checkers/ViewModels/CheckerAdministrationViewModel.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Checkers/ViewModels/CheckerAdministrationViewModel.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Checkers/Views/CheckersIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Checkers/Views/CheckersIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/ContestCategories/ViewModels/ContestCategoryAdministrationViewModel.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/ContestCategories/ViewModels/ContestCategoryAdministrationViewModel.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/ContestCategories/Views/ContestCategoriesViews.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/ContestCategories/Views/ContestCategoriesViews.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/ContestsControllers.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/ContestsControllers.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/ViewModels/ContestAdministration.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/ViewModels/ContestAdministration.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/ViewModels/ContestQuestion.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/ViewModels/ContestQuestion.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/ViewModels/ContestQuestionAnswer.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/ViewModels/ContestQuestionAnswer.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/ViewModels/ShortContestAdministration.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/ViewModels/ShortContestAdministration.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/ContestCreate.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/ContestCreate.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/ContestEdit.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/ContestEdit.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/ContestIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/ContestIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/EditorTemplates/CategoryDropDown.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/EditorTemplates/CategoryDropDown.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/EditorTemplates/SubmissionTypeCheckBoxes.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/EditorTemplates/SubmissionTypeCheckBoxes.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/Partials/ContestEditor.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Contests/Views/Partials/ContestEditor.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Feedback/ViewModels/FeedbackReport.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Feedback/ViewModels/FeedbackReport.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Feedback/Views/FeedbackIndexAdmin.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Feedback/Views/FeedbackIndexAdmin.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/News/ViewModels/NewsAdministration.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/News/ViewModels/NewsAdministration.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/News/Views/NewsIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/News/Views/NewsIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Participants/ViewModels/ParticipantViewModels.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Participants/ViewModels/ParticipantViewModels.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Participants/Views/EditorTemplates/ParticipantEditorTemplates.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Participants/Views/EditorTemplates/ParticipantEditorTemplates.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Participants/Views/Partials/Participants.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Participants/Views/Partials/Participants.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Participants/Views/ParticipantsContest.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Participants/Views/ParticipantsContest.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Participants/Views/ParticipantsIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Participants/Views/ParticipantsIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/ProblemsControllers.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/ProblemsControllers.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/ViewModels/DetailedProblem.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/ViewModels/DetailedProblem.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/ViewModels/ProblemResources.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/ViewModels/ProblemResources.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/Partials/ProblemsPartials.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/Partials/ProblemsPartials.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsCreate.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsCreate.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsDelete.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsDelete.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsDeleteAll.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsDeleteAll.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsDetails.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsDetails.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsEdit.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsEdit.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Problems/Views/ProblemsIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Resources/ResourcesControllers.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Resources/ResourcesControllers.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Resources/Views/ResourcesCreate.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Resources/Views/ResourcesCreate.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Resources/Views/ResourcesEdit.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Resources/Views/ResourcesEdit.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Roles/ViewModels/RolesViewModels.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Roles/ViewModels/RolesViewModels.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Roles/Views/RolesIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Roles/Views/RolesIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Settings/ViewModels/SettingAdministration.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Settings/ViewModels/SettingAdministration.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Settings/Views/SettingsAdministrationIndex.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Settings/Views/SettingsAdministrationIndex.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Shared/Views/Partials/Partials.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Shared/Views/Partials/Partials.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/SubmissionTypes/ViewModels/SubmissionTypeAdministration.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/SubmissionTypes/ViewModels/SubmissionTypeAdministration.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/SubmissionTypes/Views/SubmissionTypesIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/SubmissionTypes/Views/SubmissionTypesIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/SubmissionsControllers.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/SubmissionsControllers.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/ViewModels/SubmissionAdministration.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/ViewModels/SubmissionAdministration.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/EditorTemplates/SubmissionsEditorTemplates.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/EditorTemplates/SubmissionsEditorTemplates.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/Partials/SubmissionForm.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/Partials/SubmissionForm.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/Partials/SubmissionsGrid.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/Partials/SubmissionsGrid.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/SubmissionsCreate.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/SubmissionsCreate.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/SubmissionsDelete.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/SubmissionsDelete.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/SubmissionsIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/SubmissionsIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/SubmissionsUpdate.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Submissions/Views/SubmissionsUpdate.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/TestsControllers.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/TestsControllers.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/ViewModels/TestAdministration.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/ViewModels/TestAdministration.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsCreate.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsCreate.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsDelete.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsDelete.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsDeleteAll.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsDeleteAll.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsDetails.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsDetails.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsEdit.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsEdit.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Tests/Views/TestsIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Users/ViewModels/UserProfileAdministration.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Users/ViewModels/UserProfileAdministration.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Users/Views/UsersIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Administration/Users/Views/UsersIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/ContestsGeneral.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/ContestsGeneral.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Shared/ContestsAllContestSubmissionsByUser.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Shared/ContestsAllContestSubmissionsByUser.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Shared/ContestsProblemPartial.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Shared/ContestsProblemPartial.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/ViewModels/ContestsViewModels.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/ViewModels/ContestsViewModels.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/ViewModels/ProblemsViewModels.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/ViewModels/ProblemsViewModels.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/ViewModels/SubmissionsViewModels.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/ViewModels/SubmissionsViewModels.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Compete/CompeteIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Compete/CompeteIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Compete/CompeteRegister.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Compete/CompeteRegister.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Contests/ContestsDetails.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Contests/ContestsDetails.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/List/ListByCategory.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/List/ListByCategory.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/List/ListByType.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/List/ListByType.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/List/ListIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/List/ListIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Results/Partials/StatsPartial.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Results/Partials/StatsPartial.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Results/ResultsFull.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Results/ResultsFull.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Results/ResultsSimple.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Results/ResultsSimple.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Submissions/SubmissionsView.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Contests/Views/Submissions/SubmissionsView.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Users/Shared/ProfileProfileInfo.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Users/Shared/ProfileProfileInfo.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Users/ViewModels/ProfileViewModels.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Users/ViewModels/ProfileViewModels.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Users/Views/Profile/ProfileIndex.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Users/Views/Profile/ProfileIndex.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Users/Views/Settings/SettingsIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Areas/Users/Views/Settings/SettingsIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Base/Main.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Base/Main.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Feedback/ViewModels/FeedbackViewModels.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Feedback/ViewModels/FeedbackViewModels.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Feedback/Views/FeedbackIndex.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Feedback/Views/FeedbackIndex.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Feedback/Views/FeedbackSubmitted.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Feedback/Views/FeedbackSubmitted.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Home/Views/Index.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Home/Views/Index.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Models/ContestQuestionTypeResource.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Models/ContestQuestionTypeResource.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/News/Views/All.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/News/Views/All.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/News/Views/LatestNews.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/News/Views/LatestNews.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/News/Views/Selected.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/News/Views/Selected.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Search/Views/SearchIndex.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Search/Views/SearchIndex.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Search/Views/SearchResults.bg.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Search/Views/SearchResults.bg.Designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Submissions/Views/AdvancedSubmissions.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Submissions/Views/AdvancedSubmissions.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Submissions/Views/BasicSubmissions.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Submissions/Views/BasicSubmissions.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Submissions/Views/Partial/AdvancedSubmissionsGridPartial.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Submissions/Views/Partial/AdvancedSubmissionsGridPartial.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Views/Shared/Layout.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Views/Shared/Layout.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_GlobalResources/Views/Shared/LoginPartial.bg.designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/App_GlobalResources/Views/Shared/LoginPartial.bg.designer.cs -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_Start/FilterConfig.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web 2 | { 3 | using System.Web.Mvc; 4 | 5 | public class FilterConfig 6 | { 7 | public static void RegisterGlobalFilters(GlobalFilterCollection filters) 8 | { 9 | filters.Add(new HandleErrorAttribute()); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_Start/GlimpseSecurityPolicy.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web 2 | { 3 | using Glimpse.AspNet.Extensions; 4 | using Glimpse.Core.Extensibility; 5 | 6 | using OJS.Web.Common.Extensions; 7 | 8 | public class GlimpseSecurityPolicy : IRuntimePolicy 9 | { 10 | public RuntimeEvent ExecuteOn => RuntimeEvent.EndRequest | RuntimeEvent.ExecuteResource; 11 | 12 | public RuntimePolicy Execute(IRuntimePolicyContext policyContext) 13 | { 14 | // More information about RuntimePolicies can be found at http://getglimpse.com/Help/Custom-Runtime-Policy 15 | var httpContext = policyContext.GetHttpContext(); 16 | return httpContext.User.IsAdmin() ? RuntimePolicy.On : RuntimePolicy.Off; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_Start/LoggingModule.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web 2 | { 3 | using System.Web.Mvc; 4 | 5 | using Ninject.Modules; 6 | using Ninject.Web.Mvc.FilterBindingSyntax; 7 | 8 | using OJS.Web.Common.Attributes; 9 | 10 | public class LoggingModule : NinjectModule 11 | { 12 | public override void Load() 13 | { 14 | this.BindFilter(FilterScope.Controller, 0).WhenControllerHas(); 15 | this.BindFilter(FilterScope.Action, 0).WhenActionMethodHas(); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/App_Start/ViewEngineConfig.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web 2 | { 3 | using System.Web.Mvc; 4 | 5 | public class ViewEngineConfig 6 | { 7 | public static void RegisterViewEngines(ViewEngineCollection viewEngines) 8 | { 9 | viewEngines.Clear(); 10 | 11 | viewEngines.Add(new RazorViewEngine()); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Controllers/NavigationController.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Administration.Controllers 2 | { 3 | using System.Web.Mvc; 4 | 5 | using OJS.Data; 6 | using OJS.Web.Controllers; 7 | 8 | public class NavigationController : AdministrationController 9 | { 10 | public NavigationController(IOjsData data) 11 | : base(data) 12 | { 13 | } 14 | 15 | public ActionResult Index() 16 | { 17 | return this.View(); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Providers/Contracts/INewsProvider.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Administration.Providers.Contracts 2 | { 3 | using System.Collections.Generic; 4 | 5 | using OJS.Data.Models; 6 | 7 | public interface INewsProvider 8 | { 9 | IEnumerable FetchNews(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/ViewModels/AntiCheat/IpSubmissionsAdministrationViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Administration.ViewModels.AntiCheat 2 | { 3 | using System.Collections.Generic; 4 | 5 | public class IpSubmissionsAdministrationViewModel 6 | { 7 | public string Ip { get; set; } 8 | 9 | public IEnumerable SubmissionIds { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/ViewModels/AntiCheat/SubmissionSimilarityFiltersInputModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Administration.ViewModels.AntiCheat 2 | { 3 | using System.Collections.Generic; 4 | using System.ComponentModel.DataAnnotations; 5 | using System.Web.Mvc; 6 | 7 | using OJS.Common.Models; 8 | 9 | public class SubmissionSimilarityFiltersInputModel 10 | { 11 | [Required] 12 | [Display(Name = "Състезание")] 13 | public int? ContestId { get; set; } 14 | 15 | [Display(Name = "Тип детектор")] 16 | public PlagiarismDetectorType PlagiarismDetectorType { get; set; } 17 | 18 | public IEnumerable PlagiarismDetectorTypes { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/AntiCheat/_ContestsComboBox.cshtml: -------------------------------------------------------------------------------- 1 | @using Resource = Resources.Areas.Administration.AntiCheat.Views.AntiCheatViews; 2 | @model IEnumerable 3 | @(Html.Kendo() 4 | .ComboBox() 5 | .Name("contests") 6 | .BindTo(Model) 7 | .Filter(FilterType.Contains) 8 | .AutoBind(false) 9 | .MinLength(3) 10 | .Placeholder(Resource.Choose_or_enter_contest) 11 | .Events(ev => ev.Change("selectContest")) 12 | .HtmlAttributes(new { style = "width: 100%; height: 30px" })) 13 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Contests/EditorTemplates/CategoryDropDown.cshtml: -------------------------------------------------------------------------------- 1 | @using Resource = Resources.Areas.Administration.Contests.Views.EditorTemplates.CategoryDropDown; 2 | @model int? 3 | 4 | @(Html.Kendo() 5 | .DropDownListFor(m => m) 6 | .OptionLabel(Resource.Choose_category) 7 | .DataTextField("Text") 8 | .DataValueField("Value") 9 | .DataSource(data => 10 | { 11 | data.ServerFiltering(true) 12 | .Read(read => 13 | { 14 | read.Action("GetCategories", "Contests"); 15 | }); 16 | }) 17 | .HtmlAttributes(new { style = "width: 100%;" })) 18 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Contests/EditorTemplates/ContestQuestionType.cshtml: -------------------------------------------------------------------------------- 1 | @using OJS.Common.Models 2 | @model ContestQuestionType 3 | 4 | @(Html.Kendo() 5 | .DropDownListFor(m => m) 6 | .BindTo(EnumConverter.GetSelectListItems()) 7 | .SelectedIndex((int)Model - 1) 8 | .HtmlAttributes(new { @class = "pull-left full-kendo-editor" })) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Participants/Contest.cshtml: -------------------------------------------------------------------------------- 1 | @using Resource = Resources.Areas.Administration.Participants.Views.ParticipantsContest; 2 | @model int 3 | @{ 4 | ViewBag.Title = Resource.Page_title; 5 | } 6 | 7 |

@ViewBag.Title

8 | 9 |
10 |
11 |
12 | @Html.Partial("_Participants", Model) 13 |
14 |
15 |
16 | 17 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Problems/DeleteAll.cshtml: -------------------------------------------------------------------------------- 1 | @using Resource = Resources.Areas.Administration.Problems.Views.ProblemsDeleteAll 2 | @model OJS.Web.Areas.Administration.ViewModels.Contest.ContestAdministrationViewModel 3 | 4 | @{ 5 | ViewBag.Title = Resource.Page_title; 6 | } 7 | 8 |

@Model.Name

9 |

@ViewBag.Title

10 | 11 |

12 | @Resource.Confirm_message @Model.Name? 13 |

14 | @Resource.Confirm 15 | @Resource.Back 16 | 17 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/EditorTemplates/Date.cshtml: -------------------------------------------------------------------------------- 1 | @model DateTime? 2 | 3 | @Html.Kendo().DatePickerFor(m => m).HtmlAttributes(new { style = "width: 100%; height: 30px;" }) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/EditorTemplates/DateAndTime.cshtml: -------------------------------------------------------------------------------- 1 | @model DateTime? 2 | 3 | @Html.Kendo().DateTimePickerFor(m => m).HtmlAttributes(new { style = "width: 100%; height: 30px;" }) 4 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/EditorTemplates/DisabledCheckbox.cshtml: -------------------------------------------------------------------------------- 1 | @model bool 2 | 3 | @Html.CheckBoxFor(m => m, new { disabled = "disabled" }) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/EditorTemplates/DropDownList.cshtml: -------------------------------------------------------------------------------- 1 | @model int 2 | 3 | @(Html.Kendo() 4 | .DropDownListFor(m => m) 5 | .BindTo((IEnumerable)ViewData[ViewData.TemplateInfo.GetFullHtmlFieldName("") + "Data"]) 6 | .OptionLabel("Изберете категория") 7 | .HtmlAttributes(new { style = "width: 100%;" })) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/EditorTemplates/Enum.cshtml: -------------------------------------------------------------------------------- 1 | @model Enum 2 | 3 | @Html.EnumDropDownListFor(m => m, new { @class = "form-control" }) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/EditorTemplates/HtmlContent.cshtml: -------------------------------------------------------------------------------- 1 | @model string 2 | 3 | @Html.Kendo().EditorFor(m => m) 4 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/EditorTemplates/Integer.cshtml: -------------------------------------------------------------------------------- 1 | @model int? 2 | 3 | @(Html.Kendo() 4 | .NumericTextBoxFor(m => m) 5 | .Spinners(true) 6 | .Min(int.MinValue) 7 | .Max(int.MaxValue) 8 | .Step(1) 9 | .Format("#") 10 | .HtmlAttributes(new { style = "width: 100%; height: 30px;" })) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/EditorTemplates/MultiLineText.cshtml: -------------------------------------------------------------------------------- 1 | @model string 2 | 3 | @Html.TextAreaFor(m => m, new { @class = "form-control", rows = 10 }) 4 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/EditorTemplates/NonEditable.cshtml: -------------------------------------------------------------------------------- 1 | @model object 2 | 3 | @Html.TextBoxFor(m => m, new { disabled = "disabled", @class = "form-control" }) 4 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/EditorTemplates/PositiveInteger.cshtml: -------------------------------------------------------------------------------- 1 | @model int? 2 | 3 | @(Html.Kendo() 4 | .NumericTextBoxFor(m => m) 5 | .Spinners(true) 6 | .Min(0) 7 | .Max(int.MaxValue) 8 | .Step(1) 9 | .Format("#") 10 | .HtmlAttributes(new { style = "width: 100%; height: 30px;" })) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/EditorTemplates/SingleLineText.cshtml: -------------------------------------------------------------------------------- 1 | @model string 2 | 3 | @Html.TextBoxFor(m => m, new { @class = "form-control" }) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/_AdministrationLayout.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } 4 | 5 | @section styles { 6 | @RenderSection("styles", required: false) 7 | } 8 | 9 | @RenderBody() 10 | 11 | @section scripts { 12 | @RenderSection("scripts", required: false) 13 | 14 | 15 | 24 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Shared/_QuickContestsGrid.cshtml: -------------------------------------------------------------------------------- 1 | @using OJS.Web.Areas.Administration.ViewModels.Contest 2 | @using Resource = Resources.Areas.Administration.Shared.Views.Partials.Partials; 3 | @model IEnumerable 4 | 5 | @(Html.Kendo() 6 | .Grid(Model) 7 | .Name("future-grid") 8 | .Columns(col => 9 | { 10 | col.Bound(m => m.Name); 11 | col.Bound(m => m.CategoryName); 12 | col.Template(@ 13 |
@Resource.Details
14 |
); 15 | } 16 | )) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Submissions/Create.cshtml: -------------------------------------------------------------------------------- 1 | @using Resources = Resources.Areas.Administration.Submissions.Views.SubmissionsCreate; 2 | @model OJS.Web.Areas.Administration.ViewModels.Submission.SubmissionAdministrationViewModel 3 | 4 | @{ 5 | ViewBag.Title = Resources.Page_title; 6 | } 7 | 8 |

@ViewBag.Title

9 | 10 | @Html.Partial("_SubmissionForm", Model) 11 | 12 | @section scripts{ 13 | @Scripts.Render("~/bundles/jqueryval") 14 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Submissions/EditorTemplates/ProblemComboBox.cshtml: -------------------------------------------------------------------------------- 1 | @using Resource = Resources.Areas.Administration.Submissions.Views.EditorTemplates.SubmissionsEditorTemplates; 2 | @model int? 3 | 4 | @(Html.Kendo() 5 | .ComboBoxFor(m => m) 6 | .Name("ProblemId") 7 | .DataTextField("Text") 8 | .DataValueField("Value") 9 | .Filter(FilterType.Contains) 10 | .MinLength(1) 11 | .Placeholder(Resource.Choose_problem) 12 | .DataSource(data => 13 | { 14 | data.ServerFiltering(true) 15 | .Read(read => 16 | { 17 | read.Action("GetProblems", "Submissions"); 18 | }); 19 | }) 20 | .HtmlAttributes(new { style = "width: 100%;" })) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Submissions/Update.cshtml: -------------------------------------------------------------------------------- 1 | @using Resource = Resources.Areas.Administration.Submissions.Views.SubmissionsUpdate; 2 | @model OJS.Web.Areas.Administration.ViewModels.Submission.SubmissionAdministrationViewModel 3 | 4 | @{ 5 | ViewBag.Title = Resource.Page_title; 6 | } 7 | 8 |

@ViewBag.Title

9 | 10 | @Html.Partial("_SubmissionForm", Model) 11 | 12 | @section scripts{ 13 | @Scripts.Render("~/bundles/jqueryval") 14 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/Tests/DeleteAll.cshtml: -------------------------------------------------------------------------------- 1 | @using Resource = Resources.Areas.Administration.Tests.Views.TestsDeleteAll; 2 | @model OJS.Web.Areas.Administration.ViewModels.Problem.ProblemViewModel 3 | 4 | @{ 5 | ViewBag.Title = Resource.Page_title; 6 | } 7 | 8 |

@Model.Name

9 |

@ViewBag.Title

10 | 11 |

12 | @Resource.Delete_confirmation @Model.Name? 13 |

14 | @Resource.Confirm 15 | @Resource.Back 16 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Administration/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Areas/Administration/Views/Shared/_AdministrationLayout.cshtml"; 3 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Api/ApiAreaRegistration.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Api 2 | { 3 | using System.Web.Mvc; 4 | 5 | using OJS.Common; 6 | 7 | public class ApiAreaRegistration : AreaRegistration 8 | { 9 | public override string AreaName => "Api"; 10 | 11 | public override void RegisterArea(AreaRegistrationContext context) 12 | { 13 | context.MapRoute( 14 | "Api_default", 15 | "Api/{controller}/{action}/{id}", 16 | new { action = GlobalConstants.Index, id = UrlParameter.Optional }); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Api/Controllers/ApiController.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Api.Controllers 2 | { 3 | using System.Web.Mvc; 4 | 5 | public class ApiController : Controller 6 | { 7 | } 8 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Api/Models/ErrorMessageViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Api.Models 2 | { 3 | public class ErrorMessageViewModel 4 | { 5 | public ErrorMessageViewModel(string errorMessage) 6 | { 7 | this.ErrorMessage = errorMessage; 8 | } 9 | 10 | public string ErrorMessage { get; set; } 11 | } 12 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Contests/Models/BinarySubmissionModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Contests.Models 2 | { 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Web; 5 | 6 | public class BinarySubmissionModel 7 | { 8 | public int ProblemId { get; set; } 9 | 10 | public int SubmissionTypeId { get; set; } 11 | 12 | [Required] 13 | public HttpPostedFileBase File { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Contests/Models/ContestQuestionAnswerModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Contests.Models 2 | { 3 | using System.ComponentModel.DataAnnotations; 4 | 5 | public class ContestQuestionAnswerModel 6 | { 7 | public int QuestionId { get; set; } 8 | 9 | [Required] 10 | public string Answer { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Contests/Models/SubmissionModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Contests.Models 2 | { 3 | using System.ComponentModel.DataAnnotations; 4 | using System.Web.Mvc; 5 | 6 | public class SubmissionModel 7 | { 8 | public int ProblemId { get; set; } 9 | 10 | public int SubmissionTypeId { get; set; } 11 | 12 | [StringLength(int.MaxValue, MinimumLength = 5)] 13 | [Required] 14 | [AllowHtml] 15 | public string Content { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Contests/ViewModels/Contests/ContestPointsRangeViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Contests.ViewModels.Contests 2 | { 3 | public class ContestPointsRangeViewModel 4 | { 5 | public int PointsFrom { get; set; } 6 | 7 | public int PointsTo { get; set; } 8 | 9 | public int Participants { get; set; } 10 | 11 | public double PercentOfAllParticipants { get; set; } 12 | } 13 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Contests/ViewModels/Contests/ContestProblemStatsViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Contests.ViewModels.Contests 2 | { 3 | public class ContestProblemStatsViewModel 4 | { 5 | public string Name { get; set; } 6 | 7 | public int MaxPossiblePoints { get; set; } 8 | 9 | public int MaxResultsCount { get; set; } 10 | 11 | public double MaxResultsPercent { get; set; } 12 | } 13 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Contests/ViewModels/Contests/ContestStatsChartViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Contests.ViewModels.Contests 2 | { 3 | public class ContestStatsChartViewModel 4 | { 5 | public double AverageResult { get; set; } 6 | 7 | public int Hour { get; set; } 8 | 9 | public int Minute { get; set; } 10 | 11 | public string DisplayValue => $"{this.Hour:00}:{this.Minute:00}"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Contests/ViewModels/Contests/DropDownAnswerViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Contests.ViewModels.Contests 2 | { 3 | public class DropDownAnswerViewModel 4 | { 5 | public int Value { get; set; } 6 | 7 | public string Text { get; set; } 8 | } 9 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Contests/ViewModels/Results/BestSubmissionViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Contests.ViewModels.Results 2 | { 3 | public class BestSubmissionViewModel 4 | { 5 | public int Id { get; set; } 6 | 7 | public int Points { get; set; } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Contests/ViewModels/Results/ContestFullResultsViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Contests.ViewModels.Results 2 | { 3 | using System.Collections.Generic; 4 | 5 | using OJS.Web.Areas.Contests.ViewModels.Contests; 6 | 7 | // TODO: Refactor to reuse same logic with ContestResultsViewModel 8 | public class ContestFullResultsViewModel 9 | { 10 | public int Id { get; set; } 11 | 12 | public string Name { get; set; } 13 | 14 | public IEnumerable Problems { get; set; } 15 | 16 | public IEnumerable Results { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Contests/ViewModels/Results/ProblemFullResultViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Contests.ViewModels.Results 2 | { 3 | public class ProblemFullResultViewModel 4 | { 5 | public int Id { get; set; } 6 | 7 | public string ProblemName { get; set; } 8 | 9 | public int ProblemOrderBy { get; set; } 10 | 11 | public SubmissionFullResultsViewModel BestSubmission { get; set; } 12 | 13 | public int MaximumPoints { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Contests/ViewModels/Results/ProblemResultPairViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Contests.ViewModels.Results 2 | { 3 | public class ProblemResultPairViewModel 4 | { 5 | public int Id { get; set; } 6 | 7 | public bool ShowResult { get; set; } 8 | 9 | public BestSubmissionViewModel BestSubmission { get; set; } 10 | 11 | public string ProblemName { get; set; } 12 | 13 | public int ProblemOrderBy { get; set; } 14 | } 15 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Users/Helpers/NullDisplayFormatAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Users.Helpers 2 | { 3 | using System.ComponentModel.DataAnnotations; 4 | 5 | using Resource = Resources.Areas.Users.ViewModels.ProfileViewModels; 6 | 7 | public class NullDisplayFormatAttribute : DisplayFormatAttribute 8 | { 9 | public NullDisplayFormatAttribute() 10 | { 11 | this.NullDisplayText = Resource.No_information; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Users/ViewModels/UserParticipationViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.Areas.Users.ViewModels 2 | { 3 | using System; 4 | 5 | public class UserParticipationViewModel 6 | { 7 | public int ContestId { get; set; } 8 | 9 | public string ContestName { get; set; } 10 | 11 | public int? CompeteResult { get; set; } 12 | 13 | public int? PracticeResult { get; set; } 14 | 15 | public int? ContestMaximumPoints { get; set; } 16 | 17 | public DateTime RegistrationTime { get; set; } 18 | } 19 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Areas/Users/Views/Profile/Index.cshtml: -------------------------------------------------------------------------------- 1 | @model OJS.Web.Areas.Users.ViewModels.UserProfileViewModel 2 | @using Resource = Resources.Areas.Users.Views.Profile.ProfileIndex 3 | 4 | @{ 5 | ViewBag.Title = string.Format(Resource.Title, Model.Username); 6 | } 7 | 8 | 9 | 10 | 14 | 15 |
16 | @Html.Partial("_ProfileInfo", Model) 17 |
18 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/CodeMirror/theme/ambiance-mobile.css: -------------------------------------------------------------------------------- 1 | .cm-s-ambiance.CodeMirror { 2 | -webkit-box-shadow: none; 3 | -moz-box-shadow: none; 4 | box-shadow: none; 5 | } 6 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/CodeMirror/theme/neat.css: -------------------------------------------------------------------------------- 1 | .cm-s-neat span.cm-comment { color: #a86; } 2 | .cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; } 3 | .cm-s-neat span.cm-string { color: #a22; } 4 | .cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; } 5 | .cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; } 6 | .cm-s-neat span.cm-variable { color: black; } 7 | .cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; } 8 | .cm-s-neat span.cm-meta {color: #555;} 9 | .cm-s-neat span.cm-link { color: #3a3; } 10 | 11 | .cm-s-neat .CodeMirror-activeline-background {background: #e8f2ff !important;} 12 | .cm-s-neat .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 13 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/Contests/results-page.css: -------------------------------------------------------------------------------- 1 | .table-bordered th { 2 | padding: 10px; 3 | } 4 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/Demos/DemoTests.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/Demos/DemoTests.zip -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/Fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/Fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/Fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/Fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/Fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/Fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/editor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/editor.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/imagebrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/imagebrowser.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/indeterminate.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/indeterminate.gif -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/loading-image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/loading-image.gif -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/loading.gif -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/loading_2x.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/loading_2x.gif -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/slider-h.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/slider-h.gif -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/slider-v.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/slider-v.gif -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/sprite.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/sprite_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/sprite_2x.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/sprite_kpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/sprite_kpi.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/Black/sprite_kpi_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/Black/sprite_kpi_2x.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/brushed-metal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/brushed-metal.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots1.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots10.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots11.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots12.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots13.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots2.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots3.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots4.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots5.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots6.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots7.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots8.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/dots9.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/glass-lighter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/glass-lighter.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/glass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/glass.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/highlight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/highlight.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/hsv-gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/hsv-gradient.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/hue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/hue.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/leather1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/leather1.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/leather2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/leather2.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/noise.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/noise.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe1.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe2.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe3.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe4.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe5.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/stripe6.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/transparency.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/transparency.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/KendoUI/textures/transtexture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/KendoUI/textures/transtexture.png -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Content/bootstrap/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/Content/bootstrap/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Global.asax: -------------------------------------------------------------------------------- 1 | <%@ Application Codebehind="Global.asax.cs" Inherits="OJS.Web.MvcApplication" Language="C#" %> 2 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/JSLintNet.json: -------------------------------------------------------------------------------- 1 | { 2 | "output": "Error", 3 | "runOnSave": false, 4 | "runOnBuild": false, 5 | "cancelBuild": false, 6 | "ignore": [ 7 | "\\Scripts\\Administration\\Tests\\tests-details.js" 8 | ] 9 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Scripts/Administration/Resources/resources-create.js: -------------------------------------------------------------------------------- 1 | function onEditResourceTypeSelect() { 2 | var val = this.value(); 3 | 4 | if (val == 3) { 5 | $('#file-select').hide(); 6 | $('#link-input').show(); 7 | } 8 | else { 9 | $('#link-input').hide(); 10 | $('#file-select').show(); 11 | } 12 | } 13 | 14 | $(document).ready(function () { 15 | $('#link-input').hide(); 16 | 17 | $('#file-button-resource').click(function() { 18 | $('#input-file-resource').click(); 19 | }); 20 | 21 | $('#input-file-resource').change(function() { 22 | var fileName = this.files[0].name; 23 | $('#file-button-resource').text(fileName.length > 20 ? fileName.substring(0, 20) + '...' : fileName); 24 | }); 25 | }) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Scripts/_references.js: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Startup.cs: -------------------------------------------------------------------------------- 1 | [assembly: Microsoft.Owin.OwinStartup(typeof(OJS.Web.Startup))] 2 | 3 | namespace OJS.Web 4 | { 5 | using Owin; 6 | 7 | public partial class Startup 8 | { 9 | public void Configuration(IAppBuilder app) 10 | { 11 | this.ConfigureAuth(app); 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/ViewModels/Home/Index/IndexViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.ViewModels.Home.Index 2 | { 3 | using System.Collections.Generic; 4 | 5 | public class IndexViewModel 6 | { 7 | public IEnumerable ActiveContests { get; set; } 8 | 9 | public IEnumerable PastContests { get; set; } 10 | 11 | public IEnumerable FutureContests { get; set; } 12 | } 13 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/ViewModels/News/AllNewsViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.ViewModels.News 2 | { 3 | using System.Collections.Generic; 4 | 5 | public class AllNewsViewModel 6 | { 7 | public IEnumerable AllNews { get; set; } 8 | 9 | public int CurrentPage { get; set; } 10 | 11 | public int PageSize { get; set; } 12 | 13 | public int AllPages { get; set; } 14 | } 15 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/ViewModels/Shared/PaginationViewModel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Web.ViewModels.Shared 2 | { 3 | public class PaginationViewModel 4 | { 5 | public int CurrentPage { get; set; } 6 | 7 | public int AllPages { get; set; } 8 | 9 | public string Url { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Account/ExternalLoginFailure.cshtml: -------------------------------------------------------------------------------- 1 | @using Resource = Resources.Account.Views.ExternalLoginFailure 2 | 3 | @{ 4 | ViewBag.Title = Resource.Error; 5 | } 6 | 7 |

@ViewBag.Title.

8 |

@Resource.Unsuccessful_login

9 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Feedback/Submitted.cshtml: -------------------------------------------------------------------------------- 1 | @using Resource = Resources.Feedback.Views.FeedbackSubmitted 2 | 3 | @{ 4 | ViewBag.Title = Resource.Title; 5 | } 6 | 7 | 11 | 12 |

@ViewBag.Title

13 | 14 |
15 | @Html.ActionLink(Resource.Home, GlobalConstants.Index, "Home", new { area = string.Empty }, new { @class = "btn btn-primary" }) 16 |
17 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Search/Index.cshtml: -------------------------------------------------------------------------------- 1 | @using Resource = Resources.Search.Views.SearchIndex 2 | 3 |
4 | @using (Html.BeginForm("Results", "Search", FormMethod.Get)) 5 | { 6 |
7 | 8 |
9 |
10 | 11 |
12 | } 13 |
-------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/EditorTemplates/Currency.cshtml: -------------------------------------------------------------------------------- 1 | @model decimal? 2 | 3 | @(Html.Kendo().CurrencyTextBoxFor(m => m) 4 | .HtmlAttributes(new {style="width:100%"}) 5 | .Min(0) 6 | ) 7 | 8 | 9 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/EditorTemplates/Date.cshtml: -------------------------------------------------------------------------------- 1 | @model DateTime? 2 | 3 | @(Html.Kendo().DatePickerFor(m => m)) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/EditorTemplates/DateTime.cshtml: -------------------------------------------------------------------------------- 1 | @model DateTime? 2 | 3 | @(Html.Kendo().DateTimePickerFor(m => m)) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/EditorTemplates/EmailAddress.cshtml: -------------------------------------------------------------------------------- 1 | @model object 2 | 3 | @Html.TextBoxFor(m => m, new { type = "email", @class = "k-textbox" }) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/EditorTemplates/GridForeignKey.cshtml: -------------------------------------------------------------------------------- 1 | @model object 2 | 3 | @( 4 | Html.Kendo().DropDownListFor(m => m) 5 | .BindTo((SelectList)ViewData[ViewData.TemplateInfo.GetFullHtmlFieldName("") + "_Data"]) 6 | ) 7 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/EditorTemplates/Integer.cshtml: -------------------------------------------------------------------------------- 1 | @model int? 2 | 3 | @(Html.Kendo().IntegerTextBoxFor(m => m) 4 | .HtmlAttributes(new { style = "width:100%" }) 5 | .Min(int.MinValue) 6 | .Max(int.MaxValue) 7 | ) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/EditorTemplates/MultilineText.cshtml: -------------------------------------------------------------------------------- 1 | @model object 2 | 3 | @Html.TextAreaFor(x => x, new { @class = "form-control", rows = "8" }) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/EditorTemplates/Number.cshtml: -------------------------------------------------------------------------------- 1 | @model double? 2 | 3 | @(Html.Kendo().NumericTextBoxFor(m => m) 4 | .HtmlAttributes(new { style = "width:100%" }) 5 | ) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/EditorTemplates/Password.cshtml: -------------------------------------------------------------------------------- 1 | @model object 2 | 3 | @Html.PasswordFor(m => m, new { @class = "k-textbox" }) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/EditorTemplates/String.cshtml: -------------------------------------------------------------------------------- 1 | @model object 2 | 3 | @Html.TextBoxFor(model => model, new { @class = "k-textbox" }) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/EditorTemplates/Time.cshtml: -------------------------------------------------------------------------------- 1 | @model DateTime? 2 | 3 | @(Html.Kendo().TimePickerFor(m => m)) -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @model HandleErrorInfo 2 | 3 | @{ 4 | ViewBag.Title = "Error"; 5 | } 6 | 7 |
8 |

An error occurred while processing your request.

9 |

@Model.Exception.Message

10 |
11 | 12 |
@Model.Exception.ToString()
13 | @{ 14 | var exception = Model.Exception.InnerException; 15 | } 16 | @while (exception != null) 17 | { 18 |

@exception.Message

19 |
@exception.ToString()
20 | exception = exception.InnerException; 21 | } 22 | 23 |

Controller name: @Model.ControllerName

24 |

Action name: @Model.ActionName

25 | -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Shared/_Pagination.cshtml: -------------------------------------------------------------------------------- 1 | @model OJS.Web.ViewModels.Shared.PaginationViewModel 2 | 3 |
    4 | @if (Model.CurrentPage == 1) 5 | { 6 |
  • «
  • 7 | } 8 | else 9 | { 10 |
  • «
  • 11 | } 12 | @for (int i = 1; i <= Model.AllPages; i++) 13 | { 14 |
  • @i
  • 15 | } 16 | @if (Model.CurrentPage == Model.AllPages) 17 | { 18 |
  • »
  • 19 | } 20 | else 21 | { 22 |
  • »
  • 23 | } 24 |
-------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/Submissions/AdvancedSubmissions.cshtml: -------------------------------------------------------------------------------- 1 | @using Resource = Resources.Submissions.Views.AdvancedSubmissions; 2 | @model OJS.Web.ViewModels.Submission.SubmissionViewModel 3 | 4 | @{ 5 | ViewBag.Title = Resource.Page_title; 6 | } 7 | 8 | 9 | 13 | 14 |

@ViewBag.Title

15 | 16 | @{ 17 | Html.RenderPartial("_AdvancedSubmissionsGridPartial"); 18 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/Views/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/_ViewStart.cshtml: -------------------------------------------------------------------------------- 1 | @{ 2 | Layout = "~/Views/Shared/_Layout.cshtml"; 3 | } -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Web/OJS.Web/favicon.ico -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/google95e631afa25e7960.html: -------------------------------------------------------------------------------- 1 | google-site-verification: google95e631afa25e7960.html -------------------------------------------------------------------------------- /Open Judge System/Web/OJS.Web/robots.txt: -------------------------------------------------------------------------------- 1 | User-Agent: * 2 | Allow: / 3 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Agent/Batch Files/InstallService.bat: -------------------------------------------------------------------------------- 1 | NET STOP "OJS Agent Service" 2 | sc delete "OJS Agent Service" 3 | timeout 10 4 | CD %~dp0 5 | C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil "..\OJS.Workers.Agent.exe" 6 | NET START "OJS Agent Service" 7 | pause -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Agent/Batch Files/StopService.bat: -------------------------------------------------------------------------------- 1 | NET STOP "OJS Agent Service" 2 | pause -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Agent/CodeJobWorker.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Agent 2 | { 3 | using System; 4 | 5 | using OJS.Workers.Common.Communication; 6 | 7 | public class CodeJobWorker : IJobWorker 8 | { 9 | public JobResult DoJob(Job job) 10 | { 11 | throw new NotImplementedException(); 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Agent/IFileCache.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Agent 2 | { 3 | public interface IFileCache 4 | { 5 | byte[] this[string key] { get; set; } 6 | 7 | bool Contains(string key); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Agent/IJobWorker.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Agent 2 | { 3 | using OJS.Workers.Common.Communication; 4 | 5 | public interface IJobWorker 6 | { 7 | JobResult DoJob(Job job); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Agent/OJS.Workers.Agent_TemporaryKey.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Open Judge System/Workers/OJS.Workers.Agent/OJS.Workers.Agent_TemporaryKey.pfx -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Agent/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Checkers/CaseInsensitiveChecker.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Checkers 2 | { 3 | using OJS.Workers.Common; 4 | 5 | public class CaseInsensitiveChecker : Checker 6 | { 7 | public CaseInsensitiveChecker() 8 | { 9 | this.IgnoreCharCasing = true; 10 | } 11 | 12 | public override CheckerResult Check(string inputData, string receivedOutput, string expectedOutput, bool isTrialTest) 13 | { 14 | var result = this.CheckLineByLine(inputData, receivedOutput, expectedOutput, this.AreEqualCaseInsensitiveLines, isTrialTest); 15 | return result; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Checkers/ExactChecker.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Checkers 2 | { 3 | using OJS.Workers.Common; 4 | 5 | public class ExactChecker : Checker 6 | { 7 | public override CheckerResult Check(string inputData, string receivedOutput, string expectedOutput, bool isTrialTest) 8 | { 9 | var result = this.CheckLineByLine(inputData, receivedOutput, expectedOutput, this.AreEqualExactLines, isTrialTest); 10 | return result; 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Checkers/TrimChecker.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Checkers 2 | { 3 | using OJS.Workers.Common; 4 | 5 | public class TrimChecker : Checker 6 | { 7 | public override CheckerResult Check(string inputData, string receivedOutput, string expectedOutput, bool isTrialTest) 8 | { 9 | var result = this.CheckLineByLine( 10 | inputData, 11 | receivedOutput?.Trim(), 12 | expectedOutput?.Trim(), 13 | this.AreEqualTrimmedLines, 14 | isTrialTest); 15 | return result; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Checkers/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Agents/AgentResponseData.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Agents 2 | { 3 | using System.Collections.Generic; 4 | 5 | public class AgentResponseData 6 | { 7 | public CompileResult CompileResult { get; set; } 8 | 9 | public ProcessExecutionResult ExecutionResult { get; set; } 10 | 11 | public List TestResults { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Agents/AgentTaskData.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Agents 2 | { 3 | using System.Collections.Generic; 4 | 5 | public class AgentTaskData 6 | { 7 | public List SourceFiles { get; set; } 8 | 9 | public TaskInformation TaskInformation { get; set; } 10 | 11 | public List Tests { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Agents/SourceFile.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Agents 2 | { 3 | public class SourceFile 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Agents/TaskInformation.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Agents 2 | { 3 | public class TaskInformation 4 | { 5 | public int TimeLimit { get; set; } 6 | 7 | public long MemoryLimit { get; set; } 8 | 9 | public string CheckerDllFile { get; set; } 10 | 11 | public string CheckerClassName { get; set; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Agents/Test.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Agents 2 | { 3 | public class Test 4 | { 5 | public int Id { get; set; } 6 | 7 | public byte[] Input { get; set; } 8 | 9 | public byte[] Output { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Agents/TestResult.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Agents 2 | { 3 | public class TestResult 4 | { 5 | public CheckerResult CheckerResult { get; set; } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/CheckerDetails.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common 2 | { 3 | public struct CheckerDetails 4 | { 5 | public string Comment { get; set; } 6 | 7 | public string ExpectedOutputFragment { get; set; } 8 | 9 | public string UserOutputFragment { get; set; } 10 | } 11 | } -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/CheckerResult.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common 2 | { 3 | public struct CheckerResult 4 | { 5 | public bool IsCorrect { get; set; } 6 | 7 | public CheckerResultType ResultType { get; set; } 8 | 9 | /// 10 | /// Gets or sets more detailed information visible only by administrators. 11 | /// 12 | public CheckerDetails CheckerDetails { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/CheckerResultType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common 2 | { 3 | using System; 4 | 5 | [Flags] 6 | public enum CheckerResultType 7 | { 8 | Ok = 0, 9 | 10 | WrongAnswer = 1 << 0, 11 | 12 | InvalidOutputFormat = 1 << 1, 13 | 14 | InvalidNumberOfLines = 1 << 2, 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Communication/Job.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Communication 2 | { 3 | using System; 4 | 5 | [Serializable] 6 | public class Job 7 | { 8 | public bool ContainsTaskData { get; set; } 9 | 10 | public byte[] TaskData { get; set; } 11 | 12 | public byte[] UserSolution { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Communication/JobResult.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Communication 2 | { 3 | using System; 4 | 5 | [Serializable] 6 | public class JobResult 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Communication/NetworkCommunicationException.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Communication 2 | { 3 | using System; 4 | 5 | [Serializable] 6 | public class NetworkCommunicationException : Exception 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Communication/NetworkDataObject.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Communication 2 | { 3 | using System; 4 | 5 | [Serializable] 6 | public class NetworkDataObject 7 | { 8 | public NetworkDataObjectType Type { get; set; } 9 | 10 | public object Data { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Communication/NetworkDataObjectType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Communication 2 | { 3 | public enum NetworkDataObjectType 4 | { 5 | AgentSendSystemInformation = 1, // c <-- a 6 | AgentSystemInformationReceived = 2, // c --> a 7 | AskAgentIfHasProblemDetails = 3, // c --> a 8 | AgentHasProblemDetailsInformation = 4, // c <-- a 9 | SendJobForAgent = 5, // c --> a 10 | JobDoneByAgent = 6, // c <-- a 11 | ShutdownAgent = 101, // c --> a 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/Communication/SystemInformation.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common.Communication 2 | { 3 | using System; 4 | 5 | [Serializable] 6 | public class SystemInformation 7 | { 8 | public bool Is64BitOperatingSystem { get; set; } 9 | 10 | public static SystemInformation Collect() 11 | { 12 | var information = new SystemInformation { Is64BitOperatingSystem = Environment.Is64BitOperatingSystem }; 13 | return information; 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/CompileResult.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common 2 | { 3 | public class CompileResult 4 | { 5 | public CompileResult(string outputFile) 6 | : this(true, null, outputFile) 7 | { 8 | } 9 | 10 | public CompileResult(bool isCompiledSuccessfully, string compilerComment, string outputFile = null) 11 | { 12 | this.IsCompiledSuccessfully = isCompiledSuccessfully; 13 | this.CompilerComment = compilerComment; 14 | this.OutputFile = outputFile; 15 | } 16 | 17 | public bool IsCompiledSuccessfully { get; set; } 18 | 19 | public string CompilerComment { get; set; } 20 | 21 | public string OutputFile { get; set; } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/IChecker.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common 2 | { 3 | public interface IChecker 4 | { 5 | CheckerResult Check(string inputData, string receivedOutput, string expectedOutput, bool isTrialTest); 6 | 7 | void SetParameter(string parameter); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/ICompiler.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common 2 | { 3 | public interface ICompiler 4 | { 5 | /// 6 | /// Compiles given source code to binary code. 7 | /// 8 | /// Path to the compiler 9 | /// Source code given as a text file with no extension 10 | /// Additional compiler arguments 11 | /// Result of compilation 12 | CompileResult Compile(string compilerPath, string inputFile, string additionalArguments); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/IExecutor.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common 2 | { 3 | using System.Collections.Generic; 4 | 5 | public interface IExecutor 6 | { 7 | ProcessExecutionResult Execute(string fileName, string inputData, int timeLimit, int memoryLimit, IEnumerable executionArguments = null); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/ProcessExecutionResultType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Common 2 | { 3 | public enum ProcessExecutionResultType 4 | { 5 | Success = 0, 6 | TimeLimit = 1, 7 | MemoryLimit = 2, 8 | RunTimeError = 4, 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Common/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Compilers/CompilerOutput.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Compilers 2 | { 3 | public class CompilerOutput 4 | { 5 | public CompilerOutput(int exitCode, string output) 6 | { 7 | this.ExitCode = exitCode; 8 | this.Output = output; 9 | } 10 | 11 | public int ExitCode { get; set; } 12 | 13 | public string Output { get; set; } 14 | 15 | public bool IsSuccessful => this.ExitCode == 0; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Compilers/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Controller/Batch Files/InstallService.bat: -------------------------------------------------------------------------------- 1 | NET STOP "OJS Controller Service" 2 | sc delete "OJS Controller Service" 3 | timeout 10 4 | CD %~dp0 5 | C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil "..\OJS.Workers.Controller.exe" 6 | NET START "OJS Controller Service" 7 | pause -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Controller/Batch Files/StopService.bat: -------------------------------------------------------------------------------- 1 | NET STOP "OJS Controller Service" 2 | pause -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Controller/ClientConnectedEventArgs.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Controller 2 | { 3 | using System; 4 | using System.Net.Sockets; 5 | 6 | public class ClientConnectedEventArgs : EventArgs 7 | { 8 | public ClientConnectedEventArgs(TcpClient client) 9 | { 10 | this.Client = client; 11 | } 12 | 13 | public TcpClient Client { get; private set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Controller/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.ExecutionStrategies/DoNothingExecutionStrategy.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.ExecutionStrategies 2 | { 3 | using System.Collections.Generic; 4 | 5 | public class DoNothingExecutionStrategy : IExecutionStrategy 6 | { 7 | public ExecutionResult Execute(ExecutionContext executionContext) 8 | { 9 | return new ExecutionResult 10 | { 11 | CompilerComment = null, 12 | IsCompiledSuccessfully = true, 13 | TestResults = new List(), 14 | }; 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.ExecutionStrategies/ExecutionResult.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.ExecutionStrategies 2 | { 3 | using System.Collections.Generic; 4 | 5 | public class ExecutionResult 6 | { 7 | public ExecutionResult() 8 | { 9 | this.TestResults = new List(); 10 | } 11 | 12 | public bool IsCompiledSuccessfully { get; set; } 13 | 14 | public string CompilerComment { get; set; } 15 | 16 | public List TestResults { get; set; } 17 | } 18 | } -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.ExecutionStrategies/IExecutionStrategy.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.ExecutionStrategies 2 | { 3 | public interface IExecutionStrategy 4 | { 5 | ExecutionResult Execute(ExecutionContext executionContext); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.ExecutionStrategies/TestContext.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.ExecutionStrategies 2 | { 3 | public class TestContext 4 | { 5 | public int Id { get; set; } 6 | 7 | public string Input { get; set; } 8 | 9 | public string Output { get; set; } 10 | 11 | public bool IsTrialTest { get; set; } 12 | } 13 | } -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.ExecutionStrategies/TestResult.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.ExecutionStrategies 2 | { 3 | using OJS.Common.Models; 4 | using OJS.Workers.Common; 5 | 6 | public class TestResult 7 | { 8 | public int Id { get; set; } 9 | 10 | public TestRunResultType ResultType { get; set; } 11 | 12 | public int TimeUsed { get; set; } 13 | 14 | public int MemoryUsed { get; set; } 15 | 16 | public string ExecutionComment { get; set; } 17 | 18 | public CheckerDetails CheckerDetails { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.ExecutionStrategies/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/JobObjects/BasicUiRestrictions.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.JobObjects 2 | { 3 | using System.Runtime.InteropServices; 4 | 5 | /// 6 | /// Contains basic user-interface restrictions for a job object. 7 | /// 8 | [StructLayout(LayoutKind.Sequential)] 9 | public struct BasicUiRestrictions 10 | { 11 | /// 12 | /// Gets or sets the restriction class for the user interface. 13 | /// 14 | public uint UIRestrictionsClass { get; set; } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/JobObjects/ExtendedLimitInformation.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.JobObjects 2 | { 3 | using System; 4 | using System.Runtime.InteropServices; 5 | 6 | [StructLayout(LayoutKind.Sequential)] 7 | public struct ExtendedLimitInformation 8 | { 9 | public BasicLimitInformation BasicLimitInformation; 10 | public IoCounters IoInfo; 11 | public UIntPtr ProcessMemoryLimit; 12 | public UIntPtr JobMemoryLimit; 13 | public UIntPtr PeakProcessMemoryUsed; 14 | public UIntPtr PeakJobMemoryUsed; 15 | } 16 | } -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/JobObjects/IoCounters.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.JobObjects 2 | { 3 | using System.Runtime.InteropServices; 4 | 5 | [StructLayout(LayoutKind.Sequential)] 6 | public struct IoCounters 7 | { 8 | public ulong ReadOperationCount; 9 | public ulong WriteOperationCount; 10 | public ulong OtherOperationCount; 11 | public ulong ReadTransferCount; 12 | public ulong WriteTransferCount; 13 | public ulong OtherTransferCount; 14 | } 15 | } -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/JobObjects/SecurityAttributes.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.JobObjects 2 | { 3 | using System; 4 | using System.Runtime.InteropServices; 5 | 6 | [StructLayout(LayoutKind.Sequential)] 7 | public struct SecurityAttributes 8 | { 9 | public int Length; 10 | public IntPtr SecurityDescriptor; 11 | public int InheritHandle; 12 | } 13 | } -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/JobObjects/SecurityLimitInformation.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.JobObjects 2 | { 3 | using System.Runtime.InteropServices; 4 | 5 | [StructLayout(LayoutKind.Sequential)] 6 | internal struct SecurityLimitInformation 7 | { 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/DuplicateOptions.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | using System; 4 | 5 | [Flags] 6 | public enum DuplicateOptions : uint 7 | { 8 | /// 9 | /// Closes the source handle. This occurs regardless of any error status returned. 10 | /// 11 | DUPLICATE_CLOSE_SOURCE = 0x00000001, 12 | 13 | /// 14 | /// Ignores the dwDesiredAccess parameter. The duplicate handle has the same access as the source handle. 15 | /// 16 | DUPLICATE_SAME_ACCESS = 0x00000002, 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/LogonProvider.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | public enum LogonProvider 4 | { 5 | LOGON32_PROVIDER_DEFAULT, 6 | LOGON32_PROVIDER_WINNT35, 7 | LOGON32_PROVIDER_WINNT40, 8 | LOGON32_PROVIDER_WINNT50 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/LogonType.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | public enum LogonType 4 | { 5 | LOGON32_LOGON_INTERACTIVE = 2, 6 | LOGON32_LOGON_NETWORK, 7 | LOGON32_LOGON_BATCH, 8 | LOGON32_LOGON_SERVICE, 9 | LOGON32_LOGON_UNLOCK = 7, 10 | LOGON32_LOGON_NETWORK_CLEARTEXT, 11 | LOGON32_LOGON_NEW_CREDENTIALS 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/Luid.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | using System.Runtime.InteropServices; 4 | 5 | /// 6 | /// An LUID is a 64-bit value guaranteed to be unique only on the system on which it was generated. The uniqueness of a locally unique identifier (LUID) is guaranteed only until the system is restarted. 7 | /// Applications must use functions and structures to manipulate LUID values. 8 | /// 9 | [StructLayout(LayoutKind.Sequential)] 10 | public struct Luid 11 | { 12 | public uint LowPart; 13 | 14 | public long HighPart; 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/LuidAndAttributes.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | using System.Runtime.InteropServices; 4 | 5 | /// 6 | /// The LUID_AND_ATTRIBUTES structure represents a locally unique identifier (LUID) and its attributes. 7 | /// 8 | [StructLayout(LayoutKind.Sequential)] 9 | public struct LuidAndAttributes 10 | { 11 | public Luid Luid; 12 | 13 | public uint Attributes; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/ProcessInformation.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | using System; 4 | using System.Runtime.InteropServices; 5 | 6 | /// 7 | /// Contains information about a newly created process and its primary thread. 8 | /// 9 | [StructLayout(LayoutKind.Sequential)] 10 | public struct ProcessInformation 11 | { 12 | public IntPtr Process; 13 | public IntPtr Thread; 14 | public int ProcessId; 15 | public int ThreadId; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/ProcessMemoryCounters.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | using System; 4 | using System.Runtime.InteropServices; 5 | 6 | [StructLayout(LayoutKind.Sequential)] 7 | public struct ProcessMemoryCounters 8 | { 9 | public int SizeInBytes; 10 | public int PageFaultCount; 11 | public IntPtr PeakWorkingSetSize; 12 | public IntPtr WorkingSetSize; 13 | public IntPtr QuotaPeakPagedPoolUsage; 14 | public IntPtr QuotaPagedPoolUsage; 15 | public IntPtr QuotaPeakNonPagedPoolUsage; 16 | public IntPtr QuotaNonPagedPoolUsage; 17 | public IntPtr PagefileUsage; 18 | public IntPtr PeakPagefileUsage; 19 | } 20 | } -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/ProcessThreadTimes.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | using System; 4 | 5 | internal struct ProcessThreadTimes 6 | { 7 | public long Create; 8 | public long Exit; 9 | public long Kernel; 10 | public long User; 11 | 12 | public DateTime StartTime => DateTime.FromFileTime(this.Create); 13 | 14 | public DateTime ExitTime => DateTime.FromFileTime(this.Exit); 15 | 16 | public TimeSpan PrivilegedProcessorTime => new TimeSpan(this.Kernel); 17 | 18 | public TimeSpan UserProcessorTime => new TimeSpan(this.User); 19 | 20 | public TimeSpan TotalProcessorTime => new TimeSpan(this.User + this.Kernel); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/SecurityAttributes.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | using System; 4 | using System.Diagnostics.CodeAnalysis; 5 | using System.Runtime.InteropServices; 6 | 7 | [SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1401:FieldsMustBePrivate", Justification = "Reviewed. Suppression is OK here.")] 8 | [StructLayout(LayoutKind.Sequential)] 9 | public class SecurityAttributes 10 | { 11 | public int Length = 12; 12 | 13 | public SafeLocalMemHandle SecurityDescriptor = new SafeLocalMemHandle(IntPtr.Zero, false); 14 | 15 | public bool InheritHandle = false; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/SidAndAttributes.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | using System; 4 | using System.Runtime.InteropServices; 5 | 6 | /// 7 | /// The structure represents a security identifier (SID) and its attributes. SIDs are used to uniquely identify users or groups. 8 | /// 9 | [StructLayout(LayoutKind.Sequential)] 10 | public struct SidAndAttributes 11 | { 12 | public IntPtr Sid; 13 | 14 | public uint Attributes; 15 | } 16 | } -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/SidIdentifierAuthority.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | using System.Runtime.InteropServices; 4 | 5 | /// 6 | /// The SidIdentifierAuthority structure represents the top-level authority of a security identifier (SID). 7 | /// 8 | [StructLayout(LayoutKind.Sequential)] 9 | public struct SidIdentifierAuthority 10 | { 11 | [MarshalAs(UnmanagedType.ByValArray, SizeConst = 6, ArraySubType = UnmanagedType.I1)] 12 | public byte[] Value; 13 | 14 | public SidIdentifierAuthority(byte[] value) 15 | { 16 | this.Value = value; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/Process/TokenMandatoryLabel.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Executors.Process 2 | { 3 | using System.Runtime.InteropServices; 4 | 5 | /// 6 | /// The structure specifies the mandatory integrity level for a token. 7 | /// 8 | [StructLayout(LayoutKind.Sequential)] 9 | public struct TokenMandatoryLabel 10 | { 11 | public SidAndAttributes Label; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Executors/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.LocalWorker/Batch Files/InstallService.bat: -------------------------------------------------------------------------------- 1 | NET STOP "OJS Local Worker Service" 2 | sc delete "OJS Local Worker Service" 3 | timeout 10 4 | CD %~dp0 5 | C:\Windows\Microsoft.NET\Framework\v4.0.30319\installutil "..\OJS.Workers.LocalWorker.exe" 6 | NET START "OJS Local Worker Service" 7 | pause -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.LocalWorker/Batch Files/StopService.bat: -------------------------------------------------------------------------------- 1 | NET STOP "OJS Local Worker Service" 2 | pause -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.LocalWorker/IJob.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.LocalWorker 2 | { 3 | public interface IJob 4 | { 5 | string Name { get; set; } 6 | 7 | void Start(); 8 | 9 | void Stop(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.LocalWorker/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Tools/AntiCheat/Contracts/IDetectPlagiarismVisitor.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Tools.AntiCheat.Contracts 2 | { 3 | public interface IDetectPlagiarismVisitor 4 | { 5 | string Visit(string text); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Tools/AntiCheat/Contracts/IPlagiarismDetector.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Tools.AntiCheat.Contracts 2 | { 3 | using System.Collections.Generic; 4 | 5 | public interface IPlagiarismDetector 6 | { 7 | PlagiarismResult DetectPlagiarism(string firstSource, string secondSource, IEnumerable visitors = null); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Tools/AntiCheat/Contracts/IPlagiarismDetectorFactory.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Tools.AntiCheat.Contracts 2 | { 3 | public interface IPlagiarismDetectorFactory 4 | { 5 | IPlagiarismDetector CreatePlagiarismDetector(PlagiarismDetectorCreationContext context); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Tools/AntiCheat/PlagiarismResult.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Tools.AntiCheat 2 | { 3 | using System.Collections.Generic; 4 | 5 | using OJS.Workers.Tools.Similarity; 6 | 7 | public class PlagiarismResult 8 | { 9 | public PlagiarismResult(decimal similarityPercentage) 10 | { 11 | this.SimilarityPercentage = similarityPercentage; 12 | } 13 | 14 | public decimal SimilarityPercentage { get; set; } 15 | 16 | public string FirstToCompare { get; set; } 17 | 18 | public string SecondToCompare { get; set; } 19 | 20 | public IReadOnlyCollection Differences { get; set; } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Tools/Disassemblers/Contracts/IDisassembler.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Tools.Disassemblers.Contracts 2 | { 3 | public interface IDisassembler 4 | { 5 | DisassembleResult Disassemble(string compiledFilePath, string additionalArguments = null); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Tools/Disassemblers/DisassembleResult.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Tools.Disassemblers 2 | { 3 | public class DisassembleResult 4 | { 5 | public DisassembleResult(bool isDisassembledSuccessfully, string disassembledCode = null) 6 | { 7 | this.IsDisassembledSuccessfully = isDisassembledSuccessfully; 8 | this.DisassembledCode = disassembledCode; 9 | } 10 | 11 | public bool IsDisassembledSuccessfully { get; set; } 12 | 13 | public string DisassembledCode { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Tools/Similarity/ShortestMiddleSnakeReturnData.cs: -------------------------------------------------------------------------------- 1 | namespace OJS.Workers.Tools.Similarity 2 | { 3 | /// 4 | /// Shortest Middle Snake Return Data 5 | /// 6 | internal struct ShortestMiddleSnakeReturnData 7 | { 8 | public int X { get; set; } 9 | 10 | public int Y { get; set; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Open Judge System/Workers/OJS.Workers.Tools/packages.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | -------------------------------------------------------------------------------- /Research/Other Judge Systems/PC2/Web page.url: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop3=19,2 3 | [InternetShortcut] 4 | URL=http://www.ecs.csus.edu/pc2/ 5 | IDList= 6 | -------------------------------------------------------------------------------- /Research/Other Judge Systems/PC2/api-doc-9.2.3-2565.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Other Judge Systems/PC2/api-doc-9.2.3-2565.zip -------------------------------------------------------------------------------- /Research/Other Judge Systems/PC2/pc2-9.2.4-2837.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Other Judge Systems/PC2/pc2-9.2.4-2837.zip -------------------------------------------------------------------------------- /Research/Other Judge Systems/README.md: -------------------------------------------------------------------------------- 1 | # Similar systems 2 | 3 | * spoj0 - https://github.com/SourceCodeBackup/spoj0 (http://code.google.com/p/spoj0/) 4 | * DOMjudge - https://github.com/DOMjudge/domjudge (https://www.domjudge.org/) 5 | * SMOC - https://github.com/SourceCodeBackup/SMOC (http://openfmi.net/projects/pcms/) 6 | 7 | # Similar web sites 8 | 9 | * http://topcoder.com/tc 10 | * http://arena.maycamp.com/ 11 | * http://www.codechef.com/ 12 | * http://en.wikipedia.org/wiki/Online_judge 13 | -------------------------------------------------------------------------------- /Research/Sandbox/ChromiumSandbox.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/ChromiumSandbox.docx -------------------------------------------------------------------------------- /Research/Sandbox/Escaping_The_Sandbox-2010.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/Escaping_The_Sandbox-2010.pdf -------------------------------------------------------------------------------- /Research/Sandbox/Executor.Security.Tests/CSharp/01. Shut Down With Diagnostics.txt: -------------------------------------------------------------------------------- 1 | Variant 1 2 | 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Linq; 6 | using System.Text; 7 | using System.Threading.Tasks; 8 | 9 | namespace SecurityTests 10 | { 11 | class Program 12 | { 13 | static void Main(string[] args) 14 | { 15 | System.Diagnostics.Process.Start("Shutdown", "-s -t 10"); 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Research/Sandbox/Executor.Security.Tests/CSharp/06. Registry Edit.txt: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using System.Threading.Tasks; 6 | using Microsoft.Win32; 7 | 8 | namespace RegistryHack 9 | { 10 | class Program 11 | { 12 | static void Main(string[] args) 13 | { 14 | Registry.LocalMachine.CreateSubKey("SOFTWARE\\My Registry Key"); 15 | RegistryKey myKey = Registry.LocalMachine.OpenSubKey("SOFTWARE\\My Registry Key", true); 16 | myKey.SetValue("My String Value", "Test Value", RegistryValueKind.String); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Research/Sandbox/Executor.Security.Tests/CSharp/ToDo.txt: -------------------------------------------------------------------------------- 1 | TODO: 2 | Fill HardDisk 3 | Format harddisks 4 | Rename Important Files 5 | StartUpProgram 6 | Change Permissions 7 | Thread.Sleep(10000000); 8 | 9 | 10 | Done: 11 | Restart, ShutDown 12 | Kill Network 13 | Registry Edit 14 | Close processes 15 | Start a .bat file - upload solution with .bat file 16 | Execute Command 17 | Save Input in File - System File 18 | Disable Drivers - DID NOT FIND SOLUTION 19 | Database Injection 20 | Windows Built-in Self Crasher - Needs Registry Edit 21 | Using a Windows Fork Bomb -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/SandboxTests/build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/Java sandbox/SandboxTests/build/classes/.netbeans_automatic_build -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/SandboxTests/build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/Java sandbox/SandboxTests/build/classes/.netbeans_update_resources -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/SandboxTests/build/classes/UserClass$TestThread.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/Java sandbox/SandboxTests/build/classes/UserClass$TestThread.class -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/SandboxTests/build/classes/UserClass.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/Java sandbox/SandboxTests/build/classes/UserClass.class -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/SandboxTests/build/classes/sandboxtests/SandboxSecurityManager.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/Java sandbox/SandboxTests/build/classes/sandboxtests/SandboxSecurityManager.class -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/SandboxTests/build/classes/sandboxtests/SandboxTests.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/Java sandbox/SandboxTests/build/classes/sandboxtests/SandboxTests.class -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/SandboxTests/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/SandboxTests/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=3f83565d 2 | build.xml.script.CRC32=fe0bf7a5 3 | build.xml.stylesheet.CRC32=8064a381@1.68.1.46 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=3f83565d 7 | nbproject/build-impl.xml.script.CRC32=61cce981 8 | nbproject/build-impl.xml.stylesheet.CRC32=5a01deb7@1.68.1.46 9 | -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/SandboxTests/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\dininski\\AppData\\Roaming\\NetBeans\\7.4\\build.properties 3 | -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/SandboxTests/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | SandboxTests 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/SandboxTests/src/sandboxtests/SandboxSecurityManager.java: -------------------------------------------------------------------------------- 1 | /* 2 | * To change this license header, choose License Headers in Project Properties. 3 | * To change this template file, choose Tools | Templates 4 | * and open the template in the editor. 5 | */ 6 | 7 | package sandboxtests; 8 | 9 | import java.io.FileDescriptor; 10 | import java.lang.reflect.ReflectPermission; 11 | 12 | /** 13 | * 14 | * @author dininski 15 | */ 16 | public class SandboxSecurityManager extends SecurityManager { 17 | public SandboxSecurityManager() { 18 | } 19 | 20 | @Override 21 | public void checkAccess(Thread thread) { 22 | throw new UnsupportedOperationException(); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/TestApplication/build/built-jar.properties: -------------------------------------------------------------------------------- 1 | #Mon, 16 Dec 2013 21:45:05 +0200 2 | 3 | 4 | C\:\\Users\\dininski\\Documents\\NetBeansProjects\\TestApplication= 5 | -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/TestApplication/build/classes/testapplication/TestApplication.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/Java sandbox/TestApplication/build/classes/testapplication/TestApplication.class -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/TestApplication/dist/TestApplication.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/Java sandbox/TestApplication/dist/TestApplication.jar -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/TestApplication/manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/TestApplication/nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=397bbf81 2 | build.xml.script.CRC32=b0561600 3 | build.xml.stylesheet.CRC32=8064a381@1.68.1.46 4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. 5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. 6 | nbproject/build-impl.xml.data.CRC32=397bbf81 7 | nbproject/build-impl.xml.script.CRC32=8cfbb9eb 8 | nbproject/build-impl.xml.stylesheet.CRC32=5a01deb7@1.68.1.46 9 | -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/TestApplication/nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | user.properties.file=C:\\Users\\dininski\\AppData\\Roaming\\NetBeans\\7.4\\build.properties 3 | -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/TestApplication/nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/TestApplication/nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | TestApplication 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Research/Sandbox/Java sandbox/TestApplication/src/testapplication/TestApplication.java: -------------------------------------------------------------------------------- 1 | package testapplication; 2 | 3 | import java.math.BigInteger; 4 | import java.util.Scanner; 5 | 6 | public class TestApplication { 7 | public static void main(String args[]) { 8 | 9 | int numbersCount; 10 | BigInteger result; 11 | Scanner scanner = new Scanner(System.in); 12 | numbersCount = scanner.nextInt(); 13 | result = scanner.nextBigInteger(); 14 | 15 | BigInteger currentNumber; 16 | 17 | for (int i = 0; i < numbersCount - 1; i += 1) { 18 | currentNumber = scanner.nextBigInteger(); 19 | result = result.xor(currentNumber); 20 | } 21 | 22 | System.out.println(result); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Research/Sandbox/README.md: -------------------------------------------------------------------------------- 1 | # Sandboxing 2 | 3 | * Chrome sandbox: http://www.chromium.org/developers/design-documents/sandbox 4 | * Create low-integrity process in C# (CSCreateLowIntegrityProcess): https://code.msdn.microsoft.com/windowsapps/CSCreateLowIntegrityProcess-d7cb5e4d 5 | -------------------------------------------------------------------------------- /Research/Sandbox/Software/AsproLock.v0504.src/AsproLock/AccessControl/ShareRights.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Asprosys.Security.AccessControl 4 | { 5 | public enum ShareRights 6 | { 7 | FileRead = 1, // user has read access 8 | FileWrite = 2, // user has write access 9 | FileCreate = 4, // user has create access 10 | 11 | Read = StandardRights.Read | FileRead, 12 | Write = StandardRights.Write | FileWrite | FileCreate, 13 | Execute = StandardRights.Execute | FileCreate, 14 | 15 | AllAccess = FileRead | FileWrite | FileCreate | StandardRights.Required 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Research/Sandbox/Software/AsproLock.v0504.src/AsproLock/AccessControl/StandardRights.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Asprosys.Security.AccessControl 6 | { 7 | public enum StandardRights 8 | { 9 | Delete = 0x00010000, 10 | ReadPermissions = 0x00020000, 11 | WritePermissions = 0x00040000, 12 | TakeOwnership = 0x00080000, 13 | Synchronize = 0x00100000, 14 | 15 | Read = ReadPermissions, 16 | Write = ReadPermissions, 17 | Execute = ReadPermissions, 18 | Required = Delete | ReadPermissions | WritePermissions | TakeOwnership, 19 | 20 | All = Delete | ReadPermissions | WritePermissions | TakeOwnership | Synchronize 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Research/Sandbox/Software/AsproLock.v0504.src/AsproLock/AccessControl/WaitObjectRights.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Asprosys.Security.AccessControl 4 | { 5 | [Flags] 6 | public enum WaitObjectRights 7 | { 8 | QueryState = 1, 9 | ModifyState = 2, 10 | 11 | Delete = 0x00010000, 12 | ReadPermissions = 0x00020000, 13 | WritePermissions = 0x00040000, 14 | TakeOwnership = 0x00080000, 15 | Synchronize = 0x00100000, 16 | 17 | Read = StandardRights.Read | QueryState, 18 | Write = StandardRights.Write | ModifyState, 19 | Execute = StandardRights.Execute | Synchronize, 20 | 21 | AllAccess = ModifyState | QueryState | StandardRights.Required | Synchronize 22 | } 23 | } -------------------------------------------------------------------------------- /Research/Sandbox/US-13-Bremer-Mo-Malware-Mo-Problems-Cuckoo-Sandbox-WP.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/US-13-Bremer-Mo-Malware-Mo-Problems-Cuckoo-Sandbox-WP.pdf -------------------------------------------------------------------------------- /Research/Sandbox/bh-eu-13-thes-sandbox-wojtczuk-WP.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/bh-eu-13-thes-sandbox-wojtczuk-WP.pdf -------------------------------------------------------------------------------- /Research/Sandbox/bh-eu-13-thes-sandbox-wojtczuk-slides.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Sandbox/bh-eu-13-thes-sandbox-wojtczuk-slides.pdf -------------------------------------------------------------------------------- /Research/Tools/API Monitor.url: -------------------------------------------------------------------------------- 1 | [{000214A0-0000-0000-C000-000000000046}] 2 | Prop3=19,2 3 | [InternetShortcut] 4 | IDList= 5 | URL=http://www.rohitab.com/apimonitor 6 | -------------------------------------------------------------------------------- /Research/Tools/ApiMonitorApiFilters.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Tools/ApiMonitorApiFilters.xml -------------------------------------------------------------------------------- /Research/Tools/Whoami.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NikolayIT/OpenJudgeSystem/e64527074150c439acdb581392c8cdb76f06eb30/Research/Tools/Whoami.exe --------------------------------------------------------------------------------