Git commits in Moodle 1.8.0 by ethem

commit f7b1762793b87b515cb339d7ed46877caa64c115
Author: ethem <ethem>
Date:   Wed, 14 Mar 2007 22:26:24 +0900
Tag:    v1.8.0

Code cleanup

commit 7575a38529fee7d4dff34626dcca4fae70ef3ae8
Author: ethem <ethem>
Date:   Mon, 19 Feb 2007 21:07:06 +0900
Tag:    v1.8.0

Removed unnecesary code.

commit e9fc2634a7ec0e7d5df59b35624fd9e2c8220e18
Author: ethem <ethem>
Date:   Tue, 13 Feb 2007 01:53:09 +0900
Tag:    v1.8.0

Some XHTML fixes

commit 9c2498d381962ac1198c42f99e55ac8d9d779b31
Author: ethem <ethem>
Date:   Mon, 05 Feb 2007 23:09:02 +0900
Tag:    v1.8.0

Moved validation functions to enrol_authorize_form class.

commit c7aaa3cbdbdf423c18730936132892b247dfb321
Author: ethem <ethem>
Date:   Mon, 05 Feb 2007 23:05:19 +0900
Tag:    v1.8.0

Moved validation functions to enrol_authorize_form class.

commit 2542dea98f0b10e61c0765ccb9b283db7c662164
Author: ethem <ethem>
Date:   Mon, 05 Feb 2007 22:51:27 +0900
Tag:    v1.8.0

Pass custom data "$course" to enrol_authorize_form class.

commit 1f7d43cfc4aff835aab0a190b19c77dd207902bc
Author: ethem <ethem>
Date:   Mon, 05 Feb 2007 19:07:38 +0900
Tag:    v1.8.0

Put back skodak's last commit. global $COURSE is $SITE and enrols to site.

commit d4205253d0bea15fce500ba21f90f45f81e928a5
Author: ethem <ethem>
Date:   Thu, 30 Nov 2006 17:16:43 +0800
Tag:    v1.8.0

No urlencode

commit c1cc7fb5139bfd84bdb94d2113e68fda6d05ebbe
Author: ethem <ethem>
Date:   Thu, 30 Nov 2006 16:40:29 +0800
Tag:    v1.8.0

Brushed up a string.

commit 0ba9f5d68af4252f5dbf3d35475ebaf4fe7ce027
Author: ethem <ethem>
Date:   Wed, 29 Nov 2006 19:05:56 +0800
Tag:    v1.8.0

+ More more more security.

commit 49c81fe0fd7c50540038e5a2cb4cb56aff375b1e
Author: ethem <ethem>
Date:   Fri, 24 Nov 2006 00:22:39 +0800
Tag:    v1.8.0

We are expecting multiple records, but in debug mode, it gives this error:

commit 27a9ee2967c0ca08e33810d8f536e1aba3308b84
Author: ethem <ethem>
Date:   Wed, 22 Nov 2006 16:16:22 +0800
Tag:    v1.8.0

Fixed MDL-7642; </li>

commit c33e8ec8f7c7d22f4253b1697ec3438c11ca79c2
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 22:48:16 +0800
Tag:    v1.8.0

Daily echeck order notification

commit dd5f22e2beb02f93ab39811f0e8d03669d80e5a2
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 21:52:27 +0800
Tag:    v1.8.0

Help file: Uploading Authorize.net CSV file; Merged from MOODLE_17_STABLE.

commit b9ce2239568cb1551c9ce5512c256bb3544d834c
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 19:19:39 +0800
Tag:    v1.8.0

Merged from MOODLE_17_STABLE.

commit 78ceee0741f286c60c444a8b31b0e811883f9347
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 18:01:44 +0800
Tag:    v1.8.0

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

commit be09f12192d69cbdf73927208da2c2db16287f21
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 17:49:26 +0800
Tag:    v1.8.0

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

commit 98349513b28e0abf89b77f157f858819e44d01be
Author: ethem <ethem>
Date:   Mon, 20 Nov 2006 16:11:21 +0800
Tag:    v1.8.0

Business checkings can be refunded only for echeck method. Not saving nor checking. Merged from 17stable.

commit df90fb983d243ae865a80a9c2a4f003c89e44909
Author: ethem <ethem>
Date:   Sat, 18 Nov 2006 01:54:17 +0800
Tag:    v1.8.0

Bumped version and new rename field upgrading for HEAD.

commit 4902ed7c2f3bfd01108bbc3c7656e1b83b655bdb
Author: ethem <ethem>
Date:   Sat, 18 Nov 2006 00:06:46 +0800
Tag:    v1.8.0

Changed db column(cclastfour) as refundinfo.

commit dfe254ceab310c644d171405324e178a64346771
Author: ethem <ethem>
Date:   Fri, 17 Nov 2006 21:01:04 +0800
Tag:    v1.8.0

Moved ABA validator and CC validator functions to enrol_form.php

commit 8dfaffacfbc7c567cbf7e7987497675460fe7fc0
Author: ethem <ethem>
Date:   Fri, 17 Nov 2006 16:49:08 +0800
Tag:    v1.8.0

Some cleanup: Removed enrolment_plugin_authorize->authorizeerror; because, new forms lib handles all errors.

commit 4df4b15524e4d2e257c4f7abade8cc4afb2a00a0
Author: ethem <ethem>
Date:   Fri, 17 Nov 2006 16:21:11 +0800
Tag:    v1.8.0

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

commit 1bdf6d2677e49bbfbc7fe6f77923d42d855dd9e7
Author: ethem <ethem>
Date:   Fri, 17 Nov 2006 00:18:20 +0800
Tag:    v1.8.0

<DIV>...</DIV> if other method available.

commit 4e15f4b9df0adf9d830236733fedc7e1937af3ac
Author: ethem <ethem>
Date:   Thu, 16 Nov 2006 22:44:44 +0800
Tag:    v1.8.0

FIX: MDL-7561 Allow to be chosen the other payment method  if avaiable. Now, new quick enrol form is ready for usage smile

commit d948bfdde0100caf420820cfd21ed5b07adb2e5f
Author: ethem <ethem>
Date:   Thu, 16 Nov 2006 22:19:52 +0800
Tag:    v1.8.0

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

commit 3c167c58c10a4756139c19d16a80e4de8a3866c1
Author: ethem <ethem>
Date:   Thu, 16 Nov 2006 20:38:39 +0800
Tag:    v1.8.0

Show correct string;

commit 3c07bc5a327a5c85f18e2393e598dbd53fd73a0d
Author: ethem <ethem>
Date:   Thu, 16 Nov 2006 20:23:40 +0800
Tag:    v1.8.0

Stop responding on error.

commit f5fbea120f5f225c19af8076455db43edac1c7b5
Author: ethem <ethem>
Date:   Thu, 16 Nov 2006 04:44:49 +0800
Tag:    v1.8.0

Fixed: MDL-7561

commit 19384dfb7043473a0f7d9ee70d029633f4befee2
Author: ethem <ethem>
Date:   Wed, 15 Nov 2006 15:39:04 +0800
Tag:    v1.8.0

MDL-6937 MDL-7561 MDL-7562

commit cac9c967dfae6f21684a1bf7ba27bd71b6d4d8b0
Author: ethem <ethem>
Date:   Mon, 13 Nov 2006 16:43:16 +0800
Tag:    v1.8.0

Merged from 17stable.

commit 43d3fab9ff0ca5619eb54c972a112470e1bb74b3
Author: ethem <ethem>
Date:   Mon, 13 Nov 2006 15:53:32 +0800
Tag:    v1.8.0

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

commit eb108480aa4abd5992bbf837163d856b57b9fee7
Author: ethem <ethem>
Date:   Mon, 13 Nov 2006 15:36:58 +0800
Tag:    v1.8.0

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

commit b29c7bb2ba239f06a063ea7a65205433ece1ab44
Author: ethem <ethem>
Date:   Sun, 12 Nov 2006 21:26:14 +0800
Tag:    v1.8.0

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

commit 8174990c49be4b363c6316897528b342dabe8af5
Author: ethem <ethem>
Date:   Fri, 03 Nov 2006 20:36:52 +0800
Tag:    v1.8.0

Show site name at top when selecting courses.

commit 3baecd1d7e552aa81eb976ad4536195358d625e6
Author: ethem <ethem>
Date:   Fri, 03 Nov 2006 20:09:00 +0800
Tag:    v1.8.0

Get payment managers at COURSE level. Merged from 17stable.

commit 726bf1ead282a66398b32c557eb83d69a91661eb
Author: ethem <ethem>
Date:   Fri, 03 Nov 2006 19:20:13 +0800
Tag:    v1.8.0

get_teacher() to get_users_by_capability().

commit e40106c7db6476a85d6d2fd523bb7b3f312bdcaf
Author: ethem <ethem>
Date:   Thu, 02 Nov 2006 21:34:52 +0800
Tag:    v1.8.0

Fix for enrolurl(admin/users.php). Merged from 17stable.

commit af3e0ed2eaf2274bf043f6a68f694f88c5d2250e
Author: ethem <ethem>
Date:   Wed, 01 Nov 2006 20:36:19 +0800
Tag:    v1.8.0

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

commit 7bb8485d6e75b28e30c2f13515096611dffdd0f7
Author: ethem <ethem>
Date:   Wed, 01 Nov 2006 03:24:10 +0800
Tag:    v1.8.0

Show notice at bottom.

commit 325d15409bb00de96b86f8844a2c3ef8b06a2a17
Author: ethem <ethem>
Date:   Mon, 30 Oct 2006 21:07:20 +0800
Tag:    v1.8.0

   If an user's credit card cannot be captured on the internet directly, obtain authorization code over phone from customer's bank.

commit c9befcd1bece7520d747de417daf095135f0b8b2
Author: ethem <ethem>
Date:   Mon, 30 Oct 2006 20:53:15 +0800
Tag:    v1.8.0

   If an user's credit card cannot be captured on the internet directly, obtain authorization code over phone from customer's bank.

commit 2c46669ba1dd1eeb2ca46306758df90a5e2522df
Author: ethem <ethem>
Date:   Mon, 30 Oct 2006 19:16:09 +0800
Tag:    v1.8.0

New string: All Pending Orders

commit 2760b4f4cccc10452f2d610375f62de106f1690d
Author: ethem <ethem>
Date:   Mon, 30 Oct 2006 18:12:20 +0800
Tag:    v1.8.0

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

commit bf228101fd908d2252eca9ad3c3a190fb22aa75c
Author: ethem <ethem>
Date:   Mon, 30 Oct 2006 16:33:00 +0800
Tag:    v1.8.0

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

commit 63693fd835e3b4d8a70b6231f58a531d9395fe1b
Author: ethem <ethem>
Date:   Thu, 26 Oct 2006 22:44:53 +0800
Tag:    v1.8.0

I found a new function: user_has_role_assignment(). Merged from MOODLE_17_STABLE.

commit 009a965863127fd476e060d7d4c64cbc89d72142
Author: ethem <ethem>
Date:   Thu, 26 Oct 2006 16:41:02 +0800
Tag:    v1.8.0

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

commit 821267bccf416bb48da65b72f0db6a569280c2d0
Author: ethem <ethem>
Date:   Wed, 18 Oct 2006 20:45:28 +0800
Tag:    v1.8.0

Fixed merge chars: =======

commit 23741665cd2daae99c8db4ef07f74ed63fb55490
Author: ethem <ethem>
Date:   Wed, 18 Oct 2006 20:43:00 +0800
Tag:    v1.8.0

Show results and send email to admin. Merged from 17stable.

commit c7003d87b9dfc7be4410477e29f13d9405ebcfb2
Author: ethem <ethem>
Date:   Mon, 16 Oct 2006 17:53:03 +0800
Tag:    v1.8.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 9c746ce766b30795a1ecaf93d4a60f6449f3f081
Author: ethem <ethem>
Date:   Mon, 16 Oct 2006 17:39:08 +0800
Tag:    v1.8.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 b5db746b7d2b5d1d4a8dba25d9159874806b1bd9
Author: ethem <ethem>
Date:   Mon, 16 Oct 2006 17:30:25 +0800
Tag:    v1.8.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.