590 Commits

Author SHA1 Message Date
skodak
245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak
96d1387809 MDL-14679 towards adodb separation 2008-06-09 18:48:28 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
iarenaza
50bf1c325d MDL-12783 IMS idon't unenroll students who were enrolled by other plug-ins
Credit goes to Scott Krajewski for the bug report and patch!

Merged from MOODLE_18_STABLE
2008-06-08 15:31:27 +00:00
iarenaza
2230061c5b MDL-15182 Fix LDAP enrolment course auto-creation at user login 2008-06-07 21:21:37 +00:00
skodak
5183f0cc5b MDL-15094 fixed stats regression and prefix cleanup 2008-06-05 20:35:28 +00:00
skodak
1751f48f59 MDL-15099 towards enrol dml conversion 2008-06-05 18:21:44 +00:00
skodak
c2172d1eb4 MDL-15099 towards enrol dml conversion 2008-06-05 14:18:21 +00:00
skodak
d907d51a55 MDL-15099 towards enrol dml conversion 2008-06-05 14:06:39 +00:00
skodak
7c3600238e MDL-14679 converted some add/stripslashes 2008-06-03 08:24:31 +00:00
iarenaza
37ad7544f9 MDL-15039 Apostrophes in idnumber prevent users from being unenrolled via LDAP
If any member of a course has an ID number containing an apostrophe (eg.
CN=Paddy O'Brien,OU=Students,DC=etc...), no other members will ever be
unenrolled via LDAP.

Thanks to Michael Woods for the bug report and proposed solution.

Merged from MOODLE_18_STABLE.
2008-06-02 22:39:39 +00:00
skodak
a5d424df7c MDL-14679 converted some get/set_field() 2008-06-02 21:39:23 +00:00
skodak
50c5bef452 MDL-14679 towards enrol conversion 2008-06-02 21:02:52 +00:00
skodak
c6307ef24d MDL-14679 removed all instances of get_records_sql_menu() 2008-06-01 16:08:16 +00:00
skodak
fd0e6640cc MDL-14679 fixed some more $db's 2008-05-31 22:18:41 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
dongsheng
6a933f1308 "MDL-14129, fix print_error" 2008-05-14 05:56:10 +00:00
stronk7
5777b048a6 Prevent excess of unenolments by enrol_database_sync.php. MDL-8550 ; merged from 19_STABLE 2008-05-11 23:55:50 +00:00
skodak
369c0a79ff MDL-14451 removed pre 1.9 upgrade code 2008-05-11 18:40:39 +00:00
dongsheng
f945d59b8f "MDL-14129, fix print_error calls" 2008-05-07 06:19:59 +00:00
dongsheng
957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
skodak
09253986f5 MDL-14617 removed legacy enrol and unenrol student code 2008-05-01 22:09:00 +00:00
dongsheng
a06694dd1c MDL-14460, fix get_context_instance, see tracker 2008-04-26 11:06:11 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
stronk7
d936580e1f Not visible courses don't cause unenrolment under LDAP anymore. Credit goes to Iñaki Arenaza. MDL-14097 ; merged from 19_STABLE 2008-03-30 00:45:58 +00:00
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