37246 Commits

Author SHA1 Message Date
nicolasconnault
7527a2f08a MDL-19756 Deprecated update_mymoodle_icon() and upgraded my/index.php with new output code 2009-08-05 00:00:20 +00:00
moodlerobot
6e22a1d8ed Updated the HEAD build version to 20090805 2009-08-04 23:29:50 +00:00
mudrd8mz
19fbc61756 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.
2009-08-04 19:35:00 +00:00
stronk7
4d51214ae9 NOBUG: Extend param_file and param_path to nicely support utf-8 chars 2009-08-04 15:41:00 +00:00
nicolasconnault
e1cc88403a MDL-19756 Migrated print_heading_with_help 2009-08-04 15:15:11 +00:00
nicolasconnault
c33aa23b50 MDL-19821 Migrated most of filepicker's output code to new outputlib API 2009-08-04 14:06:41 +00:00
nicolasconnault
234b857c0c MDL-19756 Fixed regression in unit tests 2009-08-04 13:59:02 +00:00
stronk7
fe8ce24aac NOBUG: Fix wrong(4) default for label->introformat. Must be 0 2009-08-04 13:57:00 +00:00
moodler
17f950eb0d category blocks MDL-19398 Set the proper context on the course category pages so blocks work properly 2009-08-04 09:33:43 +00:00
nicolasconnault
0affac4d65 MDL-19756 Fixed regression in popup_form() 2009-08-04 09:09:06 +00:00
nicolasconnault
b0a5e1bf59 MDL-19756 Removed debugging message regarding string URLs in redirect() function 2009-08-04 07:44:31 +00:00
nicolasconnault
6a5c71b95c MDL-19756 Migrated print_textfield, choose_from_radio and print_checkbox 2009-08-04 02:42:24 +00:00
nicolasconnault
49c8c8d27e MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions. 2009-08-04 02:05:32 +00:00
moodlerobot
36bb9878a6 Updated the HEAD build version to 20090804 2009-08-04 00:37:39 +00:00
mudrd8mz
68874d549f file api: fixing a critical typo 2009-08-03 18:54:07 +00:00
poltawski
28dd2513a2 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
2009-08-03 16:56:53 +00:00
nicolasconnault
ce60cbc8ff MDL-19756 Migrated print_close_window to $OUTPUT->print_close_window($text) 2009-08-03 11:03:16 +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
0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +00:00
dongsheng
b317f67a3f "MDL-19985, fixed undefined typeid, thanks for andrei's patch" 2009-08-03 07:22:55 +00:00
nicolasconnault
a85975848b MDL-19787 Changed Yes button to using GET instead of POST 2009-08-03 07:15:21 +00:00
jerome
ca8874dcee installation MDL-19984 fix SQL error during upgrade process 2009-08-03 04:02:39 +00:00
dongsheng
81f79f8982 "MDL-19118, formlib removal of comments api" 2009-08-03 03:48:24 +00:00
peterbulmer
9cb267e62f MDL17980 remove redundant files 2009-08-03 03:46:58 +00:00
peterbulmer
1b509b3699 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>
2009-08-03 03:38:23 +00:00
moodlerobot
ab97dbe222 Updated the HEAD build version to 20090803 2009-08-03 00:36:25 +00:00
skodak
50b165ad7f MDL-16597 fixed broken maxfiles == -1 support in file manager 2009-08-02 18:53:41 +00:00
skodak
bae2432219 MDL-19982 fixed notice if group empty; merged from MOODLE_19_STABLE 2009-08-02 11:37:37 +00:00
moodlerobot
9b3d7e4509 Updated the HEAD build version to 20090802 2009-08-02 00:37:30 +00:00
moodlerobot
81c01bf634 Updated the HEAD build version to 20090801 2009-08-01 00:36:28 +00:00
poltawski
8887711be4 blocks/rss_client: MDL-13932 Fix typo when editting feed
This caused loss of which course we were adding/edditing a feed to.
2009-07-31 21:20:35 +00:00
poltawski
3095d19932 blocks/rss_client: MDL-13932: viewfeed.php typo
link -> description
2009-07-31 21:20:21 +00:00
poltawski
5966474298 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..
2009-07-31 21:19:55 +00:00
poltawski
6d2382b6d7 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
2009-07-31 21:19:37 +00:00
poltawski
9598cecff9 lib/rsslib - Missing global decloration of $OUTPUT 2009-07-31 21:19:20 +00:00
nicolasconnault
17811cef2c 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 2009-07-31 11:14:16 +00:00
nicolasconnault
e42f153c33 MDL-19976 Changing redirect($url->out()) to redirect($url). NEVER, NEVER use redirect($url->out())!!! Bad Tim! :p 2009-07-31 09:30:11 +00:00
moodler
e530f3a97b blocks MDL-19010 Fixed a typo to make the title a string 2009-07-31 04:18:57 +00:00
moodler
e54f4a78cc blocks MDL-19010 Slight reordering of logic to allow titles to be changed by block get_contents (credit to tim) 2009-07-31 04:17:09 +00:00
nicolasconnault
2c78f462ed MDL-19756 MDL-19973 Fixed support of url by user_picture, and improved API for adding a popup action (set $userpic->popup = true) 2009-07-31 02:39:38 +00:00
moodlerobot
e82eb34ad0 Updated the HEAD build version to 20090731 2009-07-31 00:39:56 +00:00
stronk7
25e9ef26eb MDL-19974 postgres sql generator - delete unused variable 2009-07-30 22:16:09 +00:00
stronk7
c5ec08d67e MDL-19057, MDL-19974 DDL tests - WIP: from 365 to 473 tests (add/drop field and change_field_type) 2009-07-30 22:12:42 +00:00
stronk7
4411f0d5f5 MDL-19974 postgres sql generator - simplified a lot thanks to 8.x as min req in Moodle 2.0 (alter column & defaults handling) 2009-07-30 22:08:47 +00:00
poltawski
d175fe4c53 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
2009-07-30 18:57:19 +00:00
stronk7
d274f2096b MDL-19695 dependencies - now every change_field_xxx() method looks for dependencies 2009-07-30 18:54:54 +00:00
stronk7
da750a5182 MDL-19701, MDL-19695 ddl stuff - review upgrade to enforce dependencies on every field operation 2009-07-30 18:48:42 +00:00
poltawski
1597e75d5e 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
2009-07-30 16:11:00 +00:00
mudrd8mz
b378097c03 MDL-19972 reverting the previous commit
Petr does not agree with adding this new function before require_login() and friends are re-thinked.
2009-07-30 15:16:53 +00:00
poltawski
4f3fd53c5e Remove lib/magpie: MDL-7946/MDL-13932
It is no longer maintained and simplepie has
replaced it as a maintained and robust alternative
2009-07-30 14:49:23 +00:00