Commit graph

358 commits

Author SHA1 Message Date
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
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
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
c6307ef24d MDL-14679 removed all instances of get_records_sql_menu() 2008-06-01 16:08:16 +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
skodak
369c0a79ff MDL-14451 removed pre 1.9 upgrade code 2008-05-11 18:40:39 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +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
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
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
skodak
a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +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
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
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
stronk7
28271c7205 Second pass. Some more default comments are out. MDL-11385 2007-09-24 22:10:13 +00:00