moodle.git
12 years agoMDL-15777 more fixes for portfolio to use file api
mjollnir_ [Tue, 12 Aug 2008 13:17:34 +0000 (13:17 +0000)]
MDL-15777 more fixes for portfolio to use file api

this introduces portfolio/file.php to serve portfolio related files - access check is delegated to the plugin.
and also two new classes in the portfolio plugin tree - push vs pull.

12 years agoMDL-16007 - add new $dontdie parameter to the send_ file functions
mjollnir_ [Tue, 12 Aug 2008 12:54:54 +0000 (12:54 +0000)]
MDL-16007 - add new $dontdie parameter to the send_ file functions

12 years agoinline docs improvements
skodak [Tue, 12 Aug 2008 11:00:13 +0000 (11:00 +0000)]
inline docs improvements

12 years agoXHTML strrrict!
tjhunt [Tue, 12 Aug 2008 04:11:36 +0000 (04:11 +0000)]
XHTML strrrict!

12 years agoUpdated the HEAD build version to 20080812
moodlerobot [Tue, 12 Aug 2008 01:45:39 +0000 (01:45 +0000)]
Updated the HEAD build version to 20080812

12 years agoMDL-15993 The method to calculate the SCORM area needs to be changed - based on scree...
piers [Tue, 12 Aug 2008 01:26:10 +0000 (01:26 +0000)]
MDL-15993 The method to calculate the SCORM area needs to be changed - based on screen size alone does not make sense with big screens.   Only allow the overide of the height parameter if it is less than the user specified (user specified is no allowed to be less than 400).  Also - removed gratuitous use of whitespace.

12 years agoAutomatic installer.php lang files by installer_builder (20080812)
moodlerobot [Tue, 12 Aug 2008 01:24:48 +0000 (01:24 +0000)]
installer.php lang files by installer_builder (20080812)

12 years agoMDL-14492 Provide feedback to user about redirect delay in loadsco.php. Add lang...
piers [Mon, 11 Aug 2008 21:35:10 +0000 (21:35 +0000)]
MDL-14492 Provide feedback to user about redirect delay in loadsco.php.  Add lang text for please wait.

12 years agoMDL-15994 fix typo in choice/lib.php
danmarsden [Mon, 11 Aug 2008 21:19:21 +0000 (21:19 +0000)]
MDL-15994 fix typo in choice/lib.php

12 years agoMDL-15768 - more cap checks in resource mod
mjollnir_ [Mon, 11 Aug 2008 15:43:14 +0000 (15:43 +0000)]
MDL-15768 - more cap checks in resource mod

12 years agoMDL-15768 - mod/assignment upgraded to check caps before portfolio export
mjollnir_ [Mon, 11 Aug 2008 15:31:55 +0000 (15:31 +0000)]
MDL-15768 - mod/assignment upgraded to check caps before portfolio export

12 years agoMDL-15992: box.net file rename - fixing warning
mjollnir_ [Mon, 11 Aug 2008 15:30:38 +0000 (15:30 +0000)]
MDL-15992: box.net file rename - fixing warning

12 years ago MDL-15768 - add capability check in mod/resource for portfolio export
mjollnir_ [Mon, 11 Aug 2008 14:53:00 +0000 (14:53 +0000)]
 MDL-15768 - add capability check in mod/resource for portfolio export

12 years agoMDL-15768 - bump mod/data version and requires properly - requires portfolio code
mjollnir_ [Mon, 11 Aug 2008 14:44:56 +0000 (14:44 +0000)]
MDL-15768 - bump mod/data version and requires properly - requires portfolio code

12 years agoMDL-15768 - further capability check in mod/data portfolio export
mjollnir_ [Mon, 11 Aug 2008 14:14:39 +0000 (14:14 +0000)]
MDL-15768 - further capability check in mod/data portfolio export

12 years ago MDL-15768 - add new capabilities to mod/data for portfolio export
mjollnir_ [Mon, 11 Aug 2008 13:45:41 +0000 (13:45 +0000)]
 MDL-15768 - add new capabilities to mod/data for portfolio export

12 years agoMDL-15995 - portfolio cron. currently just cleans up any orphaned transfer data
mjollnir_ [Mon, 11 Aug 2008 12:50:26 +0000 (12:50 +0000)]
MDL-15995 - portfolio cron. currently just cleans up any orphaned transfer data

Later should be extended to add hooks in the plugins

12 years ago MDL-15992 - added smarter renames to the portfolio box.net plugin around the box...
mjollnir_ [Mon, 11 Aug 2008 11:24:32 +0000 (11:24 +0000)]
 MDL-15992 - added smarter renames to the portfolio box.net plugin around the box.net client library

12 years agoMDL-15777 - whole database module export rejigged to use files api.
mjollnir_ [Mon, 11 Aug 2008 10:40:04 +0000 (10:40 +0000)]
MDL-15777 - whole database module export rejigged to use files api.

disabled ods and excel export for now until those libraries work with files api.
reverted a previous patch I had in this area.

12 years agoMDL-15911 - reverting previous change to odslib - needs a proper rework to use files...
mjollnir_ [Mon, 11 Aug 2008 10:15:16 +0000 (10:15 +0000)]
MDL-15911 - reverting previous change to odslib - needs a proper rework to use files api.

12 years agoMDL-13766, add icon for each repository, fix css style
dongsheng [Mon, 11 Aug 2008 07:41:55 +0000 (07:41 +0000)]
MDL-13766, add icon for each repository, fix css style

12 years agoMDL-14913 fixing bad copy paste!
danmarsden [Mon, 11 Aug 2008 05:21:33 +0000 (05:21 +0000)]
MDL-14913 fixing bad copy paste!

12 years agoMDL-14913 check vars b4 using
danmarsden [Mon, 11 Aug 2008 05:09:44 +0000 (05:09 +0000)]
MDL-14913 check vars b4 using

12 years agoMDL-15328 - hide grade category drop down.
danmarsden [Mon, 11 Aug 2008 04:48:43 +0000 (04:48 +0000)]
MDL-15328 - hide grade category drop down.

12 years agoMDL-15933 Require jump destination MNET peer to be non-deleted.
peterbulmer [Mon, 11 Aug 2008 04:48:00 +0000 (04:48 +0000)]
MDL-15933 Require jump destination MNET peer to be non-deleted.
Also require landing source MNET peer to be non-deleted.

12 years agoMDL-14655 fix display of Choice when "show results after closed" is selected.
danmarsden [Mon, 11 Aug 2008 04:19:34 +0000 (04:19 +0000)]
MDL-14655 fix display of Choice when "show results after closed" is selected.

12 years agoMDL-13766, some small changes for repository api.
dongsheng [Mon, 11 Aug 2008 03:30:09 +0000 (03:30 +0000)]
MDL-13766, some small changes for repository api.

12 years agoUpdated the HEAD build version to 20080811
moodlerobot [Mon, 11 Aug 2008 01:15:09 +0000 (01:15 +0000)]
Updated the HEAD build version to 20080811

12 years agoAutomatic installer.php lang files by installer_builder (20080811)
moodlerobot [Mon, 11 Aug 2008 00:56:47 +0000 (00:56 +0000)]
installer.php lang files by installer_builder (20080811)

12 years agoUpdated the HEAD build version to 20080810
moodlerobot [Sun, 10 Aug 2008 01:33:25 +0000 (01:33 +0000)]
Updated the HEAD build version to 20080810

12 years agoMDL-14492 Provide feedback to user about redirect delay in loadsco.php. Change to...
piers [Sat, 9 Aug 2008 19:31:56 +0000 (19:31 +0000)]
MDL-14492 Provide feedback to user about redirect delay in loadsco.php.  Change to use a single lang text.

12 years agoMDL-15777 - updated most of the portfolio code to use files api.
mjollnir_ [Sat, 9 Aug 2008 14:24:58 +0000 (14:24 +0000)]
MDL-15777 - updated most of the portfolio code to use files api.

Not done:

- forum (the rest of the module isn't using files api yet)
- database mod (touches other parts of the code (ods and excel libs)
- portfolio download plugin (needs discussion with petr about userfiles)

all of these have been disabled in the meantime.

12 years agoMDL-15991 - made box.net client library support change to curl integration with files api
mjollnir_ [Sat, 9 Aug 2008 13:43:01 +0000 (13:43 +0000)]
MDL-15991 - made box.net client library support change to curl integration with files api
MDL-15992 - added renameFile function to box.net client library

12 years agoMDL-15991 - allow curl library to POST files by integrating with stored_file object.
mjollnir_ [Sat, 9 Aug 2008 13:35:33 +0000 (13:35 +0000)]
MDL-15991 - allow curl library to POST files by integrating with stored_file object.

12 years agoMDL-15990 - fixing bug in file_storage::create_file_from_storedfile - missing !
mjollnir_ [Sat, 9 Aug 2008 13:33:20 +0000 (13:33 +0000)]
MDL-15990 - fixing bug in file_storage::create_file_from_storedfile - missing !

12 years agoUpdated the HEAD build version to 20080809
moodlerobot [Sat, 9 Aug 2008 01:35:35 +0000 (01:35 +0000)]
Updated the HEAD build version to 20080809

12 years agoAutomatic installer.php lang files by installer_builder (20080809)
moodlerobot [Sat, 9 Aug 2008 01:17:09 +0000 (01:17 +0000)]
installer.php lang files by installer_builder (20080809)

12 years agoMDL-14589 adding function get_contenthash() - thanks Penny
skodak [Fri, 8 Aug 2008 13:11:32 +0000 (13:11 +0000)]
MDL-14589 adding function get_contenthash() - thanks Penny

12 years agoMDL-14589 more local --> stored renaming
skodak [Fri, 8 Aug 2008 11:50:45 +0000 (11:50 +0000)]
MDL-14589 more local --> stored renaming

12 years agoMDL-15837 Finished sql_ helper unit tests for mysql and postgres
nicolasconnault [Fri, 8 Aug 2008 11:03:03 +0000 (11:03 +0000)]
MDL-15837 Finished sql_ helper unit tests for mysql and postgres

12 years agoMDL-15919, MDL-15920 reworked support for archiving
skodak [Fri, 8 Aug 2008 10:22:59 +0000 (10:22 +0000)]
MDL-15919, MDL-15920 reworked support for archiving

12 years agoMDL-14589 more local --> stored renaming
skodak [Fri, 8 Aug 2008 09:34:12 +0000 (09:34 +0000)]
MDL-14589 more local --> stored renaming

12 years agoMDL-13766
dongsheng [Fri, 8 Aug 2008 07:11:35 +0000 (07:11 +0000)]
MDL-13766
1. fix repository_get_options
2. Use DOM method generate html

12 years agoMDL-12198
nicolasconnault [Fri, 8 Aug 2008 05:25:54 +0000 (05:25 +0000)]
MDL-12198

12 years agoMDL-13766, remove repository_local.php file
dongsheng [Fri, 8 Aug 2008 03:49:29 +0000 (03:49 +0000)]
MDL-13766, remove repository_local.php file

12 years agoMDL-13766, revert flickr/repository.class.php, commit local plugin.
dongsheng [Fri, 8 Aug 2008 03:47:14 +0000 (03:47 +0000)]
MDL-13766, revert flickr/repository.class.php, commit local plugin.

12 years agoMDL-13766
dongsheng [Fri, 8 Aug 2008 03:31:51 +0000 (03:31 +0000)]
MDL-13766
1. Create "local" plugin
2. Improve document

12 years agoUpdated the HEAD build version to 20080808
moodlerobot [Fri, 8 Aug 2008 01:40:31 +0000 (01:40 +0000)]
Updated the HEAD build version to 20080808

12 years agoAutomatic installer.php lang files by installer_builder (20080808)
moodlerobot [Fri, 8 Aug 2008 01:21:47 +0000 (01:21 +0000)]
installer.php lang files by installer_builder (20080808)

12 years agoComplete inline help about smtp hosts. Credit goes to Anthony. MDL-15923 ; merged...
stronk7 [Thu, 7 Aug 2008 22:56:34 +0000 (22:56 +0000)]
Complete inline help about smtp hosts. Credit goes to Anthony. MDL-15923 ; merged from 19_STABLE

12 years agoAllow font-family "protocol" to avoid kses cleaning it. MDL-15963 ; merged from 19_STABLE
stronk7 [Thu, 7 Aug 2008 22:38:46 +0000 (22:38 +0000)]
Allow font-family "protocol" to avoid kses cleaning it. MDL-15963 ; merged from 19_STABLE

12 years agoMDL-11188 SCORM module does not respect "prerequisites" like it used to. MDL-12342...
piers [Thu, 7 Aug 2008 21:44:42 +0000 (21:44 +0000)]
MDL-11188 SCORM module does not respect "prerequisites" like it used to. MDL-12342 & signs in CDATA sections are imported as &.  This is a rewrite of the prerequisite handling.

12 years agoMDL-15967 - must use full php tags, not shortags - thanks Urs
danmarsden [Thu, 7 Aug 2008 20:46:20 +0000 (20:46 +0000)]
MDL-15967 - must use full php tags, not shortags - thanks Urs

12 years agoFixed copy&paste error. Credit goes to Sergio Rabellino.
stronk7 [Thu, 7 Aug 2008 17:10:28 +0000 (17:10 +0000)]
Fixed copy&paste error. Credit goes to Sergio Rabellino.
http://moodle.org/mod/forum/discuss.php?d=102933 ; merged from HEAD

12 years agoMDL-15837 Started sql_ helper function tests for mysqli, mysql and postgres7
nicolasconnault [Thu, 7 Aug 2008 14:55:03 +0000 (14:55 +0000)]
MDL-15837 Started sql_ helper function tests for mysqli, mysql and postgres7

12 years agoMDL-15928 reverting previous commit - we might still need the binary zips because...
skodak [Thu, 7 Aug 2008 13:36:20 +0000 (13:36 +0000)]
MDL-15928 reverting previous commit - we might still need the binary zips because PHP ext is buggy on 64bit OS

12 years agoMDL-15924 Added CLOB and BLOB tests
nicolasconnault [Thu, 7 Aug 2008 12:59:44 +0000 (12:59 +0000)]
MDL-15924 Added CLOB and BLOB tests

12 years agoMessaging 2.0 fix.
ethem [Thu, 7 Aug 2008 11:42:09 +0000 (11:42 +0000)]
Messaging 2.0 fix.

12 years agoMissing NEXT attribute in previous commit breaking install. MDL-13766
stronk7 [Thu, 7 Aug 2008 10:17:47 +0000 (10:17 +0000)]
Missing NEXT attribute in previous commit breaking install. MDL-13766
(I'd suggest to always check those changes in the XMLDB Editor)

12 years agoMDL-13766, change function call.
dongsheng [Thu, 7 Aug 2008 09:01:16 +0000 (09:01 +0000)]
MDL-13766, change function call.

12 years agoMDL-13766, use a better function name
dongsheng [Thu, 7 Aug 2008 08:36:12 +0000 (08:36 +0000)]
MDL-13766, use a better function name

12 years agoMDL-13766, new field for repository table
dongsheng [Thu, 7 Aug 2008 07:48:14 +0000 (07:48 +0000)]
MDL-13766, new field for repository table

12 years agoMDL-11789, apply $CFG->filelifetime in send_file function.
dongsheng [Thu, 7 Aug 2008 06:09:58 +0000 (06:09 +0000)]
MDL-11789, apply $CFG->filelifetime in send_file function.

12 years agoMDL-13766
dongsheng [Thu, 7 Aug 2008 03:33:47 +0000 (03:33 +0000)]
MDL-13766
1. Pass context information to repository
TODO
Not sure about the way to get context, hard to find where we are, because print_textarea and moodle may be used in any place in moodle.
2. Change parameter type in ws.php

12 years agoUpdated the HEAD build version to 20080807
moodlerobot [Thu, 7 Aug 2008 01:44:00 +0000 (01:44 +0000)]
Updated the HEAD build version to 20080807

12 years agoAutomatic installer.php lang files by installer_builder (20080807)
moodlerobot [Thu, 7 Aug 2008 01:24:13 +0000 (01:24 +0000)]
installer.php lang files by installer_builder (20080807)

12 years agoMDL-8193 Incorrect handling of quotes in SetValue processing - recoded so that it...
piers [Wed, 6 Aug 2008 21:11:35 +0000 (21:11 +0000)]
MDL-8193  Incorrect handling of quotes in SetValue processing - recoded so that it escapes all values passed from tracks.

12 years agoMDL-14589 improved method names
skodak [Wed, 6 Aug 2008 20:51:14 +0000 (20:51 +0000)]
MDL-14589 improved method names

12 years agoFixing typo causing restore not to work within 19_STABLE branch (BC). MDL-15282 ...
stronk7 [Wed, 6 Aug 2008 16:43:40 +0000 (16:43 +0000)]
Fixing typo causing restore not to work within 19_STABLE branch (BC). MDL-15282 ; merged from 19_STABLE

12 years agoMDL-15777 - move all portfolio storage to portfolio_tempdata rather than session.
mjollnir_ [Wed, 6 Aug 2008 15:27:42 +0000 (15:27 +0000)]
MDL-15777 - move all portfolio storage to portfolio_tempdata rather than session.
This allows us to always have a unique id for a portfolio export which can be used as itemid for files api.
Also it makes the session smaller :)

12 years agoMDL-15928 comment improvement
skodak [Wed, 6 Aug 2008 11:28:17 +0000 (11:28 +0000)]
MDL-15928 comment improvement

12 years agoMDL-13766, use a better value for itemid.
dongsheng [Wed, 6 Aug 2008 08:09:01 +0000 (08:09 +0000)]
MDL-13766, use a better value for itemid.

12 years agoMDL-15941 block view permissions override regression fixed
skodak [Wed, 6 Aug 2008 05:07:46 +0000 (05:07 +0000)]
MDL-15941 block view permissions override regression fixed

12 years agoMDL-15402 finally we decided that the repository activation will be done with capabil...
jerome [Wed, 6 Aug 2008 03:30:55 +0000 (03:30 +0000)]
MDL-15402 finally we decided that the repository activation will be done with capabilities, and that there is no need to have a administration page for enable/disable repository, neither sort, neither settings. In administration we will just be able to setup an instance for Moodle context.

12 years agoMDL-13766, fix bugs in formlib
dongsheng [Wed, 6 Aug 2008 03:26:57 +0000 (03:26 +0000)]
MDL-13766, fix bugs in formlib

12 years agoMDL-15345: Fix in sql query, for postgres. (merge from 1.9)
scyrma [Wed, 6 Aug 2008 02:39:19 +0000 (02:39 +0000)]
MDL-15345: Fix in sql query, for postgres. (merge from 1.9)

12 years agoUpdated the HEAD build version to 20080806
moodlerobot [Wed, 6 Aug 2008 01:42:28 +0000 (01:42 +0000)]
Updated the HEAD build version to 20080806

12 years agoAutomatic installer.php lang files by installer_builder (20080806)
moodlerobot [Wed, 6 Aug 2008 01:23:10 +0000 (01:23 +0000)]
installer.php lang files by installer_builder (20080806)

12 years agoMDL-15943 Warning are displayed in a SCORM activity (thanks Dan).
piers [Tue, 5 Aug 2008 23:17:24 +0000 (23:17 +0000)]
MDL-15943 Warning are displayed in a SCORM activity (thanks Dan).

12 years agoMDL-15950 MDL-15640 - SCORM player.php not inserting footer, Showing SCORM participat...
piers [Tue, 5 Aug 2008 22:58:32 +0000 (22:58 +0000)]
MDL-15950 MDL-15640 - SCORM player.php not inserting footer, Showing SCORM participation report. (thanks Urs Hunkler and Mitsuhiro Yoshida).

12 years agoMDL-15935 - print a different message to the user when their portfolio export has...
mjollnir_ [Tue, 5 Aug 2008 17:39:35 +0000 (17:39 +0000)]
MDL-15935 - print a different message to the user when their portfolio export has been queued

12 years agoMDL-14591 - fixing bug related to queued transfers
mjollnir_ [Tue, 5 Aug 2008 17:35:08 +0000 (17:35 +0000)]
MDL-14591 - fixing bug related to queued transfers

12 years ago MDL-15758 - export single glossary entry mostly done.
mjollnir_ [Tue, 5 Aug 2008 15:40:36 +0000 (15:40 +0000)]
 MDL-15758 - export single glossary entry mostly done.

12 years agoMDL-15949
thepurpleblob [Tue, 5 Aug 2008 14:21:39 +0000 (14:21 +0000)]
MDL-15949
enrol_logtolocation not defined in config_form()

Merged from STABLE_19

12 years agoMDL-15934 - migrate mod/data to not store giant things in session
mjollnir_ [Tue, 5 Aug 2008 13:31:14 +0000 (13:31 +0000)]
MDL-15934 - migrate mod/data to not store giant things in session

12 years agoMDL-15934 - fix small bug in cleanup
mjollnir_ [Tue, 5 Aug 2008 13:30:53 +0000 (13:30 +0000)]
MDL-15934 - fix small bug in cleanup

12 years agoMDL-15758 - whole glossary (csv) export to portfolio
mjollnir_ [Tue, 5 Aug 2008 13:26:17 +0000 (13:26 +0000)]
MDL-15758 - whole glossary (csv) export to portfolio

12 years agoMDL-15934 - new table and infastructure for portfolio callers to store export data...
mjollnir_ [Tue, 5 Aug 2008 13:24:47 +0000 (13:24 +0000)]
MDL-15934 - new table and infastructure for portfolio callers to store export data that is too big to put in the session.

12 years agoMDL-13766, mulit-filepicker in htmleditor worked.
dongsheng [Tue, 5 Aug 2008 08:12:21 +0000 (08:12 +0000)]
MDL-13766, mulit-filepicker in htmleditor worked.

12 years agoMDL-13766, fix for filepicker in moodleform
dongsheng [Tue, 5 Aug 2008 05:58:06 +0000 (05:58 +0000)]
MDL-13766, fix for filepicker in moodleform

12 years agoMDL-13766, more changes to mulit-filepicker in one page.
dongsheng [Tue, 5 Aug 2008 05:49:33 +0000 (05:49 +0000)]
MDL-13766, more changes to mulit-filepicker in one page.

12 years agoMDL-13766
dongsheng [Tue, 5 Aug 2008 05:12:30 +0000 (05:12 +0000)]
MDL-13766
1. Make mulit-filepicker in one page possible
2. fix lang strings
3. use itemid specify a draft file
TODO
itemid should use a better value.

12 years agoUpdated the HEAD build version to 20080805
moodlerobot [Tue, 5 Aug 2008 01:37:24 +0000 (01:37 +0000)]
Updated the HEAD build version to 20080805

12 years agoAutomatic installer.php lang files by installer_builder (20080805)
moodlerobot [Tue, 5 Aug 2008 01:18:28 +0000 (01:18 +0000)]
installer.php lang files by installer_builder (20080805)

12 years agoMake custom checks BC, so any test about future releases doesn't fail
stronk7 [Tue, 5 Aug 2008 00:22:41 +0000 (00:22 +0000)]
Make custom checks BC, so any test about future releases doesn't fail
with error it the file and/or function is missing (highly possible). MDL-15939 ; merged from 18_STABLE

12 years agoRe-adding two Moodle 1.9 env checks that were deleted by MDL-14451
stronk7 [Mon, 4 Aug 2008 23:03:40 +0000 (23:03 +0000)]
Re-adding two Moodle 1.9 env checks that were deleted by MDL-14451

12 years agoAdded missing curlrequired string. MDL-15349 ; merged from 19_STABLE
stronk7 [Mon, 4 Aug 2008 21:19:35 +0000 (21:19 +0000)]
Added missing curlrequired string. MDL-15349 ; merged from 19_STABLE

12 years agoMDL-10425 and MDL-12872 Firefox bugs String() handling on replace. enhanced rege...
piers [Mon, 4 Aug 2008 20:21:46 +0000 (20:21 +0000)]
MDL-10425 and MDL-12872 Firefox bugs String() handling on replace. enhanced rege xfor CMI data types.

12 years agoMDL-15928 switched to zip PHP extensions
skodak [Mon, 4 Aug 2008 16:45:08 +0000 (16:45 +0000)]
MDL-15928 switched to zip PHP extensions

12 years agoMDL-15758 - bring back full forum post export
mjollnir_ [Mon, 4 Aug 2008 16:08:50 +0000 (16:08 +0000)]
MDL-15758 - bring back full forum post export