55 Commits

Author SHA1 Message Date
David Mudrak
b071498f1b MDL-32471 pluginfile.php accepts optional parameter 'preview' 2012-04-24 12:09:44 +02:00
Dongsheng Cai
ec0d6ea2a9 MDL-28646 Web service: core_course_get_contents()
1. Implement core_course_get_contents web service
2. Implement callbacks in folder, resource, page and url modules
3. Implement download script for web service
2011-11-28 16:22:38 +08:00
David Mudrak
b2c16c6e51 Files embedded into the form description are now served by the core itself
The grading form description is in the core scope so it should be served
by the core, not by the plugin.
2011-11-08 01:06:47 +01:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Sam Hemelryk
871a3ec5fb MDL-28043 user Fixed context hack in pluginfile for user pics leading to init of page, theme and output for redirect 2011-09-06 11:29:05 +12:00
Petr Skoda
cdbd37126d MDL-28279 remove flash client version blocking
Everybody is responsible for upgrades of Flash, there is no excuse any more.
2011-07-10 11:03:02 +02:00
Dongsheng Cai
4be8a7d55c MDL-27866, set page context for $OUTPUT->pix_url 2011-06-20 13:52:03 +08:00
Sam Hemelryk
82ee5a1f41 MDL-27676 Requests for a users profile pic that doesnt exist now redirect to the requested f1/f2 rather than just f1 2011-06-08 18:05:23 +08:00
Sam Hemelryk
bac233d326 backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
 MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
 MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
 MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
 MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
 MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
 MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
 CPY [schedule,core],[automatedbackupschedule,core_backup]
 MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
Petr Skoda
2a62743c40 MDL-24316 "reenabling" access to stealth activities 2010-10-13 18:51:37 +00:00
Petr Skoda
01ebadfbb6 MDLSITE-1025 prevent group info access only in separate mode 2010-10-06 20:15:50 +00:00
Petr Skoda
a02357dfbf MDL-24535 do not store 'wantsurl' when accessing group images 2010-10-06 12:56:56 +00:00
Sam Hemelryk
cd6cf6b6e4 pluginfile MDLSITE-1025 Relaxed login check on pluginfile surrounding group icons 2010-10-06 06:00:49 +00:00
Petr Skoda
172ab48445 MDL-23856 fixed invalid section restriction test 2010-08-18 22:29:40 +00:00
Petr Skoda
7b2e259c8c MDL-23856 fixed incorrect integer comparison, we should not use === or !== because one may be integer and the other string 2010-08-18 22:18:53 +00:00
Dongsheng Cai
fe6ce23489 MDL-16094 File storage conversion Quiz and Questions 2010-08-10 09:56:48 +00:00
Petr Skoda
2cc895aab7 MDL-11000 finally switching to png images with jpg fallback, based on code by Luigi Pinca :-) 2010-07-25 16:28:09 +00:00
Martin Dougiamas
d9eb62655d MDL-23353 Fixing a regression: images in grouping descriptions are displayed correctly now 2010-07-20 06:29:13 +00:00
Dongsheng Cai
7054b01d38 fixed undefined userid 2010-07-15 08:25:30 +00:00
Petr Skoda
f9817fc9b1 MDL-23229 fixed user profile picture regression regression 2010-07-12 16:51:32 +00:00
Petr Skoda
6cf93b6bc5 MDL-23229 fixed tag image regression 2010-07-12 16:44:51 +00:00
Petr Skoda
e88dd87685 MDL-23202 group icons now stored in file storage pool 2010-07-11 13:07:24 +00:00
Petr Skoda
edfd6a5e73 MDL-14589 user icons now stored in file storage pool 2010-07-11 11:43:15 +00:00
Petr Skoda
d85ab7051c MDL-22950 fixed regression - files in subdirectories not found; big thanks to Dongsheng for spotting this 2010-07-07 07:53:03 +00:00
Petr Skoda
77dd3034b8 we usually use include instead of require for plugin files 2010-07-04 09:52:21 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +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
Dongsheng Cai
214a81b8d1 MDL-22731, fixed category description images 2010-06-11 04:11:42 +00:00
Dongsheng Cai
91b890abb9 MDL-22217, added section_backup and activity_backup areas 2010-05-03 05:19:38 +00:00
Sam Hemelryk
f1cbbbeb20 themes MDL-21984 Removed the need to specify the theme name in layouts within its config.php file 2010-04-15 07:09:28 +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
Eloy Lafuente
2fdde5d178 MDL-21666 backup & restore caps - upload/download renamed 2010-02-19 18:33:26 +00:00
jerome mouneyrac
50f9599130 flash upgrader MDL-20841 move the send the flashupgrader from filelib.php to pluginfile.php 2009-12-04 04:11:01 +00:00
Petr Skoda
57956cc3e2 MDL-20798 fixed missing access control for module intros 2009-11-10 14:04:50 +00:00
Petr Skoda
032216500d MDL-20700 coding style - new sloppy trailing whitespace fixed, yes I am guilty too :-( 2009-11-09 11:33:14 +00:00
Sam Hemelryk
8bdc9cacad files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.
2009-11-04 06:14:06 +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
2e9b772fb8 MDL-20693 new NO_DEBUG_DISPLAY define 2009-10-31 22:02:05 +00:00
Nicolas Connault
1c7b8b934b MDL-19676 MDL-14408 MDL-8776 Blog improvements 2009-10-30 07:25:50 +00:00
mudrd8mz
b287ea7a32 NOBUG: Re-fix: wrong brackets in the previous commit, sorry 2009-09-07 15:04:11 +00:00
mudrd8mz
520199ea02 NOBUG: better handling of {module}_pluginfile() return values
{module}_pluginfile() should either send the file or
send_file_not_found() or print an error and terminate or whatever, it
should never return to the caller
2009-09-07 14:45:20 +00:00
mudrd8mz
29afd52b10 Fixed accessing the first character from string{0} to string[0]
"...Strings may also be accessed using braces, as in $str{42}, for the same
purpose. However, this syntax is deprecated as of PHP 6. Use square brackets
instead." (http://cz2.php.net/manual/en/language.types.string.php)
2009-08-03 10:54:29 +00:00
skodak
6c79b0980f MDL-14589 improved _pluginfile function - added forcedownload param 2009-07-03 13:39:14 +00:00
skodak
4937508878 MDL-14589 fixed error message if url malformed 2009-06-21 18:22:16 +00:00
skodak
d92e7c4d8e MDL-18111 improving file api comments and docs, fixing license header 2009-05-21 09:50:04 +00:00
skodak
7d2948bdd0 MDL-18910 full support for module intro editor with embedded images 2009-04-22 07:19:56 +00:00
skodak
dc5c2bd9eb MDL-18910 full support for module intro editor with embedded images 2009-04-21 21:17:21 +00:00
skodak
3156b8ca48 MDL-14589 implemented browsing of course section files + fixed bug when getting parent dirs of stored files 2009-02-16 20:47:22 +00:00
skodak
56949c17de MDL-14992 refactored use of session_write_close() 2009-01-17 15:25:08 +00:00
skodak
11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00