summaryrefslogtreecommitdiff
path: root/sqlbox/view.php
AgeCommit message (Collapse)AuthorFilesLines
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-25Fix coding styleBenjamin Franzke1-30/+30
2013-01-25Replace all deprecated error() calls with print_errorBenjamin Franzke1-2/+2
2013-01-25Add settings page for database connectionBenjamin Franzke1-1/+8
2013-01-24Forbid guest-user to do queriesBenjamin Franzke1-0/+7
2013-01-24view.php: Remove unneded commentsBenjamin Franzke1-8/+0
2013-01-24Focus query input box by defaultBenjamin Franzke1-1/+1
2013-01-24Remove comment from newmodule exampleBenjamin Franzke1-2/+0
2013-01-24Show already filed queries.Benjamin Franzke1-5/+13
And if it was correct.
2013-01-24Store user query and if query was correctBenjamin Franzke1-0/+2
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-23sqlbox: Move db_table_from_query to locallib.phpBenjamin Franzke1-18/+2
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 Franzke1-2/+7
2012-11-23sqlbox/view: Put query to table code into own functionBenjamin Franzke1-6/+15
2012-11-22sqlbox: Remove unneeded brackets in class initializationBenjamin Franzke1-1/+1
2012-11-22sqlbox: User html_output::table to show query resultBenjamin Franzke1-12/+9
..instead of own table code.
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 Franzke1-3/+3
Or it clashes with moodle search box.
2012-11-21Change output box border style.Jan Klemkow1-1/+1
2012-11-21sqlbox: Close database connectionBenjamin Franzke1-0/+1
2012-11-21sqlbox: Show query field namesBenjamin Franzke1-0/+4
2012-11-21Add border to output table.Jan Klemkow1-1/+1
2012-11-21Fix wrong td tag.Jan Klemkow1-1/+1
2012-11-21Query output format as table.Jan Klemkow1-2/+7
2012-11-21sqlbox: s/Query/SQL Query/Benjamin Franzke1-1/+1
2012-11-21sqlbox: Remove "Yay! It works!"Benjamin Franzke1-1/+0
2012-11-21sqlbox: Add support for issuing query to databaseBenjamin Franzke1-1/+0
2012-11-21wipBenjamin Franzke1-1/+18
2012-11-21sqlbox/view: Pass page url to formBenjamin Franzke1-2/+1
2012-11-21change data output for debug purpos.Jan Klemkow1-4/+1
2012-11-21Add raw data output.Jan Klemkow1-0/+5
2012-11-20sqlbox: Add a simple form using formslibBenjamin Franzke1-6/+3
2012-11-20Fix multiline string.Jan Klemkow1-1/+1
2012-11-20Add input box for sql string.Jan Klemkow1-0/+7
2012-10-09modify copyright commentJan Klemkow1-1/+1
2012-10-09Rename 'newmodule' into sqlbox in all files.Jan Klemkow1-15/+15
2012-10-09add dummy moduleJan Klemkow1-0/+78