37183 Commits

Author SHA1 Message Date
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
mudrd8mz
0ede3ce25e MDL-19972 new function require_real_user() 2009-07-30 14:13:27 +00:00
poltawski
e760cced27 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.
2009-07-30 13:52:05 +00:00
poltawski
5f56f0a856 ajaxlib: MDL-19756 Use 'confirmation' string which exists in confirm_dialogue 2009-07-30 13:44:26 +00:00
stronk7
ce11763a23 MDL-19969 standarising plugin names - prevent dupes in case record is already there 2009-07-30 13:40:59 +00:00
tjhunt
2cdb8d8452 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.
2009-07-30 10:29:14 +00:00
jerome
1d7e341e8f block MDL-19946 fix "cannot add block" bug (Tim's fix) 2009-07-30 09:40:11 +00:00
skodak
f6486af888 fixed broken validation of parameters in confirm method 2009-07-30 09:05:18 +00:00
tjhunt
00a24d44f7 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.
2009-07-30 08:22:12 +00:00
nicolasconnault
52fa87553e MDL-19791 Fixed call to add_action 2009-07-30 06:29:38 +00:00
nicolasconnault
74623e0a3a MDL-19756 Improved API of OUTPUT->confirm() 2009-07-30 06:09:45 +00:00
nicolasconnault
69e80c0502 MDL-19794 Updated topic and course format's use of popup_form for temporarily working with new outputlib code. Will eventually need proper upgrading. 2009-07-30 03:48:08 +00:00
nicolasconnault
496908435e MDL-19756 Migrated popup_form 2009-07-30 03:47:12 +00:00
tjhunt
d14edf06ee 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.
2009-07-30 03:44:10 +00:00