367 Commits

Author SHA1 Message Date
Petr Skoda
2a250a0b2e MDL-20697 removing duplicate error string cannotfindsite, fixing get_site() which is now using exceptions 2009-11-01 09:21:41 +00:00
Eloy Lafuente
79a7bcfd0b MDL-20591 IMS-CC import: Integration committed. Next weeklies will include it. Merged from 19_STABLE 2009-10-26 09:21:50 +00:00
skodak
72977b3786 MDL-17135 moving all webservice and external API related admin UI to new directory, I did not expect there would be so many files, sorry for the trouble 2009-10-21 19:58:50 +00:00
jerome
4955481bf3 webservice MDL-17135 fix navigation (kudo to Sam) + trivial few changes 2009-10-20 06:34:46 +00:00
dongsheng
e98a55c066 "MDL-20470, add an option to enable/disable filepicker button" 2009-10-14 03:11:48 +00:00
dongsheng
1a03384f5e "MDL-20470, rename formslib element name and add an option to turn the picker button on/off" 2009-10-13 08:31:50 +00:00
moodler
da124b5e40 Fixed a spelling error protokol -> protocol 2009-10-13 06:16:06 +00:00
skodak
cc93c7da15 MDL-12886 minor web service code refactoring which includes new base server class, slightly changed admin UI, sample REST test client, cleaned up lang packs; more changes ahead and lots of TODOs to elliminate; expect more commints in the next few days 2009-10-12 21:46:16 +00:00
dongsheng
92eaeca5c9 "MDL-20470, use a gloabl varible repositoryuseexternallink to make filepicker return the link instead of downloading to moodle file pool" 2009-10-07 10:16:45 +00:00
tjhunt
7409013e79 moodlelib: MDL-19764 change get_list_of_countries so admins can more easily control the list.
* New admin setting $CFG->allcountrycodes - on Location page.
* Same rules used to translate country names as any other string.
* With unit tests.
2009-10-02 11:30:11 +00:00
tjhunt
7d4dfc481e quiz: MDL-19145 Safe Exam Browser integration.
This is a better alternative to 'secure' mode.

It needs to be enabled by the administrator.
2009-09-30 10:57:57 +00:00
nicolasconnault
ca497f4f7c MDL-19676 Properly hiding blog_menu from block dropdown when blogs are disabled. Also showing "Blogs are disabled" in existing blog_menu blocks and removing old bloglevel options from subsystems settings 2009-09-15 07:19:03 +00:00
jerome
9baf682518 webservice MDL-12886 web service administration 2009-09-09 07:55:03 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
moodler
7689a0f34b admin/settings MDL-20180 Moved "Debugging" from the Server menu to the Development menu where it makes more sense.
Also moved some things around a bit to make them look a little better.  Ideally Experimental would be last but this is not easy to do because unit tests adds items to the end later.
2009-08-28 07:34:39 +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
skodak
360dde50ba MDL-19943 new debug optiosn for validators link and page info in footer 2009-07-27 20:36:28 +00:00
dongsheng
1bcb7eb540 "MDL-19118, comments api" 2009-07-24 02:44:44 +00:00
skodak
8b6a09680a fixed whitespace 2009-07-09 19:54:54 +00:00
tjhunt
d4a03c00ea themes & blocks - MDL-19077 & MDL-19010 blocks are now printed by the theme
The code to print blocks in now in theme layout.php files. (Or in
moodle_core_renderer::handle_legacy_theme)

Code for printing blocks everywhere else has been stripped out.
(Total diffstat 1225 insertions, 2019 deletions)

The way the HTML for a block instance is generated has been cleaned
up a lot. Now, the block_instance generates a block_contents
object which gives a structured representation of the block,
and then $OUTPUT->block builds all the HTML from that.

How theme config.php files specify the layout template and block
regions by page general type has been changed to be even more flexible.

Further refinement for how the theme and block code gets initialised.

Ability for scrits to add 'pretend blocks' to the page. That is,
things that look like blocks, but are not normal block_instances.
(Like the add a new block UI.)

Things that are still broken:
 * some pages in lesson, quiz and resource. I'm working on it.
 * lots of developer debug notices pointing out things that
   need to be updated.
2009-07-09 07:35:03 +00:00
nicolasconnault
54dad8a88f MDL-19677 Removing prematurally added setting 2009-07-02 05:55:24 +00:00
nicolasconnault
6e155d1c00 MDL-19677 Upgrading sites that use $CFG->bloglevel == BLOG_GROUP_LEVEL or BLOG_COURSE_LEVEL to BLOG_SITE_LEVEL, and removed these options from admin/settings/security.php 2009-07-01 08:17:53 +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
tjhunt
42fafd4b57 debug / lang string: MDL-19467 Debugging option to show where each lang string came from.
New option on Administration -> Server -> Debugging called
'Show origin of languages strings' ($CFG->debugstringids).

If this is set, get_string will add the name of the lang file and the id of the string
to each string it gets, so instead of returning 'No', it will return '{No admin/checkboxno}'.
2009-06-30 01:59:48 +00:00
tjhunt
31a9987770 install: MDL-19610 encapsulate empty($CFG->rolesactive) checks in a during_initial_install() function. 2009-06-24 09:17:56 +00:00
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
skodak
4fe2250a1f MDL-19352 maintenance mode reiplemented 2009-05-31 14:42:29 +00:00
skodak
aa282b10fb MDL-15249 $_SERVER['HTTP_HOST'] not availabel in CLI script, replaced by parsing of wwwroot which should give the same info 2009-05-25 20:55:27 +00:00
skodak
a5747cf828 MDL-19211 text editor plugins configuration 2009-05-17 21:10:06 +00:00
skodak
5ca3c8386f MDL-19184, MDL-19212 - refactoring, cleanup and improvements in text editors support; localization support is not finished, inline docs incomplete, expect more commits soon 2009-05-16 20:53:21 +00:00
jerome
2a274f2a93 authentication MDL-18273 Custom Authentication Plugin title can be retrieved from specific language file, merged from 19 2009-05-14 07:03:27 +00:00
skodak
551935cfc6 MDL-18476 fixed default guest role display hint; merged from MOODLE_19_STABLE 2009-05-08 12:23:22 +00:00
tjhunt
f0ad741e1f completion: avoid API call for performance reasons 2009-04-30 04:16:35 +00:00
skodak
c29b95d2c1 MDL-18961 fixed warning during upgrade; merged from MOODLE_19_STABLE 2009-04-24 17:59:28 +00:00
nicolasconnault
653a86489e MDL-18083 Committing gradebook improvements to head 2009-04-16 07:16:44 +00:00
dongsheng
4440330936 "MDL-18540, add 512 mo options to extramemeorylimit, merged from 1.9" 2009-04-15 03:53:03 +00:00
dongsheng
5430f05b37 "MDL-18848, curl_cache is not specific to repository module any more" 2009-04-14 02:34:38 +00:00
tjhunt
dcdf3b2918 filters: MDL-7336 separate out manage filters and common filter settings 2009-04-13 07:15:50 +00:00
tjhunt
0f74bb01ff filters: MDL-7336 settings page for setting the local enabled/disabled state 2009-04-13 07:12:41 +00:00
tjhunt
5b8fa09b00 filters: MDL-7336 Finish admin settings page. 2009-04-13 07:04:07 +00:00
skodak
c6b4179c38 MDL-18338 option for hiding of groups in user profile 2009-04-09 08:29:51 +00:00
fmarier
b3a3a552ac password policy: MDL-17602 disable consecutive identical characters check by default 2009-04-05 23:46:32 +00:00
nicolasconnault
da2f44111a MDL-17272 merged from MOODLE_19_STABLE 2009-04-03 08:14:01 +00:00
fmarier
c65ab2be95 Password policy: MDL-17602 new "max consecutive identical characters" setting 2009-04-03 02:22:52 +00:00
tjhunt
0c34c7eb50 translation: MDL-18766 reverting. I guess it was not yet ready for prime-time.
I'll commit the patch to contrib in case anyone wishes to experiment further.
2009-04-02 02:42:11 +00:00
dongsheng
ebb1a1e847 "MDL-13224, select how many courses can be shown in mymoodle page" 2009-04-01 07:32:57 +00:00
tjhunt
b4cf937102 translation: MDL-18766 Prototype automatic translation system for Moodle.
If Google can do something like http://translate.google.com/, surely we
can do something just as good in Moodle. Here is a first attempt. It is
a bit rough around the edges, and only a couple of target lananguages
have been implemented so far. (More and better attempts welcome!)

In order to ensure that this gets adequate testing, I have made sure that
it gets turn on by default. However, if you really don't like it, you can
turn it off under Administration > Development -> Experimental settings.
2009-04-01 00:39:17 +00:00
skodak
c6e1d6af3f MDL-18540 fixing "extra" memory strings 2009-03-30 17:09:39 +00:00
dongsheng
5977e635a1 "MDL-18540, change option name to extramemorylimit" 2009-03-30 09:42:28 +00:00