Commit graph

1943 commits

Author SHA1 Message Date
Sam Hemelryk
0e743da2b4 Merge branch 'w02_MDL-30717_m23_usercreated' of git://github.com/skodak/moodle 2012-01-09 14:03:10 +13:00
Sam Hemelryk
b07646fcf7 MDL-30928 lib: Fixed whitespace 2012-01-09 13:57:06 +13:00
Petr Skoda
1fb6f5ab67 MDL-30717 update user->timemodified in update_user_record() 2012-01-08 15:03:53 +01:00
Petr Skoda
549a8b74b3 MDL-30717 add missing time created info in create_user_record()
Credit goes to Luis Gustavo Mueller de Alcantara.
2012-01-08 15:03:52 +01:00
Petr Skoda
e7157a0054 MDL-30928 include course and user deletion time in event
Credit goes to Luis Gustavo Mueller de Alcantara.
2012-01-08 14:29:18 +01:00
Eloy Lafuente (stronk7)
96f888506c Merge branch 'w52_MDL-30948_m23_messagesuspended' of git://github.com/skodak/moodle 2012-01-04 00:47:48 +01:00
Eloy Lafuente (stronk7)
bb2308a33a Merge branch 'wip-MDL-26155-m23' of git://github.com/samhemelryk/moodle
Conflicts:
	admin/settings/security.php
2012-01-03 17:26:31 +01:00
Sam Hemelryk
d79883ab7f MDL-26155 string: Improved validation when constructing lang_strings if debugging is enabled 2012-01-03 09:09:40 +13:00
Sam Hemelryk
e6d40f8ac2 MDL-26155 string: Implemented moodle_string class 2012-01-03 09:04:58 +13:00
Petr Skoda
ca8fe0b00a MDL-30948 stop messaging suspended and deleted users 2011-12-29 17:01:10 +01:00
Petr Skoda
a0fee9c07e MDL-30934 fix module delete cleanup
Credit goes to Rajiv Navada.
2011-12-27 14:59:45 +01:00
Andrew Davis
8e54ce9717 MDL-20245 grade: increased the length of the user_preferences::value column and added an exception to set_user_preference() is this new length is exceeded
Conflicts:

	lib/db/upgrade.php
	version.php
2011-12-21 12:13:33 +01:00
Sam Hemelryk
fc0d8f77f2 Merge branch 'wip-MDL-28948-master' of git://github.com/abgreeve/moodle 2011-12-20 10:44:41 +13:00
adrian@moodle.com
98456628a2 MDL-28948 - lib - removed the hard coded key for the rc4encryt function. 2011-12-16 09:17:24 +08:00
Eloy Lafuente (stronk7)
5c5ea474c4 MDL-30592 moodlelib: minor phpdocs/debug tweaks 2011-12-14 22:37:40 +01:00
Eloy Lafuente (stronk7)
12727710d4 Merge branch 'MDL-30592' of git://github.com/timhunt/moodle 2011-12-14 22:03:26 +01:00
Petr Skoda
dbd7282ca3 DML-30588 do not require enrollment after switching of roles 2011-12-10 12:44:32 +01:00
Tim Hunt
8c03be8c71 MDL-30592 moodlelib: new helper component_callback
I chose to be slighly inconsistent with plugin_callback in order to make a nicer API.
2011-12-09 19:23:36 +00:00
Eloy Lafuente (stronk7)
c08a5622b8 Merge branch 'w47_MDL-29450_m22_removecoursecontent' of git://github.com/skodak/moodle 2011-11-23 23:01:27 +01:00
Petr Skoda
16ef46e7b6 MDL-29450 improve and cleanup course content removal
New keep roles/enrolments and groups/groupings options, notification CSS fixed, standardised notification texts, added missing delete of module blocks, fixed file deleting and some other minor issues.
2011-11-23 18:37:36 +01:00
Eloy Lafuente (stronk7)
8ccbf8d1e5 Merge branch 'MDL-30409-master' of git://github.com/sammarshallou/moodle 2011-11-23 13:33:39 +01:00
Eloy Lafuente (stronk7)
1316fc8af9 Merge branch 'MDL-30306b' of git://github.com/timhunt/moodle 2011-11-23 01:18:00 +01:00
sam marshall
3d8138bbd2 MDL-30409 moodlelib syntax errors 'throw coding_exception' 2011-11-22 16:33:23 +00:00
Petr Skoda
0b9f2a02ab MDL-30349 make sure file stat cache is reset properly after each remove_dir()
Typo3 does this, maybe it works around some PHP bugs…
2011-11-19 10:36:37 +01:00
Tim Hunt
fc2dafcff5 MDL-30306 get_string developer warning. Help lazy developers. 2011-11-18 16:00:33 +00:00
Ankit Kumar Agarwal
e079e82c08 MDL-29893 Fixing issues with password generation function 2011-11-16 12:01:57 +05:30
Sam Hemelryk
1ae9aa2b8f Merged MDL-29108 Advanced grading 2011-11-14 22:01:05 +13:00
Eloy Lafuente (stronk7)
8ac9d33f49 Merge branch 'MDL-26647-master' of git://github.com/sammarshallou/moodle
Conflicts:
	lib/db/upgrade.php
	report/completion/index.php
	report/progress/index.php
	version.php
2011-11-11 03:37:55 +01:00
Eloy Lafuente (stronk7)
d64cb2fb73 Merge branch 'w44_MDL-30131_m22_enrolcaching' of https://github.com/skodak/moodle 2011-11-09 23:47:01 +01:00
Petr Skoda
e30cc24c0d MDL-29030 make admin reports general reports
AMOS BEGIN
 CPY [pluginname,coursereport_log],[pluginname,report_log]
 CPY [pluginname,coursereport_stats],[pluginname,report_stats]
AMOS END
2011-11-06 12:22:45 +01:00
Petr Skoda
bbfdff344c MDL-30131 improve current user enrol caching 2011-11-06 09:40:06 +01:00
sam marshall
a1c947bde2 MDL-26647 (2) New lib function get_extra_user_fields and related
get_extra_user_fields to get a list of extra user fields for display (that are permitted for current user in given context). get_extra_user_fields_sql returns the same thing as a SELECT list.

get_user_field_name returns the display name of a user field (basically just get_string($field) except phone1=>phone)
2011-11-04 13:57:10 +00:00
David Mudrak
d6d341d09b Merge remote branch 'origin/master' into rubric
Conflicts:
	lib/db/upgrade.php
	version.php
2011-11-02 23:17:08 +01:00
Petr Skoda
44ac4f62de MDL-29972 make sure lang dir exists before writing into it 2011-10-28 16:05:52 +02:00
David Mudrak
18dd4a69d0 Merge remote branch 'origin/master' into rubric
Conflicts:
	lib/db/upgrade.php
2011-10-27 21:58:45 +02:00
Eloy Lafuente (stronk7)
036f27a420 Merge branch 'w42_MDL-29670_m22_croncleanup' of git://github.com/skodak/moodle 2011-10-25 23:51:10 +02:00
David Mudrak
01609c9ad9 Merge remote branch 'origin/master' into rubric
Conflicts:
	lib/db/upgrade.php
	version.php
2011-10-24 22:13:01 +02:00
Petr Skoda
c34724de75 MDL-29881 remove old apd profiling
Profiling is now handled via xhprof extension and new profiling UI.
2011-10-23 10:45:35 +02:00
Petr Skoda
50ed196e51 MDL-29670 cron cleanup and minor fixing
Auth and enrol is moved to the top because other plugin types depend on accurate user list and enrolments. Passwords and failed login messages are generated during every cron execution.  Contexts are build properly in each execution. Fixed deleting of unconfirmed users. And minor phpdocs and comments improvements.
2011-10-22 14:31:18 +02:00
Eloy Lafuente (stronk7)
c2551ed593 Merge branch 'w41_MDL-29602_m22_accesslib' of git://github.com/skodak/moodle 2011-10-18 13:15:13 +02:00
Aparup Banerjee
77c3e9d0c6 MDL-29768 Language : fixed installation undefined debugstringids notice 2011-10-18 11:19:43 +08:00
Petr Skoda
e922fe23b6 MDL-29602 accesslib improvements
Refactoring and improvements of the accesslib.php library including prevention of access for not-logged-in users when forcelogin enabled, improved context caching, OOP refactoring of contexts, fixed context loading, deduplication of role definitions in user sessions, installation improvements, decoupling of enrolment checking from capability loading, added detection of deleted and non-existent users in has_capability(), new function accesslib test, auth and enrol upgrade notes.

More details are available in tracker subtasks.
2011-10-16 14:05:18 +02:00
David Mudrak
20c207ab21 Merge branch 'master' into rubric
Conflicts:
	lib/db/upgrade.php
2011-10-13 22:42:47 +02:00
sam marshall
2e98ae02ec MDL-29768 debugstringids option did not do anything 2011-10-13 12:57:55 +01:00
Tim Hunt
e4e0020ed6 MDL-29625 new helper function get_plugin_list_with_class.
Based on the existing get_plugin_list_with_function. As part
of implementing this, I refactored out a
get_plugin_list_with_file function, which may also be useful.
2011-10-11 10:46:23 +01:00
David Mudrak
091222581d MDL-29479 Registered new plugin type "gradingform" 2011-09-29 18:36:00 +02:00
David Mudrak
b11f9da65e MDL-29479 New feature FEATURE_ADVANCED_GRADING
Plugins will use this feature to claim their support for the new
advanced grading methods machinery.
2011-09-29 00:09:59 +02:00
David Mudrak
4333580e80 MDL-29479 Added new core subsystem "grading" 2011-09-29 00:09:58 +02:00
Petr Skoda
3340dae60a MDL-29504 plugin_callback() - undelete global $CFG that was supposed to be unused 2011-09-27 10:12:57 +02:00
Eloy Lafuente (stronk7)
432e182654 MDL-29504 plugin_callback() - delete some unused code 2011-09-27 02:03:50 +02:00