Compare commits

..

338 Commits

Author SHA1 Message Date
Sam Hemelryk c4f6df5a1a Moodle 2.0.10 release 2012-07-06 11:29:45 +12:00
Sam Hemelryk 8d1423bf46 weekly release 2.0.9+ 2012-07-06 10:09:15 +12:00
Sam Hemelryk 453e17a159 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-07-06 09:47:50 +12:00
AMOS bot 41ed41908a Automatically generated installer lang files 2012-07-05 00:31:24 +00:00
AMOS bot 34ea5d0249 Automatically generated installer lang files 2012-07-04 00:32:10 +00:00
sam marshall 70bc0513df MDL-33466: Group restriction should hide activity even with 'show availability' option
This is a modified version of fix by Luke Tucker at NetSpot - thanks.
2012-07-04 09:39:08 +12:00
AMOS bot 6326180bc4 Automatically generated installer lang files 2012-07-03 00:31:41 +00:00
Aparup Banerjee 5aba6e506d MDL-23254 Authentication : used httpswwwroot as root url during authentication procedure where $PAGE->https_required() is specified.
Conflicts:

	auth/shibboleth/login.php
2012-07-03 09:44:43 +12:00
Dan Poltawski bf4980480a Merge branch 'w27_MDL-34045_m20_idnumber' of git://github.com/skodak/moodle into MOODLE_20_STABLE 2012-07-02 16:36:01 +08:00
Sam Hemelryk ba22fd2f1b Merge branch 'MDL-33932_20' of git://github.com/grabs/moodle into MOODLE_20_STABLE 2012-07-02 14:31:11 +12:00
Sam Hemelryk b7ab2a33f9 Merge branch 'MDL-33627_20' of git://github.com/grabs/moodle into MOODLE_20_STABLE 2012-07-02 14:05:25 +12:00
Eloy Lafuente (stronk7) c84541467c weekly release 2.0.9+ 2012-07-02 00:50:37 +02:00
Petr Škoda 0735b8b5e2 MDL-34045 fix invalid idnumber field type in cohort form 2012-06-30 07:52:59 +02:00
AMOS bot 600b0a6153 Automatically generated installer lang files 2012-06-28 00:31:39 +00:00
AMOS bot 35693a4c67 Automatically generated installer lang files 2012-06-26 00:31:48 +00:00
AMOS bot 335ded3169 Merge branch 'MOODLE_20_STABLE' into install_20_STABLE 2012-06-26 00:31:48 +00:00
Andreas Grabs 4e5c38b864 MDL-33932_20 - added array_unique() 2012-06-25 21:53:06 +02:00
Andreas Grabs 5d6b483d1b MDL-33627 - feedback block now show all feedbacks 2012-06-25 21:53:02 +02:00
Dan Poltawski 1c84aa80cc Merge branch 'MDL-33984_20' of git://github.com/stronk7/moodle into MOODLE_20_STABLE 2012-06-25 21:58:34 +08:00
Eloy Lafuente (stronk7) 02a78e34e9 MDL-33984 mysql: take rid of old unicode & mysql 4.1 message on error. 2012-06-25 15:50:43 +02:00
Dan Poltawski c2eaf6e2c1 Merge branch 'MDL-33984_20' of git://github.com/stronk7/moodle into MOODLE_20_STABLE 2012-06-25 18:47:28 +08:00
Eloy Lafuente (stronk7) c8eaf3a606 MDL-33984 mysql - raise min version to 5.1.33.
Because of http://bugs.mysql.com/bug.php?id=42758 and other benefits.
2012-06-25 12:35:41 +02:00
AMOS bot 3c487457e5 Automatically generated installer lang files 2012-06-25 00:31:55 +00:00
Eloy Lafuente (stronk7) 2b8387bd1e Merge branch 'w25_MDL-33733_m20_unzipstorage' of git://github.com/skodak/moodle into MOODLE_20_STABLE 2012-06-25 01:30:29 +02:00
Eloy Lafuente (stronk7) 1b8d5cf1a3 weekly release 2.0.9+ 2012-06-24 18:33:31 +02:00
Eloy Lafuente (stronk7) b506964761 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-06-24 18:29:30 +02:00
AMOS bot 426dd99f8d Automatically generated installer lang files 2012-06-22 00:31:35 +00:00
Sam Hemelryk 42fe1f5e07 Merge branch 'MDL-27675_20' of git://github.com/grabs/moodle into MOODLE_20_STABLE 2012-06-21 11:38:45 +12:00
AMOS bot 944a250663 Automatically generated installer lang files 2012-06-20 00:31:29 +00:00
Dan Poltawski 8e78a8143f MDL-33808 - format title on the repository instance screen 2012-06-19 12:09:48 +08:00
Dan Poltawski 18d81b3c79 MDL-33808 - incorrect cleaning of repository names 2012-06-19 11:28:34 +08:00
AMOS bot 7863f71ae7 Automatically generated installer lang files 2012-06-19 00:31:28 +00:00
Petr Skoda c2c10bb222 MDL-33733 fix broken zip_packer->extract_to_storage() when extracting from stored_file 2012-06-17 23:02:12 +02:00
AMOS bot d152957e3c Automatically generated installer lang files 2012-06-16 00:31:44 +00:00
Eloy Lafuente (stronk7) 4a6ddf7882 weekly release 2.0.9+ 2012-06-15 20:26:47 +02:00
Eloy Lafuente (stronk7) 31cd679990 weekly release 2.0.9+ 2012-06-12 02:58:36 +02:00
Eloy Lafuente (stronk7) b9043a5d7b Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-06-12 02:55:52 +02:00
Petr Skoda 9f012f8968 MDL-33583 really keep all automated backup files when told to do so 2012-06-07 11:07:34 +02:00
Andreas Grabs 85bc8378bb MDL-27675 - Feedback module abuses data_submitted 2012-06-06 23:15:06 +02:00
AMOS bot 078c5f62ad Automatically generated installer lang files 2012-06-06 00:31:39 +00:00
AMOS bot b8b5f4f0cc Automatically generated installer lang files 2012-06-02 00:31:45 +00:00
Eloy Lafuente (stronk7) 7f459d6015 weekly release 2.0.9+ 2012-06-01 09:47:09 +02:00
Eloy Lafuente (stronk7) f1cdf71eb6 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-06-01 09:43:54 +02:00
Sam Hemelryk b88311824f Revert "MDL-27675 - Feedback module abuses data_submitted"
This reverts commit 0efa998340.
2012-05-30 16:37:58 +12:00
AMOS bot ad25762b7f Automatically generated installer lang files 2012-05-30 00:31:31 +00:00
Sam Hemelryk 4b80f54a02 MDL-27675 mod_feedback: Tidy up of phpdocs and scope within feedback mod
Conflicts:

	mod/feedback/item/feedback_item_class.php
	mod/feedback/item/label/lib.php
	mod/feedback/item/multichoice/lib.php
2012-05-28 13:42:41 +12:00
Andreas Grabs 7a7287ef28 MDL-27675 - Feedback module abuses data_submitted 2012-05-28 00:28:19 +02:00
Andreas Grabs 0efa998340 MDL-27675 - Feedback module abuses data_submitted 2012-05-28 00:28:18 +02:00
Eloy Lafuente (stronk7) f12f0b3a87 weekly release 2.0.9+ 2012-05-25 12:48:42 +02:00
AMOS bot 67079752ef Automatically generated installer lang files 2012-05-25 00:31:34 +00:00
AMOS bot 6bbe47031b Automatically generated installer lang files 2012-05-24 00:31:54 +00:00
Eloy Lafuente (stronk7) 1a39706377 weekly release 2.0.9+ 2012-05-19 12:21:47 +02:00
Eloy Lafuente (stronk7) 5356317a41 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-05-19 12:17:59 +02:00
Adrian Greeve 5af958a918 MDL-32126 replaced _order with sortorder to make sorting work in oracle 2012-05-18 11:26:20 +02:00
AMOS bot 58580498fb Automatically generated installer lang files 2012-05-18 00:32:00 +00:00
AMOS bot 7f48f85547 Automatically generated installer lang files 2012-05-16 00:31:45 +00:00
Adrian Greeve efdf99dbee MDL-32126 - data - backport of advanced search re-write
Conflicts:

	mod/data/lib.php
2012-05-14 13:25:39 +12:00
Eloy Lafuente (stronk7) 3b6675ef8c Moodle release 2.0.9 2012-05-12 03:22:04 +02:00
Petr Skoda 83eeba2692 MDL-31558 add missing mimetype to send_temp_file()
backported from master
2012-05-11 22:05:35 +02:00
Eloy Lafuente (stronk7) 1ec1c9d9af weekly release 2.0.8+ 2012-05-11 12:16:03 +02:00
Eloy Lafuente (stronk7) dcbe6a30ff Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-05-11 12:11:11 +02:00
AMOS bot 29de085aec Automatically generated installer lang files 2012-05-10 00:31:53 +00:00
Eloy Lafuente (stronk7) 1194a6b485 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-05-09 19:33:02 +02:00
Frederic Massart 00b339ce3c MDL-32718 Fixed typo in column name 2012-05-08 15:55:55 +08:00
Dan Poltawski 7f8e21310b Merge branch 'w19_MDL-31691_m20_cohortidnumber' of git://github.com/skodak/moodle into MOODLE_20_STABLE 2012-05-08 12:40:52 +08:00
Dan Poltawski d4359bed48 Merge branch 'MDL-32718-sql-typo_20' of git://github.com/mudrd8mz/moodle into MOODLE_20_STABLE 2012-05-08 12:36:17 +08:00
AMOS bot 5dfa747163 Automatically generated installer lang files 2012-05-08 00:31:53 +00:00
David Mudrak 44fd4487d6 MDL-32718 fixing an SQL typo in workshop_get_recent_mod_activity() 2012-05-07 10:06:32 +02:00
Dan Poltawski 29cbfe7838 Merge branch 'MDL-18335_m20' of git://github.com/rwijaya/moodle into MOODLE_20_STABLE 2012-05-07 15:32:46 +08:00
Petr Skoda eb9d996576 MDL-31691 treat cohort idnumbers as plain text 2012-05-06 21:39:09 +02:00
Eloy Lafuente (stronk7) 2d06cfc163 weekly release 2.0.8+ 2012-05-04 13:13:32 +02:00
AMOS bot 2023684b2a Automatically generated installer lang files 2012-05-03 00:31:39 +00:00
Rossiani Wijaya 406db74fe8 MDL-18335 calendar event: fixed role capability checking to create new event 2012-04-30 17:27:34 +08:00
Eloy Lafuente (stronk7) 3978e0570e weekly release 2.0.8+ 2012-04-27 12:49:33 +02:00
AMOS bot 9e22735765 Automatically generated installer lang files 2012-04-25 00:31:46 +00:00
AMOS bot 620274a38b Automatically generated installer lang files 2012-04-20 00:32:38 +00:00
Dan Poltawski 26e3a274ff weekly release 2.0.8+ 2012-04-19 17:50:41 +08:00
Dan Poltawski 2ffdfadb8c Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-04-19 17:40:11 +08:00
AMOS bot a9c2245574 Automatically generated installer lang files 2012-04-17 00:32:00 +00:00
Jerome Mouneyrac e9e0dac4b7 MDL-31694 Fix XSS security issue with service name accepting javascript 2012-04-16 14:28:03 +08:00
AMOS bot 056463ffe9 Automatically generated installer lang files 2012-04-14 00:32:05 +00:00
Dan Poltawski 760fefa473 weekly release 2.0.8+ 2012-04-12 13:24:45 +08:00
AMOS bot 2d39e161dc Automatically generated installer lang files 2012-04-12 00:31:35 +00:00
Aparup Banerjee 150869ac1f weekly release 2.0.8+ 2012-04-05 16:46:40 +08:00
Aparup Banerjee 3c666bb0cf Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-04-05 16:20:13 +08:00
Sam Hemelryk aea6ab88da MDL-32018 mod_wiki: Fixed up whitespace after peer-review 2012-04-03 10:46:50 +12:00
Sam Hemelryk 3cb30adbad MDL-32018 mod_wiki: Fixed formatting of the page title so that is is consistent and secure 2012-04-03 10:46:32 +12:00
Sam Hemelryk f7ff0f6d17 MDL-32018 mod_wiki: Improved form definitions to ensure they consistent and secure 2012-04-03 10:44:46 +12:00
AMOS bot 5a6d40d28b Automatically generated installer lang files 2012-03-30 00:33:19 +00:00
Eloy Lafuente (stronk7) a280d409ad weekly release 2.0.8+ 2012-03-29 13:22:30 +02:00
AMOS bot 2e2305ed79 Automatically generated installer lang files 2012-03-29 00:31:58 +00:00
Sam Hemelryk 1cd62bf815 weekly release 2.0.8+ 2012-03-23 12:17:43 +13:00
Sam Hemelryk 657db60a99 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-03-23 12:10:14 +13:00
Sam Hemelryk 3a14100d8d Merge branch 'w12_MDL-32071_m20_dbfamily' of git://github.com/skodak/moodle into MOODLE_20_STABLE 2012-03-20 11:39:33 +13:00
Sam Hemelryk f436d12c60 Merge branch 'w12_MDL-32090_m20_groupui' of git://github.com/skodak/moodle into MOODLE_20_STABLE 2012-03-19 20:33:23 +13:00
Petr Skoda a3b60b4186 MDL-27553 admin: Fixed override bug 2012-03-19 20:22:02 +13:00
AMOS bot 79537435e0 Automatically generated installer lang files 2012-03-19 00:31:58 +00:00
AMOS bot 1829acb057 Automatically generated installer lang files 2012-03-17 00:31:51 +00:00
Petr Skoda 123d4f1d27 MDL-32090 fix invalid group members url
Credit goes to Jean-Philippe Gaudreau.
2012-03-16 20:13:38 +01:00
Petr Skoda 3b598069b9 MDL-32071 fix incorrect get_dbfamily() call 2012-03-16 10:33:29 +01:00
Petr Skoda be2c20217e MDL-32071 fix fatal problems in experimental forum_usetextsearches 2012-03-16 10:33:23 +01:00
Eloy Lafuente (stronk7) f571d4cd41 weekly release 2.0.8+ 2012-03-15 11:49:21 +01:00
Eloy Lafuente (stronk7) 2151dfa877 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-03-15 11:42:33 +01:00
AMOS bot c6e7d27caf Automatically generated installer lang files 2012-03-15 00:32:00 +00:00
Mary Evans 39ff06cbb5 MDL-31008 themes: (base theme) reversed MDL-26712 by making dimmed objects grey and added new rule for dimmed activity label text to give 50% transparancy instead 2012-03-13 11:01:28 +08:00
Andrew Robert Nicols a892654fbc MDL-31811 Add/Correct checks on activity read-only periods 2012-03-12 15:15:49 +13:00
Andrew Robert Nicols bd10bc353d MDL-31877 Correct get_users exception 2012-03-12 14:57:30 +13:00
Eloy Lafuente (stronk7) 8aa9119cfa Moodle release 2.0.8 2012-03-11 15:57:51 +01:00
Eloy Lafuente (stronk7) 8ef54b14bc Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-03-09 11:57:01 +01:00
AMOS bot 92f1ef65b9 Automatically generated installer lang files 2012-03-09 11:54:25 +01:00
Eloy Lafuente (stronk7) d182f64877 weekly release 2.0.7+ 2012-03-09 11:15:35 +01:00
Eloy Lafuente (stronk7) a0c01a2146 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-03-09 11:04:37 +01:00
Eloy Lafuente (stronk7) f25d9a9f4d Merge branch 'wip-MDL-31248-MOODLE_20_STABLE-v3' of git://github.com/abgreeve/moodle into MOODLE_20_STABLE 2012-03-09 09:48:25 +01:00
Eloy Lafuente (stronk7) 0e2a80c97b Revert "MDL-31248 - lib - Alteration to the rc4encrypt function to allow for old password use."
This reverts commit 0c9edc985c.
2012-03-09 09:38:59 +01:00
Adrian Greeve 2a7e913ee3 MDL-31248 - lib - Retaining the old password key and creating a new cookie prefix. 2012-03-09 13:48:50 +08:00
Eloy Lafuente (stronk7) f194dcf46a Merge branch 'wip-MDL-31248-MOODLE_20_STABLE-v2' of git://github.com/abgreeve/moodle into MOODLE_20_STABLE 2012-03-08 02:42:01 +01:00
AMOS bot 6360fe62d3 Automatically generated installer lang files 2012-03-08 00:31:47 +00:00
Adrian Greeve 0c9edc985c MDL-31248 - lib - Alteration to the rc4encrypt function to allow for old password use. 2012-03-08 08:21:16 +08:00
AMOS bot 41b3dbec5b Automatically generated installer lang files 2012-03-07 00:31:54 +00:00
Sam Hemelryk da27633d02 Merge branch 'w10_MDL-31807_m20_cohort' of git://github.com/skodak/moodle into MOODLE_20_STABLE 2012-03-05 16:55:34 +13:00
Sam Hemelryk c4e4b6adee MDL-31794 theme_formalwhite: Fixed up tabs 2012-03-05 15:29:36 +13:00
Kordan df249cee86 MDL-29367 theme_formalwhite: Lines between RSS and upcoming events 2012-03-05 15:16:19 +13:00
Kordan e96b76e5ee MDL-31786 theme_formalwhite: bigger userid and password fields size in login page 2012-03-05 15:07:52 +13:00
kordan 32db89aa11 MDL-31794 theme_formalwhite: let tab-bar give evidence of the current tab and page 2012-03-05 15:02:09 +13:00
Sam Hemelryk 131e9f7fb9 Merge branch 'MDL-29248_20' of git://github.com/stronk7/moodle into MOODLE_20_STABLE 2012-03-05 13:53:23 +13:00
Kordan 9cd9d4cd24 MDL-29127 theme_formalwhite: highlight for unread forum post 2012-03-05 12:37:03 +13:00
AMOS bot 548485d09f Automatically generated installer lang files 2012-03-04 00:31:57 +00:00
Petr Skoda 2ff7800ae8 MDL-31807 fix invalid nulls in cohort components
Credit goes to Stephen.
2012-03-03 10:57:42 +01:00
Eloy Lafuente (stronk7) fa9c1c5cab MDL-29248 backup: take rid of the setting and code handling the 'private' user filearea
Conflicts:

	backup/converter/moodle1/handlerlib.php
2012-03-01 13:23:08 +01:00
Eloy Lafuente (stronk7) 4846d332dd MDL-29248 backup: delete user_files settings, lang strings and uses
Conflicts:

	version.php
2012-03-01 13:23:02 +01:00
Eloy Lafuente (stronk7) c3e22b17e7 weekly release 2.0.7+ 2012-03-01 11:33:21 +01:00
Eloy Lafuente (stronk7) cb8da175b7 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-03-01 11:26:36 +01:00
AMOS bot a0469ddb43 Automatically generated installer lang files 2012-02-29 00:31:26 +00:00
Aparup Banerjee b7c7260e44 Merge branch 'MDL-30878-MOODLE_20_STABLE' of git://github.com/mouneyrac/moodle into MOODLE_20_STABLE 2012-02-28 15:45:55 +08:00
AMOS bot 5b421fa5e2 Automatically generated installer lang files 2012-02-27 00:31:26 +00:00
Eloy Lafuente (stronk7) 4b294caaac weekly release 2.0.7+ 2012-02-23 11:40:18 +01:00
Eloy Lafuente (stronk7) 4f3b7b7df3 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-02-23 11:35:21 +01:00
AMOS bot d900d4d3e0 Automatically generated installer lang files 2012-02-23 00:31:17 +00:00
AMOS bot c8d4379649 Automatically generated installer lang files 2012-02-22 00:31:23 +00:00
AMOS bot e3ab559f4e Automatically generated installer lang files 2012-02-21 00:31:25 +00:00
Gerard (Gerry) Caulfield 774ad5d6ae MDL-30957 Adding a new method "is_complete" to assignment lib for
testing if a submission has actually been submitted and then adding a
call to it before displaying the the assignment submission date header

As recommended I've simplified the functions and split the logic out into appropriate upload classes.
2012-02-20 11:37:55 +08:00
AMOS bot e5817028fb Automatically generated installer lang files 2012-02-20 00:31:27 +00:00
AMOS bot 88b28b7c41 Automatically generated installer lang files 2012-02-18 00:31:37 +00:00
Eloy Lafuente (stronk7) ebcb6e5eff weekly release 2.0.7+ 2012-02-17 01:51:21 +01:00
Eloy Lafuente (stronk7) 85cb510aba Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-02-17 01:44:20 +01:00
AMOS bot 6e0ef17c71 Automatically generated installer lang files 2012-02-17 00:31:22 +00:00
AMOS bot 33927a74b1 Automatically generated installer lang files 2012-02-15 00:31:24 +00:00
Sam Hemelryk 7f68eb8e2c Merge branch '20_MDL-26807_remove_withselectedusers_strings_and_references' of git://github.com/gerrywastaken/moodle into MOODLE_20_STABLE 2012-02-14 15:31:40 +13:00
Sam Hemelryk 9de39056a6 Merge branch '20_MDL-27285_fixing_grammar_on_wiki_links_page' of git://github.com/gerrywastaken/moodle into MOODLE_20_STABLE 2012-02-14 15:27:36 +13:00
Sam Hemelryk 573123929d Merge branch '20_MDL-27654_add_space_to_somefieldrequired_string' of git://github.com/gerrywastaken/moodle into MOODLE_20_STABLE 2012-02-14 15:20:49 +13:00
Sam Hemelryk 3445e85104 Merge branch 'wip-MDL-25185-MOODLE_20_STABLE' of git://github.com/abgreeve/moodle into MOODLE_20_STABLE 2012-02-13 17:34:22 +13:00
Sam Hemelryk 69fd20dc19 Merge branch 'wip-MDL-31463-MOODLE_20_STABLE' of git://github.com/abgreeve/moodle into MOODLE_20_STABLE 2012-02-13 17:02:15 +13:00
Sam Hemelryk 67e79df3e2 Merge branch 'MDL-25883-20' of https://github.com/mackensen/moodle into MOODLE_20_STABLE 2012-02-13 14:35:47 +13:00
Eloy Lafuente (stronk7) 098b24da52 weekly release 2.0.7+ 2012-02-13 01:20:37 +01:00
Gerard (Gerry) Caulfield 50100cb313 MDL-27285 Updating string grammar on the wiki module's links page 2012-02-10 07:58:05 +08:00
Gerard (Gerry) Caulfield 82b2ffaed1 MDL-26807 Updating the withselectedusers_help string 2012-02-10 02:20:55 +08:00
Gerard (Gerry) Caulfield 6dcb3f9a8f MDL-27654 Insert a space into the somefieldrequired string 2012-02-10 01:26:40 +08:00
Adrian Greeve e98e4d41a0 MDL-31463 - navigation - added a context check in the navigation for fullname permission. 2012-02-09 10:03:32 +08:00
Adrian Greeve e6723832fb MDL-25185 - data - Allowing data from the database to be exported according to group roles. 2012-02-09 09:33:23 +08:00
Eloy Lafuente (stronk7) 9ab7b290df weekly release 2.0.7+ 2012-02-02 12:15:14 +01:00
Aparup Banerjee 2b19ed8945 Merge branch 'MDL-26260_20' of git://github.com/timhunt/moodle into MOODLE_20_STABLE 2012-01-30 16:33:09 +08:00
Aparup Banerjee a287c32d73 Merge branch 'MDL-31385_20' of git://github.com/timhunt/moodle into MOODLE_20_STABLE 2012-01-30 12:51:25 +08:00
Jerome Mouneyrac 2e91e1ae9d MDL-30878 core_user_update_users user password is reset if not specified
Conflicts:

	user/lib.php
2012-01-27 15:36:10 +08:00
Fábio Souto b1945c7923 Updated bugfix according to Jerome suggestions
password check is done at lib.php instead of externallib.php

Conflicts:

	user/lib.php

Conflicts:

	user/lib.php
2012-01-27 15:33:57 +08:00
Eloy Lafuente (stronk7) 6e6b7544f0 weekly release 2.0.7+ 2012-01-27 02:25:06 +01:00
Eloy Lafuente (stronk7) b5f59f54da Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-01-27 02:21:21 +01:00
AMOS bot 4f51befe7f Automatically generated installer lang files 2012-01-27 00:31:24 +00:00
Tim Hunt 38f9d1b6b8 MDL-31385 quiz: does not resume previews. 2012-01-26 12:16:27 +00:00
David Mudrak 3e26be86df MDL-27395 Improved detection of the course grade_category on restore
Note this was applied months ago to 21 and master (MDL-28152),
but due to one miss-interpretation by this integrator (stronk7),
I missed to backport it to 20_STABLE where the problem was
also reproducible.

So, here it is, the fix is trivial, safe and proved to work.
2012-01-22 19:36:52 +01:00
Tim Hunt f7e02420da MDL-26260 quiz 'secure' window: close loophole in some themes.
Some themes put padding on body, which meant there were a few pixels
where you could get at the context menu. Oh noes!
2012-01-20 10:47:19 +00:00
AMOS bot d4626cf646 Automatically generated installer lang files 2012-01-20 00:31:32 +00:00
Eloy Lafuente (stronk7) 2d5dc5fbbe weekly release 2.0.7+ 2012-01-19 13:31:55 +01:00
Eloy Lafuente (stronk7) 4c82d2b547 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-01-19 13:29:36 +01:00
AMOS bot 37555d5d01 Automatically generated installer lang files 2012-01-18 00:31:45 +00:00
Eloy Lafuente (stronk7) ca58cd28b0 Merge branch 'w03_MDL-31213_m20_attributesmess' of git://github.com/skodak/moodle into MOODLE_20_STABLE 2012-01-17 12:38:11 +01:00
Petr Skoda e8848eb612 MDL-31213 fix incorrect modifications of quickforms attributes 2012-01-17 11:22:04 +01:00
AMOS bot 508a8cabfc Automatically generated installer lang files 2012-01-17 00:31:22 +00:00
Charles Fulton 7b39e39632 MDL-25883 correct element name for wiki comments editor 2012-01-15 10:17:00 -08:00
AMOS bot 739e444c39 Automatically generated installer lang files 2012-01-15 00:31:20 +00:00
Jonathon Fowler dcbd731743 MDL-31130 question bank: toggling show all / 20 per page broken. 2012-01-12 12:48:47 +00:00
Eloy Lafuente (stronk7) 15e4b8b2fe weekly release 2.0.7+ 2012-01-12 11:31:21 +01:00
Eloy Lafuente (stronk7) 0364409f8e Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2012-01-12 11:27:33 +01:00
Tim Hunt 8676f75000 MDL-26469 upgrade: cope with modules that do not set $module->cron. 2012-01-11 18:44:22 +01:00
Tim Hunt a1384605c7 MDL-26469 upgrade: module cron setting not updated. 2012-01-11 14:08:56 +00:00
AMOS bot 0acd60f75d Automatically generated installer lang files 2012-01-11 00:31:33 +00:00
Rajesh Taneja dd10768155 Applying: MDL-30452 Repositories: Changed default capability on repos - Thanks Michael
Signed-off-by: Rajesh Taneja <rajesh@moodle.org>
2012-01-10 11:17:30 +01:00
Eloy Lafuente (stronk7) 11e24ca055 Moodle release 2.0.7 2012-01-07 17:07:13 +01:00
Eloy Lafuente (stronk7) b5c2f4d339 weekly release 2.0.6+ 2012-01-05 15:09:03 +01:00
Sam Hemelryk 032d7039fd Merge branch 'w52_MDL-29917_m20_autocomplete' of git://github.com/skodak/moodle into MOODLE_20_STABLE 2012-01-04 10:58:01 +13:00
Petr Skoda 4c519f313f MDL-30950 remove references to removed admin block
Credit goes to Ralf Hilgenstock.
2012-01-03 22:35:39 +01:00
Petr Skoda a4478cd677 MDL-29917 prevent form autocompletion in most Moodle forms
The password autocompletion in case of Moodle makes sense only on the login page, the form autocompletion in general is most probably useful only on the user signup page.

This patch is compatible with html 5, unfortunately we have to ignore strict warnings in legacy xhtml 1.0 standard.
2012-01-03 11:08:28 +01:00
Aparup Banerjee 9238b568c5 Merge branch 'wip-mdl-29844-m20' of git://github.com/rajeshtaneja/moodle into MOODLE_20_STABLE 2012-01-03 12:33:02 +08:00
Eloy Lafuente 4b1634259a MDL-29844 Administration: Added new config for users to login for viewing profile image 2012-01-03 12:12:12 +08:00
Petr Skoda e9d36fd552 MDL-30673 fix login autocompletion protection 2012-01-03 14:11:52 +13:00
Petr Skoda 256f77ef94 MDL-13572 fix incorrect value printing 2012-01-03 11:02:13 +13:00
Petr Skoda fdb2313376 MDL-13572 fix incorrect value printing 2012-01-03 11:02:13 +13:00
Petr Skoda 5a72f96843 MDL-13572 do not send emails to invalid addresses 2012-01-03 11:02:13 +13:00
Andrew Davis 63601aa655 MDL-13572 message: added validation of the email address in the messaging preferences 2012-01-03 11:02:12 +13:00
Eloy Lafuente (stronk7) 464ad0a47e weekly release 2.0.6+ 2011-12-23 03:05:53 +01:00
Eloy Lafuente (stronk7) 8a99b2a116 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2011-12-23 02:53:35 +01:00
Gerard (Gerry) Caulfield 5697227dd9 MDL-29400 Fixing unset object bug encountered by Rajesh during testing 2011-12-22 09:56:17 +01:00
Aparup Banerjee b23d738cde Merge branch 'wip-MDL-30541-stable20' of git://github.com/phalacee/moodle into MOODLE_20_STABLE 2011-12-21 14:19:22 +08:00
Aparup Banerjee b562573aa2 Merge branch 'wip-MDL-30539-stable20' of git://github.com/phalacee/moodle into MOODLE_20_STABLE 2011-12-21 13:36:14 +08:00
Sam Hemelryk 3cd88ea638 Merge branch 'MDL-28126_m20' of https://github.com/nebgor/moodle into MOODLE_20_STABLE 2011-12-21 17:19:46 +13:00
Jason Fowler 0b537fd64f MDL-30541 - Blog - Fixing the context for RSS Feed headers on the single blog entry pages 2011-12-21 11:03:39 +08:00
Sam Hemelryk 91af0d8431 Merge branch 'MDL-29239_m20' of git://github.com/rwijaya/moodle into MOODLE_20_STABLE 2011-12-21 15:01:14 +13:00
David Mudrak 06f9aecbcf MDL-30170 MNet peers administration - various usability improvements
While fixing MDL-30170, the following tiny usability details were
improved along the way:

* the maximum length of the peer site title and the hostname is now
  validated (this was actually a real bug as the default value is pre-loaded
  from the peer) so the admin gets a nice validation error instead of
  the database write exception when trying to register a host with a
  longer site title.
* hard-coded English string 'All Hosts' is now localized
* the hostname link in the list of MNet peers leads to the peer itself
2011-12-20 23:36:52 +01:00
David Mudrak cac3efc3e2 MDL-30170 MNet peers administration - highlight the undelete widget
The patch highlights the undelete radio selector at the host edit form.
It moves it to the end of the form (near the submit button) and displays
an explanation above the radio selector.

Also, the list of deleted hosts is now displayed below the table of
active peers at the Manage peers page.

The data returned by mnet_get_hosts() function now contain the deleted
status, too. It is possible to obtain deleted hosts from that function
now.
2011-12-20 23:36:13 +01:00
Gerard (Gerry) Caulfield 183550216e MDL-29400 Update the upload and uploadsingle assignment classes to so
that they only display the assignment submitted status when it has
actually been submitted.
2011-12-20 22:55:49 +01:00
Aparup Banerjee dcaea2b744 MDL-30603 synced and renamed incorrect ZF 1.10.6 file and name 2011-12-20 19:50:29 +01:00
Mark Nielsen 834bcfa664 MDL-29048 Glossary Force glossary type to secondary while trying to duplicate a mail glossary 2011-12-20 18:57:00 +01:00
Eloy Lafuente (stronk7) 139ce28030 Merge branch 'MDL-30738_20_STABLE' of git://github.com/kiklop74/moodle into MOODLE_20_STABLE 2011-12-20 02:02:14 +01:00
AMOS bot e97f24ea91 Automatically generated installer lang files 2011-12-20 00:31:32 +00:00
Sam Hemelryk 834082292a Merge branch 'MDL-30646_20' of git://github.com/timhunt/moodle into MOODLE_20_STABLE 2011-12-20 13:20:38 +13:00
Eloy Lafuente (stronk7) 9f78a33c7b Merge branch 'MDL-30741_m20' of git://github.com/jfilip/moodle into MOODLE_20_STABLE 2011-12-20 00:05:59 +01:00
Sam Hemelryk ffcc16f52a Merge branch 'wip-MDL-28948-MOODLE_20_STABLE' of git://github.com/abgreeve/moodle into MOODLE_20_STABLE 2011-12-20 10:42:15 +13:00
Mary Evans b337e7be55 MDL-30500 Fix for Sky High report & print layout 2011-12-19 15:23:07 +13:00
AMOS bot 359f84eeac Automatically generated installer lang files 2011-12-18 00:31:29 +00:00
Andrew Davis (andyjdavis) 0958a64834 MDL-28072 coursereport: added a missing require_once() 2011-12-16 12:18:29 +01:00
adrian@moodle.com 43269b8442 MDL-28948 - lib - removed the hard coded key for the rc4encryt function. 2011-12-16 09:19:54 +08:00
AMOS bot 41a535e3e7 Automatically generated installer lang files 2011-12-16 00:31:31 +00:00
Tim Hunt 71b908e52f MDL-30646 default qbank sort should only use visible columns. 2011-12-15 18:41:33 +00:00
Justin Filip c40e59f1c6 MDL-30741 Adding a new test to check for incorrect parsing of complicate HTML with a PRE tag. 2011-12-15 11:12:55 -05:00
Justin Filip 7f3b9f0e31 MDL-30741 Fix the handling of PRE tags with the latest code from upstream: http://trac.roundcube.net/browser/trunk/roundcubemail/program/lib/html2text.php?rev=5497 2011-12-15 11:12:52 -05:00
Aparup Banerjee 90f345d02f MDL-28126 webservice : string fixed. 2011-12-15 16:23:18 +08:00
Tim Lock e460b8846d MDL-30419: IMS package content missing when using Blackboard packages 2011-12-14 21:34:47 +01:00
Darko Miletic a4ffe6c993 MDL-30738: added version for 2.0 stable 2011-12-14 14:49:36 -03:00
Jerome Mouneyrac e922d9a90b MDL-28126 webservices : should not able to create token if user is deleted,unconfirmed,suspended or guest. 2011-12-15 00:57:32 +08:00
Eloy Lafuente (stronk7) 2ef91b5b55 Merge branch 'wip-MDL-27767-m20' of git://github.com/samhemelryk/moodle into MOODLE_20_STABLE 2011-12-14 03:18:20 +01:00
Petr Skoda 7e01298b8f MDL-30610 new environment requirements for 2.3 2011-12-14 02:43:09 +01:00
Sam Hemelryk a3c0ea64af Merge branch 'MDL-30463_m20' of git://github.com/rwijaya/moodle into MOODLE_20_STABLE 2011-12-14 14:24:46 +13:00
Tim Hunt ac9ee6a834 MDL-30559 conditional availability: missing validation of grade rules. 2011-12-13 17:30:40 +08:00
Petr Skoda 694bf2fa3b MDL-30575 more mail header cleanup 2011-12-13 10:24:56 +08:00
Jason Fowler 51ea2ffa7e MDL-305439 - BLOG - Adding RSS link to user blogs 2011-12-13 09:46:31 +08:00
Andrew Robert Nicols 6ec9004b69 MDL-30653 Remove duplicate Participants link from navbar 2011-12-13 12:09:21 +13:00
Sam Hemelryk 2a6811bb9d Merge branch 'MDL-30689' of git://github.com/timhunt/moodle into MOODLE_20_STABLE 2011-12-13 11:26:34 +13:00
Sam Hemelryk b11d9dc595 Merge branch 'MDL-30677_20' of git://github.com/timhunt/moodle into MOODLE_20_STABLE 2011-12-13 11:19:36 +13:00
Sam Hemelryk 3a4e0dd4d3 Merge branch 'MDL-30498a_20' of git://github.com/timhunt/moodle into MOODLE_20_STABLE 2011-12-13 11:10:52 +13:00
Sam Hemelryk 4a0b3e2a62 Merge branch 'MDL-27143_20' of git://github.com/timhunt/moodle into MOODLE_20_STABLE 2011-12-13 10:25:58 +13:00
Rossiani Wijaya 0293b62ebb MDL-30463 lesson module: add space between yes and no options on start last attempt page 2011-12-12 17:12:36 +08:00
Rossiani Wijaya 1b8755325a MDL-29239 fixed edit course setting for moodle/course:changesummary permission is set to prevent. 2011-12-12 15:47:01 +08:00
Sam Hemelryk 1114c49f51 Merge branch 'MDL-28180_20' of git://github.com/stronk7/moodle into MOODLE_20_STABLE 2011-12-12 14:57:09 +13:00
Andrew Robert Nicols 9a45c1e1f0 MDL-29195 Remove duplicate Participants -> Notes from navbar 2011-12-12 13:51:26 +13:00
Eloy Lafuente (stronk7) 54c5b28e69 MDL-28180 backup - on restore always prevent completion_aggr_methd dupes
This covers the last case where dupes could be happening in the
completion_aggr_methd table: Restoring one complete course into
an existing one, adding information. Now we always check if the
aggr_method exists before inserting it.
2011-12-12 00:44:25 +01:00
Eloy Lafuente (stronk7) cc2a5ff65e MDL-28180 backup - take rid of dupes in course_completion_aggr_methd 2011-12-12 00:43:52 +01:00
Eloy Lafuente (stronk7) 8f86e3a2ad MDL-28180 backup - set excluded activities for any non-course operation 2011-12-12 00:40:31 +01:00
Tim Hunt da1bee2cb9 MDL-30689 qtype base: fix typo in extra_answer_fields code. 2011-12-11 22:15:48 +00:00
AMOS bot 2be846fd31 Automatically generated installer lang files 2011-12-10 00:31:36 +00:00
Tim Hunt 442f0b10ae MDL-30677 quiz: fix attempt counts when a student is in several groups. 2011-12-09 17:30:53 +00:00
Tim Hunt 7ef2840ffa MDL-30498 user name can overlap user report icon. 2011-12-09 17:29:57 +00:00
Tim Hunt 38e32f6ddb MDL-27143 question bank: questions not saved when deleting a category.
Based on a fix by Nikhil Gupta.

Conflicts:

	lib/questionlib.php
2011-12-09 17:29:22 +00:00
Eloy Lafuente (stronk7) bdfd90b105 weekly release 2.0.6+ 2011-12-09 16:29:15 +01:00
Eloy Lafuente (stronk7) 87690ba756 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2011-12-09 16:20:49 +01:00
Tim Hunt cbda44bca4 MDL-27314 quiz responses report: delete confirmation did not cancel. 2011-12-09 14:24:47 +01:00
Tim Hunt 96cd18c261 MDL-30660 javascript-static: another yui3/ticket/2531561 work-around. 2011-12-09 12:41:57 +01:00
Petr Skoda 2876f41409 MDL-27364 use https for recaptcha when site runs via https
Based on solution by Rajesh Taneja.
2011-12-09 11:11:14 +08:00
Sam Hemelryk c4a91d0670 Merge branch 'MDL-30660' of git://github.com/timhunt/moodle 2011-12-09 11:49:48 +13:00
Eloy Lafuente (stronk7) b07c46d077 Merge branch 'MDL-30658_20' of git://github.com/timhunt/moodle into MOODLE_20_STABLE 2011-12-08 19:23:57 +01:00
Tim Hunt 784a6f3132 MDL-30660 javascript-static: M.util.show_confirm_dialog fixes 2011-12-08 17:52:40 +00:00
Tim Hunt 8c70ac0eb6 MDL-30658 formslib: fix JavaScript regression from MDL-27045. 2011-12-08 14:39:00 +00:00
Aparup Banerjee ff6a1ffdbe Merge branch 'wip-MDL-30336-MOODLE_20_STABLE' of git://github.com/abgreeve/moodle into MOODLE_20_STABLE 2011-12-08 16:22:22 +08:00
Petr Skoda 9217c1aa87 MDL-30528 stop recreating role_assignments on every login attempt for each user
Credit goes to Luis Gustavo Mueller de Alcantara.
2011-12-08 15:51:40 +13:00
adrian@moodle.com 6c91ae7d99 MDL-30336 - login - Added a setting in security that allows auto complete to be set to off in password fields. 2011-12-08 09:02:03 +08:00
Eloy Lafuente (stronk7) a79d228de6 Merge branch 'wip-MDL-30582-m20' of git://github.com/samhemelryk/moodle into MOODLE_20_STABLE 2011-12-08 01:37:37 +01:00
Eloy Lafuente (stronk7) 30b29a5cfa Merge branch 'MDL-26522_user_report_menu_20' of git://github.com/andyjdavis/moodle into MOODLE_20_STABLE 2011-12-08 01:02:41 +01:00
Eloy Lafuente (stronk7) 2baa09dd5f Merge branch 'MDL-27314_20' of git://github.com/timhunt/moodle into MOODLE_20_STABLE 2011-12-08 00:45:54 +01:00
Sam Hemelryk 3b1a4a0d55 Merge branch 'MDL-29712-MOODLE_20_STABLE' of git://github.com/mouneyrac/moodle into MOODLE_20_STABLE 2011-12-08 12:42:20 +13:00
Eloy Lafuente (stronk7) 8f51baa885 Merge branch 'wip-MDL-30222-m20' of git://github.com/samhemelryk/moodle into MOODLE_20_STABLE 2011-12-08 00:40:33 +01:00
Eloy Lafuente (stronk7) 88ade60cf4 Merge branch 'w50_MDL-30595_m20_regex' of git://github.com/skodak/moodle into MOODLE_20_STABLE 2011-12-08 00:25:18 +01:00
Sam Hemelryk 2316dcf0a8 Merge branch 'm20_MDL-30211' of git://github.com/danmarsden/moodle into MOODLE_20_STABLE 2011-12-08 10:47:59 +13:00
Dan Marsden ea3c021a86 MDL-30536 Choice - remove setType so that validation works when JS is disabled 2011-12-08 10:37:11 +13:00
Andrew Davis ad679f47ac MDL-26522 grade: made the user selection drop down on the user report behave more sensibly 2011-12-07 09:40:26 +08:00
Sam Hemelryk 8eaf6d689b Merge branch 'wip-MDL-19147-MOODLE_20_STABLE' of git://github.com/abgreeve/moodle into MOODLE_20_STABLE 2011-12-07 14:20:03 +13:00
AMOS bot 7217ca7d93 Automatically generated installer lang files 2011-12-07 00:31:29 +00:00
Petr Skoda 88ec670c50 MDL-30595 workaround for PHP5.2 preg_quote trouble 2011-12-06 14:11:16 +01:00
Sam Hemelryk d183cb5d85 MDL-30582 navigation: Fixed regression in generation of front page modules 2011-12-06 13:34:53 +13:00
Sam Hemelryk 6def225efa MDL-27767 install: Shows notifications rather than throwing exceptions when installation encounters unexpected id for guest or admin 2011-12-06 12:20:56 +13:00
Sam Hemelryk c21932e739 MDL-30222 Fixed home page redirection madness. Thank you Julien Boulen for providing the solution 2011-12-06 12:07:39 +13:00
AMOS bot 6b7fca5e7f Automatically generated installer lang files 2011-12-05 18:36:52 +01:00
Eloy Lafuente (stronk7) 4828564296 weekly release 2.0.6+ 2011-12-05 12:34:29 +01:00
Jerome Mouneyrac dd154420ee MDL-29712server was translating too many HTML characters. use htmlspecialchars instead of htmlentities. Translated characters by htmlspecialchars are compatible with XML validation, and so XML parsers for javascript, java... 2011-12-05 14:17:26 +08:00
AMOS bot 85197c3d6c Automatically generated installer lang files 2011-12-05 00:31:08 +00:00
Dan Marsden eba115041c MDL-30211 imsenterprise enrolment - set up default enrolment methods in new courses 2011-12-02 22:47:22 +13:00
Charles Fulton a6da7bde9b MDL-19147 - forum - Removed single discussions from the pull down menu for moving posts to different forums. 2011-12-02 07:45:53 +08:00
Tim Hunt 17d339ea8e MDL-27314 quiz attempts cannot be deleted in separate groups mode. 2011-12-01 16:29:10 +00:00
Eloy Lafuente (stronk7) 28ab88e130 weekly release 2.0.6+ 2011-12-01 12:18:43 +01:00
Eloy Lafuente (stronk7) 4137a8c195 Merge branch 'install_20_STABLE' of git://github.com/amosbot/moodle into MOODLE_20_STABLE 2011-12-01 12:04:35 +01:00
Eloy Lafuente (stronk7) 6b04aaad26 Merge branch 'MDL-30544_disable_notifications_20' of git://github.com/andyjdavis/moodle into MOODLE_20_STABLE 2011-12-01 10:46:18 +01:00
Andrew Davis 133a23e130 MDL-30544 message: prevented the temporarily disable notifications checkbox from accidently clearing your messaging preferences 2011-12-01 17:10:49 +08:00
Aparup Banerjee 5738c51982 Merge branch 'MDL-30260_backport_20' of git://github.com/andyjdavis/moodle into MOODLE_20_STABLE 2011-12-01 11:28:30 +08:00
Sam Hemelryk ebaa82b5da Merge branch 'wip-mdl-30421-m20' of git://github.com/rajeshtaneja/moodle into MOODLE_20_STABLE 2011-12-01 15:49:10 +13:00
Sam Hemelryk 0e1cdd9e43 Merge branch 'wip-MDL-30469-MOODLE_20_STABLE' of git://github.com/marinaglancy/moodle into MOODLE_20_STABLE 2011-12-01 15:19:56 +13:00
Rajesh Taneja cfd9db2b8f MDL-30421 forum: resolved error in single discussion forum, if more then one record is present 2011-12-01 09:46:16 +08:00
Sam Hemelryk bca26d231d MDL-30376 mod_glossary: Integration tidy up 2011-12-01 14:30:29 +13:00
Jason Fowler 10c8f7e601 MDL-30376 - Glossary - Fixing ability to see the RSS feed for a glossary 2011-12-01 14:18:23 +13:00
Ruslan Kabalin 24354adc3a MDL-30526 Choice: add form validation rule for numeric field 2011-12-01 12:45:06 +13:00
Sam Hemelryk 088b648ccc Merge branch 'MDL-29730_m20' of git://github.com/rwijaya/moodle into MOODLE_20_STABLE 2011-12-01 12:29:57 +13:00
Sam Hemelryk bd87b71c4d Merge branch 'MDL-30453-exassessment-link_20_STABLE' of git://github.com/mudrd8mz/moodle into MOODLE_20_STABLE 2011-12-01 12:16:23 +13:00
Sam Hemelryk 6c5ba86e35 Merge branch 'MDL-30271-switch-role-workshop_20_STABLE' of git://github.com/mudrd8mz/moodle into MOODLE_20_STABLE 2011-12-01 11:50:24 +13:00
Marina Glancy 57e47cc33a MDL-30214: Added function forum_get_file_info() to fix the bug with choosing recent forum files in filepicker 2011-11-30 15:55:17 +08:00
Aparup Banerjee 10c502480b MDL-27334 : summarised comment about problem.
we have git for history.
2011-11-30 15:19:10 +08:00
Aparup Banerjee fd5cee8ce9 Merge branch 'wip-MDL-27334-MOODLE_20_STABLE' of git://github.com/abgreeve/moodle into MOODLE_20_STABLE 2011-11-30 15:19:06 +08:00
Aparup Banerjee 4d49d71f19 MDL-29469 Enrolments : fixed whitespaces 2011-11-30 14:43:46 +08:00
Aparup Banerjee a0380d65e9 Merge branch 'wip-MDL-29469-stable20' of git://github.com/phalacee/moodle into MOODLE_20_STABLE 2011-11-30 14:43:37 +08:00
Aparup Banerjee cf1fa9497d Merge branch 'MDL-30395-MOODLE_20_STABLE' of git://github.com/mouneyrac/moodle into MOODLE_20_STABLE 2011-11-30 14:13:27 +08:00
Rossiani Wijaya f3052cca98 MDL-29730 Lesson mod: fixed check_answer() for shortanswser with regular expression option enable 2011-11-30 11:17:31 +08:00
Jerome Mouneyrac 471af8c6c7 MDL-30395 display the folder name if the block/module of a backup file is not installed in the site 2011-11-30 10:36:14 +08:00
AMOS bot 8de624b8e1 Automatically generated installer lang files 2011-11-30 00:31:11 +00:00
Sam Hemelryk cebd1bce58 MDL-30485 whitespace fix 2011-11-30 11:56:24 +13:00
Sam Hemelryk de8b419b60 Merge commit 'FETCH_HEAd' into MOODLE_20_STABLE 2011-11-30 11:43:18 +13:00
Sam Hemelryk dc558d2882 Merge branch 'MDL-30287_grader_ajax_20' of git://github.com/andyjdavis/moodle into MOODLE_20_STABLE 2011-11-30 11:37:49 +13:00
Mary Evans c65ce8ed3c MDL-30505 Fix for nested mixed ordered/unordered lists 2011-11-30 11:17:55 +13:00
Eloy Lafuente (stronk7) 027961fcf4 Merge branch 'wip-mdl-30466-m20' of git://github.com/rajeshtaneja/moodle into MOODLE_20_STABLE 2011-11-29 19:50:09 +01:00
Andrew Davis a9767e2d01 MDL-30260 message: added an upgrade.txt to describe changes to the messaging API 2011-11-29 22:08:59 +08:00
Andrew Davis e5a3ba18f4 MDL-30260 messaging: backporting changes to prevent errors if $userto->emailto isn't supplied when sending messages 2011-11-29 22:05:09 +08:00
Jerome Mouneyrac 1785306187 Merge branches 'MOODLE_20_STABLE' and 'MOODLE_20_STABLE' of git://git.moodle.org/moodle into MOODLE_20_STABLE 2011-11-29 16:31:58 +08:00
Andrew Robert Nicols 04b1bdffdb MDL-30302 Adjust options for calendar day settings 2011-11-29 16:59:16 +13:00
Sam Hemelryk aafb430115 MDL-30273 whitespace cleanup 2011-11-29 16:47:57 +13:00
Sam Hemelryk 7231e48c27 Merge branch 'wip-MDL-30273-MOODLE_20_STABLE' of git://github.com/abgreeve/moodle into MOODLE_20_STABLE 2011-11-29 16:41:07 +13:00
Mary Evans d8c7d0999c MDL-30471 Fix for nesting unordered list inside ordered list 2011-11-29 16:29:12 +13:00
Eloy Lafuente (stronk7) c42caf06ac Merge branch 'wip-MDL-30378-m20' of git://github.com/samhemelryk/moodle into MOODLE_20_STABLE 2011-11-29 03:18:28 +01:00
Rajesh Taneja d98fbf5108 MDL-30466 Backup: Fixed duplicate completion record check error 2011-11-29 10:07:31 +08:00
AMOS bot 0fef954f39 Automatically generated installer lang files 2011-11-29 00:30:50 +00:00
Sam Hemelryk 7bfc00a71a MDL-30378 navigation: Front page activities are now added to the navigation on every page 2011-11-29 11:22:56 +13:00
Petr Skoda f9a0759eec MDL-30487 remove obsolete test
Since MDL-30303 media filter accepts any ? parameters.
2011-11-28 20:19:35 +01:00
Tim Hunt 0ce2d140b7 MDL-30485 XML import from 1.9 does not handle files in subfolders. 2011-11-28 17:27:55 +00:00
Petr Skoda 02ba9aba00 MDL-30448 fix url param problems 2011-11-28 18:55:51 +13:00
Andrew Robert Nicols 879b36fe31 MDL-30465 Add br tag when showing the 'Export to Portfolio' text 2011-11-28 18:30:45 +13:00
Aparup Banerjee 487b07bcc1 Merge branch 'MDL-30460-m20' of git://github.com/ankitagarwal/moodle into MOODLE_20_STABLE 2011-11-28 11:49:59 +08:00
David Mudrak 2bf6056b4a MDL-30453 Use correct renderable classes to represent assessments of example submission 2011-11-25 18:39:31 +01:00
David Mudrak 06cb4cbaee MDL-30453 New renderable classes for assessments of example submissions
The patch introduces two new classes for rendering assessments of
example submission - both the training one and the reference one.
Together with the cooking functions for obtaining instances of these
classes.
2011-11-25 18:39:31 +01:00
David Mudrak 103fc0ec44 MDL-30271 Inform the user about the example assessment conflict, instead of throwing the exception 2011-11-25 16:01:07 +01:00
David Mudrak e0475260c6 MDL-30271 Move the page initialization so that we can produce output in param processing sections eventually 2011-11-25 16:01:07 +01:00
Ankit Kumar Agarwal d616497a0e MDL-30460 Wiki making file extension case-insensitive 2011-11-25 15:06:10 +05:30
Andrew Davis b7bb9c0f6c MDL-30287 gradebook: fixed the ajax JS for grade and feedback changes on the grader report 2011-11-25 15:14:47 +08:00
adrian@moodle.com c60b224fbc MDL-27334 - forum - Fixed the issue of error session keys being displayed when trying to browse to a site without logging in. 2011-11-23 13:08:48 +08:00
Jason Fowler 2232cbb2b5 MDL-29469 Enrolments - fixing the role assignment access elevation issue 2011-11-23 11:33:45 +08:00
Charles Fulton 23e7302a9e MDL-30273 forum - prevent the creation of discussions in simple single forums 2011-11-18 15:40:34 +08:00
578 changed files with 3569 additions and 1415 deletions
+111 -13
View File
@@ -214,11 +214,7 @@
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="5.0.25">
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
</VENDOR>
<VENDOR name="mysql" version="5.0.25" />
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
@@ -335,11 +331,7 @@
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="5.0.25">
<FEEDBACK>
<ON_ERROR message="mysql416required" />
</FEEDBACK>
</VENDOR>
<VENDOR name="mysql" version="5.0.25" />
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
@@ -449,11 +441,117 @@
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="5.0.25">
<VENDOR name="mysql" version="5.0.25" />
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
<VENDOR name="mssql_n" version="9.0" />
<VENDOR name="oracle" version="10.2" />
<VENDOR name="sqlite" version="2.0" />
</DATABASE>
<PHP version="5.3.2" level="required">
</PHP>
<PHP_EXTENSIONS>
<PHP_EXTENSION name="iconv" level="required">
<FEEDBACK>
<ON_ERROR message="mysql416required" />
<ON_CHECK message="iconvrequired" />
</FEEDBACK>
</VENDOR>
</PHP_EXTENSION>
<PHP_EXTENSION name="mbstring" level="optional">
<FEEDBACK>
<ON_CHECK message="mbstringrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="curl" level="required">
<FEEDBACK>
<ON_CHECK message="curlrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="openssl" level="optional">
<FEEDBACK>
<ON_CHECK message="opensslrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="tokenizer" level="optional">
<FEEDBACK>
<ON_CHECK message="tokenizerrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="xmlrpc" level="optional">
<FEEDBACK>
<ON_CHECK message="xmlrpcrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="soap" level="optional">
<FEEDBACK>
<ON_CHECK message="soaprecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="ctype" level="required">
<FEEDBACK>
<ON_ERROR message="ctyperequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="zip" level="required">
<FEEDBACK>
<ON_ERROR message="ziprequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="gd" level="optional">
<FEEDBACK>
<ON_CHECK message="gdrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="simplexml" level="required">
<FEEDBACK>
<ON_CHECK message="simplexmlrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="spl" level="required">
<FEEDBACK>
<ON_CHECK message="splrequired" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="pcre" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="dom" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="xml" level="required">
</PHP_EXTENSION>
<PHP_EXTENSION name="intl" level="optional">
<FEEDBACK>
<ON_CHECK message="intlrecommended" />
</FEEDBACK>
</PHP_EXTENSION>
<PHP_EXTENSION name="json" level="required">
</PHP_EXTENSION>
</PHP_EXTENSIONS>
<PHP_SETTINGS>
<PHP_SETTING name="memory_limit" value="40M" level="required">
<FEEDBACK>
<ON_ERROR message="settingmemorylimit" />
</FEEDBACK>
</PHP_SETTING>
<PHP_SETTING name="safe_mode" value="0" level="optional">
<FEEDBACK>
<ON_CHECK message="settingsafemode" />
</FEEDBACK>
</PHP_SETTING>
<PHP_SETTING name="file_uploads" value="1" level="optional">
<FEEDBACK>
<ON_CHECK message="settingfileuploads" />
</FEEDBACK>
</PHP_SETTING>
</PHP_SETTINGS>
</MOODLE>
<MOODLE version="2.3" requires="2.2">
<UNICODE level="required">
<FEEDBACK>
<ON_ERROR message="unicoderequired" />
</FEEDBACK>
</UNICODE>
<DATABASE level="required">
<VENDOR name="mysql" version="5.1.33" />
<VENDOR name="postgres" version="8.3" />
<VENDOR name="mssql" version="9.0" />
<VENDOR name="odbc_mssql" version="9.0" />
+19 -13
View File
@@ -38,9 +38,10 @@ class mnet_simple_host_form extends moodleform {
$mform = $this->_form;
$mform->addElement('text', 'wwwroot', get_string('hostname', 'mnet'));
$mform->addElement('text', 'wwwroot', get_string('hostname', 'mnet'), array('maxlength' => 255, 'size' => 50));
$mform->setType('wwwroot', PARAM_URL);
$mform->addRule('wwwroot', null, 'required', null, 'client');
$mform->addRule('wwwroot', get_string('maximumchars', '', 255), 'maxlength', 255, 'client');
$mform->addElement('select', 'applicationid', get_string('applicationtype', 'mnet'),
$DB->get_records_menu('mnet_application', array(), 'id,display_name'));
@@ -81,11 +82,13 @@ class mnet_review_host_form extends moodleform {
$mform->addElement('hidden', 'applicationid');
$mform->addElement('hidden', 'oldpublickey');
$mform->addElement('text', 'name', get_string('site'));
$mform->addElement('text', 'name', get_string('site'), array('maxlength' => 80, 'size' => 50));
$mform->setType('name', PARAM_NOTAGS);
$mform->addRule('name', get_string('maximumchars', '', 80), 'maxlength', 80, 'client');
$mform->addElement('text', 'wwwroot', get_string('hostname', 'mnet'));
$mform->addElement('text', 'wwwroot', get_string('hostname', 'mnet'), array('maxlength' => 255, 'size' => 50));
$mform->setType('wwwroot', PARAM_URL);
$mform->addRule('wwwroot', get_string('maximumchars', '', 255), 'maxlength', 255, 'client');
$themes = array('' => get_string('forceno'));
foreach (array_keys(get_plugin_list('theme')) as $themename) {
@@ -96,15 +99,6 @@ class mnet_review_host_form extends moodleform {
$mform->addElement('textarea', 'public_key', get_string('publickey', 'mnet'), array('rows' => 17, 'cols' => 100, 'class' => 'smalltext'));
$mform->setType('public_key', PARAM_PEM);
if ($mnet_peer && !empty($mnet_peer->deleted)) {
$radioarray = array();
$radioarray[] = MoodleQuickForm::createElement('radio', 'deleted', '', get_string('yes'), 1);
$radioarray[] = MoodleQuickForm::createElement('radio', 'deleted', '', get_string('no'), 0);
$mform->addGroup($radioarray, 'radioar', get_string('deleted'), array(' '), false);
} else {
$mform->addElement('hidden', 'deleted');
}
// finished with form controls, now the static informational stuff
if ($mnet_peer && !empty($mnet_peer->bootstrapped)) {
$expires = '';
@@ -140,7 +134,19 @@ class mnet_review_host_form extends moodleform {
}
}
$mform->addElement('static', 'certdetails', get_string('certdetails', 'mnet'), $OUTPUT->box('<pre>' . $credstr . '</pre>'));
$mform->addElement('static', 'certdetails', get_string('certdetails', 'mnet'),
$OUTPUT->box('<pre>' . $credstr . '</pre>', 'generalbox certdetails'));
}
if ($mnet_peer && !empty($mnet_peer->deleted)) {
$radioarray = array();
$radioarray[] = MoodleQuickForm::createElement('static', 'deletedinfo', '',
$OUTPUT->container(get_string('deletedhostinfo', 'mnet'), 'deletedhostinfo'));
$radioarray[] = MoodleQuickForm::createElement('radio', 'deleted', '', get_string('yes'), 1);
$radioarray[] = MoodleQuickForm::createElement('radio', 'deleted', '', get_string('no'), 0);
$mform->addGroup($radioarray, 'radioar', get_string('deleted'), array(' ', ' '), false);
} else {
$mform->addElement('hidden', 'deleted');
}
// finished with static stuff, print save button
+19 -4
View File
@@ -190,7 +190,7 @@ if ($formdata = $reviewform->get_data()) {
// normal flow - just display all hosts with links
echo $OUTPUT->header();
$hosts = mnet_get_hosts();
$hosts = mnet_get_hosts(true);
// print the table to display the register all hosts setting
$table = new html_table();
@@ -231,28 +231,43 @@ $table->head = array(
);
$table->wrap = array('nowrap', 'nowrap', 'nowrap', 'nowrap');
$baseurl = new moodle_url('/admin/mnet/peers.php');
$deleted = array();
foreach($hosts as $host) {
$hosturl = new moodle_url($baseurl, array('hostid' => $host->id));
if (trim($host->name) === '') {
// should not happen but...
$host->name = '???';
}
// process all hosts first since it's the easiest
if ($host->id == $CFG->mnet_all_hosts_id) {
$table->data[] = array(html_writer::tag('a', $host->name, array('href'=>$hosturl)), '', '', '');
$table->data[] = array(html_writer::link($hosturl, get_string('allhosts', 'core_mnet')), '*', '', '');
continue;
}
// populate the list of deleted hosts
if ($host->deleted) {
$deleted[] = html_writer::link($hosturl, $host->name);
continue;
}
if ($host->last_connect_time == 0) {
$last_connect = get_string('never');
} else {
$last_connect = date('H:i:s d/m/Y', $host->last_connect_time);
$last_connect = userdate($host->last_connect_time, get_string('strftimedatetime', 'core_langconfig'));
}
$table->data[] = array(
html_writer::link($hosturl, $host->name),
html_writer::link($hosturl, $host->wwwroot),
html_writer::link($host->wwwroot, $host->wwwroot),
$last_connect,
$OUTPUT->single_button(new moodle_url('/admin/mnet/delete.php', array('hostid' => $host->id)), get_string('delete'))
);
}
echo html_writer::table($table);
if ($deleted) {
echo $OUTPUT->box(get_string('deletedhosts', 'core_mnet', join(', ', $deleted)), 'deletedhosts');
}
// finally, print the initial form to add a new host
echo $OUTPUT->box_start();
echo $OUTPUT->heading(get_string('addnewhost', 'mnet'), 3);
+3 -1
View File
@@ -50,8 +50,10 @@ if ($course) {
// security first
require_login($course, false, $cm);
$safeoverridesonly = false;
if (!has_capability('moodle/role:override', $context)) {
require_capability('moodle/role:safeoverride', $context);
$safeoverridesonly = true;
}
$PAGE->set_url($url);
$PAGE->set_context($context);
@@ -119,7 +121,7 @@ if (empty($overridableroles[$roleid])) {
}
// If we are actually overriding a role, create the table object, and save changes if appropriate.
$overridestable = new override_permissions_table_advanced($context, $roleid, false);
$overridestable = new override_permissions_table_advanced($context, $roleid, $safeoverridesonly);
$overridestable->read_submitted_permissions();
if (optional_param('savechanges', false, PARAM_BOOL) && confirm_sesskey()) {
+10 -2
View File
@@ -54,8 +54,16 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
6 => get_string('saturday', 'calendar')
)));
$temp->add(new admin_setting_special_calendar_weekend());
$temp->add(new admin_setting_configtext('calendar_lookahead',get_string('configlookahead','admin'),get_string('helpupcominglookahead', 'admin'),21,PARAM_INT));
$temp->add(new admin_setting_configtext('calendar_maxevents',get_string('configmaxevents','admin'),get_string('helpupcomingmaxevents', 'admin'),10,PARAM_INT));
$options = array();
for ($i=1; $i<=99; $i++) {
$options[$i] = $i;
}
$temp->add(new admin_setting_configselect('calendar_lookahead',get_string('configlookahead','admin'),get_string('helpupcominglookahead', 'admin'),21,$options));
$options = array();
for ($i=1; $i<=20; $i++) {
$options[$i] = $i;
}
$temp->add(new admin_setting_configselect('calendar_maxevents',get_string('configmaxevents','admin'),get_string('helpupcomingmaxevents', 'admin'),10,$options));
$temp->add(new admin_setting_configcheckbox('enablecalendarexport', get_string('enablecalendarexport', 'admin'), get_string('configenablecalendarexport','admin'), 1));
$temp->add(new admin_setting_configtext('calendar_exportsalt', get_string('calendarexportsalt','admin'), get_string('configcalendarexportsalt', 'admin'), random_string(60)));
$ADMIN->add('appearance', $temp);
-2
View File
@@ -97,7 +97,6 @@ if ($hassiteconfig
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_users', get_string('generalusers','backup'), get_string('configgeneralusers','backup'), array('value'=>1, 'locked'=>0)));
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_anonymize', get_string('generalanonymize','backup'), get_string('configgeneralanonymize','backup'), array('value'=>0, 'locked'=>0)));
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_role_assignments', get_string('generalroleassignments','backup'), get_string('configgeneralroleassignments','backup'), array('value'=>1, 'locked'=>0)));
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_user_files', get_string('generaluserfiles','backup'), get_string('configgeneraluserfiles','backup'), array('value'=>1, 'locked'=>0)));
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_activities', get_string('generalactivities','backup'), get_string('configgeneralactivities','backup'), array('value'=>1, 'locked'=>0)));
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_blocks', get_string('generalblocks','backup'), get_string('configgeneralblocks','backup'), array('value'=>1, 'locked'=>0)));
$temp->add(new admin_setting_configcheckbox_with_lock('backup/backup_general_filters', get_string('generalfilters','backup'), get_string('configgeneralfilters','backup'), array('value'=>1, 'locked'=>0)));
@@ -144,7 +143,6 @@ if ($hassiteconfig
$temp->add(new admin_setting_heading('automatedsettings', get_string('automatedsettings','backup'), ''));
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_users', get_string('generalusers', 'backup'), get_string('configgeneralusers', 'backup'), 1));
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_role_assignments', get_string('generalroleassignments','backup'), get_string('configgeneralroleassignments','backup'), 1));
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_user_files', get_string('generaluserfiles', 'backup'), get_string('configgeneraluserfiles','backup'), 1));
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_activities', get_string('generalactivities','backup'), get_string('configgeneralactivities','backup'), 1));
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_blocks', get_string('generalblocks','backup'), get_string('configgeneralblocks','backup'), 1));
$temp->add(new admin_setting_configcheckbox('backup/backup_auto_filters', get_string('generalfilters','backup'), get_string('configgeneralfilters','backup'), 1));
+3
View File
@@ -22,6 +22,9 @@ if (isset($CFG->mnet_dispatcher_mode) and $CFG->mnet_dispatcher_mode !== 'off')
$hosts = mnet_get_hosts();
foreach ($hosts as $host) {
if ($host->id == $CFG->mnet_all_hosts_id) {
$host->name = get_string('allhosts', 'core_mnet');
}
$ADMIN->add('mnetpeercat',
new admin_externalpage(
'mnetpeer' . $host->id,
+2
View File
@@ -16,6 +16,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$temp->add(new admin_setting_configcheckbox('protectusernames', get_string('protectusernames', 'admin'), get_string('configprotectusernames', 'admin'), 1));
$temp->add(new admin_setting_configcheckbox('forcelogin', get_string('forcelogin', 'admin'), get_string('configforcelogin', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('forceloginforprofiles', get_string('forceloginforprofiles', 'admin'), get_string('configforceloginforprofiles', 'admin'), 1));
$temp->add(new admin_setting_configcheckbox('forceloginforprofileimage', get_string('forceloginforprofileimage', 'admin'), get_string('forceloginforprofileimage_help', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('opentogoogle', get_string('opentogoogle', 'admin'), get_string('configopentogoogle', 'admin'), 0));
$temp->add(new admin_setting_pickroles('profileroles',
get_string('profileroles','admin'),
@@ -83,6 +84,7 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
$temp->add(new admin_setting_configcheckbox('cookiesecure', get_string('cookiesecure', 'admin'), get_string('configcookiesecure', 'admin'), 0));
$temp->add(new admin_setting_configcheckbox('cookiehttponly', get_string('cookiehttponly', 'admin'), get_string('configcookiehttponly', 'admin'), 0));
$temp->add(new admin_setting_configtext('excludeoldflashclients', get_string('excludeoldflashclients', 'admin'), get_string('configexcludeoldflashclients', 'admin'), '10.0.12', PARAM_TEXT));
$temp->add(new admin_setting_configcheckbox('loginpasswordautocomplete', get_string('loginpasswordautocomplete', 'admin'), get_string('loginpasswordautocomplete_help', 'admin'), 0));
$ADMIN->add('security', $temp);
+5 -2
View File
@@ -63,6 +63,7 @@ class external_service_form extends moodleform {
$mform->addElement('text', 'name', get_string('name'));
$mform->addRule('name', get_string('required'), 'required', null, 'client');
$mform->setType('name', PARAM_TEXT);
$mform->addElement('advcheckbox', 'enabled', get_string('enabled', 'webservice'));
$mform->addElement('advcheckbox', 'restrictedusers',
get_string('restrictedusers', 'webservice'));
@@ -174,7 +175,7 @@ class external_service_functions_form extends moodleform {
class web_service_token_form extends moodleform {
function definition() {
global $USER, $DB;
global $USER, $DB, $CFG;
$mform = $this->_form;
$data = $this->_customdata;
@@ -183,10 +184,12 @@ class web_service_token_form extends moodleform {
if (empty($data->nouserselection)) {
//user searchable selector - get all users (admin and guest included)
//user must be confirmed, not deleted, not suspended, not guest
$sql = "SELECT u.id, u.firstname, u.lastname
FROM {user} u
WHERE u.deleted = 0 AND u.confirmed = 1 AND u.suspended = 0 AND u.id != ?
ORDER BY u.lastname";
$users = $DB->get_records_sql($sql, array());
$users = $DB->get_records_sql($sql, array($CFG->siteguest));
$options = array();
foreach ($users as $userid => $user) {
$options[$userid] = $user->firstname . " " . $user->lastname;
+6
View File
@@ -71,6 +71,12 @@ switch ($action) {
}
}
//check if the user is deleted. unconfirmed, suspended or guest
$user = $DB->get_record('user', array('id' => $data->user));
if ($user->id == $CFG->siteguest or $user->deleted or !$user->confirmed or $user->suspended) {
throw new moodle_exception('forbiddenwsuser', 'webservice');
}
//process the creation
if (empty($errormsg)) {
//TODO improvement: either move this function from externallib.php to webservice/lib.php
+3 -2
View File
@@ -33,8 +33,9 @@ $PAGE->set_title("$site->fullname: $loginsite");
$PAGE->set_heading($site->fullname);
echo $OUTPUT->header();
// $PAGE->https_required() up above takes care of what $CFG->httpswwwroot should be.
$msg = '<p>'.get_string('ntlmsso_attempting', 'auth_ldap').'</p>'
. '<img width="1", height="1" '
. ' src="' . $CFG->wwwroot . '/auth/ldap/ntlmsso_magic.php?sesskey='
. ' src="' . $CFG->httpswwwroot . '/auth/ldap/ntlmsso_magic.php?sesskey='
. $sesskey . '" />';
redirect($CFG->wwwroot . '/auth/ldap/ntlmsso_finish.php', $msg, 3);
redirect($CFG->httpswwwroot . '/auth/ldap/ntlmsso_finish.php', $msg, 3);
+2 -1
View File
@@ -29,7 +29,8 @@ $file = $CFG->dirroot.'/pix/spacer.gif';
if ($authplugin->ntlmsso_magic($sesskey) && file_exists($file)) {
if (!empty($authplugin->config->ntlmsso_ie_fastpath)) {
if (check_browser_version('MSIE')) {
redirect($CFG->wwwroot.'/auth/ldap/ntlmsso_finish.php');
// $PAGE->https_required() up above takes care of what $CFG->httpswwwroot should be.
redirect($CFG->httpswwwroot.'/auth/ldap/ntlmsso_finish.php');
}
}
+5 -5
View File
@@ -44,17 +44,17 @@ $PAGE->https_required();
// Redirect to SessionInitiator with entityID as argument
if (isset($IdPs[$selectedIdP][1]) && !empty($IdPs[$selectedIdP][1])){
// For Shibbolet 1.x Service Providers
header('Location: '.$IdPs[$selectedIdP][1].'?providerId='. urlencode($selectedIdP) .'&target='. urlencode($CFG->wwwroot.'/auth/shibboleth/index.php'));
header('Location: '.$IdPs[$selectedIdP][1].'?providerId='. urlencode($selectedIdP) .'&target='. urlencode($CFG->httpswwwroot.'/auth/shibboleth/index.php'));
// For Shibbolet 2.x Service Providers
// header('Location: '.$IdPs[$selectedIdP][1].'?entityID='. urlencode($selectedIdP) .'&target='. urlencode($CFG->wwwroot.'/auth/shibboleth/index.php'));
// For Shibbolet 2.x Service Providers
// header('Location: '.$IdPs[$selectedIdP][1].'?entityID='. urlencode($selectedIdP) .'&target='. urlencode($CFG->httpswwwroot.'/auth/shibboleth/index.php'));
} else {
// For Shibbolet 1.x Service Providers
header('Location: /Shibboleth.sso?providerId='. urlencode($selectedIdP) .'&target='. urlencode($CFG->wwwroot.'/auth/shibboleth/index.php'));
header('Location: /Shibboleth.sso?providerId='. urlencode($selectedIdP) .'&target='. urlencode($CFG->httpswwwroot.'/auth/shibboleth/index.php'));
// For Shibboleth 2.x Service Providers
// header('Location: /Shibboleth.sso/DS?entityID='. urlencode($selectedIdP) .'&target='. urlencode($CFG->wwwroot.'/auth/shibboleth/index.php'));
// header('Location: /Shibboleth.sso/DS?entityID='. urlencode($selectedIdP) .'&target='. urlencode($CFG->httpswwwroot.'/auth/shibboleth/index.php'));
}
} elseif (isset($_POST['idp']) && !isset($IdPs[$_POST['idp']])) {
$errormsg = get_string('auth_shibboleth_errormsg', 'auth_shibboleth');
+1 -1
View File
@@ -313,7 +313,7 @@ class cc2moodle {
if (!empty($CFG->defaultblocks)) {
$blocknames = $CFG->defaultblocks;
} else {
$blocknames = 'participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity';
$blocknames = 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity';
}
}
@@ -293,6 +293,14 @@ class backup_controller extends backup implements loggable {
// Basic/initial prevention against time/memory limits
set_time_limit(1 * 60 * 60); // 1 hour for 1 course initially granted
raise_memory_limit(MEMORY_EXTRA);
// If this is not a course backup, inform the plan we are not
// including all the activities for sure. This will affect any
// task/step executed conditionally to stop including information
// for section and activity backup. MDL-28180.
if ($this->get_type() !== backup::TYPE_1COURSE) {
$this->log('notifying plan about excluded activities by type', backup::LOG_DEBUG);
$this->plan->set_excluding_activities();
}
return $this->plan->execute();
}
@@ -299,6 +299,14 @@ class restore_controller extends backup implements loggable {
// Basic/initial prevention against time/memory limits
set_time_limit(1 * 60 * 60); // 1 hour for 1 course initially granted
raise_memory_limit(MEMORY_EXTRA);
// If this is not a course restore, inform the plan we are not
// including all the activities for sure. This will affect any
// task/step executed conditionally to stop processing information
// for section and activity restore. MDL-28180.
if ($this->get_type() !== backup::TYPE_1COURSE) {
$this->log('notifying plan about excluded activities by type', backup::LOG_DEBUG);
$this->plan->set_excluding_activities();
}
return $this->plan->execute();
}
+1 -1
View File
@@ -58,7 +58,7 @@ class backup_final_task extends backup_task {
// done in a single pass
$this->add_step(new backup_annotate_all_question_files('question_files'));
// Annotate all the user files (conditionally) (private, profile and icon files)
// Annotate all the user files (conditionally) (profile and icon files)
// Because each user has its own context, we need a separate/specialised step here
// This step also ensures that the contexts for all the users exist, so next
// step can be safely executed (join between users and contexts)
@@ -69,13 +69,6 @@ class backup_root_task extends backup_task {
$this->add_setting($roleassignments);
$users->add_dependency($roleassignments);
// Define user_files (dependent of users and anonymize)
$userfiles = new backup_user_files_setting('user_files', base_setting::IS_BOOLEAN, true);
$userfiles->set_ui(new backup_setting_ui_checkbox($userfiles, get_string('rootsettinguserfiles', 'backup')));
$this->add_setting($userfiles);
$users->add_dependency($userfiles);
$anonymize->add_dependency($userfiles, setting_dependency::DISABLED_TRUE);
// Define activities
$activities = new backup_activities_setting('activities', base_setting::IS_BOOLEAN, true);
$activities->set_ui(new backup_setting_ui_checkbox($activities, get_string('rootsettingactivities', 'backup')));
-7
View File
@@ -68,13 +68,6 @@ class backup_activities_setting extends backup_generic_setting {}
*/
class backup_anonymize_setting extends root_backup_setting {}
/**
* root setting to control if backup will include
* user files or no (images, local storage), depends of @backup_users_setting
* exactly in the same way than @backup_anonymize_setting so we extend from it
*/
class backup_user_files_setting extends backup_anonymize_setting {}
/**
* root setting to control if backup will include
* role assignments or no (any level), depends of @backup_users_setting
-4
View File
@@ -1748,10 +1748,6 @@ class backup_annotate_all_user_files extends backup_execution_step {
// List of fileareas we are going to annotate
$fileareas = array('profile', 'icon');
if ($this->get_setting_value('user_files')) { // private files only if enabled in settings
$fileareas[] = 'private';
}
// Fetch all annotated (final) users
$rs = $DB->get_recordset('backup_ids_temp', array(
'backupid' => $this->get_backupid(), 'itemname' => 'userfinal'));
@@ -117,19 +117,6 @@ class restore_root_task extends restore_task {
$this->add_setting($roleassignments);
$users->add_dependency($roleassignments);
// Define user_files (dependent of users)
$defaultvalue = false; // Safer default
$changeable = false;
if (isset($rootsettings['user_files']) && $rootsettings['user_files']) { // Only enabled when available
$defaultvalue = true;
$changeable = true;
}
$userfiles = new restore_user_files_setting('user_files', base_setting::IS_BOOLEAN, $defaultvalue);
$userfiles->set_ui(new backup_setting_ui_checkbox($userfiles, get_string('rootsettinguserfiles', 'backup')));
$userfiles->get_ui()->set_changeable($changeable);
$this->add_setting($userfiles);
$users->add_dependency($userfiles);
// Define activitites
$defaultvalue = false; // Safer default
$changeable = false;
-7
View File
@@ -44,13 +44,6 @@ class restore_users_setting extends restore_generic_setting {}
*/
class restore_role_assignments_setting extends root_backup_setting {}
/**
* root setting to control if restore will create
* user files or no (images, local storage), depends of @restore_users_setting
* exactly in the same way than @restore_role_assignments_setting so we extend from it
*/
class restore_user_files_setting extends restore_role_assignments_setting {}
/**
* root setting to control if restore will create activities
* A lot of other settings (_included at activity levels)
+29 -10
View File
@@ -236,6 +236,7 @@ class restore_gradebook_structure_step extends restore_structure_step {
//get the already created course level grade category
$category = new stdclass();
$category->courseid = $this->get_courseid();
$category->parent = null;
$coursecategory = $DB->get_record('grade_categories', (array)$category);
if (!empty($coursecategory)) {
@@ -678,7 +679,7 @@ class restore_create_included_users extends restore_execution_step {
protected function define_execution() {
restore_dbops::create_included_users($this->get_basepath(), $this->get_restoreid(), $this->get_setting_value('user_files'), $this->task->get_userid());
restore_dbops::create_included_users($this->get_basepath(), $this->get_restoreid(), $this->task->get_userid());
}
}
@@ -1741,15 +1742,20 @@ class restore_course_completion_structure_step extends restore_structure_step {
$data->course = $this->get_courseid();
$params = array(
'course' => $data->course,
'criteriatype' => $data->criteriatype,
'method' => $data->method,
'value' => $data->value,
);
$DB->insert_record('course_completion_aggr_methd', $params);
// Only create the course_completion_aggr_methd records if
// the target course has not them defined. MDL-28180
if (!$DB->record_exists('course_completion_aggr_methd', array(
'course' => $data->course,
'criteriatype' => $data->criteriatype))) {
$params = array(
'course' => $data->course,
'criteriatype' => $data->criteriatype,
'method' => $data->method,
'value' => $data->value,
);
$DB->insert_record('course_completion_aggr_methd', $params);
}
}
}
@@ -2271,7 +2277,20 @@ class restore_userscompletion_structure_step extends restore_structure_step {
$data->userid = $this->get_mappingid('user', $data->userid);
$data->timemodified = $this->apply_date_offset($data->timemodified);
$DB->insert_record('course_modules_completion', $data);
// Check we didn't already insert one for this cmid and userid
$existing = $DB->get_record('course_modules_completion', array(
'coursemoduleid' => $data->coursemoduleid,
'userid' => $data->userid), 'id, timemodified');
if ($existing) {
// Update it to these new values, but only if the time is newer
if ($existing->timemodified < $data->timemodified) {
$data->id = $existing->id;
$DB->update_record('course_modules_completion', $data);
}
} else {
// Normal entry where it doesn't exist already
$DB->insert_record('course_modules_completion', $data);
}
}
}
@@ -440,7 +440,6 @@ abstract class backup_controller_dbops extends backup_dbops {
'backup_general_users' => 'users',
'backup_general_anonymize' => 'anonymize',
'backup_general_role_assignments' => 'role_assignments',
'backup_general_user_files' => 'user_files',
'backup_general_activities' => 'activities',
'backup_general_blocks' => 'blocks',
'backup_general_filters' => 'filters',
+1 -5
View File
@@ -730,7 +730,7 @@ abstract class restore_dbops {
* ready to be created. Also, annotate their newids
* once created for later reference
*/
public static function create_included_users($basepath, $restoreid, $userfiles, $userid) {
public static function create_included_users($basepath, $restoreid, $userid) {
global $CFG, $DB;
$authcache = array(); // Cache to get some bits from authentication plugins
@@ -871,10 +871,6 @@ abstract class restore_dbops {
// Create user files in pool (profile, icon, private) by context
restore_dbops::send_files_to_pool($basepath, $restoreid, 'user', 'icon', $recuser->parentitemid, $userid);
restore_dbops::send_files_to_pool($basepath, $restoreid, 'user', 'profile', $recuser->parentitemid, $userid);
if ($userfiles) { // private files only if enabled in settings
restore_dbops::send_files_to_pool($basepath, $restoreid, 'user', 'private', $recuser->parentitemid, $userid);
}
}
}
$rs->close();
@@ -323,7 +323,6 @@ abstract class backup_cron_automated_helper {
$settings = array(
'users' => 'backup_auto_users',
'role_assignments' => 'backup_auto_role_assignments',
'user_files' => 'backup_auto_user_files',
'activities' => 'backup_auto_activities',
'blocks' => 'backup_auto_blocks',
'filters' => 'backup_auto_filters',
@@ -460,6 +459,11 @@ abstract class backup_cron_automated_helper {
$storage = $config->backup_auto_storage;
$dir = $config->backup_auto_destination;
if ($keep == 0) {
// means keep all backup files
return true;
}
$backupword = str_replace(' ', '_', moodle_strtolower(get_string('backupfilename')));
$backupword = trim(clean_filename($backupword), '_');
+1
View File
@@ -44,6 +44,7 @@ class backup_plan extends base_plan implements loggable {
}
$this->controller = $controller;
$this->basepath = $CFG->dataroot . '/temp/backup/' . $controller->get_backupid();
$this->excludingdactivities = false;
parent::__construct('backup_plan');
}
+3 -1
View File
@@ -97,7 +97,9 @@ class core_backup_renderer extends plugin_renderer_base {
$html .= html_writer::start_tag('div', array('class'=>'backup-section settings-section'));
$html .= $this->output->heading(get_string('backupsettings', 'backup'), 2, array('class'=>'header'));
foreach ($details->root_settings as $label=>$value) {
if ($label == 'filename') continue;
if ($label == 'filename' or $label == 'user_files') {
continue;
}
$html .= $this->backup_detail_pair(get_string('rootsetting'.str_replace('_','',$label), 'backup'), $value?$yestick:$notick);
}
$html .= html_writer::end_tag('div');
+14 -4
View File
@@ -193,6 +193,8 @@ class block_community_renderer extends plugin_renderer_base {
//Create course content html
$blocks = get_plugin_list('block');
$activities = get_plugin_list('mod');
if (!empty($course->contents)) {
$activitieshtml = '';
$blockhtml = '';
@@ -202,14 +204,22 @@ class block_community_renderer extends plugin_renderer_base {
if (!empty($blockhtml)) {
$blockhtml .= ' - ';
}
$blockhtml .= get_string('pluginname', 'block_' . $content->modulename)
. " (" . $content->contentcount . ")";
if (array_key_exists($content->modulename, $blocks)) {
$blockname = get_string('pluginname', 'block_' . $content->modulename);
} else {
$blockname = $content->modulename;
}
$blockhtml .= $blockname . " (" . $content->contentcount . ")";
} else {
if (!empty($activitieshtml)) {
$activitieshtml .= ' - ';
}
$activitieshtml .= get_string('modulename', $content->modulename)
. " (" . $content->contentcount . ")";
if (array_key_exists($content->modulename, $activities)) {
$activityname = get_string('modulename', $content->modulename);
} else {
$activityname = $content->modulename;
}
$activitieshtml .= $activityname . " (" . $content->contentcount . ")";
}
}
+9 -9
View File
@@ -4,7 +4,7 @@ if (is_file($CFG->dirroot.'/mod/feedback/lib.php')) {
define('FEEDBACK_BLOCK_LIB_IS_OK', true);
}
class block_feedback extends block_base {
class block_feedback extends block_list {
function init() {
$this->title = get_string('feedback', 'block_feedback');
@@ -21,10 +21,13 @@ class block_feedback extends block_base {
return $this->content;
}
$this->content = new stdClass;
$this->content->items = array();
$this->content->icons = array();
$this->content->footer = '';
if (!defined('FEEDBACK_BLOCK_LIB_IS_OK')) {
$this->content = new stdClass;
$this->content->text = get_string('missing_feedback_module', 'block_feedback');
$this->content->footer = '';
$this->content->items = array(get_string('missing_feedback_module', 'block_feedback'));
return $this->content;
}
@@ -33,9 +36,7 @@ class block_feedback extends block_base {
$courseid = SITEID;
}
$this->content = new stdClass;
$this->content->text = '';
$this->content->footer = '';
$icon = '<img src="'.$OUTPUT->pix_url('icon', 'feedback') . '" class="icon" alt="" />';
if (empty($this->instance->pageid)) {
@@ -47,8 +48,7 @@ class block_feedback extends block_base {
foreach ($feedbacks as $feedback) {
$url = new moodle_url($baseurl);
$url->params(array('id'=>$feedback->cmid, 'courseid'=>$courseid));
$icon = '<img src="'.$OUTPUT->pix_url('icon', 'feedback') . '" class="icon" alt="" />&nbsp;';
$this->content->text = ' <a href="'.$url->out().'">'.$icon.$feedback->name.'</a>';
$this->content->items[] = '<a href="'.$url->out().'">'.$icon.$feedback->name.'</a>';
}
}
+9 -2
View File
@@ -35,6 +35,12 @@ class block_login extends block_base {
// TODO: now that we have multiauth it is hard to find out if there is a way to change password
$forgot = $wwwroot . '/login/forgot_password.php';
if (empty($CFG->xmlstrictheaders) and !empty($CFG->loginpasswordautocomplete)) {
$autocomplete = 'autocomplete="off"';
} else {
$autocomplete = '';
}
$username = get_moodle_cookie();
$this->content->footer = '';
@@ -42,13 +48,14 @@ class block_login extends block_base {
if (!isloggedin() or isguestuser()) { // Show the block
$this->content->text .= "\n".'<form class="loginform" id="login" method="post" action="'.get_login_url().'">';
$this->content->text .= "\n".'<form class="loginform" id="login" method="post" action="'.get_login_url().'" '.$autocomplete.'>';
$this->content->text .= '<div class="c1 fld username"><label for="login_username">'.get_string('username').'</label>';
$this->content->text .= '<input type="text" name="username" id="login_username" value="'.s($username).'" /></div>';
$this->content->text .= '<div class="c1 fld password"><label for="login_password">'.get_string('password').'</label>';
$this->content->text .= '<input type="password" name="password" id="login_password" value="" /></div>';
$this->content->text .= '<input type="password" name="password" id="login_password" value="" '.$autocomplete.' /></div>';
$this->content->text .= '<div class="c1 btn"><input type="submit" value="'.get_string('login').'" /></div>';
+6 -2
View File
@@ -212,9 +212,13 @@ if (empty($entryid) && empty($modid) && empty($groupid)) {
}
if ($CFG->enablerssfeeds) {
$rsscontext = $filtertype = $thingid = null;
$rsscontext = null;
$filtertype = null;
$thingid = null;
list($thingid, $rsscontext, $filtertype) = blog_rss_get_params($blogheaders['filters']);
if (empty($rsscontext)) {
$rsscontext = get_system_context();
}
$rsstitle = $blogheaders['heading'];
//check we haven't started output by outputting an error message
+7
View File
@@ -479,6 +479,13 @@ function blog_get_options_for_user(stdClass $user=null) {
);
}
}
if ($canview && $CFG->enablerssfeeds) {
$options['rss'] = array(
'string' => get_string('rssfeed', 'blog'),
'link' => new moodle_url(rss_get_url($sitecontext->id, $USER->id, 'blog', 'user/'.$user->id))
);
}
// Cache the options
$useroptions[$user->id] = $options;
// Return the options
+1
View File
@@ -1633,6 +1633,7 @@ function calendar_get_allowed_types(&$allowed) {
if(!empty($SESSION->cal_course_referer) && $SESSION->cal_course_referer != SITEID) {
$course = $DB->get_record('course', array('id'=>$SESSION->cal_course_referer));
$coursecontext = get_context_instance(CONTEXT_COURSE, $SESSION->cal_course_referer);
$allowed->user = has_capability('moodle/calendar:manageownentries', $coursecontext);
if(has_capability('moodle/calendar:manageentries', $coursecontext)) {
$allowed->courses = array($course->id => 1);
+1 -1
View File
@@ -71,7 +71,7 @@ class calendar_preferences_form extends moodleform {
$mform->addHelpButton('maxevents', 'pref_maxevents', 'calendar');
$options = array();
for ($i=1; $i<=20; $i++) {
for ($i=1; $i<=99; $i++) {
$options[$i] = $i;
}
$mform->addElement('select', 'lookahead', get_string('pref_lookahead', 'calendar'), $options);
+1 -1
View File
@@ -49,7 +49,7 @@ class cohort_edit_form extends moodleform {
$mform->addElement('select', 'contextid', get_string('context', 'role'), $options);
$mform->addElement('text', 'idnumber', get_string('idnumber', 'cohort'), 'maxlength="254" size="50"');
$mform->setType('name', PARAM_RAW);
$mform->setType('idnumber', PARAM_RAW); // idnumbers are plain text, must not be changed
$mform->addElement('editor', 'description_editor', get_string('description', 'cohort'), null, $editoroptions);
$mform->setType('description_editor', PARAM_RAW);
+1 -1
View File
@@ -75,7 +75,7 @@ $data = array();
foreach($cohorts as $cohort) {
$line = array();
$line[] = format_string($cohort->name);
$line[] = $cohort->idnumber;
$line[] = s($cohort->idnumber); // plain text
$line[] = format_text($cohort->description, $cohort->descriptionformat);
$line[] = $DB->count_records('cohort_members', array('cohortid'=>$cohort->id));
+3 -2
View File
@@ -71,8 +71,9 @@ function cohort_add_cohort($cohort) {
*/
function cohort_update_cohort($cohort) {
global $DB;
if (isset($cohort->component) and empty($cohort->component)) {
$cohort->component = NULL;
if (property_exists($cohort, 'component') and empty($cohort->component)) {
// prevent NULLs
$cohort->component = '';
}
$cohort->timemodified = time();
$DB->update_record('cohort', $cohort);
+6 -6
View File
@@ -196,17 +196,17 @@ $CFG->admin = 'admin';
//
// These variables define DEFAULT block variables for new courses
// If this one is set it overrides all others and is the only one used.
// $CFG->defaultblocks_override = 'participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity';
// $CFG->defaultblocks_override = 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity';
//
// These variables define the specific settings for defined course formats.
// They override any settings defined in the formats own config file.
// $CFG->defaultblocks_site = 'site_main_menu,admin,course_list:course_summary,calendar_month';
// $CFG->defaultblocks_social = 'participants,search_forums,calendar_month,calendar_upcoming,social_activities,recent_activity,admin,course_list';
// $CFG->defaultblocks_topics = 'participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity';
// $CFG->defaultblocks_weeks = 'participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity';
// $CFG->defaultblocks_site = 'site_main_menu,course_list:course_summary,calendar_month';
// $CFG->defaultblocks_social = 'participants,search_forums,calendar_month,calendar_upcoming,social_activities,recent_activity,course_list';
// $CFG->defaultblocks_topics = 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity';
// $CFG->defaultblocks_weeks = 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity';
//
// These blocks are used when no other default setting is found.
// $CFG->defaultblocks = 'participants,activity_modules,search_forums,admin,course_list:news_items,calendar_upcoming,recent_activity';
// $CFG->defaultblocks = 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity';
//
// You can specify a different class to be created for the $PAGE global, and to
// compute which blocks appear on each page. However, I cannot think of any good
+29 -2
View File
@@ -311,6 +311,35 @@ abstract class moodleform_mod extends moodleform {
$errors['availablefrom'] = get_string('badavailabledates', 'condition');
}
// Conditions: Verify that the grade conditions are numbers, and make sense.
if (array_key_exists('conditiongradegroup', $data)) {
foreach ($data['conditiongradegroup'] as $i => $gradedata) {
if ($gradedata['conditiongrademin'] !== '' && !is_numeric($gradedata['conditiongrademin'])) {
$errors["conditiongradegroup[{$i}]"] = get_string('gradesmustbenumeric', 'condition');
continue;
}
if ($gradedata['conditiongrademax'] !== '' && !is_numeric($gradedata['conditiongrademax'])) {
$errors["conditiongradegroup[{$i}]"] = get_string('gradesmustbenumeric', 'condition');
continue;
}
if ($gradedata['conditiongrademin'] !== '' && $gradedata['conditiongrademax'] !== '' &&
$gradedata['conditiongrademax'] < $gradedata['conditiongrademin']) {
$errors["conditiongradegroup[{$i}]"] = get_string('badgradelimits', 'condition');
continue;
}
if ($gradedata['conditiongrademin'] === '' && $gradedata['conditiongrademax'] === '' &&
$gradedata['conditiongradeitemid']) {
$errors["conditiongradegroup[{$i}]"] = get_string('gradeitembutnolimits', 'condition');
continue;
}
if (($gradedata['conditiongrademin'] !== '' || $gradedata['conditiongrademax'] !== '') &&
!$gradedata['conditiongradeitemid']) {
$errors["conditiongradegroup[{$i}]"] = get_string('gradelimitsbutnoitem', 'condition');
continue;
}
}
}
return $errors;
}
@@ -456,8 +485,6 @@ abstract class moodleform_mod extends moodleform {
$grouparray[] =& $mform->createElement('static', '', '','% '.get_string('grade_upto','condition').' ');
$grouparray[] =& $mform->createElement('text', 'conditiongrademax','',array('size'=>3));
$grouparray[] =& $mform->createElement('static', '', '','%');
$mform->setType('conditiongrademin',PARAM_FLOAT);
$mform->setType('conditiongrademax',PARAM_FLOAT);
$group = $mform->createElement('group','conditiongradegroup',
get_string('gradecondition', 'condition'),$grouparray);
+1
View File
@@ -125,6 +125,7 @@
$reportrow->cells[] = $numviewscell;
if ($CFG->useblogassociations) {
require_once($CFG->dirroot.'/blog/lib.php');
$blogcell = new html_table_cell();
$blogcell->attributes['class'] = 'blog';
if ($blogcount = blog_get_associated_count($course->id, $cm->id)) {
+1 -1
View File
@@ -183,7 +183,7 @@ class enrol_database_plugin extends enrol_plugin {
$existing = array();
foreach ($current as $r) {
if (in_array($r->id, $roles)) {
if (in_array($r->roleid, $roles)) {
$existing[$r->roleid] = $r->roleid;
} else {
role_unassign($r->roleid, $user->id, $context->id, 'enrol_database', $instance->id);
+4
View File
@@ -394,6 +394,10 @@ function process_group_tag($tagcontents){
$courseid = $DB->insert_record('course', $course);
// Setup default enrolment plugins
$course->id = $courseid;
enrol_course_updated(true, $course, null);
// Setup the blocks
$course = $DB->get_record('course', array('id' => $courseid));
blocks_add_default_course_blocks($course);
+22 -2
View File
@@ -59,9 +59,9 @@ class enrol_self_edit_form extends moodleform {
$mform->setDefault('customint1', $plugin->get_config('groupkey'));
if ($instance->id) {
$roles = get_default_enrol_roles($context, $instance->roleid);
$roles = $this->extend_assignable_roles($context, $instance->roleid);
} else {
$roles = get_default_enrol_roles($context, $plugin->get_config('roleid'));
$roles = $this->extend_assignable_roles($context, $plugin->get_config('roleid'));
}
$mform->addElement('select', 'roleid', get_string('role', 'enrol_self'), $roles);
$mform->setDefault('roleid', $plugin->get_config('roleid'));
@@ -156,4 +156,24 @@ class enrol_self_edit_form extends moodleform {
return $errors;
}
/**
* Gets a list of roles that this user can assign for the course as the default for self-enrolment
*
* @param context $context the context.
* @param integer $defaultrole the id of the role that is set as the default for self-enrolement
* @return array index is the role id, value is the role name
*/
function extend_assignable_roles($context, $defaultrole) {
global $DB;
$roles = get_assignable_roles($context);
$sql = "SELECT r.id, r.name
FROM {role} r
WHERE r.id = $defaultrole";
$results = $DB->get_record_sql($sql);
if (isset($results->name)) {
$roles[$results->id] = $results->name;
}
return $roles;
}
}
+1 -1
View File
@@ -59,7 +59,7 @@ $string['pluginname'] = 'Self enrolment';
$string['pluginname_desc'] = 'The self enrolment plugin allows users to choose which courses they want to participate in. The courses may be protected by an enrolment key. Internally the enrolment is done via the manual enrolment plugin which has to be enabled in the same course.';
$string['requirepassword'] = 'Require enrolment key';
$string['requirepassword_desc'] = 'Require enrolment key in new courses and prevent removing of enrolment key from existing courses.';
$string['role'] = 'Assign role';
$string['role'] = 'Default assigned role';
$string['self:config'] = 'Configure self enrol instances';
$string['self:manage'] = 'Manage enrolled users';
$string['self:unenrol'] = 'Unenrol users from course';
+3
View File
@@ -19,6 +19,9 @@
$supportuser->email = $CFG->supportemail ? $CFG->supportemail : $admin->email;
$supportuser->firstname = $CFG->supportname ? $CFG->supportname : $admin->firstname;
$supportuser->lastname = $CFG->supportname ? '' : $admin->lastname;
//emailstop could be hard coded "false" to ensure error reports are sent
//but then admin's would have to alter their messaging preferences to temporarily stop them
$supportuser->emailstop = $admin->emailstop;
$supportuser->maildisplay = true;
/// Send the message and redirect
@@ -92,7 +92,6 @@ class filter_mediaplugin_test extends UnitTestCase {
'<a >test test</a>',
'<ahref="http://moodle.org/testfile/test.mp3">sample</a>',
'<a href="" test></a>',
'<a class="_blanktarget" href="http://moodle.org/testfile/test.flv?d=100x">test flv</a>',
'<a href="http://www.moodle.com/path/to?#param=29">test</a>',
'<a href="http://moodle.org/testfile/test.mp3">test mp3',
'<a href="http://moodle.org/testfile/test.mp3"test</a>',
+1 -1
View File
@@ -632,7 +632,7 @@ class grade_report_grader extends grade_report {
$usercell->scope = 'row';
if ($showuserimage) {
$usercell->text = $OUTPUT->container($OUTPUT->user_picture($user), 'userpic');
$usercell->text = $OUTPUT->user_picture($user);
}
$usercell->text .= html_writer::link(new moodle_url('/user/view.php', array('id' => $user->id, 'course' => $this->course->id)), fullname($user));
+35 -48
View File
@@ -2,6 +2,10 @@
* Grader report namespace
*/
M.gradereport_grader = {
/**
* @param {String} the script we send ajax requests to
*/
api : M.cfg.wwwroot+'/grade/report/grader/ajax_callbacks.php',
/**
* @param {Array} reports An array of instantiated report objects
*/
@@ -519,58 +523,58 @@ M.gradereport_grader.classes.ajax.prototype.get_below_cell = function(cell) {
*/
M.gradereport_grader.classes.ajax.prototype.submit = function(properties, values) {
// Stop the IO queue so we can add to it
this.report.Y.io.queue.stop();
// If the grade has changed add an IO transaction to update it to the queue
// If the grade has changed update it on the server
if (values.grade !== values.oldgrade) {
this.pendingsubmissions.push({transaction:this.report.Y.io.queue(M.cfg.wwwroot+'/grade/report/grader/ajax_callbacks.php', {
method : 'POST',
var cfg = {
method: 'POST',
data : 'id='+this.courseid+'&userid='+properties.userid+'&itemid='+properties.itemid+'&action=update&newvalue='+values.grade+'&type='+properties.itemtype+'&sesskey='+M.cfg.sesskey,
on : {
complete : this.submission_outcome
on: {
complete : this.submission_complete
},
context : this,
arguments : {
arguments: {
properties : properties,
values : values,
type : 'grade'
}
}),complete:false,outcome:null});
},
headers: {
},
};
this.report.Y.io(M.gradereport_grader.api, cfg);
}
// If feedback is editable and has changed add to the IO queue for it
// If feedback is editable and has changed update it on the server
if (values.editablefeedback && values.feedback !== values.oldfeedback) {
this.pendingsubmissions.push({transaction:this.report.Y.io.queue(M.cfg.wwwroot+'/grade/report/grader/ajax_callbacks.php', {
var cfg = {
method : 'POST',
data : 'id='+this.courseid+'&userid='+properties.userid+'&itemid='+properties.itemid+'&action=update&newvalue='+values.feedback+'&type=feedback&sesskey='+M.cfg.sesskey,
on : {
complete : this.submission_outcome
complete : this.submission_complete
},
context : this,
arguments : {
properties : properties,
values : values,
type : 'feedback'
}
}),complete:false,outcome:null});
},
headers: {
},
};
this.report.Y.io(M.gradereport_grader.api, cfg);
}
// Process the IO queue
this.report.Y.io.queue.start();
};
/**
* Callback function for IO transaction completions
*
* Uses a synchronous queue to ensure we maintain some sort of order
* Callback function called after grade and feedback changes
*
* @function
* @this {M.gradereport_grader.classes.ajax}
* @param {Int} tid Transaction ID
* @param {Object} outcome
* @param {Int} transactionid Transaction ID
* @param {Object} response
* @param {Mixed} args
*/
M.gradereport_grader.classes.ajax.prototype.submission_outcome = function(tid, outcome, args) {
M.gradereport_grader.classes.ajax.prototype.submission_complete = function(transactionid, response, args) {
// Parse the response as JSON
try {
outcome = this.report.Y.JSON.parse(outcome.responseText);
response = this.report.Y.JSON.parse(response.responseText);
} catch(e) {
var message = M.str.gradereport_grader.ajaxfailedupdate;
message.replace(/\[1\]/, args.type);
@@ -581,13 +585,13 @@ M.gradereport_grader.classes.ajax.prototype.submission_outcome = function(tid, o
// Quick reference for the grader report
var i = null;
// Check the outcome
if (outcome.result == 'success') {
// Check the response
if (response.result == 'success') {
// Iterate through each row in the result object
for (i in outcome.row) {
if (outcome.row[i] && outcome.row[i].userid && outcome.row[i].itemid) {
for (i in response.row) {
if (response.row[i] && response.row[i].userid && response.row[i].itemid) {
// alias it, we use it quite a bit
var r = outcome.row[i];
var r = response.row[i];
// Get the cell referred to by this result object
var info = this.report.get_cell_info([r.userid, r.itemid]);
if (!info) {
@@ -639,24 +643,7 @@ M.gradereport_grader.classes.ajax.prototype.submission_outcome = function(tid, o
} else if (args.type == 'feedback') {
this.report.update_feedback(p.userid, p.itemid, args.values.oldfeedback);
}
this.display_submission_error(outcome.message, p.cell);
}
// Check if all IO transactions in the queue are complete yet
var allcomplete = true;
for (i in this.pendingsubmissions) {
if (this.pendingsubmissions[i]) {
if (this.pendingsubmissions[i].transaction.id == tid) {
this.pendingsubmissions[i].complete = true;
this.pendingsubmissions[i].outcome = outcome;
this.report.Y.io.queue.remove(this.pendingsubmissions[i].transaction);
}
if (!this.pendingsubmissions[i].complete) {
allcomplete = false;
}
}
}
if (allcomplete) {
this.pendingsubmissions = [];
this.display_submission_error(response.message, p.cell);
}
};
/**
@@ -1197,4 +1184,4 @@ for (var i in M.gradereport_grader.classes.textfield.prototype) {
if (!M.gradereport_grader.classes.scalefield.prototype[i]) {
M.gradereport_grader.classes.scalefield.prototype[i] = M.gradereport_grader.classes.textfield.prototype[i];
}
}
}
+3 -7
View File
@@ -269,16 +269,12 @@ table#user-grades td.topleft {
background-color:#fff;
}
.path-grade-report-grader div.userpic {
margin-right:10px;
float:left;
}
.path-grade-report-grader div.userpic img {
.path-grade-report-grader th.user img {
border:3px double #cecece;
vertical-align:middle;
vertical-align:top;
width:2.7em;
height:2.7em;
margin-right:10px;
}
.path-grade-report-grader a.quickedit {
+1 -1
View File
@@ -103,7 +103,7 @@ if (has_capability('moodle/grade:viewall', $context)) { //Teachers will see all
if ($user_selector) {
$renderer = $PAGE->get_renderer('gradereport_user');
echo $renderer->graded_users_selector('user', $course, $userid, $currentgroup, false);
echo $renderer->graded_users_selector('user', $course, $userid, $currentgroup, true);
}
while ($userdata = $gui->next_user()) {
+1 -1
View File
@@ -20,7 +20,7 @@ $cancel = optional_param('cancel', false, PARAM_BOOL);
$group = $DB->get_record('groups', array('id'=>$groupid), '*', MUST_EXIST);
$course = $DB->get_record('course', array('id'=>$group->courseid), '*', MUST_EXIST);
$PAGE->set_url('/groups/members.php', array('id'=>$groupid));
$PAGE->set_url('/group/members.php', array('group'=>$groupid));
$PAGE->set_pagelayout('standard');
require_login($course);
+1 -1
View File
@@ -58,7 +58,7 @@
// Redirect logged-in users to My Moodle overview if required
if (optional_param('setdefaulthome', false, PARAM_BOOL)) {
set_user_preference('user_home_page_preference', HOMEPAGE_SITE);
} else if ($CFG->defaulthomepage == HOMEPAGE_MY && (optional_param('redirect', true, PARAM_BOOL) || !$hassiteconfig)) {
} else if ($CFG->defaulthomepage == HOMEPAGE_MY && optional_param('redirect', 1, PARAM_BOOL) === 1) {
redirect($CFG->wwwroot .'/my/');
} else if (!empty($CFG->defaulthomepage) && $CFG->defaulthomepage == HOMEPAGE_USER) {
$PAGE->settingsnav->get('usercurrentsettings')->add(get_string('makethismyhome'), new moodle_url('/', array('setdefaulthome'=>true)), navigation_node::TYPE_SETTING);
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+2 -2
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -36,7 +36,7 @@ $string['cliincorrectvalueerror'] = 'خطأ، القيمة "{$a->value}" غير
$string['cliincorrectvalueretry'] = 'قيمة غير صحيحة، حاول مرة أخرى';
$string['clitypevalue'] = 'أدخل القيمة';
$string['clitypevaluedefault'] = 'ادخل القيم أو اضغط انتر (Enter) لإستخدام القيم الأفتراضية ({$a})';
$string['cliunknowoption'] = 'خيارات غير معروفة
$string['cliunknowoption'] = 'خيارات غير معروفة
{$a}
الرجاء استخدام خيار المساعدة';
$string['cliyesnoprompt'] = 'ادخل (Y) تعني نعم أو (N) تعني لأ';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+3 -3
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -44,10 +44,10 @@ $string['memorylimithelp'] = '<p>La llende de memoria del PHP del so servidor ta
<p>Esto va facer que Moodle tenga problemes de memoria más tarde, especialmente si tien munchos módulos y/o munchos usuarios.</p>
<p>Recomendamos que configure PHP con una llende más grande si ye posible, como por exemplu 40M.
<p>Recomendamos que configure PHP con una llende más grande si ye posible, como por exemplu 40M.
Esisten varies formes nes que pue intentar facer esta modificación:</p>
<ol>
<li>Si pue, recompile PHP con <i>--enable-memory-limit</i>.
<li>Si pue, recompile PHP con <i>--enable-memory-limit</i>.
Esto va permitir que\'l propiu Moodle modifique la llende de memoria.</li>
<li>Si tien accesu al so ficheru php.ini pue modificar el valor de <b>memory_limit</b> a daqué paecío a 40M. Si nun tien accesu a esi ficheru igual pue pidir al alministrador del sistema que lo faiga.</li>
<li>En dellos servidores PHP pue crear un ficheru .htaccess nel direutoriu Moodle cola ringlera que vien darréu:
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+2 -2
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -36,7 +36,7 @@ $string['cliincorrectvalueerror'] = 'Səhv, "{$a->option}" üçün səhv "{$a->v
$string['cliincorrectvalueretry'] = 'Qiymət səhvdir, zəhmət olmasa yenidən cəhd edin';
$string['clitypevalue'] = 'Qiyməti daxil edin';
$string['clitypevaluedefault'] = 'Qiyməti daxil edin, ({$a}) qiymətindən avtomatik olaraq istifadə etmək üçün Enter düyməsini basın';
$string['cliunknowoption'] = 'Təyin olunmayan parametrlər:
$string['cliunknowoption'] = 'Təyin olunmayan parametrlər:
{$a}
Zəhmət olmasa help parametrindən istifadə edin';
$string['cliyesnoprompt'] = 'y (bəli) və n (xeyr) düyməsini basın';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+9 -9
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -71,23 +71,23 @@ $string['pathsroparentdataroot'] = '({$a->parent}) valideyn kataloquna yazmaq m
$string['pathssubadmindir'] = 'Veb-hostinqlərin sayı az olduqda yol/admin idarəetmə panelinə və ya digər bir yerə keçmək üçün xüsusi URL-dir. Təəssüf ki, bu Moodlun idarəetmə səhifələrinin standart mövqeyi ilə ziddiyyət təşkil edir. Bunu Moodle kataloqunda admin qovluğunun adını dəyişməklə və burada yeni adı göstərməklə aradan qaldırmaq olar. Məsələn, <em>moodleadmin</em>. Bu zaman Moodlun idarəetmə panelinə bütün keçidlər avtomatik olaraq dəyişir.';
$string['pathssubdataroot'] = 'Moodlun yüklənmiş faylları harada saxlayacağını mütləq göstərmək lazımdır Veb-server istifadəçisinin (usually \'nobody\' or \'apache\') bu kataloqda oxuma və YAZMA üçün icazəsi olmalıdır, lakin bu zaman İnternetdən birbaşa müraciət mümkün ola bilməz. Əgər bu kataloq mövcud deyilsə, quraşdırma proqramı onu yaratmağa cəhd edir. ';
$string['pathssubdirroot'] = 'Moodlun quraşdırılması kataloquna tam yol';
$string['pathssubwwwroot'] = 'Moodla keçidin mümkün olduğu tam veb-ünvan.
Moodla keçid üçün bir neçə ünvandan istifadə etmək mümkün deyil. Əgər sizin saytın bir neçə açıq ünvanı varsa, siz həmişə bu ünvanlardan göstərilən ünvana keçidi təmin etməlisiniz.
əgəgr sizin sayta həm İnternetdən həm lokal şəbəkədən keçid mümkündürsə, burada ümumi ünvanı göstərin DNS-i elə sazlayın ki, lokal istifadəçilər bu ünvandan istifadə edə bilsin.
Əgər göstərilən ünvan düzgün deyilsə, quraşdırmanı digər qiymətlə yenidən başlamaq üçün brauzerin ünvan sətirində URL-i dəyişin. ';
$string['pathssubwwwroot'] = 'Moodla keçidin mümkün olduğu tam veb-ünvan.
Moodla keçid üçün bir neçə ünvandan istifadə etmək mümkün deyil. Əgər sizin saytın bir neçə açıq ünvanı varsa, siz həmişə bu ünvanlardan göstərilən ünvana keçidi təmin etməlisiniz.
əgəgr sizin sayta həm İnternetdən həm lokal şəbəkədən keçid mümkündürsə, burada ümumi ünvanı göstərin DNS-i elə sazlayın ki, lokal istifadəçilər bu ünvandan istifadə edə bilsin.
Əgər göstərilən ünvan düzgün deyilsə, quraşdırmanı digər qiymətlə yenidən başlamaq üçün brauzerin ünvan sətirində URL-i dəyişin.';
$string['pathsunsecuredataroot'] = 'Verilənlər kataloqunun mövqeyi təhlükəsizlik tələblərinə cavab vermir.';
$string['pathswrongadmindir'] = 'Admin kataloqu mövcud deyil';
$string['phpextension'] = '{$a} PHP geniçlənməsi';
$string['phpversion'] = 'PHP versiyası';
$string['phpversionhelp'] = '<p>Moodle üçün PHP-nin 4.3.0 ondan yuxarı ya 5.1.0 ondan yuxarı versiyaları(5.0.versiyasının bəzi problemləri məlumdur) lazımdır.</p>
<p>İndi Siz, {$a} versiyasından istifadə edirsiniz</p>
<p>Siz PHP-ni yeniləməlisiniz ya PHP-nin daha yeni versiyası olan xostinqə keçməlisiniz!<br />
$string['phpversionhelp'] = '<p>Moodle üçün PHP-nin 4.3.0 ondan yuxarı ya 5.1.0 ondan yuxarı versiyaları(5.0.versiyasının bəzi problemləri məlumdur) lazımdır.</p>
<p>İndi Siz, {$a} versiyasından istifadə edirsiniz</p>
<p>Siz PHP-ni yeniləməlisiniz ya PHP-nin daha yeni versiyası olan xostinqə keçməlisiniz!<br />
(5.0.x verisyası olarsa 4.4.x versiyasına qayıda bilərsiniz)</p>';
$string['welcomep10'] = '{$a->installername} ({$a->installerversion})';
$string['welcomep20'] = 'Siz bu səhifəni ona görə görürsünüz ki, <strong>{$a->packname} {$a->packversion}</strong> proqram paketini öz kompyüterinizdə müvəffəqiyyətlə qurmusunuz. Təbrik edirik!';
$string['welcomep30'] = '<strong>{$a->installername}</strong> proqram paketinin bu versiyasında <strong>Moodle</strong>un işləyəcəyi mühiti yaratmaq üçün aşağıdakı proqramlar var:';
$string['welcomep40'] = 'Paketə həmçinin <strong>Moodle {$a->moodlerelease} ({$a->moodleversion})</strong> daxildir.';
$string['welcomep50'] = 'Bu paketə daxil olan əlavələrdən istifadə edilmə ardıcıllığı, müvafiq lisenziyalarla müəyyən edilir. <strong>{$a->installername}</strong> tam proqram paketi
$string['welcomep50'] = 'Bu paketə daxil olan əlavələrdən istifadə edilmə ardıcıllığı, müvafiq lisenziyalarla müəyyən edilir. <strong>{$a->installername}</strong> tam proqram paketi
<a href="http://www.opensource.org/docs/definition_plain.html">mənbəni açır</a> <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a> lisenziyasının şərtlərinə uyğun olaraq yayılır.';
$string['welcomep60'] = 'Növbəti səhifələrdə Siz, bir neçə sadə addımla öz kompyüterinizdə <strong>Moodle</strong>-un parametrlərini sazlaya və quraşdıra bilərsiniz. Siz sazlama parametrlərini susmaya görə qəbul edə və ya öz tələblərinizdən asılı olaraq dəyişə bilərsiniz.';
$string['welcomep70'] = '<strong>Moodle</strong> quraşdırma prosesini davam etmək üçün "Növbəti" düyməsini sıxın.';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+36
View File
@@ -0,0 +1,36 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
* generated automatically by export-installer.php (which is part of AMOS
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
* list of strings defined in /install/stringnames.txt.
*
* @package installer
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$string['language'] = 'Dil';
$string['next'] = 'Növbəti';
$string['previous'] = 'Əvvələ';
$string['reload'] = 'Yenilə';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+2 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -46,4 +46,5 @@ $string['pathshead'] = 'Потвърждаване на пътищата';
$string['pathssubdataroot'] = 'Тази директория е място, където Moodle, записва качваните файлове. Тази директория трябва да е достъпна за четене И ЗА ЗАПИС от потребителя на интернет сървъра (обикновено \'nobody\' или \'apache\'), но не трябва да е достъпна пряко през Интернет. Инталаторът ще се опита да създаде директорията, ако тя не съществува.';
$string['pathssubdirroot'] = 'Пълен път до директорията на Moodle.';
$string['pathssubwwwroot'] = 'Пълен интернет адрес, на който ще се отваря Moodle. Не е възможно Moodle да се отваря чрез различни адреси. Ако Вашият сайт има няколко адреса трябва на всеки от другите адреси да направите HTML пренасочване към този. Ако Вашият сайт се отваря както глобално от Интернет, така и от локална мрежа, настройте DNS така че потребителите от локалната мрежа също да могат да ползват глобалния адрес. Ако адресът не е коректен, моля, променете адреса в браузъра си и започнете инсталирането с правилния адрес.';
$string['phpextension'] = '{$a} разширение на PHP';
$string['wwwroot'] = 'Уеб адрес';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+10 -10
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -52,17 +52,17 @@ $string['memorylimithelp'] = '<p>আপনার সার্ভারের PHP
<p>ফলে মুডলে পরবর্তীতে মেমরি সংক্রান্ত সমস্যা দেখা দিতে পারে, বিশেষ করে অনেকগুলো মুডল সক্রিয় করা থাকলে/বেশিসংখ্যক ব্যবহারকারী থাকলে। </p>
<p>এজন্য আমরা সুপারিশ করি উচ্চসীমার, যেমন ৪০M মেমরি সহ PHP কমপাইল করতে।
<p>এজন্য আমরা সুপারিশ করি উচ্চসীমার, যেমন ৪০M মেমরি সহ PHP কমপাইল করতে।
এটা করার অনেকগুলো উপায় রয়েছে:</p>
<ol>
<li>আপনি যদি <i>--enable-memory-limit</i> দ্বারা PHP কমপাইল করতে পারেন তবে।
<li>আপনি যদি <i>--enable-memory-limit</i> দ্বারা PHP কমপাইল করতে পারেন তবে।
ফলে মুডল নিজে মেমরি সীমা নির্ধারণ করে নিবে।</li>
<li>আপনি php.ini ফাইল ব্যবহার করতে পারলে <b>memory_limit</b>
<li>আপনি php.ini ফাইল ব্যবহার করতে পারলে <b>memory_limit</b>
পরিবর্তন করে ৪০M এর মত করা যেত। আপনি যদি নিজে ব্যবহার করতে না পারেন তবে আপনার অ্যাডমিনিস্ট্রেশন আপনার জন্য কাজ করে দিবে।</li>
<li>কিছু PHP সার্ভারে মুডল ডিরেক্টরিতে:
<blockquote><div>php_value memory_limit 40M</div></blockquote>
লাইনটিসহ .htaccess ফাইল তৈরি করে নিতে পারেন
<p>কিছু সার্ভারে <b>সকল</b> PHP পৃষ্ঠা কাজ নাও করতে পারে
<p>কিছু সার্ভারে <b>সকল</b> PHP পৃষ্ঠা কাজ নাও করতে পারে
(পৃষ্ঠায় আপনার কিছু ত্রুটি চোখে পড়বে) সুতরাং আপনাকে .htaccess ফাইল অপসারন করতে হবে।</p></li>
</ol>';
$string['paths'] = 'পাথ';
@@ -70,7 +70,7 @@ $string['pathserrcreatedataroot'] = 'ইনস্টলারের সাহা
$string['pathshead'] = 'পাথ নিশ্চিত';
$string['pathsrodataroot'] = 'ডাটারুট ডিরেক্টরি লেখার মত নয়।';
$string['pathsroparentdataroot'] = 'প্যারেন্ট ডিরেক্টরি ({$a->parent}) লেখার যোগ্য নয়। ইনস্টলারের সাহায্যে ডাটা ডিরেক্টরি ({$a->dataroot}) তৈরি করা যায় না।';
$string['pathssubadmindir'] = 'খুব কম সংখ্যক ওয়েবহোস্ট কন্ট্রোল প্যানেল বা এই ধরনের কিছু ব্যবহার করতে /admin কে বিশেষ URL হিসাবে ব্যবহার করে। দূর্ভাগ্যবশত এর সাথে মুডল এডমিন পৃষ্টার স্ট্যান্ডার্ড স্থান নিয়ে ঝামেলা হয়। ইনস্টলেশনে অ্যাডমিন ডিরেক্টরির
$string['pathssubadmindir'] = 'খুব কম সংখ্যক ওয়েবহোস্ট কন্ট্রোল প্যানেল বা এই ধরনের কিছু ব্যবহার করতে /admin কে বিশেষ URL হিসাবে ব্যবহার করে। দূর্ভাগ্যবশত এর সাথে মুডল এডমিন পৃষ্টার স্ট্যান্ডার্ড স্থান নিয়ে ঝামেলা হয়। ইনস্টলেশনে অ্যাডমিন ডিরেক্টরির
নাম পরিবর্তন করে নতুন নাম দিয়ে সমস্যার সমাধান করতে পারেন। যেমন: <em>moodleadmin</em> এর ফলে মডুলে অ্যাডমিনে লিঙ্কগুলো নির্ধারণ করে দিবে।';
$string['pathssubdataroot'] = 'মুডলের ফাইল সংরক্ষণের জন্য জায়গা প্রয়োজন। ওয়েব সার্ভার ব্যবহারকারী
(সাধরনত কেউই না বা apache) যাতে অবশ্যই এই ডিরেক্টরি পড়তে লিখতে পারে, কিন্তু যাতে ওয়েবের সাহায্যে এটা সরাসরি ব্যবহার করা না যায়। ডিরেক্টরি না থাকলে, ইনস্টলার এটা তৈরি করে নেয়ার চেষ্টা করবে।';
@@ -88,16 +88,16 @@ $string['phpversionhelp'] = '<p>মুডলের জন্য PHP এর ক
<p>PHP সংস্করন অবশ্যই আপগ্রেড করতে হবে বা PHP এর নতুন সংস্করনসহ হোস্ট ব্যবহার করতে হবে!<br />
(5.0.x এর ক্ষেত্রে আপনি 4.4.x সংস্করনেও ডাউনগ্রেড করতে পারেন)</p>';
$string['welcomep10'] = '{$a->installername} ({$a->installerversion})';
$string['welcomep20'] = 'আপনি সফলভাবে
$string['welcomep20'] = 'আপনি সফলভাবে
আপনার কম্পিউটারে <strong>{$a->packname} {$a->packversion}</strong> প্যাকেজ ইনস্টল করে চালু করেছেন বলেই এই পৃষ্ঠাটি দেখতে পাচ্ছেন। অভিনন্দন!';
$string['welcomep30'] = '
অ্যাপ্লিকেশনসহ <strong>{$a->installername}</strong> রিলিজের ফলে একটি এনভায়রনমেন্ট তৈরি করা হয় যেখানে <strong>মুডল</strong> কাজ করবে, যেমন:';
$string['welcomep40'] = 'প্যাকেজে <strong>মুডল {$a->moodlerelease} ({$a->moodleversion})</strong> ও থাকে।';
$string['welcomep50'] = 'এই প্যাকেজের সকল অ্যাপ্লিকেশন তাদের মূল্যবান
লাইসেন্স অনুসরন করে। সম্পূর্ন <strong>{$a->installername}</strong> প্যাকেজ <a href="http://www.opensource.org/docs/definition_plain.html">ওপেন সোর্স</a> এবং <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a> লাইসেন্সের আওতায়
লাইসেন্স অনুসরন করে। সম্পূর্ন <strong>{$a->installername}</strong> প্যাকেজ <a href="http://www.opensource.org/docs/definition_plain.html">ওপেন সোর্স</a> এবং <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a> লাইসেন্সের আওতায়
বন্টিত।';
$string['welcomep60'] = 'নিম্নোক্ত পৃষ্ঠায় আপনার কম্পিউটারে <strong>মুডল</strong>
কনফিগার করে নির্ধারন করার জন্য কিছু সহজ উপায় দেয়া আছে। আপনি পূর্বনির্ধারিত
$string['welcomep60'] = 'নিম্নোক্ত পৃষ্ঠায় আপনার কম্পিউটারে <strong>মুডল</strong>
কনফিগার করে নির্ধারন করার জন্য কিছু সহজ উপায় দেয়া আছে। আপনি পূর্বনির্ধারিত
সেটিং গ্রহন করতে পারেন অথবা ঐচ্ছিকভাবে তাদেরকে আপনার প্রয়োজনানুসারে সংশোধন করে নিতে পারেন।';
$string['welcomep70'] = '<strong>মুডল</strong> সেট আপের সাহায্যে অগ্রসর হওয়ার জন্য "পরবর্তী" বোতামে ক্লিক।';
$string['wwwroot'] = 'ওয়েব ঠিকানা';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+2 -2
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -36,7 +36,7 @@ $string['cliincorrectvalueerror'] = 'Error, valor incorrecte "{$a->value}" per a
$string['cliincorrectvalueretry'] = 'Valor incorrecte, si us plau, torneu-ho a provar.';
$string['clitypevalue'] = 'Valor de tipus';
$string['clitypevaluedefault'] = 'valor de tipus, premeu Intro per fer servir un valor per defecte ({$a})';
$string['cliunknowoption'] = 'Opcions invàlides:
$string['cliunknowoption'] = 'Opcions invàlides:
{$a}
L\'opció --help us orientarà.';
$string['cliyesnoprompt'] = 'Escriu y (significa Sí) o n (significa No)';
+2 -2
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -40,7 +40,7 @@ $string['cannotsavezipfile'] = 'No s\'ha pogut desar el fitxer zip';
$string['cannotunzipfile'] = 'No s\'ha pogut descomprimir el fitxer';
$string['componentisuptodate'] = 'El component està al dia';
$string['downloadedfilecheckfailed'] = 'Ha fallat la comprovació del fitxer baixat.';
$string['invalidmd5'] = 'El md5 no és vàlid';
$string['invalidmd5'] = 'L\'md5 no és vàlid. Torneu-ho a provar';
$string['missingrequiredfield'] = 'Falta algun camp necessari';
$string['remotedownloaderror'] = 'No s\'ha pogut baixar el component al vostre servidor. Verifiqueu els paràmetres de servidor intermediari. Es recomana l\'extensió cURL.<br /><br />Haureu de baixar manualment el fitxer <a href="{$a->url}">{$a->url}</a>, copiar-lo a la ubicació "{$a->dest}" del vostre servidor i descomprimir-lo allí.';
$string['wrongdestpath'] = 'El camí de destinació és erroni';
+7 -7
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -65,12 +65,12 @@ $string['pathshead'] = 'Confirma els camins ';
$string['pathsrodataroot'] = 'No hi ha permisos d\'escriptura al directori Dataroot.';
$string['pathsroparentdataroot'] = 'No hi ha permisos d\'escriptura al directori pare ({$a->parent}). L\'instal·lador no pot crear el directori de dades ({$a->dataroot}).';
$string['pathssubadmindir'] = 'Uns pocs servidors webs utilitzen /admin com una adreça URL per permetre-vos el control del panell o altres coses. Desafortunadament això entra en conflicte amb l\'estàndard de Moodle per situar les pàgines d\'administració. Podeu resoldre això reanomenant el directori d\'administració a la vostra instal·lació, i posant el nou nom aquí. Per exemple: <em>moodleadmin</em>. Això resoldrà els enllaços en Moodle.';
$string['pathssubdataroot'] = 'us cal un lloc on Moodle pugui desar els fitxers pujats. Aquest directori ha de tindre permisos de lectura I ESCRIPTURA per el servidor web (normalment \'nobody\' o \'apache\' ), però no ha de ser directament accessible via web. L\'instal·lador tractarà de crear-lo si no existeix.';
$string['pathssubdataroot'] = 'Necessiteu un espai on Moodle pugui desar els fitxers penjats. Aquest directori hauria de tenir permisos de lectura I ESCRIPTURA per a l\'usuari del servidor web (normalment \'nobody\' o \'apache\'), però no cal que sigui accessible directament via web. L\'instal·lador provarà de crear-lo si no existeix.';
$string['pathssubdirroot'] = 'Camí complet al directori d\'instal·lació de Moodle.';
$string['pathssubwwwroot'] = 'Adreça web completa des d\'on es pot accedir a Moodle.
No és possible accedir a Moodle utilitzant múltiples direccions.
$string['pathssubwwwroot'] = 'Adreça web completa des d\'on es pot accedir a Moodle.
No és possible accedir a Moodle utilitzant múltiples direccions.
Si el vostre lloc disposa de diverses adreces públiques us caldrà configurar redireccions permanents en totes elles, excepte aquesta.
Si el vostre lloc és accessible tant des de la Intranet i Internet, poseu la direcció pública aquí i configureu el DNS perquè els usuaris d\'Intranet puguin utilitzar l\'adreça pública també.
Si el vostre lloc és accessible tant des de la Intranet i Internet, poseu la direcció pública aquí i configureu el DNS perquè els usuaris d\'Intranet puguin utilitzar l\'adreça pública també.
Si la direcció no és correcta, si us plau canviï l\'adreça URL al seu navegador per reiniciar la instal.lació amb un valor diferent.';
$string['pathsunsecuredataroot'] = 'Dataroot no està situada en un lloc segur.';
$string['pathswrongadmindir'] = 'El directori d\'admin no existeix.';
@@ -84,8 +84,8 @@ $string['welcomep10'] = '{$a->installername} ({$a->installerversion})';
$string['welcomep20'] = 'Esteu veient aquesta pàgina perquè heu instal·lat amb èxit i heu executat el paquet <strong>{$a->packname} {$a->packversion}</strong>. Felicitacions!';
$string['welcomep30'] = 'Aquesta versió de <strong>{$a->installername}</strong> inclou les aplicacions necessàries per crear un entorn en el qual funcioni <strong>Moodle</strong>:';
$string['welcomep40'] = 'El paquet inclou també <strong>Moodle {$a->moodlerelease} ({$a->moodleversion})</strong>.';
$string['welcomep50'] = 'L\'ús de totes les aplicacions d\'aquest paquet és governat per les seves llicències respectives. El paquet <strong>{$a->installername}</strong> complet és
<a href="http://www.opensource.org/docs/definition_plain.html">codi font obert</a> i es distribueix
$string['welcomep50'] = 'L\'ús de totes les aplicacions d\'aquest paquet és governat per les seves llicències respectives. El paquet <strong>{$a->installername}</strong> complet és
<a href="http://www.opensource.org/docs/definition_plain.html">codi font obert</a> i es distribueix
sota llicència <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.';
$string['welcomep60'] = 'Les pàgines següents us guiaran per una sèrie de passos fàcils de seguir per configurar <strong>Moodle</strong> en el vostre ordinador. Podeu acceptar els paràmetres per defecte o, opcionalment, modificar-los perquè s\'ajustin a les vostres necessitats.';
$string['welcomep70'] = 'Feu clic en el botó "Següent" per continuar la configuració de <strong>Moodle</strong>.';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+44
View File
@@ -0,0 +1,44 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
* generated automatically by export-installer.php (which is part of AMOS
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
* list of strings defined in /install/stringnames.txt.
*
* @package installer
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$string['clianswerno'] = 'No';
$string['cliansweryes'] = 'Sí';
$string['cliincorrectvalueerror'] = 'Error, valor incorrecte "{$a->value}" per a "{$a->option}"';
$string['cliincorrectvalueretry'] = 'Valor incorrecte, per favor, torneu-ho a provar.';
$string['clitypevalue'] = 'Valor de tipus';
$string['clitypevaluedefault'] = 'valor de tipus, premeu Intro per fer servir un valor per defecte ({$a})';
$string['cliunknowoption'] = 'Opcions invàlides:
{$a}
L\'opció --help vos orientarà.';
$string['cliyesnoprompt'] = 'Escriu y (significa Sí) o n (significa No)';
$string['environmentrequireinstall'] = 'es requereix instal·lar/habilitar';
$string['environmentrequireversion'] = 'esteu executant la versió {$a->current} i es requereix la {$a->needed}';
+34
View File
@@ -0,0 +1,34 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
* generated automatically by export-installer.php (which is part of AMOS
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
* list of strings defined in /install/stringnames.txt.
*
* @package installer
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$string['cannotsavemd5file'] = 'No s\'ha pogut alçar el fitxer md5';
$string['cannotsavezipfile'] = 'No s\'ha pogut alçar el fitxer zip';
+55
View File
@@ -0,0 +1,55 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
* generated automatically by export-installer.php (which is part of AMOS
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
* list of strings defined in /install/stringnames.txt.
*
* @package installer
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$string['langdownloaderror'] = 'Dissortadament l\'idioma "{$a}" no està instal·lat. La instal·lació prosseguirà en anglés.';
$string['memorylimithelp'] = '<p>El límit de memòria del PHP del vostre servidor actualment està definit en {$a}.</p>
<p>Això pot causar que Moodle tinga problemes de memòria més avant, especialment si teniu molts mòduls habilitats i/o molts usuaris.</p>
<p>És recomanable que configureu el PHP amb un límit superior, com ara 40 MB, sempre que siga possible. Hi ha diverses maneres de fer això:</p>
<ol>
<li>Si podeu, recompileu el PHP amb <i>--enable-memory-limit</i>. Això permetrà que Moodle definisca el límit de memòria per si mateix.</li>
<li>Si teniu accés al fitxer php.ini, podeu canviar el paràmetre <b>memory_limit</b> a 40 MB. Si no hi teniu accés podeu demanar al vostre administrador que ho faça ell.</li>
<li>En alguns servidors PHP podeu crear un fitxer .htaccess dins del directori de Moodle amb esta línia:
<p><blockquote>php_value memory_limit 40M</blockquote></p>
<p>Tanmateix, en alguns servidors això farà que no funcioni <b>cap</b> pàgina PHP (es visualitzaran errors) en el qual cas hauríeu de suprimir el fitxer .htaccess.</p></li>
</ol>';
$string['pathssubdataroot'] = 'Necessiteu un espai on Moodle puga alçar els fitxers penjats. Este directori hauria de tindre permisos de lectura I ESCRIPTURA per a l\'usuari del servidor web (normalment \'nobody\' o \'apache\'), però no cal que siga accessible directament via web. L\'instal·lador provarà de crear-lo si no existeix.';
$string['phpversionhelp'] = '<p>Moodle necessita la versió de PHP 4.1.0 o posterior.</p>
<p>A hores d\'ara esteu utilitzant la versió {$a}.</p>
<p>Vos caldrà actualitzar el PHP o traslladar Moodle a un ordinador amb una versió de PHP més recent.</p>';
$string['welcomep20'] = 'Esteu veient esta pàgina perquè heu instal·lat amb èxit i heu executat el paquet <strong>{$a->packname} {$a->packversion}</strong>. Felicitacions!';
$string['welcomep30'] = 'Esta versió de <strong>{$a->installername}</strong> inclou les aplicacions necessàries per crear un entorn en el qual funcioni <strong>Moodle</strong>:';
$string['welcomep50'] = 'L\'ús de totes les aplicacions d\'este paquet és governat per les seues llicències respectives. El paquet <strong>{$a->installername}</strong> complet és
<a href="http://www.opensource.org/docs/definition_plain.html">codi font obert</a> i es distribueix
sota llicència <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.';
$string['welcomep60'] = 'Les pàgines següents vos guiaran per una sèrie de passos fàcils de seguir per configurar <strong>Moodle</strong> en el vostre ordinador. Podeu acceptar els paràmetres per defecte o, opcionalment, modificar-los perquè s\'ajusten a les vostres necessitats.';
+35
View File
@@ -0,0 +1,35 @@
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
* generated automatically by export-installer.php (which is part of AMOS
* {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
* list of strings defined in /install/stringnames.txt.
*
* @package installer
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
$string['parentlanguage'] = 'ca';
$string['thisdirection'] = 'ltr';
$string['thislanguage'] = 'Valencià (Català meridional)';
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+1 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
+2 -1
View File
@@ -16,7 +16,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* Automatically generated strings for Moodle 2.0 installer
* Automatically generated strings for Moodle installer
*
* Do not edit this file manually! It contains just a subset of strings
* needed during the very first steps of installation. This file was
@@ -40,6 +40,7 @@ $string['databasehost'] = 'Databázový server';
$string['databasename'] = 'Název databáze';
$string['databasetypehead'] = 'Vyberte databázový ovladač';
$string['dataroot'] = 'Datový adresář';
$string['datarootpermission'] = 'Přístupová práva k datovému adresáři';
$string['dbprefix'] = 'Předpona tabulek';
$string['dirroot'] = 'Adresář Moodlu';
$string['environmenthead'] = 'Kontrola programového prostředí...';

Some files were not shown because too many files have changed in this diff Show More