Git commits in Moodle 1.7.x by ethem

commit 13b8d2e6ebccbaa464c1aa8334b7e2507cbbd7fe
Author: ethem <ethem>
Date:   Tue, 11 Mar 2008 17:38:04 +0900
Tag:    v1.7.5

Race condition in cron for Scheduled-Capture (very very big sites and order review enabled only).

commit d1620b4c11394b5cf623e9acc27a94ca0aac709a
Author: ethem <ethem>
Date:   Tue, 12 Feb 2008 00:25:45 +0900
Tag:    v1.7.5

Moved libraries to index.php

commit 3abe79ff52b570c26bf97ea06d0467bbc4573a91
Author: ethem <ethem>
Date:   Tue, 12 Feb 2008 00:18:48 +0900
Tag:    v1.7.5

Moved libraries to index.php

commit 58d2845b5cb3f0d8df706a2f473f8890d9fb99eb
Author: ethem <ethem>
Date:   Fri, 08 Feb 2008 01:03:48 +0900
Tag:    v1.7.5

Cron handles all expired unenrolments. It is time to use own enrolment method when calling funcs enrol_into_course, role_assign.

commit aa7b876f03c5db7e2ab4569a2ad714b6c9516727
Author: ethem <ethem>
Date:   Sat, 16 Jun 2007 01:52:28 +0800
Tag:    v1.7.3

MDL-9836 Authorize.net / SSL Config Bug prevents display of options from enrol/authorize/enrol.php

commit 91f54796bdb3c46fb7bd58baa4208a42b8673142
Author: ethem <ethem>
Date:   Wed, 14 Mar 2007 22:43:19 +0900
Tag:    v1.7.2

Code cleanup

commit 068be51fa0bdd13c3d9bfcdbd1921fa9a76cbf1f
Author: ethem <ethem>
Date:   Mon, 19 Feb 2007 21:01:54 +0900
Tag:    v1.7.2

Removed unnecesary code.

commit 7262b0c5a9b5cbd7813544d3f9c8323256ec8231
Author: ethem <ethem>
Date:   Thu, 11 Jan 2007 19:13:14 +0900
Tag:    v1.7.1

MDL-7861 xhtml transient fixes for not closed input fields; Backported from HEAD

commit 9c3d643dad2f77777803db09d160ed88e8565ab1
Author: ethem <ethem>
Date:   Thu, 30 Nov 2006 17:14:15 +0800
Tag:    v1.7.1

No urlencode

commit af053ebd3e1764a21b16a6c38b4700ac6d0586b9
Author: ethem <ethem>
Date:   Thu, 30 Nov 2006 16:43:32 +0800
Tag:    v1.7.1

Brushed up a string.

commit f241382c56fdfc021eea1fabd247bcc1acec05b4
Author: ethem <ethem>
Date:   Thu, 30 Nov 2006 16:11:22 +0800
Tag:    v1.7.1

+ More more more security.

commit 8d137d3be6272988e7b248ac540339f5262564d4
Author: ethem <ethem>
Date:   Fri, 24 Nov 2006 00:26:07 +0800
Tag:    v1.7.1

We are expecting multiple records!

commit d8f6207bee6d54242efeac9d8f79bb08bbab061f
Author: ethem <ethem>
Date:   Wed, 22 Nov 2006 16:18:06 +0800
Tag:    v1.7.1

MDL-7642

commit a40fe0a7666a7edd833c18dd3a81dc3507289946
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 22:53:17 +0800
Tag:    v1.7.1

Daily echeck order notification

commit 845c5d725b6fb730cdc0955796e2607b0a2dd13e
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 21:47:53 +0800
Tag:    v1.7.1

Help file: Uploading Authorize.net CSV file

commit 52b0b2684c1268ddb685c1ec51547fd89eae5609
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 19:14:08 +0800
Tag:    v1.7.1

Reference Transaction ID refers enrol_authorize.transid, not enrol_authorize_refunds.transid

commit c629a2ef7f4ed934080e90941b9d9d44f4da1034
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 17:54:44 +0800
Tag:    v1.7.1

It is time to refund for echeck (business checking).

commit 7c9696869974693299d9368534bb0e25c8b272f0
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 17:54:44 +0800
Tag:    v1.7.1

It is time to refund for echeck (business checking).

commit f66e4015b810e548f554d56eb89b163d39a72f1c
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 16:07:42 +0800
Tag:    v1.7.1

Business checkings can be refunded only for echeck method. Not saving nor checking.

commit 24e6ae8cc666b0e9ec05ebf57e6cb0a6c200982d
Author: ethem <ethem>
Date:   Sat, 18 Nov 2006 01:23:00 +0800
Tag:    v1.7.1

MDL-7533

commit e31d492145cf6eb03b0a05f16dbc440be92ff213
Author: ethem <ethem>
Date:   Fri, 17 Nov 2006 23:42:25 +0800
Tag:    v1.7.1

Changed db column(cclastfour) as refundinfo.

commit c34713bfca96bfd339077733ab6839f1cbef2318
Author: ethem <ethem>
Date:   Fri, 17 Nov 2006 14:53:36 +0800
Tag:    v1.7.1

Business checks can be refunded. Point a flag for it. The cclastfour field will be renamed to refundinfo later.

commit db47e0ffbb18df0b40d2f3ff68453a9bcfad7231
Author: ethem <ethem>
Date:   Thu, 16 Nov 2006 22:16:20 +0800
Tag:    v1.7.1

choosemethod is too long for heading, added <br />

commit d48551572594355b8e1a3a2bf35feafc78a78052
Author: ethem <ethem>
Date:   Mon, 13 Nov 2006 16:39:58 +0800
Tag:    v1.7.1

Align right upload csv button.

commit f8a7befdd5059b1b58ee257775b1bca3e1703077
Author: ethem <ethem>
Date:   Mon, 13 Nov 2006 15:55:31 +0800
Tag:    v1.7.1

New feature: Show my payments only for users who has_capability('enrol/authorize:managepayments')

commit ad5cbccfd3f97cad9d6f4e174b1b7212ee0f3f8d
Author: ethem <ethem>
Date:   Mon, 13 Nov 2006 15:43:49 +0800
Tag:    v1.7.1

New feature: Show my payments only for users who has_capability('enrol/authorize:managepayments')

commit 87db2759da29e50f8c6e491c383f4e1a10fba459
Author: ethem <ethem>
Date:   Sun, 12 Nov 2006 21:23:34 +0800
Tag:    v1.7.1

Merge fix

commit 6bd4ab8c5eadb1517ecb1db552e89f975fd3435e
Author: ethem <ethem>
Date:   Sun, 12 Nov 2006 21:21:11 +0800
Tag:    v1.7.1

Get course before require_login(); Merged from 16stable.

commit 1ab501974f21e3e004db784353fd9a94a154203c
Author: ethem <ethem>
Date:   Fri, 03 Nov 2006 20:39:48 +0800
Tag:    v1.7.0

Show site name at top when selecting courses.

commit 87753e76d1940bee753a8d4d77c057f084383b5d
Author: ethem <ethem>
Date:   Fri, 03 Nov 2006 20:04:57 +0800
Tag:    v1.7.0

Get payment managers at COURSE level.

commit 0b06840128bfb744fb3978bb5937c54f4a48ac42
Author: ethem <ethem>
Date:   Fri, 03 Nov 2006 19:28:26 +0800
Tag:    v1.7.0

get_teacher() to get_users_by_capability(). Merged with HEAD.

commit f319b5bf618591f0322ba43786a993f96996de09
Author: ethem <ethem>
Date:   Thu, 02 Nov 2006 21:22:49 +0800
Tag:    v1.7.0

Fix for enrolurl(admin/users.php).

commit 741162fbbe18d4c49800bf82d804934b7721b211
Author: ethem <ethem>
Date:   Wed, 01 Nov 2006 21:02:00 +0800
Tag:    v1.7.0

Make authorize.net config page secure. See: http://moodle.org/mod/forum/discuss.php?d=56728 Merged with HEAD.

commit f1e4622ccb01ca95cbeb6f97e0e23d85c7fd9fde
Author: ethem <ethem>
Date:   Wed, 01 Nov 2006 20:46:19 +0800
Tag:    v1.7.0

Make authorize.net config page secure. See: http://moodle.org/mod/forum/discuss.php?d=56728 Merged with HEAD.

commit c92727ae6b50a3973af6ec2b19a19c0f29f3d5a3
Author: ethem <ethem>
Date:   Wed, 01 Nov 2006 03:28:18 +0800
Tag:    v1.7.0

Show notice at bottom. Merged with HEAD.

commit 0d4057f4060e8ab3bb729ab8704363a277fa35e0
Author: ethem <ethem>
Date:   Mon, 30 Oct 2006 19:22:57 +0800
Tag:    v1.7.0

New string: All Pending Orders

commit 07182b53247897ba794643227885ffb16e49bfff
Author: ethem <ethem>
Date:   Mon, 30 Oct 2006 19:12:32 +0800
Tag:    v1.7.0

New string: All Pending Orders

commit 0ee01f0cda2ea34dc7aebc76ea777e8ef0b59757
Author: ethem <ethem>
Date:   Mon, 30 Oct 2006 18:14:57 +0800
Tag:    v1.7.0

Show a link for echeck payments if an user has_capability('enrol/authorize:uploadcsv').

commit 6ef50f6983f21d06383acf04957523dcb5a57962
Author: ethem <ethem>
Date:   Mon, 30 Oct 2006 16:25:41 +0800
Tag:    v1.7.0

Get only courses made transactions. This lessens the course list; Merged from 16stable.

commit ca36c9581f1223437fe1a59e0bf94106b766ae16
Author: ethem <ethem>
Date:   Thu, 26 Oct 2006 22:38:22 +0800
Tag:    v1.7.0

I found a new function: user_has_role_assignment()

commit 54c9dab53b9e167e43405e35ce85a58635debba9
Author: ethem <ethem>
Date:   Thu, 26 Oct 2006 16:47:48 +0800
Tag:    v1.7.0

get_courses() is only getting visible courses. This is a problem when an user wants to view old payments.

commit e6ecbb498ba02def22664ca698eb8924937f7f82
Author: ethem <ethem>
Date:   Wed, 18 Oct 2006 20:38:44 +0800
Tag:    v1.7.0

Show results and send email to admin.

commit 92fa909b5e1035bdc35f1d45f3cceec348af20c6
Author: ethem <ethem>
Date:   Mon, 16 Oct 2006 17:43:15 +0800
Tag:    v1.7.0

+ New consts for authorize_action() function:   * AN_RETURNZERO: No connection was made on authorize.net.   * AN_APPROVED: The transaction was accepted.   * AN_DECLINED: The transaction was declined.   * AN_REVIEW: The transaction was held for review.

commit 7b23572651647b3ca13dc994b9abf378242163f4
Author: ethem <ethem>
Date:   Mon, 16 Oct 2006 17:26:04 +0800
Tag:    v1.7.0

+ New consts for authorize_action() function:   * AN_RETURNZERO: No connection was made on authorize.net.   * AN_APPROVED: The transaction was accepted.   * AN_DECLINED: The transaction was declined.   * AN_REVIEW: The transaction was held for review.

commit e9369e52827656d4a469a4fb7f24f1c71df50db6
Author: ethem <ethem>
Date:   Mon, 16 Oct 2006 17:09:14 +0800
Tag:    v1.7.0

+ New consts for authorize_action() function:   * AN_RETURNZERO: No connection was made on authorize.net.   * AN_APPROVED: The transaction was accepted.   * AN_DECLINED: The transaction was declined.   * AN_REVIEW: The transaction was held for review.

commit dc754f4f56870d67d4dd19a9bdce84e06e298030
Author: ethem <ethem>
Date:   Wed, 04 Oct 2006 03:39:21 +0800
Tag:    v1.7.0

Put back last commit. Some functions check $extra->id.

commit c008cd2fcf4966d62f283e9b16150e1075804299
Author: ethem <ethem>
Date:   Wed, 04 Oct 2006 02:21:14 +0800
Tag:    v1.7.0

If an error occures, id returns 0. The user, who will be sent email, may be confused for $record->id=0. Merged from 16stable.

commit 9c59948e6302852f47b33d71486f513e6d55e357
Author: ethem <ethem>
Date:   Wed, 04 Oct 2006 02:00:48 +0800
Tag:    v1.7.0

* enrol_into_course() doesn't send welcome message unless $course->welcomemessage is set.   This is actually good thing, because we can send our welcome message.

commit b99cb7fd2396af84e060165e9dc58069eb386b6f
Author: ethem <ethem>
Date:   Tue, 03 Oct 2006 17:05:38 +0800
Tag:    v1.7.0

No need extra $order->status check. These functions expired() and settled() do it for us. Merged from 16stable.

commit 37f9ca4e8f1109b2dd96ffdf3d47c0a28963f7ad
Author: ethem <ethem>
Date:   Sat, 23 Sep 2006 00:19:53 +0800
Tag:    v1.7.0

Some cleanup for cron.

commit f0f8e34c5d3ed2290801b5ba19902e76a1ad0765
Author: ethem <ethem>
Date:   Fri, 22 Sep 2006 23:31:04 +0800
Tag:    v1.7.0

isguest() to has_capability('moodle/legacy:guest', get_context_instance(CONTEXT_SYSTEM, SITEID), $USER->id, false)

commit 778326bef894000feda383e53a477cfc4d50d97c
Author: ethem <ethem>
Date:   Fri, 22 Sep 2006 22:04:11 +0800
Tag:    v1.7.0

Some cleanup.

commit 33f9bffe903249fd9c78eb581d934d4f7e1aad14
Author: ethem <ethem>
Date:   Fri, 22 Sep 2006 21:50:10 +0800
Tag:    v1.7.0

Last commit for enrol_student(). enrol_student($order->userid, $order->courseid, $timestart, $timeend, 'manual') to role_assign($role->id, $user->id, 0, $context->id, $timestart, $timeend, 0, 'manual'))

commit fddf3cfb56b48dcd96beb6dbe6936a7b7ae70622
Author: ethem <ethem>
Date:   Fri, 22 Sep 2006 21:33:37 +0800
Tag:    v1.7.0

+ Changed deprecated enrol_student() function to enrol_into_course(). + No need extra check: if (!empty($CFG->enrol_mailstudents)):  enrol_into_course calls email_welcome_message_to_user() internally.

commit b001dec45444a73fb996c3ab7d3a8be2ad0839b0
Author: ethem <ethem>
Date:   Fri, 22 Sep 2006 21:11:49 +0800
Tag:    v1.7.0

No need get_student_courses() and get_teacher_courses() anymore.

commit 16dbf426958f0c05afe6474561911d4ed446bfe4
Author: ethem <ethem>
Date:   Fri, 22 Sep 2006 20:18:58 +0800
Tag:    v1.7.0

Changed deprecated enrol_student() function to enrol_into_course().

commit 7dbc351e11d15e8a9914ba592124a2b6dadcd36d
Author: ethem <ethem>
Date:   Tue, 19 Sep 2006 01:32:43 +0800
Tag:    v1.7.0

unenrol_student() -> role_unassign()

commit 0fbf82ea78f840d23f05faaa07d7f4d8af2e11cb
Author: ethem <ethem>
Date:   Fri, 15 Sep 2006 20:35:08 +0800
Tag:    v1.7.0

Tidy up

commit dbe35d21bce6a7ac3908b8c8e9c166917954e5ec
Author: ethem <ethem>
Date:   Fri, 15 Sep 2006 20:05:27 +0800
Tag:    v1.7.0

Tidy up

commit a2610c215dca307e4be780441313d64662a51ab9
Author: ethem <ethem>
Date:   Fri, 15 Sep 2006 19:40:37 +0800
Tag:    v1.7.0

Tidy up

commit 068cf579bd5a5358ae413129cc86eec349a897d9
Author: ethem <ethem>
Date:   Fri, 15 Sep 2006 18:13:06 +0800
Tag:    v1.7.0

New string for capability: Manage payments

commit 58b450e92b283c659e1fc7a204f0775ea9a5a35d
Author: ethem <ethem>
Date:   Fri, 15 Sep 2006 18:11:19 +0800
Tag:    v1.7.0

New string for capability: Manage Payments

commit 4044e868eb763e9940186ea225a73de7172db711
Author: ethem <ethem>
Date:   Fri, 15 Sep 2006 17:57:10 +0800
Tag:    v1.7.0

Goodbye old config

commit 6cf30eae96d5d7aed4061c158e678197317a1c41
Author: ethem <ethem>
Date:   Wed, 06 Sep 2006 23:39:32 +0800
Tag:    v1.7.0

all static functions in enrolment_plugin_authorize moved to localfuncs.php. So, no need enrol.php.

commit 9456e4b7bea1c02186e2aa32d4a3b09fd7ab50fc
Author: ethem <ethem>
Date:   Mon, 04 Sep 2006 20:31:54 +0800
Tag:    v1.7.0

*** empty log message ***

commit b4efae98b406005333bc998afd1f65f950f62c8d
Author: ethem <ethem>
Date:   Mon, 04 Sep 2006 20:25:21 +0800
Tag:    v1.7.0

New strings for echecks.

commit 131a7ca81bee09e037c1325d42e4051fbf1a40bc
Author: ethem <ethem>
Date:   Mon, 04 Sep 2006 20:09:30 +0800
Tag:    v1.7.0

New config: Echeck bank account types enabled.

commit 4d072568c0348b4a97e6aa603c016bb90559531f
Author: ethem <ethem>
Date:   Mon, 04 Sep 2006 20:09:25 +0800
Tag:    v1.7.0

New string: adminaccepts; Select payment methods allowed and their types

commit 460635599a730da7c9f796160c5cf619bb65f3ea
Author: ethem <ethem>
Date:   Mon, 04 Sep 2006 17:44:00 +0800
Tag:    v1.7.0

Autoconfigure accepted echeck bank account types. CHECKING, BUSINESSCHECKING, SAVINGS

commit 039edfab072107e6c5031014591e22e2f7712e24
Author: ethem <ethem>
Date:   Mon, 04 Sep 2006 15:51:15 +0800
Tag:    v1.7.0

This merchant accepts eCheck (ACH) transactions only; no credit card transactions are accepted.

commit f1b31fb5179b03e893ab3377f3909a92dc885374
Author: ethem <ethem>
Date:   Mon, 04 Sep 2006 15:33:11 +0800
Tag:    v1.7.0

Allow all payment methods as default: AN_METHOD_CC, AN_METHOD_ECHECK authorizenetlib.php autoconfigures payment method as AN_METHOD_CC if the merchant doesn't accept AN_METHOD_ECHECK. First real echeck transaction is enough for this.

commit 07c48fcff638b9978ccad0185e311e9dcb5ae922
Author: ethem <ethem>
Date:   Mon, 04 Sep 2006 15:09:44 +0800
Tag:    v1.7.0

Error message isn't shown when user clicked button without key if course key is set.

commit be59e14b9e3f784e59f7933d291582983d87ac46
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 23:05:10 +0800
Tag:    v1.7.0

Remove +}

commit 134c20fb145ca2cd1a03339694a54366b63cd1ba
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 22:28:55 +0800
Tag:    v1.7.0

Link to CVV help

commit dedc048c9232df92846dfd95d85f8b21a85ea2b0
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 22:26:17 +0800
Tag:    v1.7.0

CVV

commit d019150d5bd488d72ee420e98f633c1f98eec797
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 22:11:54 +0800
Tag:    v1.7.0

Link to ABA help

commit e44aa47cebaca73034e73c83c553d3ce13b89290
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 22:11:51 +0800
Tag:    v1.7.0

ABA help

commit f6a1084c8b51a1d334b34bdc38e5e2b4f474cfb4
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 22:08:31 +0800
Tag:    v1.7.0

ABA help

commit 6ce17f1ff0f28a91a171d9360d1eefe35f8c50cf
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 21:42:28 +0800
Tag:    v1.7.0

Don't show "Notice: Undefined property: paymentmethod"

commit 5b7e05d6460564ecbfc0a6afb511f04204d8c042
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 21:09:21 +0800
Tag:    v1.7.0

Submit buttons (ccsubmit, echecksubmit) are no longer used. Hidden field paymentmethod is enough for checking forms.

commit c8716d80e2e525ca64785e56d142d4f49d3adcaf
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 20:37:01 +0800
Tag:    v1.7.0

Better handling of forms and configs.

commit e3949d06af91f849ce2076af56afdfcac6c9aaf9
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 19:49:02 +0800
Tag:    v1.7.0

Moved all static functions in authorize class to localfuncs.php as normal function. Removed abaval.php and ccval.php, because functions in these files moved to localfuncs.php.

commit d69ce8d4eb1ffefc96351b9bf92375d8647688ba
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 01:16:08 +0800
Tag:    v1.7.0

Echecks can not be cancelled. 2 actions only for echecks: auth_capture and credit

commit 0c76d7e3753008fb65cc767b1af8a76446d7213f
Author: ethem <ethem>
Date:   Sat, 02 Sep 2006 00:43:52 +0800
Tag:    v1.7.0

New string: paymentmethod

commit a2cfb0ec00d327e68bb5161d046cc9c2a6c47879
Author: ethem <ethem>
Date:   Fri, 01 Sep 2006 23:18:22 +0800
Tag:    v1.7.0

FFFFFFFFAAAAAANNNNNNTTTTTAAAAASSSSTTTTTIIIIICCCCC

commit 0fae43aa7bc3beb9196bd695b79bb3b3c1cd38f0
Author: ethem <ethem>
Date:   Fri, 01 Sep 2006 23:05:36 +0800
Tag:    v1.7.0

+ Don't show AVS message if not applicable. + Email message that translated instead of english if cc type and payment method will be autoconfigured.

commit 7222c36bf83685e464ae47deb8ba7ba1f282353a
Author: ethem <ethem>
Date:   Fri, 01 Sep 2006 17:04:11 +0800
Tag:    v1.7.0

* New strings for Authorize.net eCheck.

commit 79c63c44157c102a720c10889448317878e71f7c
Author: ethem <ethem>
Date:   Fri, 01 Sep 2006 02:24:37 +0800
Tag:    v1.7.0

+ New ENUM field: paymentmethod(cc,echeck);     Store in database and when calling authorize_action() pass this method. Hence, removed $method=AN_METHOD_CC from this function.     If a refund will be do, unset($order->paymentmethod); Because this field comes when joining(enrol_authorize)

commit 555759709ce34fea810a538b69ad0ca66cd0f95f
Author: ethem <ethem>
Date:   Thu, 31 Aug 2006 23:46:53 +0800
Tag:    v1.7.0

If the method is AN_METHOD_CC submit cclastfour, don't send for ECHECK.

commit c024e8c6f285dcd084561ed83b42c76ffa52fc11
Author: ethem <ethem>
Date:   Thu, 31 Aug 2006 23:10:24 +0800
Tag:    v1.7.0

Fixed fixo.

commit 9f7f87a9a6a52f4113efc782b85f2b46ccee2c7b
Author: ethem <ethem>
Date:   Thu, 31 Aug 2006 16:06:19 +0800
Tag:    v1.7.0

If the merchant does not accept ACH (echeck) method, set default payment method as AN_METHOD_CC.

commit fde7c9dfc5450f896b2959a13f94065eedabe275
Author: ethem <ethem>
Date:   Thu, 31 Aug 2006 15:11:31 +0800
Tag:    v1.7.0

Added Echeck UI validation.

commit a1c4676cf1cd6e8f62118748a13d1257e98860a1
Author: ethem <ethem>
Date:   Thu, 31 Aug 2006 03:38:28 +0800
Tag:    v1.7.0

User fields for ECHECK

commit 2c50dc0b6396b6db34469c44569b97b57c61cefb
Author: ethem <ethem>
Date:   Thu, 31 Aug 2006 03:12:28 +0800
Tag:    v1.7.0

Some UI stuff for ECHECK

commit 35f4a0772a46ce123b428cf018116663ce850acb
Author: ethem <ethem>
Date:   Thu, 31 Aug 2006 02:59:53 +0800
Tag:    v1.7.0

Autoconfigure credit card types. This is not a Makefile smile))

commit e2863967c69b418b13103533413d20f63fe422b4
Author: ethem <ethem>
Date:   Thu, 31 Aug 2006 01:14:32 +0800
Tag:    v1.7.0

Added ABA validation funtion.

commit d1b86e65cc3e146bd4a108fedfdc6d143407f61d
Author: ethem <ethem>
Date:   Wed, 30 Aug 2006 22:33:31 +0800
Tag:    v1.7.0

Some documentation.

commit edbe60abb6e056285340274c3914944c18066096
Author: ethem <ethem>
Date:   Wed, 30 Aug 2006 22:16:45 +0800
Tag:    v1.7.0

Deleted comment.

commit 75bb06e0aa02f37d77505be36b864bb7fe9d588b
Author: ethem <ethem>
Date:   Wed, 30 Aug 2006 22:06:40 +0800
Tag:    v1.7.0

Some UI changes.

commit 6b1d27020dd7cc47998ca874390a58fa9cc83d47
Author: ethem <ethem>
Date:   Wed, 30 Aug 2006 18:29:10 +0800
Tag:    v1.7.0

Ported AUTHORIZE_ECHECK changes into HEAD. (cvs update -j HEAD -j AUTHORIZE_ECHECK)

commit 98d415567c47c589884b78da2876ecbc409e2cf9
Author: ethem <ethem>
Date:   Tue, 29 Aug 2006 22:30:11 +0800
Tag:    v1.7.0

If review enabled, get_users_by_capability('enrol/authorize:managepayments') at SYSTEM_LEVEL and send email for a new pending payment.

commit 70b1aa80718bc397db54065b42f9709455cadf17
Author: ethem <ethem>
Date:   Tue, 29 Aug 2006 21:59:35 +0800
Tag:    v1.7.0

get_users_by_capability('enrol/authorize:managepayments') and send email for pending orders expiring.

commit 0c101247559cd1298ede64a70240328cfdc9b3bd
Author: ethem <ethem>
Date:   Tue, 29 Aug 2006 17:04:03 +0800
Tag:    v1.7.0

merged from 16stable

commit 516b13851690825bde5267ece56f6cb4d557ba41
Author: ethem <ethem>
Date:   Sat, 19 Aug 2006 01:10:30 +0800
Tag:    v1.7.0

Colorize all orders.

commit be4f7e7fec3b3ed87601f52a6f0ee117c61bfeeb
Author: ethem <ethem>
Date:   Sat, 19 Aug 2006 00:01:47 +0800
Tag:    v1.7.0

Colorize refunds and show refunded total.

commit 49c22bc46b9234846476293997fe300190e055cf
Author: ethem <ethem>
Date:   Fri, 18 Aug 2006 22:54:08 +0800
Tag:    v1.7.0

Display capture/void/delete instead of 'Yes'; Merged from 16stable.

commit b9c3d818fed75267029c304e9bfe633af96d51cf
Author: ethem <ethem>
Date:   Thu, 17 Aug 2006 23:43:54 +0800
Tag:    v1.7.0

enrol_authorize.courseid must be passed to authorize_get_status_action() function to allow a user has_capacity; Joined 2 tables to get courseid field. Merged from 16stable.

commit 839958faf62ac5db903f8d79714127f1aa00b0cb
Author: ethem <ethem>
Date:   Mon, 14 Aug 2006 23:06:11 +0800
Tag:    v1.7.0

* $CFG->teachermanagepayments will have to go since we are moving away from the rigid hardcoded teacher role concept.

commit 4503e31d9ad1b747363cf9a344d5127b9657eabc
Author: ethem <ethem>
Date:   Mon, 14 Aug 2006 22:23:01 +0800
Tag:    v1.7.0

Roles support added: enrol/authorize:managepayments

commit abaeae30f7feb9b458a7f394d3fc8826a070a6e1
Author: ethem <ethem>
Date:   Mon, 14 Aug 2006 21:42:35 +0800
Tag:    v1.7.0

Guests can NEVER manage payments. CAP_PREVENT to CAP_PROHIBIT.

commit 79469c6600a360425dadd320659b097a895a81b8
Author: ethem <ethem>
Date:   Mon, 14 Aug 2006 21:29:24 +0800
Tag:    v1.7.0

Roles support added: enrol/authorize:managepayments

commit 067d3cd13825dfbca731c7a171abe3ee729b21ec
Author: ethem <ethem>
Date:   Thu, 10 Aug 2006 18:55:42 +0800
Tag:    v1.7.0

Comment added.

commit d9d69929f5ae649bd1b062822faf017f46f25ad0
Author: ethem <ethem>
Date:   Mon, 31 Jul 2006 20:45:34 +0800
Tag:    v1.7.0

Don't show authorize.net password for security reasons. Merged from 16stable.

commit 0127848e1162ec8d869d24dd1219dc23a2a5ec5b
Author: ethem <ethem>
Date:   Mon, 31 Jul 2006 20:37:12 +0800
Tag:    v1.7.0

Don't show authorize.net password for security reasons. Merged from 16stable.

commit 9dec3768bcdfe8f7380bdb9feed5edc3ff6f6838
Author: ethem <ethem>
Date:   Fri, 28 Jul 2006 00:11:11 +0800
Tag:    v1.7.0

Merged from 16stable.

commit 08b9be083c2daedd715f574c1ef62c264204d226
Author: ethem <ethem>
Date:   Thu, 27 Jul 2006 18:57:58 +0800
Tag:    v1.7.0

Bug: Sending email to admins/teachers the count of pending orders expiring. "Column 'timecreated' in where clause is ambiguous." We joins 2 tables: course and enrol_authorize. We didn't select course.timecreated, but it gives this error. Merged from MOODLE_16_STABLE.

commit 36e5d9b7e14e7c2367a95317630026933c84b86f
Author: ethem <ethem>
Date:   Wed, 26 Jul 2006 01:38:32 +0800
Tag:    v1.7.0

Merged from 16stable.

commit 8692e35c771646433d85f67e995c562b834417ee
Author: ethem <ethem>
Date:   Wed, 26 Jul 2006 01:00:41 +0800
Tag:    v1.7.0

New string: costdefaultdesc <strong>In course settings, enter -1</strong> to cost field to use this default cost; Merged from 16stable.

commit 8895a9cdc868b9b32aa870987aea71314a8025fd
Author: ethem <ethem>
Date:   Tue, 25 Jul 2006 00:32:38 +0800
Tag:    v1.7.0

Sometimes ssl connections are slow. Increase max_execution_time to 5 minutes. Merged from 16stable.

commit fc9e83ed5c09e4c07865baef0307cd7b1bae9b1f
Author: ethem <ethem>
Date:   Mon, 24 Jul 2006 20:19:20 +0800
Tag:    v1.7.0

 * Update record as soon as possible. If update/insert record fails email to admin to have update manually.  * ignore_user_abort(true) at critical section (before fwrite($fp, "POST /gateway/transact.dll).    This is last change to ignore request for user.  * Made some functions "static" to call function directly. So, no need new enrolment_plugin_authorize() instance.    Now, these are static:    get_list_of_creditcards, zero_cost, get_course_cost, prevent_double_paid, email_to_admin, check_openssl_loaded  * Some mtrace cleanup. Removed default new line.

commit 769b3187c2b9ae30de03d3211d22e84e9dad6776
Author: ethem <ethem>
Date:   Thu, 20 Jul 2006 22:48:03 +0800
Tag:    v1.7.0

x_auth_code is required for capture only transactions! NOTE: Capture only transactions have not implemented yet!

commit 411df816d6890e74fcb1cffccd738e5f23d59a4a
Author: ethem <ethem>
Date:   Mon, 10 Jul 2006 18:17:23 +0800
Tag:    v1.7.0

- authorize_expired function added to lessen the code. - All functions in authorize plugin are named with authorize_ prefix.

commit f9bfa458a2f79d2598491e166095101160bc04fb
Author: ethem <ethem>
Date:   Thu, 06 Jul 2006 21:41:55 +0800
Tag:    v1.7.0

Some outputting debugging info for cron. Merged from 16stable.

commit 1c23b14db3ffab8b8195ba94233945d65a8412f4
Author: ethem <ethem>
Date:   Thu, 06 Jul 2006 20:01:24 +0800
Tag:    v1.7.0

 - Daily cron seperated from main cron for performance.  - Performance for welcome message sending to students. Order by student. This sends only one message for each students.

commit 8ca28a61193ab8525143484f448a8808ada2ef7d
Author: ethem <ethem>
Date:   Thu, 06 Jul 2006 19:54:27 +0800
Tag:    v1.7.0

New string: welcometocoursesemail

commit 3b34491b95e23f484fcce9e9634043e39357a8f1
Author: ethem <ethem>
Date:   Fri, 30 Jun 2006 03:13:12 +0800
Tag:    v1.7.0

Put back last commit. If cost is 0, it always falls back to manual method.

commit 11fffc6059df96c24f98041c44fc0ebd934a9f5e
Author: ethem <ethem>
Date:   Fri, 30 Jun 2006 03:07:28 +0800
Tag:    v1.7.0

Merged from MOODLE_16_STABLE.

commit b1c87d90dcc1ffeedc78617e2aa1d7aacfa44996
Author: ethem <ethem>
Date:   Thu, 29 Jun 2006 23:03:54 +0800
Tag:    v1.7.0

$teacher is used in manual form. No need global. merged from 16stable.

commit 665d43006a5cf9f71b4b34613ab827336c118abd
Author: ethem <ethem>
Date:   Thu, 29 Jun 2006 20:44:01 +0800
Tag:    v1.7.0

get_student_courses and get_teacher_courses functions added for future reference. Cron description added. Merged from 16stable.

commit 8389613abbf711bae47be0fe545ff0a1e770baa7
Author: ethem <ethem>
Date:   Thu, 29 Jun 2006 19:27:32 +0800
Tag:    v1.7.0

Don't show choose method string if course cost is 0. Merged from 16stable.

commit c4e2966709305baf0d4400c284cd8077fa70795a
Author: ethem <ethem>
Date:   Thu, 29 Jun 2006 19:12:08 +0800
Tag:    v1.7.0

New string. No cost yet. Merged from 16stable.

commit c1f6386c4772feb631c0e65d3bf8f293a22aadb1
Author: ethem <ethem>
Date:   Thu, 29 Jun 2006 18:38:34 +0800
Tag:    v1.7.0

Interactive plugins (authorize and paypal ) must use 'manual'. Some patches must be applied to lib/db. http://moodle.org/bugs/bug.php?op=show&bugid=5941 Look: version.patch, lib_db.patch

commit c1a254588226151864c760b244c8d433e555d985
Author: ethem <ethem>
Date:   Thu, 29 Jun 2006 17:49:36 +0800
Tag:    v1.7.0

Bug #5941 - Myriad of problems with Paypal enrollmemts, au_enrol.patch Merged from 16 stable.

commit bd4669d3448c377a9f05f5ea4abef31a1bcfce05
Author: ethem <ethem>
Date:   Wed, 21 Jun 2006 01:22:00 +0800
Tag:    v1.7.0

Very small change. A little performance for cron if admin enabled sending email for pending orders expiring.

commit 2bc509a3c1df74fcf1bd0628a377bc8dbdbed88a
Author: ethem <ethem>
Date:   Thu, 15 Jun 2006 22:23:04 +0800
Tag:    v1.7.0

$a->course: course information added. Merged from stable.

commit 8dd19dd3d209a64aab0bb7904123bc9f9e121796
Author: ethem <ethem>
Date:   Thu, 15 Jun 2006 22:08:41 +0800
Tag:    v1.7.0

$a->course: course information added.

commit e3df6104f42b8d5671bb6f140a6cf33745e8c17b
Author: ethem <ethem>
Date:   Thu, 15 Jun 2006 21:37:25 +0800
Tag:    v1.7.0

pendingordersemailteacher string added merged from stable

commit fa6a9cba167f3d5a560e3822fdace6a2b264664c
Author: ethem <ethem>
Date:   Thu, 15 Jun 2006 21:25:47 +0800
Tag:    v1.7.0

pendingordersemailteacher string added

commit b9e829691e506b895a7da8d7eebeb87fa9687556
Author: ethem <ethem>
Date:   Thu, 15 Jun 2006 20:55:39 +0800
Tag:    v1.7.0

When the number of pending orders expiring are sent to the teachers via email, which one is important? The number of the orders or the total of the amounts. Merged from 16 stable.

commit 43457b5f0f027b95a5513a6eadc56809d1a4250c
Author: ethem <ethem>
Date:   Thu, 15 Jun 2006 20:27:49 +0800
Tag:    v1.7.0

When the number of pending orders expiring are sent to the teachers via email, which one is important? The number of the orders or the total of the amounts. Merged from 16 stable.

commit b282e815d5c0083dbc092c748b2b8a255de58f18
Author: ethem <ethem>
Date:   Thu, 15 Jun 2006 16:06:52 +0800
Tag:    v1.7.0

Order by order count. Courses that have many orders are emailed first. Merged from 16_stable.

commit 50172716a3d655782ef4da9cfc556f58b4fe2442
Author: ethem <ethem>
Date:   Thu, 15 Jun 2006 00:32:08 +0800
Tag:    v1.7.0

Email subject for pending orders expiring. Merged from stable.

commit a0333291ba50453d9105ff5e59942560104d1dd5
Author: ethem <ethem>
Date:   Thu, 15 Jun 2006 00:26:01 +0800
Tag:    v1.7.0

Email subject for pending orders expiring. Merged from stable.

commit 46702071623f161c4e06ee9bbed7fbbd48356267
Author: ethem <ethem>
Date:   Thu, 15 Jun 2006 00:17:46 +0800
Tag:    v1.7.0

Email subject for pending orders expiring.

commit 71e27db713a3478d28d28ffcd2abc83a69542738
Author: ethem <ethem>
Date:   Wed, 14 Jun 2006 19:53:50 +0800
Tag:    v1.7.0

If admin set up 'Teachers can manage the payments of the course' and enabled 'Manual-Capture', course teachers are notified about pending orders expiring. Merged from MOODLE_16_STABLE.

commit c9ad76139debf400a9a0463e62730f762f2efc9d
Author: ethem <ethem>
Date:   Wed, 14 Jun 2006 02:31:09 +0800
Tag:    v1.7.0

Link to Payment Management page. Merged from 16stable.

commit f404747bf1ff23565d3ed46f028baa71b436a2d0
Author: ethem <ethem>
Date:   Wed, 14 Jun 2006 02:04:25 +0800
Tag:    v1.7.0

Link to help file 'Order Review'. Merged from 16stable.

commit 0483b0823c3d3d4291e2e2eb29bdb97533c68b9a
Author: ethem <ethem>
Date:   Wed, 14 Jun 2006 01:51:11 +0800
Tag:    v1.7.0

Help file for 'Order Review'.

commit f00a651c619278a3c59a7703039dbaf59cd7e6ec
Author: ethem <ethem>
Date:   Wed, 14 Jun 2006 00:05:15 +0800
Tag:    v1.7.0

Predict the time of settlement at first time. Probably, admin user set up own country timezone and we can use this time as settlement time. Merged from 16stable.

commit e758a8f627b1918405409aa638222bb7c4cb3e0c
Author: ethem <ethem>
Date:   Tue, 13 Jun 2006 15:58:04 +0800
Tag:    v1.7.0

 Capture_Only transaction added. Capture_Only transactions are used when you already have an authorization from a bank. To use this type of transaction, you will need an authorization code from the card-issuer (usually a 5 or 6 digit number). For example, if you called Visa directly and obtained an authorization over the phone, you would need to submit a Capture_Only transaction to start the funds transfer process. You can manually submit a Capture_Only transaction from your Virtual Terminal by selecting Capture Only, or from a website or billing application by including the following variables with your transaction request:

commit ecf2f1ac3d40e068f3951c52144d397e695af71d
Author: ethem <ethem>
Date:   Fri, 09 Jun 2006 19:25:57 +0800
Tag:    v1.7.0

Sending email for pending orders expiring string (adminemailexpired) seperated. Settings moved to adminemailexpsetting. Merged from stable.

commit 673d6024580dfa461d77bfc5639bd958a9de56dc
Author: ethem <ethem>
Date:   Fri, 09 Jun 2006 19:00:18 +0800
Tag:    v1.7.0

Show 'name on card' string instead of moodle.php's user string. Merged from MOODLE_16_STABLE.

commit aed64970031c31249f3592599b452234ca93d409
Author: ethem <ethem>
Date:   Fri, 09 Jun 2006 18:30:01 +0800
Tag:    v1.7.0

Some config sections 'Order Review' moved to

commit a17f20183e789e2cd6068f2cdc68091e67ba42b2
Author: ethem <ethem>
Date:   Thu, 08 Jun 2006 02:47:09 +0800
Tag:    v1.7.0

Unnecesary strings removed. Merged from MOODLE_16_MERGED

commit 9a4502dd1daf6c8ab29f9e3cd631c75b61083644
Author: ethem <ethem>
Date:   Mon, 05 Jun 2006 21:12:28 +0800
Tag:    v1.7.0

Some cron performance. Run clean-ups and send email daily on settlement date. an_nextmail config deleted, instead of old config new an_dailysettlement inserted into config_plugins table. Merged from MOODLE_16_STABLE.

commit 3f609b21ff52fbf2df5e3c49b9ae512a1893f6d5
Author: ethem <ethem>
Date:   Fri, 02 Jun 2006 17:42:20 +0800
Tag:    v1.7.0

'Authorize.net Payment Gateway' is better and shorter smile

commit 8da4b779e408b0cc051479e983de2fb72ea30477
Author: ethem <ethem>
Date:   Fri, 02 Jun 2006 00:08:00 +0800
Tag:    v1.7.0

Documentation for status codes and actions. Merged from MOODLE_16_STABLE

commit 095759281b58bb2ae135866a8111d04f1fa292e3
Author: ethem <ethem>
Date:   Thu, 01 Jun 2006 22:13:07 +0800
Tag:    v1.7.0

Authorize.net Merchant Payment Gateway

commit d65af16ffd5a61fd17a87594f4871c7aaff70203
Author: ethem <ethem>
Date:   Thu, 01 Jun 2006 16:51:20 +0800
Tag:    v1.7.0

Just some tidy-ups. Merged from MOODLE_16_STABLE

commit e302f054b384dd7e6049ef5fd13d2d563bca73d5
Author: ethem <ethem>
Date:   Thu, 01 Jun 2006 15:47:22 +0800
Tag:    v1.7.0

Just some tidy-ups. Merged from MOODLE_16_STABLE

commit 8761b0bc4f3e9275b49c1be7a133ce16562d32a9
Author: ethem <ethem>
Date:   Tue, 30 May 2006 16:32:43 +0800
Tag:    v1.7.0

If config wwwroot starts with 'https', ignore config loginhttps value. Dependency: Bug #5647; Merged from MOODLE_16_STABLE.

commit 4087e6830ef714cada8f4147410d2d1acbb213fe
Author: ethem <ethem>
Date:   Fri, 19 May 2006 20:35:49 +0800
Tag:    v1.7.0

Eloy will plan support for enrol systems in backup/restore. He has a lot of work to do, so this file temporary removed. After implementation in /backup/restorelib&backuplib.php library, this file can be used again. But now, this file is not necessary.

commit 5bf94809f057b9f7de1b0da7395a13fd84336c59
Author: ethem <ethem>
Date:   Thu, 18 May 2006 18:02:22 +0800
Tag:    v1.7.0

Removed </td>. Help button appears on top smile)

commit 527d142c438360c91fb56f99e1ce27c2cd85d64f
Author: ethem <ethem>
Date:   Thu, 18 May 2006 15:55:12 +0800
Tag:    v1.7.0

I have just found a cute function called print_checkbox. smile

commit 6b4f18622d9bf62b985c26f33f60dbdde13afaa1
Author: ethem <ethem>
Date:   Thu, 18 May 2006 15:13:43 +0800
Tag:    v1.7.0

Put back tjhunt's changes. Invalid merge. Tabs aren't more important than indexes.

commit ddd74daef603bba8e7dcd8bcdf6cc8adb7220560
Author: ethem <ethem>
Date:   Wed, 17 May 2006 16:18:51 +0800
Tag:    v1.7.0

action.php renamed to authorizenetlib.php Merged from MOODLE_16_STABLE.

commit f9ff6fbd776e5fc64eacb0323ccb313d070a5db5
Author: ethem <ethem>
Date:   Tue, 16 May 2006 23:34:24 +0800
Tag:    v1.7.0

confirm_sesskey() implementation for capture,delete,refund and void. I hope it works. smile

commit 98f6b1eb54fac7a8d7fc4eb2dcc638d9a7a9cf52
Author: ethem <ethem>
Date:   Tue, 16 May 2006 23:02:52 +0800
Tag:    v1.7.0

Allow showing error message when insert_record fails. merged from 16_stable.

commit e295c6e4c37939da34b1d17590d36f910036ae8f
Author: ethem <ethem>
Date:   Tue, 16 May 2006 19:37:07 +0800
Tag:    v1.7.0

Manual capture settings for sending email: cron=enabled, an_review=checked, an_capture_day=0, an_emailexpired=1-5

commit 42c4e612dbe4bff276c5526395001a12f491c5ca
Author: ethem <ethem>
Date:   Tue, 16 May 2006 18:43:02 +0800
Tag:    v1.7.0

(Manual capture settings: cron=enabled, an_review=checked, an_capture_day=0)

commit e81e5c16043d7ad267f9c4839911e07ae1651d53
Author: ethem <ethem>
Date:   Sun, 14 May 2006 00:18:38 +0800
Tag:    v1.7.0

Fix: Redirect to order details page 10 seconds later, not home page. Merged from MOODLE_16_STABLE.

commit 6e6c37e2be0acff5fa90f146fa77cb9ad0855710
Author: ethem <ethem>
Date:   Sat, 13 May 2006 16:53:34 +0800
Tag:    v1.7.0

Language direction is important. Changed as: <b>AVS Result:</b> $a merged from 16_stable.

commit f6a7a35cc97d1b25788879c8b20207bde9d328f5
Author: ethem <ethem>
Date:   Sat, 13 May 2006 16:33:55 +0800
Tag:    v1.7.0

More readable coding. Now, I understand everything. smile Merged from MOODLE_16_STABLE.

commit 8f152c586dd282babc9354aaffb8afc92295d267
Author: ethem <ethem>
Date:   Sat, 13 May 2006 14:02:06 +0800
Tag:    v1.7.0

Deleting test transactions are not good. They may be in proggress. Let's update WHERE transid<>'0'. Merged from MOODLE_16_STABLE.

commit 17dd6691498466e156942ab085fd61bcf48a62f2
Author: ethem <ethem>
Date:   Sat, 13 May 2006 03:56:02 +0800
Tag:    v1.7.0

Fix: Don't show newly created orders prior to 2 minutes. They may be still in proggress and these aren't test transacions(transid=0). We check timecreated field to prevent this. MERGED FROM MOODLE_16_STABLE.

commit 3335e3f881df67546db27bf2a3b78fd174ae1f59
Author: ethem <ethem>
Date:   Sat, 13 May 2006 02:36:30 +0800
Tag:    v1.7.0

Fix: Delete test transactions before update status as AN_STATUS_AUTHCAPTURE. Merged from MOODLE_16_STABLE.

commit 431efddc440d5b286cca805529fea57be8fa089f
Author: ethem <ethem>
Date:   Sat, 13 May 2006 01:20:39 +0800
Tag:    v1.7.0

Status: 'New' string.

commit 76c16eac35c76c7630712180e7f4b37e273731e4
Author: ethem <ethem>
Date:   Sat, 06 May 2006 02:29:38 +0800
Tag:    v1.7.0

Admin can setup which credit card types will be accepted. Merged from MOODLE_16_STABLE.

commit 4a1e506a35e48d6d5be0aaf495c5bf2c8d52a688
Author: ethem <ethem>
Date:   Sat, 06 May 2006 02:16:45 +0800
Tag:    v1.7.0

Admin can setup which credit card types will be accepted. Merged from MOODLE_16_STABLE.

commit 5f7a36628f8e977e9da503bbbf9807cd368955fa
Author: ethem <ethem>
Date:   Thu, 04 May 2006 17:42:35 +0800
Tag:    v1.7.0

Create transid indexes for backup & restore speed.

commit 203003ae8c0eb21a2c8fd0d054c661e701027eb7
Author: ethem <ethem>
Date:   Thu, 04 May 2006 16:18:35 +0800
Tag:    v1.7.0

Enable 'Authorize.net plugin' and setup cron properly; or uncheck an_review again. Merged from MOODLE_16_STABLE.

commit 669c58e1a5d44179468782e2fe264356e308e0fa
Author: ethem <ethem>
Date:   Thu, 04 May 2006 15:58:20 +0800
Tag:    v1.7.0

First authorize restore library for version 1.7