Petr Skoda
00dadbe164
MDL-21742 fixed serious regressions - require_login(); could not be called after setting up themes (we need this in several places, this will be improved later) + it is too late to set up default local in require_login() because some scripts may not even call this - such as CLI
2010-03-02 11:51:36 +00:00
Dan Poltawski
ff297eca79
moodlelib: sync_metacourse MDL-20626 wasn't respecting hidden role assignments
...
This causes hidden role assignments to become public on metacourses
Many thanks to Daniel Neis for the patch
forward ported from MOODLE_19_STABLE
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2010-02-24 09:03:11 +00:00
Petr Skoda
9a9012dc8f
MDL-21590 fixed icons in navigation lib + clean up of modinfo (planned removeal of legacy use of urlencode since 1.8 - we use serialize and utf8 is ok now)
2010-02-14 20:18:10 +00:00
jerome mouneyrac
79f1d9538a
webservice MDL-12866 add PARAM_EMAIL
2010-02-11 09:04:39 +00:00
jerome mouneyrac
5a1861ee32
webservice MDL-21510 added two new DEFINE values: NULL_ALLOWED and NULL_NOT_ALLOWED
2010-02-08 03:49:52 +00:00
Petr Skoda
0bb38e8c04
MDL-21400 JS != ajax and page requirements are also CSS - making new special lib file for page requirements
2010-02-07 08:45:21 +00:00
jerome mouneyrac
382b9ceab3
webservice MDL-21510 added three defines for the description of ws optional value:
...
VALUE_REQUIRED - if the parameter is not supplied, there is an error
VALUE_OPTIONAL - if the parameter is not supplied, then the param has no value
VALUE_DEFAULT - if the parameter is not supplied, then the default value is used
2010-02-05 02:58:24 +00:00
Penny Leach
287efec6f6
mnet MDL-21276 get rid of all the $MNET* globals
2010-02-02 03:13:40 +00:00
Rossiani Wijaya
34d2b19a15
MDL-16919 - Convert uppercase to lowercase for param_username and updating test result in testmoodlelib.
2010-01-14 07:18:06 +00:00
jerome mouneyrac
eec99048c2
webservice MDL-20805 move token constant to moodlelib
2010-01-13 10:05:49 +00:00
Rossiani Wijaya
07ed083e4e
MDL-16919 - Allow username to contain alphanumeric lowercase characters, underscore (_), hyphen (-), period (.) or at symbol (@)
2010-01-13 06:23:54 +00:00
Andrew Davis
24d38a6e6d
moodlelib MDL-20918 usergetdate was returning an array in a different order depending on whether or not timezone was set
2010-01-08 06:56:29 +00:00
Petr Skoda
085f71b728
nobug: fixed code completion in eclipse
2010-01-05 17:54:15 +00:00
Petr Skoda
191b267bcd
MDL-20790 more page layouts -see base theme for full list; also added new css body class for describing current layout; base layout is now default for beter BC; require_login() now sets 'incourse' layout automatically
2009-12-27 12:02:04 +00:00
Petr Skoda
73e504bca9
MDL-20799 renewed support for alternative theme dir location
2009-12-23 18:52:42 +00:00
Penny Leach
0a2a36f737
lib/moodlelib MDL-21130 added helper partial() function
...
this helps to create callbacks with partially bound arguments. woot!
2009-12-17 08:34:07 +00:00
Petr Skoda
2f67a9b3a5
MDL-20700 whitespace terror returns yet again
2009-12-16 22:22:37 +00:00
Petr Skoda
f44b10ed93
MDL-21139 replace all yui functions/methods with yui2 to make room for yui3
2009-12-16 20:25:14 +00:00
Petr Skoda
78946b9bdb
MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks
2009-12-16 18:00:58 +00:00
Sam Hemelryk
862940c033
moodlelib MDL-21060 Editing require_course_login to properly set page vars for the front page course
2009-12-10 01:57:01 +00:00
Petr Skoda
edb5da8331
MDL-20934 'not cached' flag used in all auth plugins that do not need the password
2009-11-23 21:50:40 +00:00
Eloy Lafuente
451db46177
MDL-20941 store hashed username into user->email field for deleted users. Merged from 19_STABLE
2009-11-23 18:50:47 +00:00
Penny Leach
edf1fc350a
portfolio: MDL-20892 moved portfolio/type/* plugins to portfolio/*
2009-11-18 13:27:38 +00:00
Eloy Lafuente
e58269e4fa
MDL-20846 creating users on restore - part2 - hack login to inform and
...
allow 'restored' users to reset their password. Merged from 19_STABLE
2009-11-18 01:05:58 +00:00
Petr Skoda
4c1ba3ffc7
MDL-18006 MDL-18807 MDL-20853 merging sam's changes from MOODLE_19_STABLE, going to fix some more problems in this new code soon
2009-11-17 16:11:25 +00:00
Petr Skoda
d5a8d9aa71
MDL-20625 new delegated transaction support in DML
2009-11-07 08:52:56 +00:00
Dan Poltawski
8843e0bb3c
lib/phpmailer MDL-20701 - Convert to moodle_phpmailer class
...
Stage 2 - We now extend phpmailer and do our customisations in our subclass
rather than directly in the original file.
Previously we modified SetLanguage(), but I have not carried that change over
because I could not see code paths where this gets executed.(See bug)
I tested the header/content of the old class vs this one and think the changes
are all carried over. (If anyone has clever thoughts for how to unit test this
mailing out it would be useful, especially for upgrading phpmailer).
2009-11-03 21:02:36 +00:00
Sam Hemelryk
76d9df3f1d
calendar MDL-20601 Conversion of calendar to mforms and new html editor + file API
2009-11-02 03:50:56 +00:00
Petr Skoda
117bd74897
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:31:16 +00:00
Petr Skoda
10729aaaf2
MDL-20695 set_field does not return false any more, instead throws exception
2009-10-31 22:53:27 +00:00
Nicolas Connault
1c7b8b934b
MDL-19676 MDL-14408 MDL-8776 Blog improvements
2009-10-30 07:25:50 +00:00
sam_marshall
9467db390c
MDL-20537: shorten-text fix
2009-10-19 17:13:50 +00:00
skodak
625adcf2e5
MDL-12886 make webservice protocols true plugins
2009-10-08 22:02:50 +00:00
dongsheng
04a645027c
"MDL-20346, fixed incorrect parameter type"
2009-10-08 06:52:30 +00:00
tjhunt
7409013e79
moodlelib: MDL-19764 change get_list_of_countries so admins can more easily control the list.
...
* New admin setting $CFG->allcountrycodes - on Location page.
* Same rules used to translate country names as any other string.
* With unit tests.
2009-10-02 11:30:11 +00:00
skodak
9950c88ff9
MDL-20385 better access control checks for frontpage activities; merged from MOODLE_19_STABLE
2009-10-01 09:58:08 +00:00
skodak
6d7fa5d8d8
MDL-19269 Deleted internal auth users - handling is buggy; credit Martin Langhoff
2009-09-26 20:17:57 +00:00
samhemelryk
1a198dde7d
core MDL-19791 Replaced deprecated functions, added set_url calls
2009-09-25 06:17:38 +00:00
moodler
03b31ea332
params MDL-15897 Tidy up PARAM_XXXX defines to use strings instead of numbers, sort alphabetically and segregate the aliases and deprecated definitions
...
The numbers were used orginally because we planned to use them as bitmasks, but that never happened. Strings are much simpler.
2009-09-16 13:52:16 +00:00
skodak
d80e74fb8e
MDL-20293 strict param validation support
2009-09-15 20:14:07 +00:00
skodak
a3f7cbf64e
MDL-20293 strict param validation support
2009-09-15 20:08:47 +00:00
samhemelryk
96db467adb
lib MDL-19799 Updated print_header_simple and build_navigation to OUTPUT and PAGE equivalents
2009-09-08 01:39:12 +00:00
samhemelryk
de6d81e667
admin MDL-19799 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants
2009-09-03 06:59:25 +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
skodak
622365d2e1
MDL-20169 fixed coding style, parameter type required
2009-08-27 18:37:53 +00:00
nicolasconnault
aa9a686740
MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 05:20:12 +00:00
skodak
aa54ed7b02
MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker
2009-08-13 20:45:50 +00:00
nicolasconnault
7e0d66753e
MDL-19799 Converted all print_footer() calls
2009-08-06 14:21:34 +00:00