336 Commits

Author SHA1 Message Date
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
mjollnir_
60581bb517 Merged from MOODLE_19_STABLE:
More on MDL-11561 - fixed up path to local/ settings file to be more consistent,
added documentation in lib/locallib.php on how to create new local admin tree item
2008-01-15 01:10:34 +00:00
mjollnir_
0b5e060578 Merged from MOODLE_19_STABLE: MDL-11561 - added support for local/localsettings.php 2008-01-14 23:32:43 +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
skodak
e9c0fa35f4 MDL-12794 admin setting for file location; merged from MOODLE_19_STABLE 2008-01-01 22:25:11 +00:00
skodak
587c7040f5 MDL-12790 highlighting in admin search results breaks html
MDL-12791 add defaults parameter to format_admin_setting()
MDL-12792 search in admin settings and defaults
+ minor speedup of fast highlighting and fixed empty span tags

merged from MOODLE_19_STABLE
2008-01-01 15:51:54 +00:00
skodak
407d81349c MDL-12786 admin search in configselect choices; merged from MOODLE_19_STABLE 2007-12-31 15:55:36 +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
8cad6cca87 MDL-12775 PARAM_INT value '' automatically converted to 0 in configtext settings; merged from MOODLE_19_STABLE 2007-12-30 22:30:46 +00:00
skodak
e33fbf87ed MDL-12774 allow returning of errors from admin configtext settings; merged from MOODLE_19_STABLE 2007-12-30 17:59:17 +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
d0f5b9f4ee merged from 1.9 :: MDL-12745 :: added class clearfix to "form-item" to stop div collapsing. 2007-12-27 21:00:00 +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
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
a7ad48fd43 MDL-12712 fixed multiselect when nothing selected; merged from MOODLE_19_STABLE 2007-12-22 21:58:10 +00:00
skodak
58424a33d5 MDL-12684 fixing wrong link to manual settings page - settings.php not implemented yet, sorry; merged from MOODLE_19_STABLE 2007-12-20 21:00:05 +00:00
skodak
3cea9c554a MDL12672 fixed parent::search trouble; merged from MOODLE_19_STABLE 2007-12-20 14:39:12 +00:00
skodak
9c305ba15a MDL-12655 set_config() should cast values to string because get_config does that too; merged from MOODLE_19_STABLE 2007-12-19 22:32:43 +00:00
skodak
2876471013 MDL-11561 use 60x8 text area to fit on all screens; merged from MOODLE_19_STABLE 2007-12-19 18:42:44 +00:00
skodak
2fec2300f7 MDL-10401 redirect to site/admin/ if section error found; merged from MOODLE_19_STABLE 2007-12-19 18:05:09 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
skodak
d795bfdbf9 MDL-12221 reworked container autoclosing - error() and notice() do not work everywhere though; notice print header if needed now; new print_footer('empty') for empty footer - removes some hacky </body></html> - merged from MOODLE_19_STABLE 2007-12-14 21:22:38 +00:00
toyomoyo
93c61c18cf MDL-10915, additional setting for emoticons 2007-12-03 06:27:21 +00:00
toyomoyo
8f2469611f wrap search/replace in a function so that it could be used in cron 2007-12-03 04:46:37 +00:00
skodak
9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
skodak
3d5c00b344 MDL-12146 grade item settings can be now configured as advanced, new advanced defaults, minor tweaks in admintree; merged from MOODLE_18_STABLE 2007-11-15 17:32:31 +00:00
skodak
190af29fef MDL-12146 grade category defaults, forced settings and advanced options, merged from MOODLE_19_STABLE 2007-11-14 11:52:21 +00:00
urs_hunkler
60a94e79c3 merged from 1.9 :: added the clearfix option to the custom_corners call for admin pages to keep the "Save Changes" button within the area. 2007-11-11 17:30:52 +00:00
skodak
0a78455120 MDL-11934 grade report in user profile now selectable 2007-10-28 17:15:00 +00:00
skodak
89a5f82768 MDL-11278 improved forced category settings - refactoring + regrading forced + new setting to hide forced settings in UI 2007-10-20 15:00:31 +00:00
tjhunt
8bc9ebc401 Correct misleading error message in upgrade_activity_modules. Spotted while diagnosing MDL-11732. Merged from MOODLE_19_STABLE. 2007-10-13 22:00:55 +00:00
skodak
8ddcdd86cb MDL-8248 savepoints in main upgrade.php 2007-10-10 13:14:56 +00:00
skodak
c626c2f460 MDL-11566 site summary now optional 2007-10-03 10:35:34 +00:00
skodak
8e5da17a44 MDL-11562 supportname and supportemail are are now initialized after admin user setup
MDL-11566 only site shortname, fullname and desc are required/displayed during installation
MDL-11567 fixed upgradesettings redirects if error in settings
MDL-11143 defaultfrontpageroleid moved to Frontpage settings page (easier to find), speedup
2007-10-02 21:38:53 +00:00
stronk7
15999a9351 Allow the upgrade_plugins() function to autodetect if the header
has been printed, so it runs in "embedded" mode. Useful to run
submodule installation/upgrade in the same page than the parent. MDL-11183
2007-09-10 17:13:12 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
nicolasconnault
f1af7aaaf5 MDL-10870 All files updated to new build_navigation() method. 2007-08-17 07:25:47 +00:00
skodak
76317c73a2 MDL-10791 improve handling of localised floating point numbers in moodle; replaced/fixed some float_format() that were used instead of round(); expect some more patches soon 2007-08-10 15:00:35 +00:00
urs_hunkler
5730bc6119 MDL-8109 - merged from 1.8 2007-08-07 07:34:21 +00:00
nicolasconnault
9ba38673fa Fixed bugs and typos in grade backups 2007-07-27 13:38:06 +00:00
tjhunt
bb7053f3d8 MDL-10627 - "No message plugins installed" warning on admin page on head 2007-07-27 11:31:34 +00:00
moodler
05b4211927 A little more info when upgrading plugins 2007-07-25 07:08:07 +00:00
thepurpleblob
d717df34e0 MDL-10495:
Course Managers role's now in same order as Manage Roles screen.
2007-07-17 13:13:35 +00:00
moodler
3f59a54e0c Added support for xxxxx_install() hooks for generic plugins too 2007-06-19 16:35:41 +00:00
moodler
05f167f421 Only print notice when debugging MDL-10170 2007-06-19 16:27:04 +00:00
moodler
f11b9a9ed4 Fix for plugin directories with no plugins MDL-10170 2007-06-19 16:18:35 +00:00
moodler
11e4a24ba9 Added an install hook ... any function called modulename_install() will be run when the module is installed
MDL-10108
2007-06-18 03:59:47 +00:00
toyomoyo
76127f3797 adding new global variable to deter which export should write the exported timestamp in grade_grades_final table 2007-05-10 08:23:44 +00:00