Coder Social home page Coder Social logo

zubriq / codelearn Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 4.28 MB

An application automating the creation of programming assignments to ease teachers' workload and enable students to practice across various programming courses.

C# 58.20% Dockerfile 0.14% JavaScript 0.23% HTML 0.05% TypeScript 41.36% CSS 0.02%
dotnet react tailwindcss vite cors mssql csharp typescript docker domain-driven-design cqrs clean-architecture fluent-validation shadcn-ui pnpm rabbitmq masstransit quartz webapp fluent-api

codelearn's People

Contributors

blockin90 avatar zubriq avatar

Stargazers

 avatar

Watchers

 avatar

codelearn's Issues

Реализовать новые варианты тестов

система должна поддерживать следующие варианты тестирования:

  1. написание методов, у которых проверяется возвращаемое значение
  2. написание кода, у которого анализируется вывод в консоль (перенаправить поток вывода консоли в другой поток и его анализировать Console.SetOut ( ... ) )
  3. написание кода, который вызывается другим кодом. Т.е. студент пишет или метод, или просто блок кода, он куда то вставляется, и потом вызывается. Т.е. преподаватель пишет часть внешнего кода сам, какой-то контекст, в котором будет выполняться код студента.

Добавить возможность сохранения имени пользователя при входе

На форме логина добавить галочку "Сохранить имя пользователя", при нажатии на которую, в случае успешного входа, будет сохранен логин пользователя в конфиге и вкладка на которой он авторизовался (учитель или студент), и при повторном открытии формы, восстановит состояние галочки + имя пользователя + нужная вкладка входа будет сразу активна.

Пример работы с конфигурацией (с сохранением настроек в AppData):

            //инициализация ConfigurationManager
            var userConfig = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.PerUserRoamingAndLocal);
            ExeConfigurationFileMap fileMap = new ExeConfigurationFileMap();
            fileMap.ExeConfigFilename = userConfig.FilePath;
            Configuration configuration = ConfigurationManager.OpenMappedExeConfiguration(fileMap, ConfigurationUserLevel.None);
            KeyValueConfigurationCollection settings = configuration.AppSettings.Settings;

           //добавление новых пользовательских настроек
            settings.Add("lastUser", "testUser");
            configuration.Save(ConfigurationSaveMode.Modified);

           //чтение настроек
           var lastUsr = settings["lastUser"]?.Value;

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.