Petr Skoda
b85b25ebb8
MDL-31006 fix various notices in PHP54
...
PHP54 compatibility
2012-01-18 01:03:20 +01:00
David Mudrak
68e550e6b2
MDL-30966 print_object() output made CLI-friendly
2012-01-06 22:48:12 +01:00
Petr Skoda
4ad72c284d
MDL-30548 support user suspended flag in admin UI
...
This patch includes:
* user management suspend UI tweaks and other coding style improvements
* suspended info in user profiles
* suspend option in advanced edit form
* suspended user filtering
* hidden user fields option for suspended field
Thanks Sam Hemelryk for valuable feedback.
2012-01-03 16:35:21 +01:00
Petr Skoda
b8d13becf9
MDL-30625 fail gracefully when admins not defined
2011-12-09 09:04:43 +01:00
Petr Skoda
bb6ccfa53d
MDL-30625 full support for main admin
2011-12-07 11:18:10 +01:00
Rajesh Taneja
187672608e
MDL-28947 lib: print_object cleans html special chars before printing
2011-11-22 09:28:54 +08:00
Petr Skoda
69ac5d478f
MDL-30147 do not rely on dml exception type outside of dml layer
...
The trouble is that dml driver methods (insert, update, select) are not guaranteed to return the same exception class for various db problems and coding style issues. The recommended practice is to catch dml_exception only.
2011-11-19 09:25:11 +01:00
sam marshall
1fdc0c6aaa
MDL-26647 (3) Support showuseridentity on Browse Users page
2011-11-04 13:57:11 +00:00
Eloy Lafuente (stronk7)
86e00f970b
MDL-29912 course search - oracle inabilities with concats, empties, nulls and type-restrictions
2011-10-26 19:04:31 +02:00
Eloy Lafuente (stronk7)
3cb206f575
MDL-29496 course search - emergency regression fix
2011-10-20 00:49:02 +02:00
Eloy Lafuente (stronk7)
c2551ed593
Merge branch 'w41_MDL-29602_m22_accesslib' of git://github.com/skodak/moodle
2011-10-18 13:15:13 +02:00
Petr Skoda
e922fe23b6
MDL-29602 accesslib improvements
...
Refactoring and improvements of the accesslib.php library including prevention of access for not-logged-in users when forcelogin enabled, improved context caching, OOP refactoring of contexts, fixed context loading, deduplication of role definitions in user sessions, installation improvements, decoupling of enrolment checking from capability loading, added detection of deleted and non-existent users in has_capability(), new function accesslib test, auth and enrol upgrade notes.
More details are available in tracker subtasks.
2011-10-16 14:05:18 +02:00
Jason Fowler
b438bce949
MDL-29496 Search, Course - Code applied from patch to allow courses with a blank summary to be found in searchs - Thanks to Andrew Nicols for the patch
2011-10-10 11:35:42 +08:00
Petr Skoda
618a7f91ec
MDL-27597 fix invalid results of get_categories when shallow is false
2011-08-05 20:13:12 +02:00
Petr Skoda
43b9db45da
MDL-28384 convert empty log urls to ''
...
The problem is that the log table does not allow nulls, credit goes to Troy Williams.
2011-07-24 14:07:30 +02:00
Petr Skoda
51c3e855d0
MDL-27696 do not use placeholders in GROUP BY because pg does no like that
2011-07-19 10:53:20 +02:00
Petr Skoda
a1d27703fe
Merge branch 'wip-MDL-27696-master' of git://github.com/samhemelryk/moodle
2011-07-18 15:17:05 +02:00
Sam Hemelryk
c103eba85f
MDL-27696 datalib Fixed up misused params in get_logs_usercourse
2011-07-13 10:30:35 +08:00
Rossiani Wijaya
c65f0b6fb5
MDL-27755 course search: Add course id and shortname to search fields
2011-07-07 15:02:11 +08:00
Petr Skoda
cf717dc26b
MDL-27148 use new get_in_or_equal() param prefix instead of start
2011-04-14 15:15:01 +02:00
Eloy Lafuente (stronk7)
afa559e9bc
MDL-25708 recordsets - fix accesslib and datalib uses
2011-01-25 19:58:59 +01:00
Dongsheng Cai
3acbe663af
MDL-25669, fix_course_sortorder should check MAX_COURSE_CATEGORIES limit, and print debugging message when the number of courses in a category reach the limit
2011-01-10 09:57:15 +08:00
Petr Skoda
1310964bb3
Merge branch 'MDL-24860_messaging_providers' of git://github.com/andyjdavis/moodle
...
Conflicts:
mod/lesson/version.php
2010-12-27 13:39:20 +01:00
andyjdavis
d8f1412819
message MDL-24860 fixed messaging code in mod_lesson and marked spots that are directly sending email
2010-12-22 12:05:49 +08:00
Eloy Lafuente (stronk7)
b739d51be6
MDL-25674 fix phpdocs
2010-12-21 19:19:35 +01:00
Petr Skoda
5d6ab05435
MDL-25674 prevent modification of cached admin record
2010-12-20 14:41:17 +01:00
Petr Skoda
8082d3abf7
MDL-25187 upgrade log debugging to use new DML style
...
all credit goes to Eloy Lafuente (stronk7)
2010-11-15 07:38:02 +00:00
Petr Skoda
f11f7b41df
MDL-25152 guest logging can be disabled now
2010-11-11 06:11:13 +00:00
Petr Skoda
365a594107
MDL-24321 switching to stdClass in /lib/
2010-09-21 08:07:44 +00:00
Petr Skoda
83be47e611
improved phpdocs
2010-09-18 13:59:39 +00:00
Petr Skoda
4758639429
MDL-24080 converting remaining NOT LIKEs
2010-09-04 14:52:47 +00:00
Petr Skoda
b0238f06e3
MDL-24079 converted datalib to use new sql_like()
2010-09-04 12:45:47 +00:00
Petr Skoda
f63ac65ac5
MDL-24079 converted sql_ilike() to new sql_like in user selectors
2010-09-04 11:46:00 +00:00
Petr Skoda
a9637e7df4
MDL-14679 fixed a lot more old style uses of insert_record()
2010-09-03 17:47:41 +00:00
Petr Skoda
b3df176457
MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case in MySQL
2010-08-25 08:56:07 +00:00
Petr Skoda
78bfb562a0
MDL-21249 improved php docs and adding direct access prevention in core libs
2010-07-25 13:35:05 +00:00
David Mudrak
c6575befff
MDL-22910 Fixed regression - problem with DISTINCT + text field in MSSQL/Oracle
2010-07-20 09:02:23 +00:00
Jonathan Harker
7785dc2e9f
lib, auth, webservice: MDL-20876 fix deprecated split() calls.
2010-07-20 01:38:54 +00:00
David Mudrak
152a2273be
MDL-22787 MNet: Fixing regressions in auth_mnet caused by changes in enrol_mnet
...
This smells - IMHO auth_enrol should not do anything with the enrolment
related information. These two plugins seem to be tied too much...
2010-07-17 22:34:12 +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
Martin Dougiamas
765a1d4ba8
MDL-19628 getremoteaddr() now normally returns 0.0.0.0, which is good for logs and so on. It can be made to return null when that is required, by a new parameter.
2010-05-20 02:36:20 +00:00
Petr Skoda
adf176d711
MDL-22479 removed all get_admin calls from upgrade script, fixed regessions in get_users_from_config() and reimplemented admin support in admin_setting_users_with_capability(), switch non-unique usernames in admin settings to user ids and upgraded existing settings + some more validation
2010-05-18 16:59:08 +00:00
Martin Dougiamas
7928979b96
MDL-22479 Added a check for $CFG->siteadmins being empty, then try to recover. Avoids upgrade issues.
2010-05-17 05:17:12 +00:00
Martin Dougiamas
9f4ec46df1
MDL-22411 Avoid htmlspecialchars so that large objects actually work
2010-05-11 02:23:05 +00:00
David Mudrak
2d0f7da8f8
MDL-21695 Regression mod/forum/ratings.html was used for a default scale description
...
I added a new string describing the Separated and Connected ways of
knowing which will be used as the default description for fresh
installations. Thanks Dan Marsden for reporting and testing.
2010-04-27 23:50:06 +00:00
Petr Skoda
73593f4186
MDL-22061 fixed warning
2010-04-13 21:19:35 +00:00
Petr Skoda
c9042db5c7
MDL-22050 removing moodle/langconfig duplicates
...
AMOS BEGIN
MOV [parentlanguage,core],[parentlanguage,core_langconfig]
AMOS END
2010-04-10 18:01:49 +00:00
Petr Skoda
3a915b0667
MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs
2010-04-10 07:24:56 +00:00
Petr Skoda
4f0c2d0009
MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too
2010-03-31 07:41:31 +00:00
Sam Hemelryk
66a0612ae0
datalib MDL-14679 Fixed regression in get_logs_userday function, missing argument
2010-03-18 05:48:21 +00:00