Commit graph

8495 commits

Author SHA1 Message Date
nicolasconnault
28fbce88cf MDL-19756 Fixed bugs and improved API in various places 2009-08-05 08:49:56 +00:00
nicolasconnault
cf13298081 MDL-19756 Deprecated update_course_icon() and implemented a simple $OUTPUT->edit_button($moodleurl) method which uses $USER->editing 2009-08-05 02:39:42 +00:00
nicolasconnault
c351150fca 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 2009-08-05 02:03:50 +00:00
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
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
234b857c0c MDL-19756 Fixed regression in unit tests 2009-08-04 13:59:02 +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
mudrd8mz
68874d549f file api: fixing a critical typo 2009-08-03 18:54:07 +00:00
nicolasconnault
ce60cbc8ff MDL-19756 Migrated print_close_window to $OUTPUT->print_close_window($text) 2009-08-03 11:03:16 +00:00
skodak
0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +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
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
skodak
bae2432219 MDL-19982 fixed notice if group empty; merged from MOODLE_19_STABLE 2009-08-02 11:37: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
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
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
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
74623e0a3a MDL-19756 Improved API of OUTPUT->confirm() 2009-07-30 06:09:45 +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
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
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