]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agofixed missing return in assign_role()
skodak [Sun, 3 Sep 2006 07:29:06 +0000 (07:29 +0000)]
fixed missing return in assign_role()

18 years agoversion bump for db upgrades
skodak [Sun, 3 Sep 2006 00:00:17 +0000 (00:00 +0000)]
version bump for db upgrades

18 years agofixes for new admin blocks
skodak [Sat, 2 Sep 2006 23:55:56 +0000 (23:55 +0000)]
fixes for new admin blocks

18 years agoAllowinng tables to create fields/keys/indexes using the one-pass-setters
stronk7 [Sat, 2 Sep 2006 23:52:55 +0000 (23:52 +0000)]
Allowinng tables to create fields/keys/indexes using the one-pass-setters

18 years agoAdded one-pass-setters for fields/keys/indexes.
stronk7 [Sat, 2 Sep 2006 23:51:39 +0000 (23:51 +0000)]
Added one-pass-setters for fields/keys/indexes.

18 years agoAdded some used strings
stronk7 [Sat, 2 Sep 2006 23:49:02 +0000 (23:49 +0000)]
Added some used strings

18 years agoFirst implementation of the create_table() function. Simple.
stronk7 [Sat, 2 Sep 2006 23:48:02 +0000 (23:48 +0000)]
First implementation of the create_table() function. Simple.

18 years agoNew function execute_sql_arr() to execute arrays of
stronk7 [Sat, 2 Sep 2006 23:46:43 +0000 (23:46 +0000)]
New function execute_sql_arr() to execute arrays of
statements, Used by ddllib.php mainly.

18 years agoSkeleton of the view_php helper.
stronk7 [Sat, 2 Sep 2006 23:44:06 +0000 (23:44 +0000)]
Skeleton of the view_php helper.

18 years agoOnly launch the old upgrade if it exists. It doesn'texist for new DB
stronk7 [Sat, 2 Sep 2006 23:40:13 +0000 (23:40 +0000)]
Only launch the old upgrade if it exists. It doesn'texist for new DB
flavours and modules.

18 years agoDon't asume that table and column exist in the migration process.
stronk7 [Sat, 2 Sep 2006 23:38:16 +0000 (23:38 +0000)]
Don't asume that table and column exist in the migration process.
Just to avoid some warnings.

18 years agocourse_sections->summary and course_sections->sequence can be NULLable (experimenting...
stronk7 [Sat, 2 Sep 2006 22:37:38 +0000 (22:37 +0000)]
course_sections->summary and course_sections->sequence can be NULLable (experimenting....)

18 years agoadded prune() to admin tree class to prevent errors in applying of backup defaults
skodak [Sat, 2 Sep 2006 19:30:54 +0000 (19:30 +0000)]
added prune() to admin tree class to prevent errors in applying of backup defaults

18 years agofixed frontpagesettings, install is not useing admin/site.php anymore
skodak [Sat, 2 Sep 2006 15:29:52 +0000 (15:29 +0000)]
fixed frontpagesettings, install is not useing admin/site.php anymore

18 years agofixed site defaults, reorganized administartion tree - new category legacy for obsole...
skodak [Sat, 2 Sep 2006 15:05:27 +0000 (15:05 +0000)]
fixed site defaults, reorganized administartion tree - new category legacy for obsoleted settings

18 years agoRemove +}
ethem [Sat, 2 Sep 2006 15:05:10 +0000 (15:05 +0000)]
Remove +}

I like this format:
{
}

not {
}

18 years agoLink to CVV help
ethem [Sat, 2 Sep 2006 14:28:55 +0000 (14:28 +0000)]
Link to CVV help

18 years agoCVV
ethem [Sat, 2 Sep 2006 14:26:17 +0000 (14:26 +0000)]
CVV

18 years agoLink to ABA help
ethem [Sat, 2 Sep 2006 14:11:54 +0000 (14:11 +0000)]
Link to ABA help

18 years agoABA help
ethem [Sat, 2 Sep 2006 14:11:51 +0000 (14:11 +0000)]
ABA help

18 years agoABA help
ethem [Sat, 2 Sep 2006 14:08:31 +0000 (14:08 +0000)]
ABA help

18 years agoDon't show "Notice: Undefined property: paymentmethod"
ethem [Sat, 2 Sep 2006 13:42:28 +0000 (13:42 +0000)]
Don't show "Notice: Undefined property: paymentmethod"

18 years agofixed missing }
skodak [Sat, 2 Sep 2006 13:39:27 +0000 (13:39 +0000)]
fixed missing }

18 years agodeglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed...
skodak [Sat, 2 Sep 2006 13:14:57 +0000 (13:14 +0000)]
deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes

18 years agoSubmit buttons (ccsubmit, echecksubmit) are no longer used. Hidden field paymentmetho...
ethem [Sat, 2 Sep 2006 13:09:21 +0000 (13:09 +0000)]
Submit buttons (ccsubmit, echecksubmit) are no longer used. Hidden field paymentmethod is enough for checking forms.

18 years agoBetter handling of forms and configs.
ethem [Sat, 2 Sep 2006 12:37:01 +0000 (12:37 +0000)]
Better handling of forms and configs.

18 years agoMoved all static functions in authorize class to localfuncs.php as normal function.
ethem [Sat, 2 Sep 2006 11:49:02 +0000 (11:49 +0000)]
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.

18 years agoreplace all uses of isset($USER->id) with empty() to allow proper operation of $CFG...
skodak [Sat, 2 Sep 2006 11:44:04 +0000 (11:44 +0000)]
replace all uses of isset($USER->id) with empty() to allow proper operation of $CFG->notloggedinroleid hack

18 years agomore install time fixes for new admin code
skodak [Sat, 2 Sep 2006 11:26:33 +0000 (11:26 +0000)]
more install time fixes for new admin code

18 years agofixed defaults for backups during installation
skodak [Sat, 2 Sep 2006 11:10:10 +0000 (11:10 +0000)]
fixed defaults for backups during installation

18 years agoNow, not null fields are respected by the UTF-8 migration process. Also,
stronk7 [Sat, 2 Sep 2006 10:04:22 +0000 (10:04 +0000)]
Now, not null fields are respected by the UTF-8 migration process. Also,
for those NULLable fields, if the default was '', convert it to null (i.e.
disable de default).

18 years agofixed admin defaults, some warnings during install and added trmporary hack to make...
skodak [Sat, 2 Sep 2006 10:03:30 +0000 (10:03 +0000)]
fixed admin defaults, some warnings during install and added trmporary hack to make $CFG->notloggedinroleid work

18 years agoAutomatic installer.php lang files by installer_builder (20060902)
moodler [Sat, 2 Sep 2006 02:42:41 +0000 (02:42 +0000)]
Automatic installer.php lang files by installer_builder (20060902)

18 years agoimprove detection of PostgreSQL version number
gbateson [Fri, 1 Sep 2006 22:44:07 +0000 (22:44 +0000)]
improve detection of PostgreSQL version number

18 years agoOnly mysql and postgresql show the UTF-8 migration message.
stronk7 [Fri, 1 Sep 2006 18:41:30 +0000 (18:41 +0000)]
Only mysql and postgresql show the UTF-8 migration message.

18 years agoNow record_exists_sql() uses the cross-db limit implementation.
stronk7 [Fri, 1 Sep 2006 18:33:19 +0000 (18:33 +0000)]
Now record_exists_sql() uses the cross-db limit implementation.

18 years agomssql doesn't support aliases nor position numbers in the
stronk7 [Fri, 1 Sep 2006 18:24:09 +0000 (18:24 +0000)]
mssql doesn't support aliases nor position numbers in the
GROUP BY clause. Just columns and expressions.

18 years agoIntroduced one function to calculate the proper "AS"
stronk7 [Fri, 1 Sep 2006 17:45:02 +0000 (17:45 +0000)]
Introduced one function to calculate the proper "AS"
keyword for columns. All DB seems to support it but
PostgreSQL require it!

18 years agoEchecks can not be cancelled.
ethem [Fri, 1 Sep 2006 17:16:08 +0000 (17:16 +0000)]
Echecks can not be cancelled.
2 actions only for echecks: auth_capture and credit

18 years agoNew string: paymentmethod
ethem [Fri, 1 Sep 2006 16:43:52 +0000 (16:43 +0000)]
New string: paymentmethod

18 years agoNew md5key fields and associated indexes.
stronk7 [Fri, 1 Sep 2006 15:36:49 +0000 (15:36 +0000)]
New md5key fields and associated indexes.
Now hotpot should be 100% cross-db. Thanks Gordon!

18 years agoFFFFFFFFAAAAAANNNNNNTTTTTAAAAASSSSTTTTTIIIIICCCCC
ethem [Fri, 1 Sep 2006 15:18:22 +0000 (15:18 +0000)]
FFFFFFFFAAAAAANNNNNNTTTTTAAAAASSSSTTTTTIIIIICCCCC

Echeck is ready for usage. I've been buying access into some test courses by echeck. :-)

18 years ago+ Don't show AVS message if not applicable.
ethem [Fri, 1 Sep 2006 15:05:36 +0000 (15:05 +0000)]
+ Don't show AVS message if not applicable.
+ Email message that translated instead of english if cc type and payment method will be autoconfigured.

18 years agoNew installer lang files.
moodler [Fri, 1 Sep 2006 14:30:58 +0000 (14:30 +0000)]
New installer lang files.

18 years agoAdded multi-attemps support
bobopinna [Fri, 1 Sep 2006 10:17:01 +0000 (10:17 +0000)]
Added multi-attemps support

18 years agoutf8 migrate support for site with roles active, resolved isstudent legacy problem...
toyomoyo [Fri, 1 Sep 2006 09:25:34 +0000 (09:25 +0000)]
utf8 migrate support for site with roles active, resolved isstudent legacy problem, implemented $CFG->notloggedinroleid

18 years ago* New strings for Authorize.net eCheck.
ethem [Fri, 1 Sep 2006 09:04:11 +0000 (09:04 +0000)]
* New strings for Authorize.net eCheck.

Authorize.Net provides an exclusive, fully integrated electronic check payment method, eCheck.Net.
Using eCheck.Net, merchants can accept and process payments from consumer and corporate bank accounts
directly from their Web site or through the Authorize.Net Virtual Terminal. By accepting electronic checks,
you expand the payment options available to new and existing customers, enhancing customer loyalty and
potentially increasing sales.

+ Lower Fees - Lower rates than credit cards or PayPal.
+ More Efficient - eCheck.Net does everything online, eliminating the cost and inconvenience of manually
  processing paper checks and waiting for checks in the mail.
+ Fully Integrated Solution - No third-party integration required implementing eCheck.Net is easy
  for merchants already using the Authorize.Net Payment Gateway.
+ Integrated Reporting - Provides a combined view of all eCheck.Net and credit card payment transactions.
  Reconcile payment and billing activity using online reports and statements.
+ Ship Product Sooner - Improved up-front transaction validation that returns the status of transactions faster.
+ Security - Authorize.Net uses the latest 128-bit Secure Socket Layer (SSL) technology for
  secure Internet Protocol (IP) transactions.

18 years agofix bug MDL_6419
gbateson [Fri, 1 Sep 2006 08:55:43 +0000 (08:55 +0000)]
fix bug MDL_6419

18 years agoforum subscriptions use capabilities
moodler [Fri, 1 Sep 2006 06:56:24 +0000 (06:56 +0000)]
forum subscriptions use capabilities

18 years agoif role_assign is called by the current user on themselves, then reload
moodler [Fri, 1 Sep 2006 06:30:01 +0000 (06:30 +0000)]
if role_assign is called by the current user on themselves, then reload
the capabilities table

18 years agoMore flexible role_unassign() that allows setting of any combination of arguments
moodler [Fri, 1 Sep 2006 06:10:45 +0000 (06:10 +0000)]
More flexible role_unassign() that allows setting of any combination of arguments

18 years agocorrect the detection of HotPot 2.0 backups (from Moodle 1.5)
gbateson [Fri, 1 Sep 2006 04:24:34 +0000 (04:24 +0000)]
correct the detection of HotPot 2.0 backups (from Moodle 1.5)

18 years agoadd md5key field to end of hotpot_questions and hotpot_strings
gbateson [Fri, 1 Sep 2006 04:20:19 +0000 (04:20 +0000)]
add md5key field to end of hotpot_questions and hotpot_strings

18 years agofixed typo on line 2
gbateson [Fri, 1 Sep 2006 02:18:41 +0000 (02:18 +0000)]
fixed typo on line 2

18 years agoreplace MySQL-only indexes on text fields (hotpot_question.name + hotpot_strings...
gbateson [Fri, 1 Sep 2006 02:08:39 +0000 (02:08 +0000)]
replace MySQL-only indexes on text fields (hotpot_question.name + hotpot_strings.string) with two new md5key fields (hotpot_question.md5key + hotpot_strings.md5key), which are the MD5 hash of the respective text fields. Microincrement version number to 2006083101

18 years agouser->description can be NULLable (experimenting....)
stronk7 [Thu, 31 Aug 2006 23:31:36 +0000 (23:31 +0000)]
user->description can be NULLable (experimenting....)

18 years agouser->description can be NULLable (experimenting....)
stronk7 [Thu, 31 Aug 2006 23:20:47 +0000 (23:20 +0000)]
user->description can be NULLable (experimenting....)

18 years agocourse_categories->description can be NULLable (experimenting....)
stronk7 [Thu, 31 Aug 2006 23:17:23 +0000 (23:17 +0000)]
course_categories->description can be NULLable (experimenting....)

18 years agocourse_categories->description can be NULLable (experimenting....)
stronk7 [Thu, 31 Aug 2006 23:04:15 +0000 (23:04 +0000)]
course_categories->description can be NULLable (experimenting....)

18 years agoThis condition was preventing new installs sometimes
stronk7 [Thu, 31 Aug 2006 22:42:04 +0000 (22:42 +0000)]
This condition was preventing new installs sometimes

18 years agoThis condition was preventing new installs sometimes.
stronk7 [Thu, 31 Aug 2006 22:33:18 +0000 (22:33 +0000)]
This condition was preventing new installs sometimes.

18 years agofixed problem with applying of default settings during install - choices can not...
skodak [Thu, 31 Aug 2006 22:17:47 +0000 (22:17 +0000)]
fixed problem with applying of default settings during install - choices can not be constructed yet

18 years agofixed default values in apply_default_exception_settings(); several values in lib...
skodak [Thu, 31 Aug 2006 21:50:22 +0000 (21:50 +0000)]
fixed default values in apply_default_exception_settings(); several values in lib/default.php are wrong, but I guess we do not need to fix them because it as replaced by the new administration framowork ;-)

18 years ago'prefix' can only be defined in config.php, it can not be changed or stored in databa...
skodak [Thu, 31 Aug 2006 21:15:12 +0000 (21:15 +0000)]
'prefix' can only be defined in config.php, it can not be changed or stored in database ;-)

18 years agomissing comma inserted line 752, removed comma from line 753
rtcn2 [Thu, 31 Aug 2006 19:47:54 +0000 (19:47 +0000)]
missing comma inserted line 752, removed comma from line 753

18 years agocourse->modinfo nullable and no default
stronk7 [Thu, 31 Aug 2006 19:42:22 +0000 (19:42 +0000)]
course->modinfo nullable and no default

18 years agomodinfo nullable and without default.
stronk7 [Thu, 31 Aug 2006 19:39:18 +0000 (19:39 +0000)]
modinfo nullable and without default.

18 years ago+ New ENUM field: paymentmethod(cc,echeck);
ethem [Thu, 31 Aug 2006 18:24:37 +0000 (18:24 +0000)]
+ 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)

+ AN_METHOD_CC and AN_METHOD_ECHECK is now lower case, because these fields are stored in database as enum.
  Eloy's response:
   They are lowercase because we decided to use lowercase identifiers everywhere and enum contents are,
   from a DB perspective, identifiers.

  Ok, NP. :)) set_config('an_acceptmethods', strtolower($CFG->an_acceptmethods)); solves this.

18 years agoGive a bit more information to the subclasses.
tjhunt [Thu, 31 Aug 2006 16:59:52 +0000 (16:59 +0000)]
Give a bit more information to the subclasses.

18 years agocourse->modinfo can be NULLable (experimenting....)
stronk7 [Thu, 31 Aug 2006 16:59:29 +0000 (16:59 +0000)]
course->modinfo can be NULLable (experimenting....)

18 years agoMDL-6418 - Grading of multiple choice questions broken
tjhunt [Thu, 31 Aug 2006 16:59:05 +0000 (16:59 +0000)]
MDL-6418 - Grading of multiple choice questions broken

18 years agoNew function choose_from_menu_yesno
tjhunt [Thu, 31 Aug 2006 16:55:48 +0000 (16:55 +0000)]
New function choose_from_menu_yesno

18 years agofixed riskbitmask problems, sorry :-(
skodak [Thu, 31 Aug 2006 16:01:41 +0000 (16:01 +0000)]
fixed riskbitmask problems, sorry :-(

18 years agoIf the method is AN_METHOD_CC submit cclastfour, don't send for ECHECK.
ethem [Thu, 31 Aug 2006 15:46:53 +0000 (15:46 +0000)]
If the method is AN_METHOD_CC submit cclastfour, don't send for ECHECK.

18 years agoFixed fixo.
ethem [Thu, 31 Aug 2006 15:10:24 +0000 (15:10 +0000)]
Fixed fixo.

18 years agoClarified comment.
tjhunt [Thu, 31 Aug 2006 11:28:44 +0000 (11:28 +0000)]
Clarified comment.

18 years agoFixed a typo
bobopinna [Thu, 31 Aug 2006 10:37:33 +0000 (10:37 +0000)]
Fixed a typo

18 years agoFixed context selection
bobopinna [Thu, 31 Aug 2006 10:29:16 +0000 (10:29 +0000)]
Fixed context selection

18 years agoremoving trustbitmask for now and comment from riskbitmask
skodak [Thu, 31 Aug 2006 09:20:24 +0000 (09:20 +0000)]
removing trustbitmask for now and comment from riskbitmask

18 years agoFixed syntax error.
thepurpleblob [Thu, 31 Aug 2006 09:17:57 +0000 (09:17 +0000)]
Fixed syntax error.

18 years agoadding capabilities
toyomoyo [Thu, 31 Aug 2006 08:51:09 +0000 (08:51 +0000)]
adding capabilities

18 years agocapability riskbitmasks and user trustbitmask patch #1 see MDL-6412
skodak [Thu, 31 Aug 2006 08:36:36 +0000 (08:36 +0000)]
capability riskbitmasks and user trustbitmask patch #1 see MDL-6412

18 years agoAdded capability support
bobopinna [Thu, 31 Aug 2006 08:34:13 +0000 (08:34 +0000)]
Added capability support

18 years agoClean up for role_assign()
moodler [Thu, 31 Aug 2006 08:30:28 +0000 (08:30 +0000)]
Clean up for role_assign()

18 years agoIf the merchant does not accept ACH (echeck) method, set default payment method as...
ethem [Thu, 31 Aug 2006 08:06:19 +0000 (08:06 +0000)]
If the merchant does not accept ACH (echeck) method, set default payment method as AN_METHOD_CC.

18 years agoAdded "enrol" parameter to role_assign which records how this assignment
moodler [Thu, 31 Aug 2006 07:58:53 +0000 (07:58 +0000)]
Added "enrol" parameter to role_assign which records how this assignment
was made

18 years agoredirect() now always respects delay 0 if specified + some minor changes
skodak [Thu, 31 Aug 2006 07:45:58 +0000 (07:45 +0000)]
redirect() now always respects delay 0 if specified + some minor changes

18 years agoMore robustness fixes for accesslib
moodler [Thu, 31 Aug 2006 07:40:48 +0000 (07:40 +0000)]
More robustness fixes for accesslib

18 years agoAdded Echeck UI validation.
ethem [Thu, 31 Aug 2006 07:11:31 +0000 (07:11 +0000)]
Added Echeck UI validation.

18 years agoMore defensive get_parent_cats()
moodler [Thu, 31 Aug 2006 05:06:30 +0000 (05:06 +0000)]
More defensive get_parent_cats()

18 years agoSome robustness when loading capabilities
moodler [Thu, 31 Aug 2006 04:17:51 +0000 (04:17 +0000)]
Some robustness when loading capabilities

18 years agoRemoved tabs
moodler [Thu, 31 Aug 2006 04:00:01 +0000 (04:00 +0000)]
Removed tabs

This block still needs work to merge with the new admin pages

18 years agoMinor modifications to oci8po generator (max 38 for number)
stronk7 [Thu, 31 Aug 2006 00:19:57 +0000 (00:19 +0000)]
Minor modifications to oci8po generator (max 38 for number)

18 years agoBlock plugin tables can use the XMLDB install & upgrade
stronk7 [Thu, 31 Aug 2006 00:02:06 +0000 (00:02 +0000)]
Block plugin tables can use the XMLDB install & upgrade

18 years agoBlock core blocks tables can use the XMLDB install & upgrade
stronk7 [Wed, 30 Aug 2006 23:18:29 +0000 (23:18 +0000)]
Block core blocks tables can use the XMLDB install & upgrade

18 years agoSmall rework of the main install/upgrade script. Everything should
stronk7 [Wed, 30 Aug 2006 23:13:43 +0000 (23:13 +0000)]
Small rework of the main install/upgrade script. Everything should
continue working as before.

18 years agoUpdated front-end display to accurately represent how moodle is handling things on...
cap2501 [Wed, 30 Aug 2006 21:39:09 +0000 (21:39 +0000)]
Updated front-end display to accurately represent how moodle is handling things on the backend.

18 years agoSwitched over to using moodle commands instead of direct DB manipulation for everythi...
cap2501 [Wed, 30 Aug 2006 21:38:23 +0000 (21:38 +0000)]
Switched over to using moodle commands instead of direct DB manipulation for everything but blocks(still working on that one).

18 years agoNow backup tables can use the XMLDB install & upgrade
stronk7 [Wed, 30 Aug 2006 20:41:37 +0000 (20:41 +0000)]
Now backup tables can use the XMLDB install & upgrade

18 years agoTriple "l" were preventing new installations to be executed for plugins.
stronk7 [Wed, 30 Aug 2006 20:27:29 +0000 (20:27 +0000)]
Triple "l" were preventing new installations to be executed for plugins.