summaryrefslogtreecommitdiff
path: root/sqlbox
AgeCommit message (Collapse)AuthorFilesLines
2013-01-27Add link to view all resultsBenjamin Franzke1-0/+5
2013-01-27reportall: Order results by idBenjamin Franzke1-2/+2
2013-01-26Move KAPV schema out of the sqlbox moduleBenjamin Franzke1-130/+0
2013-01-26Revert "Put queries into a transaction and rollback after user query"Benjamin Franzke1-6/+0
This reverts commit f670f9aaa9e333b8d66309729bce7a8ff94f3960. Doesnt work...
2013-01-26db_table_from_query: Fix array_fill if no columns were returnedBenjamin Franzke1-1/+1
2013-01-26Put queries into a transaction and rollback after user queryBenjamin Franzke1-0/+6
So that users cannot change the database. This has the disadvantage, that we cant have tests where user has to insert stuff.
2013-01-25reportall: Indicate whether a user did a query at all or notBenjamin Franzke1-1/+1
2013-01-25mod_form: Hide example settingsBenjamin Franzke1-1/+2
2013-01-25Fix coding styleBenjamin Franzke6-60/+59
2013-01-25Replace all deprecated error() calls with print_errorBenjamin Franzke5-5/+6
2013-01-25Use print_error function for query error displayBenjamin Franzke3-2/+5
2013-01-25Silence pg_query errors from php itselfBenjamin Franzke1-1/+1
2013-01-25Add settings page for database connectionBenjamin Franzke3-2/+23
2013-01-25lang: Add description for readqueriesBenjamin Franzke1-0/+1
2013-01-25lang: Fix typo for addinstanceBenjamin Franzke1-1/+1
2013-01-25reportall: Dont show guestuserBenjamin Franzke1-0/+3
Since we forbid guests to query..
2013-01-24Add reportall to display tests results for all users..Benjamin Franzke1-0/+59
2013-01-24Forbid guest-user to do queriesBenjamin Franzke1-0/+7
2013-01-24report: Query only needed fields and generate values in SQLBenjamin Franzke1-11/+11
So concat firstname and lastname and substitude correctness with a utf-8 character representing false or true. Also always display table header.
2013-01-24view.php: Remove unneded commentsBenjamin Franzke1-8/+0
2013-01-24Add report of queries for a sqlboxBenjamin Franzke5-1/+71
2013-01-24add sqlbox logoJan Klemkow2-0/+0
2013-01-24Focus query input box by defaultBenjamin Franzke1-1/+1
2013-01-24Remove comment from newmodule exampleBenjamin Franzke1-2/+0
2013-01-24Remove dummy file fooBenjamin Franzke1-0/+0
2013-01-24Add required capability addinstanceBenjamin Franzke3-1/+14
2013-01-24Add custom iconBenjamin Franzke2-0/+0
From: http://sysoptic.files.wordpress.com/2012/03/gnome_terminal.png
2013-01-24Show already filed queries.Benjamin Franzke2-5/+18
And if it was correct.
2013-01-24locallib: Remove unneded includeBenjamin Franzke1-1/+0
2013-01-24Store user query and if query was correctBenjamin Franzke5-2/+85
2012-11-24sqlbox: Print query only if one was suppliedBenjamin Franzke1-1/+1
2012-11-23sqlbox/view: Fix missing $ in db connection checkBenjamin Franzke1-1/+1
The default error_reporting of moodle, made that this programming error wasnt found earlier.
2012-11-23sqlbox: Fix incorrect call to old name of table_from_queryBenjamin Franzke1-1/+1
2012-11-23Add KAPV example database.Jan Klemkow1-0/+130
2012-11-23sqlbox: Move db_table_from_query to locallib.phpBenjamin Franzke2-18/+19
2012-11-23sqlbox/view: Check against example query only if availableBenjamin Franzke1-2/+9
2012-11-23sqlbox: Compare user query results from a definable queryBenjamin Franzke5-5/+25
2012-11-23sqlbox/view: Put query to table code into own functionBenjamin Franzke1-6/+15
2012-11-23sqlbox: Set version to 22th November 2012Benjamin Franzke1-2/+1
2012-11-23Merge branch 'master' of ssh://git.bnfr.net/git/sqltutor-pluginBenjamin Franzke5-5/+51
2012-11-22sqlbox: Remove unneeded brackets in class initializationBenjamin Franzke2-2/+2
2012-11-22sqlbox: Fix plural nameBenjamin Franzke1-1/+1
2012-11-22sqlbox: User html_output::table to show query resultBenjamin Franzke1-12/+9
..instead of own table code.
2012-11-22sqlbox/index.php: Fix incorrect links to view.phpBenjamin Franzke1-2/+3
2012-11-22sqlbox/index.php: Initialize $table as html_tableBenjamin Franzke1-0/+1
2012-11-21sqlbox: Display error messageBenjamin Franzke1-1/+1
2012-11-21Revert "Add additional error string from database."Benjamin Franzke1-4/+1
This reverts commit 0b3e94f02d5c4cfcfb93a90896881652eceafc55.
2012-11-21Add additional error string from database.Jan Klemkow1-1/+4
2012-11-21sqlbox: Add prefixes to formBenjamin Franzke2-6/+6
Or it clashes with moodle search box.
2012-11-21Change output box border style.Jan Klemkow1-1/+1