604 Commits

Author SHA1 Message Date
scyrma
b7f2b8e644 MDL-15403: Patch sent by Peter Bulmer, said to have been written by Donal McMullan. Prevents a remotely-triggered mass-unenrolments of users in a
(mnet-enabled) course. (merge from 1.9)
2008-07-09 09:10:09 +00:00
ethem
6278f7bf8c fix skodak's fix. add a } char to table name. 2008-07-05 12:22:57 +00:00
ethem
f8f817b73d http://moodle.org/mod/forum/discuss.php?d=100629 2008-07-04 16:59:24 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
ethem
e5bd3250fa MDL-14959 Skip cert verification 2008-06-20 11:11:01 +00:00
ethem
b6398eb44b MDL-14129 Fix dongsheng's fixes and make dongsheng happy :) 2008-06-20 10:48:29 +00:00
skodak
0cbe81112a MDL-14580 rewritten course sorting algorithms 2008-06-16 14:25:53 +00:00
dongsheng
bd8ee7c1c4 "MDL-14129, fix print_error" 2008-06-15 12:02:43 +00:00
skodak
b1f93b1512 MDL-15246 moving all remaining ddl function to adminlib, keeping old lib/ddllib.php only for BC withexisting code; fixed inline docs related to ddl 2008-06-15 10:32:50 +00:00
ethem
d36e65162a fix skodak's fix, i hope this is last bug. 2008-06-15 09:57:48 +00:00
ethem
9b256d1b2c /// 2008-06-11 18:34:20 +00:00
ethem
1a2e98fe22 fix skodak's fix... courseid is not param, it is an order by field. 2008-06-11 18:10:39 +00:00
ethem
79aa29f298 fix skodak's fix :) Skodak, I recommend you to use Zend Development Environment (ZDE)... Tools -> Analyze Code shows bugs & unused variables & what ever you want :D 2008-06-11 17:27:58 +00:00
ethem
2a86987ea9 fix skodak's fix :) 2008-06-11 13:37:53 +00:00
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