564 Commits

Author SHA1 Message Date
skodak
ee2e85d4ac MDL-13360 fixed regression - notifications going more than once a day; merged from MOODLE_19_STABLE 2008-03-25 23:04:06 +00:00
ethem
c49c221090 get_recordset() for performance 2008-03-21 11:48:46 +00:00
ethem
b37fa3d553 get_recordset() for performance 2008-03-21 11:47:17 +00:00
ethem
25a215b9cb Race condition in cron for Scheduled-Capture (very very big sites and order review enabled only).
In one cron, 250-500 orders may be processed (based on 5 minutes).
If an admin sets cron time up smaller than 5 minutes and
250-500> new transactions are made after last cron executed, it can be blocked.
Authorize cron sets up an_lastcron every time when admin/cron.php executes.
This must be set up after blocking check code.

As result, if pending orders aren't accepted with in 30 days at payment management page, they expired and users cannot enrol.
When an admin enabled order review, he is guaranteed 'Payment managers accept/deny transactions manually'.
Scheduled-Capture is designed for forgotten orders only ;)
2008-03-10 11:05:46 +00:00
ethem
68be1fe1e7 get_recordsetXXX in cron() for performance 2008-03-05 17:09:05 +00:00
skodak
4b1b37021a MDL-13360 expire notification problems; merged from MOODLE_19_STABLE 2008-03-04 08:55:28 +00:00
ethem
9088b7d25d Code readability & documentation 2008-03-03 16:04:32 +00:00
ethem
59bb411a3f This plugin requires Moodle version 2007101507. moodlelib::is_enabled_enrol() 2008-02-25 09:34:18 +00:00
ethem
f31d516e95 Fixo 2008-02-11 13:54:28 +00:00
ethem
a6c970b863 Fixo 2008-02-11 13:52:47 +00:00
ethem
65f0a8f697 Accesbility Improvements. Strings added: orderdetails, cclastfour, isbusinesschecking, shopper 2008-02-11 10:44:09 +00:00
ethem
36814b9910 Accesbility Improvements: -New search option, cc last four; -Paging options 2008-02-11 10:05:06 +00:00
ethem
3fc5a426bf Zend Studio Warning: Assignment in condition (line XX), Solved, one more ()
Merged from MOODLE_19_STABLE
2008-02-07 16:33:58 +00:00
ethem
04b8b68848 MDL-10181 User Management Improvements: Cron unenrolment of manual should takes place in the main cron.
It is time to use own enrolment method when calling funcs enrol_into_course, role_assign, role_unassign.

Zend Studio Warning: Assignment in condition (line XX), Solved, one more ()
Assignments in a conditional statement are sometimes the result of a typo.
In many cases, instead of the assignment operator =, the equality operator ==
should be used. When comparing a variable and a non-variable expression,
it is common practice to put the variable on the right-hand side of the equality
operator, so that if the equality operator is erroneously replaced with the
assignment operator, PHP will report a parse error immediately.
This helps you avoid a big subset of this class of bugs.

Merged from MOODLE_19_STABLE
2008-02-06 08:13:20 +00:00
ethem
ca177540ba *** empty log message *** 2008-02-05 17:34:36 +00:00
ethem
5b184c3f44 *** empty log message *** 2008-02-05 17:27:35 +00:00
ethem
e08dc18dbe *** empty log message *** 2008-02-05 17:05:29 +00:00
danmarsden
7993f4bdaa Fix for MDL-12998 and MDL-13079 Ldap not unenrolling users correctly 2008-01-21 23:22:12 +00:00
ethem
da86084f82 download_file_content() for proxy support. 2008-01-18 17:31:14 +00:00
ethem
1dbc38bbec download_file_content() for proxy support. 2008-01-18 17:13:26 +00:00
ethem
3309cb829f + fsockopen to file_get_contents
+ no more student
2008-01-18 10:43:21 +00:00
ethem
8bdd962733 Authorize.net account verification 2008-01-16 17:19:30 +00:00
ethem
4e25202e0b Tidy up 2008-01-15 10:16:27 +00:00
ethem
d2e042ee5e Tidy up 2008-01-15 10:03:57 +00:00
ethem
039afd9b87 MDL-12958 In the Authorize enrol plug-in when a credit card expiry date (year) is entered, a validate error is generated blocking credit card usage 2008-01-14 18:01:18 +00:00
poltawski
209819bd72 MDL-12856 - previous commit was breaking moodle installs after
redeclaring method. Remove the duplicate function.

merged from MOODLE_19_STABLE
2008-01-07 20:57:44 +00:00
ikawhero
6b34dd500c Adding method to allow printing of the enrolment key form code when using PayPal.
Merged from MOODLE_19_STABLE
2008-01-07 01:02:45 +00:00
martinlanghoff
0d8466509d enrol/manual: Fix calls to get_users_by_capability() to avoid ra
get_users_by_capability() can no longer refer to properties of role
assignments or roles, as the capability aggregate is indirect.

MDL-12452
2008-01-06 23:25:15 +00:00
skodak
df512196f5 MDL-9744 passwork field for ldap bind pw - patch by Iñaki Arenaza; merged from MOODLE_18_STABLE 2008-01-02 22:53:47 +00:00
skodak
a117919527 MDL-10975 enrol_database_sync.php will run even if the plugin is disabled - patch by Braden MacDonald; merged from MOODLE_19_STABLE 2008-01-02 22:36:31 +00:00
poltawski
25c3f91a52 MDL-12789 - dont unnecessarily iterate over all groups 2008-01-01 23:03:48 +00:00
poltawski
89a643b0fa MDL-2414 - using quotes in enrolment keys failed due to slashes.
merged from MOODLE_19_STABLE
2007-12-28 12:36:33 +00:00
skodak
a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
thepurpleblob
220f149cfc MDL-12296:
Unenrol disable option now works in synchronisation script.

Merged from STABLE_19
2007-11-23 15:49:00 +00:00
thepurpleblob
3d49005f20 MDL-12296:
Added option to prevent database enrolment plugin unenrolling users.

Merged from STABLE_19
2007-11-21 11:06:46 +00:00
ethem
488bc5f51b Fix for Canadian Postal Code
http://moodle.org/mod/forum/discuss.php?d=81736
2007-11-20 13:22:39 +00:00
iarenaza
41079ed4bb MDL-11099 and MDL-11655 Don't show external db password in clear 2007-11-18 12:45:21 +00:00
mchurch
5e983a9a2f MDL-11991 Fixing error on undefined method while using the manual plug-in. 2007-11-13 18:07:23 +00:00
ethem
048be1b091 Fix for refactoring
Fatal error: Call to undefined method enrolment_plugin_authorize::print_enrolmentkeyfrom() in /usr/local/www/data/moodle/enrol/manual/enrol.html on line 7
2007-11-07 15:57:23 +00:00
ethem
d906abacca Access modifiers. 2007-11-07 10:54:28 +00:00
ethem
3ab547688a Access modifiers. 2007-11-07 10:24:35 +00:00
donal72
254f0c073a Initialize the $message variable properly this time. 2007-11-01 21:30:37 +00:00
donal72
970dc3660d Revert: Initialize the $message variable 2007-11-01 21:28:08 +00:00
donal72
d576d0402c Initialize the $message variable 2007-11-01 05:06:26 +00:00
mattc-catalyst
6f3dc679c6 Author: Matt Clarkson <mattc@catalyst.net.nz> 2007-10-30 20:46:18 +00:00
donal72
22f9befe82 MDL-11329: fixed text: "Local courses for external users:" 2007-10-16 09:15:02 +00:00
nicolasconnault
56a1a88228 MDL-8605 New user directories implemented 2007-10-11 09:01:29 +00:00
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
skodak
128f098418 MDL-11640
* improved handling of dirty contexts in general - caching, switching in cron, marking, loading, etc.
* role_assing() and role_unassign() now marks dirty contexts because we use has_capability() in this function - we can not do it later outside to speedup bulk operations
* fixed some inline docs
* fixed notice from rs closing
* removed cached $CONTEXT from has_capability() - $context is now required parameter; this was hiding serious bugs when context did not exist or ppl passed false as parameter
* removed some ===, we can not use these on function parameters - we must support ints, strings, '', nulls, etc. - this could be a source of really dangerous bugs in future
* some other improvements and fixes - documented inline
2007-10-09 12:49:54 +00:00