Basically, I have a few projects that are mature enough (i believe) to go into quiz head.
This patch will take care of the following:
* major code standards update
i ran the module through coder and fixed all the code so that ahears to coder standards, this should make the eventual move to drupal 6.0 easier. There was pretty much at least one fix on every file of the module, including the much needed $Id$ tags on the .install files.
* #175568 quiz_update_N function and multichoice_update_N have been fleshed out more.
this will help facilitate the upgrade from v 1.1. Basically the only work that needs to be done is on the upgrade is unserializing quiz 1.1 data to store it in the table in the present schema which is a more 'views friendly' schema. New data is unaffected.
* #88695 views has been implemented.
If the views module is installed, it will enable you to create views with quiz data which is sortable, and filterable. It also creates a default view for quiz results which replaces the current quiz results with a more editable one. Without views installed, this has no effect. On an additional note, quiz views is fully translatable.
All of this stuff has been thoroughly tested, and it works perfectly on a fresh install of the quiz module HEAD. And The update_N patch is really close to being there too for upgrades from quiz 1.1.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | big quiz update_1.patch | 70.93 KB | westwesterson |
| #1 | big quiz update_0.patch | 69.57 KB | westwesterson |
| big quiz update.patch | 44.15 KB | westwesterson |
Comments
Comment #1
westwesterson commentedThis is another big upgrade.
Big changes to the admin interface.
Now you can disable always available, or make all (new) quizzes always available. issue #177087
This is enabled through the config window.
Made the admin interface prettier, and if you disable features, you see the changes on the admin interface too.
Updated the custom quiz name functionality, it now knows when to capitalize itself or not. (and does it automatically, if your 'quiz name' is capitalized.
Also added support for a seperate plural quiz name.
Updated option results on edit/add quiz interface.
Now adding a new result is more straightforward, thanks to all options for one result in a named box.
Made configure quiz text more accurate to the quiz module.
And tons of other little fixes.
Comment #2
westwesterson commentedThis is a minor update to the great big patch. I have upgraded some of the Quiz help page to talk more about permissions.
Comment #3
westwesterson commentedThis is a minor update to the great big patch. I have upgraded some of the Quiz help page to talk more about permissions.
Comment #4
webchickHi. Please do not mark your own patches ready to be committed. Even the simplest change should have another set of eyes on it, and a 71K patch *definitely* needs another set of eyes on it. ;)
Comment #5
webchickHm. On visual inspection, and in reading the full issue, the extent of the changes in this patch are massive. We need these changes split up into different patches, or they'll be impossible to review and may introduce more bugs.
I'd suggest the following:
a) Patch that runs the module through Coder. Very easy to review on visual inspection, and could go in quickly.
b) hook_update_N fixes patch (issue already exists)
c) Views integration (issue already exists)
d) Admin interface changes (these will probably need more extensive review)
e) Text customizations (this looks like a hack to me)
Marking this "won't fix", sorry. We can't be committing massive patches with far-reaching changes.