]> git.mjollnir.org Git - moodle.git/log
moodle.git
18 years agoadd admin_tree to front page during install and upgrade
skodak [Sun, 3 Sep 2006 18:37:41 +0000 (18:37 +0000)]
add admin_tree to front page during install and upgrade

18 years agoAdded the feedback attribute to the execute_sql_arr() function.
stronk7 [Sun, 3 Sep 2006 17:56:34 +0000 (17:56 +0000)]
Added the feedback attribute to the execute_sql_arr() function.

18 years agoallow deleting of block when original code not present
skodak [Sun, 3 Sep 2006 17:46:27 +0000 (17:46 +0000)]
allow deleting of block when original code not present

18 years agoCutting down on the debug notices
moodler [Sun, 3 Sep 2006 16:31:46 +0000 (16:31 +0000)]
Cutting down on the debug notices

18 years agoAdded capability for showing documentation links
moodler [Sun, 3 Sep 2006 16:26:55 +0000 (16:26 +0000)]
Added capability for showing documentation links

18 years agoMerging $CFG->disablestatsprocessing from stable
moodler [Sun, 3 Sep 2006 15:46:21 +0000 (15:46 +0000)]
Merging $CFG->disablestatsprocessing from stable

18 years agoPrevent NULL fields in 1.7 to become NOT NULL after the UTF-8 migration process.
stronk7 [Sun, 3 Sep 2006 15:33:42 +0000 (15:33 +0000)]
Prevent NULL fields in 1.7 to become NOT NULL after the UTF-8 migration process.

18 years agofixed collisions in merges, sorry
skodak [Sun, 3 Sep 2006 15:21:46 +0000 (15:21 +0000)]
fixed collisions in merges, sorry

18 years agoFixed module links to suit new admin/*.php file page names
moodler [Sun, 3 Sep 2006 15:13:53 +0000 (15:13 +0000)]
Fixed module links to suit new admin/*.php file page names

18 years agoNew admin menu files
moodler [Sun, 3 Sep 2006 14:52:43 +0000 (14:52 +0000)]
New admin menu files

18 years agoProper log index.php so that admin pages work correctly
moodler [Sun, 3 Sep 2006 14:52:23 +0000 (14:52 +0000)]
Proper log index.php so that admin pages work correctly

18 years agoVarious tidying up of the admin pages.
moodler [Sun, 3 Sep 2006 14:45:57 +0000 (14:45 +0000)]
Various tidying up of the admin pages.

Reports now don't need mod.php but they should include the admin headers/footers.

There are undoubtedly bugs in this but this framework should be more sane

18 years agoThese files still need tidying
moodler [Sun, 3 Sep 2006 14:43:41 +0000 (14:43 +0000)]
These files still need tidying

18 years agonew admin block fixes and reorganisation - I guess we need something more traditional...
skodak [Sun, 3 Sep 2006 13:10:56 +0000 (13:10 +0000)]
new admin block fixes and reorganisation - I guess we need something more traditional for now

18 years agoTake out invalid </tr>. While this makes the html valid some work should still be...
gustav_delius [Sun, 3 Sep 2006 12:23:11 +0000 (12:23 +0000)]
Take out invalid </tr>. While this makes the html valid some work should still be done on the layout of this.

18 years agoThe file countries.php does not exist in lang/en, only in lang/en_utf8. Therefore...
gustav_delius [Sun, 3 Sep 2006 11:38:45 +0000 (11:38 +0000)]
The file countries.php does not exist in lang/en, only in lang/en_utf8. Therefore the fallback default in the function get_list_of_countries() should always be en_utf8.

18 years agoUpgrade_log stuff needed adminlib.php included
moodler [Sun, 3 Sep 2006 09:00:13 +0000 (09:00 +0000)]
Upgrade_log stuff needed adminlib.php included

18 years agoNew tags file
moodler [Sun, 3 Sep 2006 08:56:05 +0000 (08:56 +0000)]
New tags file

18 years agoUse proper way to get config values :)
moodler [Sun, 3 Sep 2006 08:48:39 +0000 (08:48 +0000)]
Use proper way to get config values :)

18 years agoRemoved student view
moodler [Sun, 3 Sep 2006 08:46:30 +0000 (08:46 +0000)]
Removed student view

18 years agoFices bug when loading another user's capabilities (it would trash your own)
moodler [Sun, 3 Sep 2006 08:45:41 +0000 (08:45 +0000)]
Fices bug when loading another user's capabilities (it would trash your own)

18 years agoRemoved student view completely until a roles-ased replacement can be made
moodler [Sun, 3 Sep 2006 08:10:51 +0000 (08:10 +0000)]
Removed student view completely until a roles-ased replacement can be made

18 years agoMoving deprecated functions to deprecatedlib.php from moodlelib.php and
moodler [Sun, 3 Sep 2006 08:10:10 +0000 (08:10 +0000)]
Moving deprecated functions to deprecatedlib.php from moodlelib.php and
some cleanups around the place.

Many of the functions in deprecatedlib.php have been rewritten to work with
the new roles and capabilities so that they can still work as well as possible.

18 years agoTidy-ups
moodler [Sun, 3 Sep 2006 08:03:02 +0000 (08:03 +0000)]
Tidy-ups

18 years agoReplaced forum_get_user() with forum_add_user_default_subscriptions()
moodler [Sun, 3 Sep 2006 08:01:48 +0000 (08:01 +0000)]
Replaced forum_get_user() with forum_add_user_default_subscriptions()

18 years agoFixed typo
moodler [Sun, 3 Sep 2006 08:00:03 +0000 (08:00 +0000)]
Fixed typo

18 years agoImprovements to load_notloggedin_role for robustness and clarity.
moodler [Sun, 3 Sep 2006 07:56:40 +0000 (07:56 +0000)]
Improvements to load_notloggedin_role for robustness and clarity.

More checking in role_assign and calling of forum_add_user_default_subscriptions

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 :-(