8678 Commits

Author SHA1 Message Date
mudrd8mz
9959a91565 NOBUG: Fixed incorrect use of $OUTPUT, leading to empty page instead of an error message 2009-09-02 22:04:32 +00:00
jerome
46b02712fd web services MDL-12886 ws params: when the algo cleans a list of param, only the first element of the list is cleaned (fixed) + web service description includes service name 2009-09-02 07:19:26 +00:00
samhemelryk
72b3485eab navigation MDL-14632 Fixed navbar bug whereby if no active pages were found in either navigation or settings
`home` was not added to the navbar
2009-09-02 07:08:33 +00:00
jerome
b3d58bceb9 web services MDL-12886 ws params: objects into an object were not cleaned, neither documented 2009-09-02 03:58:09 +00:00
stronk7
6d682bae11 MDL-17969 mssql (freetds/odbtp) native driver. Now supporting DB sessions
with proper locking.
2009-09-01 16:31:09 +00:00
mudrd8mz
0b634d752d NOBUG: Fixed confirm() - two buttons "Yes" were displayed
Also, I change the default labels to Continue/Cancel. It is not good for
UI consistency to have Yes/No is string URL is passed and
Continue/Cancel if moodle_url is passed.
Removing the check against empty button->text as it has always the
default value "Yes".
2009-09-01 14:15:49 +00:00
skodak
2138244c03 MDL-20191 more plugin uninstall cleanup and improvements 2009-09-01 09:26:43 +00:00
skodak
0db7ba9577 MDL-20196 improved plugin_supports() for all plugin types 2009-09-01 08:46:16 +00:00
skodak
6759ad2f93 fixed whitespace 2009-09-01 08:39:55 +00:00
skodak
f5a08da4c5 MDL-20196 improved plugin_supports() for all plugin types 2009-09-01 08:39:01 +00:00
samhemelryk
a4397489c1 navigation MDL-14632 Fixed bug with deprecated build_navigation function 2009-09-01 04:13:00 +00:00
samhemelryk
e120c61d24 navigation MDL-14632 Deprecate print_header menu argument and provide PAGE method 2009-09-01 03:47:07 +00:00
samhemelryk
fff23fcd86 navigation MDL-14632 Fixed minor regressions for recent patches
* Search field now takes input again
 * Javascript event propogration is stopped to prevent refreshing when switch block position
2009-09-01 02:07:01 +00:00
skodak
ba33919185 MDL-20169 reverting my incorrect patch - sorrry 2009-08-31 20:46:11 +00:00
stronk7
3f33c9e250 MDL-15181 temporary tables - now mysql driver uses the temptables object to
solve its carences handling temp tables.
2009-08-31 16:14:43 +00:00
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