Commit graph

3354 commits

Author SHA1 Message Date
David Mudrak
c31aa73c70 MDL-22812 Do not change dataroot path passed as argument
Because PARAM_SAFEPATH was applied on dataroot argument, directories
containing dots (eg. /var/www/data/moodle.tld.com) were silently
renamed. The patch removes the input validation on the argument. If the
enemy is executing scripts at the server, you are doomed anyway.
2010-06-17 15:40:07 +00:00
Eloy Lafuente
68949e5d5f MDL-22140 backup default settings - anonymize defaulting to no 2010-06-17 09:52:41 +00:00
Sam Hemelryk
61ebef8f6e backup MDL-22140 Added conf settings to control the default general backup settings 2010-06-17 08:57:00 +00:00
Petr Skoda
536fc0b535 mnet is not going to bork my sites with disabled mnet, sorry - preventing loading of mnet setting stuff into settings tree when it is disabled 2010-06-16 07:21:57 +00:00
Martin Dougiamas
dc5ba628f3 Typos in comments 2010-06-15 04:10:56 +00:00
jerome mouneyrac
94788de2a4 course publication MDL-19315 split /lib/hublib.php into admin/registration/lib.php and course/publish/lib.php 2010-06-11 03:24:09 +00:00
jerome mouneyrac
139978e50c registration MDL-19313 increase registration text fields width and add help icons 2010-06-09 06:44:50 +00:00
Dongsheng Cai
2bed95e962 MDL-22574, fixed file type 2010-06-08 08:02:14 +00:00
Dongsheng Cai
669a9e56a8 MDL-22574, use file picker to select user picture file 2010-06-08 06:09:04 +00:00
David Mudrak
2fcf41e6c0 MDL-21695 Replaced grade/keephigh.html
AMOS BEGIN
 MOV [keephighhelp,core_grades],[keephigh_help,core_grades]
 HLP grade/keephigh.html,[keephigh_help,core_grades]
AMOS END
2010-06-07 16:35:35 +00:00
Dongsheng Cai
1eda38ee34 MDL-22574, use filepicker to impot users in admin 2010-06-04 04:08:56 +00:00
Martin Dougiamas
1974b3153a Make the description field bigger 2010-06-03 09:38:46 +00:00
Petr Skoda
8496eeb3bc MDL-22040 converting username to html entities before outputting 2010-06-03 08:18:38 +00:00
jerome mouneyrac
06d4578c60 Community block MDL-19314 add prefix to hublib.php defines + remove some old not used 1.9 strings from lang/moodle.php 2010-06-02 08:41:21 +00:00
jerome mouneyrac
a6ada9598a registration MDL-19313 delete old registration page 2010-06-02 07:07:27 +00:00
Petr Skoda
12d77d4db4 MDL-20204 prevent distractions (such as blocks) on the upgrade settings page 2010-05-29 18:11:42 +00:00
David Mudrak
c64c959733 MDL-21695 Dropped grade/gradeexportdisplaytype.html and renamed configgradeexportdisplaytype
AMOS BEGIN
 MOV [configgradeexportdisplaytype,core_grades],[gradeexportdisplaytype_desc,core_grades]
AMOS END
2010-05-27 21:10:47 +00:00
David Mudrak
56f9c6ceb9 MDL-21695 Replaced grade/gradedisplaytype.html
AMOS BEGIN
 HLP grade/gradedisplaytype.html,[gradedisplaytype_help,core_grades]
AMOS END
2010-05-27 21:04:11 +00:00
Martin Dougiamas
d0f9f92c9d MDL-22595 Fix registration link to old script 2010-05-27 09:34:18 +00:00
David Mudrak
c4f8fd0c3d MDL-18797 The selected language pack fetched during install 2010-05-27 06:57:21 +00:00
David Mudrak
af8d4d9128 MDL-18797 current language pack updated during upgrade
Also fixes langimport.php to use the new function to get parent language
of a given language.
2010-05-26 00:29:33 +00:00
David Mudrak
a9e41d3e92 MDL-18797 admin/langimport.php works again for Moodle 2.0 language packs
I have prepared language packs at
http://download.moodle.org/langpack/2.0 manually for now. To be
automated once the production AMOS server is up and running.
2010-05-26 00:03:56 +00:00
David Mudrak
5cefe4f1b5 MDL-21696 Temporarily hiding language editing feature from admin tree
To be replaced by the new tool.
2010-05-25 23:53:36 +00:00
Martin Dougiamas
89c510174e navigation MDL-22425 Moved 'defaulthomepage' to navigation settings from user policy page 2010-05-25 07:40:24 +00:00
Andrew Davis
54caa598ee gradebook MDL-22522 fixed navigation issues around editing letters 2010-05-25 07:03:06 +00:00
jerome mouneyrac
30a4fb1b97 webservice MDL-22562 add missing user profile custom fields to external create_users function + update test client 2010-05-25 03:44:29 +00:00
David Mudrak
662672602e MDL-21695 grade/exportdecimalpoints.html (not used) and overall decimal points fix
AMOS BEGIN
 MOV [configexportdecimalpoints,core_grades],[gradeexportdecimalpoints_desc,core_grades]
AMOS END
2010-05-24 16:10:18 +00:00
David Mudrak
b37760fcf8 MDL-21695 Replaced grade/droplow.html
AMOS BEGIN
 HLP grade/droplow.html,[droplow_help,core_grades]
AMOS END
2010-05-24 15:41:05 +00:00
David Mudrak
6e2d05aeb8 MDL-21695 grade/aggregationposition.html
AMOS BEGIN
 HLP grade/aggregationposition.html,[aggregationposition_help,core_grades]
AMOS END
2010-05-24 09:51:50 +00:00
David Mudrak
f89b71eb4b MDL-21695 Tranferred grade/aggregation.html into the help string
AMOS BEGIN
 HLP grade/aggregation.html,[aggregation_help,core_grades]
AMOS END
2010-05-24 09:51:22 +00:00
Petr Skoda
9b56a34f7d MDL-16089 some resource lib and lang pack cleanup
AMOS START
 MOV [displayauto,mod_resource],[resourcedisplayauto,core]
 MOV [displaydownload,mod_resource],[resourcedisplaydownload,core]
 MOV [displayembed,mod_resource],[resourcedisplayembed,core]
 MOV [displayframe,mod_resource],[resourcedisplayframe,core]
 MOV [displaynew,mod_resource],[resourcedisplaynew,core]
 MOV [displayopen,mod_resource],[resourcedisplayopen,core]
 MOV [displaypopup,mod_resource],[resourcedisplaypopup,core]

AMOS END
2010-05-22 13:54:41 +00:00
Petr Skoda
3b5ff37f24 MDL-22546 removing dirroot from the config.php - this should finally solve the symbolic links issues because we know 100% what should be in $CFG->dirroot once we get into lib/setup.php, it is being initialised there automatically instead + more robust handling of dataroot + simplified config-dist.php and installer; the $CFG->admin is now visible only if admin directory can not be found; please note the old config.php's are still going to work, if admins remove the dirroot they have to add the __FILE__ into require_once lib/setup.php at the end of old config 2010-05-21 17:32:15 +00:00
David Mudrak
75dc321807 MDL-21695 Replacing grade/aggregatesubcats.html
AMOS BEGIN
 HLP grade/aggregatesubcats.html,[aggregatesubcats_help,core_grades]
AMOS END
2010-05-21 13:45:55 +00:00
David Mudrak
53267b7970 MDL-21695 Replacing grade/aggregateoutcomes.html
AMOS BEGIN
 HLP grade/aggregateoutcomes.html,[aggregateoutcomes_help,core_grades]
AMOS END
2010-05-21 13:45:29 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Petr Skoda
39668e9beb MDL-22544 html purifier now default cleaning engine - die kses die 2010-05-21 11:13:52 +00:00
David Mudrak
7be6768138 MDL-22295 CLI installer supports --chmod argument to define $CFG->directorypermissions 2010-05-20 13:40:45 +00:00
Petr Skoda
b935d10949 MDL-22061 use string_exists - local plugins may not have lang packs 2010-05-20 07:29:24 +00:00
jerome mouneyrac
3f106c06c7 registration MDL-19313 better display on the registration confirmation page. The confirmation page now retrieve the name of the hub. 2010-05-19 07:31:46 +00:00
David Mudrak
c8d463dd97 MDL-21695 help/grade/aggregateonlygraded.html
AMOS BEGIN
 HLP grade/aggregateonlygraded.html,[aggregateonlygraded_help,core_grades]
AMOS END
2010-05-18 06:06:35 +00:00
David Mudrak
6c7a5df7a3 MDL-21695 Upload pictures and upload users - strings cleanup and fixing
Strings related to users uploading moved into admin.php component. Fixed
calling of new help strings. Fixed incorrect strings call.
The script also copies instructions from two previous commits as I
forgot that the commit must touch some string file to being parsed by
amos.

AMOS BEGIN
 HLP uploadusers3.html,[uploadusers_help,core_admin]
 HLP uploadusers2.html,[uploadusers_help,core_admin]
 HLP uploadusers.html,[uploadusers_help,core_admin]
 HLP uploadpictures.html,[uploadpictures_help,core_admin]
 MOV [uploadusers,core],[uploadusers,core_admin]
 MOV [uploadusers_help,core],[uploadusers_help,core_admin]
 HLP cookies.html,[cookiesenabled_help,core]
 HLP overrides.html,[overridepermissions_help,core_role]
 HLP permissions.html,[permission_help,core_role]
AMOS END
2010-05-17 15:16:33 +00:00
David Mudrak
52236f053b MDL-21695 Permissions and overrides help strings
AMOS BEGIN
 HLP overrides.html,[overridepermissions_help,core_role]
 HLP permissions.html,[permission_help,core_role]
AMOS END
2010-05-17 12:43:02 +00:00
Martin Dougiamas
e641b745ee MDL-22015 Added a new setting langstringcache to enable/disable the string caching. Developers will want to switch this off. :) 2010-05-17 09:26:17 +00:00
Martin Dougiamas
99cca8470e MDL-19124 Continued misc user profile cleanups
- fixed user styles in base theme
    - added new divs for better control on user profile and user index pages
    - reduced data on course user profiles down to minimum
    - removed user/tabs.php completely and all uses of it
    - changed default user icon pix to something very bland (bye bye smiley cake)
2010-05-16 08:21:12 +00:00
David Mudrak
849c94bed8 Fixing a typo in get_string() component 2010-05-13 13:40:56 +00:00
Sam Hemelryk
4766a50c19 navigation MDL-22425 Restructured navigation for the nth time plus performance tweaking and course display limit 2010-05-13 09:57:43 +00:00
Martin Dougiamas
bfebaf64d8 MDL-22388 Added some checks to kill these scripts dead with an unequivocal notice unless included properly from a Moodle script. 2010-05-13 02:02:05 +00:00
Martin Dougiamas
15ac57cbc0 MDL-19313 Use an existing exception code 2010-05-12 07:56:48 +00:00
Martin Dougiamas
ab41b6c47b MDL-22427 Got rid of hideactivitytypenavlink, with three good reasons 1) It doesn't do anything, 2) It was a NEGATIVE setting (show not hide) and 3) it refers to hardcoded roles 2010-05-12 05:42:47 +00:00
Dongsheng Cai
ea1780adf3 MDL-13766, implemented user quota 2010-05-11 06:49:51 +00:00