Commit Graph

3929 Commits

Author SHA1 Message Date
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
poltawski 2e32fc1862 MDL-11561 - remove unused variable merged from MOODLE_19_STABLE 2007-12-19 21:09:06 +00:00
skodak 220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
skodak a5feb17622 MDL-12598 use user context instead of personal; merged from MOODLE_19_STABLE 2007-12-19 17:06:47 +00:00
tjhunt 7588679f7a Teach XMLDB about the local/db folder, but only include it if the local folders exists. 2007-12-19 15:06:51 +00:00
mjollnir_ d4564cf018 merged from MOODLE_19_STABLE: moving two functions from admin/roles/manage.php (switch_roles and role_cap_duplicate) to accesslib & added phpdoc. Fixes MDL-12621 2007-12-18 20:51:07 +00:00
skodak 6265d4630b MDL-12103 new config option for mail newline chars; merged from MOODLE_19_STABLE 2007-12-17 23:44:25 +00:00
skodak 5da9e750cf MDL-12570 option to disable lang autodetect from browser; merged from MOODLE_19_STABLE 2007-12-15 11:49:59 +00:00
toyomoyo a249879a86 MDL-12550, wrong user count in role assignment 2007-12-12 03:31:26 +00:00
stronk7 8884b320b4 Reintroducing the possibility to declare a second row of tabs
via extratabs. MDL-12551

Merged from MOODLE_19_STABLE
2007-12-12 00:58:09 +00:00
stronk7 6030279805 Adding the ability to perform custom uninstall tasks in modules. MDL-12520
Merged from MOODLE_19_STABLE
2007-12-11 23:39:32 +00:00
sam_marshall ae8c48f726 MDL-11845 Updated the three file downloads from Snoopy to download_file_content (which I didn't know about before :) 2007-12-07 10:24:00 +00:00
nicolasconnault 0c87b5aac0 MDL-11835 Changing default aggregateonlygraded back to true, but set this value to false for upgraded course categories. Also set grade display type to percentage for upgraded items, since this is the default setting in 1.8. Site default is Real display type. 2007-12-07 09:14:51 +00:00
toyomoyo 40e473bfe1 customized cron should be in dirroot/local/cron.php 2007-12-07 04:39:40 +00:00
sam_marshall 3e93ea86c0 MDL-11845 Support for config proxy options when downloading language packs (& other components), timezone file 2007-12-06 18:12:42 +00:00
nicolasconnault 9776dba81b MDL-11835 Changing default aggregateonlygraded to false 2007-12-06 14:24:48 +00:00
nicolasconnault f9124bd22f MDL-11835 Merging from 1.9 2007-12-06 09:45:58 +00:00
mudrd8mz 1dfc37b8fe Merged from MOODLE_19_STABLE. Do not produce PHP warnings in case string file does not define array $string[] 2007-12-04 21:52:16 +00:00
toyomoyo 47769861ae MDL-12419, do not present course start date if start date is invalid 2007-12-04 01:08:48 +00:00