Dongsheng Cai
6723372514
MDL-28666 Extends repository to support references
...
1. Allow repository to create references to external contents
2. Extends files API to handle file references
3. Generic file caching
4. Backup/restore file references
5. Download external contents if repository uninstalled
6. Allow filepicker to display iframe
7. PHPUnit test suits
2012-05-21 11:57:51 +08:00
Eloy Lafuente (stronk7)
754c2deab6
Merge branch 'MDL-32941' of git://github.com/mouneyrac/moodle
...
Conflicts:
course/externallib.php
lib/db/services.php
version.php
2012-05-17 22:35:57 +02:00
Fábio Souto
2f951d866a
MDL-32941 Added service definition and implementation for core_course_delete_categories()
...
Included is a bug correction to categories_delete_move() which does not
respect showfeedback parameter, printing feedback even when not wanted
(this breaks the webservice output)
Conflicts:
admin/webservice/testclient_forms.php
lib/db/services.php
2012-05-17 10:34:03 +08:00
Fábio Souto
be05180890
MDL-32941 complete unit tests and webform
2012-05-17 10:33:56 +08:00
Andrew Robert Nicols
74b714df7e
MDL-32005 Add idnumber field to groups and groupings
2012-05-15 09:38:51 +01:00
Petr Skoda
8c6136a879
MDL-32793 use geoLookup for IP address lookup by default
2012-05-08 23:45:28 +02:00
Andrew Robert Nicols
0c053c5368
MDL-32508 Add error when trying to access an unknown course section
2012-05-04 13:41:59 +08:00
Andrew Davis
af4f61720d
MDL-32191 grade:renamed a mis-spelled string name
...
AMOS BEGIN
MOV [invalidgradeitmeid,error],[invalidgradeitemid,error]
AMOS END
2012-04-20 12:03:34 +07:00
Davo Smith
4069ae323d
MDL-31110 Filemanager drag and drop upload - always hide spinner, even when errors occur
2012-01-19 19:21:27 +00:00
Sam Hemelryk
83f78f8dac
MDL-26869 admin: Added page to view admin categories and included in navigation with a new setting
2012-01-03 09:39:10 +13:00
Eloy Lafuente (stronk7)
765d97c8a1
MDL-30777: whitespace fix
2011-12-21 00:40:25 +01:00
Darko Miletic
75c95c8b02
MDL-30777: Properly implemented error message
2011-12-20 11:06:50 -03:00
Dongsheng Cai
ec0d6ea2a9
MDL-28646 Web service: core_course_get_contents()
...
1. Implement core_course_get_contents web service
2. Implement callbacks in folder, resource, page and url modules
3. Implement download script for web service
2011-11-28 16:22:38 +08:00
Dongsheng Cai
ad7612f597
MDL-29476 web service improvements
...
1. moodle_enrol_get_users_courses should return number of participants,
2. moodle_user_get_users_by_courseid should limit the fields to be returned
2011-11-16 12:02:24 +08:00
Petr Skoda
2b0e3941e9
MDL-30026 improve session lock acquire timeouts and other minor cleanup
...
This is partially based on original patch by Tony Levi.
2011-11-06 17:52:15 +01:00
Sam Hemelryk
4bc844f770
Merged branch '28595_m22_installcontinue' of git://github.com/skodak/moodle with changes
2011-09-13 15:34:03 +12:00
Petr Skoda
1ad8143a30
MDL-28595 explain the need to install into new db if something fails during the initial install
2011-09-11 00:07:28 +02:00
Tim Hunt
b8882c1334
MDL-27639 add two missing language strings.
...
Without these strings, important information for debugging is not displayed.
2011-06-14 12:10:27 +01:00
Sam Hemelryk
e5824bb9c6
MDL-25394 Tidied up several things in order to get this integrated
2011-05-31 14:28:03 +08:00
Sam Hemelryk
2b04c41c58
MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
...
* Added the component and ratingarea fields and implemented it throughout
the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
API.
2011-05-23 12:35:39 +02:00
Dongsheng Cai
c1951ea953
MDL-26854 COMMENT
...
1. added pluginname_comment_validate callback to comments api
2. change permission callback defaults to false
3. Tidied up serveal areas of comments and implemented callback to
ignore system permissions for view (credits to Sam Hemelryk)
AMOS BEGIN
MOV [modulerejectcomment,error],[callbackrejectcomment,error]
AMOS END
2011-05-04 17:23:46 +08:00
Eloy Lafuente (stronk7)
0540e39af9
Merge branch 'w17_MDL-27263_m21_loggedintypo' of git://github.com/skodak/moodle
2011-04-26 11:04:39 +02:00
Petr Skoda
3c2fffbaa7
MDL-27263 fix already logged in error message typo
2011-04-21 20:35:16 +02:00
Sam Hemelryk
75ee207b81
MDL-26770 enrol - Added support for bulk operations by enrol plugins
2011-04-21 10:13:13 +08:00
David Mudrak
a9cbd19bff
MDL-26804 core_string_manager::get_list_of_translations() can use a cache again
...
This patch reimplements the internal cache that was used to store the
list of available translations in Moodle 1.x. By default, the method
get_list_of_translations() still uses the file
moodledata/cache/languages to store the list of available translations.
The location of that file can be redefined in config.php. The internal
format of the cache file is JSON now (used to be a plain text list).
The patch also fixes a usage of the global $CFG in translation_exists()
methods where the internal property should be used instead.
2011-03-24 21:51:30 +01:00
Petr Skoda
431ac39634
MDL-26623 fix file permissions
...
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Petr Skoda
8bdb31ed54
MDL-26564 fix regressions and other problems in csv user upload
...
This patch fixes incorrect password creating, updating and resetting, updating of user fields, unsupported auth plugins are correctly identified, modification of mnethostid is prevented, fixed problem with email duplicates, new password is generated for users without email, etc. It also includes coding style improvements, more inline docs, future TODOs and license information.
2011-02-28 08:27:31 +01:00
Helen Foster
bbe6f6e113
MDL-21250 capital letters removal and greylisted string removal
2010-12-08 15:35:52 +00:00
Petr Skoda
cbad562eee
MDL-25314 improved prevention of output buffering + detection of misconfigured servers
...
Scripts that do not want buffered output just define NO_OUTPUT_BUFFERING before including config.php.
The fileserving code now checks if the headers are already sent which detects misconfigured servers.
2010-11-19 03:40:43 +00:00
Aparup Banerjee
011bfd2a54
database MDL-24863
...
- added restricting text conditions to where_clause , it throws a dml_exception when detected.
- also added to where_clause throwing dml_exception for field that doesn't exist in table.
- added unit tests for text condition restricting.
- added 2 unit tests for set_field_select() testing 'auto-casting params to int problem' fix
2010-11-18 06:00:51 +00:00
Dongsheng Cai
1d5bd3d2ed
MDL-24941, fixed nopermission error when student entering scheduled chat session
2010-11-17 07:56:40 +00:00
Helen Foster
ed089f0fad
typo fix
2010-11-05 09:48:36 +00:00
Rossiani Wijaya
3f12c14639
MDL-21559: fixed force password change for internal and external authentication in user upload.
2010-11-05 08:41:53 +00:00
Petr Skoda
e81fb5efad
MDL-16640 do not show login form to users that are already logged in, this may solve some sesskey problems caused by re-logging
2010-10-10 12:13:23 +00:00
Eloy Lafuente
e7eca65d98
MDL-23752 backup - export/import add one missing string
2010-09-28 09:37:16 +00:00
Eloy Lafuente
5423b5f5b1
MDL-13435 xmlize - now throwing exceptions on parsing error. Credit goes to Tim/Mahmoud
2010-09-27 21:10:00 +00:00
Sam Hemelryk
a49cef3e3e
blocks-completionstatus MDL-19791 Converted deprecated calls
2010-09-22 08:22:58 +00:00
Petr Skoda
41a50aa254
MDL-19057 detect missing unique primary key on id columns
2010-09-14 16:13:06 +00:00
Petr Skoda
80380bd79b
MDL-24089 preventing any plugin upgrades if downgraded core detected; localising error message
2010-09-05 19:16:42 +00:00
Petr Skoda
77f6cb83c0
MDL-23984 removing unused error string
2010-08-29 15:28:38 +00:00
Petr Skoda
4031f6a27c
MDL-23984 improved check_dir_exists() and make_upload_directory() incorrect permissions throw fatal exceptions by default; it is possible to create dirs outside of dataroot (necessary for custom dir locations); fixed Win32 compatibility in session_exists method
2010-08-29 14:33:39 +00:00
David Mudrak
2134a91dd5
MDL-21696 Getting rid of legacy language customization stuff
2010-08-24 23:17:19 +00:00
Petr Skoda
d35ece6cce
MDL-23682 new MySQL engine diagnostics + InnoDB is now used instead of MyISAM in new installs if available + improved mysql transaction support
2010-08-18 16:47:00 +00:00
Ashley Holman
dd824dbc2b
MDL-21432 lang string for missing_moodle_backup_xml_file error message
...
This is so you can easily see which file is missing.
2010-08-18 09:35:49 +00:00
Petr Skoda
4f622c38a1
MDL-23774 only administrators may edit administartor accounts
2010-08-12 09:44:28 +00:00
Dongsheng Cai
1311e4dd00
MDL-23268, throw error message instead of deleting existing file
2010-07-27 03:10:59 +00:00
jerome mouneyrac
a4694f0e35
lang MDL-23398 fix typo in an error message
2010-07-20 03:05:10 +00:00
Petr Skoda
8571833f0b
MDL-23069 moving version and cron info into standard version.php - finally, yay!
2010-07-04 12:18:22 +00:00
Petr Skoda
64f93798d4
MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment
2010-07-03 13:37:13 +00:00
Petr Skoda
df997f841f
MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
...
AMOS START
MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
MOV [enrolenddate,core],[enrolenddate,enrol_self]
CPY [welcometocourse,core],[welcometocourse,enrol_self]
CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
MOV [notenrollable,core],[notenrollable,core_enrol]
MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
MOV [coursemanager,core_admin],[coursecontact,core_admin]
MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
MOV [enrolme,core],[enrolme,core_enrol]
MOV [unenrol,core],[unenrol,core_enrol]
MOV [unenrolme,core],[unenrolme,core_enrol]
MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
MOV [enrolments,core],[enrolments,core_enrol]
MOV [enrolperiod,core],[enrolperiod,core_enrol]
MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00