Skip to content

Conversation

@pstaabp
Copy link
Member

@pstaabp pstaabp commented Feb 24, 2024

This PR

  • moves database and external program settings in both site.conf and defaults.config to webwork2.mojolicious.yml
  • moves code from database.conf.dist to WeBWorK::DB::Utils
  • loads these settings into the CourseEnvironment.

These settings will be loaded after simple.conf and course.conf so instructors will not be able to override these settings.

Copy link
Member

@drgrice1 drgrice1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a lot of work to be acceptable.

@pstaabp pstaabp force-pushed the remove-database-conf branch 2 times, most recently from 1dfc58e to efc71d0 Compare March 2, 2024 12:31
@pstaabp
Copy link
Member Author

pstaabp commented Mar 2, 2024

This removes all references to dbLayoutName and cases where the dbLayouts hash is used. With this, there is only the standard dbLayout, which is now defined in WeBWorK::DB::Layout.

Also, removed the older style unarchive database archive file. It was unclear when this was last in the codebase, probably > 10 years.

@pstaabp pstaabp force-pushed the remove-database-conf branch 2 times, most recently from 783dbb2 to 2103368 Compare March 22, 2024 11:01
@Alex-Jordan
Copy link
Contributor

Note conflicts here now from a recent merge.

pstaabp added 3 commits March 23, 2024 07:47
This moves database and external program settings to webwork2.mojolicious.yml, moves code from database.conf.dist to
WeBWorK::DB::Utils and load these settings into the CourseEnvironment.
This removes all references to dbLayoutName and cases where the dbLayouts hash is used.

With this, there is only the standard dbLayout, which is now defined in `WeBWorK::DB::Layout`.
@pstaabp pstaabp force-pushed the remove-database-conf branch from 2103368 to 58fa953 Compare March 23, 2024 11:48
@pstaabp
Copy link
Member Author

pstaabp commented Mar 23, 2024

Fixed now.

@pstaabp pstaabp closed this Aug 5, 2025
@pstaabp pstaabp deleted the remove-database-conf branch August 5, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants