8463 Commits

Author SHA1 Message Date
stronk7
4ff402d68e MDL-15181 temporary tables support. No more differences in table_exists() +
implemented temptables store for mysql.
2009-08-31 15:47:46 +00:00
mudrd8mz
ed996ede96 MDL-20191 Subplugins are uninstalled together with the parent plugin
This is a first working implementation I have. I need to so I can
continue with the Workshop development. I think the performance can be
significantly improved here as the location of the subplugins is
evaluated atr least twice, I guess.
2009-08-31 15:23:02 +00:00
stronk7
896a2a916c MDL-17969 mssql (freetds/odbtp) native driver. Both import_record and reset_sequence implemented.
Only session locking support pending.
2009-08-31 14:25:51 +00:00
stronk7
b1ca138716 SQL generators must not execute changes in DB. Just provide the needed SQL
in order to make database_manager to execute it. reset_sequence reimplemented.
2009-08-31 14:23:40 +00:00
samhemelryk
576ace3245 navigation MDL-14632 Fixed Javascript scrolling bug in FF3 2009-08-31 08:27:26 +00:00
jerome
a0a268d5c4 MDL-19763 PHP Fatal Error fix on undefined plain_page() 2009-08-31 07:13:41 +00:00
samhemelryk
b3b3eaced7 navigation MDL-14632 Fixed simpletests after the different tweaking that has gone on 2009-08-31 04:07:51 +00:00
samhemelryk
9da1ec271f navigation MDL-14632 Minor tweaking as suggested on this issue.
* Fixed focus on search closing tab
 * Added spacing to refresh/moveto icons
 * Made all text in navigation tree's expandable
 * Final element on navbar no longer a link
2009-08-31 03:58:17 +00:00
stronk7
be127d7922 MDL-17969 Now defaulting to new mssql native driver instead of adodb one. Yay! 2009-08-30 23:26:23 +00:00
stronk7
18672a3e22 MDL-17969 mssql sql generator. Now works with temptables store and facilities 2009-08-30 23:24:08 +00:00
stronk7
c6ea7fc24e Clean-up some conflicts introduced in my prev commit. 2009-08-30 23:18:24 +00:00
stronk7
f78c21037e MDL-19057 adding some pending bits 2009-08-30 23:04:35 +00:00
stronk7
520b730c56 MDL-17969 mssql (freetds/odbtp) native driver. Passes all the tests but:
- import record
- reset sequence
... so it's a good moment to add it.
2009-08-30 23:00:25 +00:00
stronk7
7a3ade00cd MDL-15181 cross-db temporary tables support. First-cut. 2009-08-30 22:55:45 +00:00
stronk7
38d0db9f31 Concatenating NULLs with anything returns NULL 2009-08-30 20:53:12 +00:00
stronk7
71a71d591b Added more sql_concat tests. MySQL and PG broken :-( Fix coming soon. 2009-08-30 16:01:31 +00:00
skodak
459e384ef2 MDL-14632 fixed forbidden use of Call-time pass-by-reference 2009-08-29 11:15:27 +00:00
stronk7
f906838a4e Added some more tests to temp tables to show current implementation problems in mysql and mssql. Fix coming soon. 2009-08-29 01:17:57 +00:00
stronk7
e4a16bdc88 Delegate prefix subtitution to each db driver to enforce calls to fix_sql_params() everywhere 2009-08-29 00:08:55 +00:00
stronk7
0f887b881e Delete the tweakTempTable() thing used to support temp tables in mssql.
Was hacky and incomplete. Proper solution must be mssql exclusive.
2009-08-28 17:30:18 +00:00
nicolasconnault
21237187fb MDL-19756 Removing badly merged line :p 2009-08-28 12:45:50 +00:00
nicolasconnault
a019627a1a MDL-19756 Fixed bug in output of fields with a label 2009-08-28 11:38:33 +00:00
mudrd8mz
46c6731707 NOBUG: fixed incorect use of $output variable
I propose to use $output variable name for renderer instance only. Also,
this did not work at all as $output was not returned.
2009-08-28 11:34:01 +00:00
stronk7
77abbc47f6 Enforce strict mode in mysqli session in order to get consistent behaviour
in various operations (casting, altering columns...)
2009-08-28 11:17:47 +00:00
nicolasconnault
c1c0cecf3a MDL-14632 Improved the output code of the settings block and fixed typo of toogle to toggle. 2009-08-28 10:28:16 +00:00
samhemelryk
7d2a049292 navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
nicolasconnault
1f1aa44525 MDL-19756 Corrected an incorrect default text for the "cancel" button of a confirm dialog 2009-08-28 08:00:15 +00:00
jerome
ebcc6bd3b5 webservices MDL-12886 "params" parameter has been changed into an object (conform with the web description structure) + clean_params() function filters parameters and throws an exception for any unexpected parameters/malformed parameters 2009-08-28 07:03:03 +00:00
nicolasconnault
319770d747 MDL-19797 Upgraded most output code in grader report 2009-08-28 05:29:05 +00:00
stronk7
c402af03a8 To alter columns back and forth between numeric types and text,
we need upto 3 intermediate alters.
Corolary: MSSQL implicit conversions aren't transitive at all! :-)
2009-08-28 01:19:49 +00:00
stronk7
eb8f775d97 Fix one wrong test. To get defaults applied, new column must be not null. 2009-08-28 01:14:32 +00:00
skodak
d4b5bd4393 MDL-20169 fixed coding style, parameter type required 2009-08-27 19:20:03 +00:00
skodak
92ebcabeb3 MDL-20169 fixed coding style, parameter type required 2009-08-27 19:14:45 +00:00
skodak
622365d2e1 MDL-20169 fixed coding style, parameter type required 2009-08-27 18:37:53 +00:00
stronk7
76b6daf2b2 NOBUG. Add 2 missing fix_sql_params() calls in insert/update_record_raw()
causing named and qm parameters to be mixed in the same query. Curiously,
due to the ordered nature of the qms it wasn't breaking, but was incorrect.
2009-08-27 14:01:28 +00:00
nicolasconnault
5529f787bd MDL-19797 Added callback support to the confirm_dialog function, and to the add_confirm_action() method 2009-08-27 10:12:44 +00:00
poltawski
7e13a2654a lib/setuplib MDL-20166 - Don't abort install on nginx webserver
Thanks to Jordan for the patch. Jordan has done testing and found nginx
seems to work and is planning to do more extensive testing to alert us of
other problems along the way.
2009-08-27 07:52:11 +00:00
nicolasconnault
9c48f05caf MDL-19799 Silencing annoying debugging error for popup_form use 2009-08-27 06:38:17 +00:00
stronk7
e871fb87bb workarround MSSQL (RDBMS) bug with float types. Not important as far as
we don't use floats within Moodle, but XMLDB layer supports them.
2009-08-25 21:06:14 +00:00
stronk7
0e4a719b15 fix sql_substr() behaviour 2009-08-25 20:39:00 +00:00
tjhunt
2c5ec833bc outputlib MDL-20103 neater version of Jerome's fix. 2009-08-25 19:09:04 +00:00
stronk7
d60a7bc20f Buggy ADOdb was returning PKs in the list of indexes. Look for it in information schema and extract from results. 2009-08-25 18:52:36 +00:00
stronk7
2ef655beac Fix get_columns() for mssql adodb driver by custom-implementing it.
This implementation should be the used one in native drivers.
2009-08-25 17:41:10 +00:00
nicolasconnault
54a007e8f6 MDL-19797 Optimising output code for the Edit grades categories and items interface 2009-08-25 07:31:13 +00:00
jerome
fbe52a393f webservice MDL-12886 refactor web service description + implement clean_function_params() function 2009-08-25 05:35:59 +00:00
nicolasconnault
1c1f64a2a6 MDL-19797 Optimising output code and JS/CSS requires. Also improved CSS for grader report 2009-08-24 15:10:36 +00:00
poltawski
d836aa4b4f lib/blocklib: MDL-20146 - Don't mask errors as a way to ignore missing code files
Instead of simply ignoring all errors from blocks, allow the errors to be
exposed and test if the file exists. The previous solution makes it very
hard to debug problems with blocks and gives the 'white screen of death' even
with debugging set as high as it can go.

Also ensure that blocks without code are not added to the list of instances,
as I assume was the intended behaviour.
2009-08-22 11:24:39 +00:00
nicolasconnault
12f11f232a MDL-19799 Switched $_helpbutton to public members 2009-08-21 00:15:19 +00:00
nicolasconnault
3bd6b994fc MDL-19799 Upgraded calls to link_to_popup_window() 2009-08-20 13:18:08 +00:00
nicolasconnault
642816a60c MDL-19799 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:50:50 +00:00