The quiz module development group

Events happening in the community are now at Drupal community events on www.drupal.org.
westwesterson's picture

I have created this group as an idea group for the quiz module. I hope to toss around new ideas and see what people think about the future of the quiz module (past quiz 2.0 which should be coming relatively soon.) I thought it best to start out the group with a list of ideas that I have had for further development in this module. I have created the list as a wiki page, and I hope that people add their awesome ideas to it. (Please keep the core focus of the quiz module as robust for as many people as possible in mind.)
http://groups.drupal.org/node/7412

Thanks again, looking forward to everyones awesome ideas.

Comments

Porting to PostgreSQL

miccil's picture

Hi all,
I'm working on PostgreSQL port of quiz module.
I started from HEAD version (December 19, 2007 - 14:06) downloaded from http://drupal.org/node/95631.
I completed following tasks:

  • Updated quiz.install
  • Updated multichoice.install
  • Updated multichoice.module (changed IFNULL to COALESCE in 1 place)
  • Updated quiz.module (added AS keyword for column alias and other small fixes)

Now I'm testing my modification and all seem to work, but I need more test for confirm it.
If someone is interested I can send my work.

My development environment is:
Client and deveoping platform: Windows XP Sp2
Server platform: PostgreSQL 8.0.13 on Gentoo Linux

Great Job!

westwesterson's picture

sounds like you've made some progress, i can test to make sure it still works in mysql. You should post your changes in the issue queue and link to it here, so that people can see what you are doing. I'm sure postgre sql support will make a lot of people happy. You may want to check out the work being done on the update feature (it is currently a patch, but will be included in the quiz 2.0 release) as this will be important to have true postgre sql support as well.

PostgreSQL patch

miccil's picture

I added my patch into the issue queue.
You can find it at http://drupal.org/node/180270#comment-676851
I'll check out update feature for porting it to PostgreSQL.

i have committed the update

westwesterson's picture

i have committed the update feature for mysql, have you had a chance to look at the update feature for postgresql?

PostgreSQL update feature almost ready

miccil's picture

I have ported db schema part of update feature to pgsql.
Now I'm looking for porting data part.
In particular I'm watching for sequences table part:
in pgsql port there isn't a sequences table but I think that I must update
sequence for new table created in schema part of update feature for
matching max value of the associated sequence column.
I'm right?

While this sounds right, i

westwesterson's picture

While this sounds right, i don't have a pgsql system to test this theory. Give it a try, see what happens, sounds like it works, I'm afraid i'm not much help with pgsql at the moment.

Patch posted

miccil's picture

I have posted pgsql update feature patch into update feature issue queue.
Anyway I have tested quiz 5.x 1.1 with pgsql but it doesn't work.
There are many failing DDL, so I think that noone has a drupal pgsql install
with quiz module.
In any case the patch is there.

This has been committed

westwesterson's picture

This has been committed

Quiz

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: