David Mudrak
e7c1d0211e
NOMDL MNet admin/mnet trivial code cleanups spotted during development
2010-07-12 15:03:03 +00:00
David Mudrak
3cd7e90aa0
MNet: Unable to change peer name due to incorrect form element type
2010-07-12 12:20:46 +00:00
Petr Skoda
df997f841f
MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
...
AMOS START
MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
MOV [enrolenddate,core],[enrolenddate,enrol_self]
CPY [welcometocourse,core],[welcometocourse,enrol_self]
CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
MOV [notenrollable,core],[notenrollable,core_enrol]
MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
MOV [coursemanager,core_admin],[coursecontact,core_admin]
MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
MOV [enrolme,core],[enrolme,core_enrol]
MOV [unenrol,core],[unenrol,core_enrol]
MOV [unenrolme,core],[unenrolme,core_enrol]
MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
MOV [enrolments,core],[enrolments,core_enrol]
MOV [enrolperiod,core],[enrolperiod,core_enrol]
MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Petr Skoda
8496eeb3bc
MDL-22040 converting username to html entities before outputting
2010-06-03 08:18:38 +00:00
Martin Dougiamas
bfebaf64d8
MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script.
2010-05-13 02:02:05 +00:00
Petr Skoda
29218f369e
MDL-22060 fixed $a in string to match new rules
...
AMOS START
REM fixed $a[] in [deleteuserrecord,core_mnet]
REM fixed $a[] in [enrollingincourse,core_mnet]
REM fixed $a[] in [noipmatch,core_mnet]
REM fixed $a[] in [nonmatchingcert,core_mnet]
REM fixed $a[] in [ssl_acl_allow,core_mnet]
REM fixed $a[] in [ssl_acl_deny,core_mnet]
AMOS END
2010-04-11 17:08:08 +00:00
Petr Skoda
c80e7a15be
MDL-22006 fixed problems with E_ALL in PHP 5.3., thanks Mauno Korpelainen for the report
2010-04-01 17:14:55 +00:00
Petr Skoda
61ef8f9f88
MDL-20204 removing deprecated admin headers
2010-03-31 08:05:53 +00:00
David Mudrak
16be897441
MDL-21652 html_table rendering refactored
...
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
jerome mouneyrac
c890a267b6
mnet MDL-21681 fix html_writer::tag call
2010-02-22 03:02:05 +00:00
Penny Leach
ded77f8b7f
mnet MDL-21098 fixed another small issue in the testclient
2010-02-18 05:01:17 +00:00
Penny Leach
677b6321af
mnet MDL-21098 fixed quite a few issues in the mnet installer and testclient. Rebumped all plugin versions that use mnet to get the services reinstalled
2010-02-18 04:55:34 +00:00
Penny Leach
24409f74b2
mnet MDL-21261 fixing a sql unique keyword in the new mnet admin testclient
2010-02-18 03:44:31 +00:00
Petr Skoda
929d7a8362
MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits
2010-02-17 16:59:41 +00:00
Penny Leach
fa276a0c00
mnet MDL-21256 fixed regressions I introduced while rewriting
2010-02-17 01:59:39 +00:00
Penny Leach
fc363065cb
mnet MDL-21582 fixing notices
2010-02-16 02:37:42 +00:00
Penny Leach
61506902f3
mnet MDL-20660 allow admins to configure fields to be sent over mnet
2010-02-16 02:05:30 +00:00
Petr Skoda
75015e5fc1
MDL-20204 converting link to html_writer or action_link
2010-02-11 16:27:53 +00:00
jerome mouneyrac
e2c4313253
mnet MDL-21582 fix peer service page redirection with a moodle_url
2010-02-11 08:26:46 +00:00
Penny Leach
d36fa8159b
mnet MDL-21256 reworked some more of admin/mnet to use forms and new output stuff
2010-02-11 02:50:28 +00:00
Penny Leach
96bd292127
mnet MDL-21256 & the start of a proper fix for MDL-20660
...
Unfortunately these are tangled up together a bit
2010-02-11 02:49:11 +00:00
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