Commit graph

8760 commits

Author SHA1 Message Date
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
tjhunt
e9f7fdec00 blocks: MDL-19946 Sorry, remove debug code. 2009-07-29 03:57:30 +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
tjhunt
d0f0cab776 blocks: MDL-19946 And another bug fix. 2009-07-29 03:21:07 +00:00
tjhunt
7bbc2890f7 blocks: MDL-19946 bugfixes for my previous commit. 2009-07-29 03:19:43 +00:00
nicolasconnault
4c53f626bd MDL-19840 Fixed detection of empty attributes 2009-07-29 01:23:47 +00:00
nicolasconnault
55536d8453 MDL-19756 Updated unit tests 2009-07-29 01:13:04 +00:00
nicolasconnault
051bf8c7f3 MDL-19756 Changed html_button->label to html_button->text 2009-07-29 01:10:30 +00:00
nicolasconnault
c68e409892 MDL-19756 Migrated time selectors from weblib to outputlib 2009-07-29 01:08:52 +00:00
stronk7
a184479acb MDL-18658 add support for m4a files in the multimedia filter + missing mimetypes. Credit goes to Ralf Krause, thanks! Merged from 19_STABLE 2009-07-28 16:47:01 +00:00
nicolasconnault
053203a8d5 MDL-19756 Migrated choose_from_menu_yesno and choose_from_menu_nested into $OUTPUT->select_menu() 2009-07-28 12:12:24 +00:00
nicolasconnault
dc58020794 MDL-19756 Refactored JS code from SCORM and choice modules into the core function submit_form_by_id() 2009-07-28 11:24:57 +00:00
tjhunt
a19f419db2 blocks: MDL-19946 Block editing form must be displayed from the original URL, with properliy initialised $page 2009-07-28 09:59:21 +00:00
dongsheng
84301fd2cc "MDL-19118, fixed a javascript error on webkit core browsers" 2009-07-28 09:57:28 +00:00
nicolasconnault
3f9a45dffa MDL-19756 Removed redundant component::add_action_object() function and calls to it 2009-07-28 09:37:14 +00:00
dongsheng
526cf2e7d9 "MDL-19839, resize user picture in comments api" 2009-07-28 08:54:26 +00:00
tjhunt
52842d6117 outputlib: MDL-19756 fix $OUTPUT->user_picture. 2009-07-28 07:57:57 +00:00
dongsheng
b26bc253a1 "MDL-19839, use samller user picture, shorter date format, remove cancle button in block, change the position of deteling button" 2009-07-28 07:09:11 +00:00
tjhunt
6bcdbe4463 Grrr! Nico. 2009-07-28 04:29:42 +00:00
nicolasconnault
18644ceafa MDL-19756 Improved the API for moodle_html_component::add_action to allow the first param to be a component_action object 2009-07-28 03:26:41 +00:00
nicolasconnault
8e127eb38e MDL-19756 Migrating choose_from_menu to outputlib 2009-07-28 02:45:13 +00:00
nicolasconnault
bef1011e3d MDL-19756 Fixing deprecated print_spacer() function 2009-07-28 02:31:30 +00:00
nicolasconnault
8100c169db MDL-19756 Fixing deprecated print_spacer() function 2009-07-28 02:27:04 +00:00
skodak
360dde50ba MDL-19943 new debug optiosn for validators link and page info in footer 2009-07-27 20:36:28 +00:00
skodak
3c131047f2 MDL-16089 fixed hardcoded itemid in module files support 2009-07-27 19:32:45 +00:00
mudrd8mz
ce13edc4c6 MDL-16597 Fixed typo - missing slash 2009-07-27 16:47:44 +00:00
skodak
5db2b5951f MDL-19756 better broken param diag 2009-07-27 15:14:49 +00:00
skodak
da65c538cd MDL-19756 fixing incorrect parameter objects 2009-07-27 15:13:35 +00:00
poltawski
926987ab5e lib/simplepie: Improve Integration MDL-7946, MDL-13932
Added more unit tests, improved style and fixed:
- Failed behaviour of redirects
- Incorrect behaviour on feed retrival failure
- Ensured rss cache clear for unit test setup
2009-07-27 14:18:01 +00:00
skodak
ead1429070 MDL-16231 fixed regression - completed delete file refactoring 2009-07-27 12:39:13 +00:00
nicolasconnault
cd5184a278 MDL-19756 Fixed incorrectly thrown exception in output->confirm() 2009-07-27 12:02:39 +00:00
nicolasconnault
5c023b2b7b MDL-19756 Removing debugging call 2009-07-27 10:41:38 +00:00
nicolasconnault
f8065dd287 MDL-19756 Migrated the following functions from weblib to outputlib:
1. button_to_popup_window
2. link_to_popup_window
3. print_single_button
4. print_spacer
5. print_file_picture (deprecated)
6. print_user_picture
7. print_png (deprecated)
8. helpbutton
9. doclink
10. print_paging_bar
11. notice_yesno
2009-07-27 10:33:00 +00:00
dongsheng
21afd0461d "MDL-19118, remove moodleforms, check contextlevel, remove trailing whitespace" 2009-07-27 07:32:56 +00:00
skodak
3b53c3e914 removed bogus debug code 2009-07-25 08:17:56 +00:00