88 Commits

Author SHA1 Message Date
moodler
8e605b760c paypal MDL-20322 Make sure the currency is set correctly. 2009-09-22 01:53:39 +00:00
samhemelryk
01d082fa17 enrol MDL-19795 Upgraded print_header and build_navigation calls to OUTPUT/PAGE equivilants 2009-09-04 06:29:26 +00:00
nicolasconnault
c60e66aee3 MDL-19795 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:59:01 +00:00
nicolasconnault
f147f547cb MDL-19795 Upgraded calls to choose_from_menu 2009-08-17 15:18:35 +00:00
nicolasconnault
2af6a7e57b MDL-19795 Converted all print_footer() calls 2009-08-06 14:11:55 +00:00
nicolasconnault
04a7ba52e9 MDL-19756 Removed explicit aligning CSS class from $OUTPUT->heading() calls 2009-08-06 08:55:02 +00:00
nicolasconnault
ade58ba0f6 MDL-19795 Migrated calls to print_heading 2009-08-06 08:16:10 +00:00
skodak
fc29e51b2d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:34:43 +00:00
stronk7
74c288a100 MDL-18577 drop enums support - step2: enums out from install.xml files 2009-05-01 14:07:43 +00:00
dongsheng
85db96c5b4 "MDL-17570, cleanup align property in div, merged from 1.9" 2008-12-10 06:48:54 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
skodak
775f811a66 MDL-16002 rewritten upgrade locking and better upgrade progress tracking; MDL-16070 Do not use $a[0] syntax in lang packs + various other upgrade improvements and fixes 2008-08-16 12:16:01 +00:00
lfrodrigues
2044a2b26f MDL-10107 - Removed old email_to_user with we still arround and added default message processor for user,
adminuser and on messagelib
2008-08-02 00:04:29 +00:00
moodler
3b120e464f MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)

This code is not finished yet, a lot of work still has to be done on the
interface.  However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +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
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
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
50c5bef452 MDL-14679 towards enrol conversion 2008-06-02 21:02:52 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
poltawski
209819bd72 MDL-12856 - previous commit was breaking moodle installs after
redeclaring method. Remove the duplicate function.

merged from MOODLE_19_STABLE
2008-01-07 20:57:44 +00:00
ikawhero
6b34dd500c Adding method to allow printing of the enrolment key form code when using PayPal.
Merged from MOODLE_19_STABLE
2008-01-07 01:02:45 +00:00
mchurch
5e983a9a2f MDL-11991 Fixing error on undefined method while using the manual plug-in. 2007-11-13 18:07:23 +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
skodak
128f098418 MDL-11640
* improved handling of dirty contexts in general - caching, switching in cron, marking, loading, etc.
* role_assing() and role_unassign() now marks dirty contexts because we use has_capability() in this function - we can not do it later outside to speedup bulk operations
* fixed some inline docs
* fixed notice from rs closing
* removed cached $CONTEXT from has_capability() - $context is now required parameter; this was hiding serious bugs when context did not exist or ppl passed false as parameter
* removed some ===, we can not use these on function parameters - we must support ints, strings, '', nulls, etc. - this could be a source of really dangerous bugs in future
* some other improvements and fixes - documented inline
2007-10-09 12:49:54 +00:00
stronk7
28271c7205 Second pass. Some more default comments are out. MDL-11385 2007-09-24 22:10:13 +00:00
martinlanghoff
d32dd61154 enrol/paypal: mark the contextpath as dirty on unenrolment
so the unenrolment is effective immediately.
2007-09-19 07:12:22 +00:00
nicolasconnault
0be6f67819 MDL-10870 All files updated to new build_navigation() method. Most are untested, because they are not easily accessible within a moodle site. 2007-08-17 19:09:11 +00:00
skodak
76317c73a2 MDL-10791 improve handling of localised floating point numbers in moodle; replaced/fixed some float_format() that were used instead of round(); expect some more patches soon 2007-08-10 15:00:35 +00:00
Martin Langhoff
08103c9364 cvsimport fixups 2007-07-07 14:18:30 +12:00
nicolasconnault
77a297d274 Fixed many xhtml errors 2007-04-20 07:54:42 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00
toyomoyo
537ea84763 MDL-8290, fix for broken plugins 2007-02-09 07:47:14 +00:00
skodak
658e87e302 MDL-7903 Guests can not enter course that allows guests with key; merged from MOODLE_17_STABLE 2006-12-18 19:21:10 +00:00
skodak
9f76d1d3f5 MDL-7973 Trailing spaces in PayPal email account cause problems... 2006-12-18 17:27:04 +00:00
skodak
2bbaf749c8 MDL-7434 all images that convey information should have alt text to convey that information - part 2 2006-11-25 18:09:33 +00:00
skodak
470accb7af use timeupdated field in paypal table MDL-7555 2006-11-14 21:29:57 +00:00
skodak
919da6579c MDL-7536 add proper slashing to data from paypal callback 2006-11-14 21:12:17 +00:00
skodak
934bdbee95 MDL-7535 PayPal communication now fully utf-8 compatible, users must check/fix encoding setting in their PayPal account - see linked docs from PayPal enrolment config page 2006-11-14 20:52:15 +00:00
skodak
547e5e7ab0 whitespace fix in PayPal plugin 2006-11-14 09:32:11 +00:00
skodak
5599d142f6 MDL-7838 Fixed wrong Paypal spelling, should be PayPal
MDL-7539 PayPal pay button XHTML compliance
MDL-3137 PayPal acceptace logo displayed on enrollment page
2006-11-14 09:26:22 +00:00
skodak
4849431074 add hooks to paypal plugin to allow testing on www.sandbox.paypal.com MDL-7528 2006-11-14 08:53:39 +00:00
skodak
8f425a8f72 MDL-7389 paypal plugin reports error when student correctly enrolled; merged from MOODLE_17_STABLE 2006-11-13 22:26:11 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
stronk7
5d0fc5c33d Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:46:02 +00:00
stronk7
3aac1dc9a0 Deprecating old "upgrade" files. MDL-7214
Merged from MOODLE_17_STABLE
2006-10-26 22:39:10 +00:00
stronk7
19606d8bd5 New upgrade.php file added for this module. MDL-7214 2006-10-26 17:02:31 +00:00
moodler
2f1a42481d This new function called load_all_capabilities() should be used whenever
you want to completely reload the capabilities for the current user.

Basically it will deal nicely with the default site-wide permissions
depending on the current user.

More background in the comments on MDL-6963

Merged from stable
2006-10-23 15:17:31 +00:00
moodler
bc492d185c Fixes to user new Roles 2006-09-22 16:19:24 +00:00
moodler
22003adac5 SOme changes for Roles 2006-09-22 16:11:52 +00:00