9818 Commits

Author SHA1 Message Date
dongsheng
af804e3e0f "MDL-16596, make non-js filemanager identical to ajax filemanager, added more language strings" 2009-09-04 06:48:26 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
dongsheng
f0e5f031c7 "MDL-16596, imporve non-javascript file manager, add useful functions to filelib" 2009-09-03 06:53:40 +00:00
nicolasconnault
c1c0cecf3a MDL-14632 Improved the output code of the settings block and fixed typo of toogle to toggle. 2009-08-28 10:28:16 +00:00
samhemelryk
7d2a049292 navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
nicolasconnault
319770d747 MDL-19797 Upgraded most output code in grader report 2009-08-28 05:29:05 +00:00
tjhunt
d9d481aac7 forgot password form: MDL-19441 Make it clearer you should enter username or password.
Credit to Olli as part of his GSOC project.
2009-08-25 20:18:42 +00:00
nicolasconnault
7ade8443e1 MDL-11790 Added missing lang strings, merged from MOODLE_19_STABLE 2009-08-17 14:51:18 +00:00
skodak
58a27a7467 MDL-20069 new URL module, includes migrate from old mod/resource; remaining issues to be listed in tracker as sub-tasks 2009-08-13 20:49:37 +00:00
skodak
1ad9ff57ff MDL-20068 new Page module, includes migrate from old mod/resource; remaining issues to be listed in tracker as sub-tasks 2009-08-13 20:49:07 +00:00
skodak
2ff648fb97 MDL-20067 new IMS Content package module, includes migrate from old mod/resource; remaining issues to be listed in tracker as sub-tasks 2009-08-13 20:48:32 +00:00
skodak
0e16b939e8 MDL-20066 new folder module, includes migrate from old mod/resource; remaining issues to be listed in tracker as sub-tasks 2009-08-13 20:47:43 +00:00
skodak
aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +00:00
dongsheng
c86dde2ec5 "MDL-19181, display plugin instances based on capabilities" 2009-08-07 10:02:47 +00:00
skodak
0646607098 MDL-19962 automatic regeneration of the sessio nid during each login; merging unused lang strings 2009-08-06 13:25:21 +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
skodak
0a127169fe MDL17980 reverting last commit - other devs agreed, to be explained in tracker 2009-08-03 07:35:41 +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
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
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
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
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
275769aafa blocks: MDL-19889 Convert mentees block to use edit_form.php - lang string. 2009-07-29 05:19:45 +00:00
dongsheng
715889769d "MDL-16597, disable add button once reach max files limit" 2009-07-29 03:28:36 +00:00
dongsheng
84301fd2cc "MDL-19118, fixed a javascript error on webkit core browsers" 2009-07-28 09:57:28 +00:00
mits
7b35381084 MDL-19944 Removed duplicate "enable guest access". 2009-07-27 21:18:59 +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
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
1bcb7eb540 "MDL-19118, comments api" 2009-07-24 02:44:44 +00:00
tjhunt
d18675a8d7 quiz: MDL-19891 fix that quiz navigation block that was broken by the blocks changes.
Sadly it now requries JavaScript again, at least for best operation.
2009-07-23 09:20:33 +00:00
skodak
f68ab42ba3 MDL-19872 imported new TinyMCE 3.2.5 2009-07-19 13:05:21 +00:00
tjhunt
1d13c75c15 blocks editing ui: MDL-19398 Can how precisely control block positioning using the edit icon
This mostly works now, but ...
* The UI needs further work. In particular we need a non-advanced mode.
* This only works for blocks that use a new edit_form.php to replace config_instance.html.
* .. and so far I have only implemented edit_form.php for the HTML block so far.
* Needs to be enabled (with no block-specific config) for blocks without instance config, so you can control their positioning.
2009-07-16 10:50:19 +00:00
tjhunt
ae42ff6fee blocks editing ui: MDL-19398 showing and hiding blocks now works. 2009-07-15 07:41:25 +00:00
tjhunt
4a3b462021 blocks editing ui: MDL-19398 give users a path back after assigning block roles 2009-07-15 06:33:13 +00:00
sam_marshall
905b1de634 MDL-19692: Completion tracking help icon enhancements 2009-07-14 14:00:34 +00:00
tjhunt
02b126af8a blocks editing ui: MDL-19398 permissions checks when deleting a block. 2009-07-14 11:16:21 +00:00
tjhunt
a2789e3426 blocks editing ui: MDL-19398 add block now secure. Delete block works insecurely.
Will add security checks in a moment.
2009-07-14 08:37:28 +00:00
tjhunt
5e39d7aa09 upgrade: MDL-19763 Improve the redirect that forces a DB upgrade when there are major changes
Also fix redirect, so 303 redirects don't need to fully initialise $OUTPUT.
2009-07-10 08:44:01 +00:00
tjhunt
6b1d460c4d themes & blocks - MDL-19077 & MDL-19010 missing lang file changes. 2009-07-09 09:09:37 +00:00
mits
e808f59f79 MDL-19713 Fixed a typo. 2009-07-04 17:16:29 +00:00
dongsheng
bf746326d1 "MDL-13766, add language string for repository plugin" 2009-07-04 11:20:39 +00:00
dongsheng
25cde16c3d "MDL-13766, add language string for file picker" 2009-07-04 11:17:33 +00:00
skodak
af12ea93ba MDL-19689 new $strictness parameter in $DB->get_record() and $DB->get_field() family of DML methods 2009-07-03 22:38:56 +00:00
tjhunt
94398fb3e8 MDL-19696 make sure install works. 2009-07-03 09:03:50 +00:00
stronk7
2baf1380d4 MDL-19695 field dependencies - defined new exception ddl_dependency_exception that
will be thrown when one DDL operation (drop only for now) is attempted over one
field being part of indexes.
2009-07-02 16:08:44 +00:00
sam_marshall
430c12fa74 MDL-19692: Wording change in help for completion tickboxes, again based on user testing 2009-07-02 14:44:42 +00:00
sam_marshall
e3568fde9c MDL-19692: Improvement to help icon for completion tickboxes, based on user testing 2009-07-02 09:18:26 +00:00
tjhunt
b70094743a themes: MDL-19077 change how the theme is initialised and CSS is served.
This is part of http://docs.moodle.org/en/Development:Theme_engines_for_Moodle%3F

$THEME is now initialised at the same time as $OUTPUT. Old functions like
theme_setup are deprecated in favour of methods on $PAGE. There is a new
theme_config class in outputlib.php that deals with loading the theme config.php file.

CSS used to be served by themes styles.php files calling a function in weblib.php.
Now it works by each theme's styles.php file doing
$themename = basename(dirname(__FILE__));
require_once(dirname(__FILE__) . '/../../theme/styles.php');
which is less code to be copied into each theme. (Old-style styles.php files still
work thanks to some code in deprecatedlib.php.)

Admin UI for choosing a theme cleaned up.

A couple of theme-specific hard-coded hacks like $THEME->cssconstants and
$THEME->CSSEdit have been replaced by a more generic $THEME->customcssoutputfunction
hook. See examples at the end of outputlib.php

Also:
* Fix setting the theme in the URL, which seems to have been broken since 1.9.
* Fix up errors on a few pages caused by the new initialisation order.
* MDL-19097 moodle_page::set_course should not set $COURSE unless it is $PAGE.
* httpsrequired() from moodlelib.php moved to $PAGE->https_required().
* Move has_started() method to the renderer base class.
* Further fixes to display of early errors.
* Remove print_header/footer_old from weblib. I did not mean to commit them before.
2009-07-01 05:54:26 +00:00
wildgirl
5e198b013d database help file: MDL-14132 note re. using with auto-linking filter 2009-06-30 09:28:32 +00:00
nicolasconnault
2ad4090ed7 MDL-19467 Fixed one of Tim's typos and added a language string for URL 2009-06-30 05:49:58 +00:00