]>
git.mjollnir.org Git - moodle.git/log
moodlerobot [Thu, 6 Aug 2009 00:39:43 +0000 (00:39 +0000)]
Updated the HEAD build version to
20090806
nicolasconnault [Thu, 6 Aug 2009 00:37:34 +0000 (00:37 +0000)]
MDL-19795 Upgraded call to choose_from_menu_yesno
nicolasconnault [Thu, 6 Aug 2009 00:35:06 +0000 (00:35 +0000)]
MDL-19799 Upgraded calls to choose_from_menu_nested
nicolasconnault [Thu, 6 Aug 2009 00:34:48 +0000 (00:34 +0000)]
MDL-19794 Upgraded calls to choose_from_menu_nested
nicolasconnault [Thu, 6 Aug 2009 00:27:42 +0000 (00:27 +0000)]
MDL-19813 Upgraded call to button_to_popup_window
nicolasconnault [Thu, 6 Aug 2009 00:27:20 +0000 (00:27 +0000)]
MDL-19807 Upgraded call to button_to_popup_window
nicolasconnault [Thu, 6 Aug 2009 00:26:09 +0000 (00:26 +0000)]
MDL-19756 Fixed BC of update_module_button()
nicolasconnault [Thu, 6 Aug 2009 00:08:11 +0000 (00:08 +0000)]
MDL-19789 Removed choose_from_radio and choose_from_menu calls
nicolasconnault [Thu, 6 Aug 2009 00:07:43 +0000 (00:07 +0000)]
MDL-19756 Removed TODO for choose_from_radio
nicolasconnault [Thu, 6 Aug 2009 00:05:39 +0000 (00:05 +0000)]
MDL-19756 Suppressing debugging messages about deprecated functions for now
skodak [Wed, 5 Aug 2009 21:52:17 +0000 (21:52 +0000)]
MDL-20007 temporary fix for styles broken by UI overriding general elements
skodak [Wed, 5 Aug 2009 20:29:34 +0000 (20:29 +0000)]
MDL-20007 temporary fix for styles broken by UI overriding general elements
poltawski [Wed, 5 Aug 2009 16:38:27 +0000 (16:38 +0000)]
blocks/rss_client: MDL-13932 - alter output formating
Doesn't make much sense to have FORMAT_MOODLE for external
rss content.
mudrd8mz [Wed, 5 Aug 2009 15:16:31 +0000 (15:16 +0000)]
NOBUG: $OUTPUT->user_picture() does not accept link but courseid
mudrd8mz [Wed, 5 Aug 2009 15:13:22 +0000 (15:13 +0000)]
NOBUG: $OUTPUT->user_picture() has no $popup parameter
mudrd8mz [Wed, 5 Aug 2009 11:50:17 +0000 (11:50 +0000)]
Fixes the displayed text and makes the new API lighter
mudrd8mz [Wed, 5 Aug 2009 11:19:34 +0000 (11:19 +0000)]
MDL-20001 use passed $itemid instead of $data->id
mudrd8mz [Wed, 5 Aug 2009 10:08:45 +0000 (10:08 +0000)]
NOBUG: documenting file_prepare_standard_editor()
nicolasconnault [Wed, 5 Aug 2009 08:49:56 +0000 (08:49 +0000)]
MDL-19756 Fixed bugs and improved API in various places
dongsheng [Wed, 5 Aug 2009 03:18:52 +0000 (03:18 +0000)]
"MDL-16548, fixed upload button"
dongsheng [Wed, 5 Aug 2009 03:07:23 +0000 (03:07 +0000)]
"MDL-15351, remove draft area support"
nicolasconnault [Wed, 5 Aug 2009 02:39:42 +0000 (02:39 +0000)]
MDL-19756 Deprecated update_course_icon() and implemented a simple $OUTPUT->edit_button($moodleurl) method which uses $USER->editing
nicolasconnault [Wed, 5 Aug 2009 02:03:50 +0000 (02:03 +0000)]
MDL-19756 MDL-19825 MDL-19823 MDL-19794 Deprecated update_tag_button, update_categories_search_button and print_user, and updated a few pages that depended on the now deprecated functions
nicolasconnault [Wed, 5 Aug 2009 00:00:20 +0000 (00:00 +0000)]
MDL-19756 Deprecated update_mymoodle_icon() and upgraded my/index.php with new output code
moodlerobot [Tue, 4 Aug 2009 23:29:50 +0000 (23:29 +0000)]
Updated the HEAD build version to
20090805
mudrd8mz [Tue, 4 Aug 2009 19:35:00 +0000 (19:35 +0000)]
NOBUG: fixing and documenting file_postupdate_standard_editor()
Fixed a hardcoded name of the field to hold the trust info (the previous name comes from the glossary module). Added some documentation based on my experiences.
stronk7 [Tue, 4 Aug 2009 15:41:00 +0000 (15:41 +0000)]
NOBUG: Extend param_file and param_path to nicely support utf-8 chars
nicolasconnault [Tue, 4 Aug 2009 15:15:11 +0000 (15:15 +0000)]
MDL-19756 Migrated print_heading_with_help
nicolasconnault [Tue, 4 Aug 2009 14:06:41 +0000 (14:06 +0000)]
MDL-19821 Migrated most of filepicker's output code to new outputlib API
nicolasconnault [Tue, 4 Aug 2009 13:59:02 +0000 (13:59 +0000)]
MDL-19756 Fixed regression in unit tests
stronk7 [Tue, 4 Aug 2009 13:57:00 +0000 (13:57 +0000)]
NOBUG: Fix wrong(4) default for label->introformat. Must be 0
moodler [Tue, 4 Aug 2009 09:33:43 +0000 (09:33 +0000)]
category blocks MDL-19398 Set the proper context on the course category pages so blocks work properly
nicolasconnault [Tue, 4 Aug 2009 09:09:06 +0000 (09:09 +0000)]
MDL-19756 Fixed regression in popup_form()
nicolasconnault [Tue, 4 Aug 2009 07:44:31 +0000 (07:44 +0000)]
MDL-19756 Removed debugging message regarding string URLs in redirect() function
nicolasconnault [Tue, 4 Aug 2009 02:42:24 +0000 (02:42 +0000)]
MDL-19756 Migrated print_textfield, choose_from_radio and print_checkbox
nicolasconnault [Tue, 4 Aug 2009 02:05:32 +0000 (02:05 +0000)]
MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions.
moodlerobot [Tue, 4 Aug 2009 00:37:39 +0000 (00:37 +0000)]
Updated the HEAD build version to
20090804
mudrd8mz [Mon, 3 Aug 2009 18:54:07 +0000 (18:54 +0000)]
file api: fixing a critical typo
poltawski [Mon, 3 Aug 2009 16:56:53 +0000 (16:56 +0000)]
block/rss_client: MDL-19990 Make feed discovery configurable
Simplepie will try quite aggresively to autodiscover rss feeds by
default. Make this configurable when adding a feed and also store
the autodiscovered location rather than the input location.
I also removed the feed validator as this doesn't make much sense with
feed autodiscovery, and I think we can improve simplepie integration to
do this instead
nicolasconnault [Mon, 3 Aug 2009 11:03:16 +0000 (11:03 +0000)]
MDL-19756 Migrated print_close_window to $OUTPUT->print_close_window($text)
mudrd8mz [Mon, 3 Aug 2009 10:54:29 +0000 (10:54 +0000)]
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)
skodak [Mon, 3 Aug 2009 07:35:41 +0000 (07:35 +0000)]
MDL17980 reverting last commit - other devs agreed, to be explained in tracker
dongsheng [Mon, 3 Aug 2009 07:22:55 +0000 (07:22 +0000)]
"MDL-19985, fixed undefined typeid, thanks for andrei's patch"
nicolasconnault [Mon, 3 Aug 2009 07:15:21 +0000 (07:15 +0000)]
MDL-19787 Changed Yes button to using GET instead of POST
jerome [Mon, 3 Aug 2009 04:02:39 +0000 (04:02 +0000)]
installation MDL-19984 fix SQL error during upgrade process
dongsheng [Mon, 3 Aug 2009 03:48:24 +0000 (03:48 +0000)]
"MDL-19118, formlib removal of comments api"
peterbulmer [Mon, 3 Aug 2009 03:46:58 +0000 (03:46 +0000)]
MDL17980 remove redundant files
peterbulmer [Mon, 3 Aug 2009 03:38:23 +0000 (03:38 +0000)]
MDL17980 mnet improvements
* Allow multiple roles to be allocated by identity provider
* Allow existing enrolment plugins to manage mnet enrolments
Author: Peter Bulmer <peter.bulmer@catalyst.net.nz>
moodlerobot [Mon, 3 Aug 2009 00:36:25 +0000 (00:36 +0000)]
Updated the HEAD build version to
20090803
skodak [Sun, 2 Aug 2009 18:53:41 +0000 (18:53 +0000)]
MDL-16597 fixed broken maxfiles == -1 support in file manager
skodak [Sun, 2 Aug 2009 11:37:37 +0000 (11:37 +0000)]
MDL-19982 fixed notice if group empty; merged from MOODLE_19_STABLE
moodlerobot [Sun, 2 Aug 2009 00:37:30 +0000 (00:37 +0000)]
Updated the HEAD build version to
20090802
moodlerobot [Sat, 1 Aug 2009 00:36:28 +0000 (00:36 +0000)]
Updated the HEAD build version to
20090801
poltawski [Fri, 31 Jul 2009 21:20:35 +0000 (21:20 +0000)]
blocks/rss_client: MDL-13932 Fix typo when editting feed
This caused loss of which course we were adding/edditing a feed to.
poltawski [Fri, 31 Jul 2009 21:20:21 +0000 (21:20 +0000)]
blocks/rss_client: MDL-13932: viewfeed.php typo
link -> description
poltawski [Fri, 31 Jul 2009 21:19:55 +0000 (21:19 +0000)]
blocks/rss_client: MDL-13932 Incease timeout when adding feeds
In order to stop 'slow loading feeds' causing performance problems
with standard moodle pages, i've set the timeout for simplepie quite
low. When cron runs i've set this timeout high and cache duration low.
The intention is that cron does all the hard work of connecting to remote
sites and users get this fast fast fast from cache.
However, in the case of adding a feed its probably better to try and get the
feed more agressively..
poltawski [Fri, 31 Jul 2009 21:19:37 +0000 (21:19 +0000)]
blocks/rss_client: MDL-13932 fix config_shownumentries typo
This caused incorrect rules/defaults to be added
Also add client side validation of the number
poltawski [Fri, 31 Jul 2009 21:19:20 +0000 (21:19 +0000)]
lib/rsslib - Missing global decloration of $OUTPUT
nicolasconnault [Fri, 31 Jul 2009 11:14:16 +0000 (11:14 +0000)]
MDL-19756 Outputting a debugging message if $OUTPUT->form() is called without $contents but with a $form->button set. Should use $OUTPUT->button($form) instead
nicolasconnault [Fri, 31 Jul 2009 09:30:11 +0000 (09:30 +0000)]
MDL-19976 Changing redirect($url->out()) to redirect($url). NEVER, NEVER use redirect($url->out())!!! Bad Tim! :p
moodler [Fri, 31 Jul 2009 04:18:57 +0000 (04:18 +0000)]
blocks MDL-19010 Fixed a typo to make the title a string
moodler [Fri, 31 Jul 2009 04:17:09 +0000 (04:17 +0000)]
blocks MDL-19010 Slight reordering of logic to allow titles to be changed by block get_contents (credit to tim)
nicolasconnault [Fri, 31 Jul 2009 02:39:38 +0000 (02:39 +0000)]
MDL-19756 MDL-19973 Fixed support of url by user_picture, and improved API for adding a popup action (set $userpic->popup = true)
moodlerobot [Fri, 31 Jul 2009 00:39:56 +0000 (00:39 +0000)]
Updated the HEAD build version to
20090731
stronk7 [Thu, 30 Jul 2009 22:16:09 +0000 (22:16 +0000)]
MDL-19974 postgres sql generator - delete unused variable
stronk7 [Thu, 30 Jul 2009 22:12:42 +0000 (22:12 +0000)]
MDL-19057, MDL-19974 DDL tests - WIP: from 365 to 473 tests (add/drop field and change_field_type)
stronk7 [Thu, 30 Jul 2009 22:08:47 +0000 (22:08 +0000)]
MDL-19974 postgres sql generator - simplified a lot thanks to 8.x as min req in Moodle 2.0 (alter column & defaults handling)
poltawski [Thu, 30 Jul 2009 18:57:19 +0000 (18:57 +0000)]
lib/simplepie MDL-7946 - improve simplepie defaults
- Specify default low connect timeout in order that 'interactive' pages are
not slowed down by slow feeds
- Set default cache feed duration of 1 hour
In RSS feed block:
- Try really hard in cron to retreive the feed
- Set the cache duration low in order to help cron refresh the cache
stronk7 [Thu, 30 Jul 2009 18:54:54 +0000 (18:54 +0000)]
MDL-19695 dependencies - now every change_field_xxx() method looks for dependencies
stronk7 [Thu, 30 Jul 2009 18:48:42 +0000 (18:48 +0000)]
MDL-19701, MDL-19695 ddl stuff - review upgrade to enforce dependencies on every field operation
poltawski [Thu, 30 Jul 2009 16:11:00 +0000 (16:11 +0000)]
lib/simplepie MDL-7946 Set magpie HTTP headers with curl
This allows simplepie to set if-modified-since/if-none-match headers
to efficiently test if a feed has been updated without recieving the
whole content
mudrd8mz [Thu, 30 Jul 2009 15:16:53 +0000 (15:16 +0000)]
MDL-19972 reverting the previous commit
Petr does not agree with adding this new function before require_login() and friends are re-thinked.
poltawski [Thu, 30 Jul 2009 14:49:23 +0000 (14:49 +0000)]
Remove lib/magpie: MDL-7946/MDL-13932
It is no longer maintained and simplepie has
replaced it as a maintained and robust alternative
mudrd8mz [Thu, 30 Jul 2009 14:13:27 +0000 (14:13 +0000)]
MDL-19972 new function require_real_user()
poltawski [Thu, 30 Jul 2009 13:52:05 +0000 (13:52 +0000)]
block/rss_client MDL-19970 - feeds failed to be deleted
The removing the rssfeed from cache is no longer relevant with simplepie,
but i'll create a bug to investigate clearning the cache.
poltawski [Thu, 30 Jul 2009 13:44:26 +0000 (13:44 +0000)]
ajaxlib: MDL-19756 Use 'confirmation' string which exists in confirm_dialogue
stronk7 [Thu, 30 Jul 2009 13:40:59 +0000 (13:40 +0000)]
MDL-19969 standarising plugin names - prevent dupes in case record is already there
tjhunt [Thu, 30 Jul 2009 10:29:14 +0000 (10:29 +0000)]
blocks: MDL-19893 move blocks on page UI - part 2
This updates the DB.
I beleive this is correct, but it is very hairy and badly needs unit tests.
jerome [Thu, 30 Jul 2009 09:40:11 +0000 (09:40 +0000)]
block MDL-19946 fix "cannot add block" bug (Tim's fix)
skodak [Thu, 30 Jul 2009 09:05:18 +0000 (09:05 +0000)]
fixed broken validation of parameters in confirm method
tjhunt [Thu, 30 Jul 2009 08:22:12 +0000 (08:22 +0000)]
blocks: MDL-19893 move blocks on page UI - part 1
This does all the UI. It does not yet update the DB when you click to complete the action.
nicolasconnault [Thu, 30 Jul 2009 06:29:38 +0000 (06:29 +0000)]
MDL-19791 Fixed call to add_action
nicolasconnault [Thu, 30 Jul 2009 06:09:45 +0000 (06:09 +0000)]
MDL-19756 Improved API of OUTPUT->confirm()
nicolasconnault [Thu, 30 Jul 2009 03:48:08 +0000 (03:48 +0000)]
MDL-19794 Updated topic and course format's use of popup_form for temporarily working with new outputlib code. Will eventually need proper upgrading.
nicolasconnault [Thu, 30 Jul 2009 03:47:12 +0000 (03:47 +0000)]
MDL-19756 Migrated popup_form
tjhunt [Thu, 30 Jul 2009 03:44:10 +0000 (03:44 +0000)]
blocks: MDL-19399 proper permissions checks for editing blocks.
In particular for editing sticky blocks. If the admin addes one at site level,
then the teacher should not be able to change its configuration from
the course page, but should be able to set the position on this page.
moodlerobot [Thu, 30 Jul 2009 00:37:39 +0000 (00:37 +0000)]
Updated the HEAD build version to
20090730
stronk7 [Wed, 29 Jul 2009 19:00:55 +0000 (19:00 +0000)]
NOBUG Fixed error happening when restoring missingtype questions if answers weren't present (cast error) Merged from 19_STABLE
mudrd8mz [Wed, 29 Jul 2009 16:38:40 +0000 (16:38 +0000)]
MDL-19956 $PAGE->set_url(...) passes the same arguments to the legacy page object
Credit goes to Tim Hunt, thanks for explaining this to me.
mudrd8mz [Wed, 29 Jul 2009 16:05:36 +0000 (16:05 +0000)]
MDL-19956 $PAGE->set_url(...) accepts already prepared instance of moodle_url
poltawski [Wed, 29 Jul 2009 14:10:15 +0000 (14:10 +0000)]
block_rss_client/rsslib MDL-1393 Clean up
- Remove obsolete magpie configuration
- Remove block_rss_client_submitters which has not been used for some
time
- Remove some block_rss_client setup from rsslib.php
poltawski [Wed, 29 Jul 2009 13:44:28 +0000 (13:44 +0000)]
block_rss_client: MDL-13932/MDL-7946 - Switch to use Simplepie
Simplepie is actively maintained and supports a broader range of feeds
poltawski [Wed, 29 Jul 2009 13:13:04 +0000 (13:13 +0000)]
block_rss_client: MDL-13932 Fix equality typo
tjhunt [Wed, 29 Jul 2009 11:18:55 +0000 (11:18 +0000)]
block_rss_client: MDL-13932 Clean up a lot of the crap.
This was all in order to do MDL-19889!
* The old tabbed interface is gone.
* The manage feeds UI has been completely rewritten to be a few
separate sane scripts like managefeeds.php, editfeed.php and viewfeed.php
* This is used from both Admin -> plugins -> blocks ... and as a link from the block edit_form.php
* new edit_form.php for the block replacing config_istance.php.
* A lot of stuff to do with UI specific to this block has been removed from rsslib.php
tjhunt [Wed, 29 Jul 2009 11:14:41 +0000 (11:14 +0000)]
blocks: MDL-19010 fix block editing icon URLs.
tjhunt [Wed, 29 Jul 2009 08:52:49 +0000 (08:52 +0000)]
MDL-19756 Try to bring some consistency to how we handle & is attribute values.
tjhunt [Wed, 29 Jul 2009 08:45:24 +0000 (08:45 +0000)]
MDL-19756 Fixes to make actions on action_icons work.
moodler [Wed, 29 Jul 2009 08:12:48 +0000 (08:12 +0000)]
theme/styles MDL-19953 $THEME->csslifetime lets themers adjust the cacheability of their theme in seconds.
Also:
1) In dev mode, caching is 60 seconds all the time.
2) Standard theme always has a long 2 days
tjhunt [Wed, 29 Jul 2009 05:19:45 +0000 (05:19 +0000)]
blocks: MDL-19889 Convert mentees block to use edit_form.php - lang string.
tjhunt [Wed, 29 Jul 2009 05:19:39 +0000 (05:19 +0000)]
blocks: MDL-19889 Convert mentees block to use edit_form.php