Commit graph

274 commits

Author SHA1 Message Date
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
stronk7
e80d52526d Initial commit for enrol tables XMLDB 2006-08-07 18:52:27 +00:00
skodak
e87fe61524 Bug #5941 - Myriad of problems with Paypal enrollmemts, part 2 - Login as guest not shown to guests and there is login link instead of paypal button for guests; merged from MOODLE_16_STABLE 2006-06-28 15:26:31 +00:00
skodak
44adc9032b Bug #5941 - Myriad of problems with Paypal enrollmemts, part 1; merged from MOODLE_16_STABLE 2006-06-28 12:45:28 +00:00
moodler
d87a9d7338 Fixed the upgrade_plugins function so that it automatically
handles the .sql file for first installation (just like activities)
2006-04-16 16:50:55 +00:00
gustav_delius
a488b9325c Replace require_variable() by required_param() 2006-04-06 12:56:37 +00:00
gustav_delius
ead293420d Questiontypes are doing their own database upgrade now.
I modified the enrollment plugin mechanism to work for any type of plugin
2006-03-22 10:44:54 +00:00
martinlanghoff
a51e2a7f3b [multienrol]Renamed "internal" enrolment plugin to "manual" 2006-03-09 03:19:10 +00:00
martinlanghoff
f5befec4e8 [multienrol]Fixed some wired characters caused by my editor 2006-03-09 02:56:44 +00:00
martinlanghoff
f9667a5aea [multienrol]Initial commit for multi enrolment plugin feature 2006-03-09 02:48:29 +00:00
toyomoyo
f9952852b1 adding more xmls 2006-01-16 01:56:21 +00:00
patrickslee
c0ee465b4c Fixed a mis-usage (typo?) of get_admin() in paypal module. (Merged from MOODLE_15_STABLE) 2005-10-27 02:20:59 +00:00
stronk7
894ff63f8f Tabs are out 2005-05-16 22:22:31 +00:00
moodler
19fa71e8fb When using the Paypal module, you can now also use enrolment keys
Thanks, Chardelle!     bug 2418
2005-05-04 07:31:25 +00:00
moodler
e3c552b9c2 Don't show shipping 2005-05-04 06:43:24 +00:00