Gordon Bateson
cb6d0894c3
MDL-24779 mod/hotpot tidy up calls to js_value() method which escapes and encodes unicode strings for javascript
2010-10-21 03:18:07 +00:00
Gordon Bateson
6686945ee3
mod/hotpot MDL-22726 fix importing of intructions from a Hot Potatoes quiz file into the Moodle question bank
2010-06-10 23:39:51 +00:00
Gordon Bateson
1743d9399b
fix student access to HotPots in tail of a HotPot quiz chain
2010-02-11 02:54:28 +00:00
Gordon Bateson
9cd6ebbe55
do not treat https absolute urls as relative urls
2010-01-25 07:15:35 +00:00
Petr Skoda
72f8b520a1
MDL-21026 improved entity handling
2009-12-02 21:14:02 +00:00
Gordon Bateson
621c41ae2b
ensure user has_capability('mod/hotpot:attempt', $module) when viewing a HotPot or submitting results
2009-11-09 01:25:54 +00:00
Eloy Lafuente
7e8d9a721a
MDL-20288 add_to_log() - handle empties in a cross-db way. My last 17_STABLE commit ever. Bye!
2009-10-30 16:40:31 +00:00
skodak
ea17a9c8f2
MDL-19718 fixed critical race condition when deleting posts - credit goes to Ashley Holman; backported from MOODLE_19_STABLE
2009-09-27 09:49:06 +00:00
skodak
593dc76c1a
MDL-20309 improved sanitization of id property; backported from MOODLE_19_STABLE
2009-09-26 11:59:21 +00:00
gbateson
08a43cac5e
stricter checking of null fields when restoring HotPots in order to avoid unwanted chars being inserted into empty char fields on PostgreSQL sites
2009-09-25 06:22:00 +00:00
pichetp
faf5d6b33d
MDL-20189 correcting for the value of correctanswerlength on calculated export Merge
...
from HEAD
2009-09-07 01:53:39 +00:00
gbateson
c5adf8f923
MDL-20184 more efficient and accurate detection of missing nodes in xml tree when importing Hot Potatoes XML files to Moodle question bank / quiz module
2009-09-01 01:02:40 +00:00
gbateson
ed0868c364
MDL-20184 when importing questions from Hot Potatoes files to Moodle question-bank / Quiz module, the readquestions() function wil return "false", to signify an error, if no questions are detected in the import file
2009-08-31 02:05:27 +00:00
gbateson
6f424c1824
MDL-20185 detect zero, "0", as an answer for a gap in a JCloze when importing to the Moodle's question bank / Quiz module
2009-08-31 01:33:43 +00:00
gbateson
b5cba5dd13
HotPot module: differentiate between "guesses-correct" (JCloze) and "guess-correct" (JCross, JMatch, JMix, JQuiz) in HotPot xml files and fix PreloadImages function for multiple images
2009-08-28 08:04:01 +00:00
gbateson
12d2ff509c
add hotpot_encode_content_links() and hotpot_decode_content_links() to HotPot's backuplib.php and restorelib.php respectively
2009-08-25 01:22:23 +00:00
skodak
ea3d671a33
MDL-19842 securing algebradebug the same way as text debug - only admins may use it now; backported from HEAD
2009-07-17 08:42:26 +00:00
skodak
c39885e2f7
MDL-19832 new mimeTeX binaries v1.70; backported from HEAD
2009-07-16 10:07:44 +00:00
skodak
4635f0ecd8
file readme_moodle.txt was added on branch MOODLE_17_STABLE on 2009-07-16 10:07:44 +0000
2009-07-16 09:48:18 +00:00
gbateson
ad1afa2d02
fixes for XHTML strict: add <fieldset> arround hidden form fields, use "id" instead of "name" to locate forms, use HTML entities in button captions <= and =>
2009-05-24 10:16:42 +00:00
fmarier
e5161d5770
MDL-19156: auth/fc: clarifying the licensing terms as per author's email
2009-05-11 23:36:53 +00:00
fmarier
95069438b4
MDL-19117 clarification to the license
2009-05-09 04:33:07 +00:00
skodak
93e9a93cae
MDL-18311 fixed magic quotes trouble when moving courses; backported from MOODLE_19_STABLE
2009-05-08 21:06:38 +00:00
gbateson
0530299688
when searhcing for urls of next quiz, remove requirement for navigation buttons to have class="NavButton"
2009-05-07 23:01:01 +00:00
ericmerrill
9936a2ecf4
MDL-19092 Fixed the user login view, which was incomplete and broken on some browsers
2009-05-07 12:22:44 +00:00
fmarier
56673355ca
MDL-19096 include a copy of the GPL
2009-05-07 03:05:39 +00:00
fmarier
4d0348583a
file COPYING.txt was added on branch MOODLE_17_STABLE on 2009-05-07 03:05:39 +0000
2009-05-07 03:03:25 +00:00
stronk7
49de1ac0b6
MDL-18243, MDL-16961 data module filter - make it cross-db by using sql_compare_text()
2009-05-06 15:54:15 +00:00
stronk7
055f532221
MDL-18893 TeX filter - fine tune "def" commands + add some more commands to blacklist (from Kopete).
...
Thanks to Mauno Korpelainen and Steve Mayer. Backported from 18_STABLE
2009-04-20 21:30:39 +00:00
gbateson
92cc4862ab
MDL-18880: only insert media players for swf URLs if $CFG->filter_mediaplugin_enable_swf is set
2009-04-19 23:50:38 +00:00
gbateson
6169da991c
MDL-17426: removing superflous link to "Selecting a report"
2009-04-17 02:23:48 +00:00
gbateson
22cb3c80a0
MDL-18883: fix setting of absolute urls for images in subfolders of course files
2009-04-17 01:44:24 +00:00
skodak
a1cec1a1cc
MDL-18384 better symlink support, do not recurse symlinks when deleting - patch by Matt Oquist, thanks; backported from MOODLE_19_STABLE
2009-04-05 20:56:37 +00:00
skodak
e15a93cf8c
MDL-18771 fixed db quoting; backported from MOODLE_19_STABLE
2009-04-05 20:27:09 +00:00
skodak
ef1857c333
MDL-18552 different TeX trouble fix; backported from HEAD
2009-03-31 12:22:11 +00:00
skodak
fd8821b455
file lib.php was added on branch MOODLE_17_STABLE on 2009-03-31 12:22:11 +0000
2009-03-31 10:03:10 +00:00
gbateson
924df0e6c8
when search for media players, remove requirment for <object> tag to contain a space, and make closing </A> tag lowercase
2009-03-30 07:13:04 +00:00
stronk7
9a33c51dec
MDL-18552 TeX filter - add string ; backported from HEAD
2009-03-26 21:38:52 +00:00
stronk7
e0799ca496
MDL-18552 TeX filter - blacklist unsecure commands + protect texdebug ; backported from HEAD
2009-03-26 19:39:11 +00:00
skodak
ca8bce95b8
MDL-18365 fixed quoting
2009-02-25 22:28:15 +00:00
skodak
290f9067d0
MDL-18348 CVE-2007-3215
2009-02-23 07:48:05 +00:00
dongsheng
85fcc67e01
"REPORT,SPAMCLEANER/MDL-18223, backport spamcleaner to 1.7"
2009-02-23 01:09:11 +00:00
dongsheng
30c9b8eb50
file index.php was added on branch MOODLE_17_STABLE on 2009-02-23 01:09:11 +0000
2009-02-17 23:01:30 +00:00
dongsheng
ab18857b08
file settings.php was added on branch MOODLE_17_STABLE on 2009-02-23 01:09:11 +0000
2009-02-17 22:37:48 +00:00
dongsheng
4dd5053fe1
file report_spamcleaner.php was added on branch MOODLE_17_STABLE on 2009-02-23 01:09:12 +0000
2009-02-17 22:37:48 +00:00
stronk7
904da0086f
MDL-18227 - Ignoring all non numeric rates. Backported from 18_STABLE
2009-02-13 11:02:49 +00:00
jerome
bb970e231e
mp3 flash player MDL-7549 MP3 flash player now plays the end of the mp3 file
2009-02-06 07:22:16 +00:00
stronk7
d8b67539cd
MDL-18073 environment - enforce PHP 5.2.8 req for Moodle 2.0
2009-01-28 23:40:04 +00:00
moodler
2664066699
Bumping post release
2009-01-28 12:57:31 +00:00
moodler
7d7ca8e169
Bumped for release
2009-01-28 09:19:05 +00:00
stronk7
2f33962df9
MDL-17365 forum rate - validate rating against scale values. Backported from 18_STABLE
2009-01-27 18:04:14 +00:00
gbateson
035699d459
MDL-17679: implement course reset for HotPot module (thanks to Albert Gasset)
2009-01-27 08:36:37 +00:00
moodlerobot
fb59fff8d0
Automatic installer.php lang files by installer_builder (20090127)
2009-01-26 23:42:06 +00:00
moodlerobot
898267d8e7
Automatic installer.php lang files by installer_builder (20090124)
2009-01-23 23:42:07 +00:00
moodlerobot
376454ea6b
Automatic installer.php lang files by installer_builder (20090123)
2009-01-22 23:43:03 +00:00
moodlerobot
e69fb98dbc
Automatic installer.php lang files by installer_builder (20090122)
2009-01-21 23:43:54 +00:00
moodlerobot
14420c8aaf
Automatic installer.php lang files by installer_builder (20090121)
2009-01-20 23:41:30 +00:00
moodlerobot
faaf4b4b4d
Automatic installer.php lang files by installer_builder (20090120)
2009-01-19 23:41:06 +00:00
moodlerobot
14054e093c
Automatic installer.php lang files by installer_builder (20090119)
2009-01-18 23:39:16 +00:00
moodlerobot
ff7f3a8880
Automatic installer.php lang files by installer_builder (20090118)
2009-01-17 23:49:32 +00:00
moodlerobot
233101c5a4
Automatic installer.php lang files by installer_builder (20090117)
2009-01-16 23:52:53 +00:00
moodlerobot
8215f4b97d
Automatic installer.php lang files by installer_builder (20090116)
2009-01-16 03:23:44 +00:00
moodlerobot
98efc065d4
Automatic installer.php lang files by installer_builder (20090110)
2009-01-09 23:42:20 +00:00
skodak
a973dea1bc
MDL-17799 proper log url sanitisation - big thanks to Full Name hacker ;-) backported from HEAD
2009-01-07 23:02:31 +00:00
skodak
51dcac7ccc
MDL-17789 prevent potential XSS problems through PHP_SELF; backported from HEAD
2009-01-06 13:11:11 +00:00
moodlerobot
82fbdcd19c
Automatic installer.php lang files by installer_builder (20090106)
2009-01-05 23:41:26 +00:00
moodlerobot
e4b44f2b28
Automatic installer.php lang files by installer_builder (20090103)
2009-01-02 23:45:48 +00:00
moodlerobot
6fc7f7dde3
Automatic installer.php lang files by installer_builder (20090102)
2009-01-01 23:43:03 +00:00
moodlerobot
63ebcf17fe
Automatic installer.php lang files by installer_builder (20081227)
2008-12-26 23:43:47 +00:00
moodlerobot
726295fb6c
Automatic installer.php lang files by installer_builder (20081224)
2008-12-23 23:42:08 +00:00
moodlerobot
30ef17c443
Automatic installer.php lang files by installer_builder (20081222)
2008-12-21 16:46:04 +00:00
stronk7
63443e197a
Adding kk_utf8 to installer langs. Backported from HEAD.
2008-12-21 16:03:52 +00:00
stronk7
1e0d95e9c5
file installer.php was added on branch MOODLE_17_STABLE on 2008-12-21 16:03:52 +0000
2008-12-21 16:02:16 +00:00
gbateson
c5090097f4
MDL-6467 add "swf" and "flv" to the list of files for which relative urls are converted to absolute urls
2008-12-21 01:45:43 +00:00
moodlerobot
c983949fa5
Automatic installer.php lang files by installer_builder (20081218)
2008-12-17 23:42:21 +00:00
moodlerobot
6d8fc58dec
Automatic installer.php lang files by installer_builder (20081216)
2008-12-15 23:40:18 +00:00
tjhunt
b54a4b0d76
Flatfile enrolment: MDL-11418 SQL error. Thanks to Patrick Pollet.
...
I don't know exactly how this works, but it looks like a good fix to me, so committing.
2008-12-15 02:53:33 +00:00
moodlerobot
329aced2bb
Automatic installer.php lang files by installer_builder (20081215)
2008-12-14 23:39:54 +00:00
moodlerobot
7c2a1dfa15
Automatic installer.php lang files by installer_builder (20081213)
2008-12-12 23:40:36 +00:00
tjhunt
f4fca14fe6
match qtype: MDL-17326 backup and restore problems
...
* The shuffleanswers options was not backed up or restored.
* Responses were not properly recoded on restore.
2008-12-12 06:44:54 +00:00
tjhunt
92e387abbc
matching qtype: MDL-17496 With filterall and multilang, the contents of the dropdowns was not being properly filtered
...
This was caused becuse the solution to MDL-9005 was not quite right.
2008-12-12 04:39:44 +00:00
moodlerobot
7bf643ec7e
Automatic installer.php lang files by installer_builder (20081212)
2008-12-11 23:40:08 +00:00
skodak
8406cf8ca8
MDL-17368 removing unused html area spell checker - we have our own implementation; backported from MOODLE_19_STABLE
2008-12-08 00:17:43 +00:00
moodlerobot
0fb9aeb3a6
Automatic installer.php lang files by installer_builder (20081208)
2008-12-07 23:39:59 +00:00
moodlerobot
5e2f637d4e
Automatic installer.php lang files by installer_builder (20081206)
2008-12-05 23:39:49 +00:00
tjhunt
3330322360
quiz settings: MDL-16781 Avoid concatenating and calling strtolower on language strings.
2008-12-05 04:20:07 +00:00
moodlerobot
dc1e4157ea
Automatic installer.php lang files by installer_builder (20081205)
2008-12-04 23:39:56 +00:00
pichetp
58c748b355
MDL-17524 Merging from HEAD
...
Deleting a calculated question delete datasetdefinitions shared by other question
2008-12-04 17:04:10 +00:00
moodlerobot
da24670d05
Automatic installer.php lang files by installer_builder (20081204)
2008-12-03 18:18:18 +00:00
ericmerrill
29249d96dc
weblib: MDL-16293: background-color attribute stripped from html. Adding 'background-color' attribute to $ALLOWED_PROTOCOLS array so kses doesn't drop it.
...
Including:
weblib: MDL-15963: Backporting the addition of font-family and text-decoration while i'm here for consistency.
2008-12-03 16:54:08 +00:00
tjhunt
3ac1efe7fc
fix notices: MDL-15974 Some systems that were upgraded have nullable columns, leading to notices
...
A new install has NOT NULL DEFAULT 0.
2008-11-27 05:11:53 +00:00
tjhunt
2207d52d32
quiz item analysis report: MDL-13427 <br> tags in the headers of some columns.
2008-11-27 04:47:58 +00:00
moodlerobot
772b9415e9
Automatic installer.php lang files by installer_builder (20081126)
2008-11-26 01:45:51 +00:00
moodlerobot
35d34756ce
Automatic installer.php lang files by installer_builder (20081123)
2008-11-23 01:38:29 +00:00
moodlerobot
75f9079d78
Automatic installer.php lang files by installer_builder (20081122)
2008-11-22 01:51:18 +00:00
skodak
6f147be325
MDL-17236 html block: proper cleanup of html; backported from HEAD
2008-11-19 16:47:58 +00:00
skodak
d4e98fcfbd
MDL-17274 security: register globals not supported- now we are preventing upgrades and installs too; backported from HEAD
2008-11-19 09:49:22 +00:00
moodlerobot
7d145624ae
Automatic installer.php lang files by installer_builder (20081119)
2008-11-19 01:55:07 +00:00
skodak
9e8f86699e
MDL-17143 fixed undefined $userid, in any case moodle/user:editprofile is not usable - so this will not probably work anyway
2008-11-18 21:09:57 +00:00
dongsheng
32a73b3b64
"MDL-17143, remove debug code"
2008-11-18 02:21:29 +00:00
moodlerobot
6bdd68053a
Automatic installer.php lang files by installer_builder (20081118)
2008-11-18 01:40:56 +00:00
stronk7
228835fecf
MDL-17227 forum: seekey-ize forum prune (split). Backported from HEAD
2008-11-16 22:49:10 +00:00
moodlerobot
0d1060f4bb
Automatic installer.php lang files by installer_builder (20081115)
2008-11-15 01:39:50 +00:00
stronk7
df09bb83a1
MDL-17227 forum: add sesskey to post/discussion deletion. Backported from HEAD
2008-11-14 09:01:32 +00:00
moodlerobot
9173d81bbc
Automatic installer.php lang files by installer_builder (20081114)
2008-11-14 01:46:58 +00:00
wildgirl
702498fae7
profilesforenrolledusersonly setting: MDL-17143 lang string rewording
2008-11-13 22:21:26 +00:00
moodlerobot
45cdeb0565
Automatic installer.php lang files by installer_builder (20081113)
2008-11-13 01:43:45 +00:00
dongsheng
0750703375
MDL-17143
...
don't display the user description at all when user isn't enrolled in any courses, backported to 1.7
2008-11-12 03:50:09 +00:00
moodlerobot
e37e029ff2
Automatic installer.php lang files by installer_builder (20081112)
2008-11-12 01:56:30 +00:00
moodlerobot
1b93204ec8
Automatic installer.php lang files by installer_builder (20081111)
2008-11-11 01:53:11 +00:00
moodlerobot
8d1b8b2ab4
Automatic installer.php lang files by installer_builder (20081104)
2008-11-04 01:50:37 +00:00
skodak
7c09e5d507
MDL-17110 snoopy: imported new version 1.2.4; backported from HEAD
2008-11-03 07:59:06 +00:00
moodlerobot
ca8123897e
Automatic installer.php lang files by installer_builder (20081102)
2008-11-02 01:33:49 +00:00
gbateson
501cdba3a7
use "md5key" as secondary key on hotpot_strings table; allow for non-unique secondary keys on hotpot tables (can happen on hotpot_strings)
2008-10-30 06:21:13 +00:00
moodlerobot
c85e70f08c
Automatic installer.php lang files by installer_builder (20081027)
2008-10-27 01:31:45 +00:00
tjhunt
4ca712272c
moodlelib iprange checks: MDL-16986 If the user makes a mistake and types something like 172.16.1.143/148, with something greater than 32 after the slash, treat it as /32.
2008-10-24 02:54:03 +00:00
fmarier
2631a4f3e9
moodlelib/welcome message: MDL-16947 use the userid that was passed in for the profile URL
2008-10-22 02:46:20 +00:00
stronk7
780a3237ac
Bumped to 1.7.6+ (before weekly build)
2008-10-21 23:05:39 +00:00
moodlerobot
2885b6246c
Automatic installer.php lang files by installer_builder (20081019)
2008-10-19 01:32:26 +00:00
moodlerobot
e045c25873
Bumped to 1.7.6
2008-10-15 16:52:54 +00:00
moodlerobot
9fb9a19634
Automatic installer.php lang files by installer_builder (20081013)
2008-10-13 01:38:57 +00:00
moodlerobot
ac45cb6868
Automatic installer.php lang files by installer_builder (20081009)
2008-10-09 01:41:27 +00:00
moodlerobot
d6398c1aa7
Automatic installer.php lang files by installer_builder (20081005)
2008-10-05 01:30:06 +00:00
tjhunt
b959c6e367
MDL-16720 The edit icon in the quiz preview screen pops up the edit form in a window that is too small
2008-09-28 08:59:57 +00:00
moodlerobot
c2a020b29c
Automatic installer.php lang files by installer_builder (20080928)
2008-09-28 01:33:58 +00:00
stronk7
979078fd7e
Backporting MDL-15896 (tabs and recent activity) from HEAD
2008-09-26 09:50:11 +00:00
stronk7
5cb0b4571b
Protect message settings with sesskey. MDL-16688 ; backported from 18_STABLE
2008-09-25 22:38:19 +00:00
moodlerobot
3e91a8c1c6
Automatic installer.php lang files by installer_builder (20080925)
2008-09-25 01:35:03 +00:00
moodlerobot
947398763d
Automatic installer.php lang files by installer_builder (20080924)
2008-09-24 01:37:34 +00:00
moodlerobot
eb09bdfc8f
Automatic installer.php lang files by installer_builder (20080922)
2008-09-22 01:27:13 +00:00
moodlerobot
80f906ef5b
Automatic installer.php lang files by installer_builder (20080921)
2008-09-21 01:29:12 +00:00
pichetp
df5fd088ce
MDL-15358 negative data between () bad } closing...
2008-09-20 20:29:54 +00:00
pichetp
a7b41a3858
MDL-15358 negative data between () merge from 1.9 as this file is no more in HEAD
2008-09-20 20:16:55 +00:00
moodlerobot
8729b26e66
Automatic installer.php lang files by installer_builder (20080902)
2008-09-02 01:33:13 +00:00
tjhunt
4c01616d7e
MDL-15655 - address_in_subnet does not work on 64 bit architectures. Also, we found some other issues with this funtion while diagnosing the problem.
2008-09-01 04:17:01 +00:00
moodlerobot
d7a113ccf6
Automatic installer.php lang files by installer_builder (20080829)
2008-08-29 01:33:21 +00:00
tjhunt
16cebcc326
MDL-16243 Implement a health-centre check that the question categories are arranged properly in tree structures.
2008-08-28 05:06:20 +00:00
moodlerobot
01642a7176
Automatic installer.php lang files by installer_builder (20080828)
2008-08-28 01:36:24 +00:00
moodlerobot
fb24b67aa0
Automatic installer.php lang files by installer_builder (20080825)
2008-08-25 01:27:15 +00:00
moodlerobot
faf39f00fc
Automatic installer.php lang files by installer_builder (20080824)
2008-08-24 01:25:34 +00:00
moodlerobot
eeb562d148
Automatic installer.php lang files by installer_builder (20080823)
2008-08-23 01:27:00 +00:00
moodlerobot
b3c5d55d51
Automatic installer.php lang files by installer_builder (20080822)
2008-08-22 01:31:55 +00:00
moodlerobot
e0c4317044
Automatic installer.php lang files by installer_builder (20080821)
2008-08-21 01:32:09 +00:00
tjhunt
2abc0d001d
MDL-15605 merge problem.
2008-08-20 08:56:38 +00:00
tjhunt
f285be0eaf
MDL-15605 Convert question bank consistency checks described in MoodleDocs ( http://docs.moodle.org/en/Development:Question_bank_consistency_check ) to health centre checks.
2008-08-20 08:52:47 +00:00
tjhunt
55954755f4
MDL-16141 Need an sql_position function to do POSITION(needle IN haystack) on crappy databases. Backported from HEAD.
2008-08-20 08:51:03 +00:00
moodlerobot
cdeb1274c4
Automatic installer.php lang files by installer_builder (20080819)
2008-08-19 01:29:50 +00:00
moodlerobot
d658317313
Automatic installer.php lang files by installer_builder (20080818)
2008-08-18 01:26:22 +00:00
moodlerobot
297c72fd2f
Automatic installer.php lang files by installer_builder (20080817)
2008-08-17 01:22:23 +00:00
tjhunt
ef40013c24
MDL-16056 - Aiken format should treat input as plain text, and so escape HTML special characters.
2008-08-15 03:13:31 +00:00
tjhunt
9ed313978a
MDL-16056 - Backporting comment changes before merging the acutal fix.
2008-08-15 03:08:12 +00:00
tjhunt
2caa535789
Oops! RISK_DATALOSS did not exist before 1.9.
2008-08-14 02:09:19 +00:00
tjhunt
e38099e42d
MDL-15819 - Review the RISK_XXX flags on all quiz and question capabilites.
2008-08-13 07:05:27 +00:00
moodlerobot
579ef29363
Automatic installer.php lang files by installer_builder (20080812)
2008-08-12 01:34:25 +00:00
moodlerobot
321cc00de4
Automatic installer.php lang files by installer_builder (20080811)
2008-08-11 01:05:52 +00:00
moodlerobot
66a1817c9c
Automatic installer.php lang files by installer_builder (20080809)
2008-08-09 01:26:18 +00:00
moodlerobot
0561809c5d
Automatic installer.php lang files by installer_builder (20080808)
2008-08-08 01:30:55 +00:00
moodlerobot
863b73aff3
Automatic installer.php lang files by installer_builder (20080807)
2008-08-07 01:33:51 +00:00
moodlerobot
14439b54d0
Automatic installer.php lang files by installer_builder (20080806)
2008-08-06 01:32:30 +00:00
moodlerobot
ecbd19b23a
Automatic installer.php lang files by installer_builder (20080805)
2008-08-05 01:27:57 +00:00
moodlerobot
bf5ee9d9d6
Automatic installer.php lang files by installer_builder (20080802)
2008-08-02 01:26:52 +00:00
skodak
00e1dce31e
MDL-15410 Require PHP 5.2.4 instead of 5.2.0 in HEAD because PHP 5.2.0 has many known problems :-(
2008-08-01 10:10:09 +00:00
moodlerobot
a7f0a47456
Automatic installer.php lang files by installer_builder (20080728)
2008-07-28 01:28:26 +00:00
skodak
3e4fae4d8d
MDL-15823 format_string() improvements; merged from MOODLE_19_STABLE
2008-07-25 22:45:46 +00:00
moodlerobot
84ca389754
Automatic installer.php lang files by installer_builder (20080723)
2008-07-23 01:27:23 +00:00
moodlerobot
4874505398
Automatic installer.php lang files by installer_builder (20080722)
2008-07-22 01:35:06 +00:00
moodlerobot
c1dcb5d292
Automatic installer.php lang files by installer_builder (20080721)
2008-07-21 01:22:48 +00:00
moodlerobot
ce4c57764c
Added autogenerated bn_utf8 installer file.
2008-07-20 21:21:35 +00:00
moodlerobot
d46a3b303d
file installer.php was added on branch MOODLE_17_STABLE on 2008-07-20 21:21:35 +0000
2008-07-20 21:20:08 +00:00
moodlerobot
66ef299f5e
Automatic installer.php lang files by installer_builder (20080719)
2008-07-19 01:23:49 +00:00
moodler
603cf45886
MDL-6850 Removed apparent-size from du
2008-07-18 06:38:32 +00:00
gbateson
81a74ce130
improvements to generation of html from xml:
...
JCloze: set textbox size allowing for minimum gap size setting and longest answer;
JMatch: allow for duplicates and distractors in RHS items;
JQuiz: set textbox size allowing for longest answer, and use textarea if answer longer than 29 chars;
2008-07-13 12:16:31 +00:00
moodler
bf1e6b85f5
BUmped post release
2008-07-11 05:45:41 +00:00
moodler
7055e88f97
Bumped to release
2008-07-11 05:29:10 +00:00
dongsheng
7d8c97dcc4
MDL-14932, improve accessibility in role assigning page.
2008-07-11 04:56:38 +00:00
skodak
2d60f585aa
MDL-15450 CSRF prevention; merged from MOODLE_16_STABLE
2008-07-08 13:05:09 +00:00
moodlerobot
95416b9889
Automatic installer.php lang files by installer_builder (20080708)
2008-07-08 01:27:21 +00:00
skodak
6649c902cd
MDL-15516 prevent access to deleted profiles; backported from HEAD
2008-07-05 14:59:44 +00:00
moodlerobot
2fd1b1a9a3
Automatic installer.php lang files by installer_builder (20080705)
2008-07-05 01:28:32 +00:00
arborrow
1e5575ae9e
MDL-7571 - shuffles 'mode' before displaying, merged from 18STABLE
2008-07-04 22:24:40 +00:00
moodlerobot
41f7e89fb6
Automatic installer.php lang files by installer_builder (20080704)
2008-07-04 01:25:22 +00:00
gbateson
e6da58fb3c
MDL-15184: fix sql injection vulnerability
2008-07-01 10:47:40 +00:00
moodlerobot
81590f6553
Automatic installer.php lang files by installer_builder (20080701)
2008-07-01 01:23:06 +00:00
moodlerobot
30c6a88aee
Automatic installer.php lang files by installer_builder (20080630)
2008-06-30 01:27:27 +00:00
scyrma
cd4a340157
MDL-15392: fix output sanitization.
2008-06-27 03:35:44 +00:00
moodlerobot
7446f0d0ff
Automatic installer.php lang files by installer_builder (20080626)
2008-06-26 01:29:34 +00:00
Francois Marier
478503ba0f
Fix drift between CVS and git (deleted files only)
2008-06-24 01:26:46 +00:00
moodlerobot
ec573b8969
Automatic installer.php lang files by installer_builder (20080624)
2008-06-24 01:26:46 +00:00
tjhunt
886ef74dff
MDL-15372 - Links in course summary and section summaries not recoded on restore. Petr thinks it is a bad idea to recode links in course summaries, becuase he thinks there should not be links there at all, but I disagree, and as long as links are there, and we have the code to stop them breaking on backup and restore, we should fix the bug.
2008-06-23 17:02:24 +00:00
moodlerobot
860a2858f4
Automatic installer.php lang files by installer_builder (20080623)
2008-06-23 01:23:38 +00:00
moodlerobot
06ecd61c8b
Automatic installer.php lang files by installer_builder (20080621)
2008-06-21 01:26:25 +00:00
gbateson
88010c44ce
replace get_jmatch_items by set_jmatch_items
2008-06-20 22:26:51 +00:00
gbateson
fc7de9bb75
allow <img> and other tags in LHS side of JMatch in "v6" output format
2008-06-19 05:53:30 +00:00
tjhunt
70484742a9
MDL-15290 - Missing question types not handled properly on backup.
2008-06-18 14:29:38 +00:00
moodlerobot
52b6a471c5
Automatic installer.php lang files by installer_builder (20080616)
2008-06-16 01:28:20 +00:00
moodlerobot
e7288e1e7e
Automatic installer.php lang files by installer_builder (20080612)
2008-06-12 01:40:47 +00:00
moodlerobot
e487fa20dc
Automatic installer.php lang files by installer_builder (20080610)
2008-06-10 01:38:31 +00:00
gbateson
92bb71dcec
fix conversion of relative URLs in Hot Potatoes "<=" and "=>" buttons on sites where slasharguments as disabled (Site Admin -> Server -> HTTP -> Use slash arguments)
2008-06-07 01:40:01 +00:00
moodlerobot
21a6060f3d
Automatic installer.php lang files by installer_builder (20080531)
2008-05-31 01:36:23 +00:00
mchurch
3a5677d49c
MDL-15035 - Changed error message to more meaningful one.
2008-05-28 14:57:24 +00:00
moodlerobot
6494eb8fe0
Automatic installer.php lang files by installer_builder (20080523)
2008-05-23 01:39:47 +00:00
moodlerobot
1b8dbf5466
Automatic installer.php lang files by installer_builder (20080522)
2008-05-22 01:40:41 +00:00
moodlerobot
aafb64be36
Automatic installer.php lang files by installer_builder (20080521)
2008-05-21 01:44:01 +00:00
tjhunt
dfd00d9d32
MDL-14928 - Adding random questions from a category with an apostrophe in the name does not work. Stupid bloody addslashes. Roll on dmllib 2.0.
2008-05-20 17:09:42 +00:00
moodlerobot
0c76f8bc3a
Automatic installer.php lang files by installer_builder (20080520)
2008-05-20 01:35:47 +00:00
moodlerobot
e1ecf0a918
Automatic installer.php lang files by installer_builder (20080517)
2008-05-17 01:37:20 +00:00
stronk7
4f75c6c949
Avoid $_REQUEST["id"] usage. MDL-14806 ; backported from 19_STABLE
2008-05-13 01:52:25 +00:00
tjhunt
d02317b6da
MDL-14804 - question_list_instances is broken - It does not include the each modules lib file before doing function_exists($module->name.'_question_list_instances').
2008-05-12 17:29:54 +00:00
tjhunt
9ba3aacb99
MDL-14797 - Error when moving a course to an empty category on Postgres
2008-05-12 10:44:46 +00:00
moodlerobot
fb6099f56d
Automatic installer.php lang files by installer_builder (20080512)
2008-05-12 01:36:50 +00:00
moodlerobot
45e83c7913
New uz installer lang
2008-05-10 02:58:25 +00:00
moodlerobot
895ac595b7
file installer.php was added on branch MOODLE_17_STABLE on 2008-05-10 02:58:25 +0000
2008-05-10 02:57:14 +00:00
tjhunt
34710324e5
MDL-14750 - Multianswer questions get broken by backup and restore becuase question->parent is not recoded properly in the database.
2008-05-09 15:22:45 +00:00
moodlerobot
eed364d080
Automatic installer.php lang files by installer_builder (20080509)
2008-05-09 01:39:33 +00:00
moodlerobot
2422634052
Automatic installer.php lang files by installer_builder (20080508)
2008-05-08 01:37:34 +00:00
tjhunt
4340e07b2c
MDL-5482 - Backup and restore problems for match, random and truefalse question types.
...
All the credit goes to Paulo Matos who carefully worked out and tested this fix, and updated the patch several times over more than a year while I very slowly got around to reviewing it and checking it in.
2008-05-07 12:31:49 +00:00
moodlerobot
468eff4e21
Automatic installer.php lang files by installer_builder (20080504)
2008-05-04 01:44:13 +00:00
moodlerobot
fc74c5674a
New lang supported by installer: cy_utf8
2008-05-04 00:45:01 +00:00
moodlerobot
dc8320a6f8
file installer.php was added on branch MOODLE_17_STABLE on 2008-05-04 00:45:01 +0000
2008-05-04 00:42:16 +00:00
moodlerobot
6b7b9ad10c
Automatic installer.php lang files by installer_builder (20080503)
2008-05-03 01:32:40 +00:00
jerome
e18bc77b56
MDL-11382 added a link 'Profil' to the administration block
2008-05-02 06:14:36 +00:00
scyrma
8440f947ca
MDL-8592: Get spellchecking to work over https (backport from 1.9)
2008-05-02 03:38:22 +00:00
moodlerobot
11abfe0569
Automatic installer.php lang files by installer_builder (20080501)
2008-05-01 01:38:01 +00:00
moodlerobot
ad08d64332
Automatic installer.php lang files by installer_builder (20080430)
2008-04-30 01:34:41 +00:00
moodlerobot
f468c0e4c1
Automatic installer.php lang files by installer_builder (20080429)
2008-04-29 01:36:36 +00:00
moodlerobot
1c8e6588aa
Automatic installer.php lang files by installer_builder (20080425)
2008-04-25 01:35:38 +00:00
tjhunt
443fd25436
MDL-13982 - Performance problem when deleting questions from large question banks. Thanks to Michael Spall for this fix.
2008-04-23 13:44:29 +00:00
tjhunt
3c956dbd60
MDL-11978 - Backport admin notification from MDL-11061 about bogus $CFG->wwwroot from 1.9 to 1.8 and 1.7.
2008-04-23 10:38:13 +00:00
tjhunt
bdda301ebf
MDL-14352 - General feedback for descriptions not showing up on the review page, as it should.
2008-04-22 16:17:03 +00:00
moodler
fbdc843096
MDL-11142 Roles upgrade was losing timestart and timeend for teachers and students :-(
2008-04-18 03:28:27 +00:00
gbateson
7f3c24f40b
removed setting of timeclose and timeopen when course format == "weeks"
2008-04-18 00:58:07 +00:00
moodlerobot
5834d7813a
Automatic installer.php lang files by installer_builder (20080417)
2008-04-17 01:32:05 +00:00
dongsheng
ca0908b961
check.gif should keep in this mod
2008-04-15 03:37:26 +00:00
dongsheng
d40e15ee7a
MDL-8188, moved from mod/glossary/check.gif
2008-04-15 03:33:05 +00:00
dongsheng
207c5454b9
MDL-8188, move check.gif to pix/i/approve.gif
2008-04-15 03:31:56 +00:00
moodlerobot
0875ca82c2
Automatic installer.php lang files by installer_builder (20080414)
2008-04-14 01:36:45 +00:00
moodlerobot
a1a85b1779
Automatic installer.php lang files by installer_builder (20080413)
2008-04-13 01:30:30 +00:00
moodlerobot
f15a666f64
Automatic installer.php lang files by installer_builder (20080412)
2008-04-12 01:29:50 +00:00
gbateson
1b81ef9090
do not show hidden HotPots in mod/hotpot/index.php
2008-04-11 05:14:10 +00:00
moodlerobot
4b0ce9f3b7
Automatic installer.php lang files by installer_builder (20080408)
2008-04-08 01:36:50 +00:00
stronk7
cca8a446da
Fix wrong conversion from '0' to '' in oracle_diry_hack. MDL-14182 ; backported from HEAD
2008-04-04 11:28:04 +00:00
moodlerobot
db3568deb4
Automatic installer.php lang files by installer_builder (20080404)
2008-04-04 01:18:42 +00:00
moodlerobot
2240b6c451
Automatic installer.php lang files by installer_builder (20080326)
2008-03-26 03:19:28 +00:00
moodlerobot
ebe6a497eb
Automatic installer.php lang files by installer_builder (20080325)
2008-03-25 03:16:44 +00:00
moodlerobot
b7b280b44c
Automatic installer.php lang files by installer_builder (20080315)
2008-03-15 03:15:41 +00:00
moodlerobot
7da25cbffe
Automatic installer.php lang files by installer_builder (20080314)
2008-03-14 03:16:01 +00:00
nicolasconnault
817a4d47b1
MDL-13919 Fixed undefined variable. Merging from MOODLE_16_STABLE
2008-03-13 14:01:37 +00:00
moodlerobot
9609d14e81
Automatic installer.php lang files by installer_builder (20080312)
2008-03-12 03:25:38 +00:00
ethem
13b8d2e6eb
Race condition in cron for Scheduled-Capture (very very big sites and order review enabled only).
...
In one cron, 250-500 orders may be processed (based on 5 minutes).
If an admin sets cron time up smaller than 5 minutes and
250-500> new transactions are made after last cron executed, it can be blocked.
Authorize cron sets up an_lastcron every time when admin/cron.php executes.
This must be set up after blocking check code.
As result, if pending orders aren't accepted with in 30 days at payment management page, they expired and users cannot enrol.
When an admin enabled order review, he is guaranteed 'Payment managers accept/deny transactions manually'.
Scheduled-Capture is designed for forgotten orders only ;)
Backported from HEAD.
2008-03-11 08:38:04 +00:00
moodlerobot
9228301b3f
Automatic installer.php lang files by installer_builder (20080311)
2008-03-11 03:25:24 +00:00
pichetp
b6630ed3dc
MDL-12503 Loguniform merging from head
2008-03-10 21:51:37 +00:00
andreabix
d0f3b3f6fc
Fixed [MDL-12830]
2008-03-10 15:58:03 +00:00
gbateson
42e5c3de66
add "mp3" (used by DewPlayer) to the list of query string parameters to search for when converting relative urls to absolute urls
2008-03-10 01:36:13 +00:00
moodlerobot
70efd67049
Automatic installer.php lang files by installer_builder (20080308)
2008-03-08 03:32:19 +00:00
moodlerobot
7e836fe858
Automatic installer.php lang files by installer_builder (20080307)
2008-03-07 03:31:48 +00:00
moodlerobot
328f98af9b
Automatic installer.php lang files by installer_builder (20080304)
2008-03-04 03:41:17 +00:00
skodak
5a045ae328
MDL-13705
2008-03-01 13:12:40 +00:00
moodlerobot
a45e386284
Automatic installer.php lang files by installer_builder (20080229)
2008-02-29 03:29:15 +00:00
skodak
e5375362ac
MDL-13705
2008-02-28 21:19:15 +00:00
skodak
052547f2e7
MDL-13705
2008-02-28 21:02:41 +00:00
moodlerobot
ff29df4190
Automatic installer.php lang files by installer_builder (20080228)
2008-02-28 03:33:49 +00:00
moodlerobot
b02d7ca8fd
Automatic installer.php lang files by installer_builder (20080227)
2008-02-27 03:35:07 +00:00
moodlerobot
1a38880ad2
Automatic installer.php lang files by installer_builder (20080223)
2008-02-23 03:20:48 +00:00
moodlerobot
03ccee2431
Automatic installer.php lang files by installer_builder (20080222)
2008-02-22 03:31:11 +00:00
tjhunt
f4f3ac35a5
MDL-13551 - preview question capability wrongly denied to student who has moodle/question:manage capability - This was already fixed in 1.9.
2008-02-21 22:34:47 +00:00
moodler
02bbdb1a05
MDLSITE-359 FIxed bad installer strings
2008-02-21 05:54:45 +00:00
moodlerobot
b055ae802b
Automatic installer.php lang files by installer_builder (20080221)
2008-02-21 03:34:10 +00:00
moodlerobot
e3ce6d9434
Automatic installer.php lang files by installer_builder (20080220)
2008-02-20 03:30:26 +00:00
moodlerobot
ae933e4f1f
Automatic installer.php lang files by installer_builder (20080218)
2008-02-18 03:28:46 +00:00
moodlerobot
0b920406c8
Automatic installer.php lang files by installer_builder (20080215)
2008-02-15 03:32:11 +00:00
ethem
d1620b4c11
Moved libraries to index.php
2008-02-11 15:25:45 +00:00
ethem
3abe79ff52
Moved libraries to index.php
2008-02-11 15:18:48 +00:00
moodlerobot
7614a54d59
Automatic installer.php lang files by installer_builder (20080209)
2008-02-09 03:27:12 +00:00
moodlerobot
c617406e19
Automatic installer.php lang files by installer_builder (20080208)
2008-02-08 03:23:10 +00:00
ethem
58d2845b5c
Cron handles all expired unenrolments. It is time to use own enrolment method when calling funcs enrol_into_course, role_assign.
...
Zend Studio Warning: Assignment in condition (line XX), Solved, one more ()
2008-02-07 16:03:48 +00:00
moodler
2bff64d017
Fix subject lines and corrupted emails from messages MDL-13364 (merged)
2008-02-07 05:20:57 +00:00
gbateson
678165c2f5
MDL-13328 correct the counting of attempts when clickreporting has been enabled
2008-02-07 04:18:32 +00:00
moodlerobot
2b298ce72c
Added lang
2008-02-07 03:29:59 +00:00
moodlerobot
9a3bb4366c
Automatic installer.php lang files by installer_builder (20080207)
2008-02-07 03:19:49 +00:00
nicolasconnault
85ca3686cb
MDL-12158 Applied Matt's patch, merging from 1.6
2008-02-05 10:38:32 +00:00
gbateson
84620a0041
MDL-10451 remove extraneous closing </b> tag from lang/en_utf8/help/hotpot/outputformat.html
2008-02-05 04:21:58 +00:00
gbateson
95fcbce2a1
MDL-13048 fix undefined course id when importing a Hot Potatoes quiz into the Lesson module
2008-02-05 04:09:16 +00:00
scyrma
40777e9fd0
MDL-13060 - removing old entries fro VA and CD
2008-02-04 00:48:28 +00:00
moodler
26c2a9b587
Automatic installer.php lang files by installer_builder (20080203)
2008-02-03 03:29:35 +00:00
moodler
68d87c70d4
Automatic installer.php lang files by installer_builder (20080202)
2008-02-02 03:38:19 +00:00
moodler
da837fdb78
Automatic installer.php lang files by installer_builder (20080201)
2008-02-01 03:32:41 +00:00
gbateson
162e13cc89
fix for MDL-13174 : replace calls to html_entity_decode() with hotpot_charcode_to_utf8() because html_entity_decode is broken in PHP 4
2008-01-31 07:25:27 +00:00
moodler
59d4af490e
Automatic installer.php lang files by installer_builder (20080131)
2008-01-31 03:38:43 +00:00
tjhunt
7e555c8958
MDL-13110 - Manually grading random questions does not work. Fix thanks to Ken Burres.
2008-01-30 18:18:40 +00:00
mchurch
becdc870ed
MDL-13252 Fix context to always use course context, rather than instance->page.
2008-01-30 16:54:38 +00:00
mchurch
ebf2deff6a
MDL-13252 Fix context to always use course context, rather than instance->page.
2008-01-30 16:48:09 +00:00
scyrma
75407fe763
Imported and replaced country list to fix MDL-13060. The new list is the exact ISO list. Note that an official list also exists in French, but we will need to
...
do translations to other languages. This commit also includes the restorelib upgrade path.
2008-01-30 07:42:13 +00:00
moodler
7c437a57e0
Automatic installer.php lang files by installer_builder (20080130)
2008-01-30 03:35:01 +00:00
scyrma
a8a80afccd
Upgrade path for MDL-13060.
2008-01-29 05:48:53 +00:00
moodler
23c58c6375
Automatic installer.php lang files by installer_builder (20080129)
2008-01-29 03:30:45 +00:00
moodler
8d45fcc505
Merged pdf php5 fix from MDL-13207
2008-01-28 05:28:54 +00:00
moodler
70e1cd76c8
Automatic installer.php lang files by installer_builder (20080128)
2008-01-28 03:34:32 +00:00
gbateson
79c57d1b99
fix for MDL-13173: quotes in HotPot activity name
2008-01-26 08:26:17 +00:00
moodler
70c7e67dcb
Automatic installer.php lang files by installer_builder (20080126)
2008-01-26 03:26:40 +00:00
tjhunt
ff073582cf
MDL-13096 - Student can view all text for all questions in a course.
2008-01-24 15:26:56 +00:00
moodler
1d3318d93f
Automatic installer.php lang files by installer_builder (20080124)
2008-01-24 04:00:24 +00:00
moodler
39ca046247
Automatic installer.php lang files by installer_builder (20080123)
2008-01-23 03:38:33 +00:00
moodler
fb0d5a229e
Automatic installer.php lang files by installer_builder (20080122)
2008-01-22 03:32:22 +00:00
moodler
0ff0cbe326
Automatic installer.php lang files by installer_builder (20080121)
2008-01-21 03:31:48 +00:00
moodler
cdae66cbad
Automatic installer.php lang files by installer_builder (20080120)
2008-01-20 03:29:49 +00:00
moodler
f639d4fdae
Automatic installer.php lang files by installer_builder (20080118)
2008-01-18 03:34:04 +00:00
nicolasconnault
85c62f1c93
MDL-4218 Added require_once deprecatedlib.php
2008-01-17 08:45:57 +00:00
nicolasconnault
a0f6fa7987
MDL-4218 Disabling the check for admin dir
2008-01-17 08:09:52 +00:00
nicolasconnault
4a1cbc606d
MDL-4218 Disabling the check for web root URL
2008-01-17 07:48:21 +00:00
moodler
5c457d48e9
Automatic installer.php lang files by installer_builder (20080117)
2008-01-17 03:34:47 +00:00
moodler
509f1f07a9
Automatic installer.php lang files by installer_builder (20080116)
2008-01-16 03:31:39 +00:00
Martin Langhoff
8885b483cb
cvsimport fixups - binary
2008-01-14 08:54:34 +00:00
Martin Langhoff
773242671f
cvsimport fixups
2008-01-14 08:54:34 +00:00
moodler
47cc17f258
Moved to + after release
2008-01-14 08:54:34 +00:00
moodler
6450b75034
Automatic installer.php lang files by installer_builder (20080114)
2008-01-14 03:45:36 +00:00
poltawski
e4cfa65450
MDL-8269 - stats wasn't paying attention to run time settings as the strtotime
...
arguments were the wrong way round. Thanks to Mark Nielsen
backported from MOODLE_19_STABLE
2008-01-13 20:07:06 +00:00
moodler
3b798d4e6c
Automatic installer.php lang files by installer_builder (20080113)
2008-01-13 03:28:04 +00:00
skodak
6253ee1ef2
MDL-12914 Register globals trouble; backported from MOODLE_19_STABLE
2008-01-11 23:25:41 +00:00
moodler
cda4480961
Bump to 1.7.4 release
2008-01-11 14:42:09 +00:00
moodler
94fdd21d38
Automatic installer.php lang files by installer_builder (20080111)
2008-01-11 03:33:00 +00:00
moodler
77aafcbbfb
Automatic installer.php lang files by installer_builder (20080110)
2008-01-10 03:31:20 +00:00
poltawski
137c04383f
MDL-12889 - fix bad invalid capability check
...
backported from MOODLE_18_STABLE
2008-01-09 15:44:45 +00:00
arborrow
00a2ce3bf9
MDL-12889 - uncommitting previous change - since grade:viewall is new to 1.9 (my bad)
2008-01-09 15:18:44 +00:00
arborrow
a789bed6ef
MDL-12889 - bad capability check [thanks Tim!] in assignment recent activity report
...
merged from MOODLE_19_STABLE
2008-01-09 15:09:59 +00:00
moodler
897e6a3507
Automatic installer.php lang files by installer_builder (20080108)
2008-01-08 03:31:18 +00:00
moodler
a49d9fe97f
Automatic installer.php lang files by installer_builder (20080107)
2008-01-07 03:28:44 +00:00
moodler
ec5e9fc647
Automatic installer.php lang files by installer_builder (20080106)
2008-01-06 03:18:49 +00:00
iarenaza
4abc7c0630
MDL-10921 Fix backport of patch to 1.7.x (was using the new plugin settings syntax).
...
Thanks to Patrick Pollet for pointing this out and providing a fix.
2008-01-05 14:33:55 +00:00
moodler
528ddea1b3
Automatic installer.php lang files by installer_builder (20080104)
2008-01-04 03:25:21 +00:00
moodler
a9608e5795
Automatic installer.php lang files by installer_builder (20080103)
2008-01-03 03:17:47 +00:00
skodak
e8b2de8d18
MDL-12793 PARAM_HOST incorrect cleaning; backported from MOODLE_19_STABLE
2008-01-01 17:27:14 +00:00
stronk7
abc597e27b
Better behaviour for "-" course searches under MSSQL and Oracle. MDL-7312
2008-01-01 11:28:19 +00:00
moodler
296f1fc6c3
Automatic installer.php lang files by installer_builder (20080101)
2008-01-01 03:09:25 +00:00
moodler
ccf77fbe00
Automatic installer.php lang files by installer_builder (20071231)
2007-12-31 03:13:19 +00:00
moodler
a5db1182c4
Automatic installer.php lang files by installer_builder (20071230)
2007-12-30 03:10:18 +00:00
moodler
ce4da52bb8
Automatic installer.php lang files by installer_builder (20071229)
2007-12-29 03:11:44 +00:00
iarenaza
2f2dafc16a
MDL-12323 MDL-4061 Don't connect to the LDAP server if update external is not set for any field.
...
Backported from MOODLE_18_STABLE.
2007-12-28 23:15:16 +00:00
stronk7
e21492da15
Prevent race condition in event creation. MDL-5956.
...
Credit goes to Penny, Luke and Martin @ Catalyst.
Merged from MOODLE_16_STABLE
2007-12-28 18:37:50 +00:00
moodler
34ca70feba
Automatic installer.php lang files by installer_builder (20071228)
2007-12-28 03:28:21 +00:00
moodler
c83adc965f
Automatic installer.php lang files by installer_builder (20071225)
2007-12-25 03:12:06 +00:00
moodler
d5c871bbd0
Automatic installer.php lang files by installer_builder (20071224)
2007-12-24 03:15:25 +00:00
moodler
2bbe9bcb1c
Automatic installer.php lang files by installer_builder (20071221)
2007-12-21 03:18:33 +00:00
tjhunt
3e2d9e9567
MDL-12635 - Manual grading report does not check capabilites - also, only show the tabs for the reports people can access. Backported from MOODLE_19_STABLE.
2007-12-18 16:12:36 +00:00
moodler
40beb0f097
Automatic installer.php lang files by installer_builder (20071218)
2007-12-18 03:21:04 +00:00
tjhunt
1bc05922bc
Fix Javascript error from essay questions on the review page.
2007-12-12 18:10:46 +00:00
tjhunt
fb18d9cab7
MDL-12542 - backup_todb not called on restore on date before it is inserted into mdl_user. This would cause a backup from a pre 1.7 site (or a pre 1.7 that has been upgraded to 1.9) to a 1.9 fresh install, to fail sometimes. Backported from MOODLE_19_STABLE.
2007-12-11 15:55:38 +00:00
moodler
4520a06ef1
Automatic installer.php lang files by installer_builder (20071206)
2007-12-06 05:10:40 +00:00
moodler
3514c326aa
Automatic installer.php lang files by installer_builder (20071204)
2007-12-04 05:17:07 +00:00
fmarier
93bb63f06f
ddllib: Mark table_column() as deprecated
...
Signed-off-by: Eloy Lafuente
2007-12-03 23:14:47 +00:00
moodler
8d43fd582f
New installer files added - stronk7
...
Backported from HEAD
2007-11-29 17:01:25 +00:00
moodler
5ce3dfb28e
file installer.php was added on branch MOODLE_17_STABLE on 2007-11-29 17:01:25 +0000
2007-11-29 16:59:26 +00:00
moodler
e76d70aaef
Automatic installer.php lang files by installer_builder (20071129)
2007-11-29 05:54:46 +00:00
moodler
1910bda1d6
Automatic installer.php lang files by installer_builder (20071125)
2007-11-25 03:51:23 +00:00
moodler
8d81931a47
Automatic installer.php lang files by installer_builder (20071123)
2007-11-23 04:56:35 +00:00
ikawhero
f37cb203d8
Reverting previous changes to MOODLE_17_STABLE
...
$configvar is an object so need to work with $configvar-value
2007-11-21 03:07:33 +00:00
moodler
3f5c88c898
Automatic installer.php lang files by installer_builder (20071120)
2007-11-20 05:11:29 +00:00
moodler
a85da4da7e
Automatic installer.php lang files by installer_builder (20071118)
2007-11-18 04:43:01 +00:00
arborrow
0c412f3b3c
MDL-11743 - SHOW LOCAL VARIABLES more accurately returns database character set on some hosts and makes explicit what is normally the default behavior.
2007-11-13 23:52:36 +00:00
gbateson
e0d2d6ec88
replaced use of CFG->dbfamily with CFG->dbtype, because CFG->dbfmaily is only available Moodle 1.8 and later
2007-11-13 03:41:21 +00:00
gbateson
9d9a65e9af
fix for MDL-9713 : use XMLDB functions to create tables when mod/hotpot/db/mysql.sql is not found. This allows upgrade direct from Moodle 1.5 (or earlier) to Moodle 1.8 (or later)
2007-11-12 08:53:09 +00:00
skodak
845df47c11
MFC: MDL-12079 fixed use of clean_param()
2007-11-10 14:52:42 +00:00
fmarier
abe9371c58
Add missing fields when upgrading/installing on Postgres
...
mod/exercise, mod/scorm and question/type/rqp
MDL-12023
2007-11-09 01:21:56 +00:00
moodler
3e79f5f4f9
Automatic installer.php lang files by installer_builder (20071108)
2007-11-08 05:18:45 +00:00
moodler
8fefbc38ad
Simple grammar fix
2007-11-07 07:08:14 +00:00
nicolasconnault
7c534ccd8a
MDL-8853 Applied Ann's Patch
2007-11-06 13:25:34 +00:00
moodler
d8c68f7860
New installer file added to CVS repo.
2007-11-04 17:05:25 +00:00
moodler
2dbe84a629
Automatic installer.php lang files by installer_builder (20071103)
2007-11-03 05:04:03 +00:00
pichetp
9a94ae5494
MDL-11867 setting real null when response is null in calculated question merged from
...
head
2007-11-01 00:40:01 +00:00
moodler
3af6627e64
Automatic installer.php lang files by installer_builder (20071031)
2007-10-31 04:31:57 +00:00
tjhunt
8d9e5477a4
MDL-9375 (and dups) - Each attempt builds on last with multi-page quizzes gives the wrong score on the second attempt. It turns out that this was already fixed in Moodle 1.9 (part of commit 1.115 -> 1.116) so I have just backported the relevant changes. I have tested that this fixes the reported problem. I have not had time to test that it does not break one of the other billion possible combinations of settings possible with the quiz. Code review and testing welcome.
2007-10-30 18:22:21 +00:00
mchurch
0e3dd76c50
Removing the questionnaire language file from main release.
2007-10-29 21:33:08 +00:00
mchurch
0820aedbf7
Removing the questionnaire language file from main release.
2007-10-29 21:04:04 +00:00
tjhunt
ce26bd19ea
MDL-11416 - Support for nonsortable columns in table lib. Backported from MOODLE_19_STABLE so that the fix for MDL-5262 works.
2007-10-29 15:25:05 +00:00
joseph_rezeau
691d35efc2
removed mistakenly committed regexp plugin
2007-10-28 08:38:23 +00:00
joseph_rezeau
a0a1aeb694
committed from 18_stable
2007-10-28 08:30:38 +00:00
moodler
cb1113b7c8
Automatic installer.php lang files by installer_builder (20071028)
2007-10-28 05:09:00 +00:00
moodler
d36088f711
Automatic installer.php lang files by installer_builder (20071023)
2007-10-23 05:07:23 +00:00
tjhunt
40cc3341ad
MDL-11824 - Literal asterisk (\*) in shortanswer question not handled correctly by get_correct_responses + Unit tests. Backported from MOODLE_18_STABLE.
...
Also backported the fix for MDL-11703.
2007-10-22 15:38:10 +00:00
tjhunt
d7414e9068
file testquestiontype.php was added on branch MOODLE_17_STABLE on 2007-10-22 15:38:10 +0000
2007-10-22 15:37:32 +00:00
moodler
f5563d1efd
Automatic installer.php lang files by installer_builder (20071021)
2007-10-21 04:18:27 +00:00
moodler
67e9830697
Automatic installer.php lang files by installer_builder (20071018)
2007-10-18 05:35:42 +00:00
tjhunt
d01b47381b
MDL-5262 - PHP notice when sorting on R% coloumn in the Item analysis report - I adopted the simple solution of stopping people sorting on that column, since it is the same as sorting on rcount, I think. Backported from MOODLE_19_STABLE.
2007-10-16 21:26:46 +00:00
nicolasconnault
c6a10296eb
MDL-10905 iterating properly through readdir()
2007-10-15 05:53:20 +00:00
moodler
3674039ca0
Automatic installer.php lang files by installer_builder (20071015)
2007-10-15 04:28:49 +00:00
gbateson
f0417bf3cb
where the correct responses on a JQuiz multiple choice question all have a score of 0%, the scores will be corrected to 100%
2007-10-15 01:03:30 +00:00
moodler
13e60ec63c
POst 1.73
2007-10-14 08:23:03 +00:00
moodler
07cd3ecabd
1.7.3
2007-10-14 08:22:17 +00:00
moodler
1d68f3cd73
Automatic installer.php lang files by installer_builder (20071011)
2007-10-11 04:15:52 +00:00
iarenaza
23290eea4d
Fix MDL-11632: Multiple files with emtpy lines outside PHP open/close tags
...
There are multiple issues with Moodle files containing empty or blank lines
(lines consisting of white spaces or tabs only) and/or white space before or
after the PHP open and close tags, notably with config.php and theme files.
2007-10-10 21:33:29 +00:00
moodler
f050e82eb6
Automatic installer.php lang files by installer_builder (20071010)
2007-10-10 04:45:55 +00:00
nfreear
8aa669ca72
Fixes MDL-11676, Skip block links are broken in Internet Explorer 6. Merged.
2007-10-09 16:06:59 +00:00
skodak
8abba9e902
MDL-11663 sanitise submitted data when editing users; merged from MOODLE_16_STABLE
2007-10-08 19:57:39 +00:00
gbateson
023dc2c338
added escaping of quotes in TimesUp message, so that apostrophes do not cause Javascript errors
2007-10-08 06:40:37 +00:00
pichetp
11db0ce1ec
checking that there remain $oldwrappedids before deleting them lines 87-..
...
add if(is_array($oldwrappedids) && count($oldwrappedids)){
2007-10-06 20:59:49 +00:00
stronk7
c9379ddbaa
MDL-11597. Backported from HEAD to 17_STABLE
2007-10-04 22:20:54 +00:00
moodler
2bd2bb878d
Automatic installer.php lang files by installer_builder (20071004)
2007-10-04 05:19:09 +00:00
moodler
fe8aad143d
Automatic installer.php lang files by installer_builder (20071003)
2007-10-03 05:13:24 +00:00
whchuang
cae4cdb309
added missing string definition for sectionerror. Fixed MDL-10766
2007-10-03 00:02:37 +00:00
gbateson
8809ff2b35
use new function "hotpot_stripslashes()" instead of PHP's "stripslashes()" to remove slashes after preg_replace with "e" modifier, because when MSSQL Server is installed, PHP's "stripslashes()" does not remove slashes, even if the Moodle database is not MSSQL
2007-09-30 04:18:18 +00:00
toyomoyo
6bea13a914
MDL-11391, grades are not displayed because gradebookroles can not be set
2007-09-27 02:57:44 +00:00
gbateson
0e04dc36c2
change CONTEXT_MODULE to CONTEXT_COURSE in order to fix "Invalid context creation for level 50 instance" error on "mod/hotpot/index.php" caused by get_context_instance(CONTEXT_MODULE, $course->id) in "mod/hotpot/lib.php"
2007-09-26 07:14:33 +00:00
iarenaza
68d924ce8a
MDL-10921 LDAP Auth to Active Directory requires LDAP_OPT_REFERRALS option set; backported from HEAD
2007-09-25 21:05:57 +00:00
skodak
bf5cc256fd
MDL-11413 I hope now it is correct solution; backported from HEAD
2007-09-25 14:06:59 +00:00
nfreear
247958fbe9
MDL-1149 Accessibility: Current week/topic is NOT indicated non-visually, only in styling. Merged.
2007-09-25 12:45:29 +00:00
nfreear
bf4fe92223
MDL-11436 Accessibility: Encapsulate "accesshide" HTML class in function, and use. Merged partial fix - just weblib.
2007-09-25 12:35:37 +00:00
skodak
9bcbf6a743
MDL-11237 raising memory limit for preg_xxxx(), backported from HEAD
2007-09-24 16:35:40 +00:00
skodak
7c84c844f9
MDL-11413 revisited; backported from HEAD
2007-09-24 15:26:58 +00:00
tjhunt
676dbd7285
MDL-10916 - Import and Export of Cloze question misses out "generalfeedback" column.
2007-09-24 14:16:58 +00:00
skodak
81ac2c8630
MDL-11414 fixed handling of log urls (problem reported by Andreas Nolden); backported from HEAD; fixing previous commit :-(
2007-09-23 13:20:36 +00:00
skodak
55f9f1432f
MDL-11414 fixed handling of log urls (problem reported by Andreas Nolden); backported from HEAD
2007-09-23 13:15:26 +00:00
skodak
9f476e5fe2
MDL-11413 improved text cleaning (problem reported by Andreas Nolden); backported from HEAD
2007-09-23 12:29:58 +00:00
skodak
4663bd9f09
MDL-11413 improved text cleaning (problem reported by Andreas Nolden); backported from HEAD
2007-09-23 12:24:39 +00:00
moodler
bde6d304f9
Automatic installer.php lang files by installer_builder (20070920)
2007-09-20 04:29:46 +00:00
iarenaza
764d44c11e
MDL-11299 - Make objectClass string comparison case insensitive.
...
LDAP serves accept attribute names in a case insensitive way, so don't
force the users to use any particular spelling. (backported from HEAD).
2007-09-18 09:18:16 +00:00
moodler
c2c3f6e885
Automatic installer.php lang files by installer_builder (20070918)
2007-09-18 04:27:50 +00:00
stronk7
22f8303fc7
Interlinking from/to data module added. MDL-9576
...
Backported from HEAD
2007-09-17 22:06:12 +00:00
stronk7
b0cfc7cbd5
Now, under quick grading, when new assignment_submissions records are
...
created, we provide a default for data1 and data2 text not null
columns. MDL-11268
2007-09-17 16:57:54 +00:00
moodler
118a639ff3
Automatic installer.php lang files by installer_builder (20070917)
2007-09-17 05:00:46 +00:00
stronk7
f4989ae561
Backported from MOODLE_18_STABLE
...
Show the roll dates option only if the backup course has a start date
(some formats like main page, social..., haven't it and rolling dates
from 0 produces crazy dates. MDL-10125
2007-09-16 17:40:55 +00:00
moodler
4ff82c1505
Automatic installer.php lang files by installer_builder (20070916)
2007-09-16 04:19:16 +00:00
iarenaza
e2a7235da8
Remove additional check when dealing with hidden courses in LDAP enrolment.
...
The check is superfluous and uses an inexistant variable ($type) that
was removed when we switched to role based enrolment.
Fixes MDL-11098 MDL-10282 and MDL-8346. (backported from HEAD)
2007-09-15 21:59:11 +00:00
stronk7
062c59e346
Now using one cross-db solution to be able to
...
simulate the status boolean ins assignment
submissions. MDL-8164 & MDL-10846
Backported from MOODLE_HEAD
2007-09-13 18:01:05 +00:00
tjhunt
3cc55cab9e
MDL-11081 and MDL-11211 - Implement quiz_question_list_instances. The lach of this function was causing a horrible dataloss bug: MDL-11211. Fix thanks to Janne Mikkonen, refined by me. Merged from MOODLE_16_STABLE.
2007-09-13 17:29:02 +00:00
tjhunt
3742f86ac1
Take out duplicate $Id$ CVS tags.
2007-09-10 11:06:12 +00:00
moodler
9a28eacb84
Automatic installer.php lang files by installer_builder (20070908)
2007-09-08 04:02:56 +00:00
moodler
446b5e025c
Automatic installer.php lang files by installer_builder (20070907)
2007-09-07 04:45:11 +00:00
pichetp
5c89371717
Correcting a little error: datesetitem = array(); instead of datasetitem = array();
...
line +-550 $question->dataset[$datasetname]->datasetitem = array();
2007-09-07 02:46:12 +00:00
stronk7
2b27d0a946
Now restoring groups is cross-db (the detection of existing groups)
2007-09-05 18:37:34 +00:00
stronk7
15ef45da52
Repeated fields aren't necessary at all since Moodle 1.7
...
and, in fact, they throw error if using limits! MDL-9592
2007-09-05 15:25:33 +00:00
skodak
3444317011
MDL-11053 Course object not escaped before insert - patch by Aaron C Spike; backported from HEAD
2007-08-29 13:55:10 +00:00
stronk7
e17d507d5a
Now Moodle >= 1.9 requires PostgreSQL >= 8.0. MDL-11033
2007-08-28 15:31:34 +00:00
nicolasconnault
7db37fd580
MDL-9005 Fixed this and another multilang issue (module name in preview didn't filter multilang tags either).
2007-08-28 13:22:16 +00:00
moodler
6497764c84
Automatic installer.php lang files by installer_builder (20070828)
2007-08-28 05:53:27 +00:00
nicolasconnault
37829534f6
MDL-7574 Applying Matthew Davidson's patch.
2007-08-27 17:04:56 +00:00
nicolasconnault
554fbddf7d
MDL-7574 Applying the patch as is, with a bit extra code formatting for the JS section (indents etc.)
2007-08-27 15:36:37 +00:00
moodler
529d7f47bf
Automatic installer.php lang files by installer_builder (20070827)
2007-08-27 06:08:41 +00:00
moodler
45b3a8554a
Automatic installer.php lang files by installer_builder (20070826)
2007-08-26 05:51:58 +00:00
moodler
8f3d4e4ef5
Automatic installer.php lang files by installer_builder (20070825)
2007-08-25 04:10:45 +00:00
gbateson
a067240cbf
fixed results not being sent caused by commenting out of "interceptFeedback" (probably left over from debugging)
2007-08-25 01:42:16 +00:00
nicolasconnault
ef2f763ee8
MDL-10970 Someone was using
...
$locations = array('location1');
$locations += array('location2', 'location3', 'location4');
to save the hassle of doing one $locations[] = 'location1'; for each location.
But += doesn't add any entry if the key of the new array already exists in the original array. So, using my example, the resulting array would be:
$locations: array('location1', 'location3', 'location4');
2007-08-24 07:18:13 +00:00
moodler
56d3da5a01
Automatic installer.php lang files by installer_builder (20070824)
2007-08-24 05:59:47 +00:00
moodler
1aa8ff170f
Automatic installer.php lang files by installer_builder (20070823)
2007-08-23 05:59:35 +00:00
moodler
8ec088f738
Automatic installer.php lang files by installer_builder (20070822)
2007-08-22 09:02:48 +00:00
nicolasconnault
e7c13fcb46
MDL-10177 Applied lovely hack (not ugly!) suggested by Pablo. It's lovely because it solves an ugly design error in the previous code: modifying a parameter variable in the function body.
2007-08-20 17:57:44 +00:00
nfreear
343a1ea8e0
MDL-5400 "Accessibility modifications..." - fixing the 4 themes that don't use <h1>. Merged.
2007-08-20 11:00:10 +00:00
moodler
216237369e
Automatic installer.php lang files by installer_builder (20070816)
2007-08-16 06:46:47 +00:00
tjhunt
10fc5f6e22
MDL-10834 - Restore of quiz module may create calendar events without a date/time. Fix thanks to Derek Woolhead.
2007-08-14 13:33:09 +00:00
moodler
462f360429
Automatic installer.php lang files by installer_builder (20070814)
2007-08-14 06:10:46 +00:00
tjhunt
c0ea84fbf3
Accessign wrong field of $mod from course.modinfo.
2007-08-10 10:36:35 +00:00
tjhunt
3a6b6c0d74
MDL-10759 - Bogus get_context_instance call in quiz_print_recent_mod_activity
2007-08-08 11:30:16 +00:00
pichetp
64aa333345
Merging MDL-10680 resolved by thepurplebob from 1.9
2007-08-08 02:09:32 +00:00
moodler
ea41587638
Automatic installer.php lang files by installer_builder (20070806)
2007-08-06 03:52:37 +00:00
stronk7
fbadfe0295
fix insert_record() call using arrays instead of objects
2007-08-05 22:47:20 +00:00
moodler
4b1edf80c1
Automatic installer.php lang files by installer_builder (20070804)
2007-08-04 05:42:43 +00:00
moodler
1286c71e5a
Automatic installer.php lang files by installer_builder (20070803)
2007-08-03 07:12:18 +00:00
gbateson
62eefc5487
fix javascript error: "parseint not defined"
2007-08-01 05:26:09 +00:00
moodler
aafc01514e
Fixed typo from MDL-9222
2007-08-01 05:13:32 +00:00
stronk7
671b83e238
Since now, Moodle 2.0 will require PHP 5.2. MDL-10390
2007-07-30 16:37:31 +00:00
moodler
0197c39ba1
Automatic installer.php lang files by installer_builder (20070730)
2007-07-30 04:35:43 +00:00
toyomoyo
40168efe75
fix for MDL-10640, adding missing index during upgrade fo mdl_role_capabilities table
2007-07-30 02:40:14 +00:00
wildgirl
dfa4162d8a
MDL-4912 docs directory clean-up
2007-07-28 20:27:21 +00:00
moodler
0c05267ff4
Automatic installer.php lang files by installer_builder (20070728)
2007-07-28 06:08:50 +00:00
mchurch
992c135e19
Bug #MDL-10632, fixing the use of 'delete_event'.
2007-07-27 18:45:24 +00:00
moodler
b3c7ea0c94
Automatic installer.php lang files by installer_builder (20070726)
2007-07-26 05:14:01 +00:00
toyomoyo
1e281f706a
merged fix for MDL-10564, wrong userid used for get_my_courses in blogs
2007-07-26 02:45:40 +00:00
stronk7
9ae0b39497
Adding two missing strings. MDL-6017
...
NOTE: These are OUT for Moodle 1.9 and new Grade System, so don't
translate them!
Merged from MOODLE_16_STABLE
2007-07-25 22:09:21 +00:00
stronk7
137fcd2015
Fixing two get_string() calls when restoring gradebook preferences. MDL-6017
...
Merged from MOODLE_16_STABLE
2007-07-25 21:32:46 +00:00
moodler
7ccfee94ad
Automatic installer.php lang files by installer_builder (20070724)
2007-07-24 06:16:45 +00:00
moodler
5e7ee078a9
Automatic installer.php lang files by installer_builder (20070721)
2007-07-21 05:32:34 +00:00
moodler
28dcf434c6
Automatic installer.php lang files by installer_builder (20070719)
2007-07-19 05:51:35 +00:00
toyomoyo
0042320984
merged fix for MDL-10149, prevent the deletion of the last admin role
2007-07-19 05:20:57 +00:00
toyomoyo
8da1406e3a
DML-10461, timemodified in role_assignements not preserved during restore
2007-07-19 03:38:59 +00:00
moodler
0ef8d9cab6
Automatic installer.php lang files by installer_builder (20070718)
2007-07-18 06:24:56 +00:00
moodler
d55f1be549
Bye bye CHANGES http://moodle.org/mod/forum/discuss.php?d=75777
2007-07-17 02:21:26 +00:00
stronk7
d4097a429c
Now the glossary->allowcoments setting is respected. MDL-8056
...
Credit goes to Matt Clarkson. Thanks.
Backported from HEAD
2007-07-15 22:31:09 +00:00
tjhunt
9b4327c71d
MDL-10452 - start quiz UI is confusing if you have quiz:preview capability. Change the 'start/continue attempt button' to say 'start/continue preview' in this case.
2007-07-13 15:57:29 +00:00
moodler
097eb89c65
Automatic installer.php lang files by installer_builder (20070713)
2007-07-13 08:29:04 +00:00
nfreear
8c21e87a7b
Part fix of bug MDL-10332 "Data module not filtering list by group on .." - restore bug. Merged.
2007-07-12 14:25:25 +00:00
moodler
253f9eee33
Merged changes from MDL-8451 from 1.8
2007-07-11 09:14:54 +00:00
moodler
bb803227f1
Automatic installer.php lang files by installer_builder (20070710)
2007-07-10 06:31:44 +00:00
poltawski
f0d60d1631
MDL-10356 - typo in player.php in MOODLE_17_STABLE
2007-07-08 00:15:39 +00:00
moodler
99c4cc6fdf
Automatic installer.php lang files by installer_builder (20070706)
2007-07-06 04:50:20 +00:00
moodler
58e24e2f1a
Automatic installer.php lang files by installer_builder (20070705)
2007-07-05 05:50:55 +00:00
skodak
bca26abf4c
MDL-10341 fixed user search cleaning; backported from MOODLE_18_STABLE
2007-07-04 08:33:04 +00:00
bobopinna
9241a50fb7
Refixed bug MLD-7325
2007-07-03 14:11:20 +00:00
bobopinna
6d1bb31cda
Added missing help file
2007-07-03 12:34:53 +00:00
bobopinna
661406a466
file maxattempt.html was added on branch MOODLE_17_STABLE on 2007-07-03 12:34:53 +0000
2007-07-03 12:13:52 +00:00
bobopinna
cd57295a36
file whatgrade.html was added on branch MOODLE_17_STABLE on 2007-07-03 12:34:54 +0000
2007-07-03 12:04:18 +00:00
bobopinna
6acef6e30b
file skipview.html was added on branch MOODLE_17_STABLE on 2007-07-03 12:34:54 +0000
2007-07-03 12:04:18 +00:00
bobopinna
1610eb0f85
Fixed bug MDL-9486
2007-07-03 09:24:38 +00:00
bobopinna
6cf7303684
Added some missing strings
...
bug MDL-9720
2007-07-03 08:05:57 +00:00
moodler
4ed23b4f9e
Automatic installer.php lang files by installer_builder (20070702)
2007-07-02 04:53:58 +00:00
moodler
fabdbdb3f6
Automatic installer.php lang files by installer_builder (20070629)
2007-06-29 04:56:09 +00:00
moodler
43e2896e63
Automatic installer.php lang files by installer_builder (20070628)
2007-06-28 05:33:39 +00:00
skodak
025451ff7d
MDL-10276 Text cleaning trouble; backported from HEAD
2007-06-27 12:05:05 +00:00
gbateson
cafaa207ef
make sure $hotpot->id is set when adding calendar events for new HotPot
2007-06-26 12:02:34 +00:00
moodler
e59461215d
Implemented fix for MDL-10254, thanks Valery!
2007-06-26 09:06:44 +00:00
moodler
0ebee25007
Automatic installer.php lang files by installer_builder (20070626)
2007-06-26 07:51:48 +00:00
gbateson
ce197abbef
in XML source files of HP quizzes, convert relative URLs to absolute URLs in links using window.open(...)
2007-06-26 05:02:03 +00:00
gbateson
9036033b8a
change relative URLs to absolute URLs in window.open(...)
2007-06-26 02:31:57 +00:00
urs_hunkler
81bf069328
changed navmenuwidth to the standard value
2007-06-25 12:21:58 +00:00
moodler
9ff8ae7953
Automatic installer.php lang files by installer_builder (20070625)
2007-06-25 06:43:38 +00:00
moodler
4527713fdc
Automatic installer.php lang files by installer_builder (20070623)
2007-06-23 05:57:55 +00:00
tjhunt
ae4dc90cb7
MDL-10213 - layuout problem for question in IE in Moodle 1.7. I'm taking the opportunity to clean up the CSS in 1.8 and HEAD to match what I did in 1.7. Fix and CSS cleanup back-ported from MOODLE_18_STABLE.
2007-06-22 13:46:32 +00:00
jamiesensei
7ab78c274b
making environment colours css selector refer to table class instead of body id. So that colours show up on other pages besides admin page.
2007-06-22 11:04:58 +00:00
gbateson
20f08456a8
allow display of results by group
2007-06-21 03:54:45 +00:00
gbateson
94bbc1f5e2
fix selection of individual students in the report conditions selector panel, (use PARAM_ALPHANUM instead of PARAM_ALPHA for reportusers parameter)
2007-06-21 02:53:23 +00:00
moodler
4610edf1b6
Automatic installer.php lang files by installer_builder (20070620)
2007-06-20 08:43:38 +00:00
jamiesensei
847da17ddb
added styles to install.php for colours for environment table
2007-06-20 06:34:08 +00:00
stronk7
f3fa18a199
Now calendar export have some correct defaults. MDL-10175
...
Backported from MOODLE_18_STABLE
2007-06-19 18:58:23 +00:00
jamiesensei
8b85c2cf5d
accidentally added these, removing them
2007-06-19 18:01:01 +00:00
jamiesensei
c309cf8612
*** empty log message ***
2007-06-19 17:40:31 +00:00
jamiesensei
2685a2eee1
MDL-10168 improvements to display of results from environment checks
2007-06-19 16:25:59 +00:00
jamiesensei
416622f005
elaborated phpdoc comment slightly for doc_link
2007-06-19 15:18:22 +00:00
jamiesensei
8f95983a3e
refactored page_doc_link into two functions. doc_link returns a link to docs. page_doc_link returns the link for this page.
2007-06-19 14:59:22 +00:00
poltawski
0a16e0f268
MDL-10148 - hard coded lang strings in user/message.html
2007-06-18 19:17:57 +00:00
bobopinna
37646f6f0e
Fixed a typo added during last commit
2007-06-18 12:08:55 +00:00
ethem
aa7b876f03
MDL-9836
...
Authorize.net / SSL Config Bug prevents display of options from enrol/authorize/enrol.php
2007-06-15 17:52:28 +00:00
csantossaenz
16f89f2ccf
Fixed bug mdl-7516
2007-06-15 09:03:47 +00:00
pichetp
524e369670
Removing question/type/datasetdependent/categorydatasetdefinitions.php MDL-10072
2007-06-13 07:49:59 +00:00
toyomoyo
c72ab7a328
fixing a bug when setting granular bug during restore
2007-06-13 06:33:15 +00:00
pichetp
c74677ca95
solving lost of dataitems MDL-10087 merging from 1.8
2007-06-13 03:44:13 +00:00
pichetp
0f8c983585
giving to questiondatasets.html all the features of datasetdefinitions_form.php of HTML
...
QuickForm
2007-06-12 03:27:40 +00:00
pichetp
59a6d971a4
replacing "saveas" by "next page" and a greater size to answers formula <input>
2007-06-11 20:12:04 +00:00
moodler
45e948f87e
Automatic installer.php lang files by installer_builder (20070611)
2007-06-11 06:11:26 +00:00
pichetp
c0226d096a
correcting the custom_genrator line 610-611
2007-06-11 00:17:57 +00:00
pichetp
aaf3348589
Adding various improvements (MDL-8565, MDL-9496, MDL10070 etc.)to calculated question
2007-06-10 22:45:34 +00:00
moodler
158c4b5c80
Added two recent installer langs to CVS
2007-06-09 08:22:46 +00:00
moodler
a3eba6f2d2
Automatic installer.php lang files by installer_builder (20070609)
2007-06-09 04:47:52 +00:00
martinlanghoff
8d7e790de7
moodlelib:moodle_request_shutdown() - only call apache_child_terminate if child_terminate is true - MDL-9350
...
Apparently there _is_ a PHP ini setting controlling
it -- defaults to off.
2007-06-07 21:22:36 +00:00
poltawski
ed289f97e5
MDL-8080 Grade exceptions broken for teacher by invalid capability check.i
...
Thanks to Paul Ortman for the patch.
2007-06-04 22:52:05 +00:00
mark-nielsen
5d7ce9bf29
Fix for MDL-9947, remap activity links during restore process
2007-05-28 17:18:54 +00:00
jamiesensei
fbb5ad35e7
MDL-9734 fix for clean_param PARAM_LOCALURL bug
2007-05-27 11:21:55 +00:00
moodler
9e2df8519a
Automatic installer.php lang files by installer_builder (20070527)
2007-05-27 04:33:24 +00:00
moodler
e4cc5dbc7f
Automatic installer.php lang files by installer_builder (20070526)
2007-05-26 04:08:44 +00:00
moodler
34e92f9b8b
Automatic installer.php lang files by installer_builder (20070525)
2007-05-25 04:33:33 +00:00
tjhunt
6e2284138b
MDL-9878 - fix call-time pass by references. Backported from HEAD.
2007-05-22 14:11:16 +00:00
moodler
73a4864b82
Automatic installer.php lang files by installer_builder (20070522)
2007-05-22 05:22:03 +00:00
gbateson
1a6a597fff
use PARAM_ALPHANUM on "section" parameter so that "section=all" is allowed
2007-05-22 04:27:28 +00:00
moodler
9df49de633
Merged fix for MDL-9859
2007-05-21 14:45:05 +00:00
sam_marshall
404d380856
MDL-8227 Merged wiki locking fix
2007-05-21 12:02:24 +00:00
moodler
cbc0bc50b1
Fix from MDL-7233 for LDAP change passwords
2007-05-21 05:27:54 +00:00
moodler
ae767e7bd3
Automatic installer.php lang files by installer_builder (20070521)
2007-05-21 04:50:35 +00:00
moodler
2ccbd6ccf1
Automatic installer.php lang files by installer_builder (20070519)
2007-05-19 04:43:42 +00:00
skodak
8dbf6bb9e0
MDL-9418 use proper addslashes before each insert; backported from MOODLE_18_STABLE
2007-05-16 20:09:32 +00:00
poltawski
652fab8576
MDL-9819 - Restoring numerical questions was broken
2007-05-15 14:49:14 +00:00
moodler
31942aff61
Automatic installer.php lang files by installer_builder (20070515)
2007-05-15 04:52:50 +00:00
pichetp
5006792896
merging from head so that calculated questions can be imported and other improvments
2007-05-15 03:30:33 +00:00
pichetp
786542c572
merging from head so that calculated questions can be imported and other improvments
2007-05-15 03:23:32 +00:00
pichetp
edaaa46655
merging small modifications from head mostly for calculated questions
2007-05-15 03:13:38 +00:00
moodler
c0bea40aaf
Automatic installer.php lang files by installer_builder (20070512)
2007-05-12 05:47:40 +00:00
csantossaenz
7dd535056e
Deleted addslashes_js() because it was impossible to add it to weblib.php
2007-05-11 11:10:10 +00:00
csantossaenz
555bfa16d0
Added function addslashes_js() to make the javacript receive the strings correctly
2007-05-11 10:57:20 +00:00
moodler
470be2688b
Automatic installer.php lang files by installer_builder (20070511)
2007-05-11 06:33:10 +00:00
gbateson
135d93ec9e
when inserting 'Give Up' button, if site encoding is not iso-8859-1, then set page encoding to get_string('thischarset')
2007-05-11 05:17:42 +00:00
moodler
75943600ed
Added CSS for current language MDL-9750
2007-05-09 06:46:37 +00:00
gbateson
7fd3f594da
modified "hpNewFunction" to allow Rottmeier quizze (Find-It, Dropdown) s to run on Safari (Mac)
2007-05-07 02:47:17 +00:00
poltawski
55904e49dc
MDL-8971 - Fixed typo
2007-05-06 09:39:46 +00:00
moodler
4c5da8022e
Automatic installer.php lang files by installer_builder (20070506)
2007-05-06 04:56:05 +00:00
gbateson
2f47a361ff
remove duplicate id attribute from body tag; microincrement version to 2006091203 (release 2.2.2)
2007-05-04 02:43:35 +00:00
gbateson
9197627ade
set default body font size to "small"
2007-05-03 00:55:20 +00:00
gbateson
4b168cfabc
add HP 6.2 templates; add compatability with Safari (Mac browser); microincrement version to 2006091202 (release 2.2.1)
2007-05-02 23:49:59 +00:00
moodler
ffa6c35826
Automatic installer.php lang files by installer_builder (20070501)
2007-05-01 04:21:00 +00:00
moodler
b0e924a51e
Automatic installer.php lang files by installer_builder (20070429)
2007-04-29 04:32:54 +00:00
moodler
58a9623c54
Automatic installer.php lang files by installer_builder (20070428)
2007-04-28 04:25:04 +00:00
tjhunt
1bde9b823c
Fix comedy require_once. Merged from MOODLE_16_STABLE.
2007-04-24 21:16:10 +00:00
stronk7
76eea68b9e
Now resource/view.php?r=XXX links are recoded properly in backup/restore. MDL-9450
...
Backported from MOODLE_18_STABLE
2007-04-22 22:07:49 +00:00
skodak
8c0a6839f2
MDL-9483 Problem with question restore relinking when quiz not selected
2007-04-21 12:36:57 +00:00
thepurpleblob
a1f951f3a4
MDL-9395:
...
Trued to call function that did not exist. Old function has been modified
to return valid list of categories and we call that instead.
2007-04-20 12:59:36 +00:00
thepurpleblob
72449953e4
MDL-9395:
...
Tried to call function that didn't exist. Made old function have
the functionality to return valid categories list and used that.
2007-04-20 12:57:55 +00:00
tjhunt
f359daab58
MDL-9432 - Forgot to return success/failure in two places.
2007-04-19 17:37:20 +00:00
tjhunt
b33888d124
Fix error message to say the right thing.
2007-04-19 17:16:29 +00:00
skodak
1a5e85a22c
fixed MDL-9411 : MDL-9012 has partially wrong fix; backporting of MDL-9207
2007-04-19 12:10:38 +00:00
tjhunt
0dd1becdc7
MDL-9432 - When restoring questions, links are not recoded. Merged from OU moodle.
2007-04-18 15:56:30 +00:00
donal72
61e35a87da
MDL-9424 Removing call to MDL1.8 function
2007-04-18 06:56:33 +00:00
cataluke
0c34a17b09
admin/uploaduser.php: Fixed not enrolling user into course if user already exists
...
Author: Patrick Li <patrick@catalyst.net.nz >
Committer: Luke Hudson <luke@catalyst.net.nz >
2007-04-18 02:45:14 +00:00
donal72
52f24bfec6
Fix for MDL-9216 ("Login as" doesn't work) backported from head
2007-04-18 01:09:15 +00:00
cataluke
b2787982b7
MDL-7856 - make database search case-insensitive for PostgreSQL too.
...
Signed-off-by: Luke Hudson <luke@catalyst.net.nz >
Author: Andrew Walbran <andrew.walbran@catalyst.net.nz >
Committer: Luke Hudson <luke@catalyst.net.nz >
2007-04-17 05:57:06 +00:00
stronk7
8f4c3dae23
Fixed quesry to work agains Oracle. Repeated fields + limit
...
are incompatible for Oracle. MDL-9321
2007-04-16 14:42:30 +00:00
moodler
a8c2fc5dee
Automatic installer.php lang files by installer_builder (20070416)
2007-04-16 04:23:55 +00:00
martinlanghoff
a3b2f4cbeb
moodle_request_shutdown(): silence errors when apache_child_terminate() is disallowed - (MDL-9350)
2007-04-16 00:24:44 +00:00
tjhunt
1e066cbf29
MDL-5799 - quiz previews were sometimes showing up in the quiz overview report.
2007-04-12 20:10:47 +00:00
jamiesensei
79dd326093
making notifytiny style a little bigger
2007-04-12 15:35:57 +00:00
stronk7
1f775e8c46
Fixing typo causing some (a few) sites to break on upgrade. Credit
...
goes to Rafa Gutierrez. MDL-9316
Merged from MOODLE_16_STABLE
2007-04-12 15:31:21 +00:00
martinlanghoff
7b6c65a560
moodle_request_shutdown(): raise $CFG->apachemaxmem to 25MiB for 1.7 and newer
2007-04-12 03:30:20 +00:00
toyomoyo
c935b991a1
MDL-9291, temporarily disabling blog this link
2007-04-12 02:17:09 +00:00
martinlanghoff
28ca56c93d
Fixed 'off by one' month bug in month select boxes generated by
...
print_date_selector when users time zone set to GMT-13.
Author: Matt Clarkson <mattc@catalyst.net.nz >
Committer: Matt <mattc@catalyst.net.nz >
2007-04-12 00:45:35 +00:00
mjollnir_
ec3200262d
merged: fixing warnings in stats lib - rather than doing an include_once and noticing for every missing mod, check the file exists first from MOODLE_16_STABLE, and fixed up some weirdness in the reports
2007-04-11 23:52:31 +00:00
tjhunt
8539018ed4
MDL-9079 - Paging broken in quiz overview report.
2007-04-11 20:37:36 +00:00
tjhunt
245de1a597
MDL-9303 - General Feedback not shown for essay questions on review screen.
2007-04-11 19:03:34 +00:00
thepurpleblob
3fdd49a75a
MDL-9123:
...
Added language string for error message
2007-04-11 12:19:16 +00:00
thepurpleblob
3ff6c931ee
MDL-9123:
...
No check was made of the validity of the category id read from the form.
So it could theoretically have been spoofed.
2007-04-11 11:02:48 +00:00
toyomoyo
c7da0d864e
fix for MDL-9268
2007-04-10 05:15:14 +00:00
moodler
e97c7b28c5
Automatic installer.php lang files by installer_builder (20070410)
2007-04-10 03:31:59 +00:00
mjollnir_
2ffbe91234
add support for https source for popups
...
previously fullscreen.php tried to load any javascript files that were
running in the popup's parent.
If the source of the script didn't start with "http:" it was assumed
that it must be a relative path. This caused problems when it tried to
make it into an absolute path.
Fixed Regex to include support for https
Credit: Peter Bulmer <peterb@catalyst.net.nz >
2007-04-09 20:38:49 +00:00
stronk7
4f3835b601
Now $CFG->apachemaxmem is respected.
...
Merged from MOODLE_16_STABLE
2007-04-07 16:05:54 +00:00
skodak
445a3c1233
MDL-9227 Inconsistent HTTPS for profile edit page
2007-04-06 07:46:41 +00:00
jamiesensei
4989bc7951
added a style for the required field description that was forgotten. More are missing judging by appearances.
2007-04-06 06:45:16 +00:00
jamiesensei
8eb102ff1c
see MDL-8886.
...
fixes bug that meant :
$mform->disabledIf('studentfeedbackurl', 'studentfeedback', 'eq', 0);
$mform->disabledIf('studentfeedbackurl', 'studentfeedback', 'eq', 3);
$mform->disabledIf('studentfeedbackurl', 'studentfeedback', 'eq', 4);
didn't work.
2007-04-06 06:08:19 +00:00
toyomoyo
9b6cf38c96
fix for MDL-9186, capability fix for calendar
2007-04-05 08:00:40 +00:00
toyomoyo
203743c638
added missing string
2007-04-05 06:06:45 +00:00
toyomoyo
c691deff3a
fix for MDL-9165, admins should see private blogs
2007-04-05 06:04:24 +00:00
martinlanghoff
bf01ed8211
lib/setup moodelib: Introducing moodle_request_shutdown()
...
Now Moodle will have a 'shutdown_function' function. Right now
registered (and useful) only when running under apache + mod_php.
This initial function checks whether memory usage in this process exceeded
10MiB or $CFG->apachemaxmem (int, in bytes). This is really useful to prevent
using more RAM than we have.
2007-04-05 05:00:23 +00:00
toyomoyo
93cc66aeae
fix for MDL-9197, multilang filter not applied to default role in course settings
2007-04-05 03:55:51 +00:00
moodler
f103bb199e
Automatic installer.php lang files by installer_builder (20070405)
2007-04-05 03:35:14 +00:00
nicolasconnault
476f7cc8ee
MDL-9204 New submission wasn't given a timemodified upon creation.
2007-04-05 03:25:27 +00:00
skodak
e9a1bffc8f
MDL-8802 fixed byteserving broken by adobe anti xss patch; backported from MOODLE_18_STABLE
2007-04-04 19:46:14 +00:00
jamiesensei
377d7c7515
fixes MDL-9195 mform->hardFreeze() doesn't remove id attribute of label for checkbox
2007-04-04 10:29:41 +00:00
moodler
7bc643ebaf
Automatic installer.php lang files by installer_builder (20070404)
2007-04-04 03:59:55 +00:00
nicolasconnault
184f9c2b66
MDL-9192:
...
a.dimmed:link,
a.dimmed:visited {
color:#AAAAAA;
}
2007-04-04 02:38:19 +00:00
nicolasconnault
93fa4ca922
MDL-9193
2007-04-04 02:20:43 +00:00
nicolasconnault
552de335d0
MDL-9147
2007-04-03 08:41:51 +00:00
toyomoyo
9e6e743dfc
fix for broken blog utf8 migration
2007-04-02 08:41:57 +00:00
moodler
f9bbb1031e
More changes to make mforms compatible in 1.7 with 1.8 MDL-9159
2007-04-02 05:38:04 +00:00
moodler
290b74fd49
Removed conflicts
2007-04-02 05:29:33 +00:00
moodler
7122026066
Fixed a conflict
2007-04-02 05:27:52 +00:00
moodler
70cade16e3
Complete port of Moodle 1.8 formslib.php back into 1.7 to aid development of any modules that may use formslib in 1.7
...
MDL-9159
2007-04-02 05:26:03 +00:00
toyomoyo
9146dd83de
backporting more efficient get_my_courses
2007-04-02 03:50:15 +00:00
toyomoyo
9e162a23da
admins should not need course:view
2007-04-02 02:37:09 +00:00
moodler
3df033ca4a
Better handling of coursemanagers when none are being shown MDL-9139
2007-04-01 15:51:05 +00:00
moodler
5241345d02
Merged solution for MDL-6458 typo
2007-03-31 05:24:50 +00:00
stronk7
62cf504bdd
fixing check of environmental tests.
2007-03-30 15:59:42 +00:00
moodler
cf47a79c1d
Merged changes from 1.8 for "course creators" problem MDL-8093
2007-03-30 15:39:55 +00:00
stronk7
12e91437f3
Adding a missing parameter to the "add new course" button. MDL-9129
...
Backported from MOODLE_18_STABLE
2007-03-30 15:38:32 +00:00
tjhunt
a065fdd6f9
Backporting a layout fix from Moodle 1.8
2007-03-30 13:50:47 +00:00
tjhunt
e0ddea8b8f
Small code cleanup to fix an obscure warning. If you got an error in the middle of creating a quiz attempt, you could get an attempt with no states. Then that caused an error when the attempt was deleted.
2007-03-30 10:17:06 +00:00
tjhunt
d7df238204
Fix notice.
2007-03-30 09:33:37 +00:00
moodler
db2105c889
Bumping after 1.7.2 release
2007-03-30 09:00:54 +00:00
moodler
367dfbd905
Updating for 1.7.2 release
2007-03-30 08:40:02 +00:00
toyomoyo
b17e52001c
fix for MDL-9021, missing add_to_log() call
2007-03-30 08:04:07 +00:00
gbateson
153fd875b5
fix the display of the special chars keypad (in JCloze and JQuiz)
2007-03-30 03:41:04 +00:00
moodler
a43dc9df02
Automatic installer.php lang files by installer_builder (20070330)
2007-03-30 03:35:59 +00:00
toyomoyo
f9f150290f
adding a missing string
2007-03-30 02:27:27 +00:00
toyomoyo
8779cb8b46
changing help file as helen suggested
2007-03-30 02:23:19 +00:00
tjhunt
d7378d19ec
MDL-9094 - Penalty factor is meaningless for Essay questions, so remove it from the editing form.
2007-03-29 22:59:09 +00:00
skodak
6219022575
MDL-4313 LDAP doesn't properly escape extra quotes in course details; backported from MOODLE_18_STABLE
2007-03-29 21:57:11 +00:00
andreabix
d9ec40f57f
Fixed "Call to undefined function print_box()"
2007-03-29 18:42:20 +00:00
tjhunt
ea790c7db1
MDL-6269, MDL-8958, MDL-8990 - Major fix to do with each attempt builds on last:
...
It used not to work with random questions, and there were problems with the computation of the grade, and regrading. Fix thanks to Paulo Matos, who not only fixed the bug and tested it, but was also incredibly patient waiting for me to have time to commit the changes to CVS.
This commit also includes a backport of a small state logic changes to the 1.7 stable branch.
2007-03-29 16:35:14 +00:00
csantossaenz
f0403cbba2
Fixed problem with the popup window options. Now, they are saved when you update an SCORM activity and you change those options.
2007-03-29 08:18:35 +00:00
toyomoyo
88b5f9b726
fix for MDL-8983. hidden assignment requires a help file
2007-03-29 06:39:11 +00:00
toyomoyo
4d0ec2a375
file hiddenassign.html was added on branch MOODLE_17_STABLE on 2007-03-29 06:39:11 +0000
2007-03-29 06:38:35 +00:00
tjhunt
7cb4fb6a88
MDL-9061 - Only show global assign roles warning if you are assigning roles in the global context! Also, change name of admin menu entry to reduce confusion. Backported from MOODLE_18_STABLE.
2007-03-28 16:57:45 +00:00
csantossaenz
504317a519
Fixed backup problem for scorm module. Now, it includes needed files in moddata/scorm. even though the backup is done without user data and files
2007-03-28 15:04:57 +00:00
toyomoyo
110351a2a6
fix for MDL-7764, site role definitions not passed down
2007-03-28 07:50:35 +00:00
moodler
9599ee24b9
dos2unix and removed some XHTML brokenness
2007-03-28 02:47:12 +00:00
moodler
78baa1aaad
Latest cornflower from Jeff for MDL-9009
2007-03-28 02:40:28 +00:00
moodler
1f4025a70e
file hdbgend.jpg was added on branch MOODLE_17_STABLE on 2007-03-28 02:40:30 +0000
2007-03-28 02:24:36 +00:00
moodler
7e147392e1
file hdbg.jpg was added on branch MOODLE_17_STABLE on 2007-03-28 02:40:30 +0000
2007-03-28 02:24:35 +00:00
moodler
b7f0d27621
file cornflower.css was added on branch MOODLE_17_STABLE on 2007-03-28 02:40:28 +0000
2007-03-28 02:24:34 +00:00
nicolasconnault
0428d11d76
MDL-9061
2007-03-27 07:28:20 +00:00
nicolasconnault
b5a5a482bd
MDL-9034: Brought lang file up to sync. The field_mapping string doesn't exist anywhere, it was a typo in enrol/database/config.html, and should have been remote_fields_mapping.
2007-03-27 05:46:11 +00:00
moodler
699768ebbc
Merged fix for MDL-9052 from 1.8
2007-03-27 05:14:18 +00:00
moodler
6bd9066b7f
Automatic installer.php lang files by installer_builder (20070327)
2007-03-27 03:52:08 +00:00
toyomoyo
6af4e1c8c4
applying inaki's patch for MDL-9012, course autocreation doesn't work in enrol/database
2007-03-26 06:50:56 +00:00
toyomoyo
a5c41b6a5a
fix for MDL-9010, course request button should not appear if it's disabled
2007-03-26 05:51:28 +00:00
toyomoyo
0bffc5576e
fix for MDL-8336, lacking of viewuseractivitiesreport
2007-03-26 04:11:48 +00:00
toyomoyo
21982b71a6
fix for MDL-9035, backporting get_role_users() with hidden param
2007-03-26 02:11:45 +00:00
stronk7
41a5c34f91
Fix a problem with glossary not being able to sort by firstname.
...
Backported from MOODLE_18_STABLE
2007-03-24 01:00:29 +00:00
stronk7
d08b6757e6
One default was causing author view not being able to sortby firstname or lastname.
...
Backported from MOODLE_18_STABLE
2007-03-24 00:39:30 +00:00
skodak
dfeb385672
MDL-9017 add mime type for ico files; backported from MOODLE_18_STABLE
2007-03-23 13:07:50 +00:00
toyomoyo
b36064f742
fix for MDL-9016, clearing context cache after remove_course_content()
2007-03-23 07:20:16 +00:00
moodler
3dfb5e4379
Automatic installer.php lang files by installer_builder (20070323)
2007-03-23 03:42:39 +00:00
toyomoyo
7f9f7ec944
fix for MDL-8987, guests should not be allowed to view blogs flagged as site blogs
2007-03-23 01:42:19 +00:00
skodak
1828849b1e
MDL-8347 Cannot create new glossary category if category with same name exists in another course on site; patch by Ray Lawrence; backported from MOODLE_18_STABLE
2007-03-22 22:45:51 +00:00
tjhunt
ff7253c2c1
MDL-7241 - Manual grading report, sort by completed time didn't. Merged from MOODLE_16_STABLE.
2007-03-22 21:31:27 +00:00
moodler
52257f15d7
Automatic installer.php lang files by installer_builder (20070322)
2007-03-22 03:56:14 +00:00
toyomoyo
4c1af19cf6
MDL-7164, Mark Nielson's patch for remove_course_content not calling instance_destroy()
2007-03-22 02:09:54 +00:00
tjhunt
48a2b5ad42
MDL-7259 - Item analysis report does not use the right format_text settings. Merged from MOODLE_16_STABLE.
2007-03-21 23:25:23 +00:00
tjhunt
9e8cabd7eb
Fix whitespace problems and Eclipse warnings in Item Analysis quiz report.
2007-03-21 23:04:27 +00:00
skodak
e28cc09b24
MDL-7647 Broken links on confirmation email (or others) - patch by Paulo Matos
2007-03-21 21:57:00 +00:00
thepurpleblob
6282be2fd9
Check for empty text strings. Thanks to Quedoc.
2007-03-21 11:13:48 +00:00
toyomoyo
e6b8565063
adding a string
2007-03-21 06:19:08 +00:00
toyomoyo
bce83e8c76
backporting changes for MDL-8981, roles assigned at site level may result in a lot of default subscriptions
2007-03-21 06:05:13 +00:00
moodler
e2bf5eec99
Automatic installer.php lang files by installer_builder (20070321)
2007-03-21 03:51:04 +00:00
toyomoyo
87ab475575
fix for MDL-7552, hidden assignments for 1.7
2007-03-21 00:48:41 +00:00
tjhunt
9022696d6d
MDL-8978 - Regression from MDL-6386. Merged from MOODLE_16_STABLE.
2007-03-21 00:13:33 +00:00
tjhunt
418cc2032b
MDL-8299 - Wrong capability on review.php.
2007-03-20 22:44:32 +00:00
tjhunt
25769ccd61
MDL-8140 Other units disappear from the editing form when there is no unit with multiplier 1.
2007-03-20 22:22:00 +00:00
skodak
d0e6183436
MDL-8975 fix parameter handling in repository plugin; backported from MOODLE_18_STABLE
2007-03-20 19:47:58 +00:00
skodak
ca3c1ddf40
SC#374 removing obsoleted utf8migration code
2007-03-20 16:24:11 +00:00
tjhunt
ec9f7c117e
MDL-6386/MDL-6462 - yet more special character issues with multianswer. I think I have got them all this time. Backported from HEAD.
2007-03-20 14:31:26 +00:00
moodler
7f0984c1f3
Automatic installer.php lang files by installer_builder (20070320)
2007-03-20 03:36:20 +00:00
stronk7
dc8207c52a
small typo in var name
...
Merged from MOODLE_16_STABLE
2007-03-19 16:11:01 +00:00
skodak
4419fe33a5
MDL-8759 reverted + backported fix for cron logs
2007-03-19 10:11:27 +00:00
toyomoyo
ba0dabcc31
backporting coursemanagers to 1.7
2007-03-19 06:40:59 +00:00
martinlanghoff
3810ca294d
Auto-linking filters: fix serious caching bug in forum mailouts
...
Autolinking of glossaries, activity, resources and wiki names were using a
trivial single-entry cache implemented with static vars. The cache was _not_
keyed on course.
This bug was visible during forum_cron() which walks many courses. The cache
would get "stuck" on the first course that had something to put in the cache.
All mailouts from there onwards would autolink to stuff in the wrong course.
2007-03-19 06:13:13 +00:00
toyomoyo
f493763e04
backporting MDL-8578, students can post and reply in news forum
2007-03-19 02:47:30 +00:00
toyomoyo
3140dc600d
backporting MDL-8578 students can post and reply in news forums
2007-03-19 02:46:33 +00:00
moodler
30739f6651
Automatic installer.php lang files by installer_builder (20070318)
2007-03-18 03:29:57 +00:00
poltawski
071d36c917
MDL-6386 - Regression from MDL-6462, lost stripslashes in CLOZE question,
...
thanks to Joseph Joseph Rézeau for his attention to this issue
Backported from MOODLE_18_STABLE
2007-03-17 22:57:06 +00:00
pichetp
0540d3479c
adding </p> lines 110,112
2007-03-16 22:34:06 +00:00
skodak
721a2de984
MDL-8883 fixed double backslashes problem in filter settings; backported from MOODLE_18_STABLE
2007-03-16 22:19:07 +00:00
mark-nielsen
78d68eb5b2
Was missing context in has_capability() call. This was found in MDL-8196
2007-03-16 03:44:04 +00:00
toyomoyo
5c5cb3ec7e
back porting changes for MDL-8820, users with moodle/user:editprofile assigned at user context should be able to edit them
2007-03-16 01:35:34 +00:00
bobopinna
b06855297c
Changed coursepacket string with package
2007-03-15 20:42:41 +00:00
stronk7
dbd0f586a2
Fix small bug only reproduced in tests about changing field names and
...
amldb_field object becoming modified. Novice OOP bug :-(
2007-03-15 19:58:47 +00:00
bobopinna
eb2a36fb55
Fixed the problem with asset and review mode checkbox in view.php
2007-03-15 19:35:25 +00:00
stronk7
a45296043e
Testing comments and default clauses containing chars to be escaped.
2007-03-15 19:13:17 +00:00
stronk7
4bf57cbfa6
DB escaping comments. MDL-8918
2007-03-15 18:59:02 +00:00
bobopinna
43d78a231d
Removed the last word course in scorm module
2007-03-15 17:40:45 +00:00
bobopinna
45d44e7e80
Fixed a problem with external packages
2007-03-15 15:54:36 +00:00
bobopinna
ff6bc9fbc2
Fixed bug MDL-8161 also here
2007-03-15 15:49:33 +00:00
bobopinna
4bdf76ae71
removed a couple of debugging print
2007-03-15 15:25:51 +00:00
tjhunt
97feab527e
MDL-6462 - Cloze (multianswer) question special character issues. Merged from MOODLE_16_STABLE.
2007-03-15 12:59:20 +00:00
tjhunt
903f3f54ed
Fix notice.
2007-03-15 12:53:07 +00:00
bobopinna
a1fec0e3ce
fixed a typo (ThaNck Andrea)
2007-03-15 10:49:39 +00:00
toyomoyo
e07f4ac436
fix for MDL-8908, draft blogs should not be visible
2007-03-15 06:14:08 +00:00
toyomoyo
25a37d70ff
fix for MDL-7939, teachers, non-editting teachers and course creators should see hidden courses
2007-03-15 04:24:28 +00:00
moodler
5446beaa73
Automatic installer.php lang files by installer_builder (20070315)
2007-03-15 03:32:10 +00:00
tjhunt
cb6281b339
MDL-8127 - bad use of DESCRIPTION constant in quiz module causes upgrade to fail. Thanks to Pavel Krejci for the fix. Merged from MOODLE_17_STABLE.
2007-03-14 21:24:54 +00:00
tjhunt
3696a3723e
Oops, reverting. Eloy had already fixed it.
2007-03-14 21:10:59 +00:00
tjhunt
8fa821d514
MDL-8232 - can't use = on TEXT colums with MSSQL - was breaking numerical question type upgrade.
2007-03-14 21:08:23 +00:00
poltawski
9bb4b97e3d
Fixed check for section for MDL-8360, merged from MOODLE_18_STABLE
2007-03-14 16:35:10 +00:00
thepurpleblob
87c39bf549
Fixed true/false bug due to new 'correctanswer' field.
2007-03-14 15:15:27 +00:00
ethem
91f54796bd
Code cleanup
2007-03-14 13:43:19 +00:00
poltawski
fd52f257ff
MDL-8360 - Currently can't bookmark admin searches, so disable the ability to bookmark
...
the search page
2007-03-14 11:50:53 +00:00
skodak
94c9630d78
MDL-8897 fixed shell commands in tex and algebra filters
2007-03-14 11:10:22 +00:00
toyomoyo
84718c0056
fix for MDL-8885, teachers should not be able to hide courses if they can not view hidden courses
2007-03-14 04:34:54 +00:00
moodler
0a16d1722a
Automatic installer.php lang files by installer_builder (20070314)
2007-03-14 03:50:40 +00:00
toyomoyo
abb8f34ecf
MDL-8885, do not show bulk messaging option if user has no capability
2007-03-14 01:52:36 +00:00
toyomoyo
8af16cbfdb
MDL-8885 editting teachers should be able to see all messages in a course
2007-03-14 01:39:43 +00:00
bobopinna
54c5ce36db
Fixed bug MDL-8725
...
Just a typo in regular expression
2007-03-13 21:04:44 +00:00
tjhunt
0b17d072cf
Eliminate bizarre use of function_exists.
2007-03-13 17:42:51 +00:00
tjhunt
cd4469af52
Entity decoding only done the right number of times on import, not once too often.
...
Also, fix a notice and and Eclipse warning.
Backported from HEAD.
2007-03-13 16:27:52 +00:00
tjhunt
01d0a4f289
Use the right string processing when outputting question text on import/export. Backported from HEAD
2007-03-13 16:24:36 +00:00
tjhunt
8f8f6e7c92
Use the right string processing functions when outputting question names. Backported from HEAD
2007-03-13 16:21:07 +00:00
poltawski
90fe299739
Regression using the wrong config variables, see MDL-8257
2007-03-13 14:31:56 +00:00
moodler
bceb6eb9d8
MERGED MDL-8872 from 1.8 removed "course" mentions from scorm interface
2007-03-13 08:47:52 +00:00
toyomoyo
7989f2ee28
allow guests to see the reply link
2007-03-13 04:46:55 +00:00
toyomoyo
78a0f36730
fixing a warning
2007-03-13 04:33:54 +00:00
toyomoyo
b2a48214f8
fix for MDL-8864, reply link bug for users with replypost set to prevent
2007-03-13 04:28:39 +00:00
toyomoyo
76d9513015
fix for MDL-8767, when doing forum_cron, loop by user instead of post, backporting to 1.7
2007-03-13 03:38:06 +00:00
moodler
4d89cba698
Automatic installer.php lang files by installer_builder (20070313)
2007-03-13 03:33:55 +00:00
moodler
e8189c3074
fixing a broken has_capability call
2007-03-13 00:54:25 +00:00
thepurpleblob
af17ae8a1b
MDL-8857
...
Make numerical and essay question formats more consistent.
2007-03-12 16:29:45 +00:00
skodak
8626d4bc24
MDL-5229 and MDL-6196 adding gb18030 mime header encoding; partial backport from MOODLE_18_STABLE
2007-03-12 08:45:02 +00:00
moodler
f0b99a9fec
fix for forceloginforprofile for parents
2007-03-12 01:20:32 +00:00
skodak
fcb9e23701
MDL-8849 use proper value quoting; backported from MOODLE_18_STABLE
2007-03-11 20:01:15 +00:00
moodler
ab496d313c
Merged from head MDL-8842
2007-03-10 14:51:51 +00:00
moodler
0e53408ad7
Automatic installer.php lang files by installer_builder (20070310)
2007-03-10 03:29:07 +00:00
tjhunt
4b1f48e2ae
MDL-8177 - Random questions selected deleted questions. Backported from MOODLE_18_STABLE.
2007-03-10 00:34:35 +00:00
pichetp
5530732c16
merge from 18 merged
2007-03-09 06:02:16 +00:00
moodler
5b4e26864a
Automatic installer.php lang files by installer_builder (20070309)
2007-03-09 03:46:00 +00:00
moodler
1081ccc99b
back porting MDL-8681 course import creates duplicate role into 1.7
2007-03-09 02:41:48 +00:00
skodak
c0ad0e5a98
MDL-8814 fixed typo; backported from MOODLE_18_STABLE
2007-03-08 15:24:44 +00:00
moodler
b6db8ab49d
fix for MDL-7552, backporting hidden assignments (teacher) for 1.7
2007-03-08 05:25:42 +00:00
moodler
ce455a9a79
merged do not force parents to log in
2007-03-07 06:25:36 +00:00
moodler
b6d3fccd59
Merged fixes for MDL-8785 from 1.8
...
BIG SPEED INCREASE!!!!!!
2007-03-07 05:00:05 +00:00
moodler
78be3cdb8b
backporting code to fix hidden teacher upgrade
2007-03-07 01:38:41 +00:00
tjhunt
837588a772
MDL-8349 - responses not being filtered in history display. Backported from MOODLE_18_STABLE.
2007-03-06 18:00:39 +00:00
nicolasconnault
f398c77963
MDL-8759 - Unset $USER
2007-03-06 06:09:44 +00:00
nicolasconnault
2fd2fdbdb9
MDL-8771 - Restricted has_capability() sanity checks to DEVELOPER debug mode
2007-03-06 05:29:00 +00:00
moodler
92d3d576fb
fix for MDL-8589, found more than one record in get_record_sql
2007-03-06 01:37:54 +00:00
moodler
ef06f7f85b
Added new string locations to 1.7
2007-03-05 12:28:58 +00:00
moodler
e7a5ad8da9
Fix for MDL-8318, show cost info on info page
2007-03-05 05:41:21 +00:00
moodler
d8882ec822
Automatic installer.php lang files by installer_builder (20070304)
2007-03-04 03:41:18 +00:00
gbateson
e21f0b1042
set JQuiz[7]=false, to fix checking answers for JQuiz Hybrid questions when in ShortAnswer mode
2007-03-04 01:19:42 +00:00
skodak
b6057d4afa
MDL-8733 fixed approving logic when editing; merged from MOODLE_16_STABLE
2007-03-03 12:25:40 +00:00
pichetp
bf18b2aa09
ggrading small numbers MDL-8478 merge from 18_STABLE
2007-03-02 21:14:48 +00:00
skodak
db365a121d
sesskey added to logout.php MDL-8727 ; backported from HEAD
2007-03-02 17:05:25 +00:00
moodler
d243cd17c5
Commenting this out for now for performance reasons, should be fixed soon!
...
See MDL-8385
2007-03-02 10:10:52 +00:00
stronk7
01be5c29cc
Skipping thousands of require_once() calls because PHP5
...
is really slow (and heavy) with them. MDL-8700
2007-03-02 09:39:50 +00:00
moodler
1ac2df9163
adding backward compatibility for question restore
2007-03-02 08:01:47 +00:00
nicolasconnault
800fa68224
MDL-8633 - Initialised $output at head of function.
2007-03-02 05:48:03 +00:00
moodler
4876f94726
should be manualcomment
2007-03-02 05:20:39 +00:00
moodler
c5c47d0c43
fix for MDL-8491, feed back for essay questions not backed up
2007-03-02 04:51:31 +00:00
mjollnir_
731f877fdb
Merged from MOODLE_16_STABLE: fixing bug MDL-8651: import course data should clean up after itself
2007-03-02 01:43:15 +00:00
moodler
acb417721d
Fixed unenrol_student MDL-8591
2007-03-01 08:04:03 +00:00
moodler
60f8f5bf42
Don't redirect guests to mymoodle page! MDL-8594
2007-03-01 07:56:24 +00:00
nicolasconnault
df18c3141e
MDL-8693 Fixed the double-equal typos (2)
2007-03-01 07:28:20 +00:00
defacer
4edc434002
Merging from MOODLE_16_STABLE:
...
Fix for MDL-8515: Prefixing chat messages with a slash should not hide the
user's name unless it's a special command we handle.
I completely removed the emoticon handling case, but it seems like it was
not needed for a long time now? Emoticons work just fine without it.
2007-03-01 07:03:29 +00:00
martinlanghoff
3ce66e9f7b
MDL-7385 - stats_cron_daily() - If a module is missing, continue processing
2007-02-28 03:04:05 +00:00
martinlanghoff
fb3501f935
Fixing MDL-6795 - Stats never runs. stats_monthly table gets very full - avoid double tz calculations in stats_getmidnight()
2007-02-28 02:51:11 +00:00
martinlanghoff
757d66b504
Stopping warning and possible errors in graphlib.php caused by bugs in statsgraph.php
...
Ported from LDC (1.5) branch
Author: Andrew Walbran <andrew.walbran@catalyst.net.nz >
2007-02-28 00:32:16 +00:00
martinlanghoff
9861a3997a
hotpot: Fixing db upgrade script
...
Note MySQL upgrade (earlier on by version)
Author: Andrew Walbran <andrew.walbran@catalyst.net.nz >
2007-02-28 00:28:39 +00:00
martinlanghoff
e05e5d132e
(Fixing upgrade script) Only try to disable lams if it is installed
...
Author: Andrew Walbran <andrew.walbran@catalyst.net.nz >
2007-02-28 00:25:46 +00:00
martinlanghoff
6488b3be2e
blocks: Making UTF8 migration script work with blocks not on course page, etc.
...
Author: Andrew Walbran <andrew.walbran@catalyst.net.nz >
2007-02-28 00:10:12 +00:00
martinlanghoff
748e20f006
Fixing 1.5->1.7 upgrade bug (get_courses was used unnecessarily in upgrade process, and relies on roles)
...
Author: Andrew Walbran <andrew.walbran@catalyst.net.nz >
2007-02-28 00:07:22 +00:00
stronk7
da0dcaef1b
Fixing RSS link to source. http://moodle.org/mod/forum/discuss.php?d=65762
2007-02-27 18:19:47 +00:00
stronk7
9babd808f8
Fix some warnings generated after enrol because of the LAMS module. MDL-8078
2007-02-27 17:39:48 +00:00
defacer
57c07037a7
Not needing this anymore, we now have Moodle Docs.
2007-02-27 14:40:55 +00:00
defacer
2eb862ba18
Merging from MOODLE_16_STABLE:
...
Fix for MDL-4701: Event URLs now include anchor so that the event is immediately visible.
2007-02-27 14:30:33 +00:00
defacer
e5c482b517
Merging from MOODLE_16_STABLE:
...
Bugfix: skodak's fix for MDL-5991 is needed here as well.
2007-02-27 13:58:56 +00:00
defacer
61c7621b80
Changing email addresses that caught my eye in the comments.
2007-02-27 13:48:49 +00:00
defacer
595687a2f1
Fix for MDL-8402:
...
$CFG->calendar_weekdays wasn't saved correctly and misbehaved.
I took the opportunity to rewrite a little HTML too.
2007-02-27 12:17:58 +00:00
moodler
6e2e65e499
fixing wrong capability check
2007-02-27 05:48:15 +00:00
moodler
997a36bb09
fix for MDL-8666, groups import broken
2007-02-27 05:42:01 +00:00
moodler
8b03cdac79
fixing typos
2007-02-27 04:38:05 +00:00
defacer
6b0bfc914c
Bugfix: $CFG->calendar_adminseesall was not working at all, Moodle behaved
...
as if it were always on. Reported at http://moodle.org/mod/forum/discuss.php?d=65500 .
2007-02-27 00:33:18 +00:00
moodler
9f5ceda372
Automatic installer.php lang files by installer_builder (20070226)
2007-02-26 03:39:18 +00:00
mjollnir_
d550a1409b
fixing MDL-8662
2007-02-26 00:18:02 +00:00
defacer
e56a129d56
Merged from MOODLE_16_STABLE:
...
Fix for MDL-4940: Social Activities block disappears when editing course settings.
2007-02-24 23:24:43 +00:00
moodler
9a8d870765
Automatic installer.php lang files by installer_builder (20070224)
2007-02-24 03:37:11 +00:00
mark-nielsen
be724f381e
[Fixed] MDL-8637: lesson_answers answer field can be null
2007-02-23 17:27:13 +00:00
thepurpleblob
c6a0fc48df
MDL-8602
...
Don't count modules where course=0 (ie, they must exist in real courses)
2007-02-21 14:57:18 +00:00
tjhunt
61e6471fce
Another wretched adslashes problem. Roll on placeholder. Thanks to Howard Miller.
2007-02-20 15:17:45 +00:00
moodler
3ad11e88b2
fix for MDL-8568, users in modules with sepearate groups can not revert to all participants mode
2007-02-20 03:13:37 +00:00
moodler
156f63c804
applying nick's patch to MDL-8534, typo in restorelib.php
2007-02-20 01:02:32 +00:00
lamsdev
ca9de648a8
Changed from using lib/soap/nusoap.lib library directly to using lib/soaplib.php.
...
Fix for MDL-6224
2007-02-20 00:34:57 +00:00
stronk7
66d6716a02
Changing iso-8859-1 encoding of excel files to windows-1252. It adds support for
...
some more (a few) characters. MDL-7993
Merged from MOODLE_16_STABLE
2007-02-19 23:21:33 +00:00
stronk7
19906f7074
Backporting excellib with support to $CFG->excelisofiles to 17_STABLE.
...
MDL-7993. http://moodle.org/mod/forum/discuss.php?d=53302
2007-02-19 22:26:54 +00:00
skodak
b8dececceb
MDL-8570 outdate flv player; backported from HEAD
2007-02-19 13:59:12 +00:00
ethem
068be51fa0
Removed unnecesary code.
2007-02-19 12:01:54 +00:00
tjhunt
85a430d5be
MDL-8145 - Add more options to the add random questions dropdown.
2007-02-19 04:24:09 +00:00
moodler
3b00cdbff0
Automatic installer.php lang files by installer_builder (20070219)
2007-02-19 03:33:45 +00:00
koenr
9e0bad4909
MDL-8400 Changed currency of peru to Nuevo Sol
2007-02-17 23:37:03 +00:00
tjhunt
b430f84c4c
MDL-8154 - Typo in course search code. Fix thanks to Anthony Borrow.
2007-02-17 17:16:41 +00:00
vyshane
014161956c
Fix for MDL-7796 "Default permissions for Course Creators are too permissive". Changed some permissions from allow to inherit. Changed course deletion checks to allow course creators to delete courses.
2007-02-16 08:15:02 +00:00
moodler
5f842b21bd
Automatic installer.php lang files by installer_builder (20070216)
2007-02-16 03:38:46 +00:00
moodler
ca3a97b8c1
adding missing capability check for manage roles page
2007-02-16 02:39:28 +00:00
moodler
5b6af116c1
fixed wrong context, it should be possible to manage a single block
2007-02-16 01:24:30 +00:00
skodak
a9fd5db642
MDL-7722 fixed wrong cleaning in backup paths; backported from HEAD
2007-02-15 10:06:10 +00:00
moodler
2f26b36af3
Merged environment checks during upgrade from 1.8 and 1.9
2007-02-15 06:59:32 +00:00
moodler
c2fe49c5e7
Added new strings for upgrade environment checks. MDL-8527
2007-02-15 06:52:34 +00:00
vyshane
7df5ccc871
Fix for MDL-8072 - 'In the "Quiz" activity with the "Adaptive Mode" on, the "Multiple Choice" a message informing the student was penalized with the Penalty Factor is displayed when the answer given by the student is correct.'
2007-02-15 06:05:01 +00:00
stronk7
cf507be4c0
PHP 4 assignment is by value so course_header (containing edited names)
...
wasn't being modified. MDL-8298
2007-02-14 23:50:04 +00:00
skodak
9e8bc0e590
MDL-8268 fixed block get_string, patch by Mark Nielsen; backported from HEAD
2007-02-14 23:02:15 +00:00
skodak
b50965414e
MDL-8268 fixed get_user_capability_course(), patch by Mark Nielsen; backported from HEAD
2007-02-14 22:51:17 +00:00
skodak
f2592eb65e
MDL-8469 increase memory limit in cron due to changed calculation of used memory in PHP 5.2.x - the real memory useage is the same, but the reported size of used memory is now more accurate; backported from HEAD
2007-02-14 21:00:58 +00:00
vyshane
e9d837a1a2
Fix for MDL-3681 "Duplicate Message-IDs in Forum mail".
2007-02-14 07:20:18 +00:00
moodler
a650e7bb3a
Automatic installer.php lang files by installer_builder (20070214)
2007-02-14 03:49:50 +00:00
vyshane
974dde3777
Simple fix for MDL-3583 "tabs text confusing".
2007-02-14 02:54:48 +00:00
vyshane
0ba544e97d
Fix for MDL-3370. Forum: Unread messages shouldn't link to read.
2007-02-14 01:57:34 +00:00
stronk7
72395f4d2a
Some minor js problems. MDL-7811 and MDL-6481
...
Merged from MOODLE_16_STABLE
2007-02-13 23:39:21 +00:00
watcanz
74780decb8
Corrected for 1.6.4
2007-02-13 21:05:41 +00:00
skodak
f167056a18
MDL-8490 Glossary student not being able to edit entries; backported from HEAD
2007-02-13 19:29:51 +00:00
nfreear
375016e822
Fix for MDL-8507 "Local language pack-name can appear in language code" (merge from HEAD.)
2007-02-13 13:40:58 +00:00
nfreear
ec6c6dae3f
Fixes bug MDL-7257, "stylesheet bug: text color undefined" (merged from HEAD).
2007-02-13 12:12:36 +00:00
skodak
463b6cbe64
MDL-8498 Assignment - Notification of feedback e-mails to students not being sent
2007-02-13 08:41:26 +00:00
moodler
08f4e03f53
FIxes so that no-one can "login as" users who have "doanything". MDL-8411
2007-02-13 08:30:25 +00:00
vyshane
593d5992c0
Fix for MDL-8431 "In qanda forum: Undefined property: object::$id"
2007-02-13 05:24:32 +00:00
moodler
671a35735b
Automatic installer.php lang files by installer_builder (20070213)
2007-02-13 03:51:43 +00:00
toyomoyo
c7bbf43c12
fix for MDL-8480, external db user lang sync problem
2007-02-13 03:09:01 +00:00
vyshane
8dd4116941
Added get_my_courses() to forum_get_readable_forums(). Thanks Eloy for patch :-) This is related to MDL-8385. See tracker for discussion.
2007-02-13 02:22:05 +00:00
toyomoyo
821a2a750b
fix for MDL-8358, wrong count for not graded assignments
2007-02-12 06:49:37 +00:00
moodler
4351ce8a6b
Automatic installer.php lang files by installer_builder (20070212)
2007-02-12 03:51:39 +00:00
vyshane
d97feb678a
Fix for MDL-8459 (Indent left bug).
2007-02-09 05:15:52 +00:00
toyomoyo
1f49b80193
fix for MDL-8399, can not unassign admin at course level
2007-02-09 03:08:17 +00:00
vyshane
2edb2fbaf1
Fixes for MDL-8420 and MDL-8385.
2007-02-09 01:35:46 +00:00
vyshane
7aa8c1329f
Small cleanup
2007-02-09 01:27:34 +00:00
stronk7
04f64ffbe0
Limit table comments to 60cc for MySQL. MDL-7765
2007-02-09 00:32:32 +00:00
stronk7
bdc1bb3358
Delete backup records on course delete. MDL-8314
...
Merged from MOODLE_16_STABLE
2007-02-09 00:11:45 +00:00
vyshane
8e42353e0e
Added new function get_all_subcategories()
2007-02-08 08:04:35 +00:00
vyshane
1ab3830750
Removed IE-specific hack for resource deletion.
2007-02-08 05:34:44 +00:00
vyshane
45ce915b79
Updated YUI Library to 0.12.2. This seems to have fixed MDL-8287.
2007-02-08 05:30:18 +00:00
vyshane
2a28db59c3
file yahoo-dom-event.js was added on branch MOODLE_17_STABLE on 2007-02-08 05:30:57 +0000
2007-02-08 05:19:48 +00:00
vyshane
f18d2309fb
file utilities.js was added on branch MOODLE_17_STABLE on 2007-02-08 05:30:52 +0000
2007-02-08 05:19:48 +00:00
vyshane
bc516d11c1
file README was added on branch MOODLE_17_STABLE on 2007-02-08 05:30:56 +0000
2007-02-08 05:19:48 +00:00
vyshane
75ee3dfa69
file README was added on branch MOODLE_17_STABLE on 2007-02-08 05:30:51 +0000
2007-02-08 05:19:48 +00:00
vyshane
7dac46e80c
file tabview.js was added on branch MOODLE_17_STABLE on 2007-02-08 05:30:41 +0000
2007-02-08 05:19:47 +00:00
vyshane
23cbd7e82b
file tabview-min.js was added on branch MOODLE_17_STABLE on 2007-02-08 05:30:40 +0000
2007-02-08 05:19:47 +00:00
vyshane
e2612a5522
file tabview-debug.js was added on branch MOODLE_17_STABLE on 2007-02-08 05:30:40 +0000
2007-02-08 05:19:47 +00:00
vyshane
41fd2c3924
file reset-fonts-grids.css was added on branch MOODLE_17_STABLE on 2007-02-08 05:30:37 +0000
2007-02-08 05:19:47 +00:00
vyshane
7020a2ac33
file border_tabs.css was added on branch MOODLE_17_STABLE on 2007-02-08 05:30:42 +0000
2007-02-08 05:19:47 +00:00
vyshane
cf3f87a641
file README was added on branch MOODLE_17_STABLE on 2007-02-08 05:30:39 +0000
2007-02-08 05:19:47 +00:00
vyshane
2500eb7ead
file README was added on branch MOODLE_17_STABLE on 2007-02-08 05:30:37 +0000
2007-02-08 05:19:47 +00:00
thepurpleblob
0115262560
MDL-8349
Some of the overidden methods had got out of sync with parent class.
2007-02-07 11:34:53 +00:00
thepurpleblob
7c944b7cbe
MDL-8450
Added support for including question categories in a quiz export.
Also a bit of format tidy up and fix a misshandled sesskey.
2007-02-07 10:27:13 +00:00
thepurpleblob
e264752381
MDL-8450
Added support for including question categories in a quiz export.
2007-02-07 10:12:36 +00:00
thepurpleblob
075f61025c
MDL-8450
Added support for including question categories in a quiz export.
2007-02-07 09:56:57 +00:00
vyshane
085fecaf86
Changed require to require_once to fix function redeclaration error.
2007-02-07 07:08:02 +00:00
moodler
970d2432d7
Automatic installer.php lang files by installer_builder (20070207)
2007-02-07 03:34:57 +00:00
stronk7
0d8057b119
Fixed two schema-fk typos. MDL-8427
2007-02-06 15:50:03 +00:00
stronk7
2786c8fd73
Generators can use ddllib.php stuff (I missed this some days ago)
2007-02-05 17:01:37 +00:00
moodler
e1555199db
Merged site name apostrophe problem in MDL-8416
2007-02-05 06:53:22 +00:00
stronk7
6defede491
Fixing one little-little bug about user->ajax being nullable. MDL-8421
2007-02-04 20:05:09 +00:00
gbateson
47e1151f92
allow empty JQuiz questions (which have at least one answer)
2007-02-03 01:12:05 +00:00
gbateson
e8dc4c6cb1
omit empty answers from JQuiz import
2007-02-03 00:35:54 +00:00
vyshane
db8598ca48
Made default for forceloginforprofiles to be 1. Related to MDL-8385.
2007-02-02 08:13:07 +00:00
vyshane
b0252a5c00
Fix for MDL-8385.
2007-02-02 07:55:30 +00:00
moodler
47cc07674c
Added some help link text for Moodle 1.7 MDL-8378
2007-02-02 06:22:47 +00:00
moodler
29f26fd747
Added missing help file to MOodle 1.7 MDL-8378
2007-02-02 06:16:48 +00:00
moodler
9c336062b7
file switchrole.html was added on branch MOODLE_17_STABLE on 2007-02-02 06:16:48 +0000
2007-02-02 06:15:39 +00:00
mark-nielsen
594f4f574a
The main layout table was left aligning in safari. Now matches that in action/continue.html
2007-02-02 03:57:13 +00:00
moodler
3802128b59
Automatic installer.php lang files by installer_builder (20070202)
2007-02-02 03:48:09 +00:00
mark-nielsen
657ed64b03
BugFix for MDL-8390: Changing nullability of field useranswer on table lesson_attempts to null.
2007-02-02 03:42:26 +00:00
mark-nielsen
b39a349ec4
BugFix for MDL-8375:
...
* Student answer and teacher response are now cleaned using PARAM_RAW and are always passed through s() before printing
2007-02-02 02:16:59 +00:00
stronk7
8c30f7fc26
Delete some non cros-db boolean uses from queries, delegating them to PHP. MDL-8164
2007-02-01 23:53:47 +00:00
stronk7
81de99d733
Adding missing tags in code. Credit goes to Greg Lyon. MDL-8383.
2007-02-01 22:35:06 +00:00
moodler
7235680eed
$switchroleactive is now passed recursively so switchroles actually works now :-/
2007-02-01 08:11:32 +00:00
moodler
ce5a0d7b65
Automatic installer.php lang files by installer_builder (20070201)
2007-02-01 03:31:34 +00:00
skodak
89719f7030
MDL-8366 not possible to use old en with iso-8859-1 encoding in 1.7
2007-01-31 23:17:51 +00:00
skodak
1d03d41680
MDL-8376 Course list option missing in frontpageloggedin when there are more than 200 courses; backported from HEAD
2007-01-31 22:38:45 +00:00
stronk7
de161d3c49
Restoring one deleted by error }. Grrr.
2007-01-31 18:44:57 +00:00
stronk7
509b0c983d
Changing nullability of field response on table lesson_answers to null.
...
Versions in 17_STABLE are the same, so no problems. MDL-8351
2007-01-31 18:36:53 +00:00
thepurpleblob
877d109b01
MDL-8342
PHP5 migration thing causing string offset fatal error when data not present in XML file. Added some checks.
2007-01-30 15:12:49 +00:00
thepurpleblob
dc5ea21614
Changed remark about additional formats to direct to Modules & Plugins database.
2007-01-30 14:03:33 +00:00
thepurpleblob
4a08d3bac9
Output was missing utf8 meta tag.
2007-01-30 13:54:43 +00:00
stronk7
f555bfac15
nothing interesting, just a comment.
2007-01-30 00:21:22 +00:00
stronk7
5fb8a656c1
Applying new rs_xxx() functions everywhere. MDL-8134
2007-01-29 23:55:42 +00:00
stronk7
bfc8a717df
Applying new rs_xxx() functions everywhere. MDL-8134
2007-01-29 23:44:58 +00:00
stronk7
b65b99cab8
Applying new rs_xxx() functions everywhere. MDL-8134
2007-01-29 22:14:36 +00:00
koenr
296f9b6a82
typo MDL-8350
2007-01-29 20:41:08 +00:00
stronk7
7409a0e99a
Applying new rs_xxx() functions everywhere. MDL-8134
2007-01-29 19:14:49 +00:00
tjhunt
f08318d7fb
Fix type on close tag.
2007-01-29 16:22:29 +00:00
stronk7
890cdce488
Applying new rs_xxx() functions everywhere. MDL-8134
2007-01-29 12:07:14 +00:00
stronk7
5a739340da
Applying new rs_xxx() functions everywhere. MDL-8134
2007-01-29 11:20:44 +00:00
stronk7
751ad21e9c
Applying new rs_xxx() functions everywhere. MDL-8134
2007-01-29 11:05:15 +00:00
stronk7
a9a72d76f9
Applying new rs_xxx() functions everywhere. MDL-8134
2007-01-29 10:53:14 +00:00
stronk7
31e0c05036
Applying new rs_xxx() functions everywhere. MDL-8134
2007-01-29 10:44:45 +00:00
vyshane
2a0d5695b3
Made non-AJAX deletion of resources only apply to IE browsers.
2007-01-29 07:54:48 +00:00
vyshane
cf9281719f
Fix for MDL-7847.
2007-01-29 07:36:07 +00:00
mark-nielsen
8cde300d8c
Fix for MDL-8137: turned off autocomplete for all forms for which students enter data.
2007-01-29 06:32:17 +00:00
vyshane
50d1bd1c2a
Fix for MDL-7415.
2007-01-29 06:00:23 +00:00
vyshane
58cac329b7
Temporarily disabling ajax for module/resource deletions. Related to MDL-8287.
2007-01-29 02:21:12 +00:00
stronk7
011dd960f4
This seems to be the damned line! db must be CFG
2007-01-29 01:11:43 +00:00
stronk7
0389288693
First real test of the new rs_fetchXXX() functions. Applying it
...
to get_my_courses(). MDL-8134
2007-01-29 00:15:14 +00:00
stronk7
e5b094bed6
Added Oracle DIRTY HACK to both rs_fetchXX functions.
...
Detecting of EOF in rs_fetch_record()
Big improvement of rs_fetch_next_record() by using FethRow()
with speeds near native fields[]. MDL-8134
2007-01-28 23:08:14 +00:00
skodak
4a0d23143a
MDL-6128 special chars and messaging system; backported from HEAD
2007-01-28 21:46:14 +00:00
stronk7
bdd5bba791
Initial commit of the new rs_XXX() functions to fetch, advance and close
...
ADOdb recordsets in a standard way. Not finished yet but I need them in CVS.
MDL-8134
2007-01-28 20:10:33 +00:00
stronk7
1159927f08
Backported fix for annoying typo from HEAD.
2007-01-28 18:30:42 +00:00
gbateson
b9a69f5b1f
correct the display of the "Update this Hot Potatoes Quiz" button in Danish (da_utf8) and German (de_utf8) - see mdl-8322
2007-01-28 00:02:55 +00:00
moodler
947e63afb8
Automatic installer.php lang files by installer_builder (20070127)
2007-01-27 03:20:44 +00:00
skodak
d221dc7482
MDL-8308 placement of load_all_capabilities() in login page; backported from HEAD
2007-01-26 21:15:25 +00:00
stronk7
14da408e08
Adding two helper functions and modify upgrade to
...
work properly under MSSQL and Oracle. MDL-8303
2007-01-26 20:44:57 +00:00
stronk7
4ca9e54f7f
Oracle doesn't like ; at the end of execute_sql()
2007-01-26 19:25:53 +00:00
vyshane
154877b2ff
Some small cleanups.
2007-01-25 04:28:07 +00:00
vyshane
303c064224
Commented out text node addition while moving resources. No idea why it was needed? This was adding extra vertical spaces and screwing up the display after a move in IE 7.
2007-01-24 05:58:14 +00:00
gbateson
e521d0f799
added "print_standard_coursemodule_settings" (group and visible settings) to add/update HotPot page, "mod.html"
2007-01-24 02:52:14 +00:00
gbateson
4d4b237efb
remove DB dependant code and references to NULL in field values mdl-8169
2007-01-24 02:44:23 +00:00
vyshane
727929f1fa
Fixes for MDL-6966.
2007-01-23 06:10:48 +00:00
moodler
26e8b7a96e
Fixed site identifier
2007-01-23 04:59:22 +00:00
moodler
4d59b9d9fa
Automatic installer.php lang files by installer_builder (20070123)
2007-01-23 03:26:10 +00:00
stronk7
7c018f428c
Changing some stripslashes() to stripslashes_safe() because it
...
was causing some real backslashes to be lost in some qtypes. MDL-8217
2007-01-22 23:13:47 +00:00
moodler
3c3ff8ace3
Automatic installer.php lang files by installer_builder (20070119)
2007-01-19 03:22:34 +00:00
bobopinna
70c6b92b97
Fixed an error in $score initialization
2007-01-18 20:33:02 +00:00
skodak
b27229da41
do not send passowrd hashes to other sites SC#353; merged from MOODLE_16_STABLE
2007-01-17 20:10:25 +00:00
skodak
0801278026
force login in course calendar SC#349; backported from HEAD
2007-01-17 19:54:35 +00:00
moodler
d9bda8a421
Bump to post 1.7.1
2007-01-17 04:31:01 +00:00
moodler
42f8e247d2
Bump to 1.7.1
2007-01-17 04:11:14 +00:00
moodler
ed3ee5e357
Automatic installer.php lang files by installer_builder (20070117)
2007-01-17 03:21:07 +00:00
mchurch
8b4a8f616f
Fixing bug where quizzes from 1.4 will lose their answers when upgraded to later versions.
...
Fixes MDL-8207.
2007-01-16 21:31:14 +00:00
tjhunt
f470cf47b7
Fix multiple-choice multiple-answer grading code.
2007-01-16 17:50:18 +00:00
thepurpleblob
e43202e7a3
MDL-8100, defaultgrade not imported.
Question obect initialisation and value import wrong way round - whoops!
2007-01-16 12:10:40 +00:00
thepurpleblob
e70d37080c
MDL-8130 Number of improvements to check name length and improve HTML Entity handling. Thanks to Paul Ortman.
2007-01-16 11:19:49 +00:00
moodler
98d6d9288b
Automatic installer.php lang files by installer_builder (20070116)
2007-01-16 03:18:51 +00:00
vyshane
1c2ecdd3dd
Fix for MDL-8099.
2007-01-16 02:43:12 +00:00
martinlanghoff
1d94add47e
enrol/database: fix fields not read from external database MDL-7712
2007-01-15 20:00:01 +00:00
martinlanghoff
dd1ac4af5c
auth/db: fix fields not read from external database MDL-7712
2007-01-15 19:58:58 +00:00
stronk7
9982cf19c9
Avoiding some itarations. MDL-7902. Thanks Samuli!
2007-01-14 12:10:37 +00:00
moodler
7d72568ba9
Automatic installer.php lang files by installer_builder (20070113)
2007-01-13 10:22:57 +00:00
moodler
2ad6c7b8fe
Automatic installer.php lang files by installer_builder (20070113)
2007-01-12 17:49:16 +00:00
moodler
c73628d1dc
file installer.php was added on branch MOODLE_17_STABLE on 2007-01-12 17:49:16 +0000
2007-01-12 17:43:29 +00:00
vyshane
d976a7d9dc
Fix for MDL-8146. Clicking on "No" when asked to confirm deletion of a post will now always take the user back to that post in the relevant discussion.
2007-01-12 05:03:57 +00:00
moodler
2683c51739
Automatic installer.php lang files by installer_builder (20070112)
2007-01-12 03:18:54 +00:00
ethem
7262b0c5a9
MDL-7861 xhtml transient fixes for not closed input fields; Backported from HEAD
2007-01-11 10:13:14 +00:00
moodler
26be3a96c4
Very likely fix for MDL-8067
2007-01-09 04:58:46 +00:00
skodak
33ca51fbdf
backported fixes for warnings when exporting logs in excel format
2007-01-08 22:24:16 +00:00
skodak
642a7105e5
fixed options array initialisation
2007-01-08 21:55:14 +00:00
skodak
4233e8b7b6
MDL-8115 fixed $$submission typo
2007-01-08 21:42:17 +00:00
stronk7
f7352c8340
Environment checks support mysqli. MDL-8113
2007-01-08 19:53:34 +00:00
stronk7
90b7248055
Minor change to be able to install 1.7 unicode under mysqli
...
(mysqli is going to be supported only by Moodle 1.8. This is
one exception to be able to have 1.7 working in dev environments)
2007-01-08 18:59:21 +00:00
moodler
3c13c14e59
Automatic installer.php lang files by installer_builder (20070108)
2007-01-08 03:22:26 +00:00
gbateson
0cf15fb3e6
prevent backslashes being inserted before #-sign in HTML entities by converting html-entities to UTF-8 when importing from Hot Potatoes quizzes into Moodle 's standard Quiz module
2007-01-07 12:37:37 +00:00
skodak
c966aa2c71
revised adobe XSS protection SC#346 - backported from HEAD
2007-01-06 15:24:14 +00:00
thepurpleblob
d367b64be3
MDL-6769 and http://moodle.org/mod/forum/discuss.php?d=60209
the default for shuffleanswers is now set to the configured value.
2007-01-05 11:55:01 +00:00
thepurpleblob
862dd9d01a
MDL-7913
Improved category detection (again) to extract all characters.
2007-01-05 10:33:05 +00:00
thepurpleblob
675c2419d1
Added some cleaning to the category path for some safety.
2007-01-05 10:05:27 +00:00
moodler
3453faf411
Automatic installer.php lang files by installer_builder (20070105)
2007-01-05 03:31:39 +00:00
skodak
9fcb7001e6
Adobe Acrobat JavaScript Execution Bug SC#346
2007-01-04 00:05:07 +00:00
moodler
6a9c63b3c4
Strict DOCTYPE
2007-01-03 09:01:03 +00:00
moodler
f248698fed
Automatic installer.php lang files by installer_builder (20070103)
2007-01-03 03:23:27 +00:00
moodler
5510929c42
Automatic installer.php lang files by installer_builder (20070102)
2007-01-02 03:17:18 +00:00
moodler
8cbaea4f7a
Automatic installer.php lang files by installer_builder (20061231)
2006-12-31 03:20:32 +00:00
skodak
bb52c312de
MDL-7829 zipping with binary zip broken under windows when moodledata on different disk; backported from HEAD
2006-12-29 22:53:35 +00:00
skodak
152fa94009
MDL-7828 Backup with error PCLZIP_ERR_MISSING_FILE (-4) under windows when moodledata on different disk - patch by Yves Roy; backported from HEAD
2006-12-29 22:36:38 +00:00
skodak
a59462f1a4
MDL-7837 auth_ldap_bulk_insert() fails when user data contains single quotes - patch by Iñaki Arenaza; backported from HEAD
2006-12-29 21:18:37 +00:00
skodak
8f08bf55d9
MDL-8007 mimetype support for htc files, see http://support.microsoft.com/kb/306231 ; backported from HEAD
2006-12-29 20:59:36 +00:00
skodak
85c23c24f6
MDL-8021 resource "Link to a file or web site", when created, doesn't open in a new window - fixed recourse typo; backported from HEAD
2006-12-29 20:17:14 +00:00
moodler
174e5dfc05
Automatic installer.php lang files by installer_builder (20061229)
2006-12-29 03:12:45 +00:00
moodler
3ed3433efd
Automatic installer.php lang files by installer_builder (20061228)
2006-12-28 03:14:53 +00:00
martinlanghoff
6cb344928f
redirect(): fix protocol name in redirection header()
2006-12-27 01:48:22 +00:00
martinlanghoff
2c56bea007
raise_memory_limit() earlier -- resolves OOM on 64-bit platforms
...
On 64-bit platforms the in-memory footprint of our libraries is quite a bit
larger than usual, and we hit the 8MB default memory limit before we call
raise_memory_limit(). This patch moves raise_memory_limit() and
get_realsize() to setuplib so we can call them earlier, and moves the
call to _before_ we include the libraries.
On AMD64, for MOODLE_17_STABLE the footprint is about 9.5MB. Diet time? :-)
2006-12-26 22:47:36 +00:00
moodler
6ac70d87d4
Automatic installer.php lang files by installer_builder (20061226)
2006-12-26 03:17:04 +00:00
stronk7
e58d9e9f8e
Add support for multilang titles in forum->posts
2006-12-20 16:40:12 +00:00
stronk7
80f91aad31
Added one missing format_string() to post->subject
2006-12-20 09:57:08 +00:00
vyshane
fa1df4db7b
Fixed some warnings with role mappings.
2006-12-19 04:59:42 +00:00
skodak
ce499284a0
MDL-7903 Guests can not enter course that allows guests with key
2006-12-18 19:20:14 +00:00
skodak
5359b97581
MDL-7974 Weekend Days Settings Chooses Wrong Day after Saving; backported from HEAD
2006-12-18 18:08:53 +00:00
tjhunt
f3f60456ff
MDL-7975 - Make import and export of truefalse questions more reliable. Merged from MOODLE_16_STABLE.
2006-12-18 18:06:56 +00:00
tjhunt
e0e1d29889
MDL-7972 - improve GIFT import export for truefalse questions.
...
Also clean up whitespace in question/format/gift/format.php - Merged from MOODLE_16_STABLE.
MDL-7928 - Numerical question type should use * for the match anything answer - GIFT format part.
2006-12-18 16:38:02 +00:00
vyshane
42ce3dfc9f
Fix for cases where the resource being removed is the only DOM node in the section's div.
2006-12-18 06:24:53 +00:00
moodler
71338fc369
Automatic installer.php lang files by installer_builder (20061218)
2006-12-18 03:45:21 +00:00
moodler
7aae797ec1
And another bit of MDL-7961
2006-12-18 02:00:38 +00:00
moodler
c5749e312f
Fixed a backwards logic bug preventing format changes sometimes MDL-7961
2006-12-18 01:58:59 +00:00
skodak
17f32ca725
MDL-7941Installation on Windows makes reference to libgd.dll in php.ini; backported from HEAD
2006-12-17 22:26:36 +00:00
gbateson
7648eae997
Modified the README.TXT to reflect the fact that this version fo the HotPot module, v2.2.x, is only compatible with Moodle 1.7
2006-12-17 02:11:43 +00:00
tjhunt
62a29aa8e0
MDL-7928 - Numerical question type should use * for the match anything answer.
2006-12-15 18:30:14 +00:00
tjhunt
93727c9b8e
MDL-7926 - set_field_select function
2006-12-15 18:23:15 +00:00
tjhunt
b2681766d7
MDL-7925 - description question types were being created with defaultgrade = 1. It should be zero, so fix the bug, and reset any wrong ones in the database.
2006-12-15 15:41:32 +00:00
moodler
afd38cb133
Automatic installer.php lang files by installer_builder (20061215)
2006-12-15 03:19:57 +00:00
mits
d3fcae7237
Fixed a missing closing brace }.
2006-12-14 20:12:48 +00:00
tjhunt
6b66913982
Correct comment punctuation.
2006-12-14 11:45:28 +00:00
skodak
68875532e6
SC#341 fixed initilaization of navtail variable; backported from HEAD
2006-12-14 08:15:11 +00:00
vyshane
519c36a6fb
Fixes for MDL-7674.
2006-12-14 08:09:29 +00:00
vyshane
93f30556b3
Fix for MDL-7753. Credits to Andrew Walker.
2006-12-14 07:45:44 +00:00
vyshane
b3f180f91b
Added missing / in link tag
2006-12-14 04:46:32 +00:00
vyshane
ac76e8c5bf
Fix for MDL-6980.
2006-12-14 03:03:21 +00:00
tjhunt
3c4e7ea962
MDL-7602 - Multianswer question type only works with invalid HTML.
2006-12-12 08:58:25 +00:00
tjhunt
3d83f4255a
MDL-7896 - error from random question type in adaptive mode. Merged from MOODLE_16_STABLE.
2006-12-11 23:46:01 +00:00
mark-nielsen
21e5dd9414
Fix for MDL-7477
2006-12-11 18:42:10 +00:00
tjhunt
9b6b1f3afa
MDL-7886 - typo in overview report javascript.
2006-12-11 14:03:09 +00:00
toyomoyo
148c0decf6
adding missing helpfile
2006-12-11 06:28:59 +00:00
toyomoyo
0df7a3d616
removed warning
2006-12-11 05:30:25 +00:00
toyomoyo
46385c64bd
fix for MDL-7270, fixing warnings
2006-12-11 03:13:07 +00:00
skodak
91b890f705
MDL-7857 uninitialized context in mod/data/index.php; backported from HEAD
2006-12-10 20:21:58 +00:00
skodak
683b038d09
MDL-6668 Database mod search error on Postgres; patch by Lorenzo Nicora; backported from HEAD
2006-12-10 19:28:17 +00:00
skodak
a04aa7c7df
MDL-6613 Apostrophe in locked field prevents user updating profile - patch by Iñaki Arenaza; backported from HEAD
2006-12-10 17:41:12 +00:00
skodak
8e2958d1a1
MDL-7855 Sanitize field type when importing presents into data mod; backported from HEAD
2006-12-10 17:31:17 +00:00
gbateson
39d860b52d
added details of the columns in the hotpot click report table
2006-12-10 05:28:38 +00:00
moodler
7c37e6755c
Automatic installer.php lang files by installer_builder (20061210)
2006-12-10 03:06:58 +00:00
skodak
d21dbfd55d
MDL-7734 fixed warning when $course not defined when printing help button
2006-12-09 13:33:09 +00:00
moodler
723a084744
Automatic installer.php lang files by installer_builder (20061209)
2006-12-09 03:15:45 +00:00
skodak
1ace15420e
MDL-6519 Dollar ($) signs in data module text fields not preserved; backported from HEAD
2006-12-08 22:36:42 +00:00
skodak
1df5e775ff
MDL-7848 Database presets import breaks non-null restriction on description; backported from HEAD
2006-12-08 22:25:22 +00:00
mark-nielsen
b547c1396f
Added more information regarding supported file types. Related to MDL-7418 fix
2006-12-08 18:46:38 +00:00
mark-nielsen
ffbbe44116
Added lang entry for MDL-7418 fix
2006-12-08 18:45:55 +00:00
mark-nielsen
7a7056e0bb
Fixed MDL-7418: added support for images and added a default support which is that the file is available for download
2006-12-08 18:45:08 +00:00
toyomoyo
ab505564c9
fix for MDL-7766 calenar not displaying course events
2006-12-08 07:54:27 +00:00
toyomoyo
527bd0664c
fix for MDL-7819, admins still in participants list
2006-12-08 04:26:47 +00:00
gbateson
6285e5af65
abandoned attempts are now included in all reports
2006-12-08 04:18:17 +00:00
toyomoyo
792f362b93
fix for MDL-7794, inconsistent field length for city
2006-12-08 03:07:45 +00:00
moodler
db69332665
Automatic installer.php lang files by installer_builder (20061208)
2006-12-08 03:06:22 +00:00
gbateson
94a7bfecb0
fix undefined property "cr_timefinish", when viewing click report
2006-12-08 02:42:51 +00:00
toyomoyo
8665733354
fix for MDL-7592, get_course_students() bug
2006-12-08 02:21:32 +00:00
skodak
a6abb7fda7
MDL-7839 Fixed use of capabilities in database entry rating; backported from HEAD
2006-12-07 20:12:14 +00:00
toyomoyo
380199a948
implementing moodle/user:viewdetails
2006-12-07 06:08:02 +00:00
toyomoyo
2da1b09809
fix for MDL-7770, prevent users with no capability to view user profile
2006-12-07 05:05:18 +00:00
toyomoyo
a75dde8a5c
fix for MDL-7696, adding addslash for bulk messaging
2006-12-07 03:01:16 +00:00
toyomoyo
3c98b96d40
fix for MDL-7734, making help links respect course langs
2006-12-07 02:17:11 +00:00
skodak
3bd8388689
MDL-7821 wrong use of cm in data mod and added proper require_login(); backported from HEAD
2006-12-06 20:24:19 +00:00
skodak
5ceee287f3
MDL-7812 warning in sorting form in data module when no fields defined; backported from HEAD
2006-12-06 09:58:43 +00:00
skodak
319e0b4d9a
MDL-7806 Login results in fatal PHP error on enrol/database connect failure (patch by Clinton Graham); backported from HEAD
2006-12-06 09:49:55 +00:00
toyomoyo
84bed3d71b
avoid the use of deprecated functions
2006-12-06 06:24:20 +00:00
toyomoyo
381b712d96
fix for MDL-7784, reference to user_student tables
2006-12-06 06:07:19 +00:00
moodler
87c9582273
It's now impossible to access the home page if:
...
- mymoodleredirect is active, and
- you are logged on, and
- you don't have site config ability
MDL-7584 MDL-7583
2006-12-06 05:07:11 +00:00
toyomoyo
ae9910b3aa
multiple assignments should only be counted once
2006-12-06 04:26:50 +00:00
mark-nielsen
91607e97ed
Media file link was being squished. Gave it 150px space
2006-12-06 02:25:09 +00:00
moodler
71c7eb7260
Non-editing teachers should NOT have course import rights by default
2006-12-06 02:23:37 +00:00
mark-nielsen
5b6037f3ac
Fix for MDL-2006
2006-12-06 01:59:53 +00:00
tjhunt
d2ae521e17
MDL-7804 - Essay questions do not backup properly. Merged from MOODLE_16_STABLE.
2006-12-05 18:47:12 +00:00
tjhunt
11f0eb9979
Add $level parameters to each backup method. Merged from MOODLE_16_STABLE.
2006-12-05 18:14:32 +00:00
skodak
4e1af8f1b3
require_login not working properly MDL-7800; backported from HEAD
2006-12-05 09:21:39 +00:00
vyshane
a68c438d5c
Removed extra ;
2006-12-05 08:14:42 +00:00
vyshane
9a7b7e38b9
Fixed bug: cannot edit post in each user forum type.
2006-12-05 08:12:27 +00:00
moodler
43e57712eb
Clear the capability cache when adding roles to current user, just to be sure
2006-12-05 07:12:22 +00:00
moodler
55ebb7277b
Fixed last access time for my moodle, MDL-7609.
2006-12-05 06:59:34 +00:00
moodler
0ca2898178
FIx for MDL-7605 where switchroles was not working properly
...
There were two issues:
1) When switch roles is active we don't want to progress up to parents of the
course looking for capabilities
2) We need to clear the capability cache after switching roles because the
cached values may not be accurate (because of the above difference)
2006-12-05 05:39:11 +00:00
moodler
d1910944e2
Automatic installer.php lang files by installer_builder (20061205)
2006-12-05 03:22:50 +00:00
tjhunt
257343b354
MDL-7719 - Essay question feedback box too small.
2006-12-04 16:21:31 +00:00
tjhunt
7989c3edc6
Typo in help. Thanks to Ken Wilson.
2006-12-04 16:07:52 +00:00
tjhunt
accaf2e9f6
Typo.
2006-12-04 11:54:35 +00:00
skodak
15f93e462f
MDL-7767 Guests should not be able to hide course sections - section hiding is not stored in db for guests, only session is used now
2006-12-04 08:53:21 +00:00
vyshane
d628dcedd2
Fix for MDL-7760
2006-12-04 08:02:57 +00:00
moodler
8b42d3bbb7
Added new DST timezone changes for Perth, Western Australia
...
(Yes, we have joined the rest of the world with DST ... :-( )
2006-12-04 06:59:24 +00:00
moodler
c92a464165
Automatic installer.php lang files by installer_builder (20061204)
2006-12-04 03:14:45 +00:00
toyomoyo
08410ed897
stop admins from showing up in participants list
2006-12-04 03:04:04 +00:00
toyomoyo
aea1aa849b
fixed a bug where admin can't unassign himself from non admin roles at site context
2006-12-04 01:53:43 +00:00
toyomoyo
fe2f0270d3
fix for MDL-7773, restore_to options not set for creators
2006-12-04 01:13:35 +00:00
skodak
bd6cea2f98
MDL-7783 Non-internal authentication change password URL doesn't work - patch by Iñaki Arenaza; backported from HEAD
2006-12-03 20:08:03 +00:00
skodak
b13b2b54a6
MDL-7757 URL check is too restrictive, allow port; backported from HEAD
2006-12-03 10:24:59 +00:00
stronk7
5a16abc079
Dictionary name wasn't being saved, so aspell didn't worked under 1.7
...
if the setting had been edited. MDL-7762
2006-12-01 17:32:20 +00:00
thepurpleblob
0dd1864b73
Added/improved help re. switching categories in import files.
2006-12-01 16:18:02 +00:00
thepurpleblob
c23b03b50c
Improved regexp for category switch
2006-12-01 16:04:46 +00:00
skodak
c5c150c146
MDL-7234 Smilies don't load in HTML editor for some languages; backported from HEAD
2006-12-01 09:50:44 +00:00
skodak
a555df3d69
Forgotten password page does not check secret MDL-7755; backported from HEAD
2006-12-01 09:15:12 +00:00
vyshane
87b270ef6a
Added check for guest user in forum_subscribed_users. Guest user should never be subsctibed to a forum.
2006-12-01 05:20:14 +00:00
vyshane
3f8f8601e2
We check for gecko build number when deciding whether ajax should be enabled or not. This is more reliable since the advent of Iceweasel etc.
2006-12-01 03:46:02 +00:00
vyshane
ad0957be6d
Fix for MDL-7732. Patch by Andrew Walker.
2006-12-01 02:39:15 +00:00
skodak
5bdb86e23b
MDL-7749 fixed stripslashes when saving admin configuration values; backported from HEAD
2006-11-30 20:39:35 +00:00
urs_hunkler
cb55f92d17
'added clear:left and a little top distance to the htmlarea in adminsettings. If this works in all places a more general rule for all quickforms should be entered'
2006-11-30 12:10:57 +00:00
ethem
9c3d643dad
No urlencode
2006-11-30 09:14:15 +00:00
ethem
af053ebd3e
Brushed up a string.
2006-11-30 08:43:32 +00:00
ethem
f241382c56
+ More more more security.
...
* Don't show login name, password and transaction key at the configuration page.
* RC4Encrypt these fields and move to the config_plugins table from the config table.
* Config page is fully https.
Backported from HEAD.
2006-11-30 08:11:22 +00:00
skodak
055d04ad68
MDL-7741 missing ? in start php tag; backported from HEAD
2006-11-29 22:31:36 +00:00
thepurpleblob
02cac21426
Question category can now be specified in Moodle XML format.
2006-11-29 14:26:47 +00:00
thepurpleblob
ee031ca12d
Added ability to specify destination category within GIFT file.
...
MDL-4163
2006-11-29 13:33:44 +00:00
thepurpleblob
2332c5b8da
Fixed a notice. Tidied up format class call a bit. Added provision
...
for categories to be specified within import files - MDL-4163.
2006-11-29 13:30:41 +00:00
thepurpleblob
a2842bc86c
Added function to find or add a path of categories.
...
For categories specified in import files. MDL-4163
2006-11-29 13:27:40 +00:00
thepurpleblob
8d0db8766b
Help information for specifying categories in GIFT file. MDL-4163
2006-11-29 13:22:54 +00:00
thepurpleblob
746be7faee
Added strings for selecting category inside import file. MDL-4163
2006-11-29 13:06:10 +00:00
tjhunt
3b117ede45
MDL-7720 - non-unicode-safe case-insensitive string comparison in shortanswer question type.
2006-11-28 18:43:44 +00:00
tjhunt
af5f09db42
Put back spaces in code that Martin Dougiamass stripped out of the lang strings without thinking about the consequences.
2006-11-28 18:38:59 +00:00
nfreear
48988ba271
Fix for MDL-6685 (and MDL-7122 "breadcrumb separator missing").
2006-11-28 15:25:00 +00:00
thepurpleblob
1060c5998e
Fix for MDL-7703 - scope problem sorted by moving all functions inside the class
...
Also fixed a bunch of notices
2006-11-28 15:13:25 +00:00
thepurpleblob
9f5d13105d
Examview 'SA' type questions now supported. Maps to Essay questions
2006-11-28 11:49:58 +00:00
thepurpleblob
777816e6c7
Fixed typo and a notice when question type is not supported.
2006-11-28 09:25:52 +00:00
mark-nielsen
0e0fd96278
Fix for MDL-7707. Also had to update index.php to show students the same score as in the gradebook.
2006-11-28 05:45:52 +00:00
mark-nielsen
5aa3fe9c10
Missing help file from MDL-7352
2006-11-28 03:54:34 +00:00
mark-nielsen
882a1343ab
[Fixed] MDL-7614
2006-11-28 03:39:52 +00:00
moodler
cb48f665eb
Automatic installer.php lang files by installer_builder (20061128)
2006-11-28 03:17:33 +00:00
moodler
0a786db090
Better checks when loading datamodel
2006-11-28 03:02:38 +00:00
moodler
e9dec637ff
the version was blank on a package I tried ... this now gives it some sort of
...
reasonable default (scorm_12)
2006-11-28 02:50:37 +00:00
skodak
954e74f2dd
Broken handling of magic quotes in admin settings and set_config in general MDL-7668; backported from HEAD
2006-11-27 08:48:52 +00:00
vyshane
dc3906acce
Fix for MDL-7676
2006-11-27 04:48:06 +00:00
ikawhero
4fc9ea71f9
Added missing string
2006-11-27 04:05:40 +00:00
vyshane
abe58b4a43
Fix for MDL-7682
2006-11-27 03:21:26 +00:00
moodler
662231384d
Automatic installer.php lang files by installer_builder (20061127)
2006-11-27 03:16:41 +00:00
skodak
c76465c42b
MDL-7631 Incorrect grading when Each attempt builds on the last and questions on more than one page; backported from HEAD
2006-11-26 23:02:06 +00:00
skodak
e2a73d8a93
Double quotes breaking short answers in a multianswer/cloze question MDL-6676; backported from HEAD
2006-11-26 21:58:31 +00:00
skodak
7764cd6cc7
incorrect table width in Exercise MDL-7690; backported from HEAD
2006-11-26 21:38:03 +00:00
stronk7
0a870ce21a
Typo causing continue button in closed quizzes to fail. MDL-7685
2006-11-25 17:12:06 +00:00
moodler
55be7faa95
Automatic installer.php lang files by installer_builder (20061125)
2006-11-25 03:21:13 +00:00
skodak
60afff1419
Fix course overview graph broken by notices MDL-7680; backported from HEAD
2006-11-24 18:32:38 +00:00
thepurpleblob
1c8d340d1b
Added note that : is a control character and can be escaped.
2006-11-24 13:02:07 +00:00
thepurpleblob
31d3c58089
Colon characters in GIFT files can now be escaped.
...
Resolves MDL-6915
2006-11-24 12:02:08 +00:00
moodler
4a900a1e3b
fix for MDL-7448, added enableForm() call to prevent chat lock up. Thanks Kok Chee Kean!
2006-11-24 04:17:15 +00:00
toyomoyo
2564d898d3
fixing a warning
2006-11-24 01:59:48 +00:00
skodak
cea03e39c7
Missing s() on current value in admin_setting_configtext class MDL-7666; backported from HEAD
2006-11-23 21:01:23 +00:00
skodak
e38e49335c
Students cannot enrol with PayPal plugin when using PHP4 MDL-7529; backported from HEAD
2006-11-23 20:17:23 +00:00
ethem
8d137d3be6
We are expecting multiple records!
2006-11-23 16:26:07 +00:00
moodler
766b1926ed
Removed two unenecessary lines from a cut-and-paste
2006-11-23 09:09:28 +00:00
vyshane
842721d87f
Fixed bug in IE for resources/activities indentation.
2006-11-23 08:35:19 +00:00
moodler
247147c8dd
Automatic installer.php lang files by installer_builder (20061123)
2006-11-23 03:12:06 +00:00
urs_hunkler
75108f21ad
'removed overflow:hidden because there are some display issues on some pages. min-width: 0 is enough to trigger IE7 hasLayout to avoid collapsing divs'
2006-11-22 20:37:38 +00:00
urs_hunkler
9fa06fc780
'removed overflow:hidden because there are some display issues on some pages. min-width: 0 is enough to trigger IE7 hasLayout to avoid collapsing divs'
2006-11-22 20:37:14 +00:00
vyshane
ed90d891a1
Fix for MDL-7627. Credited to Andrew Walker.
2006-11-22 08:25:24 +00:00
ethem
d8f6207bee
MDL-7642
2006-11-22 08:18:06 +00:00
vyshane
381fd47442
Added POST connection for left and right indents.
2006-11-22 07:37:59 +00:00
vyshane
f868caa529
Added indent left and indent right for resources
2006-11-22 07:35:53 +00:00
vyshane
4378a0456e
Code for ajax indentation of activities and resources.
2006-11-22 07:01:16 +00:00
skodak
f829d4a446
Social activities block always appears in edit mode to admin without turning editing on MDL-7639
2006-11-21 20:35:04 +00:00
urs_hunkler
b49d086945
ajax move icon added
2006-11-21 13:50:45 +00:00
toyomoyo
0aa07c2fa0
adding capability checks
2006-11-21 05:31:03 +00:00
toyomoyo
4d15a1932a
fix for MDL-7426, remove teacher.php link
2006-11-21 04:44:35 +00:00
vyshane
c2540e76e1
Added class names in the html output for editing mode buttons. These will be used as hooks in the ajax course formats.
2006-11-21 04:22:47 +00:00
vyshane
c3c4013f08
Editing mode buttons now check for class names instead of titiles when searching for the buttons to be 'ajaxified'.
2006-11-21 04:20:17 +00:00
vyshane
210deee299
Fixed button spacing.
2006-11-21 04:13:58 +00:00
toyomoyo
9c71a2396b
fix for MDL-7540 wrong usage of context levels
2006-11-21 03:22:33 +00:00
moodler
6ba16921db
Automatic installer.php lang files by installer_builder (20061121)
2006-11-21 03:19:26 +00:00
toyomoyo
245505f928
removing hardcoded auth method "ldap"
2006-11-21 02:08:13 +00:00
tjhunt
d086c991ee
Fix column names - backported from head.
2006-11-20 18:04:24 +00:00
skodak
c8c625a0be
bellow spelling fixed; backported from HEAD
2006-11-20 17:40:45 +00:00
skodak
a71dd3f315
Advanced uploading of file interface typo MDL-7628; backported from HEAD
2006-11-20 17:36:26 +00:00
ethem
a40fe0a766
Daily echeck order notification
2006-11-20 14:53:17 +00:00
skodak
b2a39ba822
fixed problem with apostrophe in role names and description when creating roles during install and restore MDL-7611; backported from HEAD
2006-11-20 14:11:39 +00:00
ethem
845c5d725b
Help file: Uploading Authorize.net CSV file
2006-11-20 13:47:53 +00:00
skodak
ac12e36125
PARAM_PATH can be used only for relative paths, there is no parameter type for absolute paths that would be compatible with win32 - use PARAM_RAW for now, add file_exists validation later MDL-7617; backported from HEAD
2006-11-20 13:35:36 +00:00
thepurpleblob
08a7bbc9ff
Various improvements to Examview input.
...
Fixes MDL-7087 and MDL-7349. Partial fix for MDL-7184 (Examview part)
2006-11-20 13:00:34 +00:00
ethem
52b0b2684c
Reference Transaction ID refers enrol_authorize.transid, not enrol_authorize_refunds.transid
2006-11-20 11:14:08 +00:00
ethem
7c96968699
It is time to refund for echeck (business checking).
2006-11-20 09:54:44 +00:00
ethem
c629a2ef7f
It is time to refund for echeck (business checking).
2006-11-20 09:54:44 +00:00
vyshane
d500edf243
Removed subclass activity_class. The only logic in that class was for handling of groupmode buttons. These are now handled in resource_class.prototype.init_buttons() and resource_class.prototype.toggle_groupmode().
...
We basially look at whether the button is present in the html output, and if it is, we add it to the ajax frontend. We do not make the distinction that activities should have the button (as opposed to resources). The advantage is that some activities might not have groupmode.
This fixes MDL-6916.
2006-11-20 09:18:33 +00:00
vyshane
b666f6f3aa
Passing some more language strings to ajax frontend. Part of the fix for MDL-6916.
2006-11-20 09:15:24 +00:00
ethem
f66e4015b8
Business checkings can be refunded only for echeck method. Not saving nor checking.
2006-11-20 08:07:42 +00:00
vyshane
a84533fee3
Fix for MDL-7620
2006-11-20 02:28:07 +00:00
tjhunt
b49beecf63
Fix function arguments.
2006-11-19 21:28:11 +00:00
moodler
74b111bc7f
Automatic installer.php lang files by installer_builder (20061119)
2006-11-19 03:13:23 +00:00
stronk7
a8c5a14b7c
Prevent some false-positives detecting uses of old user_XXX tables.
...
See http://moodle.org/mod/forum/discuss.php?d=58976
2006-11-18 20:25:52 +00:00
stronk7
f9ad31d809
PHP generated code must use $result instead of $status. MDL-7533
2006-11-18 19:02:13 +00:00
stronk7
db26bf99f5
PHP generated code must use $result instead of $status. MDL-7533
2006-11-18 18:51:42 +00:00
gbateson
e4857c41fb
fix sort order of questions in legend, which caused mismatch between question numbers used in Detailed Statistics report and those used in the legend
2006-11-18 08:54:00 +00:00
moodler
37d9720b15
Automatic installer.php lang files by installer_builder (20061118)
2006-11-18 03:14:19 +00:00
ethem
24e6ae8cc6
MDL-7533
...
Use $result instead of $status
2006-11-17 17:23:00 +00:00
ethem
e31d492145
Changed db column(cclastfour) as refundinfo.
...
Because this field will be used to refund both cc and echeck.
Business checkings can be refunded, too; so mark as 1 this field for business checkings.
That is; refundinfo: is last four digit for credit cards, business checking for echecks.
2006-11-17 15:42:25 +00:00
vyshane
e5708be88c
Formatting cleanups.
2006-11-17 09:07:30 +00:00
ethem
c34713bfca
Business checks can be refunded. Point a flag for it. The cclastfour field will be renamed to refundinfo later.
2006-11-17 06:53:36 +00:00
vyshane
364f72aa05
Fix for MDL-7574.
2006-11-17 05:51:37 +00:00
moodler
4e5d63c403
Renamed function name that conflicted with PHP function MDL-7594
2006-11-17 04:02:11 +00:00
moodler
79bad718b6
Automatic installer.php lang files by installer_builder (20061117)
2006-11-17 03:13:25 +00:00
vyshane
01ed826fff
Fix for MDL-7563. Added call to removeFromGroup() from block_class.delete_button(). Thanks Andrew Walker for the patch!
2006-11-17 02:56:58 +00:00
moodler
d842884534
Removed B) smiley MDL-7589
2006-11-17 02:10:46 +00:00
tjhunt
b51bfdd111
Typo in function name.
2006-11-16 16:45:55 +00:00
ethem
db47e0ffbb
choosemethod is too long for heading, added <br />
2006-11-16 14:16:20 +00:00
tjhunt
ceab443d08
MDL-7576 - review link does not work after attempt is closed. Thanks to Chad Badiyan for the fix.
2006-11-16 12:43:00 +00:00
vyshane
5675d86412
Changed http requests to uppercase: post to POST, delete to DELETE.
2006-11-16 05:29:16 +00:00
toyomoyo
ad0d007abd
fixed a problem where user is not shown when the user has not visited a course page. changed get_user_roles to take in additional parameter
2006-11-16 05:16:07 +00:00
vyshane
69e5d0ef95
Fix for MDL-7293. Added new function blocks_move_block() to replace blocks_execute_repositioning_atomic(). Reverted blocks_execute_repositioning() to what it was before the changes made whenblocks_execute_repositioning_atomic() was introduced.
2006-11-16 03:23:05 +00:00
vyshane
f32f831749
Fix for MDL-7224. Switched from blocks_execute_repositioning_atomic() to blocks_move_block() for moving blocks.
2006-11-16 03:11:05 +00:00
vyshane
cdd0bfcc1a
MDL-7293. Switching the order of the classes around
2006-11-16 02:21:01 +00:00
skodak
6153b68ff9
Response file not uploading when grading student submission when using secureforms MDL-7566
2006-11-15 20:56:23 +00:00
skodak
716f1ef9f1
Broken next button when grading assignments MDL-7569
2006-11-15 19:38:07 +00:00
tjhunt
101fb762f1
MDL-7428 - Quiz regrade removes student answers from essay questions that have been graded. Merged from MOODLE_16_STABLE.
2006-11-15 17:32:54 +00:00
tjhunt
368cc39e7e
MDL-7567 Numerical questions occasionally mix up the order of their answers. Merged from MOODLE_16_STABLE.
2006-11-15 16:56:02 +00:00
tjhunt
806b78fd12
MDL-7309 Add error checking to the Quiz DB upgrade script. This should prevent the mysterious failures that some people are seeing when upgrading quizzes from 1.5.x to 1.6.x. Merged from MOODLE_16_STABLE.
2006-11-15 12:58:00 +00:00
vyshane
6c619b41c8
Doh.. Should be a string
2006-11-15 08:33:24 +00:00
vyshane
f02f53f09b
Fix for MDL-7192. Added camino check.
2006-11-15 08:10:14 +00:00
vyshane
c4acc71042
Added Camino check in check_browser_version()
2006-11-15 08:06:20 +00:00
toyomoyo
a5fe571a1c
adding missing fields
2006-11-15 06:27:53 +00:00
toyomoyo
9fa998f63b
replacing deprecated functions
2006-11-15 06:22:28 +00:00
toyomoyo
4b6776536a
fix for MDL-6928, correcting auth_iscreator check
2006-11-15 03:36:07 +00:00
vyshane
b7a99c865f
Fix for MDL-7293
2006-11-15 03:34:09 +00:00
vyshane
059c9be198
Fix for MDL-7293. We do not block_add() blocks that are pinned - for the ajax course formats.
2006-11-15 03:29:59 +00:00
moodler
f132783767
Automatic installer.php lang files by installer_builder (20061115)
2006-11-15 03:17:44 +00:00
vyshane
26ee0fa9cd
Small css selector change to accomdate fix for blocks move handle (should not be shown for pinned blocks in ajax course format). Thanks to Andrew Walker for suggested fix.
2006-11-15 02:41:17 +00:00
vyshane
d3c653c13f
Fix for move handle. The move handle should not be added for pinned blocks. See MDL-7293. Suggested fix by Andew Walker.
2006-11-15 02:39:46 +00:00
skodak
1f6823d18f
MDL-7536 add proper slashing to data from paypal callback; backported from HEAD
2006-11-14 21:24:14 +00:00
moodler
4d833069bd
Initial commit of gu_utf8 installer file
2006-11-14 19:57:27 +00:00
moodler
03b17f7a0d
file installer.php was added on branch MOODLE_17_STABLE on 2006-11-14 19:57:26 +0000
2006-11-14 19:52:55 +00:00
stronk7
5b549b306d
while working, it's better to compare with original data (un-slashed)
2006-11-14 16:27:20 +00:00
tjhunt
6c9ac19b6f
MDL-7531 Fix SQL that does not work in Oracle. Thanks to Mark Hetherington for the fix.
2006-11-14 15:40:29 +00:00
vyshane
83523cccd6
MDL-7284
2006-11-14 05:33:37 +00:00
vyshane
4846e7e856
Fixed javascript error that occurs during the appending of block buttons. Some code formatting cleanups as well.
2006-11-14 05:03:14 +00:00
vyshane
ad9c1a9966
Fix for MDL-7440. Suggested by Andrew Walker.
2006-11-14 03:05:38 +00:00
vyshane
67c80485b9
Fix for MDL-6969. Patch by Andrew Walker.
2006-11-14 02:04:26 +00:00
stronk7
b764301306
Set Assoc mode always after DB connection. Discovered by MDL-7443.
2006-11-13 22:58:59 +00:00
stronk7
993c547bd6
Fetchmode needs to be explicity set to ASSOC. Plus 1 missing library
...
added. MDL-7443
2006-11-13 22:44:54 +00:00
skodak
558bfc50fe
MDL-7389 paypal plugin reports error when student correctly enrolled
2006-11-13 22:25:14 +00:00
exe-cutor
dc13c4f8a3
User capabilities are now properly loaded.
2006-11-13 11:52:18 +00:00
ethem
d485515725
Align right upload csv button.
2006-11-13 08:39:58 +00:00
ethem
f8a7befdd5
New feature: Show my payments only for users who has_capability('enrol/authorize:managepayments')
2006-11-13 07:55:31 +00:00
ethem
ad5cbccfd3
New feature: Show my payments only for users who has_capability('enrol/authorize:managepayments')
2006-11-13 07:43:49 +00:00
vyshane
f07794ae81
Added error message string
2006-11-13 07:35:49 +00:00
vyshane
9930ae9e6b
$SITE is not needed
2006-11-13 07:34:18 +00:00
vyshane
6bcb0ad140
Fix for MDL-7461. Related to MDL-7383. We still show the add discussion button to guests, but only if we are not in the site news.
2006-11-13 07:28:34 +00:00
ikawhero
78066f113a
Replacing with working image
2006-11-13 06:29:29 +00:00
vyshane
e2e91ea8ce
Fixes for MDL-7461. Removed checks for legacy guest capability as well (redundant).
2006-11-13 06:02:49 +00:00
toyomoyo
3b0b90d5c1
fix for MDL-7441 wrong size for roles icon
2006-11-13 05:42:43 +00:00
vyshane
ad890b4490
Fix for MDL-7383. Edit and Delete links aren't shown when printing posts if the user should not be able to do these (checks were already done in post.php as well).
2006-11-13 03:14:58 +00:00
stronk7
ea369699c4
This change wan't backported from HEAD and was causing unicode test
...
to fail always, showing some incorrect info to users. MDL-7475
2006-11-12 19:33:14 +00:00
ethem
87db2759da
Merge fix
2006-11-12 13:23:34 +00:00
ethem
6bd4ab8c5e
Get course before require_login(); Merged from 16stable.
2006-11-12 13:21:11 +00:00
moodler
c887b2c522
Prevent admins from unassigning themselves MDL-7462
2006-11-12 06:10:47 +00:00
moodler
02f54468a8
Automatic installer.php lang files by installer_builder (20061112)
2006-11-12 03:12:32 +00:00
moodler
d9316decdd
Automatic installer.php lang files by installer_builder (20061111)
2006-11-11 03:17:37 +00:00
urs_hunkler
39cc4b9f1a
'added 11x11 size for roles icon in sideblock commands bar'
2006-11-10 12:33:15 +00:00
urs_hunkler
9cd9700ad6
changed icons
2006-11-10 12:31:29 +00:00
moodler
6c9ceb3c2e
Automatic installer.php lang files by installer_builder (20061110)
2006-11-10 09:49:15 +00:00
urs_hunkler
d52eafd9ae
roles icon added
2006-11-10 09:01:03 +00:00
toyomoyo
14f409f698
fields should be backed up regardless of whether userdata is selected
2006-11-10 04:17:02 +00:00
toyomoyo
762b68827e
fields should be restored regardless of user data is selected or not
2006-11-10 04:10:11 +00:00
moodler
c4257b0ff9
Automatic installer.php lang files by installer_builder (20061110)
2006-11-10 03:18:38 +00:00
skodak
76e4168089
code improvement in count_courses_notin_metacourse() MDL-7424 - thanks Eloy! backported from HEAD
2006-11-09 23:36:07 +00:00
skodak
a58e869ce2
Child courses import list empty MDL-7424; added new count_courses_notin_metacourse() function, the old one was kept for BC; backported from HEAD
2006-11-09 21:14:20 +00:00
moodler
8798f3049f
FIxed problem where capability forum:nothrottling was not fully renamed and
...
was thus left useless. MDL-7414
2006-11-09 09:26:32 +00:00
toyomoyo
0d163e9ece
category page cleaning, MDL-7409
2006-11-09 06:21:06 +00:00
moodler
cb7e142c73
Bumping post 1.7
2006-11-08 16:46:44 +00:00
moodler
17e05203ff
Patch from Stefano Bagnatica, MDL-7121 (missing header)
2006-11-08 15:29:21 +00:00
moodler
92ac252418
Fix for missing "reply" links for guests doh! MDL-7393
2006-11-08 09:42:41 +00:00
toyomoyo
c9dc31afe8
fix upgrading from 1.6 not redirecting problem
2006-11-08 06:23:06 +00:00
toyomoyo
493dd6c934
fix for MDL-6788, reformating blog edit page
2006-11-08 05:14:13 +00:00
toyomoyo
a2adf92023
fixing wrong default gradebook role when upgrading from < 1.7
2006-11-08 02:41:58 +00:00
koenr
005072a3ef
MDL-7379 typo
2006-11-08 00:03:43 +00:00
watcanz
8bed6c33cd
Updated for 1.6/1.7
2006-11-07 13:49:18 +00:00
mudrd8mz
0ac7fcd7da
Fixed bug MDL-7361 (creates $CFG->dataroot/lang if it does not exist).
2006-11-07 12:52:13 +00:00
moodler
8aec60b652
Fix for emoticon icon size MDL-7375
2006-11-07 12:49:07 +00:00
moodler
d4f4fa2abe
Better check for mssql, to cope with ODBTP (thanks, Eloy!)
2006-11-07 12:38:55 +00:00
moodler
7620c403ec
Tweaked some strings for Unicode upgrade info
2006-11-07 09:29:06 +00:00
moodler
df1a564fa6
Bumped to 1.7
2006-11-07 09:10:54 +00:00
skodak
e20fd196ce
new unicode environment check for 1.8 and 1.7 MDL-6332
2006-11-07 09:03:37 +00:00
toyomoyo
fd10b9422d
fixing MDL-6855 4b) changing not null to true for defaultrole
2006-11-07 08:58:53 +00:00
moodler
80f7504f86
New tags
2006-11-07 07:16:50 +00:00
toyomoyo
a203cb09be
fixing wrong comment
2006-11-07 03:12:33 +00:00
moodler
131015e234
Automatic installer.php lang files by installer_builder (20061107)
2006-11-07 03:12:00 +00:00
moodler
8494b4356c
Temporary fix to hide simpletest when unsupported databases are active MDL-7337
2006-11-07 02:52:38 +00:00
mjollnir_
3b1bd3405b
fixed the journal upgrade. renaming a null column to not null is unhappy
2006-11-07 00:09:18 +00:00
skodak
d4e2861046
prevent duplicate content in search engines MDL-7299
2006-11-06 21:48:04 +00:00
koenr
008809ad21
MDL-7328 - miner fix on quotes
2006-11-06 21:27:19 +00:00
skodak
89a750dbeb
better param handling SC#331
2006-11-06 20:33:54 +00:00
moodler
c0db85f0b2
Fix for googlebot detection ($USER was never empty)
2006-11-06 17:53:50 +00:00
stronk7
ef02670d09
Simple bump
2006-11-06 17:43:28 +00:00
stronk7
7764e1afe0
And, finally, IE is able to display IMS packages properly! B-)
...
One of the worst to solve bugs in my life! MDL-6417
2006-11-06 17:20:11 +00:00
moodler
2c36ba5bb8
Fixed up the URL after posting (too many #hash)
2006-11-06 16:28:20 +00:00
moodler
1f046e1625
Added upgrade_language_pack() for upgrade in non-english MDL-7351
2006-11-06 12:46:17 +00:00
toyomoyo
31a8a7e4e1
taking out warning
2006-11-06 08:26:56 +00:00
toyomoyo
120f722403
fixing capability of block contexts
2006-11-06 06:15:11 +00:00
toyomoyo
2854559b92
taking out extra isteahcer()
2006-11-06 02:32:35 +00:00
skodak
696d638772
MDL-7176 fixed comment
2006-11-05 18:27:03 +00:00
moodler
2e0b0c94f8
Dan's fix from MDL-7263
2006-11-05 12:39:39 +00:00
moodler
d6070215b8
Checked in Dan's fix for MDL-7266 ... missing string
2006-11-05 12:25:32 +00:00
stronk7
7ca5f47dcb
modify_database() will show the deprecated debugging after 2006101007
...
(Moodle 1.7 release version) MDL-5919
2006-11-05 09:44:05 +00:00
moodler
008c431636
DOn't show reply links to logged-in users if they can't reply
2006-11-05 09:34:09 +00:00
moodler
17e44aad44
Fix loginas at site level
2006-11-05 06:43:34 +00:00
moodler
cad170cba8
Automatic installer.php lang files by installer_builder (20061105)
2006-11-05 03:16:55 +00:00
stronk7
b215544c31
Now GD is checked before displaying course overview graphs. MDL-7204
2006-11-04 23:28:51 +00:00
wildgirl
5d10e3f43d
MDL-6474 fix
2006-11-04 22:21:00 +00:00
wildgirl
354cd59314
file langswitchstorage.html was added on branch MOODLE_17_STABLE on 2006-11-04 22:21:00 +0000
2006-11-04 21:56:42 +00:00
stronk7
1ede3a6712
Now all the get_records() functions support only one field
...
to be specified in the SELECT clause. Not needed anymore to
write double "SELECT id, id..." queries. Results returned
follow exactly the same structure than normal recordsets
(first field = key) MDL-5877
2006-11-04 16:59:52 +00:00
stronk7
8558e34ed5
Deprecating modify_database(). It shows debugging info
...
if release > 2006101004 (Beta2 +01) MDL-5919
2006-11-04 16:21:30 +00:00
moodler
614b05ec8b
Bump release name to Beta 2
2006-11-03 16:32:45 +00:00
sam_marshall
ed2bc33154
MDL-7344 Change 'import child course' timeout to 180 seconds per course because role creation takes a while for thousands of users.
2006-11-03 14:37:41 +00:00
ethem
1ab501974f
Show site name at top when selecting courses.
2006-11-03 12:39:48 +00:00
ethem
87753e76d1
Get payment managers at COURSE level.
2006-11-03 12:04:57 +00:00
ethem
0b06840128
get_teacher() to get_users_by_capability(). Merged with HEAD.
2006-11-03 11:28:26 +00:00
toyomoyo
9abc42b262
fix for MDL-7300, mssql not null problem
2006-11-03 08:45:44 +00:00
moodler
90080d990a
FIxed some problems with blog entries when not logged in (eg rss)
2006-11-03 08:37:46 +00:00
toyomoyo
e7fcbec49e
fix for MDL-7300, mssql query error on group creation
2006-11-03 08:17:33 +00:00
urs_hunkler
1576c4d233
'CSS update, mainly for MDL-7330'
2006-11-03 07:44:44 +00:00
urs_hunkler
6ac068ae5c
'CSS update, mainly for MDL-7330'
2006-11-03 07:44:17 +00:00
toyomoyo
7074cb559f
fix for MDL-7031, removing control tags from add template
2006-11-03 03:26:33 +00:00
moodler
9138c1f9a8
Automatic installer.php lang files by installer_builder (20061103)
2006-11-03 03:06:18 +00:00
stronk7
98ed0ea1af
Ending fied/key/index PHP generators.
2006-11-02 23:07:44 +00:00
stronk7
6abfa47012
Enablig rename_table() PHP generator
2006-11-02 22:43:16 +00:00
bobopinna
59b08215b2
removed white spaces
2006-11-02 15:55:56 +00:00
bobopinna
c7c1adeb8d
Fixed a small problem with whatgrade field
2006-11-02 15:19:40 +00:00
bobopinna
9230c9417b
Added a missing variable definition
2006-11-02 15:17:48 +00:00
bobopinna
23f0f6f72d
Fixed a storic problem with & in prerequisites definition
...
Now finally Moodle has a complete aicc_script conformity with SCORM 1.2
2006-11-02 15:15:06 +00:00
bobopinna
7eb1d32847
Fixed several RegExp to fit ADL Test Suite
2006-11-02 15:12:49 +00:00
bobopinna
fadb4b239b
Removed isadmin() calls
2006-11-02 15:10:20 +00:00
ethem
f319b5bf61
Fix for enrolurl(admin/users.php).
2006-11-02 13:22:49 +00:00
toyomoyo
4a373dbaf9
fix for MDL-6721, wiki broken for SPG
2006-11-02 08:49:55 +00:00
moodler
c612f884dc
Petr's patch for MDL-7327 to modify require_capability login a bit
2006-11-02 08:11:39 +00:00
toyomoyo
b543159952
fixing paging bar problem
2006-11-02 05:53:28 +00:00
toyomoyo
667fdd514e
fix for MDL-7140, duplicate course name in header
2006-11-02 03:16:50 +00:00
moodler
951f480ab9
Automatic installer.php lang files by installer_builder (20061102)
2006-11-02 03:07:13 +00:00
toyomoyo
bcbb41a0fa
fix for MDL-7112 select distinct on text fields
2006-11-02 02:16:52 +00:00
toyomoyo
ba39176b59
fix for MDL-7112 select distinct on text fields
2006-11-02 02:09:42 +00:00
toyomoyo
4305306220
fix for MDL 7112 select distinct on text field
2006-11-02 02:01:58 +00:00
skodak
8864d0f442
hack for problems with concurrent use of $nomoodlecookie and capabilities in RSS feeds, see MDL-7243 - it should be replaced once we get to codes in urls
2006-11-01 21:02:11 +00:00
ethem
741162fbbe
Make authorize.net config page secure.
...
See: http://moodle.org/mod/forum/discuss.php?d=56728
Merged with HEAD.
2006-11-01 13:02:00 +00:00
ethem
f1e4622ccb
Make authorize.net config page secure.
...
See: http://moodle.org/mod/forum/discuss.php?d=56728
Merged with HEAD.
2006-11-01 12:46:19 +00:00
stronk7
4241549aed
in/on/at too many ways to say "en" in Spanish. :-P
2006-11-01 11:51:13 +00:00
moodler
9e0d96f36b
Tidied up string files
2006-11-01 09:37:06 +00:00
moodler
7e5b0b4e9c
Clean up strings
2006-11-01 09:26:54 +00:00
moodler
9be2fc8f19
Cleaned up data.php
2006-11-01 09:24:15 +00:00
moodler
f8cbf4713a
Cleaned up language file
2006-11-01 09:19:21 +00:00
moodler
1a7d693572
Sorted and cleaned up this file
2006-11-01 09:18:04 +00:00
moodler
31922db550
Sorted and cleaned up language files
2006-11-01 09:15:50 +00:00
moodler
3cf94d16ed
Added some strings that had been deleted MDL-6645
2006-11-01 09:14:24 +00:00
moodler
ae471b7ab6
An untested patch for MDL-7211 to fix firstclass hole
2006-11-01 06:54:07 +00:00
moodler
f00c241f7d
Fixed SQL for Oracle (forum searching) MDL-7317
2006-11-01 06:29:08 +00:00
toyomoyo
cbd20ae8ba
fix for MDL-6928 LDAP course creation capability error
2006-11-01 03:50:21 +00:00
toyomoyo
7bbe252c59
restore fix for supporting pre granular version of moodle backups
2006-11-01 03:31:02 +00:00
skodak
a7d6e5b0f7
fixed notice during restore
2006-10-31 22:45:28 +00:00
skodak
e4edbb9e0b
Fix errors in quiz overview download MDL-7316
2006-10-31 22:17:50 +00:00
skodak
80895066a2
fixed incorrect use of require_capability() in lesson mod MDL-7314
2006-10-31 22:01:24 +00:00
skodak
40385816cd
fixed gradebookroles cfg default value MDL-7253
2006-10-31 21:51:20 +00:00
skodak
1be6adbd3e
fixed capabilities in chat recent activity, removed broken optimization from message insert, fixed closing of box MDL-7313
2006-10-31 21:05:05 +00:00
stronk7
d416d809a1
Prevent +/- operators (REGEXP) on glossary searches for MSSQL and Oracle. MDL-7312
2006-10-31 20:33:25 +00:00
skodak
bf3c381651
fixed group related typo in has_capability()
2006-10-31 20:22:52 +00:00
stronk7
9338d432f9
Prevent +/- operators (REGEXP) on messages search. MDL-7312
2006-10-31 20:21:13 +00:00
stronk7
b2ef8fc07e
transform TOKEN searches into STRING searches and trim +- chars. MDL-7312
2006-10-31 20:15:23 +00:00
stronk7
53ff8d79ee
Prevent +/- operators (REGEXP) on course searches for MSSQL and Oracle. MDL-7312
2006-10-31 19:53:25 +00:00
skodak
ed55a25fd5
Commented out session dump in user profile when in debug mode MDL-7311
2006-10-31 19:31:26 +00:00
ethem
c92727ae6b
Show notice at bottom. Merged with HEAD.
2006-10-31 19:28:18 +00:00
stronk7
5cc8148eb8
Fixed searches, list of results and simplified SQL logic. All
...
those while trying to fix one LCASE() use. MDL-7310
2006-10-31 19:15:30 +00:00
danmarsden
92b2d0f2dd
MDL-7171 Location of guest form should be above results - where the form for submitting results would appear.
2006-10-31 18:59:38 +00:00
stronk7
ec27637e08
Now wiki supports Unicode searches
2006-10-31 17:47:52 +00:00
tjhunt
319047dfb1
Improved help file as per Ralf Hilgenstock's suggestion: http://moodle.org/mod/forum/discuss.php?d=57400
2006-10-31 15:12:56 +00:00
moodler
67145bac78
Improved display of grades when grades should not be shown MDL-7150
2006-10-31 15:06:02 +00:00
moodler
7675f212ee
Fix for MDL-7238 to hide authorize interface when necessary
2006-10-31 14:04:57 +00:00
tjhunt
25e0480339
MDL-5811 - Quiz editing outputs nasty junk before print_header sometimes. Second attempt at fixing. I forgot to mention the bug number in the previous commit to mod/quiz/edit.php.
2006-10-31 12:03:43 +00:00
tjhunt
8a286fda3e
Make the close_window function better.
2006-10-31 11:54:14 +00:00
bobopinna
5e73ea768b
Fixed a typo
2006-10-31 11:37:40 +00:00
tjhunt
fdecc5c6da
Fix junk being output before print_header, which happened sometimes.
2006-10-31 10:40:07 +00:00
tjhunt
f3e4a7a514
Add return option to notify()
2006-10-31 10:37:38 +00:00
skodak
f966e024ef
Change name when file name contains more of a point MDL-6897 - patch submitted by Toni Mas
2006-10-31 10:15:23 +00:00
moodler
f3410ae74b
Fix for MDL-6975
2006-10-31 09:14:43 +00:00
skodak
7e70535f09
adding of user events into calendar and posting of blogs is now enabled by default - MDL-7297 and MDL-7245
2006-10-31 09:08:27 +00:00
moodler
8def180d7a
Added information about guest exception
2006-10-31 08:59:41 +00:00
toyomoyo
e123a4e191
fix for MDL-7302, tagid lost when turning on/off editting
2006-10-31 08:49:46 +00:00
moodler
df5ee47979
Added some styles to make role descriptions a bit smaller MDL-6923
2006-10-31 08:10:29 +00:00
moodler
b18207cd3a
Added help links to Roles pages MDL-6923
2006-10-31 08:09:29 +00:00
moodler
f750f104ca
New help files for Roles MDL-6923
2006-10-31 08:04:14 +00:00
toyomoyo
cc1b52fddf
removing evil semicolon
2006-10-31 07:32:21 +00:00
urs_hunkler
e6f1411d72
'changed header.html to the accessibility version as standardwhite'
2006-10-31 07:31:23 +00:00
martinlanghoff
90f08155c5
lib/textlib.class: Cache dir is now created correctly, allowing speed increase (SR# 595)
...
Previous logic had dir created only when mbstring wasn't used, but the
typo3 lib needs to cache some data regardless, for the specCharsToASCII
function, which uses internal translation tables.
Author: Luke Hudson <luke@catalyst.net.nz >
2006-10-31 05:00:32 +00:00
moodler
24f49eaa7e
Killed infinite loop when upgrading teachers!
2006-10-31 04:37:55 +00:00
moodler
086617bac8
DIsplay count for all participants
2006-10-31 01:20:00 +00:00
stronk7
088f9942ef
Oracle optimization. Texts under 4000cc can be handled directly as varchar2,
...
so they don't need the 2-phase (insert/update) handling of LOBs
2006-10-30 23:12:41 +00:00
stronk7
6befbe8050
Fixed one bug on Oracle produced when we were inserting
...
records with returnid disabled and containing LOBs
2006-10-30 22:58:04 +00:00
skodak
62385afcd3
Adding of calendar events broken MDL-7297
2006-10-30 22:32:27 +00:00
skodak
b9f7637ea8
fixed double enableajax in previous commit MDL-7296
2006-10-30 21:03:08 +00:00
skodak
5e435e4635
Disabled global search by default and marked as experimental MDL-7296 and AJAX moved to experimental too
2006-10-30 20:57:08 +00:00
urs_hunkler
362af1586a
'changed header.html to the accessibility version as standardwhite'
2006-10-30 20:02:26 +00:00
urs_hunkler
c8305b464f
'added table.navbar {width:100%;} again for themes still using tables in the header.'
2006-10-30 19:56:50 +00:00
stronk7
f5303bd518
Prevent Oracle to fail when inserting records with log->info empty
...
(will be solved once we got all those NOT NULL fields fixed)
2006-10-30 19:51:44 +00:00
stronk7
d040f940a2
Fixing display of pivots when they are author names
2006-10-30 19:31:33 +00:00
stronk7
c97ab4b00a
Fixing some queries with duplicate column names. MDL-7294
2006-10-30 19:01:02 +00:00
stronk7
5e8720e3a3
Now glossary is using the proper sql_substr() function
2006-10-30 18:33:04 +00:00
stronk7
3cef39f10a
New function sql_substr() returns the proper substr() function for each DB
2006-10-30 18:28:47 +00:00
stronk7
0e938d8e6c
Now lcase() and ucase() are out from glossary
2006-10-30 17:58:56 +00:00
stronk7
6a9781ab1f
sql_as() is deprecated. Column aliases ALWAYS must use the AS keyword.
2006-10-30 17:43:40 +00:00
stronk7
18ecdd56aa
Deprecating sql_as (now the AS keyword os required in COLUMN aliases)
2006-10-30 17:39:55 +00:00
stronk7
f9452850dd
Updating wood to show the nav-bar properly.
2006-10-30 16:51:34 +00:00
tjhunt
d2925a9397
Make General feedback more tolerant of whitespace.
2006-10-30 16:35:21 +00:00
thepurpleblob
537cef4fdd
Fixed notice
2006-10-30 16:21:16 +00:00
stronk7
8319d93b45
Added enablerecordcache setting to control the get_record() cache.
...
Note that some parts of Moodle can enable/disable it selectively.
2006-10-30 15:55:48 +00:00
stronk7
41a96d7c4d
Added some strings for the enablerecordcache setting.
2006-10-30 15:52:04 +00:00
skodak
1b88c2ef22
Wrong "settings" link in course Administration block on module pages MDL-7286
2006-10-30 14:56:11 +00:00
ethem
0d4057f406
New string: All Pending Orders
2006-10-30 11:22:57 +00:00
ethem
07182b5324
New string: All Pending Orders
2006-10-30 11:12:32 +00:00
skodak
0070770144
Journal Module fixes fro 1.7 MDL-7159
2006-10-30 11:11:34 +00:00
sam_marshall
03240ae37b
[MDL-7287] Lesson - tweaked continue.php to include a file via filesystem not HTTP because I couldn't see any reason to do it the latter way and it breaks under our loadbalancing system
2006-10-30 11:00:39 +00:00
ethem
0ee01f0cda
Show a link for echeck payments if an user has_capability('enrol/authorize:uploadcsv').
2006-10-30 10:14:57 +00:00
urs_hunkler
23febf1491
'changed the property to activate the move curser to the new body class drag: body#course-view.drag'
2006-10-30 09:54:25 +00:00
moodler
cf299069d4
Added "drag" hook at the page level when dragging is enabled to make sure
...
the blocks have the right cursor styles.
2006-10-30 09:39:58 +00:00
gbateson
b3abd77235
corrected the setting of fixed flag in JMatch quizzes
2006-10-30 08:54:22 +00:00
toyomoyo
45c65f2b7e
fixing new gradebookroles settings
2006-10-30 08:43:41 +00:00
ethem
6ef50f6983
Get only courses made transactions. This lessens the course list; Merged from 16stable.
2006-10-30 08:25:41 +00:00
moodler
378d834f44
Made the AJAX setting look a little better when AJAX is off
2006-10-30 08:19:30 +00:00
moodler
9a1e5c1750
FIxed a typo
2006-10-30 07:56:07 +00:00
moodler
6a691a2dba
Ooops. how did this get left in? MDL-7281
2006-10-30 07:47:05 +00:00
toyomoyo
a44d38fc25
do not delete context information when removing the site course
2006-10-30 06:33:25 +00:00
toyomoyo
826153a73d
fixing progress count
2006-10-30 05:39:52 +00:00
toyomoyo
1e76d6529c
ignore site level course teacher assignments during upgrade from 1.6 or below
2006-10-30 05:25:53 +00:00
moodler
6dce2448c4
Better default for gradebookroles
2006-10-30 03:56:25 +00:00
toyomoyo
828a4b2350
fix for MDL-6895, adding optional_param, thanks for the patch
2006-10-30 03:45:19 +00:00
toyomoyo
8300665144
fixing keyword pivot by changing into glossarypivot, MDL-7267
2006-10-30 03:36:46 +00:00
moodler
4ccdd406cb
Automatic installer.php lang files by installer_builder (20061030)
2006-10-30 03:08:23 +00:00
moodler
fc5711d43c
Tidied up Metal theme
2006-10-30 02:58:56 +00:00
koenr
1e35150951
MDL-6864 The links 'Language editing' could be more descriptive for 1.7 stable
2006-10-29 22:35:03 +00:00
koenr
af6ca730d4
MDL-7042 Missing string on admin/roles/manage.php adding to 1.7 stable
2006-10-29 22:07:54 +00:00
moodler
e60154c553
Users not logged in may have capabilities but no id
2006-10-29 15:56:36 +00:00
moodler
b2a2b9af0c
Slight bump for gradebookroles
2006-10-29 15:06:03 +00:00
moodler
a3fcc4d416
Changed gradebook_roles to gradebookroles and fixed storage/defaults for
...
this setting. And also better docs. MDL-7253
2006-10-29 14:59:43 +00:00
moodler
1809c83ef3
Added a string that had been removed - MDL-7258
2006-10-29 13:55:21 +00:00
andreabix
88b5a2a15c
Fix bug MDL-7248
2006-10-29 10:07:33 +00:00
moodler
ee9534257d
Added some help links
2006-10-29 08:13:38 +00:00
moodler
4b612862c7
Merged to stable
2006-10-29 08:09:59 +00:00
moodler
75bf99a13c
file permissions.html was added on branch MOODLE_17_STABLE on 2006-10-29 08:09:59 +0000
2006-10-29 08:07:16 +00:00
moodler
fd10cafb1a
Enable record caching for workshop cron (which is sloow)
2006-10-29 07:22:38 +00:00
moodler
831a8bae99
Extra caching and efficiency in forum_cron
2006-10-29 05:39:26 +00:00
moodler
36b84580e0
Fixed up the appearance of user profiles when access is not allowed
2006-10-29 04:13:32 +00:00
moodler
4bb8788c44
Make regiatration code a bit more unique
2006-10-29 02:32:34 +00:00
stronk7
e8e5f86657
Adding PIVOT as MSSQL reserved word
2006-10-28 23:11:57 +00:00
stronk7
be310ffda8
Now record_cache is controlled by $CFG->enablerecordcache
2006-10-28 19:51:57 +00:00
stronk7
cacc23f041
Moved cache cleaning code near the begin of functions. Sometimes
...
it wasnt' executed due to function ending. MDL-7196
2006-10-28 17:51:43 +00:00
stronk7
72a4c9a290
Updating backup release to 1.7 final (to avoid forgetting it)
2006-10-28 11:02:09 +00:00
stronk7
5d68b50a62
Improve error output of install_from_xmldb_file(). Part of MDL-7262
2006-10-28 10:36:04 +00:00
moodler
6a1055bf37
Automatic installer.php lang files by installer_builder (20061028)
2006-10-28 03:13:13 +00:00
skodak
67e43279bb
fix loginsteps string in moodle.php MDL-7249
2006-10-27 21:47:58 +00:00
skodak
3f4bcbd03a
Blog RSS is not being generated MDL-7256
2006-10-27 21:41:36 +00:00
skodak
74acff4411
Finish strings for graderoles MDL-7253
2006-10-27 21:04:44 +00:00
skodak
d6a54ada6e
Turn AJAX off for now at site level MDL-7254
2006-10-27 20:32:01 +00:00
urs_hunkler
d556c2aeaa
'changed top margin for h2 in sideblock content from 0 to 1.5 em'
2006-10-27 17:49:13 +00:00
stronk7
df313f0e94
Counting extra updates performed by Oracle & MSSQL in PERF
2006-10-27 17:48:41 +00:00
urs_hunkler
4d4ef0e0b8
1.7 updates
2006-10-27 17:24:28 +00:00
stronk7
9717970b60
I forgot to globalize $record_cache in delete_record_XXX() functions.
2006-10-27 17:13:36 +00:00
stronk7
4f2ae57c31
Minor improvements to the get_record() cache. Part of MDL-7196
...
1) Check the cache issset() before unset() it.
2) In the set_field() function, if fieldX = 'id',
just delete such element from the cache,
else the whole table
3) Add some more unset() operations against the cache in
the delete_xxxx() dmllib functions.
2006-10-27 16:51:35 +00:00
sam_marshall
6266a81cf7
MDL-7250 typo ARGH sorry.
2006-10-27 16:26:02 +00:00
sam_marshall
d0f6aa914a
MDL-7250 update to previous change to do in SQL as suggested
2006-10-27 16:24:26 +00:00
moodler
4c7701a6d9
Made RSS feeds work again for blogs MDL-7251
2006-10-27 16:21:39 +00:00
sam_marshall
b1d476b800
MDL-7250 Slight change to load_defaultuser_role so that it doesn't load 0s into $USER->capabilities.
2006-10-27 16:16:35 +00:00
urs_hunkler
eae483c5a4
'added min-width: 0; and overflow: hidden; to clearfix to make clearing work in IE7 - better way than previous one.'
2006-10-27 13:30:54 +00:00
skodak
22da58c579
Comments in data print the "by" and then the date but no username MDL-7235
2006-10-27 07:49:25 +00:00
urs_hunkler
9b657e0dec
'corrected the collapsing navbar for IE7. I thought I had corrected that some time ago??? Set the navbar width to 98% and removed those different width settings.'
2006-10-27 07:33:15 +00:00
toyomoyo
8e6f38a406
taking care of a warning
2006-10-27 02:14:20 +00:00
gbateson
537515d8e8
fixed detection and display of fixed JMatch items (in jmt files)
2006-10-27 01:34:08 +00:00
stronk7
3c5f492e9d
Deprecating old "upgrade" files. MDL-7214
2006-10-26 22:25:21 +00:00
stronk7
1301de5879
New upgrade.php file added for this module. MDL-7214
...
Merged from HEAD
2006-10-26 18:18:35 +00:00
stronk7
87698fefb6
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 18:18:36 +0000
2006-10-26 18:12:43 +00:00
stronk7
7fd096aa14
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 18:18:35 +0000
2006-10-26 18:12:42 +00:00
stronk7
78dea37dbc
New upgrade.php file added for this module. MDL-7214
...
Merged from HEAD
2006-10-26 17:43:05 +00:00
stronk7
8117a6dc8a
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 17:43:11 +0000
2006-10-26 17:33:45 +00:00
stronk7
866002a1ef
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 17:43:09 +0000
2006-10-26 17:33:44 +00:00
stronk7
c4a0e8dab6
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 17:43:08 +0000
2006-10-26 17:33:43 +00:00
stronk7
b3f66a5f13
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 17:43:07 +0000
2006-10-26 17:33:42 +00:00
stronk7
78fb084d02
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 17:43:06 +0000
2006-10-26 17:33:41 +00:00
stronk7
08f1de55d0
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 17:43:05 +0000
2006-10-26 17:33:40 +00:00
stronk7
29949f0031
New upgrade.php file added for this module. MDL-7214
...
Merged from HEAD
2006-10-26 17:04:36 +00:00
stronk7
24dea5f76b
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 17:04:36 +0000
2006-10-26 17:02:31 +00:00
stronk7
f5f53ceb7a
New upgrade.php file added for this module. MDL-7214
...
Merged from HEAD
2006-10-26 16:53:08 +00:00
stronk7
3638683cdd
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 16:53:11 +0000
2006-10-26 16:33:59 +00:00
stronk7
ed1061fd15
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 16:53:10 +0000
2006-10-26 16:33:51 +00:00
stronk7
fab77ea872
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 16:53:09 +0000
2006-10-26 16:33:50 +00:00
stronk7
ebb351fa65
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 16:53:08 +0000
2006-10-26 16:33:49 +00:00
stronk7
c8bf751abf
New upgrade.php file added for this module. MDL-7214
...
Merged from MOODLE_17_STABLE
2006-10-26 15:44:50 +00:00
stronk7
fc10786ff1
file upgrade.php was added on branch MOODLE_17_STABLE on 2006-10-26 15:44:50 +0000
2006-10-26 15:38:18 +00:00
moodler
841c716376
Search engines need to have all the capabilities of a guest user MDL-7229
2006-10-26 14:52:17 +00:00
ethem
ca36c9581f
I found a new function: user_has_role_assignment()
2006-10-26 14:38:22 +00:00
sam_marshall
c03b88f607
The 'Activity is currently hidden' check in mod/forum/post.php incorrectly used 'manageactivities' capability instead of 'viewhiddenactivities', fixing.
2006-10-26 14:12:40 +00:00
skodak
abf7820411
fixed breadcrums link
2006-10-26 10:32:54 +00:00
moodler
6cdd66e3c5
Added a top-level cache to has_capability() to make it perform better
...
in cases where it's called a lot with repetitive values (which happens
a lot in things like forum mailouts) with only a small memory cost.
2006-10-26 09:42:58 +00:00
skodak
316e201245
Cron.php workaround for IE & RFC2616 - MDL-7221
2006-10-26 08:53:59 +00:00
ethem
54c9dab53b
get_courses() is only getting visible courses. This is a problem when an user wants to view old payments.
2006-10-26 08:47:48 +00:00
moodler
c60272d855
Variation of Sam Marshall's patch to cache simple get_record calls MDL-7196
2006-10-26 07:52:00 +00:00
vyshane
d7895072ac
Turning ajax off because of backend issues found in rest.php
2006-10-26 07:34:58 +00:00
vyshane
3a1d81851f
Some refactoring.
2006-10-26 07:34:13 +00:00
martinlanghoff
3e82837cc0
lib/locallib: changed local db upgrades now xmldb friendly (like lib/db)
...
Author: Jonathan Harker <jonathan@catalyst.net.nz >
2006-10-26 04:12:49 +00:00
toyomoyo
6f0c99c7a8
fixing a bug where context with override and assignments are adding
2006-10-26 03:56:38 +00:00
moodler
7dbf7695da
Automatic installer.php lang files by installer_builder (20061026)
2006-10-26 03:23:28 +00:00
stronk7
0c64299b01
First model of new upgrade.php scripts and comments in old ones.
...
Need validation before extending them everywhere across core. MDL-7214
2006-10-25 23:26:54 +00:00
skodak
70f97a5995
MDL-7190 fixed wrong closing ) in cache md5 calculation, sorry!
2006-10-25 23:16:44 +00:00
skodak
a9530ec147
MDL-7137 permission UI improvements merged into role overrides; s() used instead of htmlentities()
2006-10-25 21:17:33 +00:00
skodak
fe5cf88b17
editting of permissions enabled when adding new role MDL-7137
2006-10-25 19:19:20 +00:00
moodler
9f79ed8a3c
More rogue AS keywords MDL-7207
2006-10-25 09:02:30 +00:00
moodler
868d207889
Removed use of table as xxx MDL-7207
2006-10-25 08:50:25 +00:00
toyomoyo
c28941370e
added new config variables for what roles to be displayed in gradebooks. It is accessbile from admin->appearance->gradebookroles.
2006-10-25 08:49:54 +00:00
moodler
5c0cd26dbf
ALtered new SQL in load_user_capability to make it more friendly with MS SQL
2006-10-25 08:33:40 +00:00
moodler
8e9aa7d060
Just some tidy-ups, removed redundant SITEIDs etc
2006-10-25 08:31:09 +00:00
skodak
49cb76f312
fixed add new blog entry and tag edit in blog block
2006-10-25 08:16:36 +00:00
toyomoyo
d91d2fa6d3
use limited fields instead of u.*
2006-10-25 07:19:30 +00:00
martinlanghoff
20dbeadfb3
auth/fc/config.html: cleanup double newlines (leftover from whitespace cleanup)
2006-10-25 06:13:51 +00:00
moodler
8ed24b7dda
Fixed CAS login to use new roles ... see MDL-6931
2006-10-25 05:46:12 +00:00
toyomoyo
1ca7a8001b
fix for load_user_capability() when 2 contexts in overrides are not related
2006-10-25 03:47:05 +00:00
skodak
5aab521e4d
better cleaning of rss feeds SC#328
2006-10-24 22:38:53 +00:00
skodak
a1332df845
Strip ##TRUSTTEXT## when not in developer debug mode MDL-7190; minor format_text speedup; changed in md5 text cache calculation
2006-10-24 22:18:19 +00:00
stronk7
eb2d09c49c
DeLIMITing Moodle core. Now the new $limitfrom,
...
$limitnum parameters are used instead. MDL-7168
2006-10-24 21:55:54 +00:00
skodak
e2c0f78d63
select_color.php popup should specify charset MDL-7193
2006-10-24 21:37:36 +00:00
skodak
d7440e481e
Lang file for auth specifies incorrect file path in lang/en_utf8/auth.php MDL-7205 revisited - new patch by Martin Langhoff
2006-10-24 21:28:55 +00:00
skodak
5fd7a8cc89
Lang file for auth specifies incorrect file path in lang/en_utf8/auth.php MDL-7205 - found by Inaki Arenaza
2006-10-24 20:48:32 +00:00
skodak
7429a293b7
fixed When unassigning a role, forum_role_unassign unsubscribes the user even if you have other roles there MDL-7120
2006-10-24 20:20:50 +00:00
stronk7
a31fec1556
Dropping some hardocded "mdl" prefixes. MDL-7202
2006-10-24 18:27:31 +00:00
moodler
a8cecdc232
It's OK to be a guest when looking at a discussion :-)
2006-10-24 15:55:52 +00:00
moodler
b0d3c33001
Guests should always see two days of recent activity
2006-10-24 14:35:22 +00:00
vyshane
b3ede2a6f5
Modified course page print_header function to accept more arguments. Needed for the AJAX course formats.
2006-10-24 09:40:48 +00:00
moodler
a804689232
QUick checkin of some roles GUI improvements from Petr which I hacked on
2006-10-24 09:39:36 +00:00
vyshane
62e0242116
AJAX config for course format.
2006-10-24 08:15:09 +00:00
vyshane
0321eb66d0
AJAX config for course format
2006-10-24 08:14:09 +00:00
vyshane
604c996ca6
AJAX fixes.
2006-10-24 08:07:56 +00:00
skodak
ba7b72a53d
fixed risks associated with capabilitites in modules MDL-7174
2006-10-24 08:04:53 +00:00
skodak
077b7e99c1
fixed risks associated with main capabilitites MDL-7174
2006-10-24 08:00:32 +00:00
moodler
7099595c4d
FIxed problem which was unenrolling some assigns at the site level! MDL-7189
2006-10-24 07:06:56 +00:00
toyomoyo
e723db1680
fixing capabilities
2006-10-24 04:26:06 +00:00
vyshane
19043b2c61
Changed <noscript> to <div> since document.getElementById() can't seem to be able to access the <noscript> element in safari, and possibly in IE as well. See bug MDL-7057.
2006-10-24 03:25:48 +00:00
moodler
97b0c002ec
Make the glossary block deal with trust text
2006-10-24 02:35:29 +00:00
moodler
3c9367fb62
Guests can't enrol. MDL-7182
2006-10-24 02:12:26 +00:00
toyomoyo
a064e86c8b
blog tag clean up
2006-10-24 02:09:45 +00:00
stronk7
f0cb717a7e
Moving deprecated uses of sql_paging_limit() to the new $limitfrom,
...
$limitnum parameters in all the get_recordXXX() functions. MDL-7167
2006-10-23 22:56:41 +00:00
skodak
ed14ae8128
fixed moodle/calendar:manageentries capability in calendar
2006-10-23 22:27:17 +00:00
skodak
05888cfc84
Assignment Reports incomplete MDL-6301
2006-10-23 21:01:41 +00:00
skodak
cca1df961b
Excel export returns a zero bytes file when system temp not writable MDL-7176
2006-10-23 19:25:13 +00:00
skodak
fb4f768789
error message when adding a link in editor MDL-7180
2006-10-23 18:30:13 +00:00
stronk7
1fda1af9d2
Now insert_record() is using $db->GenID() to retrieve
...
sequence numbers for Oracle. Just wondering if the same
function should be used by PostgreSQL too.
2006-10-23 17:38:47 +00:00
stronk7
6d338ba5f9
Suppress all the uses of LIMIT in the get_field_sql() calls. MDL-7173
2006-10-23 15:55:22 +00:00
moodler
63d4e986d0
This new function called load_all_capabilities() should be used whenever
...
you want to completely reload the capabilities for the current user.
Basically it will deal nicely with the default site-wide permissions
depending on the current user.
More background in the comments on MDL-6963
2006-10-23 15:14:23 +00:00
moodler
9595f6a388
FIxed some rogue   characters (thanks, Samuli!) MDL-7179
2006-10-23 13:41:27 +00:00
moodler
c50d4d9039
Make sure that guests see the button to add a new discussion (it will
...
prompt them to enrol later)
2006-10-23 13:19:46 +00:00
skodak
1a5d7ed12e
Checkbox value not saved when saving changes from admin search page MDL-7177 + other fixes to make it behave more like settings.php
2006-10-23 12:04:30 +00:00
skodak
e18bb176e1
yet another context fix for Roles tab - I hope this one is final
2006-10-23 11:26:12 +00:00
skodak
42fd053ddc
glossary tabs (when updating a glossary) is not aligned properly MDL-7172
2006-10-23 11:16:26 +00:00
moodler
d873273749
Several little fixes for online users
...
Guest user appears in local language and no links
sql_paging_limit not used
2006-10-23 07:42:49 +00:00
stronk7
cba3313110
strip "old" harcoded "limit" clauses from the sql passed and
...
debug about them. MDL-7173
2006-10-23 07:09:51 +00:00
moodler
122ea396cf
Tidied up Choice a bit and now you can save choices again ;-)
2006-10-23 07:00:29 +00:00
moodler
1b068b9049
FIxed guest enrolment using course key MDL-6881
2006-10-23 06:37:06 +00:00
moodler
8069349d65
Fix strange zero lines in stats ... I thought the function above was supposed
...
to do that? Penny, help! MDL-7151
2006-10-23 05:17:38 +00:00
moodler
1de8317f92
Better handling for guest in forums MDL-7125
2006-10-23 04:53:56 +00:00
moodler
0ff7b38264
FIxed a bad capability ratepost -> rate
2006-10-23 03:28:53 +00:00
toyomoyo
9fc48040ba
replacing studentcanpost with proper capability
2006-10-23 03:22:23 +00:00
moodler
1752044872
Unenrol now does the right thing after you unenrol yourself
2006-10-23 03:09:11 +00:00
moodler
685ecea312
Automatic installer.php lang files by installer_builder (20061023)
2006-10-23 03:03:57 +00:00
moodler
ef90bd2c06
Improvements to the logic used when displaying choices and coping with
...
guests and various permission combinations MDL-7171
2006-10-23 02:58:21 +00:00
toyomoyo
bcf99ba3b9
replacing studentcanpost with capability
2006-10-23 02:48:24 +00:00
toyomoyo
48e385f582
student_can_post should be done properly using capabilities
2006-10-23 02:24:28 +00:00
stronk7
f9baa9c1cc
Prevent MSSQL to return from insert_record() before
...
trying to execute the updating of LOBs.
2006-10-23 00:00:46 +00:00
stronk7
564f9b03e6
Debugging sql_paging_limit() as deprecated and
...
enforcing get_field_sql() to return 1 record max
2006-10-22 23:20:14 +00:00
stronk7
a270bb477a
Killing all sql_paging_limit() uses
2006-10-22 22:57:27 +00:00
stronk7
23f4b83ec6
Killing all sql_paging_limit() uses
2006-10-22 22:47:58 +00:00
stronk7
28c5a47afc
Adding limitfrom and limitnum parameters to a bunch of
...
rarely executed functions...
2006-10-22 22:35:26 +00:00
skodak
b52e9a106c
fixed incorrect context in user Outline report
2006-10-22 20:02:00 +00:00
skodak
0d2fdd9cd9
fixed $usercontext creation needed for Role tab when viewing user data
2006-10-22 19:58:06 +00:00
skodak
591234f350
fixed sql error when searching only by one letter and two radio buttons selected at the same time (visible in Konqueror) fixed as part of MDL-7160
2006-10-22 19:41:07 +00:00
skodak
1b2f2b82f0
fixed moodle/site:readallmessages MDL-7160 ; commented out unfinished buggy code
2006-10-22 19:17:48 +00:00
moodler
85e21f03a1
FIxed this script to match prtin_recent_activity MDL-7134
2006-10-22 08:29:50 +00:00
moodler
864dbb4ae7
Fixed a missing </span>
2006-10-22 08:25:19 +00:00
moodler
247475fc9f
Fixed some HTML errors about &
2006-10-22 08:18:46 +00:00
moodler
2fb18d1cdc
FIxed some HTML warnings
2006-10-22 08:12:14 +00:00
moodler
74f65d5ef6
FIxed some HTML warnings & -> &
2006-10-22 08:11:55 +00:00
moodler
3443f0a7b2
Removed a HTML warning & --> &
2006-10-22 07:59:04 +00:00
moodler
ab05be1a23
Recent activity now again shows all the activity since your last session in
...
the course. MDL-7134
2006-10-22 07:40:51 +00:00
moodler
0aba3fd198
Automatic installer.php lang files by installer_builder (20061022)
2006-10-22 03:11:23 +00:00
skodak
2466ff5d77
Seeing ####TRUSTTEXT#### in RSS feeds MDL-7147 - fixed RSS feeds in glossary
2006-10-21 21:14:30 +00:00
skodak
fc0966ba1f
Seeing ####TRUSTTEXT#### in RSS feeds MDL-7147 - fixed RSS discussion feed type too
2006-10-21 21:04:29 +00:00
skodak
83e674cd7f
fix has_capability() to work when $nomoodlecookie = true; MDL-7156 - needed for RSS file.php that is serving feeds
2006-10-21 20:41:41 +00:00
skodak
9468a32a8e
fixed undefined modcontext in forum
2006-10-21 20:29:30 +00:00
stronk7
01cd957389
Deleting some old oci8po files from CVS.
2006-10-21 18:31:00 +00:00
stronk7
d0d30cb9a0
Prevent add_field() to work if we are adding one not null field
...
to one non-empty table without specifying its default value.
2006-10-21 18:18:24 +00:00
stronk7
3bbc55a650
Added two more tests:
...
- To check adding numerial fields not null + default = 0
- To test set_field() with TEXT data
2006-10-21 17:22:31 +00:00
stronk7
0f1d2d8c94
Minor typo fixed.
2006-10-21 17:17:44 +00:00
moodler
da8b22453c
Fix for the My courses list (remove things you might be able to access but
...
aren't really enrolled as such)
2006-10-21 16:32:10 +00:00
stronk7
d490ba1476
One typo (!==) was preventing defaults to be properly calculated for integers.
...
Thanks to Nigel McNie for being on that!
2006-10-21 16:31:44 +00:00
moodler
408a5a1b03
Fix for the My courses list (remove things you might be able to access but
...
aren't really enrolled as such)
2006-10-21 16:30:23 +00:00
moodler
0ec5eaa5ca
LAMS is now disabled by default so it doesn't confuse the heck out of
...
everyone.
2006-10-21 16:10:07 +00:00
moodler
e4173bf72a
Fixed a notice (not important)
2006-10-21 15:59:23 +00:00
moodler
55a96b2f3e
Please please please be defensive about values returned from the database. Always.
...
In this case moodle.org had some bad data that caused this code to crash.
MDLSITE-55
2006-10-21 14:51:56 +00:00
moodler
1a42831794
Strip trusttext markers from text ... MDL-7147
...
Petr, can you review the whole thing?
2006-10-21 14:11:33 +00:00
moodler
571acdabaa
Automatic installer.php lang files by installer_builder (20061021)
2006-10-21 03:03:54 +00:00
moodler
f7396c7867
WHen a guest hits reply, they now get told they have to enrol and
...
get sent there. In manual enrolment they are returned to the post
(eventually all the plugins should do that).
2006-10-20 17:48:59 +00:00
moodler
c1bfa6076c
Enrol/unenrol buttons in courses
2006-10-20 17:47:14 +00:00
moodler
f9e8f1118d
Exclude admins from the participant listing (site-wide doanything people)
...
(related to MDL-7117)
2006-10-20 08:25:39 +00:00
toyomoyo
8d1ea9fbed
fix for MDL-7119, users with no role assign capability should not see roles tab
2006-10-20 08:09:09 +00:00
moodler
9197f258b9
Added Javascript, CSS etc on edit page for database. MDL-7100
2006-10-20 07:34:14 +00:00
toyomoyo
bbaae076fa
fix for MDL-7106, glossary capability check
2006-10-20 07:00:49 +00:00
moodler
7ba21c9f41
CHanged default capability for database to allow guests to view by default
...
MDL-7118
2006-10-20 06:58:28 +00:00
moodler
8f211852b7
New automatic installer lang file added (from HEAD)
2006-10-20 06:55:03 +00:00
moodler
0a1dc0b126
file installer.php was added on branch MOODLE_17_STABLE on 2006-10-20 06:55:03 +0000
2006-10-20 06:52:11 +00:00
moodler
104b23ff7f
I've fixed how the forums look when guest is logged in, so that they
...
see the Reply link and if they press it get asked to log in properly.
2006-10-20 06:07:33 +00:00
toyomoyo
d7355da165
fix for MDL-7115, teacher page replaced by generic role assign page
2006-10-20 05:47:49 +00:00
moodler
64a985181b
Link to roles interface needs site context, not site id
2006-10-20 05:17:39 +00:00
moodler
9fb2199303
Don't let people message the user account
2006-10-20 05:14:12 +00:00
toyomoyo
0e4429dfec
fixed an infinite loop
2006-10-20 05:08:42 +00:00
moodler
09a47d4232
Slight tidy-up for forum search form
2006-10-20 03:33:18 +00:00
vyshane
f39c91312f
Formatting fixes.
2006-10-20 03:16:40 +00:00
toyomoyo
f0769c5367
fix for MDL-7107, missing capability check for assignroles link
2006-10-20 03:14:49 +00:00
moodler
68199074d8
Automatic installer.php lang files by installer_builder (20061020)
2006-10-20 03:05:31 +00:00
toyomoyo
8807ea9497
fix for MDL-7113, removing DISTINCT on TEXT fields
2006-10-20 02:43:32 +00:00
toyomoyo
60061f9d34
setting $CFG->unicodedb after successful db conversion, chaning order of if clause to save sqls executed
2006-10-20 02:07:00 +00:00
skodak
4cbb779866
temporary patch for the forum trouble that is breaking installs MDL-7114
2006-10-19 22:42:44 +00:00
skodak
7add89d356
fixed rolesactive notice during installation
2006-10-19 22:17:12 +00:00
skodak
a3faf996f5
Internal zipping broken on win32 MDL-7105 ; we are now using the new method to specify file names in zip archive because the old PCLZIP_OPT_REMOVE_PATH option is broken on win32 platforms ; backported from HEAD
2006-10-19 22:14:42 +00:00
stronk7
1dd6d5a8a2
Adding support for the new mssql_n driver
2006-10-19 22:12:55 +00:00
stronk7
c4020445c4
Adding support for the new mssql_n driver
2006-10-19 22:01:56 +00:00
stronk7
3b455ec7d2
New ADOdb driver that extends the standard mssql one. All it does is
...
to prepend the 'N' char before any SQL literal sent to DB, mainly
because nobody (ODBTP, FreeTDS, ODBC, SQL*Server) seems to be doing
this task, and it prevents, in an high degree true cross-db compatibility.
Once we've moved to prepared statements and some of the developers for
any of the products above (hopefully MS, at server level) will avoid
the 'N', we'll be able to go back to another mssql drivers.
More info at:
- http://docs.moodle.org/en/XMLDB_Problems (point 8)
- http://tracker.moodle.org/browse/MDL-6877
Merged from HEAD
2006-10-19 21:58:54 +00:00
stronk7
760f271b07
file adodb-mssql_n.inc.php was added on branch MOODLE_17_STABLE on 2006-10-19 21:58:54 +0000
2006-10-19 21:57:23 +00:00
stronk7
bf28e6d08a
Adding support for the new mssql_n driver
...
Two new strings added: mssql_n, databasesettingssub_mssql_n
One string modified: databasesettingssub_mssql
2006-10-19 18:55:39 +00:00
stronk7
13f366f87b
Adding support for the new mssql_n driver
2006-10-19 18:44:07 +00:00
stronk7
c9c2c6df00
Adding support for the new mssql_n driver
2006-10-19 18:28:05 +00:00
stronk7
ba1fa71220
Addding support for the new mssql_n ADOdb driver that,
...
transparently, prepends the N char for all the string
literals being set to MSSQL (until MS Unicode - standard-
support will arrive).
2006-10-19 17:26:09 +00:00
thepurpleblob
08afbd8644
Focus is now loaded into Name edit box
2006-10-19 13:05:09 +00:00
tjhunt
3e1a16bbbc
Fix problem with multichoice question grading.
2006-10-19 11:54:05 +00:00
tjhunt
2620831e61
Missing addslashes.
2006-10-19 10:22:38 +00:00
toyomoyo
040c22892d
fix for MDL-6549, wrong publish to menu problem
2006-10-19 06:41:04 +00:00
toyomoyo
43059890b7
making the site context same as the site course context
2006-10-19 06:15:42 +00:00
vyshane
03796898f6
Fix for MDL-7086.
...
Some versions of IE choke if the second argument of insertBefore() is null. The code in section_class.prototype.insert_resource() wrongly assumed that the value of targetel would be null if that parameter was not passed to the function. The value is actually 'undefined' in this case. The checks that relied on comparison with null were therefore failing in IE (but worked fine in other browsers anyway). Two problems - wrong assumption in code, and IE being stupid.
2006-10-19 04:29:55 +00:00
moodler
ecaa25ff09
Automatic installer.php lang files by installer_builder (20061019)
2006-10-19 03:03:48 +00:00
toyomoyo
9a055d09c9
adding check to change_db_encoding to make sure the db is not already in unicode. attempts to configure correct set names upon successful conversion
2006-10-19 02:13:32 +00:00
skodak
c95fff4fa9
Delete user fails if apostrophe in email address MDL-4762 ; found and solution provided by Inaki Arenaza
2006-10-18 21:45:10 +00:00
skodak
324480d4b2
fixed access check when editting notes in advanced upload assignment type
2006-10-18 21:32:50 +00:00
skodak
4d4a11fd68
fixed Notices after assignment deletion in Recent Activity MDL-7089
2006-10-18 21:01:25 +00:00
skodak
89a8bdc8cc
improved validation when deleting comments from glossary SC#325
2006-10-18 20:20:18 +00:00
skodak
8a2bccf264
Notice when creating one forum... MDL-7063
2006-10-18 19:58:13 +00:00
skodak
f697f01e35
changed email obfuscation character to * MDL-6935
2006-10-18 19:40:27 +00:00
thepurpleblob
976fe7c655
Put cursor in edit box rather than do nothing for labels.
2006-10-18 13:02:53 +00:00
ethem
e6ecbb498b
Show results and send email to admin.
2006-10-18 12:38:44 +00:00
skodak
37e6138a3c
Deleting uploaded files when deleting an assignment instance + fixed quoting style + trailing whitespace MDL-6387
2006-10-18 11:13:32 +00:00
skodak
e7514ae3f1
Deleting uploaded files when deleting an assignment instance + fixed quoting style MDL-6387
2006-10-18 11:12:49 +00:00
skodak
81f9b42660
Deleting uploaded files when deleting an assignment instance MDL-6387
2006-10-18 11:11:53 +00:00
vyshane
7c5bebadf1
More IE timing issues
2006-10-18 09:43:12 +00:00
skodak
d1a0531ca4
fix course reset unenrollment in to work with roles MDL-7069
2006-10-18 09:18:36 +00:00
vyshane
5f536e23ed
Because IE is stupid.
2006-10-18 08:39:34 +00:00
toyomoyo
16d42c3776
fix for MDL-7067, proper capability for forum attachments
2006-10-18 08:00:00 +00:00
toyomoyo
ca108ade8d
fix for MDL-7066, users with replypost set to prohibit can not edit own post
2006-10-18 07:49:13 +00:00
vyshane
8997698305
Logger has issues with IE. Turning off first until new version of YUI has been tested.
2006-10-18 07:41:32 +00:00
toyomoyo
9cb996a977
added code to force chaging of mysql db to utf8 before fresh installation
2006-10-18 07:24:49 +00:00
vyshane
6f7fcae9f2
Removed YUI debug since this is handled in lib/ajaxlib.php
2006-10-18 07:09:54 +00:00
vyshane
44089f2cb4
Removed YUI debug since this is handled in lib/ajaxlib
2006-10-18 07:09:22 +00:00
vyshane
5140419a14
Added YUI logger console if debugging level is DEBUG_DEVELOPER.
2006-10-18 07:06:39 +00:00
vyshane
d0bc1c59ae
.error class is defined in Moodle as red colour. We want it to be black here because the yui error class has a red backgroun.
2006-10-18 07:02:58 +00:00
toyomoyo
f3726ba3b2
fix for MDL-7055 - prohibts at site level not working
2006-10-18 06:44:45 +00:00
toyomoyo
e1079fc4f1
fix for MDL-7065 adding translation string for breadcrumb
2006-10-18 05:40:39 +00:00
moodler
a8500a96f8
Automatic installer.php lang files by installer_builder (20061018)
2006-10-18 03:04:33 +00:00
stronk7
325bbaaa17
Now insert/update/set of BINATY fields is supported by MSSQL
...
(and easier to add new DB in the furure) MDL-7062
2006-10-17 23:34:52 +00:00
stronk7
12961dfd4d
Added 4 more tests to check CLOB/BLOB handling across all DBs. MDL-7062
2006-10-17 23:28:08 +00:00
tjhunt
c646026617
MDL-6315 - Manually grading a question 0 marks was not being registered. I took the opportunity to clean up the logic in this function a bit. Merged from MOODLE_16_STABLE.
2006-10-17 23:21:24 +00:00
tjhunt
6dfa18dff6
MDL-6848 - Display problem with < > characters in shortanswer when outputting the correct answer. Merged from MOODLE_16_STABLE.
2006-10-17 22:17:05 +00:00
tjhunt
269a213980
MDL-6386 - stripslashes missing in multianswer qustions. Thank to Joseph Rezeau. Merged from MOODLE_16_STABLE.
2006-10-17 22:01:13 +00:00
tjhunt
311a061ce1
MDL-7054 - Prevent creation of question categories with blank names. Merged from MOODLE_16_STABLE.
2006-10-17 21:42:50 +00:00
skodak
f152f333d0
fixed role_capabilities table name typo
2006-10-17 21:39:59 +00:00
skodak
24ec651269
Fix forum reset - remove "DELETE .. USING ... " mysqlisms MDL-7053
2006-10-17 21:05:34 +00:00
skodak
8abe956ca8
Automatic deletion of users when deleteunconfirmed is setted to 'never' MDL-6726
2006-10-17 20:42:49 +00:00
skodak
8e1ae566f2
Activitynames filter case insensitive again for non-ascii languages MDL-6054 - I hope it will not be choking on invalid UTF-8 data
2006-10-17 19:45:34 +00:00
skodak
b0b359cd73
Broken longtimenosee option - PHP notice errors during cron MDL-7058; found and solution submitted by Jenny Gray
2006-10-17 19:15:38 +00:00
skodak
1ad395e023
moodle.php strings for log file restore needs some fix - xhtml compliance and removed \n - MDL-7056 again :-(
2006-10-17 18:52:19 +00:00
skodak
b1e07b8879
moodle.php strings for log file restore needs some fix - xhtml compliance and removed \n - MDL-7056
2006-10-17 18:50:20 +00:00
stronk7
4d78c38a37
Fixed typo that was preventing correct BLOB storage under Oracle.
2006-10-17 18:29:35 +00:00
tjhunt
bb9cae5afc
MDL-6760 - cannot insert the string 'null' into the database. You can now.
2006-10-17 15:58:00 +00:00
tjhunt
9051e08619
Fix bug with numerical questions with multiple answers.
2006-10-17 15:56:40 +00:00
thepurpleblob
cec1b35f86
fix for bug MDL-7070. Form focus not defined
2006-10-17 12:40:26 +00:00
tjhunt
2fe45c4a0a
Fix bugs with GIFT import.
2006-10-17 10:51:44 +00:00
moodler
b40e18c325
Cleaned up some navigation when posting
2006-10-17 09:07:26 +00:00
moodler
d72975122f
Fixed slashes problem on re-editing new post MDL-7052
2006-10-17 08:58:00 +00:00
vyshane
7508d0918f
Merged from 1.6. Fixes for MDL-6363
2006-10-17 07:19:19 +00:00
skodak
a91a3c5c79
RSS update and caching broken for some feeds MDL-7045
2006-10-17 07:07:37 +00:00
skodak
a30e48bc6a
Typo improvement in assignment.php string MDL-7046
2006-10-17 06:28:00 +00:00
toyomoyo
6cb0f10970
fix for MDL-6884
2006-10-17 06:24:54 +00:00
vyshane
a0de778c07
Added browser check for AJAX
2006-10-17 05:31:36 +00:00
toyomoyo
b866247504
fix for MDL-6968
2006-10-17 05:18:02 +00:00
toyomoyo
33dc359ccc
proper fix for MDL-6926
2006-10-17 04:45:21 +00:00
toyomoyo
9b6c468b16
fix for MDL-6926
2006-10-17 04:37:18 +00:00
vyshane
de028f7715
Added marker that shows the new position of a resource/activity being moved. Part of the fix for MDL-6991.
2006-10-17 03:57:42 +00:00
moodler
4be0a0c1b5
Automatic installer.php lang files by installer_builder (20061017)
2006-10-17 03:06:23 +00:00
stronk7
7873f331ea
Added one more XMLDB test for find_sequence_name()
2006-10-16 17:56:30 +00:00
stronk7
f8961f9bc0
Added support for getSequenceFromDB() to PG.
2006-10-16 17:33:24 +00:00
tjhunt
d0949f39e9
Changes to dmllib seem to have broken quiz backup. This makes it work again.
2006-10-16 14:53:34 +00:00
tjhunt
042699bf23
Related to MDL-6249 - unit tests for address_in_subnet.
2006-10-16 13:40:19 +00:00
tjhunt
49163d4fb6
MDL-6249 - easier way for human beings (as opposed to network engineers) to specify IP ranges.
2006-10-16 13:35:51 +00:00
urs_hunkler
6ad9639961
'changed the body border due to a YUI bug and added Bitstream Vera Serif for better display in Linux browsers. It looks better than Georgia on Windows ;-)'
2006-10-16 12:24:44 +00:00
urs_hunkler
694c70e8e6
'changed the body border due to a YUI bug and added Bitstream Vera Serif for better display in Linux browsers. It looks better than Georgia on Windows ;-)'
2006-10-16 12:16:42 +00:00
tjhunt
4398b01077
MDL-6650 - Previewing individual random questions from the quiz editing screen was not working, and anyway, I'm not sure it makes any sense, so I removed that preview link.
2006-10-16 11:04:18 +00:00
thompson697
95df21e3ae
Apply modularity to the creation of the log file during restore to a new course.
...
Remove the responsibility for loging the application of the course start date offset,
from activity modules to the backup module.
2006-10-16 10:40:48 +00:00
tjhunt
6fe671e94a
MDL-6984 - Problem with Blackboard 5 import in PHP5. Fix based on a suggestion from Arthur Manning. Merged from MOODLE_16_STABLE.
2006-10-16 10:13:38 +00:00
ethem
92fa909b5e
+ New consts for authorize_action() function:
...
* AN_RETURNZERO: No connection was made on authorize.net.
* AN_APPROVED: The transaction was accepted.
* AN_DECLINED: The transaction was declined.
* AN_REVIEW: The transaction was held for review.
+ Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed'
+ New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user)
+ New feature: Search payments by orderid and transid
+ New function: send_welcome_messages()
merged from 17stable.
2006-10-16 09:43:15 +00:00
ethem
7b23572651
+ New consts for authorize_action() function:
...
* AN_RETURNZERO: No connection was made on authorize.net.
* AN_APPROVED: The transaction was accepted.
* AN_DECLINED: The transaction was declined.
* AN_REVIEW: The transaction was held for review.
+ Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed'
+ New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user)
+ New feature: Search payments by orderid and transid
+ New function: send_welcome_messages()
2006-10-16 09:26:04 +00:00
ethem
e9369e5282
+ New consts for authorize_action() function:
...
* AN_RETURNZERO: No connection was made on authorize.net.
* AN_APPROVED: The transaction was accepted.
* AN_DECLINED: The transaction was declined.
* AN_REVIEW: The transaction was held for review.
+ Fix: Speacial handling for echecks: REVIEW; 'Under Review', 'Approved Review', 'Review Failed'
+ New feature: Upload a CSV file for echecks (capability: enrol/authorize:uploadcsv level: user)
+ New feature: Search payments by orderid and transid
+ New function: send_welcome_messages()
2006-10-16 09:09:14 +00:00
skodak
74b0c7ac01
MDL-6444 Typo in Course/Report/Participation/index.php, patch by Stephen Bourget
2006-10-16 09:05:48 +00:00
skodak
e01a96ef15
reverting moved $SITE reinitialisation into setting method, it was not a good idea after all
2006-10-16 08:52:52 +00:00
skodak
00d69809d4
backported new adodb 4.93 from HEAD
2006-10-16 08:42:51 +00:00
skodak
02d7853dab
MDL-6985 Role Short name cannot be modified
2006-10-16 08:33:45 +00:00
skodak
7f5f0ae62b
fixed error message when empty site full or short name - moved $SITE reinitialisation into setting method
2006-10-16 07:52:52 +00:00
skodak
b5a814308a
PARAM_MULTILANG is now alias of PARAM_TEXT
2006-10-16 07:45:32 +00:00
skodak
f22675fed9
fixed error message when empty site full or short name
2006-10-16 07:35:12 +00:00
skodak
1f45359727
moved header after the redirects and require_logout
2006-10-16 06:51:08 +00:00
moodler
7fe0a5d596
Automatic installer.php lang files by installer_builder (20061016)
2006-10-16 03:06:22 +00:00
vyshane
e83bdb2c03
Removed 'student' from lang string for module visibility.
2006-10-16 02:52:15 +00:00
vyshane
3b253287d7
Removed 'student' from lang string for module visibility
2006-10-16 02:51:38 +00:00
vyshane
bf252c1d4a
Added rebuild_course_cache() call when a resource is deleted. Related to MDL-6912.
2006-10-16 02:42:59 +00:00
danmarsden
cf0d9e996b
Fix for MDL-6550 - patch from Graeme Byrne thanks! :-)
2006-10-15 23:59:18 +00:00
stronk7
670eea76db
New block upgrade functions must be called:
...
xmldb_block_BLOCKNAME_upgrade()
Part of MDL-6786, just for consistency.
2006-10-15 23:02:07 +00:00
stronk7
59359cde79
Now set_field() supports Oracle LOBs. Better error handling of oracle_update_lobs()
2006-10-15 20:11:14 +00:00
stronk7
2794229c55
Now update_record() supports LOBs under Oracle. Plus prevent empty objects to be updated.
2006-10-15 19:37:58 +00:00
stronk7
626caefd89
Minor changes + debug info in UpdateXlob()
2006-10-15 18:34:38 +00:00
stronk7
6880e3bb16
- Introducing the first version of the new mssql_n adodb driver (not finished, just for experimenting).
...
- Now insert_record() is handling Oracle CLOBS and BLOBS properly (really annoying the number of hacks needed).
- Creating one new global object to cache $db->MetaColumns() calls per request, because it's being used
in a lot of places inside dmllib.
TODO: hack update_record() and set_field() to allow Oracle LOBs
enclose all the Oracle function calls into one db transaction
2006-10-15 16:38:22 +00:00
moodler
ed0dd58cf2
Automatic installer.php lang files by installer_builder (20061015)
2006-10-15 03:03:20 +00:00
moodler
1c52f98506
Removed fucks
2006-10-14 07:27:30 +00:00
moodler
5aac129459
Automatic installer.php lang files by installer_builder (20061014)
2006-10-14 03:05:28 +00:00
stronk7
43efbf3deb
Now admin/index.php checks for proper prefixes (MDL-6230)
2006-10-13 23:47:19 +00:00
gustav_delius
408964a73b
When javascript was turned off the group menu did not work because the Go button linked to course/view.php rather than mod/forum/view.php
2006-10-13 23:28:09 +00:00
stronk7
b0c015e156
Now installer:(MDL-6823)
...
- performs Oracle charset checks (both client and server)
- prefix checks
- shows differnt information foreach DB flavour
- provide one link to Moodle Docs for MSSQL and Oracle
- the ODBC connector has been marked as experimental due
to confirmed problems by MS
2006-10-13 18:18:44 +00:00
stronk7
b47138f834
Some more strings added to the installer to make it more resposible.
2006-10-13 17:22:14 +00:00
stronk7
40652b156b
Added new strings for DB select/configure.
2006-10-13 11:32:42 +00:00
nfreear
afa39a8fa8
Fixes bug MDL-6896, "Global search block - relative form URL broken". Merged from MOODLE_17_STABLE branch.
2006-10-13 09:15:24 +00:00
moodler
c52128df17
Automatic installer.php lang files by installer_builder (20061013)
2006-10-13 03:06:54 +00:00
toyomoyo
c0234d300b
fix warnings during restore
2006-10-13 02:53:03 +00:00
stronk7
ddc35e5bd5
First cut of the modified installer. TODO:
...
- Create the new databasesettingssub_XXXX strings with info foreach db.
- Check prefix rules (mandatory to everybody but MySQL and no longer than 2cc for Oracle
- Ignore "database" for odbc_mssql driver
- Check "oci8po" DB character set
- Beautify the strings showed in the popupmenu (Oracle, SQL*Server....) instead of
showing the driver name
2006-10-12 17:42:42 +00:00
moodler
fb904d1889
Automatic installer.php lang files by installer_builder (20061012)
2006-10-12 12:36:10 +00:00
stronk7
5d7850d42e
Small change in rename_field() so objects won't become modified at all
...
in the process.
2006-10-12 12:25:03 +00:00
toyomoyo
52657c4298
fixing warnings
2006-10-12 08:32:16 +00:00
toyomoyo
bd2930f2b1
fixing warnings
2006-10-12 08:25:46 +00:00
toyomoyo
6cebd028b9
fixing warnings during restore
2006-10-12 08:01:27 +00:00
toyomoyo
1e006c3d5f
removing warnings during restore
2006-10-12 07:32:29 +00:00
moodler
d5ebb85dce
Made the page a lot friendlier when you access a course in a switched Guest role.
...
MDL-6885 has details
2006-10-12 07:27:18 +00:00
vyshane
be653a00cc
Some cleanups (mostly formatting).
2006-10-12 07:08:16 +00:00
moodler
a1dfc10135
Documentation for stable branch numbering
2006-10-12 07:05:49 +00:00
toyomoyo
e67dfebaca
fixing notices
2006-10-12 06:57:39 +00:00
toyomoyo
33a9f3495e
fixing warnings during restore
2006-10-12 06:12:00 +00:00
moodler
e1f8632d26
Added some tooltips to the role buttons to help when you down the bottom of
...
the list and can't see the headings. MDL-6886
2006-10-12 03:54:48 +00:00
toyomoyo
82192c1bd8
fix warnings during restore
2006-10-12 03:36:13 +00:00
toyomoyo
b59efda13c
fixing warnings during restore
2006-10-12 03:30:00 +00:00
moodler
044f9df97e
Saving settings is now faster (no redirect), and you get better feedback on errors.
2006-10-12 03:24:49 +00:00
toyomoyo
3743bfe506
fixing warnings during restore
2006-10-12 02:48:47 +00:00
toyomoyo
90beaec2eb
fixing warnings during restore
2006-10-12 02:39:17 +00:00
toyomoyo
f758baa9ac
fixing warnings during restore
2006-10-12 02:30:38 +00:00
toyomoyo
42a5861017
getting rid of wawrnings
2006-10-12 02:13:06 +00:00
tjhunt
c9ddd414c7
Take out 8) smiliey that interfeers with ligitimate content like (1998).
2006-10-11 16:29:54 +00:00
moodler
6b0ee8e3d7
Merged version from MOODLE_16_STABLE which never got into HEAD
2006-10-11 09:21:30 +00:00
toyomoyo
e4db399ca5
fix for MDL-6900
2006-10-11 07:38:14 +00:00
vyshane
43b3cb4230
Fix for MDL-6674. <ul> was being added before the wrong node when sections are initialised on page load.
2006-10-11 06:56:55 +00:00
toyomoyo
8bf4dbe31c
just in case you don't have roles assignable
2006-10-11 06:34:22 +00:00
moodler
471a2de79c
Non-editing teachers can't manage activities! MDL-6910
2006-10-11 06:24:10 +00:00
moodler
a0ba79ded7
All the PREVENTS from the legacy roles have been removed
...
(and thus are treated as INHERIT by default).
See MDL-6907 for details.
2006-10-11 06:16:16 +00:00
moodler
252b76e7aa
Switch roles now works properly for admins at module level!
2006-10-11 05:47:36 +00:00
vyshane
fe6ed5c2c2
Fix for MDL-6912. The script was not deleting module instances properly. We need to call the module cleanup function <modname>_delete_instance() whenever we delete a module instance.
2006-10-11 05:41:41 +00:00
jamiesensei
ea95720fe5
*** empty log message ***
2006-10-11 05:32:35 +00:00
toyomoyo
916ad6bf7e
fix for MDL-6882 context check broken for calendar
2006-10-11 05:23:14 +00:00
toyomoyo
ef10c059ef
fixed wrong capability checks
2006-10-11 03:47:14 +00:00
toyomoyo
770f2e2ab1
fixed assign_capability() function so that it's no longer writing '0's into db
2006-10-11 02:13:46 +00:00
sam_marshall
e364a5368d
Wiki: fixed issue if you tried to set a page content to completely blank (you need to switch the html editor into text mode to get this, otherwise it puts in <br/>, but one of our QA people managed to find it anyway).
...
Also corrected whitespace on some of the lock stuff (weird - how did those tabs get in there? hrm)
2006-10-10 17:15:40 +00:00
nfreear
1bece9174c
Fixes bug, "Warning: Invalid argument supplied for foreach() in /var/www/html/ndf42/head/lib/blocklib.php on line 174"
2006-10-10 11:03:35 +00:00
nfreear
6fbe028442
Fixes bug MDL-6896, "Global search block - relative form URL broken"
2006-10-10 10:58:29 +00:00
toyomoyo
55656968b3
do not write inherit into db!
2006-10-10 09:22:38 +00:00
moodler
39ec6a6f4b
Bumped to launch into 1.8 dev
2006-10-10 08:31:44 +00:00
moodler
2179989947
Merged bogon fix from stable
2006-10-10 07:43:19 +00:00
jamiesensei
d9dce4e7b1
changed $default to $toform - more meaningful
2006-10-10 07:16:05 +00:00
jamiesensei
461f512795
moved setting of defaults from edit2.php to edit_form.php
2006-10-10 07:05:19 +00:00
moodler
4139c81ab8
Updating to 1.7 Beta
2006-10-10 06:21:59 +00:00
moodler
328af436b4
Latest tags
2006-10-10 06:17:44 +00:00
vyshane
3d044d6012
Removed teacher forum string
2006-10-10 05:24:16 +00:00
vyshane
ee5cdf3466
Removed teacher forums from course reset.
2006-10-10 05:23:44 +00:00
vyshane
25b75c6053
Merged fix for MDL-6537
2006-10-10 05:20:43 +00:00
vyshane
5b32e3bc3c
Merged from 1.6 stable.
2006-10-10 05:17:12 +00:00
toyomoyo
beba128f6d
fix for MDL-6831
2006-10-10 03:17:49 +00:00
toyomoyo
4473252d7c
changing default capabilities for coursecreators so that they could create courses
2006-10-10 03:03:17 +00:00
toyomoyo
7246585a70
setting default value for backup/restore capabilities for teacheredit and coursecreators
2006-10-10 02:52:08 +00:00
vyshane
3ecc49d495
Turn off display of week dates if we are in editing mode and if ajax is turned on. We do this for now because the ajax code does not yet update the week dates when sections are moved around. Will have to fix later.
2006-10-10 02:38:33 +00:00
cap2501
c4308cfa1b
Bug:MDL-6674
...
made changes to blocks_exeute_repositioning_atomic to fix some logic errors with shifting around the weight list
2006-10-10 02:06:51 +00:00
stronk7
a08a698895
Updated moodle notes to reflect latest change to odbc_mssql driver.
2006-10-09 23:39:32 +00:00
stronk7
d5d50c2d54
Fixed ServerInfo() behaviour for odbc_mssql. We need this working properly NOW!
...
(will be back once ADOdb code supports it properly)
2006-10-09 23:36:27 +00:00
stronk7
97ab73aad4
Add odbc_msql dbtype to a bunch of places.
2006-10-09 22:55:55 +00:00
stronk7
354bb6035a
And now, Moodle is able to work with the odbc_mssql driver. Simple! B-)
2006-10-09 22:29:52 +00:00
stronk7
1c460b0bc9
Show error if the dbtype specified isn't supported by XMLDB
2006-10-09 22:28:22 +00:00
stronk7
cd2acc4aa1
Added MetaIndexes() support to the odbc_mssql driver. We need it NOW!
...
I've posted one comment about this in ADOdb forums:
http://phplens.com/lens/lensforum/msgs.php?id=15930
2006-10-09 22:26:21 +00:00
stronk7
a3f3ff1b69
Added MetaIndexes() support to the odbc_mssql driver. We need it NOW!
...
I've posted one comment about this in ADOdb forums:
http://phplens.com/lens/lensforum/msgs.php?id=15930
2006-10-09 22:21:01 +00:00
stronk7
2d31c39397
Not necessary to set unicodedb for each admin/index.php invocation
...
because setup.php saves it if needed.
2006-10-09 16:33:31 +00:00
stronk7
9b3bacf077
Raising MSSQL min req. to 2005 (9.0)
...
Merged from MOODLE_16_STABLE
2006-10-09 16:19:29 +00:00
sam_marshall
745c19685c
Wiki: some changes to improve error messages and (slightly) behaviour when in group mode
2006-10-09 14:29:14 +00:00
jamiesensei
29f1cae1b0
removed htmleditors array - not needed
2006-10-09 11:34:43 +00:00
jamiesensei
0d26ea7af9
fix for bug that value of restrictmodules field wasn't available which breaks disabling of allowedmods multiple select
2006-10-09 11:23:23 +00:00
skodak
a44091bffe
Fixing Theme Config Variables MDL-6784
2006-10-09 10:12:41 +00:00
skodak
4dd5d7513d
fixed wrong capability name and function name typo
2006-10-09 10:07:15 +00:00
vyshane
3203f10402
Fix for MDL-6889. See bug report for description.
2006-10-09 08:35:39 +00:00
jamiesensei
230a910a0b
added 2 new methods to form class data_submitted and setDefault
...
Fixed bug in id generation
2006-10-09 08:32:30 +00:00
bobopinna
89656c6129
Fixed some bugs in the datamodel definition
2006-10-09 07:36:51 +00:00
skodak
c544838d29
index.html of assignment help needs update. MDL-6888
2006-10-08 21:44:59 +00:00
cap2501
2fb6deb574
added main.getString function to better emulate php-moodle. In the future this could be extended to dynamically pull strings from moodle.php.
2006-10-08 21:24:38 +00:00
cap2501
6d9fbe85b6
delete confirmation now useing main.getString function.
2006-10-08 21:23:51 +00:00
cap2501
196fe04635
resolved: MDL-6579
...
added string for 'resource'
2006-10-08 21:10:14 +00:00
cap2501
f2e3c53ad6
resolved: MDL-6579
...
created language independant prompt for resource/activity deletion
2006-10-08 21:09:47 +00:00
cap2501
3287cb4cba
resolved: MDL-6579
...
Added strings needed for delete confirmation.
2006-10-08 21:09:18 +00:00
skodak
8b902ba4a0
change_password.php produces JS error fixed typo MDL-6750
2006-10-08 20:29:13 +00:00
cap2501
39d764f932
removed code for the old way of updating the block weight.
2006-10-08 20:26:25 +00:00
cap2501
9e28e05f62
movement of the blocks is now handled completely seperately on the serverside and on the clientside. This was unavoidable.
2006-10-08 20:25:10 +00:00
cap2501
bb781a70c5
made changes to the way the block movment was handled to eliminate some errors that came up.
2006-10-08 20:24:15 +00:00
cap2501
77e65ff786
removed some debugging output accidently left in.
2006-10-08 20:23:30 +00:00
cap2501
e028ed34da
created blocks_execute_repositioning_atomic as an extension of blocks_execute_repositioning, the original did adjust the column that the block was coming from but it did not insert it properly into the target column (adjusting the weights of the other blocks). This is currently only really nessicary for the ajax formats.
2006-10-08 20:21:15 +00:00
skodak
78d4711ebb
fixed data/index.php when no databases available, initialized array in get_all_instances_in_course() from datalib.php; merged from MOODLE_16_STABLE
2006-10-08 19:45:29 +00:00
skodak
d8247de55e
problem with incorrect redirect url - wwwroot without the trailning slash in not standard compliant MDL-6193
2006-10-08 18:55:18 +00:00
skodak
cefd17e991
docs for advanced uploading of files assignment type
2006-10-08 18:16:18 +00:00
skodak
2597d73128
a small typo 'helpupload' on /lang/en_utf8/assignment.php MDL-6883, found by Mitsuhiro Yoshida
2006-10-08 17:35:27 +00:00
skodak
17e5635c36
fixed 'capabilitities' typos and removed forgotten debug_print_backtrace() commited with MDL-6728
2006-10-08 11:00:49 +00:00
skodak
ab61d01b06
Typo in lib/accesslib.php MDL-6728, found by Nicolas Martignoni.
2006-10-08 10:52:54 +00:00
skodak
a8f5a8a2e4
Insert a Chinese charachter string to label resource result error MDL-6757
2006-10-08 10:07:03 +00:00
stronk7
5fbab6173a
Now Oracle uses the new find_sequence_name() function to find the
...
correct sequence name for each table on insert.
Also, introduced initial hooks to support Oracle LOBs in insert_record()
2006-10-08 09:58:11 +00:00
skodak
badc7070cd
removed obsoleted backup configuration scripts
2006-10-08 09:51:22 +00:00
stronk7
c5ac44c69e
Added find_sequence_name() to be used by insert_record() to get the correct sequence
2006-10-08 09:38:09 +00:00
stronk7
abbd460ff9
Adding getSequenceFromDB() for Oracle in order to detect the correct
...
sequence name in the insert_record() function.
2006-10-08 09:36:33 +00:00
skodak
1c55ce748d
add note to admin settings to check max_allowed_packet when enabling db sessions in MySQL - MDL-6866 , fixed quotes :-(
2006-10-08 09:20:46 +00:00
skodak
25bbaee716
add note to admin settings to check max_allowed_packet when enabling db sessions in MySQL - MDL-6866
2006-10-08 09:16:38 +00:00
skodak
91b678f306
Grades computed incorrectly if assignment name appears more than twice in a course MDL-6876 , patch submitted by Gary Anderson
2006-10-08 09:04:59 +00:00
skodak
b3cbe3a333
fixed wrong strip_slashes() when printing blog entry
2006-10-08 08:52:15 +00:00
skodak
b15d469ec2
Error when adding Recent activity as a sticky block MDL-6801
2006-10-08 08:44:32 +00:00
skodak
14df27ad3c
fixed wrong redirect when editing blocks in stickyblocks page
2006-10-08 08:36:45 +00:00
skodak
cf0c601fb9
fixed encoding header() in messaging frames MDL-6128 - 1.6, special chars and messaging system.
2006-10-08 08:29:35 +00:00
skodak
0ca30166f3
Resource frameset error in IE6 MDL-6842, patch submitted by Chris Fryer.
2006-10-08 08:20:38 +00:00
skodak
4db69ffb82
Scalable Vector Graphics (SVG) files in Moodle are not correctly displayed in many Browsers MDL-6878, patch submitted by Geoffrey Rowland, thanks!
2006-10-08 08:13:41 +00:00
skodak
c664a03609
added 'Reviewed' assignment status to My moodle page MDL-6834, patch submitted by Stephen Bourget - thanks!
2006-10-08 08:06:04 +00:00
moodler
67a6156c5a
Automatic installer.php lang files by installer_builder (20061008)
2006-10-08 02:52:12 +00:00
skodak
57f1b91497
fixed some incorrect strtolower() calls that were breaking non ascii languages MDL-6135
2006-10-07 20:47:54 +00:00
gustav_delius
6a8b20b790
Don't strip slashes from data send to htmlarea, after all it is not being stripped from data going to the normal textarea either.
2006-10-07 17:20:35 +00:00
gustav_delius
1ca20e0272
Don't use stripslashes on data coming from database
2006-10-07 17:18:15 +00:00
gbateson
c0e19266db
simplified the javascript to hide "name", "studentfeedbackurl" and dates when not required
2006-10-07 14:57:37 +00:00
stronk7
dd00dbd799
Allow load average to be displayed in servers using the comma as
...
decimal separator.
2006-10-07 10:33:58 +00:00
gbateson
fb414b62e5
added PARAM types for all calls to "optional_param()" and "required_param()"
2006-10-07 08:59:59 +00:00
gbateson
cc4782064d
adjust "best grade" to range 0 to hotpot->maxgrade
2006-10-07 05:03:52 +00:00
gbateson
1cc9e57b94
removed "thiscourse" and "allmycourses" as they are no longer used in hotpot/report.php
2006-10-07 02:00:53 +00:00
gbateson
dee022991a
remvoved course selection for admins, and tidied up handling of capabilities
2006-10-07 01:57:57 +00:00
gbateson
967cede92e
remove "Selecting a course" section
2006-10-07 01:53:49 +00:00
stronk7
b7e58d8f8c
Wood-ising the adminsettings fieldset
2006-10-06 22:25:49 +00:00
tjhunt
13835c77b6
MDL-6731 Can't save manual comment on a quiz question. I had missed one instance of the comment -> manualcomment column rename.
2006-10-06 17:22:08 +00:00
tjhunt
8ff134db82
Typo.
2006-10-06 17:20:37 +00:00
tjhunt
b20ea66988
Hopefully improve performance on site with lots of question categories Merged from MOODLE_16_STABLE.
2006-10-06 16:48:54 +00:00
stronk7
29bbfb339a
One malformed XML was preventing wiki_logs to be properly UTF8-ised. MDL-6854
2006-10-06 15:26:13 +00:00
stronk7
b695b9106b
Typo recently introduced. MDL-6336
...
(merged from MOODLE_16_STABLE)
2006-10-06 15:03:46 +00:00
skodak
e96f2a77db
Code cleanup in blog.
...
MDL-6805 Fixed redirects in blog; MDL-6807 partially fixed use of capabilitites - it needs more testing and possibly minor fixing, the commit contains other blog bugfixes too. In general it should work exactly the same. The introduction of roles makes proper setup more difficult :-(
Expect some more fixes soon, no other bigger changes...
2006-10-06 10:11:52 +00:00
gbateson
bd9c7e8473
fix undefined variable $context on line 135
2006-10-06 09:36:40 +00:00
toyomoyo
837bde0cc0
fix for MDL-6336
2006-10-06 08:26:37 +00:00
gbateson
a81468432a
allow display and deletion of attempts by "All users" including unenrolled students
2006-10-06 08:02:07 +00:00
vyshane
64e5a68d91
Some fixes for MDL-6674. This should fix moving activities (resources).
...
Thanks to Dan Poltawski for suggestions.
2006-10-06 07:56:37 +00:00
gbateson
8e6461f749
fix typo on line 89: get_context_instance(CONTEXT_COURSE, $course) ... should be ... get_context_instance(CONTEXT_COURSE, $course->id)
2006-10-06 07:09:27 +00:00
moodler
83ea392ee1
Drop the user_xxx tables after Roles install
2006-10-06 06:47:12 +00:00
moodler
47545d4161
Removed some references to user_teachers that will probably cause a bug
2006-10-06 06:42:33 +00:00
moodler
f0c9f676db
Remove user_students references
2006-10-06 06:39:29 +00:00
moodler
cf85513250
Added missing cap strings
2006-10-06 06:37:58 +00:00
moodler
99938ae7b6
Added some defaults to make sure Exercise is off by default
2006-10-06 06:34:08 +00:00
moodler
95056a03f9
Fix some doc links
2006-10-06 06:26:06 +00:00
gbateson
259bcf0c8b
added "format_string" and "stripslashes" when print HotPot name to browser
2006-10-06 06:22:15 +00:00
moodler
e27a943788
Disable the exercise module as it's not maintained or upgraded for roles
2006-10-06 06:15:57 +00:00
toyomoyo
1b19e8107e
fix for MDL-6859, MDL-6860
2006-10-06 06:04:32 +00:00
moodler
010b211f51
Fixes for naming of forms to make them XHTML compatible
2006-10-06 06:02:17 +00:00
moodler
e32fb9a4f7
Fixed a misplaced form tag MDL-6861
2006-10-06 05:57:07 +00:00
gbateson
2398e835a8
renamed all $hp to $hotpot; added/update/delete calendar events when adding/updating/deleting hotpots; add functions required for participation report;
2006-10-06 05:56:53 +00:00
moodler
76b41407ea
Made alt tags translatable MDL-6861
2006-10-06 05:53:28 +00:00
moodler
46f8bacfc8
Fixed some unencoded & in urls
2006-10-06 05:44:05 +00:00
moodler
670fc5123a
MOre fixes to remove erros due to JS
2006-10-06 05:28:57 +00:00
moodler
4418a1125a
FIxed some incorrect backslashes MDL-6861
2006-10-06 05:06:25 +00:00
gbateson
bf4665c362
In "Selecting Users" section, added "All users" and modified "All participants" and "Existing students"
2006-10-06 04:03:39 +00:00
toyomoyo
0c40e390ad
adding utf8 support for new fields
2006-10-06 04:03:02 +00:00
gbateson
7676e965b9
added $string['allusers'] = 'All users'; for "hotpot/report.php"
2006-10-06 03:46:46 +00:00
moodler
86a8eb5841
Automatic installer.php lang files by installer_builder (20061006)
2006-10-06 02:56:20 +00:00
gbateson
85b05f3784
removed all references to obsolete indexes on "hotpot_questions.name" and "hotpot_strings.string"
2006-10-06 02:03:43 +00:00
gbateson
cd49109677
reset version number in HotPot v1 with over-advanced version number
2006-10-06 01:25:56 +00:00
gustav_delius
6ac0909983
Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570. For some reason this script is not using get_users() but is instead constructing its own sql, so the change to get_users() had to be duplicated here.
2006-10-05 22:45:01 +00:00
gustav_delius
6bff0453f5
Incomplete user record (the one where the username is still 'changeme') should not be included in user listing. See bug 4570
2006-10-05 22:21:09 +00:00
stronk7
1db1336bd4
Avoid some notices. Part of MDL-6854
2006-10-05 19:51:47 +00:00
stronk7
10f36d68e8
Avoid some notices. Part of MDL-6854
2006-10-05 19:29:39 +00:00
tjhunt
ec467c6929
MDL-6837 - move warning about pupup blockers into the lang file. Merged from MOODLE_16_STABLE.
2006-10-05 15:58:08 +00:00
andreabix
446b52f908
overlapping fix
2006-10-05 09:52:38 +00:00
toyomoyo
1e248b442c
fixed a bug with user listing where user_lastaccess entries are not set, e.g. after a resotre
2006-10-05 08:54:35 +00:00
vyshane
35b974dae6
Some small formatting changes.
...
Added some missing semi-colons in js code.
2006-10-05 08:47:13 +00:00
moodler
881a77bfcf
Fix to ignore hidden courses when using switchrole in a course MDL-6841
2006-10-05 08:41:06 +00:00
vyshane
191acd5964
Fix for MDL-6682. Removed duplicate string quiz:grade
2006-10-05 08:05:55 +00:00
vyshane
d8947f95dc
Merged fix for MDL-6819
2006-10-05 07:22:48 +00:00
moodler
04338f9ea1
Removed user_students, user_teachers, user_coursecreators and user_admins
...
as they are now irrelevant MDL-6830
2006-10-05 07:05:06 +00:00
moodler
36832f4d41
Moved sticky blocks to Appearance section
2006-10-05 07:01:28 +00:00
bobopinna
04231a9547
Fixed comments_from_learner data element to fit ADL requirements
2006-10-05 06:48:30 +00:00
toyomoyo
cfa7cdb958
droppinf utf8 support for user_* tables
2006-10-05 06:05:02 +00:00
toyomoyo
013b90ed92
a few fixes, for MDL-6836, MDL-6835, and MDL-6765
2006-10-05 04:05:07 +00:00
toyomoyo
b1e68bff0e
removing some debugging statements
2006-10-05 03:26:22 +00:00
vyshane
1a7cdb11b4
Merged fixes for MDL-2583
2006-10-05 03:18:29 +00:00
koenr
edb14e52fc
closing MDL-5510
2006-10-04 21:40:18 +00:00
skodak
f47f4659de
fixed nocache option in format_text()
2006-10-04 21:22:57 +00:00
mits
0a1361f61f
Soften the color of currently selected admin menu.
2006-10-04 20:42:57 +00:00
urs_hunkler
37e7b362bb
'MDL-6790 Grab handle icon is missing from blocks. Added property to show the move curser for a simmilar signal as for the crosses'
2006-10-04 16:23:44 +00:00
urs_hunkler
57d13c2468
'merged from 1.6 - MDL-6824, redundant declaration: .categorybox .category'
2006-10-04 15:51:48 +00:00
urs_hunkler
eef90b805f
'MDL-6824, redundant declaration: .categorybox .category'
2006-10-04 15:51:00 +00:00
moodler
7e6add3eab
Was this checked in by accident?
2006-10-04 15:49:54 +00:00
urs_hunkler
9596181286
merged from 1.6 - MDL-6824
2006-10-04 15:49:41 +00:00
moodler
acc26e71bd
Reverted my changes to ddlib
2006-10-04 15:35:27 +00:00
moodler
a9b1f143d2
Undoing my hacks to try and keep this code clean as possible.
2006-10-04 15:30:54 +00:00
thompson697
eb87ac71c5
Change creation of restorelog file location to protected backupdata folder.
...
Reassign style and language links
2006-10-04 14:50:50 +00:00
moodler
57bdc37ddb
Committed a fix for streaming chat from Dan Polawski, MDL-6791
...
Seems to help!
2006-10-04 12:58:09 +00:00
tjhunt
ed586fb863
Typo.
2006-10-04 11:45:48 +00:00
tjhunt
834e58a9d2
Fix indent.
2006-10-04 10:39:42 +00:00
tjhunt
b22fc90182
MDL-6814 - Can't change "maximum grade" value on a quiz. Now you can.
2006-10-04 10:21:23 +00:00
sam_marshall
b9f67bd23d
[MDL-6701] Added closing </form> tags in wiki admin pages (the pages are still not xhtml, but...)
2006-10-04 10:20:21 +00:00
sam_marshall
bdbed68baf
Wiki: list of pages to strip in the 'are you sure' message was incorrectly URL-encoded on display to user, this fix removes url encoding and html-encodes it instead
2006-10-04 10:11:15 +00:00
sam_marshall
1e4c8535ef
Wiki - fixed 'Strip versions' that didn't work in postgres because of GROUP BY a select alias not being allowed. (Even tested in mysql this time...)
2006-10-04 10:03:02 +00:00
moodler
4e423cbf5d
Bye-bye to old database upgrade files and hellow to upgrade.php!
...
First order of business: drop all the extraneous user_xxx tables.
2006-10-04 09:47:05 +00:00
moodler
eb437bd351
Some changes to ddllib.php to make some functions a bit easier to call.
...
May not be final ... see MDL-6817 for details.
2006-10-04 09:44:38 +00:00
toyomoyo
c0c98c7c78
fixing roles support for backup/restore
2006-10-04 09:01:50 +00:00
vyshane
e0539647aa
Added $restore->mods[$mod->type]->granular to restore_create_sections() and to restore_create_modules(). This defines whether we are doing a granular restore where we care about the individual module instances to be restored, or whether we are not doing a granular restore, in which case we just restore all course module instances.
2006-10-04 08:35:00 +00:00
moodler
3a4c750bcc
FIxed up some more references to user tables
2006-10-04 07:36:58 +00:00
moodler
7b37cb9a01
Added new function
...
function user_has_role_assignment($userid, $roleid, $contextid=0)
2006-10-04 07:07:57 +00:00
bobopinna
acba841b09
Fixed a bad error code choose
...
Rewritten the GetErrorString function to fix bad error code call
2006-10-04 06:22:18 +00:00
bobopinna
e743389667
Added API property version required from ADL Test Suite
2006-10-04 06:18:49 +00:00
moodler
3ede4ecbcb
Fixes to remove access to user_coursecreators and use roles instead MDL-6800
2006-10-04 05:36:17 +00:00
moodler
7dfa686dbd
Added button to turn editing off again ... ugly but ...
2006-10-04 04:49:44 +00:00
moodler
c9f8e57f4a
FIxed category editing button
2006-10-04 04:45:58 +00:00
moodler
0baf9f0f23
Fixed roles link a bit
2006-10-04 04:40:55 +00:00
moodler
4610e45b11
FIxed for duplicate icons MDL-6811
2006-10-04 04:37:40 +00:00
moodler
ceb7638355
Automatic installer.php lang files by installer_builder (20061004)
2006-10-04 02:56:19 +00:00
toyomoyo
9b5d7a463e
fixing typo
2006-10-04 02:43:29 +00:00
toyomoyo
7f8691201c
fixed a bug where block instances aren't deleted properly
2006-10-04 02:43:11 +00:00
moodler
e020c546c7
Fix for access to users at site level MDL-6810
2006-10-04 02:14:25 +00:00
skodak
793a8c3af7
Assignment Module breaks MyMoodle Page MDL-6802, revisited - I hope it is correct now
2006-10-03 23:34:03 +00:00
skodak
93caac3a72
MDL-6805 Fix redirects in blog - edit button now properly redirects to self
2006-10-03 21:07:13 +00:00
skodak
db837673df
MDL-6805 Fix redirects in blog; MDL-6807 fix blog capability checks
2006-10-03 20:41:15 +00:00
skodak
290cf2f484
fixed broken table layout in blog MDL-6806
2006-10-03 20:18:58 +00:00
ethem
dc754f4f56
Put back last commit. Some functions check $extra->id.
2006-10-03 19:39:21 +00:00
skodak
ab2f17b05b
Completely disable all blog scripts when blog system disabled from site preferences MDL-6803
2006-10-03 19:21:35 +00:00
skodak
9731624c87
Assignment Module breaks MyMoodle Page MDL-6802, please test it
2006-10-03 18:31:51 +00:00
ethem
c008cd2fcf
If an error occures, id returns 0.
...
The user, who will be sent email, may be confused for $record->id=0.
Merged from 16stable.
2006-10-03 18:21:14 +00:00
gustav_delius
1dab3c8384
The course upload size limit applies to students only, it should not be imposed for teacher uploads.
2006-10-03 18:19:38 +00:00
ethem
9c59948e63
* enrol_into_course() doesn't send welcome message unless $course->welcomemessage is set.
...
This is actually good thing, because we can send our welcome message.
* enrol_into_course() added in Moodle(2006091700), so authorize plugin requires this version.
2006-10-03 18:00:48 +00:00
tjhunt
158e545945
MDL-5601 - restoring a course with a multianswer question sometimes causes an error() for a non-fatal contition. Change it to a notify, and everything seems to work. I don't really understand why, but this change does not make matters worse, so I am committing it. Thanks to Joseph Rezeau. Merged from MOODLE_16_STABLE.
2006-10-03 17:57:16 +00:00
tjhunt
54f306788a
MDL-6649 Only show the HTML editor for the first essay question on a page, since it is unreliable when there are lots. Merged from MOODLE_16_STABLE.
2006-10-03 17:32:22 +00:00
stronk7
2ddec1f4ac
Changed PG rename_index() to use the old ALTER TABLE ... RENAME TO syntax
...
(pretty strange syntax, but seems to work)
2006-10-03 15:00:55 +00:00
tjhunt
2da448161a
MDL-6297 shuffleanswers option not imported correctly for MC questions.
2006-10-03 14:01:38 +00:00
moodler
921a34d61b
Added copyright notice (they paid moodle.com for this development)
...
http://moodle.org/mod/forum/discuss.php?d=55410
2006-10-03 12:51:24 +00:00
ethem
b99cb7fd23
No need extra $order->status check. These functions expired() and settled() do it for us. Merged from 16stable.
2006-10-03 09:05:38 +00:00
toyomoyo
5e67946d6c
adding support for 1.6->1.7 backups
2006-10-03 08:54:46 +00:00
moodler
31aab450e0
Removed focussing altogether MDL-6750
2006-10-03 07:31:49 +00:00
moodler
088f12e3ff
Automatic installer.php lang files by installer_builder (20061003)
2006-10-03 02:55:32 +00:00
moodler
8ea7e7b0f7
Merged endless loop fix from stable
2006-10-03 01:46:16 +00:00
moodler
50e07a4995
Patched login for discussions
2006-10-03 01:19:35 +00:00
stronk7
cc0bf61676
Now blocks deletion looks both for tables without and with the
...
"block_" part in table names.
This is an interim situation until "block_" will be required. See:
http://docs.moodle.org/en/Development:Coding#Database_structures
http://tracker.moodle.org/browse/MDL-6786
Also, it's the FIRST use of XMLDB DDL functions inside Moodle! B-)
2006-10-02 23:06:36 +00:00
skodak
5fe9a11d96
more diagnostics in has_capability() - number instead of context object detected and debug message displayed
2006-10-02 22:10:36 +00:00
skodak
403ba37a35
fixed has_capability context parameter in blog
2006-10-02 22:06:18 +00:00
skodak
26d038607a
moodle/blog:view usage fixed in blog
2006-10-02 21:15:48 +00:00
skodak
11c467d939
some blog problems fixed - non existing capabilitites, pg incompatibilities;
...
in anycase the blog is still broken :-(
working on some more fixes now...
2006-10-02 20:50:49 +00:00
skodak
a44de9c12f
fixed print_texarea() capability requirement
2006-10-02 19:47:11 +00:00
skodak
3055079518
fixed sql text quoting, other fixes in blog ahead
2006-10-02 19:21:26 +00:00
stronk7
f8ca405052
re-enabling the rename_field() test
2006-10-02 17:42:31 +00:00
stronk7
ae5a83e6fd
rename_field() under mssql completed
2006-10-02 17:42:14 +00:00
moodler
8303eb8447
Fixes related to presets and MDL-6755.
...
The original code was shocking once I started reviewing it, and even
after heavy editing I'm still not happy with it, but at least it works
more like it was supposed to.
Needs more cleaning up to make it clearer and probably safer.
Also, presets can now contain langage packs and they'll be used.
The image gallery is an example.
2006-10-02 17:24:54 +00:00
moodler
44abaca047
Added another s() to the query strings. Thanks Petr!
2006-10-02 17:09:18 +00:00
stronk7
c562997ff8
rename_field() under oracle completed
2006-10-02 17:06:37 +00:00
tjhunt
ec6adca0f4
MDL-6761 Edit qestion link gone from question preview popup. It was checking the wrong capability.
2006-10-02 17:04:12 +00:00
stronk7
86bb076fc4
rename_field() under postgresql completed.
2006-10-02 17:02:35 +00:00
stronk7
dc7c388280
MySQL doesn't have check constraints. We use enums instead.
2006-10-02 17:02:07 +00:00
mits
2afc256919
Changed the currently selected admin menu bgcolor.
2006-10-02 16:51:48 +00:00
stronk7
f14080b0ad
Prevent "id" fields to be renamed in generators
2006-10-02 16:47:02 +00:00
stronk7
6fdea1a0bd
In my previous commit, "I" was "It" :-D
...
Plus one typo fixed.
2006-10-02 16:46:12 +00:00
stronk7
af72e37237
Prevent "id" fields to be renamed. I can cause lots of problems.
2006-10-02 16:37:41 +00:00
mits
d917ecd46b
Highlight the currently selected admin menu.
...
Changed admin search result color.
2006-10-02 16:35:34 +00:00
stronk7
0e204a1012
Some adjustments to be able to get names without prefix
2006-10-02 16:28:51 +00:00
stronk7
6c02f04b5a
rename_table() under postgresql completed
2006-10-02 16:27:18 +00:00
stronk7
3033991184
Set debug off on tests
2006-10-02 16:26:34 +00:00
stronk7
bb7e5c472c
rename_table() under oracle completed
2006-10-02 16:19:48 +00:00
moodler
40cbc8bb70
String should be printed using s() MDL-6779
2006-10-02 16:08:16 +00:00
stronk7
2f21754261
With the emotion, I forgot to delete some debug lines... :-P
2006-10-02 15:57:59 +00:00
stronk7
8aaf86642c
rename_table() under mssql completed! B-)
2006-10-02 15:56:34 +00:00
moodler
f22e389a41
Added language files to default preset as an example
2006-10-02 15:27:24 +00:00
moodler
53d052d029
Be a bit more flexible with the extra paths (can be a string or an array)
2006-10-02 15:15:23 +00:00
moodler
b53b73bdb8
Additional paramter for get_string() that allows the calling code to
...
specify extra locations for strings
2006-10-02 15:08:25 +00:00
moodler
85489a5b42
Various little cleanups
2006-10-02 14:57:00 +00:00
moodler
94de4ab7f5
Fixed some missing strings
2006-10-02 14:30:28 +00:00
moodler
8eed3b30cf
Strip slashes from admin search string (it's ok, it never gets near a database)
2006-10-02 13:35:28 +00:00
moodler
86a1dca773
Fixed overzealous cleaning MDL-6779
2006-10-02 13:26:02 +00:00
moodler
173006a313
Change default (old change not checked in)
2006-10-02 13:10:58 +00:00
moodler
e9c82dca8f
Fixed capability soring on course and coursecat override MDL-6780
2006-10-02 08:57:00 +00:00
toyomoyo
8020a0162f
roles and capability support for backups. role mapping is in, please help test, thanks
2006-10-02 08:49:07 +00:00
skodak
8d9425149f
fixed directory creation issues in advanced upload assignment
2006-10-02 08:44:58 +00:00
moodler
c84ea828c3
Aligning capability override columns
2006-10-02 08:43:40 +00:00
moodler
2fdc2b9e49
FIxed missing string
2006-10-02 08:40:39 +00:00
moodler
bf1e4b9cdc
Only show search box when there is content in the block
2006-10-02 08:36:25 +00:00
skodak
8704af63b7
Student cannot see handed-in upload single assignment MDL-6770
2006-10-02 08:36:07 +00:00
skodak
8c408f8e46
assignment intro hiding before available date is now optional in advanced upload type ( MDL-6131 ), the rest of types will not be changed
2006-10-02 08:21:35 +00:00
moodler
27160c814b
Cleaned up style for background of admin settings
2006-10-02 07:06:47 +00:00
moodler
b4bfcc9c50
Added a missing string
2006-10-02 07:03:41 +00:00
moodler
455065f9ed
Bring Sticky Blocks into the admin fold
2006-10-02 06:58:46 +00:00
moodler
203abb60b4
FIxed use of reserved SQL words for MDL-6778
2006-10-02 06:52:21 +00:00
moodler
80ee828de3
Fixed typo in capability name
2006-10-02 06:39:55 +00:00
moodler
c5d08a1526
Highlight the currently selected admin menu 8-)
2006-10-02 06:37:58 +00:00
moodler
6fadb97b89
Tidy up admin search box, and fixed 4-spaces everywhere
2006-10-02 06:20:14 +00:00
moodler
36e5266fc1
Added search box for searching admin settings
2006-10-02 06:16:50 +00:00
vinkmar
6140dd8403
added strings for admin search
2006-10-02 06:03:51 +00:00
vinkmar
e32df7aab1
links added to section titles
2006-10-02 06:02:52 +00:00
vinkmar
e898f2b731
changes made for admin search page
2006-10-02 05:53:39 +00:00
vinkmar
1857cd7ff5
Admin search function.
...
Takes a "query" parameter... will be written into admintree block
2006-10-02 05:52:39 +00:00
moodler
3172faf70e
Automatic installer.php lang files by installer_builder (20061002)
2006-10-02 02:56:19 +00:00
stronk7
cba6b7049a
Enabling rename_field() test
2006-10-01 23:06:35 +00:00
stronk7
a2851e5f55
Basic rename_field() function added.
...
TODO: Automatic sequence/trigger/check constraint recreation
under PG, MSSQL & Oracle
2006-10-01 23:02:39 +00:00
stronk7
7c07a93223
Added rename_field() support.
...
TODO: Sync sequences, triggers and check constraints
2006-10-01 22:54:51 +00:00
stronk7
4de0723f31
Added rename_field() support for mssql
2006-10-01 22:52:30 +00:00
stronk7
b5d61bfd9d
Added rename_field() support for MySQL
2006-10-01 22:44:39 +00:00
skodak
01194b77ec
fixed error in assignments when no students enrolled in course
2006-10-01 21:45:54 +00:00
skodak
29889a2a45
partially fixed - assignment intro always avaible even setting available date MDL-6131
2006-10-01 21:35:16 +00:00
tjhunt
cc08091300
Fix performance problem with lots of categories. http://moodle.org/mod/forum/discuss.php?d=54945#252145 . Merged from MOODLE_16_STABLE.
2006-10-01 20:32:12 +00:00
skodak
bee8703ea5
Advanced Upload assignment type - student can't read teacher's uploaded response file MDL-6771
2006-10-01 20:04:53 +00:00
skodak
87a13824e1
fixed MDL-6625 - can't switch courses
2006-10-01 19:55:47 +00:00
skodak
310471950e
Cannot add glossary category MDL-6713
2006-10-01 19:35:27 +00:00
skodak
1d4d2cebe0
left-hand pane on image upload screen is missing MDL-6759
2006-10-01 16:38:26 +00:00
moodler
33b17c67c9
Added IP lookup plugin choice to GUI
2006-10-01 16:25:35 +00:00
skodak
a3627bb77d
incorrect context used in rss_client block upgrade code MDL-6707 - part of the upgrade code is now rerun in existing installations - new upgrades should be ok, the cleanup of stale contexts and overrides will be done later as part on normal maintenance from cron
2006-10-01 16:17:30 +00:00
stronk7
3832682229
Fixed two bugs in the tests...
2006-10-01 16:08:25 +00:00
stronk7
51517ddc6d
Avoid some double updates under PG
2006-10-01 16:02:09 +00:00
stronk7
1f0c7fae15
Now PG adds fields in various steps is order to fulfill 7.4 min req
2006-10-01 15:48:29 +00:00
stronk7
2cfea485a6
Added getDefaultValue() for better handling of default values
2006-10-01 15:47:48 +00:00
skodak
ef04568ad3
removing obsoleted calendar.* files from admin area
2006-10-01 14:46:56 +00:00
stronk7
f6ebc34100
Fixed one wrong "return false" plus minor code reorder...
2006-10-01 14:39:50 +00:00
moodler
978c243f69
Disabled log
2006-10-01 13:06:40 +00:00
skodak
ea580cdfa6
Recent wiki table changes have problems on PostgreSQL 7.4 MDL-6724
2006-10-01 12:04:34 +00:00
moodler
c536c6b04c
Some quick styles added to match manage.html MDL-6725
2006-10-01 10:15:50 +00:00
moodler
4fef9b76d1
Fixed links to Risks documentation
2006-10-01 09:59:03 +00:00
skodak
c58facdd96
New installation with different prefix in one database fails MDL-6614
2006-10-01 09:47:20 +00:00
moodler
8be977c547
Fixed styles for user listings
2006-10-01 09:33:41 +00:00
moodler
2fdcf5e360
FIx the header too by requiring login to the course
2006-10-01 09:31:49 +00:00
moodler
1a5a5b0e04
Fixed a typo causing MDL-6758
2006-10-01 09:26:50 +00:00
moodler
937b63ee52
Adding some serious checks to make Moodle break when there is any
...
select, insert or update on user_students, user_teachers, user_coursecreators,
or user_admins (once roles is installed), because they should not be used
at all and we will drop them soon.
2006-10-01 09:16:49 +00:00
moodler
cbf643f5f0
Make the sorting of the names always by lastname, to match assign roles
2006-10-01 08:48:58 +00:00
stronk7
abf980a587
Now table renaming is working properly on PostgreSQL
...
(only renaming of check constraints are pending)
2006-10-01 08:44:55 +00:00
moodler
5b1d599514
Tidied up groups interface to make it a bit more intuitive
2006-10-01 08:37:15 +00:00
moodler
b16de84980
get_role_users() can now get all the people who have any role in that context,
...
which is useful
2006-10-01 08:34:36 +00:00
moodler
a971a5985a
FIxes for the assign screen, to make it a lot faster and able to cope
...
better with very large numbers of users MDL-6766
2006-10-01 08:08:26 +00:00
moodler
7ea02fe987
FIxed some typos in get_role_users and count_role_users to do with parent contexts
2006-10-01 07:02:53 +00:00
gbateson
42cd7a105b
do not join "hotpot_attempts" and "hotpot_details" tables when displaying "hotpot/index.php". This should speed display when courses have many HotPot activities, especially for students
2006-10-01 06:39:51 +00:00
moodler
0351730630
FIxed a debugging message
2006-10-01 06:39:20 +00:00
gbateson
172ab53650
add/delete calendar events when adding/updating/deleting hotpots
2006-10-01 06:36:50 +00:00
gbateson
6e69ab8afb
added "hotpotopens" and "hotpotcloses" for calendar events
2006-10-01 06:35:54 +00:00
moodler
04186cd965
Improvements to the user listing, security and appearance
2006-10-01 06:18:18 +00:00
moodler
ecaf56e5c9
Trivial spelling fix up
2006-10-01 05:49:41 +00:00
moodler
6c95827fdf
New implementation of loginas see MDL-6626
2006-10-01 05:46:55 +00:00
moodler
9343a7333a
Fixed a bug where load_user_capability() was not checking in the
...
specified context when it was provided (only in the parents)
2006-10-01 05:27:36 +00:00
moodler
bad59bc0ee
Some tidying and also a check to make sure that the user was a
...
participant in this particular course
2006-10-01 05:26:38 +00:00
moodler
afe6d00384
FIxed a typo mod->id --> mod->cm
2006-10-01 04:56:43 +00:00
stronk7
20c559dd8d
Now Oracle supports table renaming (both sequence and triggers
...
are kept on sync with the new table name)
2006-09-30 23:48:34 +00:00
stronk7
f086dd7da1
Drop one more table if present
2006-09-30 23:09:41 +00:00
stronk7
4702d62e32
Change slighty the style of RenameKey and RenameIndex functions.
2006-09-30 22:59:10 +00:00
stronk7
a59f3a34f3
Initial commit of rename_table(). Not ended!
2006-09-30 22:40:15 +00:00
skodak
8ad2207965
fixed Fatal error: Call to undefined function: print_recent_activity() when adding Recent Activity as a sticky block MDL-6437 and blocks block database MDL-5931
2006-09-30 21:02:09 +00:00
skodak
7208c579fd
fixed missing required_login($courseid) that needs to be done to set up proper global $COURSE; MDL-6697 course/mod.php does not show the right navigation
2006-09-30 20:46:31 +00:00
skodak
ba8d802720
MDL-6673 duplicate capabilities in list
2006-09-30 20:11:44 +00:00
mark-nielsen
5491947aa1
NO CODE CHANGES. Just added PHPdoc comments at the top of lesson files.
2006-09-30 19:49:40 +00:00
skodak
a1069b070a
MDL-6696 Default country doesn't display on dropdown menu
2006-09-30 19:46:10 +00:00
stronk7
142d7fb842
Added one more test to check the EXPERIMENTAL rename_key() function
2006-09-30 19:45:51 +00:00
stronk7
9c4ee55b6c
Added rename_key()
...
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:44:49 +00:00
stronk7
57770f7a50
Adding support to rename_key()
...
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:44:16 +00:00
stronk7
e77fd021e6
Implemented rename_key()
...
Note that this is one EXPERIMENTAL function and shouldn't be used
by you in production code EVER!
2006-09-30 19:43:16 +00:00
mark-nielsen
eefa69ce5c
Bug Fix: The dependency drop-down was displaying incorrectly. Fixed up code to use API to gather Lessons correctly.
2006-09-30 19:24:22 +00:00
mark-nielsen
b3b4bc44ce
BugFix for MDL-6730: now blank lessons redirect to edit.php where the user is prompted by a menu of options.
2006-09-30 19:00:07 +00:00
stronk7
6c89dc5514
Added rename_index()
...
Adding support for index renaming. Note that MySQL doesn't support this
but this shouldn't be important at all, mainly because, under xmldb,
accesses to index-names are always done with find_index_name() and
never explicity.
Anyway, this function could be useful in the future to normalize index
names in some Health center or another similar place.
2006-09-30 18:24:14 +00:00
stronk7
1c86ef5b1c
Adding support for index renaming. Note that MySQL doesn't support this
...
but this shouldn't be important at all, mainly because, under xmldb,
accesses to index-names are always done with find_index_name() and
never explicity.
Anyway, this function could be useful in the future to normalize index
names in some Health center or another similar place.
2006-09-30 18:23:00 +00:00
danstowell
15add7bd29
Fixed PHP 4 compatibility re MDL-6753
2006-09-30 17:46:15 +00:00
stronk7
aa8503fdd0
Added 3 more tests to check change_field_enum()
2006-09-30 17:06:59 +00:00
stronk7
61af97e76b
Added new function change_field_enum()
2006-09-30 17:06:20 +00:00
stronk7
b899d9bf1d
Added support to change_field_enum() across all RDBMS
2006-09-30 17:03:17 +00:00
julmis
9337f3e48d
Merging fixes from MOODLE_16_STABLE
2006-09-30 16:07:43 +00:00
stronk7
3650ba6f58
Using the new table_exists() to initialize tests properly.
2006-09-30 15:51:41 +00:00
stronk7
3e1861cc87
Applying the field_exists() check to add and drop fields.
2006-09-30 15:48:23 +00:00
skodak
55b4d09637
new advanced upload assignmet type - replaces old upload type, existing data and settings not fully compatible
2006-09-30 15:41:20 +00:00
stronk7
342da808c5
New function field_exists() to detect if one field exists
2006-09-30 15:35:32 +00:00
stronk7
73d111a820
Add some checks to detect if one table exists before creating or
...
dropping it. Part of MDL-6614
2006-09-30 15:19:56 +00:00
stronk7
7471f3f0dd
Adding some debugging() for some controlled actions.
2006-09-30 15:15:34 +00:00
stronk7
ed37b15464
Moving some uses of find_index_name() to index_exists()
2006-09-30 15:00:46 +00:00
stronk7
cf9a1a40f1
Fixed typo
2006-09-30 14:59:03 +00:00
stronk7
4103c3545c
Prevent tables without prefix to be duplicated at install time. MDL-6614
2006-09-30 14:36:52 +00:00
moodler
2c13082db0
Fixed up Preset name
2006-09-30 14:13:22 +00:00
moodler
26ea488855
Don't show progress bar when there's nothing worth showing
2006-09-30 13:52:15 +00:00
stronk7
2719f3e2c9
Inside ddllib, for consistency we call parameters table, field...
...
(without the xmldb_ prefix)
2006-09-30 13:04:17 +00:00
stronk7
a504ba0213
Added index_exists(). One wrapper over find_index_name()
2006-09-30 12:56:39 +00:00
stronk7
512a237ff6
One more use of getTableName() added.
2006-09-30 12:34:17 +00:00
stronk7
9af19c728d
Extendig use of new getTableName() over all generators
2006-09-30 12:13:07 +00:00
stronk7
97b9178459
New getTableName() function to get normalised table names everywhere
2006-09-30 12:03:19 +00:00
stronk7
68bc165bed
Added new function table_exists() to be used later...
2006-09-30 12:01:33 +00:00
stronk7
87c6baf4a1
Ah! forgot to interchange keys and values!
2006-09-30 11:09:44 +00:00
stronk7
ef18962b00
Execute the index_get_name() silently to avoid a lot of
...
output in the install/upgrade process. Original db->debug
is re-set to their original status once executed.
2006-09-30 10:54:37 +00:00
moodler
d4484f3209
IFxed some notices when the block was used on sticky blocks page. MDL-6620
2006-09-30 08:22:17 +00:00
stronk7
4fae686bc2
Enablig PHP generation of code for change_field_type()
2006-09-29 23:12:40 +00:00
stronk7
cec4b7c621
Added to more tests to check float <---> char conversion
2006-09-29 23:10:31 +00:00
skodak
7d47261645
towards new upload assignment - expect brand-new version tomorrow :-)
2006-09-29 21:45:04 +00:00
skodak
03bfaba1fd
fixed parameter cleanup SC#318; merged from MOODLE_16_STABLE
2006-09-29 20:54:15 +00:00
stronk7
6e152cc621
Now basic types of conversion (int2char, char2int, number2char, char2number)
...
are working properly under all RDBMS.
2006-09-29 17:49:04 +00:00
stronk7
b0cd86786b
Change one test a bit...
2006-09-29 17:29:08 +00:00
vyshane
d1cc283172
Fixed wrong context bug
2006-09-29 08:58:02 +00:00
vyshane
825d73aa33
Fixed missing separator (MDL-3975).
2006-09-29 07:28:11 +00:00
bobopinna
aaa267965a
Moved to scorm_1x.js.php
2006-09-29 06:45:25 +00:00
bobopinna
ea5928ee16
No more used
2006-09-29 06:43:58 +00:00
moodler
76389cec17
Fixed the upgrade from 1.6.x. The role->shortname field was not being created.
2006-09-29 06:43:42 +00:00
bobopinna
5a40140ec4
New icon to support toc bug fix
2006-09-29 06:43:36 +00:00
moodler
aae37b638c
Added progress bar to role assignments during upgrade
2006-09-29 06:41:10 +00:00
bobopinna
cfc74f324c
Changes no datadir error message from bad manifest to bad package
2006-09-29 06:29:10 +00:00
bobopinna
3c6c4eaf66
Fixed completed status for launched Asset
2006-09-29 06:27:47 +00:00
bobopinna
172ec29fcc
Added _ to version data element
2006-09-29 06:26:36 +00:00
bobopinna
530a61d5d3
Fixed a bug in toc display
2006-09-29 06:25:56 +00:00
bobopinna
98baddf710
Added some strings
2006-09-29 06:20:53 +00:00
moodler
72da504606
Added a progress bar for the role assignments
2006-09-29 06:19:47 +00:00
moodler
dcc6b7c483
Add MS-SQL to installer :-)
2006-09-29 06:11:47 +00:00
toyomoyo
ae8402fe38
fixing a redundant order by clause
2006-09-29 05:46:02 +00:00
toyomoyo
a0db31e7e5
commentary text renamed to general feedback
2006-09-29 05:45:24 +00:00
moodler
ea35ab87d9
Header and footer should include $CFG->header and $CFG->footer, just in
...
case the chosen theme doesn't exist any more
2006-09-29 05:43:48 +00:00
moodler
459c1ff12a
Just tidying up code while reading it
2006-09-29 05:35:37 +00:00
toyomoyo
39ecfc7453
added a new temp config variable to help track maint mode before and after migration MDL-6182, not fixing in stable yet due to the lack of support of unset_config function.
2006-09-29 03:10:38 +00:00
moodler
721146820c
Slight change to Copyright notice to link to our License page, not Gnu site
2006-09-29 02:39:39 +00:00
toyomoyo
ed59cd6ea4
fix for MDL-5670
2006-09-29 02:19:27 +00:00
stronk7
72fa544947
Moving some tests up and down and introducing some more
...
tests about changing column types. Not working yet unded mssql
2006-09-28 23:16:29 +00:00
stronk7
f020b35705
Moving some change_field_XXX() functions and introducing
...
change_field_type(). Seems to work everywere but under
mssql (due to some problems with default constraints).
Will see it tomorrow.
2006-09-28 23:14:52 +00:00
stronk7
599caff8c5
prevent nulls to become nulls (oracle error)
...
and defaults null to become defaults null
when temporary columns are used
2006-09-28 23:06:04 +00:00
stronk7
531bf26489
Adding two more tests (create and drop foreign keys)
2006-09-28 22:11:06 +00:00
stronk7
5adc951c4f
Don't rely on index names to decide if we have to drop one key
2006-09-28 22:05:11 +00:00
stronk7
d54f85efa6
minor adjust. keytype to drop keys is not needed anymore. now it's
...
defined in mysql generator (the only one needing it)
2006-09-28 21:47:36 +00:00
koenr
2c79612205
one more
2006-09-28 21:32:20 +00:00
koenr
2c0d423d8c
few typos. Thanks a lot for spotting Mits!
2006-09-28 21:31:34 +00:00
koenr
8f36981c51
fixed MDL-3484
2006-09-28 20:58:55 +00:00
stronk7
ac5ff0e787
fixed one wrong constant
2006-09-28 20:12:00 +00:00
stronk7
9c46a7e6f9
changed mysql drop index syntax. Nothing relevant.
2006-09-28 20:11:30 +00:00
stronk7
71ea93e023
Argh! More than 3 hours searching for this error! I was calling one
...
constructor with wrong number of parameters and PHP said nothing at
all (with DEVELOPER level of debugging). Horrible OOP !
2006-09-28 20:06:08 +00:00
stronk7
53d3b80798
prevent some warnings on tables without indexes
2006-09-28 19:43:17 +00:00
stronk7
4690f076ca
Now keys and indexes are PERFECT (argh, Oracle, once more was causing problems)
2006-09-28 18:56:21 +00:00
stronk7
4df8b6cdfc
some more settings go to XMLDBGenerator (as they are default)
2006-09-28 18:39:33 +00:00
stronk7
1a275daaaf
some more settings go to XMLDBGenerator (as they are default)
2006-09-28 18:31:28 +00:00
skodak
30fce5000a
removed one more unneeded file from adodb library
2006-09-28 18:29:54 +00:00
mits
15cfddc323
Fixed addmin setting colors.
2006-09-28 17:48:12 +00:00
stronk7
a8b7de48fe
Adding some more tests about adding and dropping keys
2006-09-28 17:35:52 +00:00
stronk7
55c4b9435d
add_key() and drop_key() are working (with sync of undelying
...
indexes automated)
2006-09-28 17:30:14 +00:00
stronk7
fac17f427f
add_key() and drop_key() are working (with sync of undelying
...
indexes automated)
2006-09-28 17:25:00 +00:00
stronk7
0852990f9b
Deleting some parameters that aren't needed anymore. Code will
...
decide if creating underlying indexes for keys automatically now.
Also, add_key() and drop_key() are working (with sync of undelying
indexes automated)
2006-09-28 17:20:21 +00:00
stronk7
662244cb77
Deleting some parameters that aren't needed anymore. Code will
...
decide if creating underlying indexes for keys automatically now.
2006-09-28 17:02:49 +00:00
stronk7
b399c397bf
Added PHP 5.0.x restriction to Moodle 1.7. MDL-5653
2006-09-28 16:46:52 +00:00
skodak
8ba4cbd2a3
reverting last commit, expect new fixes soon
2006-09-28 15:34:54 +00:00
moodler
b7b0afb87f
Fixed a capability name: MDL-6727
2006-09-28 15:06:07 +00:00
moodler
5e6893720e
Guest should not see My Courses MDL-6736
2006-09-28 14:48:29 +00:00
gbateson
f7f630bce7
added PARAM types to calls using "required_param" and "optional_param" functions
2006-09-28 13:24:36 +00:00
jamiesensei
909ec807cb
moved styles in theme\standard\styles_form.css to theme\standard\styles_layout.css and removed theme\standard\styles_form.css and all references to it. In line with discussion here : http://moodle.org/mod/forum/discuss.php?d=54907
2006-09-28 10:32:23 +00:00
toyomoyo
89a66e5405
changes in backup/restore for roles. fixed bug related to wrong context in backuplib.php added code to handle addition of new roles in restorelib.php, added code to do role overrides in restore.php new functionalities requires proper handling
2006-09-28 09:15:14 +00:00
moodler
8d73640e7f
Unenrol fixed to support other users too and better workflow
2006-09-28 08:55:04 +00:00
moodler
41763b02da
One more debugging removed
2006-09-28 08:38:27 +00:00
moodler
130672189c
Removed excess debugging that is no longer very useful
2006-09-28 08:37:19 +00:00
vyshane
9ed7d7e162
Merged fix for MDL-6681
2006-09-28 08:29:17 +00:00
vyshane
cef1ce6abf
Fixes for MDL-3975
...
Changes to discuss.php and post.php so that the single discussion type forums are handled more consistently.
2006-09-28 07:29:50 +00:00
moodler
eae2bad46f
Updated tags
2006-09-28 07:22:36 +00:00
moodler
2d14e8a8fe
Removed duplicate capability moodle/course:managequestions MDL-6610
2006-09-28 07:17:39 +00:00
moodler
9e27d59600
Documentation and strings for Default Role
2006-09-28 07:07:54 +00:00
moodler
605522f315
FIxed heading on assign roles in course context
2006-09-28 07:00:28 +00:00
moodler
70ce923e0a
Fixed a typo
2006-09-28 06:48:50 +00:00
moodler
77c645df28
Started out fixing MDL-6624 and it turned into a fairly major cleanup
...
of the participant listing. I think it's a lot better now.
Bulk messaging fixed too, and is controlled by a new capability
moodle/course:bulkmessaging
2006-09-28 06:41:07 +00:00
moodler
3e21903846
Cleaning up user index a bit
2006-09-28 06:04:39 +00:00
vinkmar
3b904bc94f
calendar admin page cleaned up
2006-09-28 04:46:09 +00:00
moodler
b90e2f199f
First cut at an overview page for the user listing (when you first arrive)
2006-09-28 04:45:39 +00:00
moodler
bac2f88ae8
Added count_role_users() as a more efficient thing to do than get_role_users()
2006-09-28 04:42:49 +00:00
jamiesensei
15fdf6199e
wrapping group element in a fieldset tag
2006-09-28 04:19:56 +00:00
jamiesensei
ec929cd596
now wrapping a group element in a fieldset tag, brought id tag on checkboxes and radio boxes in line with moodle universal form structure
2006-09-28 04:18:35 +00:00
martinlanghoff
f5896f0fb6
enrol/db/enrol.php ignore delt'd usrs when enroling
...
Previously the import process would throw a non-fatal error when it found a
non-one number of users with the remote key. This meant that
when there was a deleted user with the same remote key as an existing user, it
would throw an error, and report that there were no users for that remote key.
Fixed it so that it now ignores deleted users, and provides more accurate
and more precise error messages in the event that there are further
problems.
Author: Peter Bulmer
2006-09-28 01:20:42 +00:00
martinlanghoff
13e8d6e46f
auth/db/lib (bugfix) only update mdl fields during login if 'onlogin' set
...
Previous operation was update all moodle fields from the external database
during each login & sync ignoring this setting. Now if this setting is
'oncreation' then the field is only copied once (on creation of user).
2006-09-28 01:05:10 +00:00
martinlanghoff
897e0712e8
Comments.
2006-09-28 00:13:07 +00:00
martinlanghoff
c0adb54de4
Allow Chinese/Japanese UTF-8 strings to be truncated at character
...
boundaries instead of word boundaries. (fix MDL-5378)
2006-09-28 00:10:23 +00:00
martinlanghoff
6402cd4679
Fix for breadcrumb problem (MDL-6271).
2006-09-28 00:08:50 +00:00
skodak
250934b8e0
fixed logic of moodle_install_roles() - it now calls update_capabilities() after creation of default roles, but before first role_assign(). The problem was that role_assign calls code from forum lib which already uses capabilities, this might cause even bigger problems later.
2006-09-27 22:59:37 +00:00
jgraham909
6fc73d59b8
Merging in changes from Doug Dixon and Mike Lee to update the codebase
2006-09-27 22:57:33 +00:00
skodak
6727c1753f
added default settings for admin_setting_special_backupdays()
2006-09-27 22:25:15 +00:00
skodak
5d0df39db4
fixed array_shift($roles) warning during upgrade from 1.6
2006-09-27 22:16:23 +00:00
skodak
1cd3eba948
fixed validation of course category for site course MDL-6715
2006-09-27 20:43:04 +00:00
jamiesensei
49c5368707
changes to html structure for rendering of forms in line with http://moodle.org/mod/forum/discuss.php?d=54907#250816
2006-09-27 19:12:52 +00:00
jamiesensei
57a763a733
changes to style sheet in line with http://moodle.org/mod/forum/discuss.php?d=54907#250816
2006-09-27 19:10:31 +00:00
stronk7
97bd35b284
Fixed bug in PHP generation of indexes.
2006-09-27 18:47:24 +00:00
skodak
7bfa3101df
add checks for stale contextid in role_assignments and overrides into load_user_capability() MDL-6708
2006-09-27 18:11:36 +00:00
skodak
a36a3a3f98
added strict context level checks to get_context_instance() MDL-6709 , the reason is to find typos and buggy code that would be otherwise unnoticed
2006-09-27 17:58:17 +00:00
skodak
3ca2dea51d
sanitise request in create_context() and show debug info when appropriate MDL-6715
2006-09-27 17:50:53 +00:00
stronk7
13e9de1c67
Fixed Bug MDL-6647 - PG version not being fetched properly.
...
(http://tracker.moodle.org/browse/MDL-6647 )
2006-09-27 17:48:45 +00:00
moodler
05e8f81eeb
A notice about versions
2006-09-27 16:45:40 +00:00
jamiesensei
f0e2d0ac80
upgraded tableless pear quickform packages
2006-09-27 16:31:11 +00:00
jamiesensei
04ad8eee82
added empty setHelpButton method to moodleform_hidden
2006-09-27 16:09:15 +00:00
jamiesensei
e249661fbb
fixed small typo
2006-09-27 16:07:37 +00:00
jamiesensei
ef625b6bac
added comments to show how to add nested fieldset container for groups of items
2006-09-27 16:06:56 +00:00
jamiesensei
42f248e659
new security features added acceptGet, optional_param, required_param, clean_param, methods added to form class
2006-09-27 16:00:19 +00:00
jamiesensei
5f2256f3ee
modifications made to demo new security features
2006-09-27 15:58:45 +00:00
jamiesensei
7b9cdb60cf
demos new security features optional_param, acceptGet
2006-09-27 15:57:21 +00:00
moodler
924ccd683a
Fixed up some wrong entries in the log_display table MDL-6516
...
NOTE: The dates are a month in advance for $version here! We need
to increment very slowly until it catches up, and make sure that we
manage the versions in HEAD very carefully after we branch for 1.7
2006-09-27 14:08:17 +00:00
moodler
bd10f85d94
Add eu to allowed domains
2006-09-27 12:57:33 +00:00
sam_marshall
4db1861a8d
Wiki: Improve page locking to make it more robust and support non-javascript users (not very friendlily, though...)
2006-09-27 11:22:57 +00:00
sam_marshall
5c135dd4fd
Wiki: correct behaviour in Postgres with pages that have ' in name
2006-09-27 11:21:59 +00:00
sam_marshall
13ef403f3b
Wiki: correct column type on Postgres update (fixes Search and Links tabs, matches what's in install.xml anyhow)
2006-09-27 11:21:01 +00:00
sam_marshall
228501678b
Wiki: Fix wiki-linking to not be case-sensitive.
2006-09-27 11:20:16 +00:00
sam_marshall
86ec052fa5
Changed wiki help to clarify that the wiki markup only works when not using the WYSIWYG editor. (This was seriously confusing our users!)
2006-09-27 11:18:40 +00:00
skodak
90eca94be8
fixed incorrectly quoted $LIKE in forum recent activity sql
2006-09-27 10:44:25 +00:00
skodak
421f60f9c9
fixed default proxyport value
2006-09-27 10:30:54 +00:00
skodak
3c8ecb0cbb
fixed incorrect user id when updating in uploaduser.php
2006-09-27 09:50:48 +00:00
moodler
4e03aa7a00
FIxed up log headers etc MDL-6714
2006-09-27 09:22:29 +00:00
toyomoyo
a2a020ea6b
adding support for roles in backups
2006-09-27 08:59:27 +00:00
moodler
bea0bd7725
CHecking Enrique Castro's fix for MDL-6366, to help wiki pagenames not get reset
2006-09-27 08:49:42 +00:00
moodler
0cfafdc769
Fixed MDL-6334 by removing the group-setting popup
2006-09-27 08:29:24 +00:00
moodler
1bbcb7c01a
Some more debugging in course/rest.php (to error log)
2006-09-27 08:02:26 +00:00
moodler
bccdf22764
Fixed a possible notice
2006-09-27 08:01:22 +00:00
moodler
15a169222b
Some extra changes from the duplicate work I did on upgradesettings.php
...
main change is that adminsettings is now an ID on the form
2006-09-27 07:49:34 +00:00
moodler
2b2d182aa7
Fixes for empty logs array MDL-6145
2006-09-27 07:41:38 +00:00
vyshane
acad3401f1
Reverting first until we have a fix for converting the wrong context levels
2006-09-27 07:18:25 +00:00
vyshane
4b69085833
CONTEXT_MODULE should really be CONTEXT_BLOCK
2006-09-27 07:11:06 +00:00
bobopinna
e54a9c39cf
Added skipview field backup and restore
2006-09-27 06:58:28 +00:00
stronk7
d335bebc06
Added support for add_index() and drop_index()
2006-09-26 23:17:24 +00:00
stronk7
42d1fc2f3f
XMLDBTable wrappers to create and drop indexes
2006-09-26 23:16:09 +00:00
stronk7
618a982eed
Now all the generators support creating and dropping indexes
2006-09-26 23:15:20 +00:00
stronk7
0c31ba2813
Adding test for create index and drop index.
2006-09-26 23:08:44 +00:00
stronk7
b0d8444349
Fix one place where index->type was being used instead of index->unique
2006-09-26 22:46:05 +00:00
skodak
6859360cd4
coverted /admin/ to proper /$CFG->admin/ in paths
2006-09-26 21:10:14 +00:00
skodak
eee90c06b8
upgradesettings.php now using the same CSS as settings.php , part II.
2006-09-26 20:54:05 +00:00
skodak
d8c5baee04
upgradesettings.php now using the same CSS as settings.php
2006-09-26 20:51:28 +00:00
urs_hunkler
86f5774d0b
'changed width of label from 40% to 30% to make the textarea fit'
2006-09-26 19:30:57 +00:00
urs_hunkler
f2e101239b
'added width and height to qfrow to make it render correcly in FF, changed qfelement to display:block'
2006-09-26 19:23:28 +00:00
skodak
fbc88f3886
fixed legacy comment upgrade code in assignment and journal
2006-09-26 19:18:21 +00:00
stronk7
ceac2552ef
Added support for PHP generation on create/drop/rename indexes and keys
2006-09-26 19:05:55 +00:00
stronk7
48eac31328
Replaced XMLDB own implementation of the concat function to use
...
the new, ultra-cool, ADOdb based, concat_sql(). Thanks, Martin Langhoff!
2006-09-26 18:34:48 +00:00
stronk7
66841aed29
One wrong use of onespace2empty() - an strange function - :-/
...
in the DIRTY HACK was causing not info to be returned under Oracle
by the get_field_sql() function, so sequence numbers were broken.
2006-09-26 18:27:44 +00:00
stronk7
1d5071a57e
Don't CREATE OR REPLACE TRIGGER but just CREATE it
...
(so we'll be able to detect duplicate name with an
error instead of getting false success)
2006-09-26 18:10:27 +00:00
mits
e88ecd1b08
Brushed up theme oceanblue.
2006-09-26 18:00:27 +00:00
stronk7
2efd67bf5f
Increasing log_display->field because sql_concat() (one
...
wrapper over ADOdb Concat() generates really long
expressions for MSSQL.
2006-09-26 17:43:37 +00:00
stronk7
7bd1b4f5ba
Ops, scorm->skipview default must be 1
2006-09-26 16:58:49 +00:00
jamiesensei
5ae7038594
modified api to create an htmleditor element
2006-09-26 16:40:35 +00:00
stronk7
59e3e96277
copy/paste typo
2006-09-26 16:27:39 +00:00
stronk7
d5a28fdae9
Adding scorm->skipview to PostgreSQL
2006-09-26 15:56:18 +00:00
stronk7
d107d19057
Adding scorm->skipview to XMLDB file!
2006-09-26 15:25:29 +00:00
bobopinna
8e45ba4522
Added the new features MDL-4482 and MDL-6534 (Course structure view.php skip)
2006-09-26 14:40:00 +00:00
bobopinna
57d52eebfa
Fixed a bug in mode selection
2006-09-26 14:37:13 +00:00
bobopinna
32cfa4dbf8
Added skip view page feature
2006-09-26 14:25:59 +00:00
jamiesensei
f8857b4925
adding static element class to registry of Moodleform elements
2006-09-26 13:55:51 +00:00
urs_hunkler
d345a18967
'added space before styles_form to correct CSS loading'
2006-09-26 13:48:00 +00:00
jamiesensei
eb476e4adb
file describing a static form element for moodle with setHelpButton method
2006-09-26 13:32:15 +00:00
moodler
f1dcf0000a
Checked in Nick's patch from MDL-6699 to aid installation when there
...
are a LOT of students (it was running out of memory)
2006-09-26 13:31:57 +00:00
moodler
d22130f36d
Added a PEAR extension that was missing, and permission from
...
Mark Wiesemann for his renderers. Yay!
2006-09-26 12:07:48 +00:00
jamiesensei
2462a50af3
changed some assignments to assignment by reference when instantiating objects.
2006-09-26 11:13:51 +00:00
bobopinna
a9d22c84b6
Fixed a problem with Firefox
2006-09-26 10:26:03 +00:00
bobopinna
c9a2f27e80
Downgraded a new feature to fix the module
2006-09-26 10:23:37 +00:00
jamiesensei
80f962df90
* added error message for setHelpButton method not existing
...
* modified htmleditor class so that differences in formatting for this element are defined by css but use the same html
* added type name of element classes to css wrapper class names
2006-09-26 09:42:42 +00:00
mits
51d59bbb08
Brushed up theme oceanblue.
2006-09-26 09:39:10 +00:00
skodak
62f62bf984
admin bookmark cleanup
2006-09-26 09:25:37 +00:00
moodler
a3d23679e6
We have permission for HTML_Quickform and HTML_Common
...
...
Bertrand Mansion
http://www.mamasam.com - creative internet solutions
http://golgote.freeflux.net - blog
2006-09-26 09:12:21 +00:00
toyomoyo
1ad590e153
more changes, restoring of role assignments now work in course, mods and blocks instances (less user instance), restoring local overrides do not work
2006-09-26 09:05:44 +00:00
skodak
6de2a7b6c8
fixed another missing global $CFG
2006-09-26 08:49:47 +00:00
vyshane
83da3d286c
Fix for MDL-3975. Also added function in rsslib.php to delete cached RSS feeds for the source and destination forums when moving a discussion between 2 forums.
2006-09-26 08:37:56 +00:00
bobopinna
d292466ca6
Moved in datamodels directory
2006-09-26 08:21:46 +00:00
bobopinna
9096a47876
Not used for now
2006-09-26 08:20:23 +00:00
skodak
9e24fbd14d
basic validation fix for text admin settings
2006-09-26 08:16:17 +00:00
bobopinna
dc383b6f23
Splitted all the scorm/aicc library in type separeted files
2006-09-26 08:00:16 +00:00
bobopinna
d380567f82
Fixed a problem with reporting and multiattempts
2006-09-26 07:57:33 +00:00
bobopinna
a30b6819fc
Fixed some problems with reporting and multiattempts
2006-09-26 07:56:07 +00:00
skodak
8e00b731e1
fixed defaults
2006-09-26 07:39:04 +00:00
moodler
f67f8e8cb5
Updated README for MDL-6693
2006-09-26 07:17:54 +00:00
skodak
9a76d7b9ea
fixed autologinguests warning
2006-09-26 06:34:29 +00:00
skodak
05f8f7e76b
fixed missing global $CFG
2006-09-26 06:31:18 +00:00
skodak
2c1f712c16
file delete and rename warnings polished
2006-09-26 06:29:04 +00:00
toyomoyo
912c1fd5a2
correct xml parsing for mod level assignment and override
2006-09-26 06:02:10 +00:00
martinlanghoff
c4121640be
user: remove deprecated sql_paging_limit(), use offset, limit parameters
2006-09-26 05:11:50 +00:00
martinlanghoff
ea9a729f80
mod/lesson, mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters
2006-09-26 05:11:29 +00:00
martinlanghoff
1ad5c6380f
mod/quiz: remove deprecated sql_paging_limit(), use offset, limit parameters
2006-09-26 05:11:05 +00:00
martinlanghoff
1e7368e782
dmlib: set_field() now has the Oracle DIRTY HACK too!
2006-09-26 05:10:39 +00:00
martinlanghoff
5a55af6097
dmlib: Add Oracle dirty hack cleanup to recordset_to_menu() get_field_sql() and get_fieldset_sql()
...
This covers most (all?) the gaps in data retrieval except get_recordset_sql().
To tackle get_recordset_sql, where the actual data retrieval is done within
AdoDB, we would have to to wrap around AdoDB with a subclass, but that would
be dirty, dirty, dirtier.
2006-09-26 05:10:18 +00:00
martinlanghoff
44f9885044
sql_concat(): fixed param order thinko -- and now it works too!
2006-09-26 05:09:48 +00:00
martinlanghoff
b4dd303a97
search: removed dbtype-specific select - MySQL can now handle grownup syntax
2006-09-26 05:09:26 +00:00
martinlanghoff
47dc28e53c
search: fixed mysql-isms - tablenames without prefix and with backticks
2006-09-26 05:09:01 +00:00
martinlanghoff
7e034f29a0
searchlib can use sql_ilike too!
2006-09-26 05:08:39 +00:00
martinlanghoff
a8f4522dfa
data, forum, glossary: use sql_ilike() for a portable LIKE operator
2006-09-26 05:08:18 +00:00
martinlanghoff
95008f81c6
sql_ilike() -- added notes on Oracle support or lack thereof
2006-09-26 05:07:28 +00:00
martinlanghoff
6eb7722f93
message/lib.php: use sql_ilike()
2006-09-26 05:07:05 +00:00
martinlanghoff
d2715c70b6
mod/glossary, mod/hotpot: use sql_concat() and sql_concat_join()
...
Cleaned up several dbtype conditionals too.
2006-09-26 05:06:44 +00:00
martinlanghoff
38e02f4c32
Introducing sql_concat_join($sep, $array) helper
...
returns the SQL to do the equivalente of a join() or implode()
on the DB server. Watch the RDBMS work! ;-)
2006-09-26 05:05:54 +00:00
martinlanghoff
92a2d92a82
message_history_link() - replace use sql_concat() and sql_like()
2006-09-26 05:05:32 +00:00
martinlanghoff
27176468fe
mod/quiz: replace $db->Concat() with sql_concat()
2006-09-26 05:05:10 +00:00
martinlanghoff
ea59864f45
course/lib.php: remove unused global
2006-09-26 05:04:40 +00:00
martinlanghoff
4068bedb83
Use sql_concat() in course/lib.php
2006-09-26 05:03:46 +00:00
martinlanghoff
0ce96669c9
Introducing sql_concat() - and use it in sql_fullname()
...
sql_concat() is just a passthrough to $db->Concat() -- it doesn't
add any value, and I think the dispatching is somewhat expensive.
Just using $db->Concat() should be good enough, were it not for
consistency in our DM API.
2006-09-26 05:02:59 +00:00
mjollnir_
6e58026b29
recredited the sql_primary_role_subselect function to correct author (much as I would like to claim it)
2006-09-26 04:41:45 +00:00
moodler
74b345880d
Changing error to notify so that it's not fatal (and doesn't leak server data)
2006-09-26 04:38:00 +00:00
moodler
867f5adb73
Moved Penny's funky sql function into dmllib.php
2006-09-26 04:33:59 +00:00
toyomoyo
637644fbd1
fixing a get_record bug (multiple instances)
2006-09-26 04:10:33 +00:00
moodler
329f40b003
Changed CONTEXT_SITE to CONTEXT_SYSTEM MDL-6506
2006-09-26 03:57:05 +00:00
mits
9c7f2782c6
Brushed up theme oceanblue.
2006-09-26 03:20:40 +00:00
moodler
3c9188cad2
Automatic installer.php lang files by installer_builder (20060926)
2006-09-26 02:47:16 +00:00
vyshane
ee8e000823
Fixed bug in forum_make_mail_post()
2006-09-26 02:02:27 +00:00
toyomoyo
71dd89ff09
fixing missing $
2006-09-26 01:50:17 +00:00
toyomoyo
4c81f5511e
adding roles support for restore
2006-09-26 01:43:07 +00:00
mits
720353b2c9
Fixed visibility.
2006-09-26 01:38:17 +00:00
mjollnir_
87c75906ed
update enrol/ldap to work with roles.
...
Credit: Alastair Pharo <alastair@catalyst.net.nz >
1) Some config settings have changed (ones that related specifically to
teachers and students). There is a check in place however to migrate
old configurations to new ones.
2) Perviously two syncs happened - one for students, one for teachers.
Now sync gets called the same number of times as there are roles.
Those roles that have config settings associated with them then run
through all the records. This means syncing takes longer the more
roles you configure (which is expected anyway I suppose).
2006-09-26 01:31:33 +00:00
mjollnir_
7ccf89f50a
update enrol/database to use roles.
...
Credit: Alastair Pharo <alastair@catalyst.net.nz >
Database
--------
1) This plugin previously only worked for students. I have made it so
that you can _optionally_ specify a third column in your external
database that contains some kind of role information (similar to the
other two fields, you can choose any column in the mdl_role table
to map to). If you do this, then the code loops over for each different
kind of role and queries the external database.
2) There is a *slight* problem to be aware of, if a moodle
configuration was upgraded to use the new role columns, then downgraded
again, some roles might get left behind in the database when the
large-scale sync thing goes through (that is, record pruning doesn't
scale back quite properly). These would be cleaned away by
setup_enrolments at login time, however, and the scenario was unlikely
enough for me to decide to leave it for now.
3) If you don't have role columns there is a 'default role' setting
that you can set (made by Martin D). This will only be obeyed when no
role columns are specified. If this is set to 'default', then the
course default role is used, on a per-course basis (which usually
means student apparently).
4) From (3), my understanding is that if no config settings are
changed, and the default role for all upgraded courses is student, that
a smooth upgrade to 1.7 will occur for users of the database enrolment
plugin.
2006-09-26 01:30:32 +00:00
mjollnir_
7d49253f40
Here's a little patch for auth/ldap/lib.php... just stops some
...
errors from popping up.
Credit: Alastair Pharo <alastair@catalyst.net.nz >
2006-09-26 01:26:27 +00:00
mjollnir_
75673b93f8
fixing the participants report to work with roles
2006-09-26 01:23:57 +00:00
moodler
cfd6b5053f
Fix for typo MDL-6537
2006-09-26 01:11:53 +00:00
stronk7
ef47a3eb5b
Fixed display of files
2006-09-25 23:09:16 +00:00
stronk7
8e81509277
Added one woody style for all the admin fieldsets
2006-09-25 22:57:20 +00:00
stronk7
313b5a3550
Minor changes to improve behaviour of selections.
2006-09-25 22:53:39 +00:00
stronk7
b017120ce0
Ops! I forgot to commit this 2 days ago! Now a lot of
...
data fields will be null!
2006-09-25 22:48:43 +00:00
stronk7
0db2d6bb98
Prevent NOT NULL fields to have one DEFAULT NULL clause
2006-09-25 21:44:21 +00:00
stronk7
a653016d94
Some notes:
...
- Foreign keys are really cool (at the XMLDB Editor). Define them as necessary
as they allow as one "formal" structure of the DB. They won't cause problems
on generation, mainly because only the underlying index will be created.
- Please, put comments inside each table/field/key/index field, mainly because
XML comments will be deleted if the file is edited by
- The XMLDB Editor. Please use it ;-)
- Also, one unique index was wrong in the XML file, fixed now.
2006-09-25 21:37:29 +00:00
mjollnir_
4834fe627b
fixing a string that referred to students and teachers in the config settings for stats
2006-09-25 20:59:00 +00:00
skodak
c9a49ceab4
major cleanup of unsupported and legacy external pages in admin/; created new hidden unsupported category; some other minor fixes and changes
2006-09-25 20:22:55 +00:00
stronk7
6caa705dad
Some more strings added...related with the View PHP utility
2006-09-25 19:26:16 +00:00
skodak
7d1df3a49d
moodle specific developer debug messages disabled in admin/dbperformance.php page, because they might interfere with frames
2006-09-25 19:05:04 +00:00
skodak
fa323030fa
XMLDB editor now has admin-tree block
2006-09-25 18:29:50 +00:00
stronk7
812e363a39
Now generators support to add/drop column defaults
2006-09-25 18:22:06 +00:00
skodak
c0a1aae3e2
admin/upgradesettings.php is now proper hidden external page with correct breadcrums ;-)
2006-09-25 18:21:59 +00:00
stronk7
aa134ecf17
Now the tests are performed with real data (2 records). Added 4
...
more tests to check compatibility of set/drop defaults...
2006-09-25 18:20:08 +00:00
sam_marshall
98a7359506
change from UNIQUE KEY to UNIQUE INDEX
2006-09-25 17:49:33 +00:00
sam_marshall
5cee80e183
(prev. wiki fix) Fixed broken constant defines
2006-09-25 17:47:35 +00:00
skodak
d249e478d4
fixed hidden misc sectionin admin tree block, sorry
2006-09-25 17:44:43 +00:00
sam_marshall
22e846cde2
Wiki enhancement: edit locking (uses AJAX)
2006-09-25 17:42:32 +00:00
danstowell
f775a510d6
Updated IMS Enterprise enrolment to Moodle 1.7 role infrastructure - MDL-6656
2006-09-25 17:21:07 +00:00
danstowell
26ba09125b
Updated IMS Enterprise enrolment to Moodle 1.7 role infrastructure
2006-09-25 16:58:06 +00:00
sam_marshall
4488daf7ad
File had a UTF-8 BOM at the start, was causing problems, now removed
2006-09-25 14:59:21 +00:00
jamiesensei
1629424dbb
added styles_form to $DEFAULT_SHEET_LIST part of the code necessary so that every theme loads styles_form
2006-09-25 14:56:45 +00:00
moodler
a06c8c2cd1
Fixed some width="*" in layout tables
2006-09-25 14:40:26 +00:00
sam_marshall
479eea4149
Removed trailing blank line at end of file (was breaking things)
2006-09-25 14:35:41 +00:00
moodler
1beed35f71
Added some form-groups on the htmleditor page
2006-09-25 14:34:33 +00:00
moodler
fc52aa6e14
Cleaning up the id and class for each setting
2006-09-25 14:18:16 +00:00
skodak
499c621417
fixed quoting error
2006-09-25 14:15:55 +00:00
skodak
a69be0d861
improved handling of resource file/directory references when renaming and deleting files in file manager. It is now fully configurable too. MDL-6132
2006-09-25 14:12:46 +00:00
vyshane
7c900d5d62
Changed to require_capability where possible
2006-09-25 13:14:50 +00:00
moodler
86328d5821
Added strings for Trusted Content
2006-09-25 13:14:40 +00:00
vyshane
7fa8296f01
Bug fixes
2006-09-25 13:05:18 +00:00
moodler
2e0c11dda3
Fixed display of times in admin settings using form-group
2006-09-25 12:48:07 +00:00
urs_hunkler
74bd2abd78
'added CSS for admin pages'
2006-09-25 11:59:00 +00:00
urs_hunkler
26620ae2d0
'separated CSS properties to color/fonts/layout/'
2006-09-25 11:56:45 +00:00
sam_marshall
20e1b1e5c0
Quick fix to the me() fix to the redirect function (for relative redirects).
2006-09-25 11:23:15 +00:00
urs_hunkler
30b14256e6
'added general settings for items within .form-groups to display:inline and float:none'
2006-09-25 11:22:36 +00:00
jamiesensei
864cc1de64
moved code turning on pear error printing if in debug mode to the top of formslib.php
2006-09-25 11:08:44 +00:00
urs_hunkler
1bd306206d
'added styling for textarea in adminsetting pages'
2006-09-25 10:59:18 +00:00
nfreear
542022f2eb
Fixes bug MDL-6685 (Breadcrumb separator, only certain fonts support ►).
2006-09-25 10:35:41 +00:00
urs_hunkler
7c47564df2
'added CSS for statsruntimestarthour to place hour and minute beside each other'
2006-09-25 09:44:31 +00:00
moodler
a1d526438c
FIxed some XHTML notices
2006-09-25 09:32:25 +00:00
urs_hunkler
91362d003f
'added float-left for form-group'
2006-09-25 09:13:04 +00:00
toyomoyo
3f1c7233c7
restore is NOT WORKING!!! role assignment and capability overrides are not in
2006-09-25 09:10:19 +00:00
moodler
0a7e84c341
Added form-group
2006-09-25 09:06:51 +00:00
moodler
841d5d4b94
Added some CSS to contain the html editor
2006-09-25 08:54:16 +00:00
skodak
0cd482e54d
fix for MDL-6599 - problem with hiding of resource when $CFG->preventaccesstohiddenfiles enabled
2006-09-25 08:53:10 +00:00
vyshane
dcd8e5890e
Abstracted query in a new function forum_discussions_user_has_posted_in()
2006-09-25 08:50:00 +00:00
moodler
14f358562d
Fixed div around submit button
2006-09-25 08:44:22 +00:00
vyshane
cac40c2716
Added $forums[$i]->type == 'qanda' check to make things more explicit
2006-09-25 08:41:31 +00:00
moodler
3c6f7a7828
Remove size=X from admin settings (do it in CSS)
2006-09-25 08:33:10 +00:00
vyshane
d50704bf19
Fix for MDL-6212. Forum searches now respect the qanda forums. In these forums, the user should not be able to see posts from discussions where the user has not yet posted, unless a post is the first post in the discussion (the question), or unless the user has the capabilitiy mod/forum:viewqandawithoutposting.
2006-09-25 08:25:58 +00:00
moodler
87a801e2ec
Removed a typo
2006-09-25 08:22:05 +00:00
moodler
afee986420
Updates for better CSS hooks
2006-09-25 08:20:14 +00:00
moodler
0462b3589e
Temporary fix
2006-09-25 08:01:05 +00:00
moodler
fa040029f0
Fix the editor and the surrounding table for settings
2006-09-25 07:55:10 +00:00
toyomoyo
c76e095f70
some fixes for the main load_user_capablitiies() function, need pair c1, c2 to impose uniqueness. should use c2.id instead for override. no restriction on c2 for assignments
2006-09-25 07:50:03 +00:00
moodler
edb6cba4b2
Fixed missing div properly this time :-)
2006-09-25 07:45:02 +00:00
moodler
23586acab5
Fixed miossing divs
2006-09-25 07:40:50 +00:00
moodler
6153cf5800
Moving all the admin settings to a tableless design MDL-6678
...
Thanks Urs for the CSS help!
2006-09-25 07:35:43 +00:00
moodler
f94ced1010
Fix sort on get_teacher to get the most senior teacher
2006-09-25 06:15:31 +00:00
moodler
0a3e970319
FIxed some problems when getting teacher lists for print_course
2006-09-25 06:09:06 +00:00
moodler
73b998684b
FIxes related to strange default languages
2006-09-25 06:04:02 +00:00
vyshane
77dc6d0b26
Discussions from a forum of type 'single' should not be splittable. Merge from 1.6 branch.
2006-09-25 05:12:01 +00:00
vyshane
66035aafd9
Merged fix for MDL-6521
2006-09-25 05:00:36 +00:00
mjollnir_
af5d9f6a06
bugsquish! stats aggregates and weird missing dates bug
2006-09-25 04:50:17 +00:00
vyshane
10b6398401
Fixed - wrong constant name
2006-09-25 04:11:41 +00:00
vyshane
87c7fce004
Merged fix for MDL-6363
2006-09-25 04:03:18 +00:00
moodler
1d546bb125
Fix for get_users_by_capability() so the caller can choose whether
...
they want users with doanything included or not
2006-09-25 03:00:50 +00:00
vyshane
1b54fb36ba
Error printing for cron should be done with mtrace()
2006-09-25 02:44:54 +00:00
vyshane
2a692058d0
Fix in forum_make_mail_post()
2006-09-25 02:34:52 +00:00
vyshane
4be6bced7f
Fixed sql query in assignment_get_unmailed_submissions() - we can't rely on user_students anymore.
2006-09-25 02:04:11 +00:00
moodler
01c65218a2
Restoring table_column which was mistakenly deleted I think
2006-09-25 01:55:06 +00:00
moodler
218eb65122
Changed the flag to be on a given user basis (just in case it gets called
...
for a lot of users)
2006-09-25 01:42:41 +00:00
vyshane
0ee186d9ca
Typo in capability name.
2006-09-25 01:35:49 +00:00
moodler
e4ec4e4149
Added a checking flag to check_enrolment_plugins() to make sure that it
...
never repeats more than once in an invocation. Otherwise it's sometimes
possible for role_assign() during the enrolment process to cause loops.
2006-09-25 01:34:21 +00:00
stronk7
e920529bf8
Quick Fix. It should be 24!
2006-09-24 22:15:57 +00:00
stronk7
26b82be252
Drop all the unique keys inside PostgreSQL DB and convert them to
...
their equivalest unique indexes. We aren't going to allow unique
keys from 1.7 and upwards (until we decide to enforce referential
intregrity and until ADOdb support it)
2006-09-24 22:14:23 +00:00
mjollnir_
32da8f410f
fixed the dropdown menus in the detailed (user) reports (WHICH WORK!)
2006-09-24 22:13:31 +00:00
skodak
a8a66c96ab
it is now possible to hide parts of admin tree - not used yet, but it will be soon used for those hidden unsupported scripts in admin/ directory
2006-09-24 20:23:40 +00:00
stronk7
7253d30810
Added one new function find_key_name() to retrieve the
...
name og any key in the DB. This hasn't too much sense
for now (until we start to use referencial integrity) and
it is far from perfect, because it doesn't seach for the
key really in DB (due to the lack of support for this of ADOdb).
2006-09-24 19:39:53 +00:00
skodak
9fd9df205d
fixed scheduled backup time setting
2006-09-24 19:37:34 +00:00
skodak
aade3a4b6a
fix for MDL-6680 redirect function is broken when running php as CGI, me() now used instead of SCRIPT_NAME + minor coding style changes
2006-09-24 19:10:13 +00:00
skodak
1cc309df9d
fixes for recent incorrect index updates
2006-09-24 19:04:32 +00:00
stronk7
11b75afe8b
Now Oracle generator is able to change the precision and decimals of
...
one column by using one temp column. This prevents ORA-1440 errors.
2006-09-24 17:39:20 +00:00
jamiesensei
01963b9552
This is a demo of the experimental formslib. It is used here to print and process the course settings form.
2006-09-24 17:14:44 +00:00
jamiesensei
da6f876395
This is a first cut of a new formslib.php a library of classes for creating and securely processing forms in Moodle, based on PEAR QuickForms. Only uses XHTML and CSS and no table tags.
...
This is NOT YET PART OF THE MOODLE API it is here for experimental purposes.
2006-09-24 17:04:51 +00:00
moodler
e836a7ddd8
When getting users by capability then exclude those with doanything at site level
2006-09-24 16:14:39 +00:00
stronk7
cc3779694a
MSSQL alter field is exactly the standard one but with alter_column_skip_default enabled
2006-09-24 15:54:46 +00:00
stronk7
c1761c4292
XMLDB generators can return empty arrays if there is nothing to do.
2006-09-24 15:34:18 +00:00
stronk7
c02a561f97
Minor change to test to exclusively test the change of nullability
2006-09-24 15:28:32 +00:00
vyshane
b343df8690
Merged fix for MDL-6615.
2006-09-24 15:28:16 +00:00
stronk7
d3b93bd26a
Add skip parameters to one getFieldSQL call requiring them
2006-09-24 15:26:49 +00:00
stronk7
ff936e2c2d
Finally PostgreSQL seems to be working now.... I've tried to do
...
it as clever as possible detecting when column specs change in
order to reduce the number of temp-update-drop-rename operations
2006-09-24 15:25:49 +00:00
vyshane
3f8a38343b
Removed isteacher from function print_recent_activity_note()
2006-09-24 14:35:48 +00:00
moodler
9e38e94047
More tidy-ups
2006-09-24 14:35:45 +00:00
moodler
8173517648
Giving the capabilities a bit more room on smaller screens
2006-09-24 14:26:50 +00:00
moodler
bc28fcd8fc
Remaining capability strings
2006-09-24 14:20:44 +00:00
moodler
7fe6ddbab5
Add header classes to headers
2006-09-24 14:15:57 +00:00
vyshane
1172e5db68
Updated comment
2006-09-24 14:03:34 +00:00
vyshane
583b57b42d
Changed <module>_print_recent_activity() functions so that they don't use $isteacher. However, I've left the $isteacher parameter in the functions, for backward compatibility so as not to break thrid party modules. Should we remove the parameter now?
2006-09-24 14:01:50 +00:00
vyshane
57244db359
Removed the following module configurations (converted to use roles):
...
participants, assesspublic and ratings. Changed assessed field to only use 1 (ratings on) or 0 (off).
2006-09-24 13:58:54 +00:00
moodler
847a041fb7
Better use of mod/quiz:view to hide quiz information (they already have the
...
name from the course page etc)
2006-09-24 13:54:22 +00:00
moodler
3e28f9bc07
Various new strings, mostly capability names
2006-09-24 13:51:06 +00:00
skodak
d4121c5605
one more sanity check for role overrides
2006-09-24 13:34:52 +00:00
moodler
b144aaa4dc
Add some more checking of input and permissions
2006-09-24 13:30:43 +00:00
moodler
11ac79ff0e
Extend the require_login in require_capability a bit
2006-09-24 13:15:13 +00:00
skodak
6df3c7df7a
user upload cap renamed to moodle/site:uploadusers
2006-09-24 12:54:53 +00:00
skodak
cc891abe88
uploading of users has new capability 'moodle/user:upload' now also with admin block integrated
2006-09-24 12:31:49 +00:00
moodler
0c19750c72
Fixed a notice
2006-09-24 12:13:58 +00:00
moodler
df206ef87f
Corrected accidental language-changing because of lang in POST
2006-09-24 12:07:44 +00:00
moodler
bf7288a2c0
Simplified a bit and removed a notice
2006-09-24 12:02:00 +00:00
skodak
856f7cb7e6
do not display guest when browsing users
2006-09-24 11:58:28 +00:00
skodak
38d2d43b01
roles fixed in user browsing page; admin section now accepts array of capabilities for external and settings pages
2006-09-24 11:55:11 +00:00
moodler
f365252121
Handle site-level block names in capability settings too
2006-09-24 11:32:11 +00:00
moodler
2c8766dff2
Function stub, as suggestion towards MDL-6678
2006-09-24 11:11:40 +00:00
moodler
9ac93e31f1
Added some strings describing risks
2006-09-24 10:47:27 +00:00
stronk7
f46e2c8cbc
Changed one LIMIT to a cross-db WHERE clause
2006-09-24 09:59:25 +00:00
moodler
ff439b30af
Added styles to the role editing/viewing list, as well as some links and tooltips
2006-09-24 09:44:51 +00:00
stronk7
b0ec41af8a
Prevent Unique Keys generation. Instead use unique indexes at DB level.
...
With this, all we'll have are PRIMARY KEYS + INDEXES, that are pretty
well supported by ADODB MetaXXX functions.
Both Unique and Foreign Keys will be used once ADODB support them and
the relational mode was enforced.
2006-09-24 09:38:56 +00:00
moodler
d13c1aed4a
When not editing, then let's disable the radio buttons
2006-09-24 09:02:30 +00:00
stronk7
70a8ac6666
Given one xmldb_field, finds its name in DB
2006-09-24 08:26:24 +00:00
skodak
189bb4a628
fixed warning in hotpot lib when running cron from commandline
2006-09-24 07:38:15 +00:00
skodak
25d8040ec5
added trustbitmask column to user table
2006-09-24 07:32:49 +00:00
mjollnir_
931ab7be83
fixes to activity stats processing for dailies
2006-09-24 07:15:22 +00:00
mjollnir_
96edb010da
more work on stats reports ...
2006-09-24 07:13:33 +00:00
moodler
be91f51dab
Make sure buttons don't wrap
2006-09-24 06:54:52 +00:00
moodler
975211bb0a
Removed the "then" string, no need for it
2006-09-24 06:47:53 +00:00
moodler
c7731ab5e2
Fixed notice() so that you can pass a course if you want
2006-09-24 06:21:15 +00:00
moodler
978abb4291
Removed some possible notices
2006-09-24 06:06:24 +00:00
moodler
13e21433a4
Better errors
2006-09-24 05:53:45 +00:00
moodler
b6e7b09c7b
Tidied up error reporting in course overview
2006-09-24 04:29:12 +00:00
mjollnir_
11887b6d5e
more fixing on reports
2006-09-24 03:15:52 +00:00
stronk7
dcf9c14c2b
Typo
2006-09-24 00:13:22 +00:00
stronk7
3fb145e061
Change slighty the tests...
2006-09-24 00:11:53 +00:00
stronk7
19c8321e07
Now Oracle supports the first part of alter table alter column statements
2006-09-24 00:02:34 +00:00
stronk7
27bb1be29d
Inserted two more test
2006-09-24 00:01:02 +00:00
mjollnir_
32baf47939
accidently left in debugging stuff in stats reports
2006-09-23 21:43:11 +00:00
stronk7
05002031d5
adding some more tests
2006-09-23 21:30:36 +00:00
stronk7
1934b52236
adding support for some more options
2006-09-23 21:29:31 +00:00
stronk7
8e895ae5c7
mark rename table as not implemented
2006-09-23 21:28:16 +00:00
stronk7
0e9e0b3bb3
adding support for alter columns
...
(not finished yet)
2006-09-23 21:24:51 +00:00
stronk7
f8c485b071
mysql alter table alter column is "modify column"
2006-09-23 21:23:05 +00:00
stronk7
c282203d84
mssql doesn't support default clause in alter table alter column
2006-09-23 21:22:02 +00:00
mark-nielsen
31b50f6442
Fix for MDL-6628: the lesson object was not being cloned correctly.
2006-09-23 19:57:35 +00:00
mark-nielsen
6707a280a9
Moved endofbranch redirect up to avoid double printing of messages.
2006-09-23 19:32:25 +00:00
mark-nielsen
c7c404b964
Fixed alignment issue in IE
2006-09-23 18:51:49 +00:00
mark-nielsen
563106f0a8
Fixed branch table buttons to work with JavaScript turned off. This fix lead to some minor changes to the button output, but hopefully simplified things.
...
Also, removed .hidden-label class because it was no longer in use due to label fixes earlier.
2006-09-23 18:45:59 +00:00
moodler
3e1e2b6968
Putting the files back to plain JS files
2006-09-23 15:11:37 +00:00
moodler
3febabd888
Use AJAX for weekly formats too. HOWEVER, there are some remaining
...
bugs with it so for now it only works in DEBUG_DEVELOPER mode
2006-09-23 14:38:01 +00:00
moodler
354e11303e
Just tidying up the code
2006-09-23 14:34:59 +00:00
moodler
9bb7417805
Further centralising of course AJAX and cleanup of code formatting, names etc
2006-09-23 14:03:48 +00:00
moodler
75dc25855c
Now using the generic course/rest.php instead of the local commands.php
2006-09-23 13:24:10 +00:00
moodler
b205403813
Moved the REST interface for course modification from
...
course/format/topics/commands.php to a more generic place
2006-09-23 13:23:18 +00:00
moodler
748390cd30
be a bit more forgiving of lang parameter
2006-09-23 13:14:25 +00:00
moodler
350b5fb6c8
Strip all tags from role names before use
2006-09-23 12:57:48 +00:00
skodak
ece4945bd2
role sortorder column now has unique index; new function get_all_roles() that returns all roles with correct sort
2006-09-23 12:51:00 +00:00
moodler
65b0c132ed
When getting lists of roles, put role names through format_string
...
(ie for multilang filter)
2006-09-23 12:46:53 +00:00
mjollnir_
67f3be726e
fixes to the stats processing. Credit: Geoff Cant <geoff@catalyst.net.nz> (sql ninja)
2006-09-23 12:42:35 +00:00
mjollnir_
afc97d5349
fixing reports
2006-09-23 12:10:42 +00:00
mjollnir_
0dd5bf422b
more work on stats - reports this time
2006-09-23 12:08:46 +00:00
skodak
8420bee94e
towards unique role sortorder - fixes for create_role() and new delete_role()
2006-09-23 10:43:24 +00:00
mjollnir_
09cf1c9b55
follow correct naming convention when fetching legacy teacher role
2006-09-23 09:47:11 +00:00
skodak
7eb0b60a1f
debugging and error reporting level fixes and improvements MDL-6671
2006-09-23 09:38:39 +00:00
stronk7
b8547480b7
Moving a bunch of database module fields to NULLable
...
(http://docs.moodle.org/en/XMLDB_Problems#NOT_NULL_fields_using_a_DEFAULT_.27.27_clause )
2006-09-23 09:37:53 +00:00
mjollnir_
88d7e6218e
fixing typo in stats upgrade I just made
2006-09-23 09:02:37 +00:00
mjollnir_
0f259f63d9
lots of fixes to stats, more to come
2006-09-23 08:52:12 +00:00
moodler
c1ddecab49
Rewrote much of this to add
...
- more validation of incoming data
- error logging in the PHP log
I've tested every function and it works for me without errors.
2006-09-23 07:52:09 +00:00
moodler
9991d157ea
Further fixes for MDL-6601 ... that should be complete now.
2006-09-23 06:10:48 +00:00
moodler
ea9fda2f88
Automatic installer.php lang files by installer_builder (20060923)
2006-09-23 02:43:18 +00:00
mark-nielsen
9b5274b96d
Fixed a label
2006-09-23 01:01:14 +00:00
skodak
16e2e2f394
fixed error in fetch_context_capabilities() when no local capabilities defined in context
2006-09-22 21:31:19 +00:00
skodak
adbffcb9fe
role ui minor cleanup
2006-09-22 21:17:43 +00:00
skodak
305ef971fc
role assign and override code fixes + other minor changes
2006-09-22 20:09:47 +00:00
stronk7
2a2905fb6f
Now using ADOdb standard transactions. Some day, we should switch to
...
Smart Transactions (http://phplens.com/adodb/tutorial.smart.transactions.html )
as they autodetect errors and are nestable and easier to write
2006-09-22 20:05:44 +00:00
skodak
a17c57b5e3
Partially reversed patch for http://tracker.moodle.org/browse/MDL-5136 , caching of filtered uploaded html files is disabled now MDL-5136 , Eloy is changing the column type in cache_text back to TEXT.
2006-09-22 18:08:53 +00:00
moodler
eaa79489a8
First pass at a fix for MDL-6601 (delete contexts when deleting course)
2006-09-22 17:49:45 +00:00
moodler
78850d9e7d
Fixing MDL-6636, reference to file that is now gone (site.html)
2006-09-22 17:27:19 +00:00
stronk7
0700134df5
Detect Oracle Database Encoding in order to set CFG->unicodedb properly
2006-09-22 17:23:09 +00:00
moodler
721b750ff4
Replacing some old strings I should not have deleted MDL-6645
2006-09-22 17:12:09 +00:00
ethem
37f9ca4e8f
Some cleanup for cron.
2006-09-22 16:19:53 +00:00
moodler
bc492d185c
Fixes to user new Roles
2006-09-22 16:19:24 +00:00
stronk7
4feeadeb59
Minor fix to be able to drop tables without prefix properly (adodb_log)
2006-09-22 16:16:48 +00:00
moodler
22003adac5
SOme changes for Roles
2006-09-22 16:11:52 +00:00
moodler
96fc0072b4
Removed some old debugging
2006-09-22 15:54:03 +00:00
stronk7
37a7859855
mini-bump
2006-09-22 15:46:40 +00:00
stronk7
0e1412cea5
Now cache_text->formattedtext is a longtext again.
...
(both PG and the UTF8 migration script were
working with it as text, so impact should be minimal)
2006-09-22 15:43:42 +00:00
ethem
f0f8e34c5d
isguest() to has_capability('moodle/legacy:guest', get_context_instance(CONTEXT_SYSTEM, SITEID), $USER->id, false)
2006-09-22 15:31:04 +00:00
urs_hunkler
65e2d1f0df
'merged from 1.6 - reduced the distance above the footer from 100px to 40px'
2006-09-22 15:19:38 +00:00
nfreear
fd2339cfd6
Fixes bug MDL-6548 "blog_menu block should use lists"
...
- also blocks: rss_client, admin_bookmark.
- also fixed &/& validation error in rss_client footer.
2006-09-22 15:15:48 +00:00
ethem
778326bef8
Some cleanup.
2006-09-22 14:04:11 +00:00
ethem
33f9bffe90
Last commit for enrol_student().
...
enrol_student($order->userid, $order->courseid, $timestart, $timeend, 'manual')
to
role_assign($role->id, $user->id, 0, $context->id, $timestart, $timeend, 0, 'manual'))
2006-09-22 13:50:10 +00:00
ethem
fddf3cfb56
+ Changed deprecated enrol_student() function to enrol_into_course().
...
+ No need extra check: if (!empty($CFG->enrol_mailstudents)): enrol_into_course calls email_welcome_message_to_user() internally.
2006-09-22 13:33:37 +00:00
moodler
d7e8ffebbf
Merged fixes from 1.6
2006-09-22 13:27:56 +00:00
moodler
e2183037b3
Fixed a typo for enrol_into_course(), thanks Ethem
2006-09-22 13:16:32 +00:00
ethem
b001dec454
No need get_student_courses() and get_teacher_courses() anymore.
2006-09-22 13:11:49 +00:00
ethem
16dbf42695
Changed deprecated enrol_student() function to enrol_into_course().
2006-09-22 12:18:58 +00:00
mjollnir_
0e3404aabd
fixing stats_get_course_users. my brain hurts
2006-09-22 11:34:25 +00:00
dwoolhead
12490fc2b3
Prevent 'Warning: Invalid argument supplied for foreach() in ...' for get_courses_page function when there are no courses in the required category.
2006-09-22 11:15:10 +00:00
mjollnir_
b4713311d4
set config statsupgraded during install so we don't try upgrade later
2006-09-22 11:09:15 +00:00
sam_marshall
ecfdc901fc
Ooops. The following-HTTP-standard absolute-path redirect thing didn't work with URLs that begin / (i.e. it couldn't redirect to /moodle/whatever although it was fine redirecting to http://thing/moodle or to plain old whatever/something.) Fixed.
2006-09-22 10:48:37 +00:00
mjollnir_
f5aa20162c
added missing indexes in stats upgrade, fixed discrepency between stattype enrolment or enrolments
2006-09-22 10:43:04 +00:00
mjollnir_
1282edc826
fixing up the stats table enums
2006-09-22 10:18:33 +00:00
stronk7
d4b86c90dc
Fixed bug about all chars being created with length 255. Penny found this!
2006-09-22 10:15:51 +00:00
mjollnir_
bd2b8ddecd
moved call to upgrade stats until after all the roles stuff has been set up
2006-09-22 10:00:34 +00:00
moodler
6e208cd2fe
FIxed up longtimenosee processing in cron
2006-09-22 09:54:43 +00:00
stronk7
373dc4406b
Killing some not needed references
2006-09-22 09:54:02 +00:00
moodler
cc7c0592e4
Fixes for get_users_longtimenosee
2006-09-22 09:49:26 +00:00
vyshane
938c039e52
Suggested changes from MDL-6654
2006-09-22 09:23:50 +00:00
vyshane
66b0b1042b
Added comment regarding $isteacher being deprecated in print_recent_activity()
2006-09-22 09:11:46 +00:00
mjollnir_
504e6fd41f
proper install.xml schema for new stats tables
2006-09-22 08:58:40 +00:00
toyomoyo
65c6fd8b2d
backup changes for roles
2006-09-22 08:56:25 +00:00
urs_hunkler
9d147a038f
'added 16px height to the commands to correct the wrapping issue in the sideblock header'
2006-09-22 07:51:23 +00:00
vyshane
242a445fdf
Fix for MDL-6654
2006-09-22 07:08:43 +00:00
vyshane
1febf1a77a
Replaced isteacher & co. Fixed some issues.
2006-09-22 06:29:40 +00:00
moodler
a19beac32e
new tags for new functions
2006-09-22 06:27:51 +00:00
moodler
9f73cdabf7
renamed field in context table
2006-09-22 06:21:48 +00:00
moodler
aad2ba95d1
Upgrading table to rename the context->aggregatelevel field which was
...
really bugging me. Code should be a little bit more readable now.
Apologies to those with non-core code already using this field.
2006-09-22 06:19:32 +00:00
moodler
b988fe5f94
DOn't terminate upgrade if stats didn't work
2006-09-22 06:10:42 +00:00
mjollnir_
20c59467a5
schema files for stats changes (install.xml still to come). Credit: Nigel McNie <nigel@catalyst.net.nz>
2006-09-22 06:05:07 +00:00
moodler
82396e5b1f
Improved error messages for role_assign to be more helpful
2006-09-22 05:23:59 +00:00
moodler
9d829c681d
Removing some notices
2006-09-22 05:17:57 +00:00
moodler
6ed4afb351
Merged support for personal dictionaries in spellchecker
2006-09-22 04:38:32 +00:00
moodler
e84ea106f9
function_names() might not like the egg
2006-09-22 03:49:49 +00:00
moodler
1a030f5112
Fix for MDL-6319, to fix opposite-state links for unread tracking settings
2006-09-22 03:36:31 +00:00
vyshane
7ce56c1282
Removed mod/workshop:view
2006-09-22 03:28:56 +00:00
mjollnir_
29bbc6e730
As well as a credit to Nigel for the stats schema upgrade and data migration, the previous commit here should have had a HUGE credit to Geoff Cant <geoff@catalyst.net.nz> for NINJA SQL
2006-09-22 03:15:52 +00:00
vyshane
73ebd5e23a
Removed mod/wiki:view
2006-09-22 03:14:08 +00:00
vyshane
af94faf492
Removed mod/scorm:view
2006-09-22 03:07:29 +00:00
vyshane
b1e06f5fa0
Removed mod/resource:view
2006-09-22 03:05:46 +00:00
vyshane
94bcea7983
Removed mod/lesson:view
2006-09-22 02:58:39 +00:00
mjollnir_
e5d83d6fc1
stats rework: 1. upgrade schema and move data to new schema. (credit: Nigel McNie <nigel@catalyst.net.nz>). 2. Stats processing uses new schema. THIS NEEDS TESTING ON MYSQL. Still to do: schema files (install.xml,*.sql still to be committed), reports to use new schema.
2006-09-22 02:54:21 +00:00
vyshane
7949f21b5f
Removed 'mod/glossary:view' capability
2006-09-22 02:52:48 +00:00
moodler
2eb662d261
A real easter egg ;-)
2006-09-22 02:28:13 +00:00
toyomoyo
ef61c5f964
fixed a bug, override in user should not record userid as a capability
2006-09-22 02:17:59 +00:00
moodler
35cf8b7938
Some easter eggs :-)
2006-09-22 02:11:00 +00:00
toyomoyo
c58adde069
fixing bogus function calls
2006-09-22 01:49:23 +00:00
toyomoyo
5b5781f4f5
some new functions to help backuo
2006-09-22 01:46:45 +00:00
toyomoyo
ab1e2556ba
code to support roles (roleassignments and roleoverrides) for backup in all 4 roles course, mod, block, userid contexts. not working yet
2006-09-22 01:35:35 +00:00
moodler
ac4c51bef5
Make it easier to get out of a switched role in case viewing is not allowed
2006-09-22 01:29:11 +00:00
mits
e8928a65fd
Changed breadcrumb and blog tag color.
2006-09-22 01:23:49 +00:00
moodler
988ad08450
Use role sortorder when getting role lists
2006-09-22 01:21:01 +00:00
skodak
0c88b9acf7
improved coding style
2006-09-21 23:15:45 +00:00
skodak
f3245d0952
improved coding style
2006-09-21 23:08:58 +00:00
skodak
fa1fbbdc40
minor allignment change in role list
2006-09-21 23:00:48 +00:00
stronk7
cac97946d6
adjusting breadcrumb separator...
2006-09-21 23:00:45 +00:00
skodak
b5959f3071
partial rewrite of role manage script, improved notice_yesno(), other minor fixes and changes; I will work on assign and overide tomorrow ;-)
2006-09-21 22:34:45 +00:00
cap2501
e78a3505c5
MDL-6544
...
resolved issue by passing strings into new main.portal.strings for delocalization.
2006-09-21 18:38:54 +00:00
stronk7
94e65cc36c
Now all the insert_record() and update_record() calls under
...
Oracle DB use the oracle_dirty_hack() function to transform
empty strings into something different ' ' in order to avoid
the problems with the empty=NULL stupid norm of Oracle.
With this change, Oracle installation works completely.
Now we need to implement everywhere the opposite hack: transforming
all those ' ' (1 whitespace) back to the '' (empty string). Working
on it now.
2006-09-21 18:30:50 +00:00
stronk7
85f101fa26
SQL ANDs mus be, always, "AND" :-P
2006-09-21 17:18:56 +00:00
moodler
669d3ecd7c
Some fixes to move Javascript files to PHP script, so that we can
...
tweak the contents better.
This was supposed to fix MDL-6544 but it didn't work. Checking it in
because it will help a fix later.
2006-09-21 17:17:00 +00:00
stronk7
d7d05cf2f3
SQL ORs must be, always, "OR"
2006-09-21 17:09:28 +00:00
stronk7
7f5f956cf5
Allow to specify NULL clauses for some generators, mainly because
...
some mssql drivers use to create everything as NOT NULL by default.
2006-09-21 17:04:28 +00:00
moodler
f098f122ca
New string , used in registering
2006-09-21 16:49:15 +00:00
moodler
f8b0d22a5e
Fixes to make registering work ;-)
2006-09-21 16:48:46 +00:00
moodler
67171ec800
Fixed typo in capability name
2006-09-21 16:46:10 +00:00
skodak
f59208a745
fixed typos in capabiltiy names
2006-09-21 16:27:37 +00:00
moodler
8cb5bc2b26
People under switched roles should not be able to unenrol
2006-09-21 16:11:31 +00:00
moodler
861fdcaa28
Changing defaults for role assigning (teachers, coursecreators allowed)
2006-09-21 16:02:39 +00:00
moodler
2d07587b4c
Improvements to switchroles
...
1) You can have separate switchroles active in every course
2) Admins get a better view (doanything is supressed when switchroles active)
2006-09-21 15:58:59 +00:00
sam_marshall
fd2fff1e24
Changed the redirect() version with no message (that sends a redirect header) so that it sends an absolute URL as per HTTP spec, even if the argument to the function is a relative URL.
2006-09-21 15:13:27 +00:00
moodler
91ea292e65
Changed the login info string when a user is using 'switch roles'
2006-09-21 14:42:45 +00:00
moodler
09edb3794b
Fixed a capability name typo
2006-09-21 14:07:27 +00:00
moodler
b32c8ddadd
Fixed typos in capability names
2006-09-21 14:05:58 +00:00
moodler
0cef8a37fa
Changed logic slightly in switchrole_form
2006-09-21 14:04:32 +00:00
moodler
0c05b71f58
Fix typo
2006-09-21 13:11:05 +00:00
sam_marshall
a82e9bc3bb
Added feature to blocks (and restorelib) so that blocks get a method call (default does nothing) after they are restored. This allows blocks to change their settings if necessary in respect of the new course roll-forward 'restore and change start date' feature that Al implemented recently. The core blocks happen not to store dates anyway so don't need this, but contributed blocks may well do.
2006-09-21 12:07:15 +00:00
stronk7
db33348f53
When journal to assignment migration is performed, journal
...
upgrade hasn't been upgraded yet so the journal_entries->comment
field is still called "comment"
2006-09-21 10:04:49 +00:00
stronk7
0bc94c9990
Last reserved word is out now!
...
journal_entries->comment to entrycomment
Only 2 tables have reserved names but they aren't
a problem if we force $CFG->prefix always
2006-09-21 09:54:00 +00:00
stronk7
ea6432fede
Moved assignment_submission->comment to submissioncomment
...
(because comment is DB reserved word)
2006-09-21 09:35:20 +00:00
moodler
1888245ee6
More strings
2006-09-21 09:16:56 +00:00
moodler
3a52e764e4
New "Switch Role" functionality to replace the old "Student view".
...
It's not well-tested yet and probably doesn't quite work. I will keep debugging this tonight from home.
2006-09-21 09:16:41 +00:00
toyomoyo
01e52ac70a
changes to backups (where the roles info are stored)
2006-09-21 09:09:16 +00:00
vyshane
9222e72167
Removed capability mod/forum:viewforum. We will use moodle/course:viewhiddenactivities and hide/unhide forums instead.
2006-09-21 08:32:05 +00:00
vyshane
986dc51c00
Removed string for mod/forum:viewforum
2006-09-21 08:30:59 +00:00
skodak
fd98800ea2
another admin ui cleanup
2006-09-21 08:28:25 +00:00
skodak
2ce38b70d8
capability related changes in new admin tree
2006-09-21 08:18:14 +00:00
skodak
db51ddc52e
old admin configuration cleanup - MDL-6595 MDL-6449 MDL-6447
2006-09-21 08:05:50 +00:00
stronk7
0ce61c841f
Force ANSI NULLs under mssql. It's not critical to work
...
but it avoids some problems when changing nullability
of fields in the future.
2006-09-21 07:44:56 +00:00
moodler
20dd4cf5a1
Added new capability to switch roles (replaces old student view)
2006-09-21 07:44:53 +00:00
vyshane
2b15a08dc9
Added some notes for future reference
2006-09-21 07:40:24 +00:00
moodler
1c1e7af4e2
FIxed defaults for frontpage format
2006-09-21 07:38:13 +00:00
toyomoyo
4929302769
adding roles support for backups
2006-09-21 06:57:14 +00:00
skodak
2464c592e3
removed moodle specific debug messages from file.php
2006-09-21 06:38:27 +00:00
vyshane
49a0ba9438
Cleanups in view.php. Also moved logging of a forum view so that the event is not logged if the user does not have permission to view discussions in a forum (user never sees the discussions, so not counted as a view).
...
Tidy up of error display in discuss.php for when a user does not have permission to view the discussion.
2006-09-21 05:42:35 +00:00
vyshane
c095178c84
Added message string for when a user does not have permissions to view forum discussions in a forum.
2006-09-21 05:39:17 +00:00
vyshane
9ae965d379
Removed column ratings from data table
2006-09-21 04:10:36 +00:00
toyomoyo
e38f38c326
fix for MDL-6571, added get_roles_on_exact_context() for backup
2006-09-21 03:21:33 +00:00
moodler
2aab9d4000
Automatic installer.php lang files by installer_builder (20060921)
2006-09-21 02:44:10 +00:00
toyomoyo
e959a34b48
fixing syntex errors
2006-09-21 02:03:39 +00:00
toyomoyo
a4a877d890
trying to add some role support, not sure things are at the right place yet.
2006-09-21 01:56:59 +00:00
mjollnir_
a3081bfdba
Flatfile enrolment plugin upgraded to new use roles. Credit: Alastair Pharo, new Catalyst ninja ;) <alastair@catalyst.net.nz>
2006-09-21 00:04:43 +00:00
stronk7
db8bd7a66f
Now XMLDB installation is enabled! Old mysql.php and postgres7.php can
...
continue being used as previously until we finish all the required
DDL functions.
Also, this implies that *.sql files aren't needed anymore. Now all we have to do
is to maintain the install.xml files from the editor.
2006-09-20 22:36:21 +00:00
stronk7
8e6a09bd2b
Updated comment... :-/
2006-09-20 22:03:45 +00:00
stronk7
1b25502133
Forcing ADODB_FETCH_ASSOC explicity now for any DB.
2006-09-20 22:00:49 +00:00
skodak
f50c2b4ee0
fix for old email confirmation - spotted by Dirk Grunwald; merged from MOODLE_16_STABLE
2006-09-20 21:48:33 +00:00
skodak
d43d749a1b
forum throttling capability meaning reversed
2006-09-20 21:25:51 +00:00
skodak
eef868d17d
major whitespace cleanup - fixed trailng whitespace in new files and admin area
2006-09-20 21:00:45 +00:00
skodak
6124048972
major whitespace cleanup - fixed tabs
2006-09-20 20:31:09 +00:00
skodak
c78f13f8dc
major whitespace cleanup - fixed \r line-ending
2006-09-20 20:16:10 +00:00
skodak
03f5a0f87c
major whitespace cleanup - fixed \r\n line-ending
2006-09-20 19:46:52 +00:00
skodak
6c450d9f7e
test commit for lineending cleanup
2006-09-20 19:20:34 +00:00
koenr
6e0d4e854a
Adding Slovak Koruna MDL-6604
2006-09-20 19:06:57 +00:00
skodak
daa588aa52
merged changes in moodlelib.php from MOODLE_16_STABLE
2006-09-20 18:40:22 +00:00
vyshane
36acdd6df9
Updated to reflect changes to data table
2006-09-20 18:08:30 +00:00
skodak
ba4e0b059d
fixed warning caused by missing fields in $course; tweaked mime info for firefox when forcing download - it should use default system mime associations which should be safe in case of firefox.
2006-09-20 17:51:59 +00:00
vyshane
741c4d0b04
Upgrade to roles code for data module.
2006-09-20 17:46:20 +00:00
tjhunt
e7d57d9e6c
MDL-6380 - added required include to make blocks work on the quiz pages.
2006-09-20 17:22:38 +00:00
tjhunt
15995c4ab6
Fix typos in string concatenation.
2006-09-20 17:01:19 +00:00
vyshane
7f2586640e
Upgrade to roles code, as well as restoring from 1.6 on a 1.7 install code.
2006-09-20 16:57:01 +00:00
vyshane
2a1b4af377
Added course module groupmodes in convertion to roles logic
2006-09-20 16:54:50 +00:00
tjhunt
df44078448
Another typo.
...
A pity, I would love to know what a delect_records function did ;-)
2006-09-20 16:36:40 +00:00
stronk7
a6e0172869
renaming question_dataset_items->number to itemnumber (reserved word) and
...
question->commentarytext to question->generalfeedback
2006-09-20 16:22:19 +00:00
tjhunt
9fd73f0c26
Fixed typo CONTEXT_COUSE -> CONTEXT_COURSE
2006-09-20 16:19:57 +00:00
tjhunt
40cc892b6a
Fix bug with getting the capability.
2006-09-20 16:17:27 +00:00
sam_marshall
027d048574
Update to static JS - 'hitem' hidden fields now optional for lockoptions.
2006-09-20 15:04:57 +00:00
skodak
43a8ceeaf1
fixed missing ;
2006-09-20 15:04:01 +00:00
ikawhero
d096e0d8b5
Bump for new tables. See MDL-474
2006-09-20 14:18:37 +00:00
ikawhero
adecf1c475
Adding tables for customisable user profile fields. See MDL-474
2006-09-20 14:17:21 +00:00
martinlanghoff
d7e901c669
dmlib: changed array access to keyed instead of ordinal.
...
This supports the move to ADODB_FETCH_ASSOC instead of ADODB_FETCH_BOTH.
see:
http://docs.moodle.org/en/XMLDB_Problems#ADOdb_fetch_mode_.28ASSOC.2C_NUM_and_BOTH.29
Author: Luke Hudson <luke@catalyst.net.nz >
2006-09-20 11:26:47 +00:00
koenr
0647422475
updated Guinea MDL-3909
2006-09-20 09:33:11 +00:00
toyomoyo
dc5586907d
replacing deprecated calls and references to capability calls
2006-09-20 09:00:04 +00:00
vyshane
759ac72de1
Added new function function fetch_context_independent_capabilities(). Modified fetch_context_capabilities() to use the former.
...
Fixed get_roles_used_in_context() sql query. r.sortorder must be selected if it is to be used in an ORDER BY clause.
2006-09-20 08:30:49 +00:00
tjhunt
1da5a36294
More capability name typos.
2006-09-20 08:01:59 +00:00
urs_hunkler
c954040189
'updated CSS for the breadcrumb and calendar arrows'
2006-09-20 07:40:55 +00:00
skodak
1d126f4fe4
mostly removed old isadmin() calls
2006-09-20 06:59:32 +00:00
moodler
54a7469271
Removed some obsolete stuff
2006-09-20 06:52:54 +00:00
skodak
8521d83aff
role_context_capabilities should handle current context too and role override simply use parent context
2006-09-20 06:24:55 +00:00
vinkmar
bcaa8d9322
admin page cleanup -- added missing strings
2006-09-20 04:48:39 +00:00
vinkmar
43ba7a1388
admin page cleanup - added most missing strings
2006-09-20 04:47:57 +00:00
vyshane
6adc1e975d
Added more overrides during restore process for forums from 1.6. Plus some bug fixes.
2006-09-20 02:59:43 +00:00
moodler
a914213a45
Automatic installer.php lang files by installer_builder (20060920)
2006-09-20 02:59:20 +00:00
vyshane
689b19297f
Fixed notice
2006-09-20 02:47:57 +00:00
moodler
c4381ef5d2
FIxed a bug where $context had not been defined in enrol_into_course
2006-09-20 02:19:08 +00:00
moodler
b0270f84eb
Added unset_config as a companion to set_config
2006-09-20 02:17:27 +00:00
moodler
7f7cacdf4e
Made the debugging message a bit less passive
2006-09-20 01:52:49 +00:00
tjhunt
f3fb11f378
And another typo in capability name.
2006-09-19 22:58:12 +00:00
tjhunt
df5e4d3106
Another typo in capability name.
2006-09-19 22:57:38 +00:00
tjhunt
a8a7300acc
In debug mode, warn people if they are asking for an unknown capability.
2006-09-19 22:57:17 +00:00
tjhunt
8cd402f900
Typo in capability name.
2006-09-19 22:35:40 +00:00
tjhunt
6fceebea95
Always print the question list, so you can add questions to a quiz, even if you are not allowed to edit them.
2006-09-19 22:35:02 +00:00
tjhunt
3fccd7fa8d
Typo in capability names.
You do not want to know how long I had to stare at the code to spot that!
2006-09-19 22:31:13 +00:00
koenr
f2137ac2a5
fixed MDL-6551
2006-09-19 22:14:57 +00:00
tjhunt
f866df1c4f
allowassign.php was submitting to allowoverride.php
2006-09-19 21:53:37 +00:00
tjhunt
15677ae4a5
Fix JavaScript problem reported in this thread: http://moodle.org/mod/forum/discuss.php?d=54432 . Merged from MOODLE_16_STABLE.
2006-09-19 21:48:16 +00:00
koenr
28efcc8b63
fix for mdl-3909
...
cleaned up the file completely
2006-09-19 21:45:13 +00:00
skodak
a14049f107
metacourse role assignment fixes
2006-09-19 20:39:55 +00:00
skodak
681729b16e
various minor Role UI fixes
2006-09-19 17:34:29 +00:00
moodler
946cbe7029
Added some docs
2006-09-19 16:38:53 +00:00
moodler
6051c68d4b
Deleted the old students-based function and created the
...
new-style setup_enrolments() function that uses roles
to do the tasks required when a user logs in.
Other enrolment plugins should use this as an example/guide
The sync parts of this plugin are not yet fixed.
2006-09-19 16:29:43 +00:00
moodler
33f857405b
Slight extensions to get_my_courses() API to make it more useful in general
2006-09-19 14:23:43 +00:00
toyomoyo
9ce384ba1e
relacing deprecated functions with capability checks
2006-09-19 14:16:40 +00:00
moodler
0dde27bb52
More efficient get_my_courses()
2006-09-19 14:14:32 +00:00
tjhunt
a4514d91de
Renamed new commentary feature to 'general feedback'.
2006-09-19 13:35:42 +00:00
nfreear
57100a9098
Fixes bug MDL-6360 "Resizable image in breadcrumb trail..."
...
- files block_search_forums.php, calendar/lib.php, lang/en_utf8/access.php, weblib.php, theme/standard/config.php, styles_color.css
2006-09-19 11:36:21 +00:00
tjhunt
717cfb0a7b
Rename column question_dataset_items->number to itemnumber, to avoid reserved word.
2006-09-19 10:56:00 +00:00
skodak
b22c03ce99
RISK_ADMIN replaced with RISK_CONFIG, part 2.
2006-09-19 10:26:35 +00:00
toyomoyo
9c37662f22
replacing deprecated funciton calls with capability calls
2006-09-19 09:16:24 +00:00
vyshane
285f94f506
Few small fixes
2006-09-19 08:16:26 +00:00
vyshane
f2269f311d
Typos
2006-09-19 08:10:46 +00:00
skodak
45b9781ed4
fixed missing shortname pg upgrade code, sorry
2006-09-19 07:35:48 +00:00
skodak
a6b02b652b
RISK_ADMIN replaced with RISK_CONFIG
2006-09-19 07:33:22 +00:00
vyshane
0fd332a811
More typos...
2006-09-19 07:16:04 +00:00
vyshane
5ddc81b973
Fixed typo
2006-09-19 07:13:57 +00:00
moodler
3f5edbdfa3
If the search and replace affected course->modinfo then courses may not work,
...
so clear the cache
2006-09-19 07:08:19 +00:00
skodak
92ab23875a
fixed missing dot
2006-09-19 06:38:17 +00:00
toyomoyo
9fe3be1b01
fixed a bug where wrong parameters is passed
2006-09-19 06:36:54 +00:00
skodak
b79da3ac68
moodle/course:managemetacourse is now singular
2006-09-19 06:35:52 +00:00
mark-nielsen
096a664c01
Attempted to improve the display of the table in collapsed view
2006-09-19 05:57:57 +00:00
mark-nielsen
7c03355aab
Fix for the instance mentioned in MDL-3058
2006-09-19 05:11:57 +00:00
mark-nielsen
ef37bd6851
Corrected a lang entry for better translation
2006-09-19 05:10:24 +00:00
moodler
b725019e3f
Merged fix related to MDL-6020
2006-09-19 04:53:56 +00:00
mark-nielsen
4bea0828a2
Got ahead of myself, fixed by bug fix
2006-09-19 04:49:45 +00:00
mark-nielsen
51c870d253
Notice fix in report for numerical question types
2006-09-19 04:48:13 +00:00
mark-nielsen
9ae4e9f5de
Fix in addpage.php when one deletes all pages in a lesson then adds a new one
...
Fix numerical questions were not displaying the student's answer in the feedback
2006-09-19 04:45:18 +00:00
toyomoyo
5f10f77505
took out a comment, for proper debugging use the new debugging() function
2006-09-19 04:31:36 +00:00
mark-nielsen
b14123498f
Saw several problems with lesson_choose_from_menu, so finally replaced its use with choose_from_menu in lib/weblib.php
2006-09-19 04:06:32 +00:00
mark-nielsen
f08769317f
Removed hard-coded strings and fixed labels
2006-09-19 03:47:49 +00:00
mark-nielsen
63d4c906c7
Removed a hard-coded string and added PHPdoc comments for the page
2006-09-19 02:54:57 +00:00
mark-nielsen
7adb975062
removed some unecessary comments
2006-09-19 02:48:29 +00:00
toyomoyo
2d9965e1dc
function should be looking up parent contexts too
2006-09-19 02:47:55 +00:00
mark-nielsen
2817bc1aed
Fixed a bug when detecting a user as eligible for posting their name for high scores
2006-09-19 02:41:10 +00:00
mark-nielsen
8271e5cec8
Fixed alignment problem with the buttons for password protected lessons
2006-09-19 02:29:42 +00:00
toyomoyo
d76a5a7fed
replacing references to user_* tables
2006-09-19 01:44:33 +00:00
tomflannaghan
f33beb0b3d
Preset added. This is a basic javascript based preset.
2006-09-19 01:21:13 +00:00
skodak
21b6db6eff
added capabilty risks into access.php and GUI for define role and override; minor fixes for capability types in forum
2006-09-18 21:32:49 +00:00
skodak
31f267963a
MDL-6568 shortname added to roles
2006-09-18 17:40:22 +00:00
ethem
7dbc351e11
unenrol_student() -> role_unassign()
2006-09-18 17:32:43 +00:00
vyshane
20821a1266
Added new capabilities, renamed mod/data:readentry to mod/data:viewentry to make capability name more consistent with the rest of moodle.
2006-09-18 13:46:09 +00:00
moodler
a229726a11
Fixing debugging
2006-09-18 13:36:17 +00:00
moodler
779ef7fc0b
Fixed up some more debug statements
2006-09-18 13:26:58 +00:00
moodler
0e1cc9070b
Fixed a some debugging statements
2006-09-18 13:24:45 +00:00
vyshane
e51e3fcb34
Fixed notice
2006-09-18 12:48:00 +00:00
toyomoyo
38079c83eb
removing get_creators(), no more reference to the function
2006-09-18 12:04:16 +00:00
urs_hunkler
aaf281d1eb
'merged from 1.6 - MDL-6020 - CSS changes to align text beside images'
2006-09-18 12:01:16 +00:00
toyomoyo
492e507f7b
no more refernece to remove_creator() function
2006-09-18 11:55:04 +00:00
tomflannaghan
b8fb348277
Adds Javascript Support for the presets.
2006-09-18 11:45:12 +00:00
tomflannaghan
d6ef0526f3
<?php // $Id: preset.php,v 1.5 2006/08/30 09:17:40 skodak Exp $
...
/* Preset Menu
*
* This is the page that is the menu item in the config database
* pages.
*/
require_once('../../config.php');
require_once('lib.php');
require_once($CFG->libdir.'/uploadlib.php');
require_once($CFG->libdir.'/xmlize.php');
$id = optional_param('id', 0, PARAM_INT); // course module id
$d = optional_param('d', 0, PARAM_INT); // database activity id
$action = optional_param('action', 'base', PARAM_RAW); // current action
$file = optional_param('file', false, PARAM_PATH); // path of file to upload
if ($id) {
if (! $cm = get_record('course_modules', 'id', $id)) {
error('Course Module ID Incorrect');
}
if (! $course = get_record('course', 'id', $cm->course)) {
error('Course is misconfigured');
}
if (! $data = get_record('data', 'id', $cm->instance)) {
error('Module Incorrect');
}
} else if ($d) {
if (! $data = get_record('data', 'id', $d)) {
error('Database ID Incorrect');
}
if (! $course = get_record('course', 'id', $data->course)) {
error('Course is misconfigured');
}
if (! $cm = get_coursemodule_from_instance('data', $data->id, $course->id)) {
error('Course Module ID was incorrect');
}
} else {
error('Parameter missing');
}
require_login($course->id);
require_capability('mod/data:managetemplates', get_context_instance(CONTEXT_MODULE, $cm->id));
/* get the list of standard presets found in /mod/data/preset */
$presets = array();
if ($presetdir = opendir($CFG->dirroot.'/mod/data/preset')) {
while ($userdir = readdir($presetdir)) {
$fulluserdir = '/mod/data/preset/'.$userdir;
if ($userdir == '.' || $userdir == '..') {
continue;
}
/* Global Standard Presets */
if (is_directory_a_preset($CFG->dirroot.$fulluserdir)) {
$preset = new StdClass;
$preset->path = $fulluserdir;
$preset->name = $userdir;
if (file_exists($fulluserdir.'/screenshot.jpg')) {
$preset->screenshot = $CFG->wwwroot.'/mod/data/preset/'.$userdir.'/screenshot.jpg';
}
$presets[] = $preset;
unset($preset);
}
/* User made presets stored in user folders */
else if (get_record('user', 'id', $userdir)) {
$userdirh = opendir($CFG->dirroot.$fulluserdir);
while ($userpresetdir = readdir($userdirh)) {
$fulluserpresetdir = $fulluserdir.'/'.$userpresetdir;
if ($userpresetdir != '.' && $userpresetdir != '..' && is_directory_a_preset($CFG->dirroot.$fulluserpresetdir)) {
$preset = new StdClass;
$preset->path = $fulluserpresetdir;
$preset->name = $userpresetdir;
$preset->user = $userdir;
if (file_exists($fulluserpresetdir.'/screenshot.jpg')) {
$preset->screenshot = $CFG->wwwroot.'/mod/data/preset/'.$userdir.'/'.$userpresetdir.'/screenshot.jpg';
}
$presets[] = $preset;
unset($preset);
}
}
}
}
closedir($presetdir);
}
/* Need sesskey security check here for import instruction */
$sesskey = sesskey();
/********************************************************************/
/* Output */
data_presets_print_header($course, $cm, $data);
echo "<center>";
switch ($action) {
/* Main selection menu - default mode also. */
default:
case 'base':
$strimport = get_string('import');
$strfromfile = get_string('fromfile', 'data');
$strchooseorupload = get_string('chooseorupload', 'data');
$strok = get_string('ok');
$strusestandard = get_string('usestandard', 'data');
$strchoose = get_string('choose');
$strexport = get_string('export', 'data');
$strexportaszip = get_string('exportaszip', 'data');
$strsaveaspreset = get_string('saveaspreset', 'data');
$strdelete = get_string('delete');
echo "<table cellpadding=7>";
echo "<tr><td><h3>$strimport</h3></td>";
echo "<td><form name='form' method='POST' action='?d=$data->id&action=importzip&sesskey=$sesskey' enctype='multipart/form-data'>";
helpbutton('importfromfile', '', 'data');
echo " $strfromfile:</td><td><input name=\"file\" size=\"20\" value=\"\" alt=\"file\" type=\"text\"><input name=\"coursefiles\" title=\"Choose or upload a file\" value=\"$strchooseorupload\" onclick=\"return openpopup('/files/index.php?id=2&choose=form.file', 'coursefiles', 'menubar=0,location=0,scrollbars,resizable,width=750,height=500', 0);\" type=\"button\">";
echo "<input type=\"submit\" value=\"$strok\"/>";
echo "</form></td></tr>";
echo "<tr valign=top><td></td><td>";
helpbutton('usepreset', '', 'data');
echo " $strusestandard: </td><td>";
echo "<table width=100%>";
foreach ($presets as $id => $preset) {
echo "<tr><form action='' method='POST'>";
echo "<input type='hidden' name='file' value=\"$preset->path\">";
echo "<input type='hidden' name='action' value='importpreset'>";
echo "<input type='hidden' name='d' value='$data->id'>";
echo "<input type='hidden' name='sesskey' value='$sesskey'>";
echo "<td>";
if ($preset->screenshot) {
echo "<img src='$preset->screenshot' alt='$preset->screenshot' />";
}
echo "</td><td>$preset->name";
if ($preset->user) {
$user = get_record('user', 'id', $preset->user);
echo " by $user->firstname $user->lastname";
}
echo "</td><td><input type='submit' value='$strchoose'></td></form>";
echo "<td>";
if ($preset->user == $USER->id || isadmin()) {
echo "<form action='' method='POST'>";
echo "<input type='hidden' name='d' value='$data->id' />";
echo "<input type='hidden' name='action' value='confirmdelete' />";
echo "<input type='hidden' name='sesskey' value='$sesskey' />";
echo "<input type='hidden' name='deleteid' value='$id' />";
echo "<input type='hidden' name='deletename' value=\"$preset->name\" />";
echo "<input type='submit' value='$strdelete' /></form>";
}
echo "</td></tr>";
}
echo "</table></td></tr>";
echo "<tr><td valign=top><h3>$strexport</h3></td>";
echo "<td><form action='' method='POST'>";
helpbutton('exportzip', '', 'data');
echo " <input type='hidden' name='action' value='export' />";
echo "<input type='hidden' name='d' value='$data->id' />";
echo "<input type='submit' value='$strexportaszip' />";
echo "</form>";
echo "<form action='' method='POST'>";
helpbutton('savepreset', '', 'data');
echo " <input type='hidden' name='action' value='save1' />";
echo "<input type='hidden' name='d' value='$data->id' />";
echo "<input type='hidden' name='sesskey' value='$sesskey' />";
echo "<input type='submit' value='$strsaveaspreset' />";
echo "</form>";
echo "</table>";
break;
/***************** Deleting *****************/
case 'confirmdelete' :
if (!confirm_sesskey()) {
error("Sesskey Invalid");
}
$deletename = required_param('deletename', PARAM_RAW);
$deleteid = required_param('deleteid', PARAM_INT);
$strwarning = get_string('deletewarning', 'data');
$strdelete = get_string('delete');
notify($strwarning);
echo "<form action='' method='POST'>";
echo "<input type='hidden' name='d' value='$data->id' />";
echo "<input type='hidden' name='action' value='delete' />";
echo "<input type='hidden' name='sesskey' value='$sesskey' />";
echo "<input type='hidden' name='deleteid' value='$deleteid' />";
echo "<input type='hidden' name='deletename' value=\"$deletename\" />";
echo "<input type='submit' value='$strdelete' /></form>";
break;
case 'delete' :
if (!confirm_sesskey()) {
error('Sesskey Invalid');
}
$deletename = required_param('deletename', PARAM_RAW);
$deleteid = required_param('deleteid', PARAM_INT);
if (!empty($presets[$deleteid])) {
if ($presets[$deleteid]->name == $deletename) {
if (!clean_preset($CFG->dirroot.$presets[$deleteid]->path)) error("Error deleting");
}
rmdir($CFG->dirroot.$presets[$deleteid]->path);
}
else {
error('Invalid delete');
}
$strdelete = get_string('deleted', 'data');
notify("$deletename $strdeleted");
break;
/***************** Importing *****************/
case 'importpreset' :
if (!confirm_sesskey()) {
error("Sesskey Invalid");
}
$pimporter = new PresetImporter($course, $cm, $data, $CFG->dirroot.$file);
$pimporter->import_options();
break;
/* Imports a zip file. */
case 'importzip' :
if (!confirm_sesskey()) {
error("Sesskey Invalid");
}
if (!make_upload_directory('temp/data/'.$USER->id)) {
error("Can't Create Directory");
}
$presetfile = $CFG->dataroot."/temp/data/".$USER->id;
clean_preset($presetfile);
if (!unzip_file($CFG->dataroot."/$course->id/$file",
$presetfile, false))
error("Can't unzip file");
$pimporter = new PresetImporter($course, $cm, $data, $presetfile);
$pimporter->import_options();
break;
case 'finishimport':
if (!confirm_sesskey()) {
error('Sesskey Invalid');
}
$pimporter = new PresetImporter($course, $cm, $data, $file);
$pimporter->import();
$strimportsuccess = get_string('importsuccess', 'data');
$straddentries = get_string('addentries', 'data');
$strtodatabase = get_string('todatabase', 'data');
if (!get_records('data_records', 'dataid', $data->id)) {
notify("$strimportsuccess <a href='edit.php?d=$data->id'>$straddentries</a> $strtodatabase", 'notifysuccess');
}
else {
notify("$strimportsuccess", 'notifysuccess');
}
break;
/* Exports as a zip file ready for download. */
case 'export':
$file = data_presets_export($course, $cm, $data);
echo get_string('exportedtozip', 'data')."<br>";
$perminantfile = $CFG->dataroot."/$course->id/moddata/data/$data->id/preset.zip";
@unlink($perminantfile);
/* is this created elsewhere? sometimes its not present... */
make_upload_directory("$course->id/moddata/data/$data->id");
/* now just move the zip into this folder to allow a nice download */
if (!rename($file, $perminantfile)) error("Can't move zip");
echo "<a href='$CFG->wwwroot/file.php/$course->id/moddata/data/$data->id/preset.zip'>".get_string('download', 'data')."</a>";
break;
/***************** Exporting *****************/
case 'save1':
if (!confirm_sesskey()) {
error("Sesskey Invalid");
}
$strcontinue = get_string('continue');
$strwarning = get_string('presetwarning', 'data');
echo "<div align=center>";
echo "<p>$strwarning</p>";
echo "<form action='' method='POST'>";
echo "Name: <input type='textbox' name='name' value=\"$data->name\" />";
echo "<input type='hidden' name='action' value='save2' />";
echo "<input type='hidden' name='d' value='$data->id' />";
echo "<input type='hidden' name='sesskey' value='$sesskey' />";
echo "<input type='submit' value='$strcontinue' /></form></div>";
break;
case 'save2':
if (!confirm_sesskey()) {
error("Sesskey Invalid");
}
$strcontinue = get_string('continue');
$stroverwrite = get_string('overwrite');
$name = optional_param('name', $data->name, PARAM_FILE);
if (is_directory_a_preset("$CFG->dirroot/mod/data/preset/$USER->id/$name")) {
notify("Preset already exists: Pick another name or overwrite");
echo "<div align=center>";
echo "<form action='' method='POST'>";
echo "New name: <input type='textbox' name='name' value=\"$name\" />";
echo "<input type='hidden' name='action' value='save2' />";
echo "<input type='hidden' name='d' value='$data->id' />";
echo "<input type='hidden' name='sesskey' value='$sesskey' />";
echo "<input type='submit' value='$strcontinue' /></form>";
echo "<form action='' method='POST'>";
echo "<input type='hidden' name='name' value=\"$name\" />";
echo "<input type='hidden' name='action' value='save3' />";
echo "<input type='hidden' name='d' value='$data->id' />";
echo "<input type='hidden' name='sesskey' value='$sesskey' />";
echo "<input type='submit' value='$stroverwrite' /></form>";
echo "</div>";
break;
}
case 'save3':
if (!confirm_sesskey()) {
error("Sesskey Invalid");
}
$name = optional_param('name', $data->name, PARAM_FILE);
$presetdirectory = "$CFG->dirroot/mod/data/preset/$USER->id/$name";
if (!is_dir($presetdirectory)) {
@mkdir("$CFG->dirroot/mod/data/preset/$USER->id");
mkdir($presetdirectory);
}
else {
clean_preset($presetdirectory);
}
$file = data_presets_export($course, $cm, $data);
if (!unzip_file($file, $presetdirectory, false)) error("Can't unzip to the preset directory");
notify(get_string('savesuccess', 'data'), 'notifysuccess');
break;
}
echo "</center>";
print_footer($course);
function is_directory_a_preset($directory) {
$directory = rtrim($directory, '/\\') . '/';
if (file_exists($directory.'singletemplate.html') &&
file_exists($directory.'listtemplate.html') &&
file_exists($directory.'listtemplateheader.html') &&
file_exists($directory.'listtemplatefooter.html') &&
file_exists($directory.'addtemplate.html') &&
file_exists($directory.'rsstemplate.html') &&
file_exists($directory.'rsstitletemplate.html') &&
file_exists($directory.'csstemplate.css') &&
file_exists($directory.'jstemplate.js') &&
file_exists($directory.'preset.xml')) return true;
else return false;
}
function data_presets_print_header($course, $cm, $data, $showtabs=true) {
global $CFG, $displaynoticegood, $displaynoticebad;
$strdata = get_string('modulenameplural','data');
print_header_simple($data->name, '', "<a href='index.php?id=$course->id'>$strdata</a> -> $data->name",
'', '', true, '', navmenu($course, $cm));
print_heading(format_string($data->name));
/// Print the tabs
if ($showtabs) {
$currenttab = 'presets';
include_once('tabs.php');
}
/// Print any notices
if (!empty($displaynoticegood)) {
notify($displaynoticegood, 'notifysuccess'); // good (usually green)
} else if (!empty($displaynoticebad)) {
notify($displaynoticebad); // bad (usuually red)
}
}
function clean_preset($folder) {
if (unlink($folder.'/singletemplate.html') &&
unlink($folder.'/listtemplate.html') &&
unlink($folder.'/listtemplateheader.html') &&
unlink($folder.'/listtemplatefooter.html') &&
unlink($folder.'/addtemplate.html') &&
unlink($folder.'/rsstemplate.html') &&
unlink($folder.'/rsstitletemplate.html') &&
unlink($folder.'/csstemplate.css') &&
unlink($folder.'/jstemplate.js') &&
unlink($folder.'/preset.xml')) return true;
else return false;
}
function data_presets_export($course, $cm, $data) {
global $CFG;
/* Info Collected. Now need to make files in moodledata/temp */
$tempfolder = $CFG->dataroot.'/temp';
$singletemplate = fopen($tempfolder.'/singletemplate.html', 'w');
$listtemplate = fopen($tempfolder.'/listtemplate.html', 'w');
$listtemplateheader = fopen($tempfolder.'/listtemplateheader.html', 'w');
$listtemplatefooter = fopen($tempfolder.'/listtemplatefooter.html', 'w');
$addtemplate = fopen($tempfolder.'/addtemplate.html', 'w');
$rsstemplate = fopen($tempfolder.'/rsstemplate.html', 'w');
$rsstitletemplate = fopen($tempfolder.'/rsstitletemplate.html', 'w');
$csstemplate = fopen($tempfolder.'/csstemplate.css', 'w');
$jstemplate = fopen($tempfolder.'/jstemplate.js', 'w');
fwrite($singletemplate, $data->singletemplate);
fwrite($listtemplate, $data->listtemplate);
fwrite($listtemplateheader, $data->listtemplateheader);
fwrite($listtemplatefooter, $data->listtemplatefooter);
fwrite($addtemplate, $data->addtemplate);
fwrite($rsstemplate, $data->rsstemplate);
fwrite($rsstitletemplate, $data->rsstitletemplate);
fwrite($csstemplate, $data->csstemplate);
fwrite($jstemplate, $data->jstemplate);
fclose($singletemplate);
fclose($listtemplate);
fclose($listtemplateheader);
fclose($listtemplatefooter);
fclose($addtemplate);
fclose($rsstemplate);
fclose($rsstitletemplate);
fclose($csstemplate);
fclose($jstemplate);
/* All the display data is now done. Now assemble preset.xml */
$fields = get_records('data_fields', 'dataid', $data->id);
$presetfile = fopen($tempfolder.'/preset.xml', 'w');
$presetxml = "<preset>\n\n";
/* Database settings first. Name not included? */
$settingssaved = array('intro', 'comments', 'ratings', 'participants',
'requiredentries', 'requiredentriestoview', 'maxentries',
'rssarticles', 'approval', 'scale', 'assessed', 'assessedpublic',
'defaultsort', 'defaultsortdir', 'editany');
$presetxml .= "<settings>\n";
foreach ($settingssaved as $setting) {
$presetxml .= "<$setting>{$data->$setting}</$setting>\n";
}
$presetxml .= "</settings>\n\n";
/* Now for the fields. Grabs all settings that are non-empty */
if (!empty($fields)) {
foreach ($fields as $field) {
$presetxml .= "<field>\n";
foreach ($field as $key => $value) {
if ($value != '' && $key != 'id' && $key != 'dataid') {
$presetxml .= "<$key>$value</$key>\n";
}
}
$presetxml .= "</field>\n\n";
}
}
$presetxml .= "</preset>";
fwrite($presetfile, $presetxml);
fclose($presetfile);
/* Check all is well */
if (!is_directory_a_preset($tempfolder)) {
error("Not all files generated!");
}
$filelist = array(
"singletemplate.html",
"listtemplate.html",
"listtemplateheader.html",
"listtemplatefooter.html",
"addtemplate.html",
"rsstemplate.html",
"rsstitletemplate.html",
"csstemplate.css",
"jstemplate.js",
"preset.xml");
foreach ($filelist as $key => $file) {
$filelist[$key] = $tempfolder.'/'.$filelist[$key];
}
@unlink($tempfolder.'/export.zip');
$status = zip_files($filelist, $tempfolder.'/export.zip');
/* made the zip... now return the filename for storage.*/
return $tempfolder.'/export.zip';
}
class PresetImporter {
function PresetImporter($course, $cm, $data, $folder) {
global $CFG;
$this->course = $course;
$this->cm = $cm;
$this->data = $data;
$this->folder = $folder;
$this->postfolder = $folder;
}
function get_settings() {
global $CFG;
if (!is_directory_a_preset($this->folder)) {
error("$this->folder Not a preset");
}
/* Grab XML */
$presetxml = file_get_contents($this->folder.'/preset.xml');
$parsedxml = xmlize($presetxml);
/* First, do settings. Put in user friendly array. */
$settingsarray = $parsedxml['preset']['#']['settings'][0]['#'];
$settings = new StdClass();
foreach ($settingsarray as $setting => $value) {
$settings->$setting = $value[0]['#'];
}
/* Now work out fields to user friendly array */
$fieldsarray = $parsedxml['preset']['#']['field'];
$fields = array();
foreach ($fieldsarray as $field) {
$f = new StdClass();
foreach ($field['#'] as $param => $value) {
$f->$param = $value[0]['#'];
}
$f->dataid = $this->data->id;
$fields[] = $f;
}
/* Now add the HTML templates to the settings array so we can update d */
$settings->singletemplate = file_get_contents($this->folder."/singletemplate.html");
$settings->listtemplate = file_get_contents($this->folder."/listtemplate.html");
$settings->listtemplateheader = file_get_contents($this->folder."/listtemplateheader.html");
$settings->listtemplatefooter = file_get_contents($this->folder."/listtemplatefooter.html");
$settings->addtemplate = file_get_contents($this->folder."/addtemplate.html");
$settings->rsstemplate = file_get_contents($this->folder."/rsstemplate.html");
$settings->rsstitletemplate = file_get_contents($this->folder."/rsstitletemplate.html");
$settings->csstemplate = file_get_contents($this->folder."/csstemplate.css");
$settings->jstemplate = file_get_contents($this->folder."/jstemplate.js");
$settings->instance = $this->data->id;
/* Now we look at the current structure (if any) to work out whether we need to clear db
or save the data */
$currentfields = array();
$currentfields = get_records('data_fields', 'dataid', $this->data->id);
return array($settings, $fields, $currentfields);
}
function import_options() {
if (!confirm_sesskey()) {
error("Sesskey Invalid");
}
$strblank = get_string('blank', 'data');
$strnofields = get_string('nofields', 'data');
$strcontinue = get_string("continue");
$sesskey = sesskey();
$strwarning = get_string('mappingwarning', 'data');
$strfieldmappings = get_string('fieldmappings', 'data');
$strnew = get_string("new");
$strold = get_string("old");
list($settings, $newfields, $currentfields) = $this->get_settings();
echo "<div align='center'><form action='' method='POST'>";
echo "<input type='hidden' name='sesskey' value='$sesskey' />";
echo "<input type='hidden' name='d' value='{$this->data->id}' />";
echo "<input type='hidden' name='action' value='finishimport' />";
echo "<input type='hidden' name='file' value=\"$this->postfolder\" />";
if ($currentfields != array() && $newfields != array()) {
echo "<h3>$strfieldmappings ";
echo helpbutton('fieldmappings', '', 'data');
echo "</h3><table>";
foreach ($newfields as $nid => $newfield) {
echo "<tr><td>$newfield->name </td>";
echo "<td><select name='field_$nid'>";
foreach ($currentfields as $cid => $currentfield) {
if ($currentfield->type == $newfield->type) {
if ($currentfield->name == $newfield->name) {
echo "<option value='$cid' selected='true'>$currentfield->name</option>";
$selected=true;
}
else {
echo "<option value='$cid'>$currentfield->name</option>";
}
}
}
if ($selected)
echo "<option value='-1'>-</option>";
else
echo "<option value='-1' selected='true'>-</option>";
echo "</select></td></tr>";
}
echo "</table>";
echo "<p>$strwarning</p>";
}
else if ($newfields == array()) {
error("New preset has no defined fields!");
}
echo "<input type='submit' value='$strcontinue' /></form></div>";
}
function import() {
global $CFG;
list($settings, $newfields, $currentfields) = $this->get_settings();
$preservedfields = array();
/* Maps fields and makes new ones */
if ($newfields != array()) {
/* We require an injective mapping, and need to know what to protect */
foreach ($newfields as $nid => $newfield) {
$cid = optional_param("field_$nid", -1, PARAM_INT);
if ($cid == -1) continue;
if (array_key_exists($cid, $preservedfields)) error("Not an injective map");
else $preservedfields[$cid] = true;
}
foreach ($newfields as $nid => $newfield) {
$cid = optional_param("field_$nid", -1, PARAM_INT);
/* A mapping. Just need to change field params. Data kept. */
if ($cid != -1) {
$fieldobject = data_get_field_from_id($currentfields[$cid]->id, $this->data);
foreach ($newfield as $param => $value) {
if ($param != "id") {
$fieldobject->field->$param = $value;
}
}
unset($fieldobject->field->similarfield);
$fieldobject->update_field();
unset($fieldobject);
}
/* Make a new field */
else {
include_once("field/$newfield->type/field.class.php");
$classname = 'data_field_'.$newfield->type;
$fieldclass = new $classname($newfield, $this->data);
$fieldclass->insert_field();
unset($fieldclass);
}
}
}
/* Get rid of all old unused data */
if ($preservedfields != array()) {
foreach ($currentfields as $cid => $currentfield) {
if (!array_key_exists($cid, $preservedfields)) {
/* Data not used anymore so wipe! */
print "Deleting field $currentfield->name<br>";
$id = $currentfield->id;
if ($content = get_records('data_content', 'fieldid', $id)) {
foreach ($content as $item) {
delete_records('data_ratings', 'recordid', $item->recordid);
delete_records('data_comments', 'recordid', $item->recordid);
delete_records('data_records', 'id', $item->recordid);
}
}
delete_records('data_content', 'fieldid', $id);
delete_records('data_fields', 'id', $id);
}
}
}
data_update_instance(addslashes_object($settings));
if (strstr($this->folder, "/temp/")) clean_preset($this->folder); /* Removes the temporary files */
return true;
}
}
?>
2006-09-18 11:42:28 +00:00
skodak
dca1937c02
removed references to /requested(teachers?|students?)name/ and 'showsiteparticipantslist' - we are now using only default names stored in langpacks for backwards compatibility
2006-09-18 11:21:24 +00:00
toyomoyo
102d890c14
remove_admin() no longer referenced
2006-09-18 10:47:09 +00:00
vyshane
7aeedc0cfb
Removed configshowparticipantslist
2006-09-18 10:26:11 +00:00
toyomoyo
6eccd8f099
add_creator no longer in use
2006-09-18 10:18:26 +00:00
skodak
a7a54c3ba1
new metacourse fixes for admin block
2006-09-18 09:58:22 +00:00
skodak
339dc4e28f
metacourse fixes for course editting
2006-09-18 09:37:51 +00:00
toyomoyo
24671bd8b4
validation should not watch out for teacher and students string anymore
2006-09-18 09:16:49 +00:00
moodler
fdb1cf2cc1
FIxed to use the new debugging function
2006-09-18 09:13:04 +00:00
toyomoyo
65becbc3ef
if the user has no capability, after creating a course we add him to the first role with legacy:edittingteacher, to make him a legacy editting teacher
2006-09-18 09:10:03 +00:00
vyshane
16b09a43ca
Added moodle/site:viewparticipants
2006-09-18 09:09:25 +00:00
tjhunt
89d878671d
Remove duplicate call to print_header
2006-09-18 09:02:30 +00:00
vyshane
840c1c31fa
Added moodle/site:viewparticipants
2006-09-18 09:02:12 +00:00
moodler
0bb391b7a0
Fixed some debugging statements
2006-09-18 08:57:23 +00:00
vyshane
218ec889d2
Replaced managesharedfeeds by manageanyfeeds
2006-09-18 08:37:29 +00:00
skodak
f5002f10bf
metacourses gui fixes, part I.
2006-09-18 08:20:01 +00:00
vyshane
f98fe0efad
Removed isadmin()
2006-09-18 08:10:20 +00:00
vyshane
6ee81cb55b
Got rid of isadmin() calls, added capability checks.
2006-09-18 07:19:38 +00:00
moodler
a4e108450f
Some trivial tidying of source
2006-09-18 05:50:02 +00:00
vyshane
bd574b2a06
Removed isteacher()
2006-09-18 05:29:42 +00:00
vyshane
0019725320
Removed references to showsiteparticipantslist. Replaced by capability.
2006-09-18 05:28:06 +00:00
vyshane
8b8db38e6e
Removed showsiteparticipantslist strings.
2006-09-18 05:27:28 +00:00
vyshane
dd8d5345ce
Removed showsiteparticipantslist, replaced with capability
2006-09-18 05:26:16 +00:00
vyshane
b008da9551
Removed showsiteparticipantslist. Replaced with capability.
2006-09-18 05:25:43 +00:00
toyomoyo
353a7269a2
removing word for teachers and students, please use proper role names instead
2006-09-18 04:57:34 +00:00
moodler
09a89b01d0
Nuked nuke.
2006-09-18 03:28:02 +00:00
moodler
ad48842401
Automatic installer.php lang files by installer_builder (20060918)
2006-09-18 03:04:28 +00:00
vinkmar
cc73de7147
Fixes for MDL-6440 and MDL-6577
2006-09-18 02:41:14 +00:00
vyshane
24bf6cc196
Replaced isteacher() in fullname() call.
2006-09-18 02:28:57 +00:00
mark-nielsen
62bb11d837
Added display default feedback in lesson settings
...
Led to reducing some redundant code in action/continue.php
Also, a bug fix in locallib.php for function lesson_print_submit_link (needed to add slashes or else js would break)
2006-09-18 01:31:35 +00:00
mark-nielsen
1032b61d3f
Added lang entry for display default feedback
2006-09-18 01:29:03 +00:00
mark-nielsen
52f13a25df
Help file for displaying default feedback
2006-09-18 01:28:12 +00:00
skodak
1aad431080
metacourse sync now uses roles, I will continue with fixing of GUIs tomorrow
2006-09-17 22:21:37 +00:00
skodak
4b7aaf4025
added new capability 'moodle/course:managemetacourses'
2006-09-17 21:03:35 +00:00
skodak
6e283151b0
fixed some more warnings in uploaduser.php script
2006-09-17 21:02:31 +00:00
skodak
a25200709b
fixed warning
2006-09-17 20:51:54 +00:00
cap2501
1752e584de
Added dialog to confirm deletion of activity.
2006-09-17 18:20:43 +00:00
skodak
09575480bb
fixed several warnings in get_course()
2006-09-17 18:07:35 +00:00
skodak
8743f4f3ec
removed foter login link during initial phase of installation
2006-09-17 17:53:20 +00:00
cap2501
8a66975e84
cleaned up some formatting
2006-09-17 17:48:27 +00:00
gustav_delius
0839ef65d5
Removed a PHP notice
2006-09-17 17:43:30 +00:00
skodak
d847bb32fd
fixed non-working edit button on course page for teachers, added explanation comments
2006-09-17 17:32:45 +00:00
moodler
21ef1a8b27
New string
2006-09-17 16:39:12 +00:00
moodler
1cd85caf3f
Fixed a typo
2006-09-17 16:10:00 +00:00
moodler
9d05e659cc
Rewritten manual enrolment module using new core functions.
...
(except for the last part of cron function, which is still ugly)
2006-09-17 16:08:34 +00:00
moodler
b963384f41
Added new convenience funtions:
...
get_default_course_role() - gets default role for enrolment
enrol_into_course() - enrols a person using the default role
2006-09-17 16:06:25 +00:00
moodler
9c641bd871
Added email_welcome_message_to_user() to send course welcome emails
2006-09-17 16:04:15 +00:00
moodler
41f6ed56ce
Don't rely on the legacy capabilities to identify admins, use doanything
2006-09-17 16:00:16 +00:00
skodak
c8218a42fa
Partial fix for missing deafult values in upgradesettings.php script - MDL-6577
2006-09-17 12:11:23 +00:00
moodler
88af238ccb
$CFG->defaultcourseroleid defines a site default for the role given to
...
people who enrol in the course.
$course->defaultrole defines the value for each course for what role
should be used in the same case. Naturally it defaults to the site config
(when it is zero).
This role is retained even when the person editing the course settings
doesn't actually have that role in their list of assignable rights (however
they are prevented from actually switching to any such role themselves).
Note that enrol plugins are free to ignore these values and use whatever
roles they like. Generally, though, they should respect these settings.
2006-09-17 09:22:33 +00:00
moodler
b29ab53d31
Removed the setting of default values. The default is now just zero.
2006-09-17 09:08:47 +00:00
skodak
86e2c51da8
infinite loop prevention when unassigning recursively
2006-09-17 08:53:57 +00:00
skodak
4e5f3064bf
role assignment and unassignment now propagates to metacourses
2006-09-17 08:42:42 +00:00
moodler
ff64aaeaec
Just tidying a couple of functions
2006-09-17 07:00:47 +00:00
skodak
7f5bc80b78
backupdata folder is no longer displayed in list of directories when setting up Directory Resource - partially related to MDL-6280 ; and some other typo fixes; get_directory_list() no accepts also array of exluded files
2006-09-17 06:49:26 +00:00
moodler
746a04c500
Adding defaultrole to course table
2006-09-17 06:37:59 +00:00
vinkmar
90cfbd0ab4
Changes required for MDL-6439 made to admin_sitesettext object
2006-09-17 06:08:10 +00:00
moodler
1434a286dd
Fixing up script tag for compliance
2006-09-17 03:40:22 +00:00
moodler
ce607dd457
Tidying up coursebox teacher listing (no bullets)
2006-09-17 03:38:04 +00:00
moodler
ec6eb11097
Sort get_user_roles from most local to most general
2006-09-17 03:33:22 +00:00
moodler
08abf1dc0e
Updated tags file
2006-09-17 03:29:56 +00:00
martinlanghoff
5a39def902
re-merge of "Merged fix from 1.6 for Bug #5131 - RSS Feeds and Moving Discussions."
...
Originally by vyshane - got dropped accidentally in one of the biiiiig roles
commits.
2006-09-17 02:27:13 +00:00
skodak
0d5a9a94c1
fixed recursive backing up of backup folder when resource diretory reference is course files root - MDL-6280 ; merged from MOODLE_16_STABLE
2006-09-16 18:15:40 +00:00
skodak
5434bacabe
backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE
2006-09-16 17:15:18 +00:00
skodak
de9a33f3c9
backupdata folder is not visible in directory resource any more, the backup files were not downloadable, but they might be stored in browser cache when teacher and student were logged from the same browser and computer account - MDL-6280 ; merged from MOODLE_16_STABLE
2006-09-16 17:15:18 +00:00
moodler
88768091a4
Upgrading print_course to use roles properly
...
Added list for the teacher names for better XHTML
2006-09-16 15:23:41 +00:00
moodler
5b6306677b
extending get_user_roles with more options and more returned info
2006-09-16 15:22:55 +00:00
moodler
5fe3980628
Fixed hard-codes string
2006-09-16 14:26:13 +00:00
moodler
38a5e3d34a
Just some cleanups and removed notices
2006-09-16 14:22:59 +00:00
moodler
27e1437616
Removing unneeded functions, still needs some modernising
2006-09-16 14:02:51 +00:00
moodler
5c98bf9e3a
Enrolments working better now. The core part is done, just the plugins to go.
...
The enrolment plugins are now checked from load_user_capability()
2006-09-16 13:59:38 +00:00
moodler
99f9cb51e0
Added new capability
...
moodle/role:viewhiddenassigns - for people to see hidden assignments
2006-09-16 13:56:24 +00:00
moodler
888fb649a8
Converted deprecated get_teacher() to use new tables
2006-09-16 13:55:30 +00:00
moodler
64026e8c1e
Tidy up get_users_with_capability
2006-09-16 13:54:57 +00:00
moodler
5ed3bf228a
Fixed a notice
2006-09-16 12:58:50 +00:00
moodler
f4af29c5a4
Fixed up some bugs and notices when assigning roles in a user context
2006-09-16 12:41:47 +00:00
skodak
8f8ead90c7
fixed unenrol_student() - now uses roles instead of user_students table
2006-09-16 12:05:31 +00:00
skodak
80f435af43
fixed error message
2006-09-16 12:02:02 +00:00
skodak
14e7869268
fixed uploaduser.php to work with role assignments and groups, new csv columns role1...role5 accepting role ids + updated help file
2006-09-16 12:01:08 +00:00
skodak
7b6a42f5b8
coverted deprecated get_group_students() to use legacy capability instead of user_students table
2006-09-16 06:22:32 +00:00
skodak
a05708ad61
fixed $groupidsql in get_users_by_capability()
2006-09-16 05:56:51 +00:00
moodler
4cc028d523
Automatic installer.php lang files by installer_builder (20060916)
2006-09-16 02:50:27 +00:00
moodler
d3e47e0d66
Deleting deprecated methods of assigning people to courses
2006-09-15 16:03:49 +00:00
moodler
68a4b5d673
We don't need these any more (obsolete because of role assignment)
2006-09-15 15:56:05 +00:00
moodler
57e73347b3
Fixed up a typo
2006-09-15 15:07:43 +00:00
moodler
4801fe93a2
Various logic and capability fixes
2006-09-15 15:04:38 +00:00
moodler
11c40e2f4e
Fixed a bad bug in get_user_roles :-)
2006-09-15 14:56:32 +00:00
moodler
e58eca7222
New capability: moodle/user:viewhiddendetails
2006-09-15 14:39:16 +00:00
tjhunt
36075e092d
MDL-6041 - Proper fix that eliminates the magic number 99999 when getting lists of studnets. Now, there is no arbitrary upper limit in the datalib functions, and sensible upper limits on pages that display lists of users. However, if you try to get all the site students, then get_students prints a warning in debug mode, telling you that you need to rethink your code.
...
Also a few more ISNULL()s eliminated.
And a typo role_assignment -> role_assignments.
2006-09-15 14:32:35 +00:00
moodler
4b10f08b88
Rename CONTEXT_USERID --> CONTEXT_USER for consistency
2006-09-15 14:09:16 +00:00
tjhunt
f00b7f8d8e
The ISNULL() function is a nasty mysql-ism. The standard SQL syntax is "xxx IS NULL". Even mysql supports this, whereas noone else supports the mysql syntax.
2006-09-15 14:00:30 +00:00
moodler
5081e7868d
Some SQL fixes
2006-09-15 13:51:42 +00:00
moodler
2939bfe444
Fixed some notices
2006-09-15 13:46:11 +00:00
moodler
405f64c7fd
Fixed some SQL error
2006-09-15 13:42:40 +00:00
moodler
2f089dd5f9
Guest account could be getting the default role
2006-09-15 13:28:18 +00:00
moodler
5bd66aa964
Some random quote fixing
2006-09-15 13:26:39 +00:00
tjhunt
4e5a0168f8
Fix typo.
2006-09-15 13:18:28 +00:00
moodler
2febd88e67
Just tidying
2006-09-15 12:53:23 +00:00
ethem
0fbf82ea78
Tidy up
2006-09-15 12:35:08 +00:00
ethem
dbe35d21bc
Tidy up
2006-09-15 12:05:27 +00:00
ethem
a2610c215d
Tidy up
2006-09-15 11:40:37 +00:00
ethem
068cf579bd
New string for capability: Manage payments
2006-09-15 10:13:06 +00:00
ethem
58b450e92b
New string for capability: Manage Payments
2006-09-15 10:11:19 +00:00
ethem
4044e868eb
Goodbye old config
2006-09-15 09:57:10 +00:00
vyshane
15dabc3074
Merge from 1.6 stable. Small fixes to make xhtml validate.
2006-09-15 09:38:46 +00:00
moodler
c26a8f2ffa
FIxed navigation
2006-09-15 09:23:58 +00:00
toyomoyo
71dea306b4
changing lib functions to work with roles, some functions might not work as expected now
2006-09-15 09:08:48 +00:00
moodler
b5839add55
Passing cleanup
2006-09-15 09:04:23 +00:00
moodler
6a12bc4836
Bringing phpinfo into the fold
2006-09-15 08:59:02 +00:00
moodler
3bac4f9fce
FIxed docs
2006-09-15 08:23:40 +00:00
moodler
3cc8b355c2
Fixed a notice when course->modinfo is empty
2006-09-15 06:16:35 +00:00
moodler
b977b0a365
Fixed some subscription typos
2006-09-15 06:15:01 +00:00
moodler
e49e61bfe9
Updates for visual stuff
2006-09-15 06:07:29 +00:00
vyshane
67875aa108
Fixed bug in forum_search_posts(). More testing needed still.
2006-09-15 06:04:23 +00:00
moodler
4934c49719
Cleaning up assign and override interfaces
2006-09-15 06:04:10 +00:00
vyshane
3d5fb99f00
Fixed bug in get_records_sql(). This call:
...
$rs = get_recordset_sql($sql, $limitfrom='', $limitnum='');
should really be:
$rs = get_recordset_sql($sql, $limitfrom, $limitnum);
2006-09-15 06:03:32 +00:00
vyshane
e521770c84
Small SQL fix. Removed unneeded WHERE clause
2006-09-15 03:18:59 +00:00
gbateson
e69c04db5a
do not add $restore->course_startdateoffset to ANY empty dates
2006-09-14 21:50:37 +00:00
moodler
7513cd6936
Tidying
2006-09-14 15:20:44 +00:00
moodler
9584965f9c
Tidied up the role assignment pages
2006-09-14 14:49:45 +00:00
moodler
02862df518
Allow columns to be zero
2006-09-14 14:12:51 +00:00
thepurpleblob
6d9b8e5678
Merged from STABLE
...
Provides fix for bug MDL-5893
2006-09-14 13:59:08 +00:00
moodler
698337128b
Reorganise settings a bit
2006-09-14 13:56:27 +00:00
moodler
10e17638da
Some fixes to user policies (removed some which are no longer relevant)
2006-09-14 13:54:21 +00:00
gbateson
de2ded1a43
moved restorelog code to "hotpot_restore_mods", so it is only executed when backing up a HotPot record. Also, modified restorelog code so that "course_startdateoffset" is not added to TIMEOPEN or TIMECLOSE if those fields are currently empty (empty has a special meaning for those fields)
2006-09-14 11:10:54 +00:00
moodler
ca23ffdb74
Don't overwrite capabilities when loading default role
2006-09-14 09:41:09 +00:00
moodler
8f8ed475f7
Added a new setting called $CFG->defaultuserroleid which defines
...
the role that ALL users get by default when they log in.
2006-09-14 09:39:23 +00:00
toyomoyo
ea8158c118
changing sql calls from user_students table to role_assignments table
2006-09-14 09:08:07 +00:00
vyshane
b1342e1869
Minor formatting tidyup
2006-09-14 08:57:41 +00:00
vyshane
42fb3c858f
Converted forum searches so that they take into account the new Roles system. Search results will only include what the searcher should be able to see based on his/her capabilities.
2006-09-14 08:44:45 +00:00
bobopinna
9b3496f265
Removed two style definitions (bug MDL-6209)
2006-09-14 08:28:26 +00:00
moodler
438c5b8098
Removed a PHP4 notice
2006-09-14 07:35:53 +00:00
gbateson
29f4a60ffe
add get_coursemodule_from_id/instance functions for compatability with Moodles <1.7
2006-09-14 07:29:22 +00:00
gbateson
2a532aa68c
reduce length of worksheet name to 31 chars if running under Moodle 1.5
2006-09-14 07:17:53 +00:00
gbateson
3c4f45c2d9
remove from blank cells when generating Excel sheet
2006-09-14 07:16:14 +00:00
moodler
966620586e
Better handling of forum id/object
2006-09-14 07:13:08 +00:00
moodler
503eecab20
Strip tags from block skip link names
2006-09-14 07:00:43 +00:00
moodler
71832a910b
Fixed some typos
2006-09-14 06:54:54 +00:00
moodler
d78596d804
Fixed a notice
2006-09-14 06:48:58 +00:00
toyomoyo
c5a3467aa0
fixing missing bracket
2006-09-14 06:43:01 +00:00
moodler
89d57596bd
Fixed a typo
2006-09-14 06:30:02 +00:00
moodler
c64633f6f6
Merged fix from http://moodle.org/mod/forum/discuss.php?d=38860 (Brian Jones)
2006-09-14 05:46:49 +00:00
moodler
09ad59dcb8
Revert to standardwhite if theme is missing MDL-6257
2006-09-14 05:15:06 +00:00
moodler
2fca6e0b26
Fixing up comments on debugging()
2006-09-14 04:31:05 +00:00
moodler
fa989c3882
Moved debugging() to weblib.php since it's really about output
2006-09-14 04:25:17 +00:00
toyomoyo
9dcc11eb97
taking out user_student table reference in SQL, replaced with role_assignment
2006-09-14 03:54:37 +00:00
moodler
b88b740a80
Remove obsolete themes link MDL-6518
2006-09-14 03:35:19 +00:00
toyomoyo
61b03dc7a6
replacing legacy calls
2006-09-14 03:18:55 +00:00
vyshane
8d9a0ae64b
Fix for MDL-6517. Patch by David Mudrak.
2006-09-14 03:18:37 +00:00
gbateson
e9be584810
fix for overly advanced version numbers in HotPot module in Moodle 1.5 (see bug MDL-6538)
2006-09-13 23:59:38 +00:00
urs_hunkler
18a6481ffa
'merged from 1.6'
2006-09-13 17:31:35 +00:00
tjhunt
aa4f6af41a
MDL-6542 - Don't run the unit tests until the user is ready.
2006-09-13 16:19:56 +00:00
tjhunt
45f501a54b
Put the unit test styles in the standard theme, rather than using the previous nasty hack that had been broken by the admin page changes.
2006-09-13 16:16:39 +00:00
urs_hunkler
80f7ef6fe9
Merged from 1.6. See bug MDL-6028
2006-09-13 15:23:50 +00:00
tjhunt
404518eb85
Fix ordering problem with question number column headings.
2006-09-13 15:00:58 +00:00
tjhunt
aedf2f0b85
Removing Eclipse .project file that Al committed by mistake.
2006-09-13 14:54:51 +00:00
tjhunt
2ec9591c4b
Fix typo.
2006-09-13 13:25:11 +00:00
tjhunt
43e3febb23
Delete what I assume is a bogus line.
2006-09-13 13:25:00 +00:00
thompson697
163ff97e84
Complete work on Roll Forwards - Restore from previous semester (MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
2006-09-13 13:19:39 +00:00
moodler
ea82d6b638
CHanged a lot of CFG->debug stuff to use the new debuggin() function
2006-09-13 09:45:07 +00:00
thompson697
c3b307b777
Initial work on Roll Forwards - Restore from previous semester (ongoing MDL-5532)
...
* Add fields to restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
2006-09-13 09:40:55 +00:00
moodler
ee437bbc2a
The debug variable is now much more flexible
2006-09-13 09:22:16 +00:00
toyomoyo
17d6a25e5c
adding capabilitiies
2006-09-13 09:08:14 +00:00
moodler
bd963c1c7e
Fixed up debugging() function so it's more useful.
2006-09-13 08:53:19 +00:00
moodler
4b743adbc3
Deleted the moodle_error_handler after reading the docs more.
...
it's not really as useful as I thought it might be
2006-09-13 08:41:12 +00:00
moodler
e6c5492368
Added a simple moodle_error_hendler function I'm playing with
2006-09-13 08:23:30 +00:00
moodler
d6cc763f73
Added forum_role_assign and forum_role_unassign
2006-09-13 08:11:34 +00:00
moodler
3d1885af1e
Added some checking that should not be necessary but I had notices in one extreme situation
2006-09-13 08:09:18 +00:00
moodler
0f161e1fee
role_assign() and role_unassign() now call these hooks in each module:
...
xxx_role_assign()
xxx_role_unassign()
so that modules can do stuff they might need to do (eg subscriptions etc)
2006-09-13 08:07:14 +00:00
moodler
e82dc9bb41
Tidy-ups for user profile page
2006-09-13 06:56:25 +00:00
moodler
761a15574c
Fixed up this script so that self-unenrolment works as expected
2006-09-13 06:41:58 +00:00
moodler
8d630fda5a
Expanded forum_add_user_default_subscriptions() for more contexts
...
Added forum_remove_user_subscriptions()
2006-09-13 06:40:30 +00:00
moodler
d74067e8e7
1) Fixed API of require_capability() so it matches has_capability()
...
2) Extended role_unassign to clean up forum subscriptions etc as well
2006-09-13 06:35:25 +00:00
toyomoyo
be2e1b6698
removing debug statement
2006-09-13 06:13:53 +00:00
toyomoyo
cbf0446d8a
use user_lastaccess table to find inactive time instead of user_students table
2006-09-13 06:13:07 +00:00
moodler
94fb6d1d62
fixing a problem where a user hasn't got any entries on the user_lastaccess table, temp solution as this could break other db
2006-09-13 05:55:57 +00:00
moodler
050c78c41d
Missed some $COURSE conversion
2006-09-13 05:33:09 +00:00
moodler
cb80265b21
Tidying add_to_log slghtly
2006-09-13 05:31:12 +00:00
toyomoyo
8ca1053a45
changed to outer join as user_lastaccess table could contain null
2006-09-13 05:29:26 +00:00
moodler
7da0af9feb
Fixed some obvious typos
2006-09-13 05:05:17 +00:00
moodler
040e8fd8b8
Removed duplicate defines
2006-09-13 04:13:50 +00:00
moodler
9103fd10f8
Use $COURSE and not the $course hack
2006-09-13 04:11:36 +00:00
vyshane
29ac3cc28d
Capability tweaks for rss_client block
2006-09-13 04:10:41 +00:00
vyshane
73b73d2101
More capabilities tweaks
2006-09-13 04:09:31 +00:00
vyshane
48f6bcddd2
Fix for blocks capability updates. Somehow missed this commit last night.
2006-09-13 04:08:58 +00:00
mark-nielsen
fa9234e0e0
New strings (added a missing one); made the essay email string much more sane
2006-09-13 04:03:45 +00:00
vyshane
0c4d9f492e
moodle/site:manageblocks tweak
2006-09-13 03:56:38 +00:00
mark-nielsen
260a56b114
Added some more stats to reports, added more actions to collapsed view and increased speed of lesson by using lesson_set_message() and redirects with 0 second delays.
2006-09-13 03:42:16 +00:00
vyshane
1975d8bd3e
Added $USER->id in rss_display_feeds() call
2006-09-13 03:02:57 +00:00
vyshane
7d02b43640
Fixed typo
2006-09-13 02:59:20 +00:00
stronk7
f0b50bbe89
Now the "AFTER" clause is supported by add_field()
2006-09-12 22:58:04 +00:00
stronk7
48c2be79be
Now we support to use the previous attribute in fields declaration
2006-09-12 22:56:52 +00:00
stronk7
f521d32b71
Two new functions added: add_field() and drop_field()
2006-09-12 22:23:00 +00:00
stronk7
12bda5832f
Two more tests added: add_field() and drop_field()
2006-09-12 22:21:51 +00:00
stronk7
0bd921db9e
Added support for add_field and drop_field
2006-09-12 22:20:50 +00:00
stronk7
0dd87cfa7a
Delete one trailing comma
2006-09-12 22:15:44 +00:00
stronk7
3ab2610037
Added functions to retrieve the proper add and drop field SQL.
2006-09-12 22:15:00 +00:00
stronk7
d256743c5b
When dropping columns, look for check constraints and drop them too.
2006-09-12 22:13:45 +00:00
stronk7
ec68af222e
Ops, forgot to delete some debug... :-/
2006-09-12 21:30:13 +00:00
stronk7
2a02841762
MSSQL needs to drop the default constraint before being able to drop the column
2006-09-12 21:24:03 +00:00
skodak
c15f680424
partially fixed group management in workshop
2006-09-12 21:09:43 +00:00
skodak
33e7885ee0
fixed group management in wiki
2006-09-12 21:07:54 +00:00
skodak
3fde1a3d2f
groups assignment now works with assigned roles instead of user_students and user_teachers
2006-09-12 20:55:58 +00:00
skodak
bc202f4390
fixed harcoded string "Select a Role"
2006-09-12 20:54:21 +00:00
skodak
be382aafb3
get_component_string() now works for all enrollment plugins MDL-6522
2006-09-12 20:03:08 +00:00
skodak
69eb59f28a
Changed sort order in Role definition page MDL-6522
2006-09-12 19:54:33 +00:00
stronk7
3be91b01b6
Added support for add_field, drop_field and rename_field PHP code generation.
2006-09-12 17:45:25 +00:00
stronk7
cb78437d64
Changed some PHP comments.
2006-09-12 17:41:22 +00:00
stronk7
88bf021308
Fixed buggy condition. Now defaults are properly calculated by getPHP()
2006-09-12 16:45:46 +00:00
stronk7
9a96282f2c
Added rss_client->shared
2006-09-12 15:24:41 +00:00
stronk7
8b9b510961
adding the user_lastaccess table
2006-09-12 15:19:10 +00:00
tjhunt
3542314884
Update help file to match the changes in the code and on Moodle docs I made some time ago.
2006-09-12 14:33:38 +00:00
moodler
32b9a98349
Fixed a bug that must have been there for a while, so that guest icons work again
2006-09-12 14:02:15 +00:00
moodler
1845f8b80e
Revamped require_login() function to handle roles better.
2006-09-12 09:31:23 +00:00
moodler
e4d81c60a9
Tidying up a bit
2006-09-12 09:30:05 +00:00
moodler
b1ce7811ad
Fixed MDL-6479 by adding two block columns on admin pages.
...
Also we now hide the blocks and headers completely until $SITE is properly
defined.
2006-09-12 09:22:27 +00:00
toyomoyo
ae9e4c064e
replacing iscreator() calls with capabilty
2006-09-12 08:56:10 +00:00
moodler
ecf22ff31c
DOn't show "Add" links if you can't use them
2006-09-12 08:28:36 +00:00
vyshane
f7cf2f8efd
Fixed bug preventing capability upgrades for blocks. Typo :(
2006-09-12 08:25:03 +00:00
moodler
0f9602085b
Small bump for guest role fix
2006-09-12 08:22:14 +00:00
moodler
0ad8c7850d
Reload default guest
2006-09-12 08:17:33 +00:00
moodler
b0f5523038
Missed one capability for guests
2006-09-12 08:15:07 +00:00
toyomoyo
dfe603583e
changed code to use the user_lastaccess table instead of the user table
2006-09-12 07:39:25 +00:00
toyomoyo
174526f4f1
changed code to use the new user_lastaccess table instead of the log table
2006-09-12 07:38:46 +00:00
toyomoyo
87e5a0cd9e
changed code to use get_role_users function
2006-09-12 07:38:07 +00:00
toyomoyo
ab5c904411
added function get_role_users - returns all users assigned this role in this context (or higher) not very useful for participants list because of the count and paging. Could possibly expand it
2006-09-12 07:37:23 +00:00
moodler
8d158ed44f
Reload the guest role using new defaults
2006-09-12 07:10:49 +00:00
moodler
2e85fffeb1
FIxed some typos and other logic related to assign_capabilities
2006-09-12 07:07:30 +00:00
vyshane
93b7e8d3a7
Fake constructor for PHP5
2006-09-12 06:58:42 +00:00
vyshane
23973f1856
Modified to support Roles.
2006-09-12 06:57:05 +00:00
vyshane
6c052a02f9
Added lang string
2006-09-12 06:55:40 +00:00
moodler
e7876c1e34
Added new load_guest_role() for guest access, and made assign_capability()
...
smarter about pre-existing capabilities (new param allows overwriting or not)
2006-09-12 06:15:33 +00:00
toyomoyo
b277dd0a53
adding new table for keeping track of user's last access time for any course page
2006-09-12 06:08:57 +00:00
moodler
00adf177ad
Changed some default permissions for the guest role
2006-09-12 05:58:42 +00:00
moodler
22ef89f1d7
Automatic installer.php lang files by installer_builder (20060912)
2006-09-12 02:46:13 +00:00
stronk7
05483f7367
And one more string...
2006-09-11 22:08:26 +00:00
stronk7
eafc2b70e8
Some more improvements. Not finished yet.
2006-09-11 22:06:35 +00:00
koenr
550015cdac
updating index files MDL-3484
...
More work to be done. Checked upto cost.html
2006-09-11 21:52:57 +00:00
skodak
244368e643
fixed default values and types of requested teacher and student strings
2006-09-11 21:24:57 +00:00
skodak
8dcc447689
fixed funny continue button during installation
2006-09-11 21:20:47 +00:00
koenr
30cef24b15
updating index files MDL-3484
2006-09-11 21:14:12 +00:00
skodak
6ec7ca0f07
fixed handling of selected language in installer; fixed selection of session language
2006-09-11 20:41:49 +00:00
koenr
4cf65d091c
updating index files MDL-3484
2006-09-11 20:21:54 +00:00
skodak
2b156ffbf3
old admin block not added into frontpage during installation anymore, it is not removed during upgrade.
2006-09-11 20:05:31 +00:00
skodak
4da8ff666b
wiki now using new groups parameter in get_users_by_capability()
2006-09-11 20:01:17 +00:00
skodak
5f02cb4b44
lams conversion to new roles framework
2006-09-11 19:54:11 +00:00
skodak
55f3a4db69
removed useless "changes saved" messages from redirects in administration and user management
2006-09-11 18:56:41 +00:00
stronk7
5f7053955a
Some new strings to display PHP code.
2006-09-11 15:51:13 +00:00
stronk7
a05452e942
teachergraded belongs to workshop_assessments, not to workshop. ;-)
2006-09-11 15:38:51 +00:00
stronk7
c8e4134bc9
teachergraded belongs to workshop_assessments,
...
not to workshop_submissions ;-)
2006-09-11 15:33:51 +00:00
stronk7
c5a6ae177a
Initial verion. Not working yep but I needed to send it now.
2006-09-11 13:15:36 +00:00
nfreear
8ea144bf77
Fixes MDL-6516, "Error on logs page because of mess in mdl_log_display table"
2006-09-11 11:40:43 +00:00
toyomoyo
1c45e42e3c
adding capabilities
2006-09-11 08:56:23 +00:00
moodler
25b0fd8ec8
New tags
2006-09-11 08:42:55 +00:00
moodler
9e7f597e49
Updated some docs
2006-09-11 08:25:49 +00:00
moodler
8350325842
Some missing strings I forgot to check in
2006-09-11 08:24:40 +00:00
moodler
bcf0138ded
Automatic installer.php lang files by installer_builder (20060911)
2006-09-11 08:09:58 +00:00
toyomoyo
39b3e7dedf
adding capaility, fixing indenting and logic (could have broken things)
2006-09-11 07:17:10 +00:00
moodler
4ae6d4115f
New hook for Moodle 1.7 enrolment plugins
2006-09-11 07:09:41 +00:00
skodak
3435f39bab
validate local redirection actions in jumpto.php SC#310
2006-09-11 06:47:38 +00:00
vinkmar
c235598d6a
Added feature from MDL-6439. A validate method is now supported for admin_configtext objects, and paramtype can now be a regex to validate against.
2006-09-11 05:06:38 +00:00
vyshane
6e89ca5527
Fix for MDL-6405
2006-09-11 03:13:52 +00:00
mark-nielsen
831f6613a8
Very minor changes
2006-09-10 22:50:43 +00:00
mark-nielsen
68a1e8fbba
Started to rework the overall page editing interface for teachers.
2006-09-10 22:47:57 +00:00
mark-nielsen
82c57929b0
Added lang entries for Collapsed editing
2006-09-10 22:40:41 +00:00
skodak
451d82c840
move newly created admin_tree block to the left column during upgrade from 1.6
2006-09-10 22:11:46 +00:00
skodak
d541baa141
fixed courseid typo
2006-09-10 22:01:39 +00:00
koenr
30b73673ba
typo
2006-09-10 21:11:57 +00:00
koenr
a79bc11152
updating index files MDL-3484
2006-09-10 21:11:43 +00:00
skodak
aa893d6b76
fixed several bogus errors and warnings during installation and upgrades, forced logout when upgrading from 1.6
2006-09-10 21:10:48 +00:00
stronk7
2ebd596764
Avoid one minor error when tables hasn't comments to be defined.
2006-09-10 21:05:55 +00:00
skodak
e46c09873a
fixed warning during initial install when creating admin roles
2006-09-10 20:29:44 +00:00
skodak
ee3cc9951c
basic conversion of old wiki to new roles framework
2006-09-10 19:44:28 +00:00
mark-nielsen
07642aef3e
Minor changes
2006-09-10 19:09:25 +00:00
stronk7
a84634a1d4
improved display of errors...
2006-09-10 18:53:47 +00:00
mark-nielsen
8f2f1d4761
Fixed display bug for branch tables and moved message setting to the bottom of continue.php to prevent double message setting when a redirect is called.
2006-09-10 18:50:59 +00:00
stronk7
7ac75a8f61
tests are tests
2006-09-10 18:43:51 +00:00
stronk7
091789788f
Linking to the tests from the main page.
2006-09-10 18:42:23 +00:00
mark-nielsen
c94d37997d
Removed action set to navigation because view.php no longer uses action
2006-09-10 18:41:38 +00:00
stronk7
f4bb0ad8f7
Adding support for tests of DDL statements within the XMLDBEditor
2006-09-10 18:41:34 +00:00
stronk7
83a78d9d17
PHPDoc update.
2006-09-10 18:37:57 +00:00
stronk7
b8359f7965
Adding options for continue and feedback to all the DDL functions.
2006-09-10 18:36:50 +00:00
mark-nielsen
5631925a26
Started to separate out logic and presentation in view.php. Decided to wrap the question printing with HTML templates (viewstart.html and viewend.html)
...
Still needs a lot of work
2006-09-10 18:19:29 +00:00
skodak
fefea008bc
fixed errors when switching dbsessions from amin gui
2006-09-10 11:15:31 +00:00
skodak
b6508d6344
fixed proper redirection url in login - missing trailing slash for directory
2006-09-10 11:04:17 +00:00
moodler
613bbd7c2b
Moving deprecated functions out of datalib.php
...
Many of these still need updating to remove all dependence on user_xxx tables
2006-09-10 07:07:52 +00:00
gbateson
c73eb55dcc
correct formatting of "Show Legend" -> "No" and added missing <p> in "Encoding" explanation
2006-09-10 05:34:02 +00:00
gbateson
ce33e12da1
remove reportselector.html as it was unused and has been replaced by reportcontent.html and reportformat.html
2006-09-10 05:29:24 +00:00
mark-nielsen
a4452c8a14
Added better lang strings for output in view.php
2006-09-10 04:35:12 +00:00
mark-nielsen
fb992d716a
Started to reorganize view.php
2006-09-10 02:38:09 +00:00
mark-nielsen
15f3d44ae7
Moved teacherview (lesson editing) out of view.php into edit.php
...
No code improvements in edit.php as of now. Just works ;)
2006-09-10 02:09:14 +00:00
mark-nielsen
9695a91e2f
Fixed sesskey problem
2006-09-10 01:43:24 +00:00
mark-nielsen
8d1b4ee7b5
Added proper page comments and inform user when attempts have been deleted
2006-09-10 01:40:38 +00:00
mark-nielsen
d2d7f39064
Added page comment and lang entry for reports.php
2006-09-10 01:37:50 +00:00
mark-nielsen
35b179fa73
Updated to use new handy library functions
2006-09-10 01:30:57 +00:00
mark-nielsen
d1b025d013
Moved high scores logic out of view.php into highscores.php
...
Changed: now need to enter password on password protected lessons before being able to view high scores
Added logs to high scores and reworked logic
2006-09-10 01:20:00 +00:00
mark-nielsen
8def4a4ea2
Changed some lang entries for high scores feature
2006-09-10 01:17:30 +00:00
mark-nielsen
09e3b9d7eb
Fixed some formatting when clock is not displayed
...
Messages are now printed out on continue.php
2006-09-09 22:33:34 +00:00
mark-nielsen
2163c22634
Forgot the lesson_ prefix
2006-09-09 22:23:50 +00:00
mark-nielsen
2cb24b647c
Improved clock output and works when javascript is disabled
2006-09-09 22:20:51 +00:00
mark-nielsen
259990d2c6
Lesson buttons should now work with javascript disabled
...
Also improved the layout of action/continue.html
2006-09-09 21:39:11 +00:00
stronk7
d6745c7087
Now we are using the new sql_order_by_text() function
...
when we need to be able to order by TEXT columns in a
cross-db behaviour. More info:
http://docs.moodle.org/en/XMLDB_Problems#ORDER_BY_text_columns
2006-09-09 13:53:52 +00:00
stronk7
5f45d2ae80
New function sql_order_by_text() to automatically build
...
custom expresions to being used in ORDER BY clauses with
TEXT columns.
2006-09-09 13:51:40 +00:00
mark-nielsen
3466ae4f14
Cleaned up output to user. Still needs a lot of work.
2006-09-09 02:10:40 +00:00
mark-nielsen
f15eb92c2c
Removed essay grading code from view.php into essay.php.
2006-09-09 01:58:48 +00:00
mark-nielsen
e6bfc97018
Added a few lang entries and modified one or two
2006-09-09 01:55:57 +00:00
mark-nielsen
6e1ff5c8fb
MDL-6477: Added roles support.
...
Also added lesson_set_message() and lesson_print_message() to locallib.php
Also fixed problem in continue.html with not printing nextpageid
2006-09-08 23:17:18 +00:00
stronk7
ccfc5ecca1
Only send contexts to cache if the aren't empty. At initial installations
...
some empty contexts were being cached and used later, causing insertion
of null values to every DB but MySQL.
2006-09-08 19:28:03 +00:00
skodak
a13d2157f4
fixed wrong placement of comma
2006-09-08 15:53:24 +00:00
skodak
cbba1191ed
fixed typo - trailing backslash
2006-09-08 15:51:11 +00:00
thepurpleblob
04d677f2e9
Merged from STABLE
2006-09-08 10:27:48 +00:00
toyomoyo
51792df056
adding capabilities
2006-09-08 08:46:26 +00:00
vyshane
46943f7b78
Seems that the unassign_capability function signature was changed without updating the call to that function in capabilities_cleanup(). Fixed.
2006-09-08 02:33:02 +00:00
mchampan
0d46c846da
Fixed couple bugs in query, and improved logic of querylib.
2006-09-08 01:18:48 +00:00
stronk7
3a27bb0575
Modify a bunch of INSERTs to avoid using empty fields
...
to allow Oracle to avoid the NULLs = empty problem.
2006-09-07 23:50:47 +00:00
stronk7
e20d180c11
DIRTY HACK to convert back all the ' ' (1 space) field contents
...
back to '' (empty string) in order to allow Oracle to work, more
or less until all the not real NOT NULL DEFAULT '' fields were out!
TODO: Apply the same hack to some more functions...
2006-09-07 23:48:48 +00:00
stronk7
42ac3ecffc
Solving one string concatenation typo (please, test it's ok) and
...
stripping the AS keyword from table aliases. You cand find more at:
http://docs.moodle.org/en/XMLDB_Problems#Table_and_column_aliases_-_the_AS_keyword
2006-09-07 20:17:46 +00:00
skodak
42d6be31d1
double redirect prevention - if both 'meta http-equiv' and javascript redirects are used, javascript delay is 3 seconds longer to prevent accidental double redirects. The target page can still be loaded twice in case user clicks the link before the target page gets fully loaded.
2006-09-07 19:40:57 +00:00
skodak
5d3e0e837a
removed redirect message, because it was sometimes breaking upgrades due to double redirects
2006-09-07 19:18:48 +00:00
stronk7
3a8c55c3fb
Typos + drop table fully supported.
2006-09-07 18:39:43 +00:00
stronk7
8830218f53
Initial support for DROP TABLE adedd.
2006-09-07 17:28:46 +00:00
stronk7
8bb7147620
If one course, hasn't teaches, both under roles and no-roles
...
installations, default to admin language.
2006-09-07 17:25:06 +00:00
vinkmar
0f4a73b0dd
Fixed bug (sectionname mismatch) similar to MDL-6475
2006-09-07 16:15:35 +00:00
moodler
26f9c81507
Fixed a typo (thanks Eclipse)
2006-09-07 15:46:48 +00:00
vinkmar
502871b479
Fixed MDL-6475.
2006-09-07 14:53:07 +00:00
nfreear
22a3b7ccef
Fixes bug MDL-6478 "Unit tests (not) working.."
2006-09-07 09:11:55 +00:00
toyomoyo
ec7a8b7999
adding capabilities
2006-09-07 08:57:56 +00:00
moodler
f43ce1ad1d
Added moodle/role:unassignself which replaces $CFG->allowunenroll
2006-09-07 08:35:30 +00:00
stronk7
05a43ba36c
Initial RenameTable caller to generators. Not ended by I needed it in CVS now.
2006-09-06 23:05:12 +00:00
stronk7
d05babe913
Initial, unfinished, not working, simple version of rename_table generator.
...
More coming soon, but I needed it in CVS now!
2006-09-06 23:04:13 +00:00
stronk7
386c23c9da
PHP code for dropping and renaming tables added. Note that the DDL
...
functions doesn't exist yet. ;-)
2006-09-06 22:34:09 +00:00
stronk7
3ab430fbc5
The XMLDBEditor is generating automatic PHP code for create_table
2006-09-06 19:49:13 +00:00
stronk7
aed4e52713
Now indexes are able to return their PHP specs.
2006-09-06 19:47:50 +00:00
stronk7
989a41af6f
Now keys are able to return their PHP specs.
2006-09-06 19:43:38 +00:00
stronk7
7b31a94e08
Now fields are able to return their PHP specs.
2006-09-06 19:31:03 +00:00
ethem
6cf30eae96
all static functions in enrolment_plugin_authorize moved to localfuncs.php. So, no need enrol.php.
2006-09-06 15:39:32 +00:00
stronk7
428aa337b8
Disable regexp searches for MSSQL and Oracle
2006-09-06 15:30:11 +00:00
stronk7
8289a52ff0
Now forum searches are working both under MSSQL and Oracle
...
(in a case-sensitive behaviour for Oracle, see code comments and
http://docs.moodle.org/en/XMLDB_Problems#Case-insensitive_searches )
2006-09-06 15:29:26 +00:00
skodak
43149d3a9f
fixed description of configprotectusernames
2006-09-06 11:36:00 +00:00
skodak
e91f3c2d6b
fixed missing if (!
2006-09-06 10:15:05 +00:00
skodak
6a5a62b096
allow less verbose operation of forget_password.php SC#282
2006-09-06 10:11:24 +00:00
toyomoyo
d02eededf7
adding capabilities
2006-09-06 08:55:23 +00:00
vyshane
180f410694
Merged fix for bug MDL-5866.
2006-09-06 08:54:56 +00:00
skodak
6b9a1fec8f
initial conversion of workshop to new roles and capabilities framework; groups are not functional yet (did they ever work properly ?)
2006-09-06 08:41:47 +00:00
moodler
b649a19e20
Some tidying up of admin blocks
2006-09-06 05:24:35 +00:00
mark-nielsen
c5a2e12f08
Added $Id$ to files
...
Header is not printed for all actions. Related to MDL-5403
Some redundant code removed
First attempt at separating logic and presentation in action continue (continue.html)
2006-09-06 04:04:42 +00:00
mark-nielsen
9fcf51d9bf
Added function for printing a standard header for lesson
...
Added function for fetching course module, course and lesson based on course module id or lesson id
2006-09-06 04:02:02 +00:00
vinkmar
7683a0377d
removed pause during redirect when there are no new settings
2006-09-06 02:36:38 +00:00
vinkmar
8f89a26c21
* removed hard-coded language strings (MDL-6448)
...
* replaced some remaining tabs with spaces
2006-09-06 02:23:23 +00:00
vinkmar
7f35bd73b4
removed hard-coded language strings (MDL-6448)
2006-09-06 02:20:16 +00:00
vinkmar
dad4a3ff0b
added strings for MDL-6448
2006-09-06 02:18:51 +00:00
moodler
6d0bd10c0a
A temporary icon for roles (needs work!)
2006-09-06 02:16:48 +00:00
toyomoyo
26663a2386
replacing isteacher with viewfullname capability
2006-09-06 02:14:20 +00:00
moodler
d4649c76cc
Removed some tabs
2006-09-06 01:43:54 +00:00
skodak
c3768dfc70
testing forced conversion to proper numeric type in _adodb_column_sql() SC#259
2006-09-05 23:59:25 +00:00
stronk7
9eabd190c1
Now forum_get_discussions() is using $limitfrom and $limitnum
2006-09-05 22:37:56 +00:00
skodak
c5836b7814
fixed typo
2006-09-05 22:34:25 +00:00
stronk7
b66458257d
Adding support for MSSQL and Oracle in this select. Not really sure why we need one OUTER
...
join there, if every discussion has one usermodified but.....not time now.
2006-09-05 22:31:13 +00:00
stronk7
3c4f35e645
Mark as deprecated the sql_paging_limit_function()
2006-09-05 21:42:20 +00:00
stronk7
93a89227fd
One less use of old LIMIT clause. Now logs are working properly.
2006-09-05 21:40:17 +00:00
skodak
dbe7e58274
I spent 2 hours looking for this typo :-D
2006-09-05 20:45:57 +00:00
stronk7
5de6e614d4
No need to specify DISTINCT because u.* guarantees unique ids.
...
Also, DISTINCT clauses cannot be used with TEXT/BINARY columns
on MSSQL and Oracle.
2006-09-05 19:04:33 +00:00
stronk7
405bc45cf6
No need to specify DISTINCT because u.* guaranties distinct by id.
2006-09-05 19:01:41 +00:00
stronk7
270643ca72
Modified get_users_by_capability() call to use the new limit
...
parameters and cleanup a bit of code.
2006-09-05 18:57:37 +00:00
stronk7
0441764040
Changed the get_users_by_capability() function to work with
...
1.7 DB compatible limit sentences.
2006-09-05 18:55:16 +00:00
stronk7
3c242a66f5
Now get_records_sql() supports limitfrom and limitnum.
...
Required to kill all those hardcoded LIMIT x,y clauses.
2006-09-05 18:53:08 +00:00
stronk7
e4697bf7dc
Both Oracle and MSSQL don't like double quotes for literals.
2006-09-05 18:06:53 +00:00
stronk7
bc942ab58a
Added support to retrofit tables without prefix
2006-09-05 17:55:59 +00:00
stronk7
415280bfc3
Added the adodb_logsql table to the XMLDB schema. It's a bit
...
exceptional because it hasn't prefix and originaly it hasn't
any PK, although we have added it here to be more Moodle-like.
Tested and seems to work properly with the new field.
2006-09-05 17:20:24 +00:00
stronk7
2e2a396ca3
Added to the generators the ability of prevent adding prefix for some tables.
...
(needed by adodb_logsql)
2006-09-05 17:17:49 +00:00
stronk7
88ab6ab46b
Deleted duplicate table label2 from XMLDB schema
2006-09-05 16:09:15 +00:00
stronk7
ea7f147ef5
Now the sessions2 table is UTF8 migrated ok.
2006-09-05 16:04:50 +00:00
moodler
957861f785
Better robustness and basic checking for get_parent_contexts
2006-09-05 09:30:40 +00:00
moodler
43c5b272af
New string for blocks
2006-09-05 09:16:19 +00:00
moodler
dbed4286da
Cleaned up headers when editing roles for blocks
2006-09-05 09:15:52 +00:00
toyomoyo
3924b9884b
adding capabilities
2006-09-05 08:50:23 +00:00
skodak
e778a40617
minor include cleanup
2006-09-05 08:27:14 +00:00
moodler
91be52d78e
Get the block name correctly
2006-09-05 06:30:12 +00:00
moodler
ccbdfdc720
Just changed the order around a bit
2006-09-05 06:13:53 +00:00
moodler
2244c22d72
Use the new config variable as a default for paging
2006-09-05 06:11:48 +00:00
moodler
42093cca5c
Added coursesperpage so paging can be controlled
2006-09-05 03:28:25 +00:00
moodler
61647ccb92
Use the defaultsetting if the variable isn't set yet
2006-09-05 03:27:08 +00:00
moodler
75e8eaebe7
Merged MDL-6431 into HEAD
2006-09-05 03:15:09 +00:00
vyshane
4729012f4c
Fixed warning
2006-09-05 03:07:56 +00:00
cap2501
c572cc4dc6
updates to accommodate changes to commands.php
2006-09-05 00:50:08 +00:00
cap2501
5be392bd10
Updated so nothing in the database is being manipulated directly except for the block position. look into moving this functionality into the blocks_execute_action.
2006-09-05 00:47:47 +00:00
stronk7
ccda38e521
Don't use db_lowercase() anymore.
2006-09-04 22:45:12 +00:00
stronk7
6b4b356f82
Using the standard sql_as() function, although it could be not used.
2006-09-04 22:42:56 +00:00
stronk7
95f610334e
Mark two functions as deprecated because that's standard now.
2006-09-04 22:40:42 +00:00
stronk7
fda5418401
$CFG required.
2006-09-04 22:30:56 +00:00
stronk7
010f2a3977
Typo! :-(
2006-09-04 22:17:28 +00:00
stronk7
bf05229983
MSSQL only runs under UTF8 (with the correct ODBTP driver, of course)
2006-09-04 22:16:30 +00:00
stronk7
94ef00f3bb
MSSQL and Oracle don't want DISTINCT clauses over TEXT/BINARY fields.
...
In this case, we simply delete it because SELECT g.* guarantees unique
records to be retrieved by the first field.
2006-09-04 22:05:58 +00:00
vinkmar
8f5c4adbd7
Changed so that the settingpage titles are shown (see MDL-6402)
2006-09-04 21:38:23 +00:00
stronk7
fea43a7f51
Casting $course->modinfo to string prevents one notice to
...
be showed when it's null, returning false as desired.
2006-09-04 21:12:37 +00:00
stronk7
0703d22ede
One less reserved word. glossary->comment is out!
2006-09-04 20:37:27 +00:00
skodak
4b83ec33fe
merging collisions cleanup
2006-09-04 20:32:59 +00:00
stronk7
d0d5525d93
Included course/lib.php to be able to rebuild_course_cache()
...
It was working until some time ago, but now it's required.
2006-09-04 19:33:27 +00:00
stronk7
71db9136fb
Now the temp backup directory is properly created/cleaned
...
and indexes info are properly stored there.
2006-09-04 19:27:53 +00:00
ethem
9456e4b7be
*** empty log message ***
2006-09-04 12:31:54 +00:00
ethem
b4efae98b4
New strings for echecks.
2006-09-04 12:25:21 +00:00
ethem
131a7ca81b
New config: Echeck bank account types enabled.
2006-09-04 12:09:30 +00:00
ethem
4d072568c0
New string: adminaccepts; Select payment methods allowed and their types
2006-09-04 12:09:25 +00:00
ethem
460635599a
Autoconfigure accepted echeck bank account types. CHECKING, BUSINESSCHECKING, SAVINGS
2006-09-04 09:44:00 +00:00
toyomoyo
cc398c7262
adding caapabilities
2006-09-04 08:45:08 +00:00
moodler
6ea5ff3ab7
Make Moodle Docs work for settings pages
2006-09-04 08:33:57 +00:00
moodler
c2da075758
Further reductions in logic to deprectaed functions
2006-09-04 08:31:07 +00:00
vyshane
1795175972
Re-worded comment to make more sense
2006-09-04 08:19:23 +00:00
moodler
dd46fc5daa
Just some small doc changes
2006-09-04 08:15:48 +00:00
vyshane
b331040e9e
TCPDF pdf library
2006-09-04 08:11:37 +00:00
vyshane
713b20faae
Wrapper class with modifications to TCPDF for Moodle usage.
2006-09-04 08:10:08 +00:00
skodak
6d574c33b4
fixed missing global $USER
2006-09-04 08:01:57 +00:00
ethem
039edfab07
This merchant accepts eCheck (ACH) transactions only; no credit card transactions are accepted.
2006-09-04 07:51:15 +00:00
ethem
f1b31fb517
Allow all payment methods as default: AN_METHOD_CC, AN_METHOD_ECHECK
...
authorizenetlib.php autoconfigures payment method as AN_METHOD_CC if the merchant doesn't accept AN_METHOD_ECHECK. First real echeck transaction is enough for this.
2006-09-04 07:33:11 +00:00
ethem
07c48fcff6
Error message isn't shown when user clicked button without key if course key is set.
2006-09-04 07:09:44 +00:00
toyomoyo
2acc290c17
legacy functions to use 4th parameter to by pass doanything capability
2006-09-04 04:50:12 +00:00
moodler
be7ed5f8a8
Merged confirmation email fix from stable
2006-09-04 02:30:52 +00:00
stronk7
dcb8916f2d
notice() should be allowed at install/upgrade. It stops the whole
...
process without need to do it. Changed to notify().
Thanks to one "orphan" forum in moodle.org (234) we detected this.
2006-09-03 22:32:14 +00:00
stronk7
446a78cd4a
notice() should be allowed at install/upgrade. It stops the whole
...
process without need to do it. Changed to notify()
2006-09-03 22:30:13 +00:00
stronk7
56b4d70d58
typo ;-)
2006-09-03 21:43:37 +00:00
stronk7
afc36fdf2e
Patch submitted by Ethem:
...
Error message isn't shown when user clicked without key.
Multienrol is enabled (course enrol key with authorize)
This patch allows showing error message when user clicked button without key.
2006-09-03 20:16:24 +00:00
stronk7
71c143f41e
The custom function to convert the user table hasn't to drop/create indexes anymore.
...
It's handled automatically by the main utf8 script.
2006-09-03 19:20:01 +00:00
stronk7
763989c0d6
Now, the UTF8 migration doesn't rely one indexes specified in the .xml files. Instead,
...
for each table, it fetches all the existing indexes from db, drop them all and, after
utf-8 conversion, rebuilds them.
With this, all the indexes will be exactly the same than the original present in DB, no matter
of their names nor anything else.
So, starting now, to provide a sucessful UTF8 migration we only have to keep updated the
fields .xml info. Bye, bye indexes info.
2006-09-03 19:18:00 +00:00
skodak
15ad37459a
fixed language string
2006-09-03 19:13:53 +00:00
skodak
64c4f9c443
minor fix
2006-09-03 18:53:07 +00:00
skodak
08c15b68d7
removed useless includes
2006-09-03 18:49:13 +00:00
skodak
b1631fef28
add admin_tree to front page during install and upgrade
2006-09-03 18:37:41 +00:00
stronk7
4762bff7a3
Added the feedback attribute to the execute_sql_arr() function.
2006-09-03 17:56:34 +00:00
skodak
e9a207595c
allow deleting of block when original code not present
2006-09-03 17:46:27 +00:00
moodler
460a7a6271
Cutting down on the debug notices
2006-09-03 16:31:46 +00:00
moodler
7191a1fa27
Added capability for showing documentation links
2006-09-03 16:26:55 +00:00
moodler
72df7e1ebd
Merging $CFG->disablestatsprocessing from stable
2006-09-03 15:46:21 +00:00
stronk7
de48394039
Prevent NULL fields in 1.7 to become NOT NULL after the UTF-8 migration process.
2006-09-03 15:33:42 +00:00
skodak
f21def1f11
fixed collisions in merges, sorry
2006-09-03 15:21:46 +00:00
moodler
11737b8bfa
Fixed module links to suit new admin/*.php file page names
2006-09-03 15:13:53 +00:00
moodler
1ea1bcb36b
New admin menu files
2006-09-03 14:52:43 +00:00
moodler
de093f77a6
Proper log index.php so that admin pages work correctly
2006-09-03 14:52:23 +00:00
moodler
bee4702d10
Various tidying up of the admin pages.
...
Reports now don't need mod.php but they should include the admin headers/footers.
There are undoubtedly bugs in this but this framework should be more sane
2006-09-03 14:45:57 +00:00
moodler
996a5f8d76
These files still need tidying
2006-09-03 14:43:41 +00:00
skodak
50999a0b94
new admin block fixes and reorganisation - I guess we need something more traditional for now
2006-09-03 13:10:56 +00:00
gustav_delius
b7ef492c41
Take out invalid </tr>. While this makes the html valid some work should still be done on the layout of this.
2006-09-03 12:23:11 +00:00
gustav_delius
5b3df41fd9
The file countries.php does not exist in lang/en, only in lang/en_utf8. Therefore the fallback default in the function get_list_of_countries() should always be en_utf8.
2006-09-03 11:38:45 +00:00
moodler
51df210337
Upgrade_log stuff needed adminlib.php included
2006-09-03 09:00:13 +00:00
moodler
d90f5d7b01
New tags file
2006-09-03 08:56:05 +00:00
moodler
fc8db0e791
Use proper way to get config values :)
2006-09-03 08:48:39 +00:00
moodler
4d2401d524
Removed student view
2006-09-03 08:46:30 +00:00
moodler
dc411d1be0
Fices bug when loading another user's capabilities (it would trash your own)
2006-09-03 08:45:41 +00:00
moodler
d5a0163891
Removed student view completely until a roles-ased replacement can be made
2006-09-03 08:10:51 +00:00
moodler
c4d0753b25
Moving deprecated functions to deprecatedlib.php from moodlelib.php and
...
some cleanups around the place.
Many of the functions in deprecatedlib.php have been rewritten to work with
the new roles and capabilities so that they can still work as well as possible.
2006-09-03 08:10:10 +00:00
moodler
02bd14a7ed
Tidy-ups
2006-09-03 08:03:02 +00:00
moodler
e084b2f98b
Replaced forum_get_user() with forum_add_user_default_subscriptions()
2006-09-03 08:01:48 +00:00
moodler
1911105fa1
Fixed typo
2006-09-03 08:00:03 +00:00
moodler
7700027f40
Improvements to load_notloggedin_role for robustness and clarity.
...
More checking in role_assign and calling of forum_add_user_default_subscriptions
2006-09-03 07:56:40 +00:00
skodak
6eb4f82357
fixed missing return in assign_role()
2006-09-03 07:29:06 +00:00
skodak
7fbd539a18
version bump for db upgrades
2006-09-03 00:00:17 +00:00
skodak
02cc05a708
fixes for new admin blocks
2006-09-02 23:55:56 +00:00
stronk7
623942afff
Allowinng tables to create fields/keys/indexes using the one-pass-setters
2006-09-02 23:52:55 +00:00
stronk7
76fd473623
Added one-pass-setters for fields/keys/indexes.
2006-09-02 23:51:39 +00:00
stronk7
cb62712c6d
Added some used strings
2006-09-02 23:49:02 +00:00
stronk7
4dc4dde9e2
First implementation of the create_table() function. Simple.
2006-09-02 23:48:02 +00:00
stronk7
228d8c20d7
New function execute_sql_arr() to execute arrays of
...
statements, Used by ddllib.php mainly.
2006-09-02 23:46:43 +00:00
stronk7
b0c7d55893
Skeleton of the view_php helper.
2006-09-02 23:44:06 +00:00
stronk7
3430fb2993
Only launch the old upgrade if it exists. It doesn'texist for new DB
...
flavours and modules.
2006-09-02 23:40:13 +00:00
stronk7
ec87d0474f
Don't asume that table and column exist in the migration process.
...
Just to avoid some warnings.
2006-09-02 23:38:16 +00:00
stronk7
1331745826
course_sections->summary and course_sections->sequence can be NULLable (experimenting....)
2006-09-02 22:37:38 +00:00
skodak
4672d9557d
added prune() to admin tree class to prevent errors in applying of backup defaults
2006-09-02 19:30:54 +00:00
skodak
e0f6e99528
fixed frontpagesettings, install is not useing admin/site.php anymore
2006-09-02 15:29:52 +00:00
skodak
a4b473f452
fixed site defaults, reorganized administartion tree - new category legacy for obsoleted settings
2006-09-02 15:05:27 +00:00
ethem
be59e14b9e
Remove +}
...
I like this format:
{
}
not {
}
2006-09-02 15:05:10 +00:00
ethem
134c20fb14
Link to CVV help
2006-09-02 14:28:55 +00:00
ethem
dedc048c92
CVV
2006-09-02 14:26:17 +00:00
ethem
d019150d5b
Link to ABA help
2006-09-02 14:11:54 +00:00
ethem
e44aa47ceb
ABA help
2006-09-02 14:11:51 +00:00
ethem
f6a1084c8b
ABA help
2006-09-02 14:08:31 +00:00
ethem
6ce17f1ff0
Don't show "Notice: Undefined property: paymentmethod"
2006-09-02 13:42:28 +00:00
skodak
e95b2c1c6d
fixed missing }
2006-09-02 13:39:27 +00:00
skodak
6e4dc10f54
deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes
2006-09-02 13:14:57 +00:00
ethem
5b7e05d646
Submit buttons (ccsubmit, echecksubmit) are no longer used. Hidden field paymentmethod is enough for checking forms.
2006-09-02 13:09:21 +00:00
ethem
c8716d80e2
Better handling of forms and configs.
2006-09-02 12:37:01 +00:00
ethem
e3949d06af
Moved all static functions in authorize class to localfuncs.php as normal function.
...
Removed abaval.php and ccval.php, because functions in these files moved to localfuncs.php.
2006-09-02 11:49:02 +00:00
skodak
86a1ba04fd
replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack
2006-09-02 11:44:04 +00:00
skodak
741fee9bb0
more install time fixes for new admin code
2006-09-02 11:26:33 +00:00
skodak
99c8a1004d
fixed defaults for backups during installation
2006-09-02 11:10:10 +00:00
stronk7
803b4eeffe
Now, not null fields are respected by the UTF-8 migration process. Also,
...
for those NULLable fields, if the default was '', convert it to null (i.e.
disable de default).
2006-09-02 10:04:22 +00:00
skodak
35a518c5de
fixed admin defaults, some warnings during install and added trmporary hack to make $CFG->notloggedinroleid work
2006-09-02 10:03:30 +00:00
moodler
73254f625a
Automatic installer.php lang files by installer_builder (20060902)
2006-09-02 02:42:41 +00:00
gbateson
c2e04a5df1
improve detection of PostgreSQL version number
2006-09-01 22:44:07 +00:00
stronk7
681ba47a59
Only mysql and postgresql show the UTF-8 migration message.
2006-09-01 18:41:30 +00:00
stronk7
d32d63b6e0
Now record_exists_sql() uses the cross-db limit implementation.
2006-09-01 18:33:19 +00:00
stronk7
0be16c1d8c
mssql doesn't support aliases nor position numbers in the
...
GROUP BY clause. Just columns and expressions.
2006-09-01 18:24:09 +00:00
stronk7
8351e29517
Introduced one function to calculate the proper "AS"
...
keyword for columns. All DB seems to support it but
PostgreSQL require it!
2006-09-01 17:45:02 +00:00
ethem
d69ce8d4eb
Echecks can not be cancelled.
...
2 actions only for echecks: auth_capture and credit
2006-09-01 17:16:08 +00:00
ethem
0c76d7e375
New string: paymentmethod
2006-09-01 16:43:52 +00:00
stronk7
e9f02dafca
New md5key fields and associated indexes.
...
Now hotpot should be 100% cross-db. Thanks Gordon!
2006-09-01 15:36:49 +00:00
ethem
a2cfb0ec00
FFFFFFFFAAAAAANNNNNNTTTTTAAAAASSSSTTTTTIIIIICCCCC
...
Echeck is ready for usage. I've been buying access into some test courses by echeck. :-)
2006-09-01 15:18:22 +00:00
ethem
0fae43aa7b
+ Don't show AVS message if not applicable.
...
+ Email message that translated instead of english if cc type and payment method will be autoconfigured.
2006-09-01 15:05:36 +00:00
moodler
4dc40740ba
New installer lang files.
2006-09-01 14:30:58 +00:00
bobopinna
773534f4a2
Added multi-attemps support
2006-09-01 10:17:01 +00:00
toyomoyo
20aeb4b8e3
utf8 migrate support for site with roles active, resolved isstudent legacy problem, implemented $CFG->notloggedinroleid
2006-09-01 09:25:34 +00:00
ethem
7222c36bf8
* New strings for Authorize.net eCheck.
...
Authorize.Net provides an exclusive, fully integrated electronic check payment method, eCheck.Net.
Using eCheck.Net, merchants can accept and process payments from consumer and corporate bank accounts
directly from their Web site or through the Authorize.Net Virtual Terminal. By accepting electronic checks,
you expand the payment options available to new and existing customers, enhancing customer loyalty and
potentially increasing sales.
+ Lower Fees - Lower rates than credit cards or PayPal.
+ More Efficient - eCheck.Net does everything online, eliminating the cost and inconvenience of manually
processing paper checks and waiting for checks in the mail.
+ Fully Integrated Solution - No third-party integration required implementing eCheck.Net is easy
for merchants already using the Authorize.Net Payment Gateway.
+ Integrated Reporting - Provides a combined view of all eCheck.Net and credit card payment transactions.
Reconcile payment and billing activity using online reports and statements.
+ Ship Product Sooner - Improved up-front transaction validation that returns the status of transactions faster.
+ Security - Authorize.Net uses the latest 128-bit Secure Socket Layer (SSL) technology for
secure Internet Protocol (IP) transactions.
2006-09-01 09:04:11 +00:00
gbateson
e1af293f5f
fix bug MDL_6419
2006-09-01 08:55:43 +00:00
moodler
9aeeb39286
forum subscriptions use capabilities
2006-09-01 06:56:24 +00:00
moodler
9ebcb4d28e
if role_assign is called by the current user on themselves, then reload
...
the capabilities table
2006-09-01 06:30:01 +00:00
moodler
1dc1f03795
More flexible role_unassign() that allows setting of any combination of arguments
2006-09-01 06:10:45 +00:00
gbateson
a70b3fbb4c
correct the detection of HotPot 2.0 backups (from Moodle 1.5)
2006-09-01 04:24:34 +00:00
gbateson
3044600bf3
add md5key field to end of hotpot_questions and hotpot_strings
2006-09-01 04:20:19 +00:00
gbateson
5048c8d658
fixed typo on line 2
2006-09-01 02:18:41 +00:00
gbateson
1897e3ef95
replace MySQL-only indexes on text fields (hotpot_question.name + hotpot_strings.string) with two new md5key fields (hotpot_question.md5key + hotpot_strings.md5key), which are the MD5 hash of the respective text fields. Microincrement version number to 2006083101
2006-09-01 02:08:39 +00:00
stronk7
5f941d12ab
user->description can be NULLable (experimenting....)
2006-08-31 23:31:36 +00:00
stronk7
9b99c05f10
user->description can be NULLable (experimenting....)
2006-08-31 23:20:47 +00:00
stronk7
6c76032bc1
course_categories->description can be NULLable (experimenting....)
2006-08-31 23:17:23 +00:00
stronk7
1d39207fae
course_categories->description can be NULLable (experimenting....)
2006-08-31 23:04:15 +00:00
stronk7
17c9113752
This condition was preventing new installs sometimes
2006-08-31 22:42:04 +00:00
stronk7
a0abf36ddd
This condition was preventing new installs sometimes.
2006-08-31 22:33:18 +00:00
skodak
441470ff03
fixed problem with applying of default settings during install - choices can not be constructed yet
2006-08-31 22:17:47 +00:00
skodak
dd04ab499e
fixed default values in apply_default_exception_settings(); several values in lib/default.php are wrong, but I guess we do not need to fix them because it as replaced by the new administration framowork ;-)
2006-08-31 21:50:22 +00:00
skodak
3a25fa7286
'prefix' can only be defined in config.php, it can not be changed or stored in database ;-)
2006-08-31 21:15:12 +00:00
rtcn2
9fb0f61a03
missing comma inserted line 752, removed comma from line 753
2006-08-31 19:47:54 +00:00
stronk7
545196c55f
course->modinfo nullable and no default
2006-08-31 19:42:22 +00:00
stronk7
99215f2c6f
modinfo nullable and without default.
2006-08-31 19:39:18 +00:00
ethem
79c63c4415
+ New ENUM field: paymentmethod(cc,echeck);
...
Store in database and when calling authorize_action() pass this method. Hence, removed $method=AN_METHOD_CC from this function.
If a refund will be do, unset($order->paymentmethod); Because this field comes when joining(enrol_authorize)
+ AN_METHOD_CC and AN_METHOD_ECHECK is now lower case, because these fields are stored in database as enum.
Eloy's response:
They are lowercase because we decided to use lowercase identifiers everywhere and enum contents are,
from a DB perspective, identifiers.
Ok, NP. :)) set_config('an_acceptmethods', strtolower($CFG->an_acceptmethods)); solves this.
2006-08-31 18:24:37 +00:00
tjhunt
6459b8fc8d
Give a bit more information to the subclasses.
2006-08-31 16:59:52 +00:00
stronk7
a974b5a4d8
course->modinfo can be NULLable (experimenting....)
2006-08-31 16:59:29 +00:00
tjhunt
d3b92b4ba5
MDL-6418 - Grading of multiple choice questions broken
2006-08-31 16:59:05 +00:00
tjhunt
73d4db845e
New function choose_from_menu_yesno
2006-08-31 16:55:48 +00:00
skodak
2b53194573
fixed riskbitmask problems, sorry :-(
2006-08-31 16:01:41 +00:00
ethem
555759709c
If the method is AN_METHOD_CC submit cclastfour, don't send for ECHECK.
2006-08-31 15:46:53 +00:00
ethem
c024e8c6f2
Fixed fixo.
2006-08-31 15:10:24 +00:00
tjhunt
695d225c6a
Clarified comment.
2006-08-31 11:28:44 +00:00
bobopinna
77bf0c292d
Fixed a typo
2006-08-31 10:37:33 +00:00
bobopinna
0d699c2449
Fixed context selection
2006-08-31 10:29:16 +00:00
skodak
6086e1aab2
removing trustbitmask for now and comment from riskbitmask
2006-08-31 09:20:24 +00:00
thepurpleblob
2bb63d99c2
Fixed syntax error.
2006-08-31 09:17:57 +00:00
toyomoyo
4f83ae95ca
adding capabilities
2006-08-31 08:51:09 +00:00
skodak
be4486da83
capability riskbitmasks and user trustbitmask patch #1 see MDL-6412
2006-08-31 08:36:36 +00:00
bobopinna
2b3447c38a
Added capability support
2006-08-31 08:34:13 +00:00
moodler
86cbff7abd
Clean up for role_assign()
2006-08-31 08:30:28 +00:00
ethem
9f7f87a9a6
If the merchant does not accept ACH (echeck) method, set default payment method as AN_METHOD_CC.
2006-08-31 08:06:19 +00:00
moodler
f44152f44c
Added "enrol" parameter to role_assign which records how this assignment
...
was made
2006-08-31 07:58:53 +00:00
skodak
eb744c5ef7
redirect() now always respects delay 0 if specified + some minor changes
2006-08-31 07:45:58 +00:00
moodler
a9e1c058d5
More robustness fixes for accesslib
2006-08-31 07:40:48 +00:00
ethem
fde7c9dfc5
Added Echeck UI validation.
2006-08-31 07:11:31 +00:00
moodler
c5ddc3fd8b
More defensive get_parent_cats()
2006-08-31 05:06:30 +00:00
moodler
5f70bcc3a0
Some robustness when loading capabilities
2006-08-31 04:17:51 +00:00
moodler
cf0b6604e0
Removed tabs
...
This block still needs work to merge with the new admin pages
2006-08-31 04:00:01 +00:00
stronk7
4782a1f8bc
Minor modifications to oci8po generator (max 38 for number)
2006-08-31 00:19:57 +00:00
stronk7
790647b950
Block plugin tables can use the XMLDB install & upgrade
2006-08-31 00:02:06 +00:00
stronk7
1164af7cf5
Block core blocks tables can use the XMLDB install & upgrade
2006-08-30 23:18:29 +00:00
stronk7
015e946d98
Small rework of the main install/upgrade script. Everything should
...
continue working as before.
2006-08-30 23:13:43 +00:00
cap2501
62cb403260
Updated front-end display to accurately represent how moodle is handling things on the backend.
2006-08-30 21:39:09 +00:00
cap2501
305f223035
Switched over to using moodle commands instead of direct DB manipulation for everything but blocks(still working on that one).
2006-08-30 21:38:23 +00:00
stronk7
94ab72f8b0
Now backup tables can use the XMLDB install & upgrade
2006-08-30 20:41:37 +00:00
stronk7
450cf307ea
Triple "l" were preventing new installations to be executed for plugins.
2006-08-30 20:27:29 +00:00
stronk7
7c006e345a
Minor separations...
2006-08-30 20:13:46 +00:00
stronk7
e79a09a259
Now plugins (qtypes and enrols) can use the XMLDB install & upgrade
2006-08-30 19:52:16 +00:00
ethem
a1c4676cf1
User fields for ECHECK
2006-08-30 19:38:28 +00:00
cap2501
ff96b9df7e
Added the 'delete' methods back nessicary to change $field to optional.
2006-08-30 19:22:34 +00:00
ethem
2c50dc0b63
Some UI stuff for ECHECK
2006-08-30 19:12:28 +00:00
ethem
35f4a0772a
Autoconfigure credit card types. This is not a Makefile :)))
2006-08-30 18:59:53 +00:00
stronk7
81465066c2
Just "normalizing" index names inside the XMLDBEditor. Not critical but...
...
Following rule 1.3 from:
http://docs.moodle.org/en/XMLDB_Defining_one_XML_structure#Conventions
2006-08-30 17:17:39 +00:00
stronk7
2813c04ba9
One new error string added.
2006-08-30 17:14:57 +00:00
ethem
e2863967c6
Added ABA validation funtion.
2006-08-30 17:14:32 +00:00
stronk7
b4f3a93b01
Improve save file, showing the proper error if not writeable.
2006-08-30 17:12:00 +00:00
skodak
e9d5166a3e
fixed wrong type for session data field in mysql, enabled feedback when dropping old session table during upgrade
2006-08-30 16:37:52 +00:00
stronk7
393e7cc373
where BIG should be LONG...
2006-08-30 16:14:44 +00:00
stronk7
914597ee9f
...where = should be == ...
2006-08-30 16:06:16 +00:00
tjhunt
1680ebe40b
Eliminate an isteacheredit
2006-08-30 15:52:11 +00:00
ethem
d1b86e65cc
Some documentation.
2006-08-30 14:33:31 +00:00
ethem
edbe60abb6
Deleted comment.
2006-08-30 14:16:45 +00:00
ethem
75bb06e0aa
Some UI changes.
2006-08-30 14:06:40 +00:00
ethem
6b1d27020d
Ported AUTHORIZE_ECHECK changes into HEAD. (cvs update -j HEAD -j AUTHORIZE_ECHECK)
...
* New Feature (Authorize.net eCheck)
Authorize.Net provides an exclusive, fully integrated electronic check payment method, eCheck.Net.
Using eCheck.Net, merchants can accept and process payments from consumer and corporate bank accounts
directly from their Web site or through the Authorize.Net Virtual Terminal. By accepting electronic checks,
you expand the payment options available to new and existing customers, enhancing customer loyalty and
potentially increasing sales.
+ Lower Fees - Lower rates than credit cards or PayPal.
+ More Efficient - eCheck.Net does everything online, eliminating the cost and inconvenience of manually
processing paper checks and waiting for checks in the mail.
+ Fully Integrated Solution - No third-party integration required implementing eCheck.Net is easy
for merchants already using the Authorize.Net Payment Gateway.
+ Integrated Reporting - Provides a combined view of all eCheck.Net and credit card payment transactions.
Reconcile payment and billing activity using online reports and statements.
+ Ship Product Sooner - Improved up-front transaction validation that returns the status of transactions faster.
+ Security - Authorize.Net uses the latest 128-bit Secure Socket Layer (SSL) technology for
secure Internet Protocol (IP) transactions.
== TO DO ==
- Generate Echeck forms.
- Show users a echeck option if admin enabled echeck method.
- Allow admins/teachers to enrol a student using echeck method (FIX: role consept)
==========
2006-08-30 10:29:10 +00:00
skodak
d78f25b8c0
fixed missing semicolon typo
2006-08-30 09:17:40 +00:00
skodak
e1ecc9fbbe
imported newer PCLZIP library; added directory restriction to our own security checks
2006-08-30 08:51:57 +00:00
toyomoyo
81e956b964
added some capabilities
2006-08-30 08:43:17 +00:00
skodak
849bbccfbb
ADODB v4.92a import
2006-08-30 08:12:11 +00:00
skodak
61212e3f96
better input validation in files/index.php SC#307
2006-08-30 08:03:12 +00:00
skodak
02b22073b8
more appropriate type for locale setting
2006-08-30 07:42:42 +00:00
toyomoyo
247cdeb68f
utf8 migrate support for additional fields MDL-6339
2006-08-30 06:12:12 +00:00
moodler
2328673a12
Automatic installer.php lang files by installer_builder (20060830)
2006-08-30 02:44:42 +00:00
stronk7
13c2ed6410
Removing DTD and XMLSchema. It's under lib/xmldb
2006-08-30 00:11:36 +00:00
stronk7
758537ef2a
relative+cleaned paths
2006-08-30 00:10:08 +00:00
stronk7
ee7de32ea3
relative+cleaned paths
2006-08-29 23:53:46 +00:00
stronk7
fc3221015d
relative+cleaned paths
2006-08-29 23:45:08 +00:00
stronk7
2a05e82571
relative+cleaned paths
2006-08-29 23:33:55 +00:00
stronk7
68905e201b
relative+cleaned paths
2006-08-29 23:29:28 +00:00
stronk7
8f5b5e4f68
relative+cleaned paths
2006-08-29 23:20:03 +00:00
koenr
51b8bebb7a
updating index files MDL-3484
2006-08-29 23:08:28 +00:00
skodak
647a256616
db sessions are now using the newer session handler adodb-session2.php
2006-08-29 22:45:54 +00:00
stronk7
2af2711f79
relative+cleaned paths
2006-08-29 22:45:46 +00:00
stronk7
d81f3415ca
relative+cleaned paths
2006-08-29 22:26:57 +00:00
stronk7
077505db10
cleaned paths
2006-08-29 22:21:13 +00:00
stronk7
115a73653a
relative+cleaned paths
2006-08-29 22:17:25 +00:00
skodak
a68f983779
fixed $zthis typo in postgres7 driver, Eloy is reporting it upstream
2006-08-29 22:06:31 +00:00
stronk7
a0da32e935
Moving getEndedStatements() to the propef function.
2006-08-29 21:57:40 +00:00
stronk7
fd6a294ff6
relative+cleaned paths
2006-08-29 21:26:46 +00:00
stronk7
4317fe985e
relative+cleaned paths
2006-08-29 21:07:59 +00:00
koenr
8775961a89
updating index files MDL-3484
2006-08-29 21:02:16 +00:00
stronk7
c080aa88d7
relative+cleaned paths
2006-08-29 20:50:44 +00:00
skodak
5e0ff187c7
better handling of anchor name in docs index SC#306
2006-08-29 20:38:23 +00:00
skodak
c0e3c8d2b2
import of new ADODB v4.92 library
2006-08-29 20:23:17 +00:00
stronk7
a199036810
Now the "created" field is refreshed always in the main list.
2006-08-29 19:27:34 +00:00
vinkmar
9fdc896535
adding (slowly) strings from soc admin page cleanup
2006-08-29 17:02:35 +00:00
vinkmar
3a64b2d144
fixed the duplicate "Themes" page (well, not quite duplicate, but confusing nonetheless)
2006-08-29 17:00:23 +00:00
vinkmar
f36d9a82b8
adding a more obvious heading to the page :)
2006-08-29 16:59:19 +00:00
ethem
98d415567c
If review enabled, get_users_by_capability('enrol/authorize:managepayments') at SYSTEM_LEVEL and send email for a new pending payment.
2006-08-29 14:30:11 +00:00
ethem
70b1aa8071
get_users_by_capability('enrol/authorize:managepayments') and send email for pending orders expiring.
2006-08-29 13:59:35 +00:00
ethem
0c10124755
merged from 16stable
2006-08-29 09:04:03 +00:00
tjhunt
32b0adfade
Better comments
2006-08-29 08:57:47 +00:00
toyomoyo
f9a59efa64
adding some capabilities
2006-08-29 08:43:59 +00:00
toyomoyo
8493ff6fd5
added acapability
2006-08-29 06:02:29 +00:00
moodler
3511c16cfd
Minor change to prevent bugs while Ed works on not needing this parameter at all.
2006-08-29 04:04:12 +00:00
toyomoyo
be07f21b61
replaced isguest with capability calls
2006-08-29 03:36:31 +00:00
toyomoyo
0bde63002a
adding in capabilities
2006-08-29 03:22:05 +00:00
toyomoyo
38ac07d284
adding capability, indenting, putting in brackets etc
2006-08-29 03:20:51 +00:00
cap2501
d63545d8e8
Fixed errors in refactoring ( rev4, almost there)
2006-08-29 02:34:35 +00:00
moodler
0e4af1664c
New param type, PARAM_SEQUENCE for 5,6,7,8,9
2006-08-29 02:26:37 +00:00
vyshane
7b12414814
Fix for bug MDL-6385
2006-08-29 02:09:31 +00:00
cap2501
7c72c2889a
updates to accommodate retooled command.php
2006-08-29 02:03:00 +00:00
cap2501
dad4a8e5d7
Fixed errors in refactoring ( rev3, almost there)
2006-08-29 02:02:45 +00:00
cap2501
5281e0ab2a
Fixed errors in refactoring ( rev2)
2006-08-29 01:38:58 +00:00
cap2501
6fe72833d0
Fixed errors in refactoring
2006-08-29 01:35:45 +00:00
cap2501
04ba9d5330
updates to accommodate retooled command.php
2006-08-29 01:35:01 +00:00
skodak
b735d140ef
fixed regex typo in installer
2006-08-28 22:09:44 +00:00
skodak
790fda7b0e
show detailed log messages only when debug is not off SC#303
2006-08-28 21:33:21 +00:00
stronk7
840391757e
Initial commit of XMLEditor langpack.
2006-08-28 21:33:03 +00:00
skodak
d389b12829
create safer .htaccess SC#302
2006-08-28 21:07:43 +00:00
skodak
add47d44d0
check suggested dataroot in install.php SC#295
2006-08-28 20:54:16 +00:00
skodak
57e35f328a
basic detection of sites with misconfigured dataroot SC#295
2006-08-28 20:11:24 +00:00
mark-nielsen
ab8e5428b5
Merged bug fix for MDL-6325
2006-08-28 20:02:49 +00:00
stronk7
8c15ae9958
Moving all the XMLDB stuff from contrib to head. Go, go, go...
2006-08-28 19:50:57 +00:00
tjhunt
f0a7247d0e
Fix typo.
2006-08-28 18:50:42 +00:00
skodak
bad211a3b9
enabletrusttext can not be 1 by default - it is new, not much tested and maybe even insecure feature ;-)
2006-08-28 18:46:37 +00:00
skodak
635c0e0b4a
turning on the upgrade in progress check again, added skip warning link
2006-08-28 18:07:15 +00:00
stronk7
683ff5d4f3
Dropping forum.open and forum.assesspublic
...
(mimic from .sql files)
2006-08-28 16:20:52 +00:00
stronk7
ba05965e5c
Messages about missing functions in old and new upgrade are showed
...
only if the corresponding file exists.
2006-08-28 15:47:45 +00:00
stronk7
b477a2f166
Changing one wrong previous value.
2006-08-28 15:21:41 +00:00
moodler
5bfecd388d
Cleaned up the code to remove security issues and to show Ed Coyne
...
how to use the Moodle API and follow coding guidelines.
I think I broke something but I'm sure Ed can fix it from here!
2006-08-28 14:42:07 +00:00
gustav_delius
e57d9d69f7
Small correction in the documentation for the $CFG global
2006-08-28 09:00:38 +00:00
toyomoyo
1648afb278
changes to how to pull out a list of users (course/module participants)
2006-08-28 08:42:30 +00:00
vyshane
7654b2bb08
Added lang string
2006-08-28 07:30:07 +00:00
moodler
9250203ff5
Added a better string as per MDL-6379
2006-08-28 07:12:10 +00:00
moodler
b2174cc86b
FIxed some file paths
2006-08-28 06:57:40 +00:00
moodler
c5eef32d56
New strings for AJAX setting
2006-08-28 06:51:46 +00:00
moodler
a0bfbeaae8
Integrated topicsajax into "topics"
2006-08-28 06:49:19 +00:00
moodler
67a3fac51f
Added new field 'ajax' to user table, to store AJAX preference
2006-08-28 06:41:05 +00:00
vyshane
e823cd13fa
Cleanups
2006-08-28 06:36:36 +00:00
vyshane
620e1e5b27
Fixed notice.
2006-08-28 06:14:58 +00:00
vyshane
d50ccb9932
Fixed notice
2006-08-28 06:14:06 +00:00
vinkmar
f1700fab26
Install/upgrade procedures changed to use $ADMIN instead of defaults.php and config.php.
...
See http://moodle.org/mod/forum/discuss.php?d=52636 for details
2006-08-28 06:02:00 +00:00
cap2501
fbca9f0f57
Removed frame around draggable blocks and fixed 'short drag' bug.
2006-08-28 04:33:41 +00:00
cap2501
0dcb53d545
removed override for $USER->use_ajax
2006-08-28 04:30:46 +00:00
vyshane
5ce6f628ba
Dropping forum.open and forum.assesspublic from .sql files. Added forum
...
upgrade to roles code to postgres7.php.
2006-08-28 03:51:38 +00:00
cap2501
2f661649b0
*** empty log message ***
2006-08-28 02:49:04 +00:00
moodler
668896e531
It's not required that all modules have the old upgrade function and
...
the new upgrade function.
2006-08-28 02:10:23 +00:00
cap2501
931ef52833
added description for topics - AJAX format
2006-08-28 02:08:37 +00:00
cap2501
4a1a14c9d3
added nessicary code for ajax course format
2006-08-28 02:06:04 +00:00
cap2501
d4df8fdcae
small changes, also de-tabbed and unix fomatted
2006-08-28 02:05:02 +00:00
vinkmar
9519ee2eb7
* admin_setting defaults added
2006-08-28 01:32:11 +00:00
vinkmar
d83f27cefe
* documentation started in adminlib.php
...
* default for block editing changed to "off" (bug in previous revisions)
* added defaults for all admin_setting's
2006-08-28 01:31:37 +00:00
cap2501
49884e9702
Removed evil tabs
2006-08-27 23:45:36 +00:00
cap2501
9a900dfc07
converted dos mode to unix mode
2006-08-27 23:28:39 +00:00
cap2501
097579f09c
Fixed to eliminate use of 'GET' and 'POST'
2006-08-27 22:58:51 +00:00
stronk7
716332e68b
Added support to SQL generation of statements
2006-08-27 22:31:02 +00:00
stronk7
9dbc13db9a
Concat operator for mysql added
2006-08-27 22:25:41 +00:00
stronk7
b96aaad125
Concat operator for mssql added
2006-08-27 22:24:09 +00:00
stronk7
a75636b7ed
Added support to SQL generation of statements
2006-08-27 22:22:23 +00:00
cap2501
ee3c87bd84
Fixes needed to work from cvs
2006-08-27 22:09:56 +00:00
stronk7
efd1e2032d
Added support to SQL generation of install INSERTs
2006-08-27 21:59:04 +00:00
stronk7
3655a6b39f
Set magic_quotes_sybase for both mssql and oci8po.
...
Anyway, this isn't enough and if must be defined in php.ini
or .htaccess, because GPC are added BEFORE this setting
has effect so they are slashed with the default char.
2006-08-27 21:57:33 +00:00
stronk7
de64b6c69e
modify stripslashes_safe() to work properly under magic_quotes_sybase
...
(both addslashes and stripslashes do it properly based on the setting)
2006-08-27 21:52:22 +00:00
skodak
f2b5d7e3b7
trusttext implementation in Forum module, fixed incorrect merging, added missing postresql upgrade code, some other minor fixes
2006-08-27 20:45:04 +00:00
danmarsden
6ba7f08774
Fix for MDL-4190 - when admin is editing profile, admin loses all subscriptions to forums.
2006-08-27 20:33:54 +00:00
skodak
7af25328c2
fixed cosmetic typo - missing semicolon before closing tag
2006-08-27 18:38:16 +00:00
skodak
9d4cb9e33b
New handwritten XMS schema for install.xml files, generator is fixed to link it too. It is not doing all the checks as XMLDB editor from contrib, but it helps to detect basic problems in general XML editors - such as the one in Eclipse ;-) It can serve also as basic documentation of the install.xml format.
2006-08-27 18:33:37 +00:00
koenr
6494526340
typo - Thanks Mits!
2006-08-27 18:02:23 +00:00
stronk7
d1c21c8f31
Very, very, very, very initial support of insert_record for oracle.
...
I shouldn't interfere with the rest at all. I needed it in CVS now.
2006-08-27 09:02:41 +00:00
stronk7
d6eb06b60b
Initial commit supporting install/upgrade inder XMLDB.
2006-08-27 09:00:23 +00:00
stronk7
f2e0049dec
Just remove one condition previously checked.
2006-08-27 08:58:09 +00:00
stronk7
b8851b80eb
Cache names for improved speed in long iterations requesting
...
the same name thousands of times.
Prepare Oracle Sequnces for the insert_record function.
2006-08-27 08:52:51 +00:00
koenr
c7a872cbcf
updating index files MDL-3484
2006-08-27 08:26:48 +00:00
koenr
4d6cb85c3b
updating index files MDL-3484
2006-08-27 08:20:34 +00:00
skodak
168fa2c1d1
reverting isguest() changes
2006-08-27 08:10:03 +00:00
koenr
7d06e3b3be
updating index files MDL-3484
2006-08-27 08:09:03 +00:00
koenr
702a3aafa7
typo
2006-08-27 08:01:24 +00:00
koenr
0bb3edbcff
updating index files MDL-3484
2006-08-27 08:00:42 +00:00
koenr
b85953c847
updating index files MDL-3484
2006-08-27 07:31:10 +00:00
koenr
936678268c
updating index files MDL-3484
2006-08-27 07:13:40 +00:00
skodak
cf8eaebb06
fixed warning in glossary recent activity from deteted entries
2006-08-26 19:38:32 +00:00
skodak
b3e570450f
removing some isteacher()s from glossary
2006-08-26 19:19:36 +00:00
skodak
18d8a6a741
isguest() compatible with roles
2006-08-26 18:42:56 +00:00
skodak
907cf31821
trusttext cleaning in glossary upgrade - definitions and comments
2006-08-26 18:08:18 +00:00
skodak
daed1a2f37
minor trusttext fix
2006-08-26 17:39:31 +00:00
skodak
b8dc934baa
fixed table already exists problem during install and upgrade in Opera
2006-08-26 17:20:52 +00:00
skodak
7d8a3cb06a
trusttext:
...
* proposed by Martin Dougiamas
* implemented by skodak
Usage:
1/ change enabletrusttext to yes in site settings (it is off by default) or set it in config.php
2/ assign moodle/site:trustcontent capability to users whose text submitted in glossary entries, comments, forum posts etc. should not be cleaned == they can use javascript or any other forbidden tags in glossary and forums...
done:
* core
* glossary (without proper upgrade)
to do:
* data cleaning in upgrades
* forum, blocks and some other places (MD decides)
2006-08-26 13:00:07 +00:00
moodler
8618b509fd
Automatic installer.php lang files by installer_builder (20060826)
2006-08-26 02:48:03 +00:00
stronk7
c8a418b8d6
Max for decimal type in MSSQL is 38 cc.
2006-08-26 00:50:09 +00:00
stronk7
7e8f922047
Adding back the first column in the recordset, that is out after GetAssoc(),
...
in order to:
- Don't get our first named column under some drivers.
- Be able to migrate to ADODB_FETCH_ASSOC soon.
For more info, http://docs.moodle.org/en/XMLDB_Problems ,
in the ADOdb fetch mode (ASSOC, NUM and BOTH) section.
2006-08-26 00:08:11 +00:00
mark-nielsen
c87a341cb9
Merged bug fix for bug MDL-6323
2006-08-25 22:53:17 +00:00
skodak
426a369bfa
fixed missing continue button during upgrade when using dbsessions
2006-08-25 20:50:44 +00:00
skodak
9425b25f46
Many bugs and typos fixed in capabilitties and legacy isteacher() and similar functions - not many lines changed but it was a looong coding day.
...
Roles and capabilities should be usable now and old unconverted code should work too :-D
Tested only in fresh installation - admin, teacher and student roles should sort of work.
2006-08-25 20:12:12 +00:00
mark-nielsen
2fc13bc767
Merged differences from MOODLE_16_STABLE into HEAD
2006-08-25 18:33:50 +00:00
stronk7
09942a5ec2
PGs doubles are caller DOUBLE PRECISION
2006-08-25 17:11:43 +00:00
stronk7
c049e98881
Indexes on text fields are not allowed
2006-08-25 17:02:49 +00:00
stronk7
a5ea2dc334
Solved one wrong field declaration in lesson_grades
2006-08-25 17:02:04 +00:00
tjhunt
cd06115fa7
Convert mod/quiz/view.php to roles, and further tidy up the code flow in there. This touches other files because I had to change a function in locallib that had an $isteacher parameter.
...
I have not converted the rest of the quiz, and I don't intend to. I am hoping Moodle.com will do it.
I hope this does not introduce any bugs, but view.php is so complicate (at least it is less complicated than it was) and the quiz has so many options, that it is hard to be sure. This needs lots of testing before 1.7 is released.
2006-08-25 16:03:54 +00:00
tjhunt
6ac7a65d76
Missing language string.
2006-08-25 14:29:47 +00:00
skodak
51195e6f9f
fixed missing global $CONTEXT in get_context_instance()
2006-08-25 14:15:52 +00:00
tjhunt
64d8092342
Correct typo.
2006-08-25 11:23:00 +00:00
moodler
a72784d3c6
Just a slight tidy-up
2006-08-25 08:54:22 +00:00
vyshane
1a3e93ffe6
Added has_capability checks
2006-08-25 08:51:50 +00:00
vyshane
25c38f25a1
Added has_capability check
2006-08-25 08:30:25 +00:00
vyshane
6ac96fcb3c
Added has_capability checks
2006-08-25 08:27:28 +00:00
toyomoyo
41d7209c7f
some (mainly admin realated) capabilities
2006-08-25 08:27:27 +00:00
moodler
fd57975491
Added 3d moving icon for ajax course format
2006-08-25 07:10:22 +00:00
moodler
954fdb4293
FIxed some tabs :(
...
and added a module-xxxxx CSS id to each item
2006-08-25 07:09:28 +00:00
vyshane
1be4d00d56
Previous committer missed one rename from $edit to $categoryedit. Fixed.
2006-08-25 04:06:41 +00:00
vyshane
e1b5643ff7
Changes to take care of forum upgrade to new roles system. Backed up forums
...
will also be converted to the new roles system if the backup was made
pre-roles.
2006-08-25 02:41:16 +00:00
vyshane
7f6301c464
We need the newly created course_module id to be passed to the restore
...
functions of the modules. We need this now for the forum module to convert
forums backed up in 1.6 to use roles upon restore in 1.7. However, this might
be needed for other modules as well if they need conversion to the roles
system.
2006-08-25 02:37:54 +00:00
stronk7
c779eb1a15
Added support for the new upgrade system for main tables.
2006-08-24 22:27:11 +00:00
stronk7
2acf462dd9
Renamed column question_sessions->comment at Eloy's
...
request since comment is a DB reserved word.
(mimic from sql files) Thanks Tim! B-)
2006-08-24 16:57:39 +00:00
tjhunt
3830553d47
Avoid reserved words in dmllib unit tests.
...
(Except that TEXT is not a reserved word after all, although some things like TINYTEXT are. Wheird!)
2006-08-24 16:56:59 +00:00
stronk7
81abf10971
MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer
...
(mimic from old sql files)
2006-08-24 16:54:02 +00:00
tjhunt
3e3e5a4030
Renamed column question_sessions->comment at Eloy's request since comment is a DB reserved word.
...
I have not been able to test this fully, because I cannot assign roles (e.g. Student and Teacher) in 1.7dev at the moment to test a student answering an essay question then a teacher grading it. However, I have tested as much as possible as admin and cannot get any errors.
2006-08-24 16:44:15 +00:00
tjhunt
dd4a1bca28
During the conversion datalib -> ddllib, Eloy removed my comment that made it possible to understand how to use table_colum :-( Adding it back.
2006-08-24 15:37:03 +00:00
tjhunt
3ebdddf70f
MDL-4816 Fix silly error in my commit for this bug.
2006-08-24 11:37:10 +00:00
tjhunt
b2ba9f6ef3
Fix Eclipse warnings.
2006-08-24 11:36:38 +00:00
tjhunt
2fe0d172f8
Fix PHP syntax error. I wish more developers used Eclipse.
2006-08-24 11:22:24 +00:00
tjhunt
307f045f07
MDL-5969 Let multiple choice questions have feedback that does not depend on the chosen answer
...
In passing, I fixed MDL-6297 Export of multichoice questions in Moodle XML format doesn't save shuffle option too.
2006-08-24 10:22:43 +00:00
tjhunt
6e557c0806
Fixed syntax error in a PHPdoc comments.
2006-08-24 10:16:54 +00:00
tjhunt
2d30f53dcc
Fixed syntax error in a PHPdoc comment.
2006-08-24 10:12:15 +00:00
vinkmar
236c08a56f
Added support for phpMyAdmin plugin.
2006-08-24 06:44:35 +00:00
moodler
7468981e67
FIxed roles button on blocks
2006-08-24 03:48:04 +00:00
moodler
eba88175b6
Formatting fixes
2006-08-24 03:37:41 +00:00
moodler
28e7967aea
FIxed some notices
2006-08-24 03:28:09 +00:00
moodler
0a0bb38019
Ed Coyne's AJAX course format, with some cleanups done.
...
More cleanups to come from Ed.
This isn't actually working for me right now but he'll fix it now.
This is completely optional and won't affect any other code right now.
2006-08-24 03:20:37 +00:00
moodler
600212a9a1
FIxing Ed's mistaken checkin
2006-08-24 03:17:53 +00:00
danmarsden
038184e264
MDL-4493 issue with 405 pages for IIS users - must specify actual page, as the notice function does a post - you cannot use the POST Verb on a directory in IIS.
2006-08-24 02:08:59 +00:00
tjhunt
c82f76d050
MDL-4816 Short answer question type considers '100' and '100.' to be the same
Actually, this may have affected other question types too.
2006-08-23 21:17:23 +00:00
tjhunt
ac249da55e
Clarified comment.
2006-08-23 21:04:04 +00:00
tjhunt
9e8dba7960
MDL-6338 - Short answer questions with ' in the answer don't work. Merged from MOODLE_16_STABLE.
Yet another unpleasant quiz bug caused by the current broken way we do things with addslashes.
2006-08-23 19:04:24 +00:00
tjhunt
647bcd4129
Fix getting the context. It did not work during question preview from the question bank when there was no quiz in sight.
2006-08-23 18:37:38 +00:00
tjhunt
a18fa6d5ba
Get the contexts without referring to undefined variables.
2006-08-23 15:32:06 +00:00
stronk7
454adccfa9
Adding one PHP close tag that has been missing (but working) since years!
2006-08-23 15:23:53 +00:00
tjhunt
5cae120596
Get the contexts without referring to undefined variables.
2006-08-23 15:12:52 +00:00
thepurpleblob
c81415c77e
Merged from STABLE
2006-08-23 14:57:40 +00:00
tjhunt
78fd16a5fb
Improved one language string. Thank Mitshiro Yoshida.
2006-08-23 09:23:56 +00:00
moodler
0cfb6a52fb
Adding a copyright notice, and mentioning MDL-3717 purely as a test of the
...
new CVS integration on tracker.moodle.org
2006-08-23 08:39:15 +00:00
toyomoyo
5769734f2a
changing default override values
2006-08-23 08:14:14 +00:00
toyomoyo
ae1e00a089
renamed variable so that it doens't get recycled
2006-08-23 08:11:43 +00:00
vyshane
905c4567a2
Removed forum_get_course_forum for forum type teacher.
2006-08-23 07:05:36 +00:00
vyshane
9a7538a35b
Fixed notice
2006-08-23 06:56:23 +00:00
toyomoyo
945f88ca15
various changes - loading capabilities for questions, quiz, hide tab if no assignalbe or no overridable role is found, added some functions and comments in accesslib
2006-08-23 06:36:08 +00:00
toyomoyo
b56d75dd00
fixing a typo
2006-08-23 05:52:39 +00:00
toyomoyo
ed60c54a94
fix for MDL-6326, add support for quiz_feedaback table
2006-08-23 05:39:41 +00:00
moodler
d9a35e1270
Fixed context caching (wasn't using globals)
2006-08-23 01:29:52 +00:00
skodak
a2b0c57b0a
debug off level is now 5 instead of 7 to prevent E_WARNING on production sites SC#294; merged from MOODLE_16_STABLE
2006-08-22 22:25:30 +00:00
skodak
bb5a61a1d4
reverting wrong commit, sorry :-(
2006-08-22 22:22:34 +00:00
skodak
2881101ca1
debug off level is now 5 instead of 7 to prevent E_WARNING on production sites SC#294
2006-08-22 22:19:58 +00:00
skodak
868ca14f1f
fixed trailing whitespace in last commit :-(; merged from MOODLE_16_STABLE
2006-08-22 22:12:17 +00:00
stronk7
860b55463f
Normalizing a bit all the float/double generators.
2006-08-22 22:10:09 +00:00
skodak
6be7abc726
Rewritten help.php by Tim Hunt with minor fixes - SC#292; merged from MOODLE_16_STABLE
2006-08-22 22:04:06 +00:00
stronk7
962f8a9b4e
quiz_feedback added to XMLDB
2006-08-22 21:55:20 +00:00
stronk7
8792c16589
Small typo. ;-)
2006-08-22 21:44:07 +00:00
tjhunt
e9ad37edc2
SC 299. Merged from MOODLE_16_STABLE.
2006-08-22 21:33:54 +00:00
stronk7
598dc3a99c
Change rule to tzrule (reserved word)
2006-08-22 21:19:52 +00:00
stronk7
7970cce9f4
Updated using tzdata2006j
2006-08-22 20:11:33 +00:00
stronk7
c0fe3453ef
Change rule to tzrule (reserved word)
2006-08-22 20:10:54 +00:00
tjhunt
d758f1e2eb
Fix an obvious typo in the roles and permissions code.
2006-08-22 19:26:05 +00:00
tjhunt
07d8d530f5
Fix Eclipse warnings.
2006-08-22 19:09:52 +00:00
tjhunt
080314b8bb
Fix Eclipse warnings.
2006-08-22 19:09:07 +00:00
tjhunt
20808266c8
Work round Eclipse warning.
2006-08-22 19:01:42 +00:00
tjhunt
199e43d470
Fix Eclipse warnings.
2006-08-22 19:00:18 +00:00
tjhunt
212b7b8cd9
MDL-5270 - give students a feeback comment for their performance in the entire quiz.
...
Also, along the way I noticed and fixed MDL-6290 student grades not rescaled when quiz maximum grade changed.
2006-08-22 17:31:26 +00:00
stronk7
2efaf3f8ab
One trick to allow pseudo-null Oracle insertions. Let's see what happen.
2006-08-22 16:39:14 +00:00
tjhunt
75e84883ca
Unbreak roles and permission on Postgres yet again.
...
If you want a laugh, compare this fix the with the diff between revisions 1.5 and 1.6 of this file.
2006-08-22 16:18:11 +00:00
stronk7
93d2c55ffc
Standard naming now user FOUR char for tables (to avoid
...
avoid some potential duplicates)
2006-08-22 16:15:44 +00:00
tjhunt
1751eebc69
Reverting toyomoyo's conversion of mod/quiz/view.php to roles because his changes made no sense.
...
Admittedly, this file is pretty incomprehensible and it is not clear at first what it is trying to do. (Even though it is more comprehensible now than it was a week ago.) I'll to a proper conversion of this file to RnP once I have checked in my other changes there - assuming I can actually get Moodle to work so I can test my changes.
2006-08-22 13:53:39 +00:00
tjhunt
a4a6eb8a17
Fix toyomoyo's syntax errors.
2006-08-22 13:12:24 +00:00
toyomoyo
5cf38a57cd
some quiz capabilities
2006-08-22 09:04:23 +00:00
vyshane
5cae056c45
Removed deprecated teacher forum type
2006-08-22 07:42:34 +00:00
vyshane
45c38eef4c
Removed deprecated forum type teacher.
2006-08-22 07:38:01 +00:00
vyshane
d604bdeaed
Added prevent for mod/prevent:createattachment for default students and guests
...
in teacher forums
2006-08-22 05:56:45 +00:00
vyshane
9fa3350862
Upgrade now works. Needs more testing.
2006-08-22 05:45:43 +00:00
vyshane
021a7467b5
Fixes:
...
1) has_capability call used in fullname()
2) initialised array $options
3) $context->level has been renamed to $context->aggregatelevel
2006-08-22 05:44:32 +00:00
vyshane
c1a657cc1f
Bug fixes:
...
1) Replaced isteacher call in fullname ($course undefined)
2) Initialised $options array
2006-08-22 05:35:52 +00:00
vyshane
f13a5fa609
Removed forum->open config since roles will take over this
2006-08-22 02:43:58 +00:00
vyshane
ac195b6fa6
Need to pass the module id and not the object to add_course_module
2006-08-22 02:24:45 +00:00
skodak
a2392230a1
fixed some notices in scheduled backup; merged from MOODLE_16_STABLE
2006-08-21 20:40:07 +00:00
stronk7
5cf36b39b1
Solved hh (horrible-hidden) bug in backup_scheduled code.
...
Credits go to Thirot Jean-Luc. http://moodle.org/mod/forum/discuss.php?d=52156
Merged from MOODLE_16_STABLE
2006-08-21 19:10:21 +00:00
stronk7
28f6c41d45
Changed level (reserved word) to aggregatelevel.
2006-08-21 14:59:48 +00:00
stronk7
88534572c3
Reducing the list of MSSQL reserved words to the efectively
...
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by MSSQL)
2006-08-21 12:28:46 +00:00
stronk7
c8f85eeeba
Reducing the list of PG reserved words to the efectively
...
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by PG)
2006-08-21 12:04:48 +00:00
vyshane
c1de8b8a80
Fixed bug - empty teacher forums (deleted) should not have a course module
...
created for them.
2006-08-21 08:45:12 +00:00
toyomoyo
3765fd5367
some capabilities for quiz and questions, need to load them in access.php
2006-08-21 08:40:06 +00:00
vyshane
f0da6b858e
Removed $forum->open, $forum->assesspublic from code. Fixed bug in upgrade
...
code, changed module config form to accomdate removal of forum.assesspublic
and forum.open.
2006-08-21 06:56:04 +00:00
skodak
efc7316caa
import of ADODB v4.91 and general cleanup, removed some unused files - see readme_moodle.txt; new session2 code needs a new table, I am going to use the new database functions for that later, for now we are using the old table and old database session code.
2006-08-21 06:54:00 +00:00
cap2501
0894b9271e
Semi-final version
2006-08-21 06:15:24 +00:00
cap2501
04b2d74f03
Main JS file for topic - ajax course format (still needs a little cleaning though)
2006-08-21 06:14:43 +00:00
cap2501
be2a520783
Restful interface for AJAX course format
2006-08-21 06:13:28 +00:00
toyomoyo
d140ad3f7c
fix for bug #6307 , reserved word 'level' changed to 'aggregatelevel' for Oracle. Some parts could be broken by this. please report breakage asap! Thanks
2006-08-21 05:19:16 +00:00
vinkmar
e277678dab
changes made to ensure compatibility with core admin (admin/adminlib.php) where $_GET is no longer used; changed 'admin' to $CFG->admin in dir paths
2006-08-21 04:08:57 +00:00
vinkmar
9acea96564
changes made to ensure compatibilty with core admin files (admin/adminlib.php), where $_GET is no longer used
2006-08-21 04:08:00 +00:00
vinkmar
6fcbab99ef
fixed tabs, fixed potential notices for undefined variables, added structure that will be used for detecting what variables to flag during installs & upgrades, removed all $_GET usage, switched 'admin' to $CFG->admin (for directory paths), and fixed blank line at end of index.php
2006-08-21 04:06:58 +00:00
toyomoyo
d37bac7e5d
fix for 6294
2006-08-21 02:23:25 +00:00
mchampan
791a4cece1
Comments, update logic improved, rest of module add/delete functions added.
2006-08-21 00:50:29 +00:00
stronk7
0513f3bfa5
$statement_end for Oracle changed to "/" because standard ;
...
causes problems with trigger generation
2006-08-20 21:56:54 +00:00
tjhunt
dcc0a7e25f
Bug #6305 - Quiz settings form field order could be better. Merged from MOODLE_16_STABLE.
2006-08-20 20:11:05 +00:00
stronk7
73bb7f8db0
Setting some ADOdb variables properly and calling to the new
...
configure_dbconnection() function to set DB encoding and other
preliminar settings.
2006-08-20 18:22:48 +00:00
stronk7
d086d854a8
Added the configure_dbconnection() function to be executed
...
after DB conection. Responsible to set a lot of things
(charsets, dbsession variables...)
2006-08-20 18:21:33 +00:00
stronk7
f9543de627
Since PostgreSQL 7.4 the precision given for float columsn is
...
the number of bits to use, and not the number of decimals. So,
based on the number of decimals from the XMLDB schema, we are
going to create REAL (<6 decimals) or DOUBLE PRECISION (>=6) columns.
2006-08-20 18:19:50 +00:00
stronk7
16f07ff2b0
MySQL doesn't like any name on its primary keys (neither "primary")
2006-08-20 18:03:55 +00:00
stronk7
c412278140
Although difficult, now all the key/index/sequence/trigger names
...
are quoted if they are reserved words
2006-08-20 18:01:50 +00:00
stronk7
134e3128bb
Added the install_from_xmldb_file() function that
...
loads, transform and execute one entire XMLDB
file into the correct SQL sentences.
2006-08-20 15:50:27 +00:00
tjhunt
0f49e5655d
Bug #6303 - True / False applies penalty factor wrongly. Merged from MOODLE_16_STABLE.
2006-08-20 15:37:42 +00:00
tjhunt
948bf30099
Fix Eclipse warnings.
2006-08-20 15:30:31 +00:00
stronk7
420f683619
Core tables XMLDB installation is now working. Disabled by default
...
until fully working.
$CFG->xmldb_enabled = true; will enable it for test/dev against any DB
2006-08-20 11:20:40 +00:00
stronk7
293bccd539
First commit for the progressive adoption of ADODB's SelectLimit() function
...
in order to support LIMIT clauses in a cross-db compatible way.
Changes don't affect old sentences at all (all them would be changed soon too).
2006-08-20 09:37:56 +00:00
vinkmar
36647b9fbb
More PHP4 compatibility issues fixed.
2006-08-20 03:56:25 +00:00
skodak
7f5495053f
fixed short php tag and end tag in comment
2006-08-19 11:15:59 +00:00
moodler
3566b97c4a
Fixing some strings
2006-08-19 08:21:05 +00:00
moodler
c06140513d
Fixed up get_user_roles to remove notices
2006-08-19 08:12:45 +00:00
tjhunt
707b5c9953
Renamed unit tests to match Eloy's work.
2006-08-19 07:47:41 +00:00
vinkmar
95cdbec95f
Added paramtypes (mandatory) to all text field objects.
2006-08-19 05:34:25 +00:00
vinkmar
7ba710e6a3
Small bug fix. Caused problems when moving or deleting blocks.
2006-08-19 05:32:56 +00:00
moodler
9f948d1136
Just minor doc tweaks
2006-08-19 02:58:07 +00:00
moodler
6e0993ee48
Just tidying up things a bit as I look it over
2006-08-19 02:46:46 +00:00
moodler
dfcf72ba94
Automatic installer.php lang files by installer_builder (20060819)
2006-08-19 02:45:53 +00:00
vinkmar
085dfc0c20
solving the issue with an undefined sesskey (happens when there is no user logged in)
2006-08-19 02:26:01 +00:00
vinkmar
fea42164fb
preventing notifications by using isset() unsparingly (i.e. small bug fixes)
2006-08-19 02:21:44 +00:00
vinkmar
ccad2d8e7d
Modifications made for PHP4 compatibility.
2006-08-19 01:40:54 +00:00
vinkmar
0155cf991d
Fixed error that caused self_test failure during initial install; made changes for PHP4 compatibility (no use of instanceof, no use of private/protected/public)
2006-08-19 01:38:57 +00:00
vinkmar
63aafc9e56
Fixing errors in admin page cleanup; working towards compatibility with PHP4 (use of interfaces, private/protected/public, instanceof all removed).
2006-08-19 01:37:38 +00:00
stronk7
465a802937
Thought this was commited. Solve one bug in trigger generation
2006-08-19 00:58:30 +00:00
stronk7
7e13be0887
Splitting datalib.php in three libraries:
...
- ddllib.php: Where all the DDL (install/upgrade) functions will be.
- dmllib.php: Where all the DML (select...) functions will be.
- datalib.php: Legacy lib. Its contents should go to other libraries soon.
For more info see: http://docs.moodle.org/en/XMLDB_Roadmap (point 1)
2006-08-18 22:56:08 +00:00
tjhunt
ef82286874
Bug #6293 - Cannot regrade a question when a teacher has added a comment with a ' - Merged from MOODLE_16_STABLE.
Stupid, wreched, datalib.
Why can't datalib take care of addslashes, so the whole of the rest of the code can forget about it? That is how a database abstraction layer should work.
I know, it is pointless to moan about it, but it has just cost me 3 hours, so I feel I have earned the right to moan.
2006-08-18 22:34:54 +00:00
tjhunt
865b753486
Code cleanup. Merged from MOODLE_16_STABLE.
2006-08-18 22:26:04 +00:00
vinkmar
708870d3a8
added blank footer (to eliminate the notice when $footer is non-existant)
2006-08-18 22:02:09 +00:00
vinkmar
3d8ef99d9e
Blocks fixed in admin pagelib, and (hopefully) many notices pointed out in the general forum board no longer show up.
2006-08-18 22:00:37 +00:00
tjhunt
4abc23b2ae
Fix some Eclipse code warnings. Merged from MOODLE_16_STABLE.
2006-08-18 21:23:15 +00:00
vinkmar
0b4073cedb
trying to prevent an undefined index error
2006-08-18 19:27:02 +00:00
ethem
516b138516
Colorize all orders.
2006-08-18 17:10:30 +00:00
ethem
be4f7e7fec
Colorize refunds and show refunded total.
...
Red: Refunded/Pending Settlement
Green: Refunded/Settled
Black: Cancelled
2006-08-18 16:01:47 +00:00
ethem
49c22bc46b
Display capture/void/delete instead of 'Yes'; Merged from 16stable.
2006-08-18 14:54:08 +00:00
tjhunt
5553c2ec47
New function record_exists_select with unit tests for all the record_exists_* functions.
2006-08-18 11:28:30 +00:00
tjhunt
bc2defd5f8
Bug #3481 - wildcard problem in cloze question. Thanks to Joseph Rezeau. Merged from MOODLE_16_STABLE, not a straight merge becuase of other 1.7 changes.
2006-08-18 10:29:34 +00:00
moodler
d100b8a04d
Make sure .htaccess is created in dataroot, just in case
2006-08-18 09:54:09 +00:00
vinkmar
cdb46b63d2
more bugs! incompatibility with php 5.1.2 (presumably earlier versions as well) fixed
2006-08-18 08:40:58 +00:00
vinkmar
bb14a9e3b7
admin page cleanup blocks (new ones!)
2006-08-18 08:25:02 +00:00
vinkmar
c74af0688f
adding admin page cleanup blocks (new ones!)
2006-08-18 08:24:07 +00:00
vinkmar
dca7a9cfad
admin page cleanup (bug fixes :) )
2006-08-18 08:16:32 +00:00
tjhunt
1780811d55
Added todo.
2006-08-18 08:14:47 +00:00
toyomoyo
68c5252623
adding functions and interface for access control - role assignment and role overrides
2006-08-18 08:01:16 +00:00
vinkmar
4cd174bfce
Reverting changes to file from admin page cleanup... whoops! Accidentally broke the install.
2006-08-18 07:52:56 +00:00
vinkmar
f8a511519b
admin page cleanup (google soc 2006)... updated field name for category editing function so that it doesn't conflict with 'edit' when used for blocks
2006-08-18 07:29:19 +00:00
vinkmar
7ff99cb64f
admin page cleanup (google soc 2006)... updated to use new pagelib
2006-08-18 07:27:05 +00:00
vinkmar
dd81bb350c
updated for admin page cleanup
2006-08-18 07:26:25 +00:00
vinkmar
90a73bb361
Admin page cleanup (Google soc 2006)
2006-08-18 07:25:17 +00:00
vinkmar
a7c72afc04
Admin page cleanup (google soc 2006)
2006-08-18 07:23:02 +00:00
vyshane
e6416e3f12
Updated upgrade to roles system
2006-08-18 07:08:14 +00:00
vyshane
314af32a92
Forum upgrade to roles in progress (commented out).
2006-08-18 04:17:31 +00:00
skodak
408965376d
still more upgrade logging fixes
2006-08-18 00:01:37 +00:00
skodak
26c91c7394
major upgrade logging speed improvement - write buffer implemented
2006-08-17 23:50:18 +00:00
skodak
7949356d64
fixed missing '}'
2006-08-17 22:49:21 +00:00
skodak
dedb2304cd
upgrade logging cleanup, fixes - more improvements ahead
2006-08-17 22:37:34 +00:00
skodak
031c8ae5a0
Bug #6276 - Multiple questions not showing up from scale page; merged from MOODLE_16_STABLE
2006-08-17 21:34:39 +00:00
stronk7
1bf63d33c8
Oracle automatically builds UIXs for UKs
2006-08-17 19:40:49 +00:00
stronk7
9dcc6300a7
Now all the XMLDBxxx->geSQL functions return an array of statements to be
...
executed (easily to handle them in the installation/upgrade process
individually. Also, it's possible to specify one statement end.
2006-08-17 19:20:45 +00:00
stronk7
de16da7293
adding role_allow_assign , role_allow_override table and dropping role_deny_grant
...
NOTE: Need to confirm that both these fields:
role_allow_assign->allowassign and
role_allow_override->allowoverride
are pointing to role->id (this is the assumption I've done, so I've
created them as FKs)
2006-08-17 19:16:07 +00:00
tjhunt
eb9189bc2f
Bug #6277 - Missed function renaming in question/format/multianswer. Merged from MOODLE_16_STABLE.
2006-08-17 17:38:31 +00:00
tjhunt
8d2054411c
Tweak to unbreak unit tests.
2006-08-17 17:30:56 +00:00
stronk7
4d00e5e4ec
Now admin includes all the required ddllib stuff
2006-08-17 16:59:39 +00:00
stronk7
46d42a3cc5
Now ddllib includes all the required xmldb stuff
2006-08-17 16:59:14 +00:00
stronk7
b7bc9446a9
Added JS template field for JavaScript if needed.
2006-08-17 16:40:46 +00:00
tjhunt
cfa27f4472
Fix bug in new function get_field_select(), and this time add a unittest to see if the new function works!
2006-08-17 16:28:29 +00:00
ethem
b9c3d818fe
enrol_authorize.courseid must be passed to authorize_get_status_action() function to allow a user has_capacity; Joined 2 tables to get courseid field. Merged from 16stable.
2006-08-17 15:43:54 +00:00
tomflannaghan
ca20f89151
Slashes added for database entry.
2006-08-17 13:19:28 +00:00
tomflannaghan
1f9aab2e10
*** empty log message ***
2006-08-17 13:18:02 +00:00
tomflannaghan
b010085239
Javascript added
2006-08-17 09:27:51 +00:00
tomflannaghan
f0a93e5d30
jstemplate
2006-08-17 09:26:31 +00:00
tomflannaghan
5a83945ec5
Extra tab for 'jstemplate'
2006-08-17 09:26:06 +00:00
moodler
8ac4971405
Added JS template field for JavaScript if needed
2006-08-17 09:02:56 +00:00
toyomoyo
f9e2f481df
adding role_allow_assign , role_allow_override table and dropping role_deny_grant
2006-08-17 08:58:51 +00:00
vyshane
c39f126780
Fixed warning
2006-08-17 03:52:05 +00:00
moodler
8b4e649a1e
Automatic installer.php lang files by installer_builder (20060817)
2006-08-17 02:52:18 +00:00
stronk7
6c11ad54d8
UNIQUE KEY is UNIQUE
2006-08-17 00:31:23 +00:00
stronk7
848caec8c2
Now we are able to generate all the module SQL (any RDBMS) with one
...
simple function call (final inserts are missing yet)
2006-08-17 00:16:34 +00:00
stronk7
f075bac4f7
Bah, Oracle requires the default clause BEFORE the not null clause.
2006-08-16 23:45:18 +00:00
stronk7
6aa7885eb5
Minor adjustments to some comments.
2006-08-16 23:17:28 +00:00
stronk7
ada5648103
Fixing some potential problems with prefixes and object names.
2006-08-16 23:01:46 +00:00
stronk7
d7444bfce3
Initial commit of oci8po generator
2006-08-16 22:58:51 +00:00
stronk7
866c0747e8
Line feed added + small bug
2006-08-16 22:23:39 +00:00
stronk7
d7bf5f9917
Initial version of the mssql generator
2006-08-16 21:46:08 +00:00
stronk7
2ad7da9bec
Initial version of the postgres7 generator
2006-08-16 18:41:47 +00:00
stronk7
0c82f279c6
Added one more configuration parameter to disable inline SQL to be added in enum column lines
2006-08-16 18:37:33 +00:00
stronk7
aacf02c55b
Proper parent init and comment close
2006-08-16 17:53:24 +00:00
stronk7
6caad5177d
Minor change to do proper create table close
2006-08-16 17:51:49 +00:00
stronk7
e54ae5264b
Partial rework of the mysql generator. Working now.
2006-08-16 17:43:55 +00:00
stronk7
1f0872e8ba
Changed one default
2006-08-16 17:34:46 +00:00
stronk7
91496d15bc
Initial commit of the base generator class.
2006-08-16 17:28:41 +00:00
tjhunt
b169c31e39
Save two queries if we are not going to output anything.
2006-08-16 16:54:20 +00:00
tjhunt
1d723a169a
Bug #6267 - questionlib.php delete_question infinite loop with rantom questions. Thanks to mbockol at carleton dot edu. Merged from MOODLE_16_STABLE.
2006-08-16 16:17:18 +00:00
stronk7
54121a7921
permission has to be signed integer in mysql. Mimic from sql files
2006-08-16 16:06:37 +00:00
mchampan
6f1b1da1ec
Add/delete/update cron functions added.
...
IndexDBControl class added to abstract some index functionality out.
2006-08-16 13:34:07 +00:00
mchampan
ecebdf0e6e
Date field added to documents.
2006-08-16 13:31:55 +00:00
toyomoyo
b3e900cee6
some more UI change
2006-08-16 09:11:43 +00:00
vyshane
01199ea958
Updated to use new Roles System. Plus some fixes.
2006-08-16 08:54:07 +00:00
tjhunt
920b93d1e3
Remove horrific code duplication in mod/quiz/lib.php.
2006-08-16 08:46:10 +00:00
toyomoyo
77d4953ee2
bumpoing up version, permission has to be signed integer in mysql!!! added new capabilities in access.php
2006-08-16 07:57:51 +00:00
vyshane
e40a7a3c8b
Fixing notices
2006-08-16 03:24:43 +00:00
moodler
f6f5f52a19
Automatic installer.php lang files by installer_builder (20060816)
2006-08-16 02:50:27 +00:00
vyshane
87ca0adf00
Fixed forum_print_post. Thanks Yu :)
2006-08-16 02:33:43 +00:00
tjhunt
a21567892f
Refactor how question types register themselves with the question bank. This change makes it easier for 3rd party question types to control their destiny, but is also backwards compatible, in that old 3rd party plugins will still work.
See http://moodle.org/mod/forum/discuss.php?d=51796 for more details.
2006-08-15 21:25:38 +00:00
tjhunt
eeaeff8e04
Corrected include.
2006-08-15 20:44:21 +00:00
tjhunt
3c957efd2e
Correct comment.
2006-08-15 20:43:09 +00:00
tjhunt
d3eeba599b
Delete stray space.
2006-08-15 16:53:24 +00:00
tjhunt
4e3487c59c
Remove horrific code duplication in mod/quiz/mod.html.
2006-08-15 15:29:38 +00:00
thepurpleblob
8daaaafcf0
Merged from STABLE
2006-08-15 14:39:47 +00:00
tjhunt
ab757152ec
New function get_field_select().
2006-08-15 13:44:22 +00:00
stronk7
edc8779b92
Latest changes, nothing important.
2006-08-15 11:30:32 +00:00
tomflannaghan
72184a52b8
A few fixes for the dropdown menus.
2006-08-15 11:14:07 +00:00
stronk7
82b7ceb568
Just adding support for reserved words....
2006-08-15 10:15:52 +00:00
vyshane
6c384dd1bb
Replaced isteacher and isadmin calls by has_capability
2006-08-15 09:56:41 +00:00
vyshane
f8a6c19d23
Replaced creator() calls with has_capability()
2006-08-15 09:45:11 +00:00
vyshane
9f5c1e1057
Added has_capability calls
2006-08-15 09:28:12 +00:00
stronk7
8165877a17
Initial commit on HEAD of all the XMLDB stuff.
2006-08-15 09:14:31 +00:00
stronk7
f11bf81701
Initial commit of the ddllib (to perform DDL operations)
2006-08-15 09:08:17 +00:00
moodler
901dd2fb4c
Merged new "Database preset" support from Tom Flannaghan.
...
Still needs some tidy-up work but it's working.
2006-08-15 08:42:06 +00:00
toyomoyo
0a8a95c91e
some more UI stuff
2006-08-15 08:29:29 +00:00
vyshane
6006c31d28
Added has_capability call
2006-08-15 06:37:55 +00:00
vyshane
67e4cf27e2
Added has_capability checks
2006-08-15 06:21:35 +00:00
vyshane
bede8db79f
Updated with new capabilities
2006-08-15 05:01:00 +00:00
vyshane
a028c29187
Added new capabilities
2006-08-15 04:13:22 +00:00
toyomoyo
dd91f41525
revert ugly changes back to original
2006-08-15 02:28:04 +00:00
skodak
284ac70210
$CFG->debug=0 from config.php is not overriden by setup.php anymore SC#293; merged from MOODLE_16_STABLE
2006-08-14 20:57:18 +00:00
skodak
508d4a0d14
adding proper checks that the requested help file exists SC#292; merged from MOODLE_16_STABLE
2006-08-14 20:08:52 +00:00
moodler
cfef9e55d0
Endless loop fix from stable
2006-08-14 15:20:49 +00:00
ethem
839958faf6
* $CFG->teachermanagepayments will have to go since we are moving away from the rigid hardcoded teacher role concept.
...
* If a teacher has_capability('enrol/authorize:managepayments'), send email about pending orders expiring.
* All isteacher converted to has_capability.
2006-08-14 15:06:11 +00:00
ethem
4503e31d9a
Roles support added: enrol/authorize:managepayments
...
TO DO:
* $CFG->an_teachermanagepay will be removed.
XXX??? What will be do while sending email to teachers about pending orders expiring???
If this feature enabled and a teacher no role in managepayments, this will send an email and the teacher cannot manage payments.
Extra work: get_course_teachers and a teacher has_capability(at course level), send this email.
* convert isteacher to has_capability.
2006-08-14 14:23:01 +00:00
moodler
10f5c89035
FIxed another ossible notice during upgrade
2006-08-14 13:44:10 +00:00
ethem
abaeae30f7
Guests can NEVER manage payments. CAP_PREVENT to CAP_PROHIBIT.
2006-08-14 13:42:35 +00:00
moodler
9db12da755
Fixed some notices during install
2006-08-14 13:42:34 +00:00
tjhunt
c097419986
Reorder the table definitions in the file, to group them more logically.
2006-08-14 13:32:39 +00:00
ethem
79469c6600
Roles support added: enrol/authorize:managepayments
2006-08-14 13:29:24 +00:00
moodler
c4a333b328
Fixes from forum http://moodle.org/mod/forum/discuss.php?d=46048
2006-08-14 08:59:38 +00:00
vyshane
e6316185ab
Fixed bug in upgrade_plugins(). Capabilities were not being loaded correctly.
2006-08-14 08:59:01 +00:00
skodak
795821c497
fixed warning in participants block
2006-08-14 08:54:45 +00:00
skodak
4c460d9821
fixed admin page layout
2006-08-14 08:52:15 +00:00
toyomoyo
7e2d7c92ad
some UI changes
2006-08-14 08:46:44 +00:00
skodak
b367b152ad
fixed warning during installation when creating admin account
2006-08-14 08:44:30 +00:00
moodler
339a9129ec
Only need to pass contextid to this script
2006-08-14 08:41:54 +00:00
moodler
e957cc2644
Cleaned up a bunch of notices and some logic
2006-08-14 08:38:49 +00:00
skodak
8549af11d1
fixed upgrade success notification, backup and blocks success messages are not red anymore...
2006-08-14 08:37:19 +00:00
moodler
5c524305e3
FIxed 'assign roles' link from course admin
2006-08-14 08:34:11 +00:00
moodler
218564acfc
Fixed bug #6238 , bad debug statements
2006-08-14 08:26:58 +00:00
moodler
e4dd322255
Function to get roles used in a context
2006-08-14 08:14:02 +00:00
skodak
9fecfdfb83
Bug #6245 - rewritten multilang filter
2006-08-14 07:46:03 +00:00
vyshane
951e1073da
Added has_capability calls. Reverted forum_search to pre-roles until the
...
function is totally converted to work with roles.
2006-08-14 07:37:53 +00:00
vyshane
d7bf6d17d9
Fixes for capability checks.
2006-08-14 07:25:18 +00:00
vyshane
cee0901c06
Formatting cleanups and comments
2006-08-14 07:15:03 +00:00
skodak
33851b5c16
prevent access to filters when disabled in filter settings SC#291; merged from MOODLE_16_STABLE
2006-08-14 06:24:34 +00:00
moodler
65f4d137a7
Fixed a typo
2006-08-14 06:22:29 +00:00
moodler
f2e21e6c03
Fix error string
2006-08-14 06:03:30 +00:00
moodler
0468976c9a
SWEEPING CLEANUP
...
The API was changed slightly so that has_capability now takes the
whole $context object (we almost always have it anyway)
The $kill thing was removed. If you want to assert a capability
then use:
require_capability('capname', $context);
with optional variables to modify the error message
Misc bugs here and there also removed and code tidied
2006-08-14 05:55:40 +00:00
mchampan
6e7805628e
Advanced search page added.
2006-08-14 02:29:43 +00:00
tjhunt
a7c3953d1c
SC 289, small, but non-exploitable hole in backup permissions checking. Merged from MOODLE_16_STABLE.
2006-08-13 20:39:21 +00:00
moodler
acee2e2491
Temporayr debug a bit more sensible
2006-08-13 15:50:58 +00:00
moodler
340ea4e89e
Some wider caching
2006-08-13 15:48:57 +00:00
moodler
e5605780cf
Cache context lookup per page for performance
2006-08-13 13:28:01 +00:00
moodler
b63ec9db78
Adding roles to front page course list "add" button
2006-08-13 13:17:38 +00:00
moodler
624f2fea76
Removed some old calls to isadmin
2006-08-13 13:12:51 +00:00
moodler
7fad699525
Tidying up some spelling
2006-08-13 09:29:33 +00:00
moodler
8737be587d
More language-related tidyups and a new get_local_override() function
2006-08-13 09:25:45 +00:00
moodler
ceb83c70ba
Changes to string format for capabilities
2006-08-13 09:11:45 +00:00
moodler
f9a67ea1e2
New strings for Roles and Capabilities
2006-08-13 09:10:52 +00:00
moodler
bade10e350
Removed all of the "Restricted users" hack because Roles can do it all better.
2006-08-13 07:01:57 +00:00
moodler
f633ae28ae
Automatic installer.php lang files by installer_builder (20060813)
2006-08-13 02:49:19 +00:00
stronk7
6750328ba0
Latest changes added + some polish in keys.
2006-08-12 23:03:59 +00:00
stronk7
d236d4f577
Initial version of the XMLDB file for this plugin
2006-08-12 22:26:05 +00:00
stronk7
9bd4d98bc2
Initial version of the XMLDB file for this plugin
2006-08-12 22:19:10 +00:00
stronk7
42173f5121
Initial version of the XMLDB file for this plugin
2006-08-12 21:41:46 +00:00
stronk7
6f398232e6
Added une foreign+unique key
2006-08-12 21:40:30 +00:00
danstowell
ac87088b50
Added download link for all entries as KML
2006-08-12 19:03:16 +00:00
danstowell
94682d3e58
Another couple of latlong strings
2006-08-12 19:02:39 +00:00
danstowell
5cd48bf480
Another couple of latlong strings
2006-08-12 17:37:08 +00:00
danstowell
3af692dba0
Now latlong data types allow you to choose which labels appear in Google Earth
2006-08-12 17:36:22 +00:00
skodak
b8a607d691
fixed format_text caching - now respects text format, current language and course id (lang fix is needed for my multilang filter rewrite ;-); merged from MOODLE_16_STABLE
2006-08-12 12:44:19 +00:00
stronk7
615b4a1391
An example of how one unitialized variable can generate really
...
dificult-to-trace bugs. Thanks to Jens Gammelgaard and support B-)
(http://moodle.org/bugs/bug.php?op=show&bugid=6233 )
Merged from MOODLE_16_STABLE
2006-08-12 09:14:40 +00:00
stronk7
613f306d1d
XMLDB schema initial commit for the quiz module.
...
Some doubts are pending to finish it properly.
2006-08-11 19:29:47 +00:00
stronk7
b08eda731b
Added one FK (recursive) to course_categories
2006-08-11 18:41:39 +00:00
stronk7
49025df359
Added one comment about recursive FK for the future.
2006-08-11 18:36:47 +00:00
stronk7
401846cca7
XMLDB schema initial commit for the lesson module
2006-08-11 17:56:18 +00:00
stronk7
a2a4bfc567
XMLDB schema initial commit for the lams module
2006-08-11 17:39:38 +00:00
stronk7
e0996851da
XMLDB schema initial commit for the label module
2006-08-11 17:37:17 +00:00
stronk7
01c3c55960
Oops, filled now. I forgot to save changes before commit.
2006-08-11 17:31:11 +00:00
stronk7
4121848035
XMLDB schema initial commit for the journal module
2006-08-11 17:29:47 +00:00
stronk7
540c65ba43
XMLDB schema initial commit for the hotpot module
2006-08-11 17:24:55 +00:00
stronk7
2bf10cbf7b
XMLDB schema initial commit for the glossary module
2006-08-11 17:11:46 +00:00
stronk7
b72bed89da
Give some more chars to enum fields.
2006-08-11 16:45:45 +00:00
stronk7
d7a4f74ede
XMLDB schema initial commit for forum module
2006-08-11 16:35:11 +00:00
tjhunt
1b8a7434e2
Bug 6239 - Allow questions to have some teacher-supplied commentary.
...
While implementing this, I removed the ~100 lines of very similar code from the top of each question type's editquestion.html template, and moved this to a the function print_question_form_start() in the base class, which uses the template question/type/editquestionstart.html. This is described in more detail here: http://moodle.org/mod/forum/discuss.php?d=51590 , and is why this patch makes the codebase 523 lines smaller.
2006-08-11 14:59:18 +00:00
danstowell
8161ac9842
Adding new data field type, latlong, to HEAD
2006-08-11 13:17:29 +00:00
bobopinna
431b5cc855
Added two strings
2006-08-11 13:11:53 +00:00
bobopinna
5c1ac70c63
Fixed a problem during scorm update.
...
Now only the lost scoes tracks are deleted
Added support to IMS CP repository
2006-08-11 12:26:06 +00:00
thepurpleblob
57f4a71feb
Merged from STABLE
2006-08-11 12:16:38 +00:00
tjhunt
712c25b10b
Tidy up code flow in helpbutton.
2006-08-11 10:33:29 +00:00
stronk7
f1b2046912
Changing //TRANSLIT to //IGNORE because some weird bug
...
in the OS iconv libraries was breaking some texts.
Merged from MOODLE_16_STABLE
2006-08-11 09:48:35 +00:00
thepurpleblob
7b579ee61f
Merged from STABLE
2006-08-11 08:52:24 +00:00
danstowell
8897f6fa9f
Latitude and longitude lang strings for en_utf8 for data activity
2006-08-11 08:48:28 +00:00
vyshane
df9c66776d
Admin role assignment: changed from using get_string (too brittle) to
...
get_roles_with_capability (more robust).
2006-08-11 03:58:52 +00:00
vyshane
abd896a114
Commented out code that adds the new admin user to user_admins and
...
user_teachers tables from user.php.
Fixed notices in roles/assign.php.
2006-08-11 03:24:37 +00:00
vyshane
0c30fdc924
Modified to support fresh installation of new Roles System.
2006-08-11 02:44:42 +00:00
vyshane
1afecc03f4
Modified to fix installation.
2006-08-11 02:44:02 +00:00
tjhunt
2c3968c407
Major code cleanup of this report (that started as a small code cleanup). None of the functionality should have changed - crosses fingers.
2006-08-10 21:52:07 +00:00
tjhunt
93eb0ea339
Fix comment.
2006-08-10 21:33:53 +00:00
tjhunt
7003072a7f
Fix minor HTML validation issue.
2006-08-10 18:58:26 +00:00
tjhunt
8c8cad45d9
Convert tabs to spaces.
2006-08-10 18:32:32 +00:00
tjhunt
2befe77859
Convert tabs to spaces.
2006-08-10 18:23:09 +00:00
stronk7
c7b39f4737
XMLDB schema initial commit for exercise module
2006-08-10 17:12:00 +00:00
tjhunt
78b26f761c
Typo in comment.
2006-08-10 15:44:52 +00:00
bobopinna
f69db63ed4
Cleaned code
2006-08-10 11:32:48 +00:00
ethem
067d3cd138
Comment added.
2006-08-10 10:55:42 +00:00
stronk7
a1bdf659ad
Adding latest changes, FKs and indexes.
2006-08-10 09:25:52 +00:00
toyomoyo
2a1ab5ecf2
name should be unique key, and should be length 255
2006-08-10 09:07:15 +00:00
toyomoyo
7952cb34ef
changing name field in capabilities table to 255
2006-08-10 09:02:21 +00:00
bobopinna
03f5564e43
Fixed a problem with popup window and IE
2006-08-10 08:27:12 +00:00
toyomoyo
171948fd4a
bumped up version to add keys, changed some more UI
2006-08-10 08:21:29 +00:00
toyomoyo
bcf214dfc4
adding keys for new tables, added migration support too
2006-08-10 08:20:16 +00:00
moquist
da4124beab
Added $return=false parameter to the following functions:
...
print_navigation()
print_headline()
print_heading()
print_heading_with_help()
print_heading_block()
print_continue()
print_simple_box()
print_simple_box_start()
print_simple_box_end()
print_single_button()
print_spacer()
print_file_picture()
print_user()
print_recent_activity_note()
print_group_menu()
print_grade_menu()
print_scale_menu()
print_scale_menu_helpbutton()
Changed $returnstring parameter to $return (for consistency) in the following
functions:
print_user_picture()
print_group_picture()
2006-08-10 06:41:38 +00:00
vyshane
628e2264b1
Adding back lines that mysteriously disapeared.
2006-08-10 05:57:34 +00:00
moquist
469b650119
Added $return=false parameter to print_footer() using output control functions
...
to capture include() of themed footer HTML.
2006-08-10 05:10:00 +00:00
moquist
36b6bcecc0
Added $return=false parameter to print_header() and print_header_simple() using
...
output control functions to deal with the include() of the themed header HTML
file.
2006-08-10 05:01:57 +00:00
moquist
eaeaf964dc
Added $return=false parameter to close_window_button() and choose_from_radio().
2006-08-10 04:33:55 +00:00
moodler
b85956993a
Automatic installer.php lang files by installer_builder (20060810)
2006-08-10 03:00:40 +00:00
toyomoyo
c04ba75f8f
merged fix for a bug when user's lang is not set, fall back to site lang
2006-08-10 02:43:22 +00:00
skodak
805f61dd6c
obfuscation of the email addresses; merged from MOODLE_16_STABLE SC#282
2006-08-09 20:40:31 +00:00
skodak
8fd62c6401
Bug #6199 - A typo in edit.php; merged from MOODLE_16_STABLE
2006-08-09 19:46:32 +00:00
skodak
016ffbd752
Bug #4936 - Highlighting a question text fragment with different color; merged from MOODLE_16_STABLE
2006-08-09 19:31:09 +00:00
skodak
c853b39f50
Bug #6225 - Moodle bug #4658 Breaks assignment type: Upload Single; merged from MOODLE_16_STABLE
2006-08-09 18:36:54 +00:00
tjhunt
dba4e6da97
Document table_column.
2006-08-09 17:46:16 +00:00
stronk7
433a13bc22
index2fk performed
2006-08-09 15:45:27 +00:00
moodler
41811960a1
Added patch from Tim ( http://moodle.org/mod/forum/discuss.php?d=51323#234978 )
2006-08-09 14:16:13 +00:00
moodler
2ad25548c6
Fixed some typos. Thanks Tim!
2006-08-09 14:01:14 +00:00
moodler
f10306b9e2
Removed tabs
2006-08-09 14:00:51 +00:00
moodler
d1516f2064
Fixed a typo, thanks Tim
2006-08-09 13:55:05 +00:00
moodler
ee4a52c59e
Removed tabs
2006-08-09 13:53:12 +00:00
moodler
dabfd0ed85
Removed tabs
2006-08-09 13:45:49 +00:00
moodler
bee7ee3815
Removed tabs
2006-08-09 13:39:44 +00:00
moodler
5ec8a4f009
Removed tabs
2006-08-09 13:18:33 +00:00
moodler
9888263703
Removed tabs
2006-08-09 13:14:15 +00:00
moodler
30725d5a3b
Tabs and some random formatting fixes
2006-08-09 13:11:53 +00:00
stronk7
388e9ab212
One more FK in blocks system.
2006-08-09 11:56:02 +00:00
skodak
563e64e3de
Bug #6106 - HTML editor inserting unwanted hard return between images; merged from MOODLE_16_STABLE
2006-08-09 09:37:01 +00:00
vyshane
7613e6d7d1
More updates in lib.php
2006-08-09 09:18:31 +00:00
vyshane
f0eb2ffe85
Added mod/forum:viewhiddentimedposts
2006-08-09 09:17:37 +00:00
vyshane
53d7785b4a
Added moodle/site:viewfullnames
2006-08-09 09:16:35 +00:00
vyshane
0fa18d5a27
Bug fixes + updated capabilities.
2006-08-09 06:59:28 +00:00
moodler
ced70cb63d
More Roles-related strings
2006-08-09 05:54:27 +00:00
moodler
f21d80947c
Fix up the admin listing a bit
2006-08-09 05:53:36 +00:00
moodler
927bf46f3c
Tidy-ups
2006-08-09 05:37:53 +00:00
moodler
aa31141173
Small cleanup of a notification
2006-08-09 05:37:31 +00:00
moodler
4ed70f1b6e
Some new strings
2006-08-09 05:35:55 +00:00
moodler
ec0810ee2d
Some fixes to make the context more readable for humans
2006-08-09 04:51:05 +00:00
toyomoyo
07a9cdb544
tables went missing =(
2006-08-09 04:00:44 +00:00
skodak
f9d5371b28
new function get_coursemodule_from_id() is now used for obtaining of valid $cm from coursemodule id SC#283
2006-08-08 22:09:55 +00:00
stronk7
9c642ecacb
Initial XMLDB schema for data tables. Using FKs where they are obvious.
2006-08-08 17:00:44 +00:00
stronk7
305ebf6849
Initial XMLDB schema for choice tables. Using FKs where they are obvious.
2006-08-08 17:00:03 +00:00
stronk7
14e1b02e68
Initial XMLDB schema for chat tables. Using FKs where they are obvious.
2006-08-08 16:59:35 +00:00
stronk7
5a1d835487
Adding some unsigned keywords here and there and implementing role tables
2006-08-08 09:04:55 +00:00
toyomoyo
e9871557be
some UI change for roles
2006-08-08 08:31:21 +00:00
toyomoyo
90f7a7d509
adding unsigned
2006-08-08 08:30:10 +00:00
toyomoyo
e6723f80dc
these tables should not be there,,
2006-08-08 08:04:01 +00:00
vyshane
9af1611a06
Replaced capability mod/forum:viewdiscussionsfromallgroups by
...
moodle/site:accessallgroups in code. Removed former from mod/forum/db/access.php.
2006-08-08 06:56:09 +00:00
vyshane
27950688bb
Added moodle/site:accessallgroups capability.
2006-08-08 06:45:25 +00:00
moodler
bbbf2d4015
ROLES AND PERMISSIONS - FIRST CHECK-IN
...
=======================================
WARNING: DEV IS CURRENTLY VERY UNSTABLE.
This is a mega-checkin of the new Roles system. A lot of changes have
been made in core and modules.
Currently there are a lot of rough edges and known problems. We are
working hard on these .. .the reason for getting this into HEAD at this
stage is enable us to move faster (our branch was diverging from HEAD
too much).
Please keep an eye on http://docs.moodle.org/en/Roles for current status
and information for developers on how to use the new Roles system.
2006-08-08 05:13:06 +00:00
moodler
394577c3e4
Automatic installer.php lang files by installer_builder (20060808)
2006-08-08 02:48:27 +00:00
stronk7
2bcd169775
Hack to link from the admin interface to the XMLDB editor.
2006-08-07 19:47:03 +00:00
stronk7
ab8bfc7eee
Two new strings to display the XMLDB editor under the admin page.
2006-08-07 19:45:02 +00:00
stronk7
cbd645bf96
Initial commit of assignment XMLDB file. Stopping now from now. Going to document things...
2006-08-07 19:02:46 +00:00
stronk7
e80d52526d
Initial commit for enrol tables XMLDB
2006-08-07 18:52:27 +00:00
stronk7
08b6ce833d
Initial commit for rss block tables
2006-08-07 18:40:37 +00:00
stronk7
158c1b3035
Initial commit of blocks XMLDB schema
2006-08-07 18:30:46 +00:00
stronk7
a689637d0f
Polishing a bit key and indexes names...
2006-08-07 18:02:15 +00:00
stronk7
dff83d0bdc
Initial XMLDB implementation of Moodle backup tables
2006-08-07 17:58:19 +00:00
stronk7
67d7d69494
Initial XMLDB implementation of Moodle Core.
2006-08-07 17:38:06 +00:00
skodak
3e46c6ec5a
Swf now disabled by default in Mediaplugin and added explanation SC#284; merged from MOODLE_16_STABLE
2006-08-07 14:53:53 +00:00
moodler
214f1402ac
Automatic installer.php lang files by installer_builder (20060806)
2006-08-06 02:50:52 +00:00
tjhunt
5a14d563b9
Bug #5972 - Some question types mark a blank answer inconsistently.
...
Also, cleaned up the marking code for numerical and short answer questions, partly by making the base-class method more useful.
Rewrote the way the way short answer questions do wildcard matching to be more robust, Unicode safe, and generally not suck.
This is a big change, so I am pleased to report I tested it using my new Selinium test suite. See: http://moodle.org/mod/forum/discuss.php?d=51161
2006-08-04 16:53:43 +00:00
tjhunt
00c300692f
Fix whitespace.
2006-08-04 16:47:57 +00:00
tjhunt
0b4ce29d8d
Matching question would fill in the right answer after an incorrect attempt.
2006-08-04 12:28:39 +00:00
martinlanghoff
cbfad05c86
login: forgot password now works for guest again (bug #6214 )
2006-08-04 06:11:48 +00:00
martinlanghoff
bed24ce7f5
mod/assignment if we are not using a numeric scale and a custom scale
...
return that as the max grade
Author: Jun Yamog <jun@catalyst.net.nz >
2006-08-04 05:51:31 +00:00
skodak
2c93e66a4c
merging forgotten changes from MOODLE_16_STABLE; sorry for the breakage ;-)
2006-08-03 19:19:23 +00:00
tjhunt
bc5694133a
Bug #6206 - Quiz can't be created on some mysql configurations. Merged from MOODLE_1.6_STABLE.
2006-08-03 16:30:38 +00:00
skodak
df77b427d5
check_dir_exists() has new recursive parameter - it should help clean up the restore code a bit and could be handy elsewhere too; tested in both linux and windoze
2006-08-02 19:40:58 +00:00
mchampan
56e924061e
Resource doc type and Zend readme changed.
2006-08-02 15:31:59 +00:00
mchampan
c629cfed33
Option for additional search types added.
2006-08-02 15:17:46 +00:00
mchampan
01e6afe2cd
String issue fix in ZF.
2006-08-02 15:15:45 +00:00
moodler
f505236c51
Automatic installer.php lang files by installer_builder (20060802)
2006-08-02 02:47:38 +00:00
koenr
3e35ad3397
string is necessary in 1.6 (so must stay here for backward compatibility of translated language packs, created with Moodle editor)
2006-08-01 19:58:07 +00:00
skodak
9e72ebd678
improved redirect() - faster and more standards compliant
2006-08-01 18:02:42 +00:00
skodak
583fad994c
Bug #5352 - upgrade might be interrupted by user - upgrades are now logged into moddata/upgradelogs/, user abor is ignored and concurrent running of upgrades is prevented from one browser
2006-08-01 07:46:19 +00:00
toyomoyo
0c23b59c9b
merfed fix for 6178
2006-08-01 05:12:13 +00:00
skodak
bfc38bb2eb
merging changes from MOODLE_16_STABLE
2006-07-31 18:21:42 +00:00
skodak
a8ff58dd2c
merging changes from MOODLE_16_STABLE
2006-07-31 18:10:02 +00:00
skodak
889e6b46f4
Bug #6147 - Upgrade from 1.5.x breaks with Postgres 7.4.x
...
Even though Postgres 7.4.x is officially supported, several upgrade scripts use syntax that only works in Postgres 8.x. and it's impossible to finish the upgrade.
The attached patch fixes those scripts.
Saludos. I�aki.
Author: I�aki Arenaza
Review: Jun Yamog, Martin Langhoff
merged from MOODLE_16_STABLE
2006-07-31 18:04:10 +00:00
skodak
365525fc51
Bug #6147 - Upgrade from 1.5.x breaks with Postgres 7.4.x
...
Even though Postgres 7.4.x is officially supported, several upgrade scripts use syntax that only works in Postgres 8.x. and it's impossible to finish the upgrade.
The attached patch fixes those scripts.
Saludos. I�aki.
Author: I�aki Arenaza
Review: Jun Yamog, Martin Langhoff
merged from MOODLE_16_STABLE
2006-07-31 17:54:32 +00:00
ethem
d9d69929f5
Don't show authorize.net password for security reasons. Merged from 16stable.
2006-07-31 12:45:34 +00:00
ethem
0127848e11
Don't show authorize.net password for security reasons. Merged from 16stable.
2006-07-31 12:37:12 +00:00
skodak
3ea3763a18
Bug #6146 - Smiley popup can not be translated; merged from MOODLE_16_STABLE
2006-07-31 10:28:12 +00:00
skodak
1322b7199a
fixed warning when no referer available; merged from MOODLE_16_STABLE
2006-07-31 10:05:23 +00:00
skodak
d1a66080d5
Bug #6168 - missing link for course request - fixed; merged from MOODLE_16_STABLE
2006-07-31 09:18:52 +00:00
martinlanghoff
0ff463ae95
assignment: count_user_files() no longer creates extraneous dirs (bug#4658)
...
Applied the fix by Samuli.Karevaara, from the bug report - the directory is checked for existence beforehand.
Previously it was created if it didn't exist, then the files within it were counted.
Author: Luke Hudson <luke@catalyst.net.nz >
2006-07-31 04:56:58 +00:00
martinlanghoff
51886e2fb4
wiki: Added a link to force reloading of the page (WR#515)
...
The link allows the page to be reloaded, which saves people from only seeing the cached copy. This is the equivalent of doing Shift+Reload in most
browsers.
Author: Luke Hudson <luke@catalyst.net.nz >
2006-07-31 04:56:12 +00:00
martinlanghoff
c1cda9df45
forum: notification of a moved dicussion (bug#4874)
...
Moving a discussion now leaves a notification message in the
original location with a link to the new location.
Author: Luke Hudson <luke@catalyst.net.nz >
2006-07-31 04:54:44 +00:00
julmis
5113b779f6
First attempt to indentify special tags and nicely formatted output
2006-07-31 01:45:22 +00:00
julmis
bb9cd4503a
Merging from stable
2006-07-30 23:24:43 +00:00
skodak
3d05094553
SC #280 force downloading of database files; merged from MOODLE_16_STABLE
2006-07-30 22:44:50 +00:00
skodak
95d5682927
Bug #6170 - Glossary bug: it displays nothing when autolinking to non-ascii text and other minor cleanup; merged from MOODLE_16_STABLE
2006-07-30 22:22:22 +00:00
skodak
36259d1bd3
Bug #6135 - Reduce unnecessary use of strtolower to make non-English languages look better; merged from MOODLE_16_STABLE
2006-07-30 21:47:43 +00:00
skodak
be933850a7
Bug #6176 - locale setting on config variables page not functioning correctly; merged from MOODLE_16_STABLE
2006-07-30 10:39:21 +00:00
moodler
8ee8f34bff
Automatic installer.php lang files by installer_builder (20060730)
2006-07-30 02:47:40 +00:00
koenr
bfb2734ed4
updating install.html (see bug 4759) Changed some links.
...
Should that file really be there?
2006-07-29 20:40:20 +00:00
koenr
4239429527
making one perfectionist happy (bug 5646)
2006-07-29 20:00:26 +00:00
skodak
e9515eb3ec
Bug #6181 - icelandic doesn't migrate; merged from MOODLE_16_STABLE
2006-07-29 09:44:33 +00:00
skodak
592c30370c
Bug #6184 - unexpected T_OBJECT_OPERATOR on Admin/blocks; PHP 4.x compatibility
2006-07-29 09:08:56 +00:00
skodak
f4f6599085
Bug #6183 - typo in clean_param() description; merged from MOODLE_16_STABLE
2006-07-28 20:57:19 +00:00
mchampan
0961c4e654
Added constant for search database table.
2006-07-28 13:27:44 +00:00
mchampan
fef0afe183
Changed $doc->id to $doc->docid to prevent clashes with Zend Search's internal
...
$doc->id
2006-07-28 13:27:15 +00:00
tjhunt
7d6af8ca5a
Bug #6185 - bug with matching questions.
2006-07-28 10:56:47 +00:00
tjhunt
bdfad57b83
Added information to a comment.
2006-07-28 10:55:37 +00:00
urs_hunkler
89240f2f30
*** empty log message ***
2006-07-27 20:37:58 +00:00
urs_hunkler
f88d969277
*** empty log message ***
2006-07-27 20:27:33 +00:00
urs_hunkler
13351b29b8
*** empty log message ***
2006-07-27 20:18:27 +00:00
ethem
9dec3768bc
Merged from 16stable.
2006-07-27 16:11:11 +00:00
skodak
0e29ee3af7
Fixed Call to undefined function: print_progress() in /usr/share/moodle/admin/upgradeforumread.php; merged from MOODLE_16_STABLE
2006-07-27 11:49:52 +00:00
ethem
08b9be083c
Bug: Sending email to admins/teachers the count of pending orders expiring. "Column 'timecreated' in where clause is ambiguous."
...
We joins 2 tables: course and enrol_authorize. We didn't select course.timecreated, but it gives this error.
Merged from MOODLE_16_STABLE.
2006-07-27 10:57:58 +00:00
tjhunt
9a1e5f0a5f
Clarified unit test failure message.
2006-07-27 10:43:14 +00:00
tjhunt
fad28a7451
More unit tests for numerical question type.
2006-07-27 08:32:50 +00:00
moodler
3088953230
Automatic installer.php lang files by installer_builder (20060727)
2006-07-27 02:50:35 +00:00
mchampan
defb87ba90
Glossary indexing added, used to demonstrate that it's relatively simple
...
to add a new module to the indexing queue.
2006-07-26 11:29:35 +00:00
moodler
ed35659607
Automatic installer.php lang files by installer_builder (20060726)
2006-07-26 02:43:53 +00:00
ethem
36e5d9b7e1
Merged from 16stable.
2006-07-25 17:38:32 +00:00
mchampan
b585dc5fcb
General updates, see README.txt.
2006-07-25 17:23:10 +00:00
mchampan
d9e1bf2478
Initial commit
2006-07-25 17:10:58 +00:00
ethem
8692e35c77
New string: costdefaultdesc
...
<strong>In course settings, enter -1</strong> to cost field to use this default cost; Merged from 16stable.
2006-07-25 17:00:41 +00:00
tjhunt
22f2f41810
Start of unit tests for numerical question type.
2006-07-25 07:08:21 +00:00
ethem
8895a9cdc8
Sometimes ssl connections are slow. Increase max_execution_time to 5 minutes. Merged from 16stable.
2006-07-24 16:32:38 +00:00
tjhunt
3b48ba9dc1
Bug #6157 - lang strings using concatenation, not $a. Merged from MOODLE_16_STABLE.
2006-07-24 14:40:48 +00:00
ethem
fc9e83ed5c
* Update record as soon as possible. If update/insert record fails email to admin to have update manually.
...
* ignore_user_abort(true) at critical section (before fwrite($fp, "POST /gateway/transact.dll).
This is last change to ignore request for user.
* Made some functions "static" to call function directly. So, no need new enrolment_plugin_authorize() instance.
Now, these are static:
get_list_of_creditcards, zero_cost, get_course_cost, prevent_double_paid, email_to_admin, check_openssl_loaded
* Some mtrace cleanup. Removed default new line.
This is big work. When PHP5 is required for moodle in the future, I will add static modifier to functions.
Now and future, this plugin is/will unbreakable; Merged from MOODLE_16_STABLE. :)
2006-07-24 12:19:20 +00:00
skodak
b245d2e707
Bug #6159 Site settings interface typo - Combo list - my first commit form UK MoodleMoot :-); merged from MOODLE_16_STABLE
2006-07-24 10:33:34 +00:00
danmarsden
f2b7abf058
Bug #5882 ldap enrolment doesn't work. $USER->student getting munged
...
patch from I?aki.
2006-07-24 00:37:58 +00:00
danmarsden
0ba66a5de0
Bug 6130 session has bad entries causes calendar to fail showing events
...
Workaround untill Session is fixed properly.
2006-07-24 00:15:54 +00:00
danmarsden
e4aa175a92
Fixes for Bug 5749 and Bug 5750
...
summary of bug 5749 and 5750
fixes for: function causes timeout when deleting temporary files for large scorm objects
scorm\validate.php calls function scorm_delete_files from scorm\lib.php - but lib.php not included in validate.php
Validation of Scorm objects broken - adds entry in modules database even when scorm object is not created.
2006-07-23 23:48:09 +00:00
danmarsden
1e0c4d67fd
Fix for Bug 6119 - gives error when choice full, and user submits a choice they have already selected
2006-07-23 22:14:31 +00:00
danmarsden
5ac207d98e
fix for Bug #4733 title gets garbled when html inside title.
2006-07-23 22:05:18 +00:00
moodler
d2308eb9ea
Automatic installer.php lang files by installer_builder (20060722)
2006-07-22 02:44:19 +00:00
tjhunt
87ee4968e5
Bug #4811 (and several dups!) - Matching questions should treat identical answers as the same.
2006-07-21 13:58:00 +00:00
tjhunt
43595a3370
Replace a few odd tabs with spaces. Merged from MOODLE_16_STABLE.
2006-07-21 08:03:23 +00:00
stronk7
3f5adc4af1
Keeping this in sync with 16_STABLE
2006-07-21 07:56:27 +00:00
tjhunt
393c9d489a
Bug #5946 - matching question php notice. Merged from MOODLE_16_STABLE.
2006-07-21 07:21:45 +00:00
urs_hunkler
b08c4173ea
merged, corrected bug with teacger rights
2006-07-21 05:00:02 +00:00
ethem
769b3187c2
x_auth_code is required for capture only transactions!
...
NOTE: Capture only transactions have not implemented yet!
2006-07-20 14:48:03 +00:00
skodak
57ea9c8fff
fixed minor PHP5 compatibility problem with clone(); merged from MOODLE_16_STABLE
2006-07-20 06:54:44 +00:00
skodak
249ab74573
Bug #6075 - file admin/index.php is ISO encoded - headers broken by ob_end_flush(), fixed version check; merged from MOODLE_16_STABLE
2006-07-20 06:39:48 +00:00
skodak
5e60122254
Bug #6141 - Cron output is not plain text - <pre> and missing encoding, minor lang issues; merged from MOODLE_16_STABLE
2006-07-20 06:36:33 +00:00
skodak
250f78be94
Bug #6097 - HTML editor and brackets - fixes lesson problems; merged from MOODLE_16_STABLE
2006-07-20 06:32:38 +00:00
ikawhero
9f76a845ff
Fixed typo. Merged from stable.
2006-07-20 01:33:11 +00:00
skodak
5337b2b727
yet another fix for course list for guests; merged from MOODLE_16_STABLE
2006-07-19 13:59:06 +00:00
skodak
d35d50bf94
fixed course list for guests; merged from MOODLE_16_STABLE
2006-07-19 13:45:13 +00:00
skodak
fe2920ad54
admin should not see list of courses on the frontpage when there are too many of them; merged from MOODLE_16_STABLE
2006-07-19 13:37:09 +00:00
skodak
d157bd5b28
fixed course/index.php category display affected by previous commit - improved category and course list display on front page; merged from MOODLE_16_STABLE
2006-07-19 13:16:57 +00:00
skodak
1bc6fc82b6
section not always moved when requested - page reloading prevented by anchor; added random parameter to force reloading; merged from MOODLE_16_STABLE
2006-07-19 12:52:06 +00:00
skodak
a987106d9e
Bug #6093 - Removed course sections re-appear after moving existing sections; merged from MOODLE_16_STABLE
2006-07-19 12:30:39 +00:00
skodak
6f24e48e1f
Improved category and course list display on front page- see bug Bug #5965 - Frontpage Category List also showing courses; new Combo List(categories + courses), fixed categories list and separate settings for not logged in / logged in users; merged from MOODLE_16_STABLE
2006-07-19 12:10:07 +00:00
moodler
fa145ae1af
Merged fixes from stable
2006-07-19 10:21:52 +00:00
skodak
ad0f9c828e
Bug #6136 - Hard coded admin paths; merged from MOODLE_16_STABLE
2006-07-19 08:13:25 +00:00
tjhunt
45d5305e19
Bug #6048 - Fix 'are you sure you want to start an attempt' warning.
2006-07-18 16:49:33 +00:00
stronk7
8f7211fc2c
minor bump to perform some changes on grade_letter
...
Mimic from MOODLE_16_STABLE
2006-07-18 16:35:52 +00:00
stronk7
d272c2feb8
Fixing one recently added DB upgrade. Please be careful on STABLE!
...
Mimic from MOODLE_16_STABLE
2006-07-18 16:35:15 +00:00
tjhunt
d7444d442f
Bug #6033 - missing string for unknown questiontype. Also tidied up some messy code. Merged from MOODLE_16_STABLE.
2006-07-18 15:34:24 +00:00
tjhunt
1367cb8d6b
SC#277. Merged from MOODLE_16_STABLE.
2006-07-18 13:33:45 +00:00
tjhunt
ee26dfd17b
Bug #6116 - Quiz database upgrade scripts call renamed function by the old name. Merged from MOODLE_16_STABLE.
2006-07-18 11:01:06 +00:00
urs_hunkler
1ec4315887
remove styles_layout.css
2006-07-18 09:21:39 +00:00
urs_hunkler
296ed48e99
merged from 1.6 - enhancements and bugfixes, works now in Safari and Konqueror
2006-07-18 09:11:35 +00:00
urs_hunkler
d4b912c242
merged from 1.6 - some CSS changes
2006-07-18 08:10:29 +00:00
skodak
f90238b303
Bug #2149 - admin/creators.html javascript error; merged from MOODLE_16_STABLE
2006-07-18 07:17:13 +00:00
skodak
8332de167d
Bug #6134 - error of coding, in function grade_download_form(); merged from MOODLE_16_STABLE
2006-07-18 06:43:29 +00:00
martinlanghoff
2338ad3239
Close Bug #5670 - get_courses_page() - remove costly and redundant DISTINCT
...
get_courses_page() uses get_records_sql() which means that it will actually
break if the first field requested isn't c.id. This in turn means that
the DISTINCT is not needed at all.
So let's go fast again!
2006-07-18 04:39:01 +00:00
martinlanghoff
cb6f407365
Course restore - Restrict shortname to <= 15 characters, like the database table.
...
Author: Donal McMullan <donal@catalyst.net.nz >
2006-07-18 03:35:02 +00:00
moodler
23458f0d30
Automatic installer.php lang files by installer_builder (20060718)
2006-07-18 02:40:53 +00:00
toyomoyo
626fddc8f5
merged fix for a bug where user can view site blogs when not logged in
2006-07-18 02:28:25 +00:00
martinlanghoff
3279a35540
auth/db: When using internal passwords we must register auth_update_user_password()
...
Now users can update their password correctly. We did have this before, I
wonder if it got dropped in a merge.
2006-07-18 01:36:47 +00:00
martinlanghoff
bd18fe9ced
auth/db: use auth_validate_form() to set auth_db_stdchangepassword when passtype is 'internal'
...
When using the 'internal' password handling, set auth_db_stdchangepassword
so we allow users to change their password normally.
2006-07-18 01:36:24 +00:00
martinlanghoff
1590773b1c
auth: extend API to support auth_validate_form()
...
Now Auth plugins can register auth_validate_form to get a chance
to validate config form input. Needed on MOODLE_16_STABLE to fix
a bug with auth/db.
The auth API must follow suit with the enrol API, where we can safely
do method_exists().
2006-07-18 01:36:06 +00:00
skodak
2d4fb02fa2
Bug #1395 - Calandar view.php should respect forcelogin; merged from MOODLE_16_STABLE
2006-07-17 21:08:01 +00:00
tjhunt
a92a796a6a
Bug 6092 - Give quiz finish time as well as start time in the quiz overview report.
2006-07-17 16:35:34 +00:00
skodak
1b4035b074
Bug #6129 - Incorrect glossary import file size limit; merged from MOODLE_16_STABLE
2006-07-17 13:35:05 +00:00
tjhunt
da298d8201
Bug 5840 - Image not displayed in Cloze question. Thanks to Joseph Rezeau for the fix. Merged from MOODLE_16_STABLE.
2006-07-17 08:57:30 +00:00
skodak
43d774a94f
Bug #6120 - Course creation - loginproblem; merged from MOODLE_16_STABLE
2006-07-17 08:39:36 +00:00
skodak
639835274c
workaround by Dan for bug #6130 , fixed some warnings; merged from MOODLE_16_STABLE
2006-07-17 07:31:22 +00:00
martinlanghoff
63aea8815d
enrol API: Updated documentation
2006-07-17 06:02:10 +00:00
stronk7
cd58557ae0
Close properly the showentry page. Bug 5986.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5986 )
Merged from MOODLE_16_STABLE
2006-07-16 09:01:03 +00:00
moodler
9448bfca23
Automatic installer.php lang files by installer_builder (20060716)
2006-07-16 02:38:13 +00:00
stronk7
c67303bd97
Soled bug 6089 plus some minor iteration savings...
...
(http://moodle.org/bugs/bug.php?op=show&bugid=6089 )
Merged from MOODLE_16_STABLE
2006-07-15 08:39:50 +00:00
skodak
3984a18589
Bug #6080 - Loancalc block doesn't define a footer string; merged from MOODLE_16_STABLE
2006-07-14 21:05:14 +00:00
skodak
e25f766dee
todo: add detection of incorrect chars in wwwroot; merged from MOODLE_16_STABLE
2006-07-14 20:57:08 +00:00
tjhunt
062a7522c2
Bug 6111 - Rewrite the code for making an indented list of question categories, becase the existing code was so horrible. Merged from MOODLE_16_STABLE.
2006-07-14 15:36:29 +00:00
mchampan
91ad9557c1
Fixed pagination in query page (lines were too long, distorting table),
...
and added results caching to improve query time when browsing pages of the
same query. Wiki document strips (x.x.x.x) ip field from author field now.
2006-07-14 13:58:46 +00:00
sam_marshall
44c55d4662
Added hooks so that blocks can create functions that are run when they are installed and uninstalled. The base implementation does nothing.
2006-07-14 11:17:46 +00:00
moodler
a62b843a51
Automatic installer.php lang files by installer_builder (20060714)
2006-07-14 02:37:32 +00:00
skodak
15a6cf334f
Bug #6099 - Restore alternatively failing on data module - fixed status codes of module restore process; merged from MOODLE_16_STABLE
2006-07-13 15:38:03 +00:00
moodler
418b4e5a5f
Merged new variable $CFG->allowvisiblecoursesinhiddencategories from stable
2006-07-13 14:18:29 +00:00
tjhunt
a36f058e53
Bug 6101 - Automatically scroll to any errors when upgrading the database. JavaScript thanks to Andrew Walker. PHP changes are my fault.
2006-07-13 09:48:56 +00:00
moodler
118917bf17
Checking YUI into Moodle for future AJAX work
2006-07-13 08:35:43 +00:00
moodler
7bf59275a7
Merged assignment updates from stable
2006-07-13 07:50:13 +00:00
moodler
fcdcc372f1
Integrating the "AU Assignment type" into Moodle (which was based on
...
Upload&Review).
It's not tested and probably needs polishing, but people seem to love it
as it is.
http://moodle.org/mod/forum/discuss.php?d=46829
2006-07-13 07:17:51 +00:00
skodak
afda6b5681
Bug #6087 - alphabetic problem in glossary; merged from MOODLE_16_STABLE
2006-07-12 20:29:18 +00:00
tjhunt
bba6c85f24
Bug 5968 - Improvements to the numerical question type. You can now display feedback for wrong answers. You can also award partial credit for different levels of accuracy.
2006-07-12 18:10:22 +00:00
tjhunt
fc05b7d1ca
Doh! remove debug code. Sorry.
2006-07-12 17:54:45 +00:00
tjhunt
1fe641f7b4
Bug 5968 - Improvements to the numerical question type. You can now display feedback for wrong answers. You can also award partial credit for different levels of accuracy.
2006-07-12 17:49:14 +00:00
tjhunt
78b9c960e9
Fixed notice when restoring a numerical question with no units.
2006-07-12 17:37:36 +00:00
moodler
b574487ae9
Automatic installer.php lang files by installer_builder (20060712)
2006-07-12 08:35:53 +00:00
martinlanghoff
7199fcd466
Fixed installer langpacks for sm and to.
2006-07-12 06:38:09 +00:00
skodak
18478666ca
fixed printing of filenames from zip archives - SC#273; merged from MOODLE_16_STABLE
2006-07-12 05:57:28 +00:00
moodler
e6e6ca0389
Automatic installer.php lang files by installer_builder (20060712)
2006-07-12 02:36:01 +00:00
martinlanghoff
07b76bad6a
chat: Prevent user from submitting a 2nd message before his 1st is received.
...
Some users reported that mod/chat was silently dropping some messages. The
user's browser may not be able to keep up with the rate at which he submits
chat messages. This update keeps things sane.
Merged from MOODLE_16_STABLE
Author: Donal McMullan <donal@catalyst.net.nz >
2006-07-12 02:29:12 +00:00
stronk7
1a9b9a0143
Emulate file_put_contents() under PHP 4.3.x
2006-07-11 17:42:21 +00:00
mchampan
a25a3912f7
Search functions moved from mod/name/lib.php to search/documents/mod_document.php.
...
Pagination added to query page. Various small changes and amendments.
2006-07-11 17:15:22 +00:00
tjhunt
079aa26d7d
Bug #6077 - Teacher saving their grades destroys student essay! Merged from MOODLE_16_STABLE.
2006-07-11 16:14:23 +00:00
mchampan
e0eb89a13e
Initial commit
2006-07-11 16:08:47 +00:00
danstowell
12a2567375
Small fix, and a bit more output, for IMS enroller
2006-07-11 14:09:26 +00:00
skodak
496d06443a
better cleaning of $file parameter SC#276; merged from MOODLE_16_STABLE
2006-07-11 13:19:52 +00:00
skodak
b2ec10959a
workaround for Bug #6035 - editing quiz in one tab changes quiz in other; merged from MOODLE_16_STABLE
2006-07-11 13:02:42 +00:00
skodak
4e060ab972
Bug #6067 - The restore process behaves differently depending on which module contains the absolute links; merged from MOODLE_16_STABLE
2006-07-11 10:01:33 +00:00
moodler
18ab25bccd
new installer.php file added. (stronk7)
...
Merged from MOODLE_16_STABLE
2006-07-11 09:43:22 +00:00
toyomoyo
2256c10d36
merged changing of feedback for the function that handles user table
2006-07-11 03:36:13 +00:00
moodler
10c51050fe
Automatic installer.php lang files by installer_builder (20060711)
2006-07-11 02:38:03 +00:00
skodak
5109569b69
Bug #5988 - Branch Tables in 1.6+ (Lesson Module); merged from MOODLE_16_STABLE
2006-07-10 22:39:58 +00:00
skodak
46341ab710
Bug #5732 - Lesson Scores "out of XX" marks report incorrect mark; merged from MOODLE_16_STABLE
2006-07-10 21:52:12 +00:00
ethem
411df816d6
- authorize_expired function added to lessen the code.
...
- All functions in authorize plugin are named with authorize_ prefix.
Merged from 16stable.
2006-07-10 10:17:23 +00:00
moodler
6476b0afe7
CSS templates weren't being backed up!
2006-07-09 02:03:22 +00:00
skodak
81b0eec894
Bug #6050 - import glossary entries to new glossary not creating new glossary; merged from MOODLE_16_STABLE
2006-07-07 19:54:22 +00:00
thepurpleblob
1e8639290f
Merged from STABLE
2006-07-07 10:36:56 +00:00
skodak
2af7f6e266
fixed warning in glossary export, merged from MOODLE_16_STABLE
2006-07-06 21:27:00 +00:00
skodak
10ab3efc35
Bug #5820 - IE returns unsecure items with SSL on login; merged from MOODLE_16_STABLE
2006-07-06 15:53:46 +00:00
thepurpleblob
0fade9ed01
Merged from STABLE
2006-07-06 14:01:52 +00:00
ethem
f9bfa458a2
Some outputting debugging info for cron. Merged from 16stable.
2006-07-06 13:41:55 +00:00
danstowell
6d19caab41
Change to make LDAP enroller simply ignore accounts with blank idnumber - see moodle.org discussion with Inaki
2006-07-06 13:13:42 +00:00
ethem
1c23b14db3
- Daily cron seperated from main cron for performance.
...
- Performance for welcome message sending to students. Order by student. This sends only one message for each students.
Merged from MOODLE_16_STABLE.
2006-07-06 12:01:24 +00:00
ethem
8ca28a6119
New string: welcometocoursesemail
2006-07-06 11:54:27 +00:00
tjhunt
ec23db087c
Bug 6031 - missing parameter for warningmissingtype in libquestionlib.php. Merged from MOODLE_16_STABLE.
2006-07-06 11:09:24 +00:00
skodak
2cc14e87d3
Bug #4698 - Login block is broken!, improved cookie test; merged from MOODLE_16_STABLE
2006-07-06 10:11:06 +00:00
tjhunt
68d07f8b01
6030 - Can't move question categories back to the top level. Merged from MOODLE_16_STABLE.
2006-07-06 10:07:26 +00:00
skodak
84a9db331f
Bug #5921 - editing forum post bug; merged from MOODLE_16_STABLE
2006-07-06 10:01:12 +00:00
skodak
246444b975
Bug #5615 - Assigment listing shows duplicate names with paged display; merged from MOODLE_16_STABLE
2006-07-06 09:47:48 +00:00
tjhunt
16750bcd85
File header cleanup.
2006-07-06 09:45:02 +00:00
thepurpleblob
2c4ef1504f
Merged from STABLE
2006-07-06 08:37:56 +00:00
martinlanghoff
330b0bb2ad
wiki: fix for IE6 bug with HTMLArea, where the text area is not drawn
...
IE6 measures a page element and - sometimes - it does this before the
element is drawn, so the dimensions it finds are zero. This update sets
sensible minimum for the width.
Author: Donal McMullan <donal@catalyst.net.nz >
2006-07-06 05:38:53 +00:00
martinlanghoff
95900e17f2
wiki: Fix for broken view on new (empty) wiki pages.
...
The wiki should display the 'edit' screen when a user tries to view a page
that doesn't exist. This output should not be filtered.
Merged from MOODLE_16_STABLE
Author: Donal McMullan
2006-07-06 05:08:11 +00:00
tjhunt
df7d152e77
Improved on-screen instructions for matching questions.
2006-07-05 15:39:27 +00:00
mchampan
abb4ea20d4
Cleaned up files, fixed some discrepancies and made sure strings that needed escaping
...
used the correct function. Add description comments to files.
2006-07-05 14:37:16 +00:00
thepurpleblob
71ffbac2da
merged from STABLE
2006-07-05 12:39:35 +00:00
tjhunt
9e452c0d7b
Layout similar question types more consistently.
2006-07-05 12:32:53 +00:00
tjhunt
645d76103b
Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. And another one.
2006-07-05 12:19:11 +00:00
tjhunt
974383f976
Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. And another one.
2006-07-05 12:00:23 +00:00
tjhunt
0c24ee0fbf
Bug 5971 - Allow matching questions to have extra wrong answers - supplimental. I missed a bit last time.
2006-07-05 11:58:14 +00:00
thepurpleblob
eaaf06f1ce
Merged from STABLE
2006-07-05 11:51:08 +00:00
sam_marshall
ba75ad9400
Minor changes to send_file():
...
* Wrote phpdoc comment that documents all parameters
* Added $mimetype param (default empty) that can be used if MIME type is already known and doesn't need guessing from filename
2006-07-05 11:10:37 +00:00
tjhunt
00aeaec820
Bug 6019: Quiz timer does not submit the form when it reaches zero. Merged from MOODLE_16_STABLE.
2006-07-05 10:43:53 +00:00
skodak
8a91d7fcf3
changed memory limit test in healthcenter; merged from MOODLE_16_STABLE
2006-07-05 08:38:34 +00:00
skodak
9bbb40d631
healthcenter fixes - new extra whitespace detection, fixed automatic slasharguments detection; merged from MOODLE_16_STABLE
2006-07-05 07:44:20 +00:00
toyomoyo
8ab2baa8f3
merged fix for a problem where globallang is not respected in user table
2006-07-05 01:55:29 +00:00
tjhunt
a58ffe3fe2
Bug 5971 - Allow matching questions to have extra wrong answers.
2006-07-04 17:11:00 +00:00
skodak
aedbbbcf9c
fix for mysqladmin links; merged from MOODLE_16_STABLE
2006-07-04 09:41:47 +00:00
skodak
bc1544bfc7
Bug #5909 - Fix use of user_group() because it returns arrays now - part 2 forum search fixed too; merged from MOODLE_16_STABLE
2006-07-04 08:32:05 +00:00
skodak
06622f92fc
fixed $site->id warning; merged from MOODLE_16_STABLE
2006-07-04 06:05:25 +00:00
skodak
81e10e950d
Bug #6007 - "The requested URL /course/report/log/view.php was not found on this server" merged from MOODLE_16_STABLE
2006-07-04 05:27:18 +00:00
moodler
21c5d4ed3d
Automatic installer.php lang files by installer_builder (20060704)
2006-07-04 02:38:09 +00:00
skodak
f262874bbe
Bug #5909 - Fix use of user_group() because it returns arrays now - part 1; merged from MOODLE_16_STABLE
2006-07-03 21:11:17 +00:00
skodak
13d32e2297
Bug #5974 - Course overview report should not error when stats are not up to date; fixed by changing the return value from stats_check_uptodate(), NULL is now OK, string value describes error and adding notify() where needed; merged from MOODLE_16_STABLE
2006-07-03 15:43:41 +00:00
tjhunt
4f9c6e279c
Rename lang file as per Martin's request.
2006-07-03 10:04:04 +00:00
skodak
d61989033f
Bug #5991 - The calendar does not show the month's first day's event; merged from MOODLE_16_STABLE
2006-07-03 09:10:12 +00:00
skodak
7eb60c262a
Bug #5995 - poor English in expiry notice; merged from MOODLE_16_STABLE
2006-07-03 07:21:20 +00:00
skodak
dbfa9ccd8d
Bug #5996 - block+resource=problem; merged from MOODLE_16_STABLE
2006-07-03 06:26:38 +00:00
moodler
050e11247b
Automatic installer.php lang files by installer_builder (20060701)
2006-07-01 02:38:26 +00:00
tjhunt
3ef8c9362d
Bug #5979 - Check in the OU's unit testing framework. Docs at http://docs.moodle.org/en/Unit_tests
2006-06-30 14:59:05 +00:00
skodak
6544f8d896
slashargument fix for healthcenter, better diagnostic messages; renamed file.php/pic.jpg option to file.php/1/pic.jpg because the course number is mandatory; merged from MOODLE_16_STABLE
2006-06-30 13:46:25 +00:00
skodak
629c25da67
cleanup in admin/index.php; preparation for health center, loginas gui, password salts; merged from MOODLE_16_STABLE
2006-06-30 13:06:31 +00:00
skodak
79b37009fc
fixed // in course root when browsing files; merged from MOODLE_16_STABLE
2006-06-30 11:56:37 +00:00
tjhunt
c358d62055
Bug 5967 - Missing lang strings and help for quiz reports. Merged from MOODLE_16_STABLE.
2006-06-30 10:31:44 +00:00
skodak
06cfc6db58
Bug #5961 - small grammar error; merged from MOODLE_16_STABLE
2006-06-30 07:36:06 +00:00
skodak
aba588a726
Bug #5802 - Incorrect length in http partial content (206) packets.; merged from MOODLE_16_STABLE
2006-06-30 07:23:08 +00:00
moodler
95e86170a2
Automatic installer.php lang files by installer_builder (20060630)
2006-06-30 02:41:15 +00:00
skodak
9c1cd39de5
Bug #5937 - Fix nonascii chars in graphs:
...
* text is converted to unicode - no html entities anymore
* then all nonascii chars are converted to decimal number entites
* default.ttf is searched in dataroot/lang and local language packs too
* removed lang_decode() - obsoleded by proper entity converison above
* updated documentation in lang/en_utf8/fonts/README.txt
merged from MOODLE_16_STABLE
2006-06-29 21:22:16 +00:00
ethem
3b34491b95
Put back last commit. If cost is 0, it always falls back to manual method.
2006-06-29 19:13:12 +00:00
ethem
11fffc6059
Merged from MOODLE_16_STABLE.
2006-06-29 19:07:28 +00:00
moodler
5e2194494b
new installer.php file added. (stronk7)
...
Merged from MOODLE_16_STABLE
2006-06-29 16:55:24 +00:00
ethem
b1c87d90dc
$teacher is used in manual form. No need global. merged from 16stable.
2006-06-29 15:03:54 +00:00
ethem
665d43006a
get_student_courses and get_teacher_courses functions added for future reference.
...
Cron description added. Merged from 16stable.
2006-06-29 12:44:01 +00:00
ethem
8389613abb
Don't show choose method string if course cost is 0. Merged from 16stable.
2006-06-29 11:27:32 +00:00
ethem
c4e2966709
New string. No cost yet. Merged from 16stable.
2006-06-29 11:12:08 +00:00
ethem
c1f6386c47
Interactive plugins (authorize and paypal ) must use 'manual'.
...
Some patches must be applied to lib/db.
http://moodle.org/bugs/bug.php?op=show&bugid=5941
Look: version.patch, lib_db.patch
Eloy, your question about enrol fields for interactive plugins were solved.
Now, we sure we never use authorize and paypal field for backup and restore.
Because manual is active and cannot be disabled when restoring.
Bug #5358 - Add support for enrol systems in backup/restore
http://moodle.org/bugs/bug.php?op=show&bugid=5358&pos=0
Merged from 16 stable.
2006-06-29 10:38:34 +00:00
ethem
c1a2545882
Bug #5941 - Myriad of problems with Paypal enrollmemts, au_enrol.patch
...
Merged from 16 stable.
2006-06-29 09:49:36 +00:00
skodak
895a45e231
Bug #5944 - error message when moving thread; merged from MOODLE_16_STABLE
2006-06-29 08:01:48 +00:00
skodak
8b23c04a12
Bug #5952 - bad links in "about wysiwyg editor" merged from MOODLE_16_STABLE
2006-06-29 07:20:37 +00:00
skodak
4630e4e483
Bug #5953 - problem in /auth/ldap/lib.php; merged from MOODLE_16_STABLE
2006-06-29 07:05:00 +00:00
skodak
eb073d70ad
Bug #5955 - link to help item for html editor looks funny; merged from MOODLE_16_STABLE
2006-06-29 07:00:27 +00:00
skodak
62ce993db3
Bug #5959 - save and view takes to wrong place; merged from MOODLE_16_STABLE
2006-06-29 06:53:53 +00:00
skodak
036c0fcb1a
Bug #5960 - can't delete or edit comments; merged from MOODLE_16_STABLE
2006-06-29 06:48:31 +00:00
moodler
71b2e4986f
Automatic installer.php lang files by installer_builder (20060629)
2006-06-29 02:38:54 +00:00
tjhunt
04a4cd2a0e
Bug #5918 - essay question comments from teachers lost in 1.6 upgrade. Thanks to Mark Nielsen the suggestion of how to fix. Merged from MOODLE_16_STABLE.
2006-06-28 17:21:53 +00:00
mchampan
bef08835f7
Corrected database prefix_ errors
2006-06-28 16:12:08 +00:00
skodak
d6e1bd8092
Bug #5941 - Myriad of problems with Paypal enrollmemts, part 3 - fixed 'login as student' button, now plain guest login action; merged from MOODLE_16_STABLE
2006-06-28 15:38:04 +00:00
skodak
e87fe61524
Bug #5941 - Myriad of problems with Paypal enrollmemts, part 2 - Login as guest not shown to guests and there is login link instead of paypal button for guests; merged from MOODLE_16_STABLE
2006-06-28 15:26:31 +00:00
skodak
7c24284126
minor loginas cleanup; merged from MOODLE_16_STABLE
2006-06-28 14:58:30 +00:00
skodak
44adc9032b
Bug #5941 - Myriad of problems with Paypal enrollmemts, part 1; merged from MOODLE_16_STABLE
2006-06-28 12:45:28 +00:00
tjhunt
82b5d7cd8e
Bug #5922 - comment from manualgraded questions lost during regrade. Thanks to Jean-Michel Vedrine for the fix. Merged from MOODLE_16_STABLE.
2006-06-28 11:45:11 +00:00
tjhunt
5190eed81b
Bug #5945 : Lang string name missmatch when starting quiz attempt. Merged from MOODLE_16_STABLE.
2006-06-28 10:13:40 +00:00
moodler
9e0c1e331c
Automatic installer.php lang files by installer_builder (20060628)
2006-06-28 02:37:47 +00:00
mudrd8mz
1bd9b44a33
* Hide preview link when editing docs\ files. I have not found any way how to display
...
local documenation pages in 1.6. More comment in bug 4972
* Hide the form when displaying non-editable files (like en_utf8 ones).
2006-06-28 01:02:54 +00:00
skodak
43f06aa027
Bug #5927 - extending enrollments doesn't; merged from MOODLE_16_STABLE
2006-06-26 21:58:35 +00:00
skodak
a251b76547
Bug #5931 - blocks block database; merged from MOODLE_16_STABLE
2006-06-26 21:35:05 +00:00
skodak
b3d4840d39
assignments on mymoodle page, Bug #5839 - Found more than one record in get_record_sql !; merged from MOODLE_16_STABLE
2006-06-26 16:16:43 +00:00
skodak
6865c1ff89
fixed broken stats image link, Bug #5924 - User profile statistics tab; merged from MOODLE_16_STABLE
2006-06-26 13:49:03 +00:00
tjhunt
5e60643e1b
Bug 5889 - Regrading a quiz wipes student answers. Thanks to Jean-Michel Vedrine for the fix. Merged from MOODLE_16_STABLE.
2006-06-26 11:23:32 +00:00
toyomoyo
b7425e2ebc
merged fix for 5916
2006-06-26 08:32:39 +00:00
skodak
77cf4951b7
fixed Turkish problems see, Bug #5878 - Teachers can't add blog and blocks; merged from MOODLE_16_STABLE
2006-06-26 07:23:10 +00:00
vyshane
4e5e7d54b5
Merged from 1.6 stable. Error message now displays using notify() instead of
...
error() when purging of old RSS feeds fail during a discussion move.
2006-06-26 04:44:41 +00:00
mchampan
682d403259
Initial commit
2006-06-25 23:07:36 +00:00
stronk7
1cd1252752
Some minor changes in order to avoid some notices...
2006-06-25 10:16:45 +00:00
julmis
63183a0932
Commenting out ob_gzhandler
...
Merging from stable
2006-06-23 19:53:26 +00:00
danstowell
87075ec1cd
Fixed typo which caused images in questions to fail to display if NOT using slasharguments
2006-06-23 15:06:23 +00:00
stronk7
83c020ba20
Sending Yu's change to support custom langs to HEAD.
...
Changed progress info to 1000 records (from 5000). This
makes the script a bit more responsive on browser stops.
If finally approved, this should go to 16_STABLE too. (+1 for it)
2006-06-22 23:39:42 +00:00
thepurpleblob
2cb6db51f3
Merged from STABLE
2006-06-21 10:19:46 +00:00
toyomoyo
d7f0baa944
merged fix for 5881
2006-06-21 03:13:46 +00:00
moodler
15983a967b
Automatic installer.php lang files by installer_builder (20060621)
2006-06-21 02:41:28 +00:00
ethem
bd4669d344
Very small change. A little performance for cron if admin enabled sending email for pending orders expiring.
...
1- If dailysettlement is 00:05 and cron executes at this time, nothing will occur. If it is executes at 00:10 it works. I think "<" works faster then "<=" :))
2- Don't compare course->ids by authorize->courseid, because courses are grouped by courseid. We sure each line is unique.
3- Only get pendingorderexpiring strings for sending email if course teachers exist.
Merged from 16stable.
2006-06-20 17:22:00 +00:00
stronk7
c17d7ead6a
helper string to explain $CFG->doctonewwindow added.
...
Merged from MOODLE_16_STABLE
2006-06-20 14:23:58 +00:00
stronk7
7038fe44bf
Now docs are showed in a new window based on $CFG->doctonewwindow
...
Merged from MOODLE_16_STABLE
2006-06-20 13:53:09 +00:00
stronk7
d3b9dbad78
Added new option to decide if docs will be showed in a new window.
...
Merged from MOODLE_16_STABLE
2006-06-20 13:41:56 +00:00
mits
71e367bd8a
Changed <hr> widh of header.html.
...
Added <hr> to footer.html.
Changed color of "HOME" button.
Eloy, thanks for good suggestion.
2006-06-19 18:20:18 +00:00
mits
21bc85d65a
Added back homelink to oceanblue theme based on standard theme.
2006-06-19 16:36:51 +00:00
moodler
2de506e1da
Merged homelink from stable
2006-06-19 16:32:00 +00:00
moodler
e6dd6b9a68
No need for error when deleting RSS feed
2006-06-19 16:20:35 +00:00
moodler
25fb38d465
Merged tag block context fixes from stable
2006-06-19 14:17:55 +00:00
moodler
adc7b679aa
Merged user tab visibility from stable
2006-06-19 13:52:39 +00:00
moodler
c1edf72575
Merged header fix from stable
2006-06-19 13:38:17 +00:00
toyomoyo
08cf9e250d
merged, changed copyright to © to validate better
2006-06-19 03:53:26 +00:00
toyomoyo
6c525f490d
merged, gives IE a bit more time to print
2006-06-19 03:30:08 +00:00
vyshane
68efe393f6
Merge from 1.6. New class FPDF_Protection. See bug #5855 .
2006-06-19 02:41:44 +00:00
moodler
fb06b25570
Merged migration fixes from stable
2006-06-18 10:09:58 +00:00
moodler
e5f121c6c1
Merged XHTML fix from stable
2006-06-18 08:21:35 +00:00
moodler
a6320cc0b8
Merged helplink fix from stable
2006-06-18 08:10:52 +00:00
moodler
c96a3047ec
Merged header fixes from stable 1.6
2006-06-18 07:45:22 +00:00
moodler
feec09eecf
Merged fix for bug 5830 into dev
2006-06-16 09:42:38 +00:00
moodler
2de48ff93d
Added check for $CFG->disablemycourses
2006-06-16 04:28:56 +00:00
toyomoyo
e3ec7995a7
merged, centering of tabs on blog page issue
2006-06-16 02:59:37 +00:00
mjollnir_
ca79268087
merged from MOODLE_16_STABLE: participants list last access filter should only show for teachers! I noticed this on moodle.org this morning :|
2006-06-15 21:37:20 +00:00
ethem
2bc509a3c1
$a->course: course information added. Merged from stable.
2006-06-15 14:23:04 +00:00
ethem
8dd19dd3d2
$a->course: course information added.
2006-06-15 14:08:41 +00:00
ethem
e3df6104f4
pendingordersemailteacher string added
...
merged from stable
2006-06-15 13:37:25 +00:00
ethem
fa6a9cba16
pendingordersemailteacher string added
2006-06-15 13:25:47 +00:00
ethem
b9e829691e
When the number of pending orders expiring are sent to the teachers via email, which one is important? The number of the orders or the total of the amounts.
...
Merged from 16 stable.
2006-06-15 12:55:39 +00:00
ethem
43457b5f0f
When the number of pending orders expiring are sent to the teachers via email, which one is important? The number of the orders or the total of the amounts.
...
Merged from 16 stable.
2006-06-15 12:27:49 +00:00
tjhunt
1cc1fa2425
Bug #5825 redonly attribute does not work on checkboxes, so using disabled instead when displaying quizzes read-only.
2006-06-15 10:12:17 +00:00
ethem
b282e815d5
Order by order count. Courses that have many orders are emailed first. Merged from 16_stable.
2006-06-15 08:06:52 +00:00
toyomoyo
2217ff8d50
merged fix for 5633
2006-06-15 06:33:13 +00:00
toyomoyo
5365eebf9f
merged fix for 5814
2006-06-15 03:24:33 +00:00
ethem
50172716a3
Email subject for pending orders expiring.
...
Merged from stable.
2006-06-14 16:32:08 +00:00
ethem
a0333291ba
Email subject for pending orders expiring.
...
Merged from stable.
2006-06-14 16:26:01 +00:00
ethem
4670207162
Email subject for pending orders expiring.
2006-06-14 16:17:46 +00:00
tjhunt
0b34616411
Moved constant definitions out of function, so they are not run repeatedly giving lots of warnings. Merged from MOODLE_16_STABLE.
2006-06-14 15:35:27 +00:00
tjhunt
ee800653e4
Corrected reference to lang string and fixed a notice. Merged from MOODLE_16_STABLE.
2006-06-14 15:32:55 +00:00
ethem
71e27db713
If admin set up 'Teachers can manage the payments of the course' and enabled 'Manual-Capture', course teachers are notified about pending orders expiring. Merged from MOODLE_16_STABLE.
2006-06-14 11:53:50 +00:00
vyshane
883f4e3dc6
Merged fix from 1.6 for bug:
...
Notice: Undefined property: id in /home/moodle/public_html/certificate/mod/forum/discuss.php on line 38
This happens when the user is not logged in and wants to view a forum of type
news.
2006-06-14 08:47:19 +00:00
moodler
05b7eba955
Merged print_error fix from stable
2006-06-14 03:17:19 +00:00
moodler
a503a59068
Automatic installer.php lang files by installer_builder (20060614)
2006-06-14 02:36:00 +00:00
tjhunt
0d8b8f1777
Quiz module sometimes left the user staring at a blank page. Now there is an error message. Merged from MOODLE_16_STABLE.
2006-06-13 18:59:41 +00:00
tjhunt
6f1991905d
Bug #5812 - Standard theme font size CSS not sufficiently defensive. Merged from MOODLE_16_STABLE.
2006-06-13 18:55:25 +00:00
ethem
c9ad76139d
Link to Payment Management page. Merged from 16stable.
2006-06-13 18:31:09 +00:00
ethem
f404747bf1
Link to help file 'Order Review'. Merged from 16stable.
2006-06-13 18:04:25 +00:00
ethem
0483b0823c
Help file for 'Order Review'.
2006-06-13 17:51:11 +00:00
ethem
f00a651c61
Predict the time of settlement at first time. Probably, admin user set up own country timezone and we can use this time as settlement time.
...
Merged from 16stable.
2006-06-13 16:05:15 +00:00
tjhunt
3fae19dd98
Bug #5810 missing ' > 7' in debug test. Merged from MOODLE_16_STABLE.
2006-06-13 14:37:45 +00:00
ethem
e758a8f627
? Capture_Only transaction added.
...
Capture_Only transactions are used when you already have an authorization from a bank.
To use this type of transaction, you will need an authorization code from the card-issuer (usually a 5 or 6 digit number).
For example, if you called Visa directly and obtained an authorization over the phone,
you would need to submit a Capture_Only transaction to start the funds transfer process.
You can manually submit a Capture_Only transaction from your Virtual Terminal by selecting Capture Only,
or from a website or billing application by including the following variables with your transaction request:
? x_Type (Capture_Only)
? x_Auth_Code (the 5 or 6 digit code provided by the card-issuer)
2006-06-13 07:58:04 +00:00
vyshane
9dc3d3255d
Merged from 1.6. Fix for Bug #5767 - Section links block is removed from
...
course view after settings update.
2006-06-13 07:50:02 +00:00
tjhunt
ff1b2fadbe
Fix restore notice. Merged from MOODLE_16_STABLE.
2006-06-12 15:37:05 +00:00
tjhunt
f92cf442db
Bug #5793 : remember whether Show all has been clicked in the question bank. Merged from MOODLE_16_STABLE.
2006-06-12 13:54:01 +00:00
tjhunt
4f7eaab661
Bug #5790 : Answer order for MC qtype not specified. Fix. Thanks to Peter Bulmer. Merged from MOODLE_16_STABLE.
2006-06-12 11:05:39 +00:00
toyomoyo
2e434c01e9
merged proper html for help file
2006-06-12 07:25:18 +00:00
toyomoyo
dec87f2e28
merged, a few mismatch of length between db and this html
2006-06-12 07:18:58 +00:00
toyomoyo
1ed1b33e40
adding help file
2006-06-12 04:09:21 +00:00
moodler
df2f835eeb
Merged changes from stable
2006-06-11 06:48:56 +00:00
stronk7
5dd95d35e5
Due to one potential bug in PHP under Win32 ( http://bugs.php.net/37775 )
...
the [[cntrl]] pcre class was breaking some chars. Changed to a safer
alternative. Bug 5777.
(http://moodle.org/bugs/bug.php?op=show&bugid=5777 )
Merged from MOODLE_16_STABLE
2006-06-10 23:33:49 +00:00
stronk7
c0bd060a58
Change the moodle_strtolower() function to use textlib services.
...
Also, mark it as deprecated, code should use text services directly.
Partially, bug 5777. It continues under investigation.
(http://moodle.org/bugs/bug.php?op=show&bugid=5777 )
Merged from MOODLE_16_STABLE
2006-06-10 10:40:16 +00:00
moodler
318192731e
Automatic installer.php lang files by installer_builder (20060610)
2006-06-10 02:34:51 +00:00
moodler
b1c8f1bcaa
Automatic installer.php lang files by installer_builder (20060610)
2006-06-09 18:56:41 +00:00
moodler
6afefb9aa0
Automatic installer.php lang files by installer_builder (20060610)
2006-06-09 17:09:45 +00:00
stronk7
b944917b2e
Automatic installer.php lang files by installer_builder (20060609)
2006-06-09 15:52:58 +00:00
stronk7
407e95edbd
Automatic installer.php lang files by installer_builder (20060609)
2006-06-09 15:29:45 +00:00
stronk7
f6c08703b6
Automatic installer.php lang files by installer_builder (20060609)
2006-06-09 15:11:03 +00:00
nfreear
782792047b
Fix bug 5611 (Skip block), across 4 files. Extra parameter $title in weblib.php: print_side_block, edits to moodleblock.class.php, Standard style, en_utf8 language pack.
2006-06-09 14:25:18 +00:00
stronk7
9fd0678fdd
The absolutely incredible bug! It was working being wrong! Bug 5775.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5775 )
Merged from MOODLE_16_STABLE
2006-06-09 14:23:55 +00:00
nfreear
d65611c3fe
Fix bug 5611 (Skip block), across 4 files. Extra parameter $title in weblib.php: print_side_block, edits to moodleblock.class.php, Standard style, en_utf8 language pack.
2006-06-09 14:21:25 +00:00
ethem
ecf2f1ac3d
Sending email for pending orders expiring string (adminemailexpired) seperated.
...
Settings moved to adminemailexpsetting.
Merged from stable.
2006-06-09 11:25:57 +00:00
ethem
673d602458
Show 'name on card' string instead of moodle.php's user string. Merged from MOODLE_16_STABLE.
2006-06-09 11:00:18 +00:00
ethem
aed6497003
Some config sections 'Order Review' moved to
...
an_teachermanagepay -> Site-Wide Settings
an_emailexpired: -> Email-Sending Settings
an_cutoff: -> Authorize.net Settings
merged from 16stable.
2006-06-09 10:30:01 +00:00
stronk7
daec7cda9b
One notice() was preventing the upgrade to 1.7dev to continue. Bug 5773.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5773 )
2006-06-09 10:15:03 +00:00
stronk7
d96466d29f
Moving from lastIP to lastip everywhere. Bug 5763.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5763 )
Merged from MOODLE_16_STABLE
2006-06-09 10:04:43 +00:00
stronk7
d836482a34
Moving from lastIP to lastip everywhere. Bug 5763.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5763 )
Merged (more or less) from MOODLE_16_STABLE
2006-06-09 09:47:01 +00:00
stronk7
c766b9dfaa
Avoid empty processing both for PLAIN_SQL_UPDATE and PHP_FUNCTION
2006-06-09 09:16:09 +00:00
mudrd8mz
45428e8614
* Fixed bug 5745 reported by Harry Smith so now can edit en_utf8_local pack
...
* More notification messages included
2006-06-09 08:48:45 +00:00
toyomoyo
cc841d67b0
merged, fixed a bug that blog tabs are displayed when blog is diabled
2006-06-09 02:53:16 +00:00
bobopinna
7d3f4007cb
Removed a doubled text
2006-06-08 15:38:56 +00:00
bobopinna
89354664d3
change advanced to parameters
2006-06-08 15:36:55 +00:00
bobopinna
7ad2067fd7
Fixed some language refinements
2006-06-08 15:22:24 +00:00
bobopinna
a681c2b0f9
Fixed language refinements
2006-06-08 15:16:14 +00:00
vyshane
fd45188142
Help content for available tags (data module). Merged from 1.6.
2006-06-08 08:28:23 +00:00
vyshane
da52f1523c
Merge from 1.6. Fix for scorm_option2text(). options field is now saved
...
proprely.
2006-06-08 07:39:37 +00:00
skodak
9ef80fa4aa
Bug #5663 - errors after changing grade weight; merged from MOODLE_16_STABLE
2006-06-08 06:39:14 +00:00
skodak
f2fe353f2b
Fixed course searching; merged from MOODLE_16_STABLE
2006-06-08 06:25:05 +00:00
vyshane
535fc3e907
Merged from 1.6. Added missing string.
2006-06-08 06:20:09 +00:00
toyomoyo
e3cfd5d717
merged fix for 5748
2006-06-08 04:08:04 +00:00
toyomoyo
1c994d89f8
merged, changed recordsize to 50
2006-06-08 02:46:45 +00:00
stronk7
cb27c4e823
Solve one issue with skipped courses and email to admin
...
being set every xx minutes. Bug 5621.
(http://moodle.org/bugs/bug.php?op=show&bugid=5621 )
Merged from MOODLE_16_STABLE
2006-06-07 22:22:21 +00:00
ethem
a17f20183e
Unnecesary strings removed. Merged from MOODLE_16_MERGED
2006-06-07 18:47:09 +00:00
stronk7
8326d5afa3
Now the question_attempts creation and dotation will be
...
only executed if it hasn't been done in MOODLE_16_STABLE. Bug 5717.
(http://moodle.org/bugs/bug.php?op=show&bugid=5717 )
2006-06-07 17:56:47 +00:00
skodak
e7251cdd21
Bug #5522 - question/restorelib.php error; merged from MOODLE_16_STABLE
2006-06-07 14:57:26 +00:00
skodak
c2f3feed17
incorrect course number in categories after course delete; merged from MOODLE_16_STABLE
2006-06-07 14:05:44 +00:00
danstowell
67e3f5b540
Fix to ensure default auth method is copied to new user records
2006-06-07 10:44:12 +00:00
vyshane
b134f6a71e
Merged fix from 1.6 for Bug #5131 - RSS Feeds and Moving Discussions.
2006-06-07 08:19:34 +00:00
toyomoyo
b6640a76ba
merged fix for 5720
2006-06-07 06:05:03 +00:00
toyomoyo
257c550aae
merged fix for 5720
2006-06-07 05:59:25 +00:00
toyomoyo
9073d2ddad
merged, small changes to javascript progress bar 1) updates correctly when resuming 2) number of tables not hard coded anymore
2006-06-07 04:32:05 +00:00
toyomoyo
92cf4ecc12
merged, changes made to process user table on row basis. added migrate2utf8_user function. please help test and report bugs!
2006-06-07 04:11:10 +00:00
skodak
d12cb320b3
Bug #5659 - Problem with build-in buttons when creating templates; merged from MOODLE_16_STABLE
2006-06-06 20:55:25 +00:00
skodak
332fbc3027
Bug #5734 - Enrolled students can't access metacourse after unhiding while logged in; merged from MODOLE_16_STABLE
2006-06-06 19:01:46 +00:00
tjhunt
f801c7e028
Fix notices when you restore a course with no parent or child courses. Merged from MOODLE_16_STABLE.
2006-06-06 17:27:15 +00:00
tjhunt
c078b2527b
Fix notices when you restore a course with an empty forum. Merged from MOODLE_16_STABLE.
2006-06-06 17:25:00 +00:00
tjhunt
37611ee17c
Bug #5559 : revised fix - using better CSS class names. Merged from MOODLE_16_STABLE.
2006-06-06 17:10:04 +00:00
stronk7
93e779c236
Adding two new strings for RESTRICTED tests in environmenlib.
2006-06-06 17:02:19 +00:00
stronk7
95a39282bf
Now environmentlib supports RESTRICT sections (to be able to deny
...
any general test with more detail (the opposite to the BYPASS section)
(http://moodle.org/bugs/bug.php?op=show&bugid=5653 )
Merged from MOODLE_16_STABLE
2006-06-06 16:19:17 +00:00
skodak
3cdd4eeba0
Bug #5535 - Database module backup error in 1.5.4, patch submitted by Patrick Pollet ; merged from MOODLE_16_STABLE
2006-06-06 15:12:51 +00:00
bobopinna
ba5d423b21
Fixed some regular expressions Bug 5041
2006-06-06 14:30:32 +00:00
tjhunt
7d83bbc2bd
Bug #5506 : Fix for calculated questions where each one builds on the last. Merged from MOODLE_16_STABLE.
2006-06-06 14:29:05 +00:00
tjhunt
4919564de9
Fix notices from the quiz module on backup and restore. Merged from MOODLE_16_STABLE.
2006-06-06 14:15:48 +00:00
tjhunt
331ca29783
Make cron a bit more rebust by changing the way the require is done. Merged from MOODLE_16_STABLE.
2006-06-06 14:12:04 +00:00
skodak
002ccfc7a0
Bug #5678 - Question marks, single quotes in field name cause trouble - cleaning hack ported from clean_filename(); merged from MOODLE_16_STABLE
2006-06-06 10:17:18 +00:00
tjhunt
9aafe70227
Fix notice. Merged from MOODLE_16_STABLE.
2006-06-06 10:10:43 +00:00
skodak
f9e5457f16
Bug #5680 - Fixed duplicate field names; merged from MOODLE_16_STABLE
2006-06-06 09:35:15 +00:00
skodak
f0e52f67df
Bug #5444 - Import PowerPoint - PHP5 clone bug; merged from MOODLE_16_STABLE
2006-06-06 08:53:54 +00:00
vyshane
0f423e9d64
New admin stats report. This report module makes use of /course/report/stats/.
...
Merged from 1.6.
2006-06-06 05:31:42 +00:00
vyshane
030605e57a
Merge from 1.6. Refactored this report module so that we can use it as an
...
admin report module.
2006-06-06 04:15:04 +00:00
tjhunt
3e734b607d
Bug #5672 : Make calculated questions less confusing to create. Merged from MOODLE_16_STABLE.
2006-06-05 16:59:58 +00:00
tjhunt
6d456aa2c1
Fixed reference to incorrect language string. Merged from MOODLE_16_STABLE.
2006-06-05 14:24:13 +00:00
ethem
9a4502dd1d
Some cron performance. Run clean-ups and send email daily on settlement date.
...
an_nextmail config deleted, instead of old config new an_dailysettlement inserted into config_plugins table.
Merged from MOODLE_16_STABLE.
2006-06-05 13:12:28 +00:00
skodak
989a0a5203
Bug #5725 - Assignment grading pop up windows do not close, broken by 4976; merged from MOODLE_16_STABLE
2006-06-05 12:18:13 +00:00
fyang1024
3353b091f6
add learner link when user is a teacher
2006-06-05 10:01:42 +00:00
bobopinna
4023c0aa2d
Fixed a typo
2006-06-05 08:21:45 +00:00
bobopinna
7cef1dfd3d
Added class name for the IFRAME element
2006-06-05 07:38:46 +00:00
bobopinna
b7679957eb
Fixed modified names for some constants [Bug 5695]
2006-06-05 07:21:03 +00:00
skodak
e369e0c4b4
Bug #5715 - error message in messaging - notice lastaccess; merged from MOODLE_16_STABLE
2006-06-04 23:11:18 +00:00
skodak
fce786b146
Bug #5721 - students cannot take quiz when course language set to French; merged from MOODLE_16_STABLE
2006-06-04 23:01:13 +00:00
skodak
d971525f28
fixed warning when no students graded yet (caused by useless assignment); merged from MOODLE_16_STABLE
2006-06-04 21:35:26 +00:00
skodak
7e4fe17600
merged last two commints into MOODLE_16_STABLE
2006-06-04 21:11:04 +00:00
skodak
32625a72f4
merged fixes from MOODLE_16_STABLE
2006-06-04 20:57:35 +00:00
stronk7
ee6e91d4af
make_default_scale() now searches properly under
...
both dataroot and dirroot, defaulting to en_utf8. Bug 5719.
(http://moodle.org/bugs/bug.php?op=show&bugid=5719 )
Merged from MOODLE_16_STABLE
2006-06-04 15:19:05 +00:00
stronk7
ae57b07c06
report XXXX actions added. Bug 5714.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5714 )
More or less, merged from MOODLE_16_STABLE
2006-06-04 00:54:34 +00:00
stronk7
2efeb14832
course report xxxx actions now are supported on restore. Bug 5714.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5714 )
Merged from MOODLE_16_STABLE
2006-06-04 00:03:12 +00:00
skodak
f4f0bc84cb
Bug #5716 - Impossible to turn off highlighted current topic; merged from MOODLE_16_STABLE
2006-06-03 23:49:15 +00:00
stronk7
b841722573
icourse report xxxx actions must send courseid in the info field. Bug 5714.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5714 )
Merged from MOODLE_16_STABLE
2006-06-03 20:37:55 +00:00
stronk7
410c459db0
And some more (the last) notices out! Bug 5713.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5713 )
Merged from MOODLE_16_STABLE
2006-06-03 20:18:02 +00:00
stronk7
5f8556bcd5
And one more collection of innocent notices avoided. Bug 5712.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5712 )
Merged from MOODLE_16_STABLE
2006-06-03 20:01:24 +00:00
skodak
eddb24ed20
clarification for restrict modules option - bug #5688 ; merged from MOODLE_16_STABLE
2006-06-03 19:58:29 +00:00
stronk7
8812e31233
And another notice in restore out. Bug 5711.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5711 )
Merged from MOODLE_16_STABLE
2006-06-03 19:51:28 +00:00
stronk7
0f4de002a2
One less notice. Bug 5710.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5710 )
Merged from MOODLE_16_STABLE
2006-06-03 19:45:19 +00:00
stronk7
c1543b80e9
Avoid one notice in backup. Bug 5709.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5709& )
Merged from MOODLE_16_STABLE
2006-06-03 19:01:07 +00:00
stronk7
1fa6d46069
Adding support to the forum user report action
...
in restore. Bug 3854.
(http://moodle.org/bugs/bug.php?op=show&bugid=3854 )
Merged from MOODLE_16_STABLE
2006-06-03 17:51:20 +00:00
skodak
75d9b88f3d
merged another try to fix IR from MOODEL_16_STABLE
2006-06-02 17:00:22 +00:00
skodak
08cbf449fe
merged typo fix from MOODLE_16_STABLE
2006-06-02 16:55:27 +00:00
skodak
6d7ef1f2c3
merged Martins warning patch from MOODLE_16_STABLE
2006-06-02 16:53:17 +00:00
skodak
115938af04
fixed whitespace and merged whitespace fixes from MOODLE_16_STABLE
2006-06-02 16:46:39 +00:00
skodak
14dfa05958
merged whitespace fix from MOODLE_16_STABLE
2006-06-02 16:42:40 +00:00
skodak
a5e7cb78fa
Making sure timelimit is converted to integer before being written to database, otherwise postgreSQL complains. Closing bug 5401; merged from MOODLE_15_STABLE
2006-06-02 16:02:10 +00:00
tjhunt
042e68477d
Bug #5559 : Move CLOZE qtype hightight colours into CSS insted of hardcoding, so themes can override. Merged from 1.6stable.
2006-06-02 15:39:41 +00:00
nfreear
b65f13b510
Fix, bug 5614 - added ALT text for link icons (x 5), based on TITLE. Merged from stable branch.
2006-06-02 13:18:49 +00:00
thepurpleblob
7b8bc256cc
Merged from STABLE
2006-06-02 09:45:19 +00:00
ethem
3f609b21ff
'Authorize.net Payment Gateway' is better and shorter :)
2006-06-02 09:42:20 +00:00
vyshane
44e852cbea
Merged from 1.6. Fixed php warnings when no course is selected.
2006-06-02 07:37:45 +00:00
skodak
ee1e1a3b99
fixed warning and removed ugly hack in attachment path; merged from MOODLE_16_STABLE
2006-06-02 06:49:08 +00:00
vyshane
f24eb26139
Merged from 1.6. Fix for Bug #5682 - 'Reset template' button in CSS template
...
adds HTML.
2006-06-02 04:29:11 +00:00
vyshane
0b0b5ea4ed
Merge from 1.6. Added missing lang string.
2006-06-02 04:20:05 +00:00
toyomoyo
fdcf2c4a07
merged fix for 5686
2006-06-02 02:54:28 +00:00
stronk7
2dbd7916e0
Adding propper support for the forum->user report log action. It was
...
a bit wrong. Code credits go to Petr!
Merged from MOODLE_16_STABLE
2006-06-01 23:16:08 +00:00
skodak
cb77cf1262
fixed problem in restricted modules - mods were accessed using strtolower(translated module name) instead of directory name as usual, it partially worked for English; merged from MOODLE_16_STABLE
2006-06-01 19:52:38 +00:00
skodak
7f9ba24ef2
fixed - unable to disable blocks; merged from MOODLE_16_STABLE
2006-06-01 19:13:52 +00:00
ethem
8da4b779e4
Documentation for status codes and actions. Merged from MOODLE_16_STABLE
2006-06-01 16:08:00 +00:00
skodak
165a7502f8
Bug #5643 - add Yahoo online status to user profile; merged from MOODLE_16_STABLE
2006-06-01 15:19:06 +00:00
skodak
82e6ea72a9
Bug #5684 - frameset page in UTF8 doesn't appear on IE; merged from MOODLE_16_STABLE
2006-06-01 14:50:41 +00:00
tjhunt
cd70aa32f2
Bug 5247: stop people creating tests with a close date before the open date.
2006-06-01 14:27:37 +00:00
ethem
095759281b
Authorize.net Merchant Payment Gateway
...
Authorize module is not only credit card gateway but also it has echeck.
Echeck is implemented soon, please AUTHORIZE_ECHECK branch for more details.
2006-06-01 14:13:07 +00:00
thepurpleblob
a0d187bfd7
Merged from STABLE
2006-06-01 10:13:57 +00:00
ethem
d65af16ffd
Just some tidy-ups. Merged from MOODLE_16_STABLE
2006-06-01 08:51:20 +00:00
vyshane
749818fd09
Merged from 1.6. Fix for cvs update -kk -j MOODLE_16_MERGED -j
...
MOODLE_16_STABLE.
2006-06-01 08:10:34 +00:00
ethem
e302f054b3
Just some tidy-ups. Merged from MOODLE_16_STABLE
2006-06-01 07:47:22 +00:00
moquist
b40a2b43be
Added $return parameters to print_paging_bar() and print_table().
2006-06-01 05:51:45 +00:00
skodak
1f48cd2892
Bug #5661 - mymoodle redirect problem; merged from MOODLE_16_STABLE
2006-06-01 05:40:45 +00:00
vyshane
65d169680c
Merged fix from 1.6 (missing lang string)
2006-06-01 04:08:45 +00:00
vyshane
69c9c3e696
Fix for get_string(), which was not building path to report language files
...
correctly.
2006-06-01 03:10:17 +00:00
toyomoyo
f9631ddb0d
merged, bug fix for 5352, setting ignore_user_abort to false
2006-06-01 02:32:07 +00:00
danmarsden
8f3c8cdd84
BUG 5662 - bad check for 1.6 version.
2006-05-31 20:28:18 +00:00
stronk7
9914f09319
Prevent doubleslashes once and again in paths. Also prevent them when writing config.php
...
Merged from MOODLE_16_STABLE
2006-05-31 17:54:58 +00:00
tjhunt
7baff8aa1a
Fix for bug 5379: Item analysis report should not have a hard coded list of question types.
...
Please test this if you have a moodle install with some unusual question types. Thanks.
Merged from 1.6stable.
2006-05-31 15:58:39 +00:00
tjhunt
ce687025b7
Fix some Eclipse code style warnings.
2006-05-31 10:35:17 +00:00
tjhunt
1dd9972889
Check for errors before doing other processing. (Compare this with the add case.)
2006-05-31 10:34:05 +00:00
toyomoyo
cc82876291
changepassword obsolete, merged
2006-05-31 07:24:19 +00:00
toyomoyo
6dede909af
merged, changepassword obsolete
2006-05-31 07:12:10 +00:00
toyomoyo
c26ba25f32
merged, changepassword obsolete
2006-05-31 06:58:51 +00:00
toyomoyo
e79771162c
merged, changepassword obsolete
2006-05-31 06:42:35 +00:00
toyomoyo
c17253f9dc
merged change to allow admins to click on the force password change checkbox if using internal_auth
2006-05-31 06:29:13 +00:00
stronk7
ae34cad5fd
Users with messages (and messages) are only included in
...
SITEID backup. Bug 5658.
(http://moodle.org/bugs/bug.php?op=show&bugid=5658 )
Merged from MOODLE_16_STABLE
2006-05-30 16:58:50 +00:00
mudrd8mz
f20c155a3b
* "go to first missing string" link can be displayed (see LANG_DISPLAY_MISSING_LINKS)
...
* "go to next/previous missing" links can be displayed (see LANG_DISPLAY_MISSING_LINKS)
* submit button may be repeated (see LANG_SUBMIT_REPEAT*)
* added (empty) "summary" attribute for the <table>'s
* added error_reporting(E_ALL ^ E_NOTICE); in "compare" mode (even in debug environment we know that missing keys are missing strings here, not bugs ;-)
* LANG_DEFAULT_FILE can be now set. moodle.php used to be opened automatically. As it was (and still is) one of the biggest files it usually took a long time to load the page even if you just want to choose the file to translate.
* added links from "missing" to "compare" mode page
* English strings are now key-sorted in "missing" mode
* list of files with missing strings is now displayed at the top of "missing" page
* A lot of changes to support translation of *_utf8_local langugage packs. Needs testing
* Merged with version by Mitsuhiro Yoshida - display icon links instead of text links (I have changed the position of arrow icons to not to be so close each other)
2006-05-30 16:47:59 +00:00
bobopinna
723fe255b4
Two icons added by Pham Minh Duc
2006-05-30 14:01:51 +00:00
nfreear
ef4c53696b
Fix bug 5628 (Farsi RTL language), modify '.accesshide' style so top is large negative, not left. Merged from STABLE branch.
2006-05-30 11:24:42 +00:00
skodak
2a0824b4a3
blacklist PHP 5.0.x in installation precheck; merged from MOODLE_16_STABLE
2006-05-30 09:50:23 +00:00
skodak
d976b5fecb
blacklist PHP 5.0.x in installation precheck; merged from MOODLE_16_STABLE
2006-05-30 09:42:29 +00:00
ethem
8761b0bc4f
If config wwwroot starts with 'https', ignore config loginhttps value.
...
Dependency: Bug #5647 ; Merged from MOODLE_16_STABLE.
2006-05-30 08:32:43 +00:00
skodak
8af190b388
fixed typo - randomsmatch notice bug 5652; merged from MOODLE_16_STABLE
2006-05-30 06:29:07 +00:00
toyomoyo
3280c9fcc4
merged fix for 5648, utf8 migration problem
2006-05-30 02:51:52 +00:00
martinlanghoff
9aad454299
auth/ldap: better handling of empty values from ldap
2006-05-30 00:44:21 +00:00
stronk7
aca116d84e
Bump equivalent to 1.6
2006-05-29 22:50:44 +00:00
skodak
508b76d94f
fixed warning from clone($SITE) during site setup; merged from MOODLE_16_STABLE
2006-05-29 20:33:12 +00:00
stronk7
cfba5440c0
Normalize oracle driver name.
2006-05-29 17:42:01 +00:00
stronk7
2d2f440b6e
Adding environmental checks for 1.7 (mssql and oracle added)
2006-05-29 17:35:19 +00:00
moodler
19078b653a
Merged title fix from stable
2006-05-29 09:55:42 +00:00
moodler
ed527b33cc
Merged changes from stable
2006-05-29 09:40:38 +00:00
moodler
854c0e06a3
Merged CSS improvements for MyMoodle from stable
2006-05-29 09:27:40 +00:00
moodler
d6da4a1aeb
merged mymoodle fix from stable
2006-05-29 09:21:36 +00:00
moodler
10312bf9a2
Fixed some issues with course overview report
2006-05-29 09:10:33 +00:00
skodak
8f643c818b
Bug #5620 - MyMoodle shows bogus Assignment due date; merged from MOODLE_16_STABLE
2006-05-29 08:37:51 +00:00
moodler
815c84a8dc
Merged fix from stable
2006-05-29 08:36:58 +00:00
moodler
80acd6be74
Use global $COURSE in print_header to avoid ugly hack
2006-05-29 08:22:52 +00:00
moodler
1a2ea6f488
Merged $course -> $COURSE fixes from 1.6 stable
2006-05-29 08:17:57 +00:00
moodler
45fc1f759e
Make $COURSE a full object for later use
2006-05-29 07:31:22 +00:00
bobopinna
3eabd4cf97
Cleaned some unused include
2006-05-29 07:07:48 +00:00
skodak
e7056effbc
fixed array warning when editting blocks; merged from MOODLE_16_STABLE
2006-05-29 06:04:13 +00:00
skodak
9b02b5342a
global $course fix; merged from MOODLE_16_STABLE
2006-05-29 05:56:28 +00:00
wildgirl
f1fc87d045
Updated small MP3 player to handle autoPlay (by Andrew Walker, Alton College)
2006-05-28 20:19:31 +00:00
skodak
9054ba924a
sanitize submitted numerical values; merged from MOODLE_16_STABLE
2006-05-26 11:54:11 +00:00
skodak
2042e021be
sanitize submitted numerical values; merged from MOODLE_16_STABLE
2006-05-26 11:47:22 +00:00
skodak
24c1be8880
sanitize submitted numerical values; merged from MOODLE_16_STABLE
2006-05-26 11:39:12 +00:00
skodak
27e51dfc89
sanitize submitted numerical values
2006-05-26 11:32:26 +00:00
skodak
3f19bff3cd
Bug #5619 - Assignment Feedback mail lacks linefeed; merged from MOODLE_16_STABLE
2006-05-26 09:07:13 +00:00
skodak
b56e8cfdfc
Bug #4647 - Undefined property in lib/statslib.php; merged from MOODLE_16_STABLE
2006-05-26 09:01:37 +00:00
skodak
97bf7d6271
Bug #5456 - Item Analysis fails to calculate results for random question type; merged from MOODLE_16_STABLE
2006-05-26 06:55:25 +00:00
skodak
cebf9a83e9
Bug #5472 - Download quiz grades in Excel format does not show correct foelds; merged from MOODLE_16_STABLE
2006-05-26 06:48:25 +00:00
skodak
4f162918f5
Bug #5612 - language string missing in blog; merged from MOODLE_16_STABLE
2006-05-25 19:24:53 +00:00
nfreear
134759fc36
Ongoing fix, bug 5614 - added ALT text for link icons, based on TITLE. Merged from stable branch.
2006-05-25 16:00:26 +00:00
skodak
4df627dfbf
Bug #5582 - sort by numerical field doesn't work properly with decimals; merged from MOODLE_16_STABLE
2006-05-25 15:57:20 +00:00
bobopinna
1a50a1f91e
New version with SCORM 2004 sequencing done by Pham Minh Duc
2006-05-25 10:20:45 +00:00
skodak
be41c83691
Bug #5416 - sorting by question column in overview report plugin broken - please test; merged from MOODLE_16_STABLE
2006-05-25 10:00:06 +00:00
skodak
de5f96195c
Bug #5566 - wrong display of student's answers in MATCHING question type; merged from MOODLE_16_STABLE
2006-05-25 08:13:41 +00:00
skodak
043f527471
Bug #4779 - lib/moodlelib.php: typo; merged from MOODLE_16_STABLE
2006-05-25 06:34:33 +00:00
vyshane
a389cc82df
Merged from fix in 1.6. Made string more general for error message that is
...
shown when there are no fields defined in the database and we try to add an
entry.
2006-05-25 05:20:59 +00:00
vyshane
fafbcc51b5
Merged fix for bug: when a student tries to add an entry and no fields are
...
defined, the foreach barfs since the value of $fields is false.
2006-05-25 05:19:24 +00:00
toyomoyo
addcde11c8
merged changes from renaming reads/writes to statsreads/statswties - mysql5 reserved words
2006-05-25 02:53:00 +00:00
toyomoyo
7dbc6b5891
merged backup-restore/db migrate for rsstitletemplate field
2006-05-25 02:31:15 +00:00
toyomoyo
22a92ee224
merged dropping backticks
2006-05-25 02:07:48 +00:00
skodak
81f9948586
fixed my yet another bug; merged from MOODLE_16_STABLE
2006-05-24 21:54:51 +00:00
skodak
607a6aa83d
fixed broken operations in subfolders - result of my recent patching :-( :-( bug #5603 ; merged from MOODLE_16_STABLE
2006-05-24 21:50:44 +00:00
skodak
f2b5a58a0f
Bug #5604 - LDAP error notice when users update profile; merged from MOODEL_16_STABLE
2006-05-24 21:12:46 +00:00
skodak
343296bf6a
fixed warnings on save profile; merged from MOODLE_16_STABLE
2006-05-24 21:05:23 +00:00
skodak
3e5c847420
Bug #5587 - Redirect fails after a failed login and proper variable initialisation; merged from MOODLE_16_STABLE
2006-05-24 20:56:16 +00:00
skodak
5e205b74dd
fixed bug #5562 I hope; merged from MOODLE_16_STABLE
2006-05-24 18:56:33 +00:00
toyomoyo
ea6a834533
added rsstitle, merged
2006-05-24 07:03:14 +00:00
toyomoyo
6fe661e879
added rsstitletemplate field
2006-05-24 06:16:10 +00:00
toyomoyo
462458c66b
renaming reads and writes to statsreads and statswrites
2006-05-24 05:07:22 +00:00
vyshane
941308d370
Fix for undefined property notice when cron.php is run.
2006-05-24 03:07:37 +00:00
stronk7
cf0403002e
Solving one SQL error in data_get_participants()
...
plus some improved readability.
Merged from MOODLE_16_STABLE
2006-05-23 22:33:01 +00:00
stronk7
e8b8ab9f7b
course_modules->deleted and user->guid are now out.
...
(they disappeared from DB ages ago)
Merged from MOODLE_16_STABLE
2006-05-23 22:06:58 +00:00
skodak
fdcd0f0566
fix for printing of multiple group pictures bug #5548 ; merged from MOODLE_16_STABLE
2006-05-23 19:18:25 +00:00
skodak
e0ce2e1ca4
fixed bug #5593 - logged in nested in <p> and <div>; merged from MOODLE_16_STABLE
2006-05-23 18:59:29 +00:00
skodak
c65d1af557
fixed file backup and converted other forgotten "assignments"; merged from MOODLE_16_STABLE
2006-05-23 18:38:24 +00:00
skodak
4bb6c2563b
fixed broken SQL that was throwing errors in backup; merged from MOODLE_16_STABLE
2006-05-23 18:15:52 +00:00
skodak
a632e5dab1
fixed bug 5594 - can not save group details; merged from MOODLE_16_STABLE
2006-05-23 18:00:20 +00:00
skodak
394832e100
fixed warning; merged from MOODLE_16_STABLE
2006-05-23 13:33:44 +00:00
skodak
4b9842d27d
fixed incorrect output buffer use - bug #5590 ; merged from MOODLE_16_STABLE
2006-05-23 10:55:32 +00:00
skodak
f6f789936d
fixed RSS feeds warning bug #5591 ; merged from MOODLE_16_STABLE
2006-05-23 10:25:39 +00:00
skodak
d33f282a5b
make sure variables are properly cleaned; merged from MOODLE_16_STABLE
2006-05-23 09:47:48 +00:00
skodak
b01a2fcd0f
proper initialisation of $oldquestionid; merged from MOODLE_16_STABLE
2006-05-23 09:32:26 +00:00
skodak
0629da47d2
removed reliance on register globals; merged from MOODLE_16_STABLE
2006-05-23 09:16:17 +00:00
skodak
57f2e16c8d
extra cleaning of variables; merged from MOODLE_16_STABLE
2006-05-23 09:02:13 +00:00
stronk7
b6725eba9a
Allowing also numbers and underscores in sessioncookie
...
Merged from MOODLE_16_STABLE
2006-05-22 17:55:38 +00:00
skodak
ebb63815f8
fixed register globals issues for $sort SC #256 ; merged from MOODLE_16_STABLE
2006-05-22 16:54:11 +00:00
tjhunt
5bbca3a4cb
Fix for Bug #5588 - Editing a question after sorting leads to an error. Merged from 1.6stable.
2006-05-22 15:43:53 +00:00
skodak
1c871c231f
fixed bug #5578 - remove login as button for other teachers in course; merged from MOODLE_16_STABLE
2006-05-22 13:15:06 +00:00
tjhunt
971cd5082a
Fix an undefined variable notice. Merged from 1.6stable.
2006-05-22 13:06:36 +00:00
tjhunt
656ee8c6a1
Fix an undefined variable notice. Merged from 1.6stable.
2006-05-22 11:20:51 +00:00
nfreear
e99e2d126d
Ongoing, fix bug 5400, navbar/breadcrumb TABLE to DIV, to improve semantics. Merged from stable branch.
2006-05-22 10:00:18 +00:00
skodak
631264347b
fixed bug #5572 missing PARAM_CLEAN; merged from MOODLE_16_MOODLE
2006-05-22 06:00:51 +00:00
toyomoyo
92998e94bd
merged fix for 5551
2006-05-22 02:39:14 +00:00
gbateson
9fd66c6642
fixed typo: clck -> click
2006-05-22 00:22:21 +00:00
gbateson
1e80704a32
modified CVS URLs to start http://moodle.cvs.sourceforge.net
2006-05-22 00:18:41 +00:00
gbateson
6075dd444f
Give Up button modified to send results and set status to Abandoned. Microincrement release to 2006052200 (release = v2.1.20)
2006-05-22 00:10:23 +00:00
skodak
2ee2481ef9
fixed register globals issue with $loginasguest; merged from MOODLE_16_STABLE
2006-05-21 20:51:52 +00:00
skodak
70efd5689a
fixed redirection to https:// for edit profile and change password when loginhttps on; merged from MOODLE_16_STABLE
2006-05-21 20:35:22 +00:00
skodak
d1c8eb14d1
temporary workaround for bug #5534 , html editor now disabled for IE when loginhttps on and wwwroot starts with http://; merged from MOODLE_16_STABLE
2006-05-21 20:21:35 +00:00
skodak
108d928b8b
removed isset and merged from MOODLE_16_STABLE
2006-05-21 10:14:17 +00:00
skodak
4eff058d5a
fixed register globals issue with $text; merged from MOODLE_16_STABLE
2006-05-21 08:09:43 +00:00
skodak
17037270bc
proper initialisation of passwordchangeurl; merged from MOODLE_16_STABLE
2006-05-21 07:51:27 +00:00
skodak
54eca8f2a4
proper initialisation of sqlsortkey SC#258; merged from MOODLE_16_STABLE
2006-05-21 07:42:58 +00:00
koenr
902a9198b6
copied from stable
2006-05-20 19:15:11 +00:00
skodak
cd7d03fa48
fixed register globals issues in course/search.php; merged from MOODLE_16_STABLE
2006-05-20 18:41:59 +00:00
skodak
9cb14dbd9e
proper initialisation of $focus SC#257; merged from MOODLE_16_STABLE
2006-05-20 18:19:27 +00:00
skodak
82f0028119
do not show pending courses button for nonadmins bug #5564 ; merged from MOODLE_16_STABLE
2006-05-20 18:08:25 +00:00
skodak
a38a768b29
fixed cleaning of path in custom scripts SC#221; merged from MOODLE_16_STABLE
2006-05-20 17:23:14 +00:00
stronk7
76046108e9
Ready to new functionalities...;-)
2006-05-20 00:11:30 +00:00
skodak
940e39369a
fixed block width calculation; merged from MOODLE_16_STABLE
2006-05-19 21:01:26 +00:00
skodak
9b7bff2699
submission in post.php cleanup, fixes for bugs #5530 , #5484 and SC#252; merged from MOODLE_16_STABLE
2006-05-19 20:18:05 +00:00
skodak
4a10c3875b
fixed - disabled autologinguest not always respected in require_login() SC#255; merged from MOODLE_16_STABLE
2006-05-19 19:11:30 +00:00
nfreear
f08ab5f020
Ongoing, fix bug 5400, DIV to H1, to improve semantics. Merged from MOODLE_16_STABLE.
2006-05-19 13:30:25 +00:00
ethem
4087e6830e
Eloy will plan support for enrol systems in backup/restore.
...
He has a lot of work to do, so this file temporary removed.
After implementation in /backup/restorelib&backuplib.php library, this file can be used again.
But now, this file is not necessary.
Discussion about support for enrol systems in backup/restore is here:
http://moodle.org/bugs/bug.php?op=show&bugid=5358
2006-05-19 12:35:49 +00:00
nfreear
1211e73244
Fix bug 5434 - hardcoded missing Alt text, with a warning comment. Merged from branch MOODLE_16_STABLE.
2006-05-19 10:33:13 +00:00
vyshane
2631c1744e
Fix for Bug #5541
2006-05-19 06:25:12 +00:00
mark-nielsen
88427c077b
[Merged][BugFix] Bug #5405 - made a new function that grades a lesson for a specific user's attempt. This is then used for grading lessons at the end of a lesson, for ongoing score feature and for updating the grade for essay question grading.
...
This new grading algorithm now enforces the lesson setting Max attempts when custom scoring is turned Off
Changed the reporting of minquestions setting to match the help file. Now it is question based instead of attempt based.
Changed the reporting of ongoing score to use the new grade function.
2006-05-19 01:05:13 +00:00
skodak
c23ff4d654
deprecated nvl() function similar to optional_variable(); merged from MOODLE_16_STABLE
2006-05-18 22:12:06 +00:00
dwoolhead
58de1815f4
Bug 5536 Replaced references to hide by show. Merged from stable branch.
2006-05-18 16:15:04 +00:00
ethem
5bf94809f0
Removed </td>. Help button appears on top :))
2006-05-18 10:02:22 +00:00
ethem
527d142c43
I have just found a cute function called print_checkbox. :)
2006-05-18 07:55:12 +00:00
ethem
6b4f18622d
Put back tjhunt's changes. Invalid merge. Tabs aren't more important than indexes.
2006-05-18 07:13:43 +00:00
skodak
b2fcca2761
fixed bug #5533 , could not choose from file root; merged from MOODLE_16_STABLE
2006-05-18 05:48:14 +00:00
martinlanghoff
42101fae2c
login: Changing passwords now works when logged in as guest
2006-05-18 00:53:57 +00:00
skodak
c0e2f1f7dd
admins can now edit user images even when $CFG->disableuserimages = true; see bug #5494 and SC#253; merged from MOODLE_16_STABLE
2006-05-17 18:59:43 +00:00
skodak
e0e1cd26fa
fixed version number; merged from MOODLE_16_STABLE
2006-05-17 18:16:42 +00:00
skodak
4fb072d942
fixed some warnings and removed ugly hack error_reporting(E_ALL ^ E_NOTICE); that was only hiding warnings in this and other code; merged from MOODLE_16_STABLE
2006-05-17 18:06:33 +00:00
tjhunt
450a0a7db7
Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs.
2006-05-17 16:47:44 +00:00
tjhunt
9bd76b32f3
Merge from 1.6 branch. Fix URL syntax error when slasharguments is off.
2006-05-17 11:40:37 +00:00
tjhunt
b1a308bee0
Merge from 1.6 branch.
2006-05-17 11:38:34 +00:00
ethem
ddd74daef6
action.php renamed to authorizenetlib.php
...
Merged from MOODLE_16_STABLE.
2006-05-17 08:18:51 +00:00
martinlanghoff
ba838c8d1f
moodle16cleanup: mod/quiz correctly sync the constraints and indexes
...
which was not changed when it was moved from quiz module to question lib
2006-05-17 06:57:03 +00:00
martinlanghoff
f470a1c6d5
moodle16cleanup: mod/quiz uniqueid does not exists, taking upgrade script
...
from mysql.php ver 2005070202. dropping some unused tables during the
transition from quiz to question lib
2006-05-17 06:56:14 +00:00
martinlanghoff
05acf8e974
moodle16cleanup: lib/db correct prefix, patch by Tim Hunt for bug 5515
2006-05-17 06:43:21 +00:00
martinlanghoff
2a0f40e98c
mod/choice mod/lesson mod/scorm moodle16cleanup: Added notification
...
for cleanup that may fail if one is starting fresh from moodle 1.5.3+,
previous cleanup before 1.5.3 is not needed
2006-05-17 06:42:57 +00:00
martinlanghoff
dbfc642a87
moodle16cleanup: mod/forum correctly dropping the constraint, so it does
...
not report an error during upgrade
2006-05-17 06:42:28 +00:00
martinlanghoff
ccd218ee4b
moodle16cleanup: lib/db correctly put the default values, change the
...
length of log_display.module which is just 20 chars on postgres7.sql
2006-05-17 06:36:31 +00:00
martinlanghoff
aec6df38ac
moodle16cleanup: backup/ set the correct column datatype and default value
2006-05-17 06:36:14 +00:00
martinlanghoff
7f8199c253
moodle16cleanup: blocks/rss_client set the correct column default value
2006-05-17 06:35:50 +00:00
martinlanghoff
d7d37bcb60
moodle16cleanup: enrol/authorize not null set which is similar to mysql
...
and that was upgraded on postgres7.php
2006-05-17 06:35:35 +00:00
martinlanghoff
9a2eb087aa
moodle16cleanup: mod/hotpot set the correct column datatype and default
...
value
2006-05-17 06:35:14 +00:00
martinlanghoff
7a3a4cff54
moodle16cleanup: mod/lesson drop unused table lesson_essay, set the
...
correct column datatype and default value
2006-05-17 06:34:50 +00:00
martinlanghoff
f172091567
moodle16cleanup: mod/dialog we need to drop some more dialog module tables
2006-05-17 06:34:19 +00:00
martinlanghoff
c89dfcfcf5
moodle16cleanup: mod/scorm version column should not be dropped, it must
...
exist. it was not upgraded as with mysql.php 2005041600
2006-05-17 06:30:13 +00:00
martinlanghoff
1b58a2f3a0
moodle16cleanup: mod/wiki synch upgrade script and .sql with mysql
...
counterpart, drop the not null constraint to sync with postgres7.sql
2006-05-17 06:29:45 +00:00
martinlanghoff
c4ca8d4596
moodle16cleanup: mod/forum added notification message
2006-05-17 06:29:15 +00:00
martinlanghoff
66c7e47b27
blocklib: cache (and used cached) block instances properly in $pageblocks
...
Now blocks_have_content() caches instantiated block objects inside $pageblocks
and blocks_print_blocks() uses them if available. This behaviour now matches
the documentation: blocks instances are created only once, get_content()
may be invoked several times.
A better fix would be to cache the _output_ of the block (the ->content
property) but it may bite us if any block is counting on being called twice.
Discussion at: http://moodle.org/mod/forum/discuss.php?d=45867
2006-05-17 04:39:43 +00:00
vyshane
0adf53f6cd
Cosmetic fix in print_log_ooo, commented out call to print_log_ooo in
...
/course/report/log/index.php.
2006-05-17 03:07:11 +00:00
skodak
f231e867f0
I hope this is the last patch for header already printed trouble in error() and redirect(); merged from MOODLE_16_STABLE
2006-05-16 20:31:22 +00:00
ethem
f9ff6fbd77
confirm_sesskey() implementation for capture,delete,refund and void. I hope it works. :)
2006-05-16 15:34:24 +00:00
ethem
98f6b1eb54
Allow showing error message when insert_record fails.
...
merged from 16_stable.
2006-05-16 15:02:52 +00:00
nfreear
f73e218f40
Merge from STABLE. Fix bug 5477...
2006-05-16 12:27:21 +00:00
ethem
e295c6e4c3
Manual capture settings for sending email: cron=enabled, an_review=checked, an_capture_day=0, an_emailexpired=1-5
2006-05-16 11:37:07 +00:00
nfreear
5fc835a533
Merged from STABLE.
2006-05-16 10:59:27 +00:00
ethem
42c4e612db
(Manual capture settings: cron=enabled, an_review=checked, an_capture_day=0)
2006-05-16 10:43:02 +00:00
nfreear
49d192fcd6
Merged from STABLE.
2006-05-16 10:35:15 +00:00
thepurpleblob
ce4b7b5fbe
Added note that export now exports subcategories.
2006-05-16 09:35:03 +00:00
toyomoyo
0376cc2fab
merged
2006-05-16 08:22:42 +00:00
toyomoyo
82326fc1d3
merged fix for 5513
2006-05-16 07:58:47 +00:00
vyshane
9b18fc3b83
Commiting merge from 1.6.
2006-05-16 07:07:04 +00:00
vyshane
84bada7dea
Fix for Bug #5467 . Converted newlines to unix format. Removed extra lines at
...
the end of php scripts. Converted tabs to spaces in php scripts.
2006-05-16 06:45:14 +00:00
vyshane
04678d8eca
Fixed Bug #5354 - Gradebook [DropXLowest and Exclude]
2006-05-16 06:21:49 +00:00
mark-nielsen
74e3524216
[Merged][BugFix] Bug 5485 - problem with regular expressions with simple analysis
2006-05-16 03:06:28 +00:00
stronk7
4a428b5f5c
Updated to latest version (1.56). Bug 5165.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5165 )
Merged from MOODLE_16_STABLE
2006-05-15 23:31:50 +00:00
danmarsden
019c47d6c1
Fixes bug 5464 also makes response clearer to students -see:
...
http://moodle.org/mod/forum/discuss.php?d=45504
also finishes off Bug 662
2006-05-15 23:24:42 +00:00
mjollnir_
0c49258b99
mod/quiz/view No-longer display final grade when quiz settings forbid it.
...
Changed view.php so that it checked if there were any attempts with
concealed grades before printing the student's overall score.
Credit: Peter Bulmer <peter.bulmer@catalyst.net.nz >
Merged from MOODLE_16_STABLE
2006-05-15 21:52:18 +00:00
skodak
2c3432e684
fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848 ; merged from MOODLE_16_STABLE
2006-05-15 21:36:46 +00:00
gustav_delius
91d7ead073
Answers to essay questions are now saved correctly when navigating to another page, fixing bug 4478
2006-05-15 20:42:14 +00:00
mark-nielsen
a1d0b3eb81
[BugFix] Bug 5505 - function lesson_print_tree now checks for teacher editing priv before printing editing icons. Had to change arguments for this function as well which is the edit in view.php.
...
lesson.php how checks for teacher editing priv for all actions except for continue. This is just in case the user hacks the URL.
2006-05-15 19:14:22 +00:00
stronk7
0ec7502bad
Avoid [[namesite]] to appear when ADDING site activities.
...
Merged from MOODLE_16_STABLE
I sent this on May 9th! :-(
2006-05-15 17:54:29 +00:00
stronk7
356183b5bd
Changing session->data to medium text. Bug 5406.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5406 )
Merged from MOODLE_16_STABLE
IMPORTANT: I sent this to CVS on May, 8th and changes have dissapear!
It could be possible than other commits sent near SF crash
were affected too!
2006-05-15 17:33:38 +00:00
skodak
4ca5b47322
fix my previous incorrect short tag fix, fixed register globals, IP address used as mail user when not logged in; merged from MOODLE_16_STABLE
2006-05-15 15:45:27 +00:00
skodak
e7a8d28f57
fixed short php tags; merged from MOODLE_16_STABLE
2006-05-15 15:12:56 +00:00
skodak
a536138d02
changed cleaning of entry title, now matches handling of forum post titles; merged from MOODLE_16_STABLE
2006-05-15 15:05:28 +00:00
skodak
3b25960385
better cleaning of post title SC#251 revisited; merged from MOODLE_16_STABLE
2006-05-15 14:48:11 +00:00
skodak
62b504d20b
better cleaning of post title SC#251; merged from MOODLE_16_STABLE
2006-05-15 14:32:14 +00:00
exe-cutor
1b8991fd9c
Fixed an inconsistent link in the instructions textfield
2006-05-15 12:08:06 +00:00
exe-cutor
14d62a551a
Added function get_first_string to better handle multi-valued attributes
2006-05-15 06:55:08 +00:00
vyshane
7ec49125d6
Added language strings for new log functionality (downloading logs as excel or csv)
2006-05-15 05:01:56 +00:00
vyshane
92890025fe
Added option to download logs in excel or csv formats. Merged in code contributed by
...
Daniele Cordella <d.cordella@iss.it >. Originally posted as bug 5024.
2006-05-15 05:01:00 +00:00
toyomoyo
6caa2c52ec
merged fix for 5493
2006-05-15 03:00:11 +00:00
toyomoyo
114f81ce09
merged, tidying up constants
2006-05-15 02:57:48 +00:00
toyomoyo
b0ef72a6f3
merged fix for 4404
2006-05-15 02:26:54 +00:00
toyomoyo
a1e3e9894b
merged fix for 5465
2006-05-15 02:03:03 +00:00
skodak
70ed990ed2
fixed secure forms handling when POST url contained GET parameters (cookieless mode and some other forms); merged from MOODLE_16_STABLE
2006-05-14 21:21:35 +00:00
skodak
70cedbfd5d
fixed bug #5489 - can not edit file, minor bugfixes and whitespace cleanup; merged from MOODLE_16_STABLE
2006-05-14 19:10:49 +00:00
skodak
cc50d6664f
I hope final fix for warnings when using error() after print_header() with buffering on, solution was to flush all buffers and reenable SID rewrite when needed; merged from MOODLE_16_STABLE
2006-05-14 17:23:29 +00:00
gustav_delius
38316f63a5
Removing obsolete defaults
2006-05-13 17:06:32 +00:00
gustav_delius
36be25f6e5
Introduce question_attempts table, closing bug 5468
...
Fixed incorrect check for whether to update state or insert new one in save_question_session()
Deal with manually graded states correctly during regrading
Increase state sequence number during manual grading
Supplied missing userid to quiz_save_best_grade() during manual grading
2006-05-13 16:57:17 +00:00
ethem
e81e5c1604
Fix: Redirect to order details page 10 seconds later, not home page. Merged from MOODLE_16_STABLE.
2006-05-13 16:18:38 +00:00
gustav_delius
4377c290c0
Updated comments and made sure teacher preview gets restarted when changes are saved, fixing bug 5478
2006-05-13 10:39:15 +00:00
ethem
6e6c37e2be
Language direction is important. Changed as: <b>AVS Result:</b> $a
...
merged from 16_stable.
2006-05-13 08:53:34 +00:00
thepurpleblob
36e2232e27
Merged from STABLE.
2006-05-13 08:49:46 +00:00
ethem
f6a7a35cc9
More readable coding. Now, I understand everything. :)
...
Merged from MOODLE_16_STABLE.
2006-05-13 08:33:55 +00:00
ethem
8f152c586d
Deleting test transactions are not good. They may be in proggress. Let's update WHERE transid<>'0'.
...
Merged from MOODLE_16_STABLE.
2006-05-13 06:02:06 +00:00
ethem
17dd669149
Fix: Don't show newly created orders prior to 2 minutes.
...
They may be still in proggress and these aren't test transacions(transid=0).
We check timecreated field to prevent this.
MERGED FROM MOODLE_16_STABLE.
2006-05-12 19:56:02 +00:00
ethem
3335e3f881
Fix: Delete test transactions before update status as AN_STATUS_AUTHCAPTURE.
...
Merged from MOODLE_16_STABLE.
2006-05-12 18:36:30 +00:00
ethem
431efddc44
Status: 'New' string.
2006-05-12 17:20:39 +00:00
stronk7
297bb00dfe
Changing session->data to medium text. Bug 5406.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5406 )
Bump!
2006-05-08 16:40:44 +00:00
stronk7
ef668fcf99
Changing session->data to medium text. Bug 5406.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5406 )
Merged from MOODLE_16_STABLE
2006-05-08 16:39:34 +00:00
thepurpleblob
6cb4910c58
Merged from STABLE
2006-05-08 10:39:14 +00:00
toyomoyo
f1f5ec3773
fix for 5438 merged
2006-05-08 07:09:28 +00:00
vyshane
7eaf5045ce
Fix for Bug #5441 .
2006-05-08 03:56:26 +00:00
vyshane
36914ff6a7
Changed the 'module' field length to 20 in the log_display table (Bug #5419 ).
...
Previous commit message in 1.6 stable should read 'log_display table' instead
of 'log' table. Both fixes are identical and carried over to HEAD via a merge.
2006-05-08 03:16:04 +00:00
stronk7
0abbbe296d
Initial revision
2006-05-07 23:31:32 +00:00
stronk7
fbaea8f354
glossary print view is now valid XHTML.
...
Merged from MOODLE_16_STABLE
2006-05-07 10:49:28 +00:00
stronk7
0f5f8363d7
Now, when a single forum is restored and no user data was created,
...
the initial discussion/post is automatically generated. Bug 5418.
(http://moodle.org/bugs/bug.php?op=show&bugid=5418 )
Merged from MOODLE_16_STABLE
2006-05-06 16:58:36 +00:00
ethem
76c16eac35
Admin can setup which credit card types will be accepted.
...
Merged from MOODLE_16_STABLE.
2006-05-05 18:29:38 +00:00
ethem
4a1e506a35
Admin can setup which credit card types will be accepted.
...
Merged from MOODLE_16_STABLE.
2006-05-05 18:16:45 +00:00
stronk7
0045d58c69
Now the help link in the admin block points to Docs. Bug 4803.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=4803 )
Merged from MOODLE_16_STABLE
2006-05-05 17:56:56 +00:00
andreabix
3fa299acc6
Minor refinements
2006-05-05 08:56:03 +00:00
vyshane
0aa81bc346
Fix for Bug #5419 - Inconsistency between log_display and log tables. Bumped
...
version number.
2006-05-05 08:43:00 +00:00
vyshane
7235ae23f1
Fix for Bug #5419 - Inconsistency between log_display and log tables
2006-05-05 08:42:29 +00:00
toyomoyo
78444c8785
merged fix for 4478
2006-05-05 06:44:32 +00:00
toyomoyo
9023bc7f71
merged fix for 5428
2006-05-05 05:15:18 +00:00
thepurpleblob
c0724bdce2
Merging from STABLE
2006-05-04 11:17:50 +00:00
stronk7
4bd5bb599c
Anything against the ISO-8859-1 word?
...
Merged from MOODLE_16_STABLE
2006-05-04 10:40:24 +00:00
ethem
5f7a36628f
Create transid indexes for backup & restore speed.
2006-05-04 09:42:35 +00:00
toyomoyo
e503f30d10
merged fix for 5426
2006-05-04 09:40:33 +00:00
ethem
203003ae8c
Enable 'Authorize.net plugin' and setup cron properly; or uncheck an_review again.
...
Merged from MOODLE_16_STABLE.
2006-05-04 08:18:35 +00:00
ethem
669c58e1a5
First authorize restore library for version 1.7
2006-05-04 07:58:20 +00:00
toyomoyo
f009d079ec
fix for 3644 merged
2006-05-04 06:56:43 +00:00
vyshane
1db34bf5fb
Fix for bug #4805
2006-05-04 04:32:55 +00:00
toyomoyo
11e615412d
merged change for the double </a>
2006-05-04 02:32:43 +00:00
stronk7
bdeed966f6
Now more quiz actions are restored properly:
...
-preview
-start attempt
-close attempt
-continue attempt (too long. See Bug 5419)
Bug 5122
(http://moodle.org/bugs/bug.php?op=show&bugid=5122 )
2006-05-03 23:48:28 +00:00
stronk7
543cd3e01d
Fixing some non-production values I left after testing.
...
Thanks James!
Merged from MOODLE_16_STABLE
2006-05-03 22:05:59 +00:00
stronk7
ca3a9e5443
Changing ASCII to ISO-8859-1. Also I've updated Backup FAQ Docs
...
to show the workaround. Bug 5276.
(http://moodle.org/bugs/bug.php?op=show&bugid=5276 )
I'm getting old. Should we send lang files to MOODLE_16_STABLE too?
2006-05-03 19:21:10 +00:00
stronk7
6985c78c6b
XHTML validation. Bug 5332.
...
(http://moodle.org/bugs/bug.php?op=show&bugid=5332 )
Merged from MOODLE_16_STABLE
2006-05-03 18:22:21 +00:00
stronk7
02436153e0
Solving some changes in course-view and sections...
...
Merged from MOODLE_16_STABLE
2006-05-03 17:49:52 +00:00