1847 Commits

Author SHA1 Message Date
scyrma
f461e8ec0e MDL-8810: changing require_once to include_once when looking for mod/.../lib.php 2008-01-24 02:20:25 +00:00
nicolasconnault
1e92bb9112 MDL-13101 New section of the upgrade process: plugins check 2008-01-23 22:48:54 +00:00
skodak
b5d4efc60f MDL-13091 Aggregate including subcategories off by default, adding default values info into grade cat combo setting; merged from MOODLE_19_STABLE 2008-01-22 08:27:30 +00:00
skodak
8a0a6046a3 MDL-13085 delete grades and items when uninstalling module; merged from MOODLE_19_STABLE 2008-01-21 23:36:19 +00:00
skodak
0806f57068 MDL-13080 delete calendar events when uninstalling modules; merged from MOODLE_19_STABLE 2008-01-21 07:08:31 +00:00
ikawhero
6a4680be3b Changes to help file for new enrolperiod field. 2008-01-21 06:14:26 +00:00
ikawhero
2686b6c34c Added enrolperiod field. 2008-01-21 06:09:58 +00:00
poltawski
1eeaed292b MDL-13003 - dont icq key array twice
merged from MOODLE_19_STABLE
2008-01-16 15:07:00 +00:00
moodler
e6d8bc8c4a Merged upgradelib.php fixes from 1.9 MDL-13017 2008-01-16 01:51:18 +00:00
poltawski
362594f2e4 MDL-8269 - stats wasn't paying attention to run time settings as the strtotime arguments were the wrong way round. Thanks to Mark Nielsen 2008-01-13 18:46:55 +00:00
stronk7
f7ca1b7edc Minor changes to custom check definition. MDL-12914 ; merged from 19_STABLE 2008-01-12 18:54:54 +00:00
skodak
bb7152cc4e MDL-12914 Register globals trouble; merged from MOODLE_19_STABLE 2008-01-11 23:22:50 +00:00
stronk7
efcc5e0f3d Fixed copy/paste typo. MDL-11341 ;-) ; merged from 19_STABLE 2008-01-11 17:21:53 +00:00
poltawski
e67eff89e6 MDL-11341 - allow users with language editing perms to access language
editing
merged from MOODLE_19_STABLE
2008-01-11 16:27:15 +00:00
stronk7
aa9c6b6ba6 Adding custom check to test MDL-12914 ; merged from 19_STABLE 2008-01-11 00:05:55 +00:00
tjhunt
b26adbef4c MDL-12373 - More instances of links to the participants list being shown in the navigation bar to people without the necessary capability.
I have not copied and pasted the same code into lots of different places. That sucks. We really need to refactor this into a function that builds the navigation up to, and including the user's name. However, I don't have time now. A list of the places touched by this bug (MDL-12373) will at least give a complete list of places that such a refactoring would have to touch.
2008-01-10 10:58:16 +00:00
moodler
0e13d28f3e Merge MDL-12904 (db support for auth plugins) from 1.9 and 1.8 2008-01-10 03:51:56 +00:00
mjollnir_
e3cd54731c MDL-12894 Fixing language string mess (language packs containing \n) & moved them to the controllers,
also fixed a few typos and a || instead of && bug.  This all relates to the CLI installer.
2008-01-09 23:15:44 +00:00
mjollnir_
2f8d2e1a2b Merged from MOODLE_19_STABLE: MDL-12884 web installer should set the depth of the miscellaneous course category to 1 too (discussion in moodle hq skype chat with Petr) 2008-01-08 23:27:45 +00:00
mjollnir_
9816d8afc0 MDL-12884: cli installer should create the context for the Miscellaneous course category 2008-01-08 23:23:19 +00:00
tjhunt
dba21d4a19 Use the locale to sort the list of activites everywhere. This matches a change a made in one place before christmas. If you don't do this, the PHP sorts by ASCII order, so mixed case names, or special characters, get sorted wrongly. Merged from MOODLE_19_STABLE. 2008-01-07 16:46:35 +00:00
mjollnir_
2f13f94ccc New feature: Command line installer. Credit: Dilan Anurudda.
This was a Google Summer of Code 2007 Project.

This introduces two new files, admin/cliupgrader.php and lib/installlib.php.

It also introduces a new PEAR library, Console_GetOpt.  I have recieved permission from the upstream author to include this in GPL Moodle (essentially dual license it) -  notes in lib/pear.

Most stuff that outputs html during install gets suppressed by the use of a constant.

Run the script like  php admin/cliupgrade.php --help for info.

Note that this all uses strings from install/ rather than lang, so I have updated stringnames.txt accordingly and they'll all be broken until the cronjob that generates them runs.
2008-01-07 01:54:28 +00:00
moodler
0ef7e7e542 Fixed the navigation on the course assign roles tab MDL-12828 2008-01-04 05:20:00 +00:00
skodak
3483ea572a MDL-12817 logout before 1.9 upgrade in order to prevent weird upgrade problems; merged from MOODLE_19_STABLE 2008-01-03 16:37:09 +00:00
skodak
8293c75198 MDL-6786 Improved dropping of block and module tables during uninstall; merged from MOODLE_19_STABLE 2008-01-03 15:03:32 +00:00
skodak
7c09710cbf MDL-12796 iplookup rewrite 2008-01-02 16:47:57 +00:00
stronk7
9156f58a1a Correct timezones listing when importing olson files ; merged from 19_STABLE 2007-12-31 15:25:27 +00:00
stronk7
4ae7df39ee Moving from old "timezones" location to the new "timezone" one. MDL-12024 ; merged from 19_STABLE 2007-12-31 15:08:08 +00:00
stronk7
4070a1a4ce Missed this in my previous commit. MDL-12698 ; merged from 19_STABLE 2007-12-31 01:10:54 +00:00
stronk7
f85236dc76 Change some constants to avoid name collisions. MDL-12698 ; Merged from MOODLE_19_STABLE 2007-12-31 01:07:49 +00:00
skodak
76bd786d3f MDL-12698, MDL-12569 - fixed inline docs; merged from MOODLE_19_STABLE 2007-12-30 22:36:16 +00:00
skodak
eb7f78afb1 MDL-11845 unmask password field type for proxy url - thanks Dan for reminding me; merged from MOODLE_19_STABLE 2007-12-30 22:25:16 +00:00
skodak
a7d43f0d15 MDL-12698, MDL-12569 - componentlib & langimport improvements and fixes; merged from MOODLE_19_STABLE 2007-12-30 22:19:36 +00:00
skodak
5f8bdc17a8 MDL-11845 removing curl emulation library, snoopy has better support for proxies and seems to be more reliable on different platforms; spelling correction cURL instead of Curl; adding all proxy admin settings; better debug messages for file downloading; SOCKS5 proxy support; merged from MOODLE_19_STABLE 2007-12-30 19:42:51 +00:00
poltawski
6e1cc99de7 MDL-12763 - proxy_url() in langimport was doing its own custom proxied
download magic. Convert to use download_file_contents() for more
robust downloads. And also add a more helpful error message while i'm
at it.
merged from MOODLE_19_STABLE
2007-12-29 20:03:03 +00:00
skodak
8bbfc1e321 MDL-12756 print save button in admin search only when there are settings to save; merged from MOODLE_19_STABLE 2007-12-29 16:49:26 +00:00
skodak
64874c5aac MDL-12752 making unsupported pages truly hidden; merged from MOODLE_19_STABLE 2007-12-29 16:38:25 +00:00
urs_hunkler
c1aa6ad26c merged from 1.9 :: MDL-12749 :: print_box_strart was closed with pint_simple_box_end. corrected. 2007-12-28 12:45:43 +00:00
skodak
6d77b23c55 MDL-12735 Make AJAX on by default, add option to disable AJAX course editing by default; merged from MOODLE_19_STABLE 2007-12-26 21:33:34 +00:00
skodak
109e3cb281 MDL-11561 improved text filter cache resetting when settings change; fixed bug causing fatal errors if html purifier enabled during upgrade; merged from MOODLE_19_STABLE 2007-12-25 10:03:59 +00:00
skodak
47af2e43f3 MDL-12720 removing confusing/not implemented CONTEXT_PERSONAL; merged from MOODLE_19_STABLE 2007-12-23 19:48:32 +00:00
poltawski
97f3ae8777 MDL-9981 - remove hardcoded admin path, merged from MOODLE_19_STABLE 2007-12-23 17:21:56 +00:00
skodak
392e73631e MDL-12716 fixed admin setting for rcache; more robust rcache handling in setup.php; merged from MOODLE_19_STABLE 2007-12-23 13:10:35 +00:00
skodak
bca13de752 MDL-12717 use apply_default_exception_settings before other admin defaults; merged from MOODLE_19_STABLE 2007-12-23 12:05:54 +00:00
skodak
9a7a785161 MDL-12714 no guest autologin for admin settings; merged from MOODLE_19_STABLE 2007-12-23 11:53:31 +00:00
skodak
cb0e9fbdd2 MDL-12705 disabled guest autoogin in upgrade scripts; merged from MOODLE_19_STABLE 2007-12-22 18:17:15 +00:00
skodak
01ca2df07a MDL-12690 use the same title for block in admin tree as in blocks manage page; merged from MOODLE_19_STABLE 2007-12-21 09:53:00 +00:00
skodak
00ed8abd19 MDL-12443 use "UTF-8" label instead of "None" in sitemailcharset select box; merged from MOODLE_19_STABLE 2007-12-20 21:17:23 +00:00
skodak
5d4afe012d MDL-12678 moved pinned blocks setup page to Modules/Blocks/; merged from MOODLE_19_STABLE 2007-12-20 16:31:04 +00:00
skodak
444598e94a MDL-10464 user list download in bulk ops; merged from MOODLE_19_STABLE 2007-12-20 10:55:05 +00:00