191 Commits

Author SHA1 Message Date
Penny Leach
c71ade2f41 mnet MDL-21261 moving upgrade functions to lib/upgrade.php 2010-02-02 21:16:56 +00:00
Penny Leach
287efec6f6 mnet MDL-21276 get rid of all the $MNET* globals 2010-02-02 03:13:40 +00:00
Penny Leach
6ab89ca45f mnet MDL-21261 deleting unused methodTable.php now that we can use php5's reflection 2010-02-01 03:31:58 +00:00
Penny Leach
9828db68fe mnet MDL-17082 fixing typo in previous bugfix
Merged from MOODLE_19_STABLE
2010-02-01 01:43:24 +00:00
Penny Leach
8509b7c431 mnet MDL-21473 fixed a small bug in the mnet installer and updated the testclient 2010-01-29 04:09:05 +00:00
Penny Leach
e5b01c032f mnet MDL-21473 fixing up the disabling of remoted rpc methods 2010-01-29 02:57:35 +00:00
Penny Leach
b740b3590f mnet MDL-21473 detect services we subscribe to, as well as publish at install/upgrade as well
and add upgrades for all mnet enabled plugins
2010-01-29 02:31:44 +00:00
Penny Leach
8586dbe2a5 mnet MDL-21473 make new tables for remote functions that don't exist locally
I also fixed up two columns in the existing table that had underscores in them
2010-01-28 22:46:34 +00:00
Penny Leach
d2ac37c1ab mnet MDL-21261 mnet overhaul - adding and removing files I missed in the last big commit 2010-01-28 20:17:12 +00:00
jerome mouneyrac
df94bb99eb mnet MDL-21260 transform single_button first param into new moodle_url 2010-01-28 07:25:42 +00:00
jerome mouneyrac
8b21f949cf mnet MDL-21260 sesskey is not displayed when delete a peer 2010-01-28 07:13:47 +00:00
Penny Leach
de260e0f7b mnet MDL-21261 large overhaul. This commit changes:
- The way that mnet rpc functions are registered.  Plugins must now
  create db/mnet.php which is an array, similar to services.php.  This
  *replaces* the old mnet_publishes() functions.  version.php must be
  bumped to trigger this.

- More information about each rpc-available function is stored in the
  database, including the class it belongs to, the file it is found in,
  and whether or not it is static.  Methods that are not static must be
  in a class with a constructor that takes no arguments (this can easily
  be achieved with a small wrapper if necessary)

- The xmlrpc dispatcher has been rewritten to remove all the
  dependencies on hardcoded information about auth,mnet,portfolio and
  repository, and just use the information in the database.

- The old hardcoded hidden mnet/testclient.php has been moved to the
  Admin menu under "Development" and rewritten.

- The xmlrpc introspection method profiling is now using php and zend
  reflection - which is a lot nicer than the old way, which was using a
  php-based php parser.  This fixes some inconsistent handling of
  methods without arguments that were advertising their return value as
  the only method parameter.  While this is a *fix*, it breaks BC
  slightly - the old 1.9 broken mnet/testclient.php will now not work
  properly with 2.0

- Dangerous mode is still supported, but old mod/*/rpclib.php is
  now unsupported, due to the fact that any plugin can export mnet
  functions with db/mnet.php.  This is a slight BC break.

Still TODO:

- TEST TEST TEST
- Document the two small BC breaks in release notes
- Document the contract for db/mnet.php
2010-01-28 05:25:50 +00:00
Penny Leach
72bb7e3236 mnet/enrolment MDL-21459 fixed a few small issues in admin/mnet/enrolment 2010-01-28 05:01:05 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Penny Leach
c684febcc3 mnet MDL-21328 fixed non unique first field sql in mnet_services.php
merged from MOODLE_19_STABLE
2010-01-13 02:46:12 +00:00
Penny Leach
739e4e3c21 mnet MDL-17082 removed all use of $_POST
merged from MOODLE_19_STABLE
2010-01-13 02:42:01 +00:00
Petr Skoda
dc6896efe0 MDL-21198 used new simple_button class when doing OUTPUT->confirm() - more consistent and hopefully easier to remember than html_form::make_button() ;-) 2010-01-03 20:47:13 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
92e01ab771 MDL-21125 obsoleting global $THEME 2009-12-23 17:44:17 +00:00
Matt Oquist
2072925988 MDL-19024 Fix a bug that stops strings from being displayed correctly in the admin section when configuring the MNET services. (Thanks, Richard Mansfield.) 2009-12-22 02:25:02 +00:00
Dan Marsden
f5da79e28b mnet MDL-16522 missed a check - should not show logs tab for all hosts screen 2009-12-18 03:20:21 +00:00
Dan Marsden
12f549e2ff mnet MDL-16522 duplication of inconsistant code - now uses a tabs.php file but still needs a further code tidy as per MDL-16286 2009-12-18 03:09:05 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
1d5fb64d96 MDL-20901 fixed input validation 2009-11-21 21:59:47 +00:00
Andrew Davis
2e2a707902 mnet MDL-20208 Added the string 'allhosts_no_options' 2009-11-19 04:50:58 +00:00
Penny Leach
8a709ecfc1 portfolio MDL-20639 mahara plugin: update to mnet requirements after stricter mnet dispatcher checking 2009-11-18 13:35:58 +00:00
Penny Leach
edf1fc350a portfolio: MDL-20892 moved portfolio/type/* plugins to portfolio/* 2009-11-18 13:27:38 +00:00
Petr Skoda
20207b827a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:57:00 +00:00
Petr Skoda
0df0df23f4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:55:31 +00:00
Petr Skoda
11b749ca90 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:32:02 +00:00
Petr Skoda
2a250a0b2e MDL-20697 removing duplicate error string cannotfindsite, fixing get_site() which is now using exceptions 2009-11-01 09:21:41 +00:00
Petr Skoda
4daa791538 MDL-20695 print_error() now loges probems too, no need to use trigger_error() separately 2009-10-31 22:47:34 +00:00
samhemelryk
c5e4f81d9a admin MDL-19787 Added PAGE->set_url calls and removed $Id tags 2009-10-15 02:19:51 +00:00
samhemelryk
91152a3518 navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2
2009-09-04 03:12:01 +00:00
samhemelryk
69d77c232a admin MDL-19787 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 05:11:33 +00:00
nicolasconnault
04eb4d1ebb MDL-19787 Upgraded calls to link_to_popup_window() 2009-08-20 13:13:50 +00:00
nicolasconnault
414a4a91b1 MDL-19787 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:07 +00:00
nicolasconnault
8fbce1c8c8 MDL-19878 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:28:40 +00:00
nicolasconnault
b324b47e36 MDL-19787 Upgraded calls to choose_from_menu 2009-08-17 15:15:20 +00:00
nicolasconnault
20486a5a21 MDL-19787 Converted print_box* to $OUTPUT->box* 2009-08-10 04:53:22 +00:00
nicolasconnault
eecc6a17bc MDL-19787 Converted calls to print_paging_bar 2009-08-07 00:29:59 +00:00
nicolasconnault
73d6f52f6a MDL-19787 Converted all print_footer() calls 2009-08-06 14:12:46 +00:00
nicolasconnault
2fff8846f2 MDL-19787 Migrated calls to print_heading 2009-08-06 08:17:12 +00:00
skodak
0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +00:00
peterbulmer
9cb267e62f MDL17980 remove redundant files 2009-08-03 03:46:58 +00:00
peterbulmer
1b509b3699 MDL17980 mnet improvements
* Allow multiple roles to be allocated by identity provider
* Allow existing enrolment plugins to manage mnet enrolments


Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
2009-08-03 03:38:23 +00:00
tjhunt
73511be761 MDL-19690 - 4 more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:12:19 +00:00