37311 Commits

Author SHA1 Message Date
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
moodlerobot
0a4e299f73 Updated the HEAD build version to 20090730 2009-07-30 00:37:39 +00:00
stronk7
1a861d244b NOBUG Fixed error happening when restoring missingtype questions if answers weren't present (cast error) Merged from 19_STABLE 2009-07-29 19:00:55 +00:00
mudrd8mz
de8a1d1056 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.
2009-07-29 16:38:40 +00:00
mudrd8mz
7dc928b5ff MDL-19956 $PAGE->set_url(...) accepts already prepared instance of moodle_url 2009-07-29 16:05:36 +00:00
poltawski
53fe72ee1f 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
2009-07-29 14:10:15 +00:00
poltawski
0864a0837b block_rss_client: MDL-13932/MDL-7946 - Switch to use Simplepie
Simplepie is actively maintained and supports a broader range of feeds
2009-07-29 13:44:28 +00:00
poltawski
6dcf276fb2 block_rss_client: MDL-13932 Fix equality typo 2009-07-29 13:13:04 +00:00
tjhunt
f1a34d8f05 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
2009-07-29 11:18:55 +00:00
tjhunt
166e3bd161 blocks: MDL-19010 fix block editing icon URLs. 2009-07-29 11:14:41 +00:00
tjhunt
a6f57fb2ef MDL-19756 Try to bring some consistency to how we handle & is attribute values. 2009-07-29 08:52:49 +00:00
tjhunt
34f4a68b9f MDL-19756 Fixes to make actions on action_icons work. 2009-07-29 08:45:24 +00:00
moodler
4042788347 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
2009-07-29 08:12:48 +00:00
tjhunt
275769aafa blocks: MDL-19889 Convert mentees block to use edit_form.php - lang string. 2009-07-29 05:19:45 +00:00
tjhunt
f34b1a71a0 blocks: MDL-19889 Convert mentees block to use edit_form.php 2009-07-29 05:19:39 +00:00
tjhunt
b4a2d7f711 blocks: MDL-19889 Convert blog tags block to use edit_form.php - fix comment typo. 2009-07-29 05:13:34 +00:00
tjhunt
603c0789cb blocks: MDL-19889 Convert blog tags block to use edit_form.php 2009-07-29 05:12:47 +00:00
tjhunt
6526cc3468 blocks: MDL-19889 Convert random glossary block to use edit_form.php 2009-07-29 03:57:56 +00:00
tjhunt
e9f7fdec00 blocks: MDL-19946 Sorry, remove debug code. 2009-07-29 03:57:30 +00:00
tjhunt
c6084d31b4 blocks: MDL-19889 Convert quiz results block to use edit_form.php 2009-07-29 03:55:12 +00:00
tjhunt
05d3c06e36 quiz: XHTML strict. 2009-07-29 03:51:34 +00:00
tjhunt
a23bbaa30b blocks: MDL-19946 More bug fixes. 2009-07-29 03:51:16 +00:00
dongsheng
715889769d "MDL-16597, disable add button once reach max files limit" 2009-07-29 03:28:36 +00:00