Changelog
- Merging supplementary and attachment files into exercise files (attachment files are deprecated, will be removed in the future); making corresponding modifications in endpoint names and view properties
- Creating exercise file links as a replacement for attachment files and injecting key->fileId translations into assignment and exercise views
- Enabling partial assignment sync from the exercise
- Adding cookie-based authentication to simplify ACL checking for in-browser file downloads
- Improvements in input validation and swagger generation of OpenAPI documentation, deprecated endpoints are now duly marked
- Dependency upgrades, new Adminer version
Commits
3559872 #! v2.19.0
c9e9cf3 Fixing bug -- deleted assignments now remove their scheduled mail notification (async jobs).
df1b82d Improving swagger OAPI generator to mark deprecated endpoint and generating new swagger specification.
8ddfc68 Fixing exercise files cleanup command so that linked files are not deleted.
9470e51 Fixing problem with exercise file links removal during exercise-assignment sync.
c3cb8a6 Fixing detection in changes of exercise-assignment file links for sync indication.
326de66 Moving updates of localized texts of an assignment to a separate endpoint. Student hints remain in the update-detail.
027e166 Adding test for partial assignment sync.
514a396 Enabling partial assignment sync from the exercise.
651f0bd Adding checks to key input for create/update exercise file link endpoints.
5f10fc0 Fixing annotations for UUID values in endpoints.
8664556 Adding cookie-based authentication (as configurable option) so the files can be properly downloaded via links even when authentication is required.
134f895 Creating a command for attachment files conversion.
effd7d2 Updating tests to check for proper file link duplication/updates, when triggered by exercise/assignment updates.
4cb231b Adding tests for new download (via link) endpoints and fixing related bugs in the process.
88cf597 Adding tests for basic CRUD operations on exercise file links.
3909e11 Updating tests to cover latest changes in views, fixing bugs.
fdabf29 Updating exercise file link interactions with other entities and updating exercise file replacements (to correctly preserve links).
a80cf13 Adding key-fileId mapping (from exercise file links) to exercise and assignment views, so the texts can be properly augmented at client side. Deprecating old supplementary and attachment file items in the view entities.
a23c462 Implementing endpoints for exercise file links manipulation.
c1bcb92 Properly copying exercise file links when assignment is created or file is cloned.
1c9ea57 Improving exercise links and generating migration.
f3b874f Removing isPublic flag from uploaded file entity. Access to files will be ensured by file links.
6c76069 Adding exercise file link entity and repository in model.
a36d07f Removing previous modification of uploaded file (external links need a separate entity). Marking deprecated entry points.
65308f2 Adding optional random-generated IDs for anonymous access to uploaded files.
699ff28 Renaming supplementary files to exercise files (preparing for supplementary/attachment files unification).
2c420a9 Fixing bug created by doctrine upgrade.
84ed606 Fixing adminer.
599e665 Final polishing. Changing names of some not-frequently used commands.
25b09cd Updating swagger dependency, re-generating OpenAPI specification.
496451d Upgrading PHPStan and fixing newly discovered issues.
70d58bd Performing minor dependency updates, fixing configuration and command specifications accordingly.
03a947a Fixing ID declarations (VString => VUuid).
7d9f105 Making sure the input properties are validated before ACL check method is invoked (so ACLs are checked on validated inputs).