Doenet / DoenetTools

https://www.doenet.org/
15 stars 29 forks source link

refactor database to include folders, combine activities and assignments #2431

Closed dqnykamp closed 2 months ago

dqnykamp commented 2 months ago

This PR is the initial pass at significant refactoring of the backend. The assignments tables are merged into the activities tables, adding flags such as isAssigned to specify that an activity is assigned. Folders are also included in the same table as activities, which is now named content.

The backend apis were rewritten to use this new structure, just enough to get the model tests to pass. Features manipulating folders are still missing. The frontend is unchanged, so is no longer functioning.