moodle.git
12 years agoMDL-15666 - change all the portfolio plugins and callers to use exceptions
mjollnir_ [Fri, 12 Sep 2008 11:22:15 +0000 (11:22 +0000)]
MDL-15666 - change all the portfolio plugins and callers to use exceptions
rather than relying on return values (send_package and prepare_package)

move zipping of temporary files into the exporter class so it can be overridden during unit tests

fix a small todo in mahara plugin

12 years agoMDL-16463 "Long group names can make drop down box too wide" added an if condition...
jamiesensei [Fri, 12 Sep 2008 08:33:40 +0000 (08:33 +0000)]
MDL-16463 "Long group names can make drop down box too wide"  added an if condition to test the length of the group name. If it is more than 20 characters then we use the string 'this group' instead of the group name.

12 years agoMDL-14589 no file browsing if not logged-in
skodak [Fri, 12 Sep 2008 08:22:41 +0000 (08:22 +0000)]
MDL-14589 no file browsing if not logged-in

12 years agoMDL-13766
dongsheng [Fri, 12 Sep 2008 08:16:09 +0000 (08:16 +0000)]
MDL-13766
introduce new search API

12 years agoMDL-16474 Modifications to allow definition of 1-point scales
moodler [Fri, 12 Sep 2008 07:33:49 +0000 (07:33 +0000)]
MDL-16474  Modifications to allow definition of 1-point scales

12 years agoMDL-13766, improve repository search, search interface can be defined
dongsheng [Fri, 12 Sep 2008 07:28:40 +0000 (07:28 +0000)]
MDL-13766, improve repository search, search interface can be defined
in print_search function now!

12 years agoMDL-16474 Make counts of posts look nicer, and use the scale to show the results...
moodler [Fri, 12 Sep 2008 07:26:56 +0000 (07:26 +0000)]
MDL-16474 Make counts of posts look nicer, and use the scale to show the results, not just a number

12 years agoMDL-16473 Merged style fix for user pics from 1.9
moodler [Fri, 12 Sep 2008 06:56:11 +0000 (06:56 +0000)]
MDL-16473 Merged style fix for user pics from 1.9

12 years agoMDL-15632 Wrong permission in the admin tree defininition mean that people with moodl...
tjhunt [Fri, 12 Sep 2008 05:18:27 +0000 (05:18 +0000)]
MDL-15632 Wrong permission in the admin tree defininition mean that people with moodle/role:manage could not define role, and people with moodle/role:assign could not assign system roles.

12 years ago"MDL-15488, use a smaller icon for flickr"
dongsheng [Fri, 12 Sep 2008 03:36:39 +0000 (03:36 +0000)]
"MDL-15488, use a smaller icon for flickr"

12 years agoMDL-15488
dongsheng [Fri, 12 Sep 2008 03:32:31 +0000 (03:32 +0000)]
MDL-15488
1. Move flickr lib to lib/flickrlib.php
2. Create a new flickr plugin for public access, the original one will be
a personal repository, user need to login to access his/her own photos.

12 years agoUpdated the HEAD build version to 20080912
moodlerobot [Fri, 12 Sep 2008 01:55:13 +0000 (01:55 +0000)]
Updated the HEAD build version to 20080912

12 years agoMDL-15906 file picker improvements - it now keeps current file after failed server...
skodak [Thu, 11 Sep 2008 23:11:24 +0000 (23:11 +0000)]
MDL-15906 file picker improvements - it now keeps current file after failed server side validation or submission (input element used instead of button element)

12 years agoPrevent get_users_by_capability() to return deleted users. MDL-16323 ; merged from...
stronk7 [Thu, 11 Sep 2008 22:17:20 +0000 (22:17 +0000)]
Prevent get_users_by_capability() to return deleted users. MDL-16323 ; merged from 19_STABLE

12 years agoMDL-16468 never mail deleted users; merged from MOODLE_19_STABLE
skodak [Thu, 11 Sep 2008 19:54:39 +0000 (19:54 +0000)]
MDL-16468 never mail deleted users; merged from MOODLE_19_STABLE

12 years agoMDL-16422 add option to share files and new folders in box.net portfolio plugin
mjollnir_ [Thu, 11 Sep 2008 14:13:58 +0000 (14:13 +0000)]
MDL-16422 add option to share files and new folders in box.net portfolio plugin

12 years agoMDL-16423 - fixing regression i introduced in refactor with missing global
mjollnir_ [Thu, 11 Sep 2008 14:12:07 +0000 (14:12 +0000)]
MDL-16423  - fixing regression i introduced in refactor with missing global

12 years agoMDL-15666 - adding extra test to forum portfolio caller
mjollnir_ [Thu, 11 Sep 2008 14:03:41 +0000 (14:03 +0000)]
MDL-15666 - adding extra test to forum portfolio caller

12 years agoMDL-15666 - changes to the portfolio caller tests
mjollnir_ [Thu, 11 Sep 2008 13:47:40 +0000 (13:47 +0000)]
MDL-15666 - changes to the portfolio caller tests

now that i changed the api again (adding load_data), rather than add a call to it to
all the callers, i abstracted the caller setup into the parent class (portfoliolib_test)

12 years agoMDL-16423 - big refactor of the way callers interact with the portfolio code
mjollnir_ [Thu, 11 Sep 2008 13:42:58 +0000 (13:42 +0000)]
MDL-16423 - big refactor of the way callers interact with the portfolio code

added two new contract methods to the caller class, load_data and expected_callbackargs (static)
this means that the base class is the only place that needs a constructor
and that no data loading happens in the constructor
this in turn means we can check callback argument validity much more lightly

also completely remoted portfolio_add_button function and replaced with a class
as the argument list was getting out of control.  it's now much more readable.

12 years agoMDL-15760 - fix teeny notice-causing bug in box.net portfolio plugin
mjollnir_ [Thu, 11 Sep 2008 13:38:22 +0000 (13:38 +0000)]
MDL-15760 - fix teeny notice-causing bug in box.net portfolio plugin

12 years agoadd missing icons
urs_hunkler [Thu, 11 Sep 2008 13:23:45 +0000 (13:23 +0000)]
add missing icons

12 years agoMDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." Remov...
jamiesensei [Thu, 11 Sep 2008 12:59:33 +0000 (12:59 +0000)]
MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." Removing Quiz Item Analysis report

12 years agoMDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finis...
jamiesensei [Thu, 11 Sep 2008 12:48:08 +0000 (12:48 +0000)]
MDL-14202 "Replace Item Analysis Report with new improved 'Statistics' report." finished statistics report. This patch includes some changes to lib/tablelib.php so that it is possible to export the content of a table as part of a multi table export - with mutliple tables / multiple worksheets.

12 years agoMDL-6751 improve the usability of the page a bit.
tjhunt [Thu, 11 Sep 2008 11:07:04 +0000 (11:07 +0000)]
MDL-6751 improve the usability of the page a bit.

12 years agoMDL-16410 Implement the delete question type functionality on the question type admin...
tjhunt [Thu, 11 Sep 2008 11:01:20 +0000 (11:01 +0000)]
MDL-16410 Implement the delete question type functionality on the question type administration screen.

12 years agoImprove comment.
tjhunt [Thu, 11 Sep 2008 10:37:50 +0000 (10:37 +0000)]
Improve comment.

12 years agoMDL-16456 Remove support for old-style config.html files in modules.
tjhunt [Thu, 11 Sep 2008 10:25:30 +0000 (10:25 +0000)]
MDL-16456 Remove support for old-style config.html files in modules.

12 years agoMDL-16457 Remove support for old-style filterconfig.html files
tjhunt [Thu, 11 Sep 2008 10:22:22 +0000 (10:22 +0000)]
MDL-16457 Remove support for old-style filterconfig.html files

12 years ago"MDL-13766, improve settings"
dongsheng [Thu, 11 Sep 2008 09:15:27 +0000 (09:15 +0000)]
"MDL-13766, improve settings"

12 years agoMDL-14129 missing language string.
tjhunt [Thu, 11 Sep 2008 08:49:42 +0000 (08:49 +0000)]
MDL-14129 missing language string.

12 years agoMDL-15351: small fix when search is not used.
scyrma [Thu, 11 Sep 2008 08:13:12 +0000 (08:13 +0000)]
MDL-15351: small fix when search is not used.

12 years ago"MDL-13766, expand automaticlly"
dongsheng [Thu, 11 Sep 2008 07:58:39 +0000 (07:58 +0000)]
"MDL-13766, expand automaticlly"

12 years agoMDL-15351: testing to make folder expanded by default
scyrma [Thu, 11 Sep 2008 07:48:35 +0000 (07:48 +0000)]
MDL-15351: testing to make folder expanded by default

12 years agoMDL-16447 move quiz-specific pictures out of theme/standard/pix/
tjhunt [Thu, 11 Sep 2008 07:34:51 +0000 (07:34 +0000)]
MDL-16447 move quiz-specific pictures out of theme/standard/pix/

12 years agoMDL-15351: it's now possible to search the local repository
scyrma [Thu, 11 Sep 2008 07:30:07 +0000 (07:30 +0000)]
MDL-15351: it's now possible to search the local repository

12 years agoMDL-15402: flickr rep admin settings updated (I forgot to set multiple instances...
jerome [Thu, 11 Sep 2008 06:45:34 +0000 (06:45 +0000)]
MDL-15402: flickr rep admin settings updated (I forgot to set multiple instances to true)

12 years agoMDL-15402: flickr rep admin settings updated
jerome [Thu, 11 Sep 2008 06:42:54 +0000 (06:42 +0000)]
MDL-15402: flickr rep admin settings updated

12 years agoMDL-16449 error unexpected event exception in essay question
tjhunt [Thu, 11 Sep 2008 03:57:28 +0000 (03:57 +0000)]
MDL-16449 error unexpected event exception in essay question

12 years agoMDL-15488
dongsheng [Thu, 11 Sep 2008 03:18:54 +0000 (03:18 +0000)]
MDL-15488
Use a popup login window intead inline login form
TODO:
Find a grace way to verify token

12 years agoUpdated the HEAD build version to 20080911
moodlerobot [Thu, 11 Sep 2008 02:01:32 +0000 (02:01 +0000)]
Updated the HEAD build version to 20080911

12 years agoMDL-15666 new unit test for new button class
nicolasconnault [Wed, 10 Sep 2008 17:08:14 +0000 (17:08 +0000)]
MDL-15666 new unit test for new button class

12 years agoMDL-16423 - make the button object more robust by detecting errors better
mjollnir_ [Wed, 10 Sep 2008 16:46:23 +0000 (16:46 +0000)]
MDL-16423 -  make the button object more robust by detecting errors better

12 years agoMDL-16423 - fixing bugs in last commit (portfolio_add_button refactor)
mjollnir_ [Wed, 10 Sep 2008 16:43:33 +0000 (16:43 +0000)]
MDL-16423 - fixing bugs in last commit (portfolio_add_button refactor)

12 years agoMDL-16423 - refactor of portfolio_add_button into class for much better usability
mjollnir_ [Wed, 10 Sep 2008 16:34:08 +0000 (16:34 +0000)]
MDL-16423 - refactor of portfolio_add_button into class for much better usability

currently portfolio_add_button still exists and just acts as a wrapper around the class
so i have not changed any calling code to use the new objects yet.

12 years agoMDL-15666 MDL-16177 Fixed pgsql bug
nicolasconnault [Wed, 10 Sep 2008 15:14:44 +0000 (15:14 +0000)]
MDL-15666 MDL-16177 Fixed pgsql bug

12 years agoMDL-16414 - backing out earlier patch to try and fix this
mjollnir_ [Wed, 10 Sep 2008 13:51:23 +0000 (13:51 +0000)]
MDL-16414 - backing out earlier patch to try and fix this

12 years agoMDL-14591 - fix misnamed member variable in exporter class
mjollnir_ [Wed, 10 Sep 2008 13:51:01 +0000 (13:51 +0000)]
MDL-14591 - fix misnamed member variable in exporter class

12 years agoMDL-16414 - make the download plugin just redirect to the file url
mjollnir_ [Wed, 10 Sep 2008 13:07:16 +0000 (13:07 +0000)]
MDL-16414 - make the download plugin just redirect to the file url

12 years agoMDL-14591 - add get_base_file_url for pull portfolio plugins to use
mjollnir_ [Wed, 10 Sep 2008 12:49:14 +0000 (12:49 +0000)]
MDL-14591 - add get_base_file_url for pull portfolio plugins to use

12 years agoMDL-16406 - trying to mitigate box.net problems slightly.
mjollnir_ [Wed, 10 Sep 2008 12:04:30 +0000 (12:04 +0000)]
MDL-16406 - trying to mitigate box.net problems slightly.

12 years agofix typo in boxlib library (renamefile)
mjollnir_ [Wed, 10 Sep 2008 11:52:29 +0000 (11:52 +0000)]
fix typo in boxlib library (renamefile)

12 years agoMDL-15760 - removing out of date comment in boxnet portfolio plugin
mjollnir_ [Wed, 10 Sep 2008 11:03:25 +0000 (11:03 +0000)]
MDL-15760 - removing out of date comment in boxnet portfolio plugin

12 years agoMDL-16411 Oops, I had the logic backwards.
tjhunt [Wed, 10 Sep 2008 10:30:43 +0000 (10:30 +0000)]
MDL-16411 Oops, I had the logic backwards.

12 years agoMDL-16411 Move all plugintype_pluginname_version values from config to config_plugins
tjhunt [Wed, 10 Sep 2008 10:15:05 +0000 (10:15 +0000)]
MDL-16411 Move all plugintype_pluginname_version values from config to config_plugins

12 years agoMDL-16423 - upload assignment types get mime detection (and fixed earlier related...
mjollnir_ [Wed, 10 Sep 2008 09:38:04 +0000 (09:38 +0000)]
MDL-16423 - upload assignment types get mime detection (and fixed earlier related regression)

12 years agoMDL-15833 - added some commented out hints for upload resource (not implemented yet)
mjollnir_ [Wed, 10 Sep 2008 09:36:42 +0000 (09:36 +0000)]
MDL-15833 - added some commented out hints for upload resource (not implemented yet)

12 years ago"MDL-13766, add path to node"
dongsheng [Wed, 10 Sep 2008 07:42:41 +0000 (07:42 +0000)]
"MDL-13766, add path to node"

12 years agoMDL-13766
dongsheng [Wed, 10 Sep 2008 07:11:47 +0000 (07:11 +0000)]
MDL-13766
1. change css className
2. add comments

12 years agoMissing global $DB; causing fatal error.
tjhunt [Wed, 10 Sep 2008 06:21:27 +0000 (06:21 +0000)]
Missing global $DB; causing fatal error.

12 years agoMDL-16409 - Finish the report.
tjhunt [Wed, 10 Sep 2008 05:34:09 +0000 (05:34 +0000)]
MDL-16409 - Finish the report.

12 years agoRefactor getting question bank capabilties in mod/quiz/lib.php - don't hard code...
tjhunt [Wed, 10 Sep 2008 05:28:25 +0000 (05:28 +0000)]
Refactor getting question bank capabilties in mod/quiz/lib.php - don't hard code them.

Also, functions for getting a URL for editing questions in a particular context, ready for MDL-16409.

12 years agoWhitespace fix.
tjhunt [Wed, 10 Sep 2008 05:26:35 +0000 (05:26 +0000)]
Whitespace fix.

12 years ago"MDL-13766, remove debug code"
dongsheng [Wed, 10 Sep 2008 05:20:08 +0000 (05:20 +0000)]
"MDL-13766, remove debug code"

12 years agoMDL-15351: correcting context and list all available files
scyrma [Wed, 10 Sep 2008 04:21:43 +0000 (04:21 +0000)]
MDL-15351: correcting context and list all available files

12 years agoMDL-15402: display title attribut for show/hide image in the repository administration
jerome [Wed, 10 Sep 2008 04:12:42 +0000 (04:12 +0000)]
MDL-15402: display title attribut for show/hide image in the repository administration

12 years agoMDL-15402: now Moodle display course/user repositories only if the user can edit...
jerome [Wed, 10 Sep 2008 03:44:08 +0000 (03:44 +0000)]
MDL-15402: now Moodle display course/user repositories only if the user can edit/create at least one instance

12 years agoMDL-16378 Changes to lang strings,
peterbulmer [Wed, 10 Sep 2008 03:25:28 +0000 (03:25 +0000)]
MDL-16378 Changes to lang strings,
remoteappuser should be output as somthing like 'Remote Moodle User' or
'Remote Mahara User' or 'Remote <application name goes here> User'

12 years agoMDL-16403
dongsheng [Wed, 10 Sep 2008 03:10:42 +0000 (03:10 +0000)]
MDL-16403
1. move boxnet lib to moodle lib folder
2. fix a notice

12 years agoMDL-16429 Notice when previewing questions since MDL-16263 was implemented.
tjhunt [Wed, 10 Sep 2008 02:58:52 +0000 (02:58 +0000)]
MDL-16429 Notice when previewing questions since MDL-16263 was implemented.

12 years ago"MDL-13766, load yui lib one time, TODO: load file picker code one time"
dongsheng [Wed, 10 Sep 2008 02:49:53 +0000 (02:49 +0000)]
"MDL-13766, load yui lib one time, TODO: load file picker code one time"

12 years agoMDL-16263 - followup - I forgot to commit these images before.
tjhunt [Wed, 10 Sep 2008 02:45:36 +0000 (02:45 +0000)]
MDL-16263 - followup - I forgot to commit these images before.

12 years agoMDL-7010 - followup - quiz config settings were referred to in two places in the...
tjhunt [Wed, 10 Sep 2008 02:44:21 +0000 (02:44 +0000)]
MDL-7010 - followup - quiz config settings were referred to in two places in the question bank. Since these settings are now in config_plugins, the references need to be update. (Of course, perhaps these should not be referred to at all ...)

12 years ago"MDL-13766, fix event register bug"
dongsheng [Wed, 10 Sep 2008 01:57:18 +0000 (01:57 +0000)]
"MDL-13766, fix event register bug"

12 years agoUpdated the HEAD build version to 20080910
moodlerobot [Wed, 10 Sep 2008 01:52:21 +0000 (01:52 +0000)]
Updated the HEAD build version to 20080910

12 years agoMDL-15758: fixing regressions i introduced in lib.php v 1.359
mjollnir_ [Tue, 9 Sep 2008 21:06:19 +0000 (21:06 +0000)]
MDL-15758: fixing regressions i introduced in lib.php v 1.359

12 years agoMDL-15760 improvements to create folder handling in box.net portfolio plugin
mjollnir_ [Tue, 9 Sep 2008 21:03:37 +0000 (21:03 +0000)]
MDL-15760 improvements to create folder handling in box.net portfolio plugin

12 years agoMDL-15350 - make boxnet client implement sane defaults for createfolder as well as...
mjollnir_ [Tue, 9 Sep 2008 20:57:46 +0000 (20:57 +0000)]
MDL-15350 - make boxnet client implement sane defaults for createfolder as well as upload file

12 years agoMDL-16403A - save state in portfolio before redirecting to steal control url.
mjollnir_ [Tue, 9 Sep 2008 14:08:59 +0000 (14:08 +0000)]
MDL-16403A - save state in portfolio before redirecting to steal control url.

12 years agoMDL-15666 chat module caller tests and generation
nicolasconnault [Tue, 9 Sep 2008 14:04:29 +0000 (14:04 +0000)]
MDL-15666 chat module caller tests and generation

12 years agoMDL-16405 - throw the right exception during admin operations to avoid unnecessary...
mjollnir_ [Tue, 9 Sep 2008 13:44:16 +0000 (13:44 +0000)]
MDL-16405 - throw the right exception during admin operations to avoid unnecessary debugging notice.

12 years agoMDL-16341 - flickr plugin should allow only one instance to be configured
mjollnir_ [Tue, 9 Sep 2008 13:32:48 +0000 (13:32 +0000)]
MDL-16341 - flickr plugin should allow only one instance to be configured

12 years agoMDL-15666 adding data mod tables to list of tables to clean up
nicolasconnault [Tue, 9 Sep 2008 13:01:23 +0000 (13:01 +0000)]
MDL-15666 adding data mod tables to list of tables to clean up

12 years agoMDL-15666 database module caller unit test working (get_sha1 only)
nicolasconnault [Tue, 9 Sep 2008 12:49:32 +0000 (12:49 +0000)]
MDL-15666 database module caller unit test working (get_sha1 only)

12 years agoMDL-16391 - forum posts with no attachments get to be PORTFOLIO_FORMAT_HTML
mjollnir_ [Tue, 9 Sep 2008 11:25:45 +0000 (11:25 +0000)]
MDL-16391 - forum posts with no attachments get to be PORTFOLIO_FORMAT_HTML

12 years agoMDL-16391 - plain text resources are now PORTFOLIO_FORMAT_TEXT.
mjollnir_ [Tue, 9 Sep 2008 11:01:29 +0000 (11:01 +0000)]
MDL-16391 - plain text resources are now PORTFOLIO_FORMAT_TEXT.

12 years agoMDL-15666 Fixed some fatal errors in database generation
nicolasconnault [Tue, 9 Sep 2008 10:17:48 +0000 (10:17 +0000)]
MDL-15666 Fixed some fatal errors in database generation

12 years agoMDL-16409 Make a new admin report to list all questions of a particular type, by...
tjhunt [Tue, 9 Sep 2008 10:16:17 +0000 (10:16 +0000)]
MDL-16409 Make a new admin report to list all questions of a particular type, by context

Partially done. This has the settings form, and queries the database for the right data, but does not format it correctly yet.

12 years agoMDL-16390 - detect duplicates when copying files to portfolio export area and handle...
mjollnir_ [Tue, 9 Sep 2008 09:56:56 +0000 (09:56 +0000)]
MDL-16390 - detect duplicates when copying files to portfolio export area and handle it nicer
this will mean that there will only be one file, and the filename will be set to whatever the first one was, but it's better than getting the error.

12 years agoMDL-16348 - followup - prevent debug output when logged in as a non-admin. Thanks...
tjhunt [Tue, 9 Sep 2008 09:35:54 +0000 (09:35 +0000)]
MDL-16348 - followup - prevent debug output when logged in as a non-admin. Thanks to Mat for ponting this out.

12 years agoMDL-15833 - make the portfolio callers use the helper functions to detect expected...
mjollnir_ [Tue, 9 Sep 2008 09:32:16 +0000 (09:32 +0000)]
MDL-15833 - make the portfolio callers use the helper functions to detect expected time.

12 years agoReplaced the loading image that had an english word in it with something language...
moodler [Tue, 9 Sep 2008 09:23:09 +0000 (09:23 +0000)]
Replaced the loading image that had an english word in it with something language neutral

12 years agoMDL-15666 Added database and forum caller unit tests
nicolasconnault [Tue, 9 Sep 2008 09:17:49 +0000 (09:17 +0000)]
MDL-15666 Added database and forum caller unit tests

12 years agoMDL-16343 - followup - HTML Strict!
tjhunt [Tue, 9 Sep 2008 09:11:57 +0000 (09:11 +0000)]
MDL-16343 - followup - HTML Strict!

12 years agoMDL-15768 - fixing missing cap check in export whole forum discussion
mjollnir_ [Tue, 9 Sep 2008 09:10:11 +0000 (09:10 +0000)]
MDL-15768 - fixing missing cap check in export whole forum discussion

12 years agoMDL-15405: missing check
scyrma [Tue, 9 Sep 2008 09:08:43 +0000 (09:08 +0000)]
MDL-15405: missing check

12 years agoMDL-13766
dongsheng [Tue, 9 Sep 2008 09:04:32 +0000 (09:04 +0000)]
MDL-13766
1. redesign file picker UI
2. fix a bug of popup window
3. reduce number of pics per page (flickr plugin)

12 years agoMDL-15362 - localised mnet server fault strings and added size to send_content_ready
mjollnir_ [Tue, 9 Sep 2008 09:01:31 +0000 (09:01 +0000)]
MDL-15362 - localised mnet server fault strings and added size to send_content_ready
so mahara can check user quotas earlier in the transfer

12 years agoMDL-15833 - lang strings for admin settings for expected time thresholds
mjollnir_ [Tue, 9 Sep 2008 08:59:27 +0000 (08:59 +0000)]
MDL-15833 - lang strings for admin settings for expected time thresholds

12 years agoMDL-15833 - provide helper functions to determine expected time, and allow admins...
mjollnir_ [Tue, 9 Sep 2008 08:57:51 +0000 (08:57 +0000)]
MDL-15833 - provide helper functions to determine expected time, and allow admins to set thresholds.