Skip to content

Releases: ReCodEx/api

v1.13.2

20 Dec 07:40
Compare
Choose a tag to compare

Changelog

  • Fixing exercise tests saving which was causing deadlocks in database
  • Fix division by zero in score calculator

Commits

26865f6 Bugfix: division by zero in SimpleScoreCalculator
1668dc6 Fixing transaction processing to avoid TX aborts caused by deadlocks.

v1.13.1

12 Dec 20:30
Compare
Choose a tag to compare

Changelog

  • All files given to presubmit must be used within evaluation
  • Remove python compilation box
  • Allowing editing solutionCommentsEmails option from user settings
  • Implementing CoW for exercise tests (and updating GC to clean abandoned tests)
  • Fixing assignment deadline notifications so that hidden assignments are not considered
  • Fixing Java compilation
  • Updating permission so regular teachers may resubmit ref. solutions for the same exercises for which they can submit ref. solutions of their own
  • Preventing execution and judge boxes to be optimized
  • Many bug fixes and misc tweaks.

Commits

2a69fdf Merge branch 'python-compilation'
1128f04 Tying up loose ends...
a133e82 Updating permission so regular teachers may resubmit ref. solutions for the same exercises for which they can submit ref. solutions of their own.
9383fab Preventing execution boxes to be optimized.
112cd5a Fixing Java compilation.
f9865d6 Fixing bug in ORM mapping of supplementary exercise files (luckily, no need for migration).
8e7d129 Polishing code.
4ba6221 Output also *.py files from python compilation, some of the python libraries need source files during execution
a170cbf Fixing assignment deadline notifications so that hidden assignments are not considered. The parametrization of the command was slightly modified.
8e96782 Implementing CoW for exercise tests (and updating GC to clean abandoned tests).
9973cd7 Convert assignment student hint to text (from varchar).
69ae4cb Allowing editing new user settings flat (solutionCommentsEmails).
ff28b55 Remove python compilation box, pipeline and update configurations accordingly
226e041 Add test to not all matched files for exercise config helper getEnvironmentsForFiles method
75b0773 All files given to presubmit must be used within evaluation

v1.13.0

26 Nov 23:12
Compare
Choose a tag to compare

Changelog

  • Grand compilation optimization. The job config passed to the worker (which is compiled from the exercise configuration and actually submitted solution) is now much more optimized. Mainly, this means that the solution is not compiled multiple times unless really necessary.
  • Sending email notifications when new comment is added to solution.
  • General notifications implemented.
  • Many bug fixes and misc tweaks.

Commits

cd4ae43 Repair python compilation and run box, entry point has to point to compiled pyc files
0678ed4 Input variables which does not have output box, have to have proper directory set in DirectoriesResolver
cc01053 Repair broken BaseCompiler tests
d8d3698 Set outputted class files from JavaCompilationBox in form of wildcards.
998d1ef Internal copy boxes copies files into directories, because there is no need for renaming. Class files wildcard added to java compilation box.
82d6866 Bugfix: Properly set pyc files into variable in python compilation
b0d0774 Better composition of comment texts in exercise config compilation
9f1a535 Gentle touches in exercise config optimisation
0fcfb2f Bugfix: if output variable in copy file is empty, fill it with input variable value
4829f90 Repair test after rebase with master
317bf46 Hack my way thru a bit of pickle with variables in optimisation.
d01ddf1 Proper dependencies management in boxes optimizer
f8aa12a Repair BaseCompiler tests and discovered bugs in compilation
1f3bd34 Introduce new way of sorting nodes during exercise config compilation
c58dd12 Reflect changes in optimisation and appropriate structures after merging with master
ab9d471 Repair and improve DirectoriesResolver tests after its reimplementation
8d38265 Introduce new internal directory for boxes which should not be used by regular pipeline users
f49b1c1 New implementation of copy boxes and their engagement in directories resolver
2d3d74d Remove redundant fatal failure flag on compilation boxes
950db60 Implementation of finding proper name for directory during exercise config compilation and on top of that resolving copy tasks between directories.
7b7c9bb Order number in compilation is now used only for identification. Therefore it can start at zero and rise up
f627365 Remove current test name from compilation parameters
cf99ab8 Move directory property from Node to Box structure. Add category property to the Box structure
838b63c Redesing base directories resolver
deecdd2 Add directory property to the exercise compilation node structure
a0d09c0 Rather complex test for boxes optimisation. Discovered bugfixes included
8f7449f Simple tests for BoxesOptimizer
e7a983d Base optimisation logic
7f134b2 Change processing interface of exercise config optimisation
966d3d5 Base description of optimisation
7aa8eed Rename TestDirectoriesResolver to DirectoriesResolver. Rename testName in Variable to directory which is more appropriate in this context
2c87a16 Default notifications endpoint restructured with optional groupsIds parameter
641aceb Tweaks of notifications permission and other stuff
6c8954c Notification presenter tests
5ae3668 Notifications presenter implementation
413fee6 New LocalizedNotification entity and appropriate migration
717ec4b Make Roles independent generated class which holds roles hierarchy loaded from permission configuration
042460f Base presenter and permissions for notifications
4f6a664 Introduce new Notification entity
29a00f8 State true reason after YAML parser betrayal and other proper messages in exceptions.
ccad3b7 Bugfix: filter properly users which should receive comments notifications
9f453ec Do not store downloaded result zip files in memory
71d7885 Add text of the comment into solution comments email notification
93eeba0 Some gentle touches regarding solution comments email helper
2f38750 s/recodex.cz/recodex.mff.cuni.cz/g
f790820 Tests of comments presenter and sending of email notifications
9d34b3c Implement sending emails when new comment is added to AssignmentSolution or ReferenceSolution
1590939 Add solutionCommentsEmails flag to user settings entity and generate appropriate migration
7938390 Adding version validation for shadow assignments.
2597a73 Removing createdFrom ID from localized entities serializations.
4b119d2 Bugfix: set exercise.configurationType properly on forking of exercise
9bf580d Adding shadow assignments IDs to group view.

v1.12.3

21 Oct 20:07
Compare
Choose a tag to compare

Changelog

  • Adding endpoint for deleting pipeline file, fixing overriding for uploaded pipeline files.
  • Allowing library and object files to be passed as extra files to GCC compilation.
  • Modifying role detection algorithm for CAS registration.

Commits

8e643ca Adding endpoint for deleting pipeline supplementary file.
57746fa Make sure that a pipeline file gets replaced when a file of the same name is uploaded.
8f83925 Adding extensions of object files and libraries to GCC file filter.
1af572d Fixing immediate problems with role verification in login. The verification is now preformed in registration only.

v1.12.2

14 Oct 16:43
Compare
Choose a tag to compare

Changelog

  • Detect properly student and staff role from CAS given information
  • Filter input files of gcc/g++ compilation command, so that only sources and not headers are included
  • Making API more robust when some part of the localized text is not provided in parameters.
  • Change Python execution command to /usr/bin/env python3

Commits

417c9cc Fixing Python compilation to achieve having multiple versions at the hosts.
6e33cfc Make gcc/gpp compilation box more efficient by keeping only c, cc, and cpp files on the command line.
04dad05 Merge pull request #254 from ReCodEx/robust-localization
06e9f22 Making API more robust when some part of the localized text is not provided in parameters.
084a7ee Update CAS affiliation role detector.

v1.12.1

09 Oct 23:01
43ef4ed
Compare
Choose a tag to compare

Changelog

  • Pipeline modifications and extensions required to accommodate bison and flex compiler tools (required by advanced exercises).
  • Bug fixes.

Commits

1bbd165 Cleanup.
0d9d778 Fixing bug in Bison Box.
623cc68 Fixing an issue with exercise config checker.
9819463 Fixing some bugs.
e6bdb63 Adding custom box for Bison compilation.
b57a705 Fixing group loading to correctly reflect inherited admin rights.
af11352 Fixing bugs in class hierarchy design and static variables initialization.
5e82f10 Redesigned way of assembling custom compilation args (using special conversion boxes).
cef3714 Adding custom compilation box.

v1.12.0

30 Sep 22:42
Compare
Choose a tag to compare

Changelog

  • Updating SIS extension to new SIS API (now returning also non-scheduled courses)
  • Grand cleanup of endpoints returning groups.
  • Fixing multiple bugs and permissions issues.

Commits

3b1cb9e Small adjustment in sis terms presentation.
c5da169 Fixing bug in groups default endpoint filtering.
5c22971 Add room information into the SIS course record.
4e0670f Fixing SIS extensions to support SIS courses events which are not scheduled (do not have day, time, or room filled).
0b12cf6 Adding two file-merging boxes.
732d8fe Fixing bug in ancestral closure.
9051888 Grand cleanup in groups endpoints. Instances groups endpoint and all groups endpoints removed, default groups endpoint updated to support filters.
5c3c1a6 Breaking some lines.
2482710 Fixing permissions for archived groups. Only empowered supervisor who is admin of a group can archive it. Only supervisors may visit the archive at the moment.
a603eed Fixing bug in SQL collation injection.

v1.11.0

16 Sep 10:44
Compare
Choose a tag to compare

Changelog

  • Adding an endpoint to retrieve a list of group's shadow assignments
  • Modify implementation of ExerciseConfigHelper to reflect recent changes, which allows more pipelines with same identification in test configuration
  • Universal pipelines are now distinguished by not having any author
  • Refactoring

Commits

7de36c3 Adding an endpoint to retrieve a list of group's shadow assignments.
0650d28 Refactoring of for cycles to foreach in ExerciseConfig Helper and alike
9c0a485 Make ExerciseConfig tests happy and in the process modify code accordingly
836f781 Modify implementation of ExerciseConfigHelper to reflect recent changes, which allows more pipelines with same identification in test configuration.
2936af1 Introduce pipelines entity and configuration cache
dbadae6 Remove identification of pipeline from Environment structure
8b32acd Rename PipelineVars->name to id, which is more appropriate to its content
10d941f Universal pipelines are now distinguished by not having any author.
116a9e6 Fixing a typo that caused a bug.

v1.10.1

19 Aug 15:14
Compare
Choose a tag to compare

Changelog

  • Changing the judge log database column to text and cropping added just to be sure
  • Adding endpoint for setting the isAllowed flag of a user
  • ACL: user cannot allow/disallow hir own account
  • Remove java-jars hack and add jar files as a port to java boxes
  • Debugging features added to email helper
  • Proper handling of job config generation failure in reference solutions submit endpoints
  • Various bugfixes especially in exercise config compilation
  • Added new bugs

Commits

3d0a2cf Remove obsolete group["canView"] flag
ad58cdc Bugfix: proper handling of job config generation failure in reference solutions submit endpoints
41657e9 Bugfix: when variable is empty, then empty array should be returned in 'asArray' functions, for scalar variables this was not true
ebaca19 Fixing bug in assignment update. Refactoring.
217badd Debugging features added to email helper.
88b324a Change JavaUtilsTrait to simple statical helper. More clearer variable in java-jars migration
37dae30 Update adminer database manager
6af9675 Export current database initial state
3a95eb6 Bugfix: input nodes in variables resolver have to count with the possibility of having multiple children
332517e Remove java-jars hack and add jar files as a port to java boxes
1b98c1f Small ACL check patch (user cannot allow/disallow hir own account).
7cc214d Adding endpoint for setting the isAllowed flag of a user (#237)
4a30dc5 Changing the judge log database column to text and cropping added just to be sure.

v1.10.0

10 Aug 13:54
Compare
Choose a tag to compare

Changelog

  • Shadow assignments implemented. Special assignments where users do not submit anything and teachers may assign points explicitly. Similar to global bonus points in old CodEx.
  • New roles supervisor-student (those who both teach and study) and empowered-supervisor (more powerful teacher who would be able to create custom exercise configurations with private pipelines).
  • Supervisor can see private data of all students. Supervisor-student can see only private data of students he/she teaches and cannot add students to group manually.
  • Endpoints for deleting submissions (evaluations) of regular and reference solutions added.
  • Exercises and pipelines are in many-to-many relation now.
  • Users may belong to multiple instances.
  • Users may have one local login at most. Improving checks and security regarding credentials creation.
  • Python runner added to wrap execution of Python solutions. It catches errors and set appropriate exit codes.
  • Many bug fixes, especially in ACL and user handling.

Commits

a4bd4d9 Moving user anonymization features into separate helper and making it configurable.
de2e068 Merge branch 'master' of https://github.com/ReCodEx/api into another-acl-fix
41aa2c9 Fix: throw irreversible migration in python runner migration
e2e24d5 Bugfix: files in fetch boxes do not have to be renamed.
242bffe Apply pipelines migration to usage of python runner
ce53070 Add python runner to the python execution box
dc0c4f5 Make sure account credentials are removed when a user is soft-deleted.
3aa1a41 Student-supervisor cannot add another supervisor to group (since the role does not have permissions to see all users).
6dc682e Merge pull request #233 from ReCodEx/fix-users-acl
b009189 Fixing ACLs for users.
97e7f7d Use proper objects creation with parenthesis
cc4a34c Merge pull request #231 from ReCodEx/fixing-bugs
e38f0e2 Fixing a bug that solution entity is not up to date in (re)submit response.
d4bde02 Fixing solution submit to return both new submission and solution.
6c139c7 Reference solution view includes exerciseId now.
7221a07 Merge pull request #229 from ReCodEx/standalone-bonus-points
5755d40 Unique index on ShadowAssignmentPoints over awardee and shadowAssignment columns
b34898e Another round of evaluation->points renaming.
149236f Local registration searches for the email only in logins. Local account cannot be created if email is not verified
91bee73 Security feature: Improve checks of local login passwords.
2a2191d User has only one local login. This makes it easier to manage and work with.
78fc26b Rename ShadowAssignmentEvaluation to ShadowAssignmentPoints and all alike structures.
7ec33a3 Rename IAssignment to AssignmentBase and merge base functionality from Assignment and ShadowAssignment.
1a54e7f Rename ShadowAssignment factory function. Better sum of the points in group->getMaxPoints()
ffa241c Test for ShadowAssignments presenter and appropriate changes
54e1275 Migration of ShadowAssignment and ShadowAssignmentEvaluation
33803c7 LocalizedShadowAssignment entity created, appropriate changes done. ShadowAssignmentEvaluation has new date items.
5f6c8b7 Endpoints concerning manipulation with ShadowAssignmentEvaluation entities
d4abf5e Add evaluatee user to ShadowAssignmentEvaluation entity. Endpoint for details of evaluation added.
45e68a5 ShadowAssignmentEvaluation permissions and basic action for getting all evaluations for shadow assignment
269d6c8 Create and Delete action for ShadowAssignments
dd3d7ee IAssignment interface and sending proper emails for ShadowAssignments
989226e VersionableEntity trait
f898ff1 Merge pull request #227 from ReCodEx/new-roles
aa8abe3 Cleanups and name clarifications.
7484378 Update action of ShadowAssignment
8d19682 View detail of ShadowAssignment action. Appropriate infrastructure of permissions and views done for the shadow assignments
957cbaa Implementation of sum of points for students statistics. ShadowAssignmentEvaluation added author column.
3b10bd4 Shadow assignment repositories
627e073 ShadowAssignment and alike structures for assigning points to students
9747f9e Merge pull request #228 from ReCodEx/delete-evaluation
83bb3d4 Improving name of empowered supervisor.
06928bc Many2many exercise pipelines (#226)
78edf55 Endpoints for deleting submissions (evaluations) of regular and reference solutions added.
5cfb9cf New roles added and set role endpoint properly registered.
0214e9d Fixing comment.
feb112e Merge pull request #225 from ReCodEx/supervisor-can-see-student-detail
ceb1c9c Supervisor can see private data of students in supervised groups.
2300c4e Pagination improvements (#224)
7f447ee Recodex judge (#223)
a71ef44 Bugfix: forgotten getValues()
600b67a Merge branch 'master' into pagination-demo
8abbcb0 User can belong to multiple instances (#198)