52 Commits

Author SHA1 Message Date
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Petr Skoda
ed149942a6 fixed more silly typos in comments 2010-05-21 19:31:17 +00:00
Petr Skoda
38549d6396 MDL-21579 using simple exception handling instead of table_exists - we do this in several other places already 2010-04-30 15:38:58 +00:00
Martin Dougiamas
0bedd3c797 MDL-21579 Improved table checking using the shorthand method 2010-04-29 09:51:35 +00:00
Martin Dougiamas
9c764f9f34 MDL-21579 Adding some table checking to avoid errors on database reinstall 2010-04-29 07:10:00 +00:00
Jamie Pratt
2d0acbd5f9 MDL-21579 "Implement session token for embedded application" implemented a second type of session token linked to a session for use in applications embedded in web pages. 2010-04-28 13:16:58 +00:00
Petr Skoda
59e0ce0ac5 MDL-20625 adding TODO for combination of session and tansactiosn, discussing best solution with Eloy 2009-11-10 14:28:40 +00:00
Tim Hunt
a79ef03fe9 moodlelib: MDL-20702 New require_sesskey function.
Also improve PHPdoc comments to fix my misconceptions.
2009-11-02 16:41:00 +00:00
skodak
3a465d1dc9 MDL-20462 reminder to minimise timemodified indexed column changes 2009-10-06 19:34:40 +00:00
stronk7
1c13ff2330 NOBUG: Just adding some "database" words here and there to help a bit when debugging problems. 2009-10-01 15:02:00 +00:00
tjhunt
43b152f69a cron: MDL-19774 temporary hack so cron does not crash. 2009-07-13 06:08:48 +00:00
samhemelryk
b37eac91cc lib MDL-19236 Added boilerplates and copyrights 2009-05-26 03:57:03 +00:00
fmarier
2d80192857 MDL-19222 lib/setup: work-around the disk_free_space call failing on very large partitions 2009-05-22 03:19:16 +00:00
fmarier
5505925383 MDL-19222 sessionlib: add a check and error message when initialising file sessions in case there is no free space on the partition 2009-05-18 04:47:58 +00:00
tjhunt
c13a5e71cc moodle_page: MDL-12212 start of new moodle_page class
* has course and status fields
* $PAGE->status updated by print_header and footer
* $PAGE->set_course now replace course_setup function
* global $PAGE created in setup.php
* unit tests for functionality so far
* Moodle still seems to work after this commit!
2009-05-06 08:29:22 +00:00
skodak
a91557ae6f MDL-18137 all cookies now secure if configured to be 2009-02-07 22:41:59 +00:00
skodak
34e9457e30 MDL-17942 fixed incorrect mysql setting name 2009-01-19 08:13:56 +00:00
skodak
b9fb71030f MDL-17942 reimplemented detection of mysql max_packet_size problems 2009-01-19 08:03:55 +00:00
skodak
3b50631d7f MDL-17942 fixed session regeneration 2009-01-19 07:25:12 +00:00
skodak
200f26cf18 MDL-17942 improved mysql truncation prevention 2009-01-18 23:12:14 +00:00
skodak
64d69e966c MDL-17942 lot more session refactoring 2009-01-18 23:06:52 +00:00
skodak
ad76d18475 MDL-17942 yet more session refactoring 2009-01-18 20:30:54 +00:00
skodak
e8656befac MDL-17942 more session refactoring 2009-01-18 18:00:44 +00:00
skodak
88fdd846f6 MDL-17942 fixed gc regressions, added gc after deleting users and similar cases 2009-01-18 12:20:55 +00:00
skodak
dd9e22f871 MDL-17942 implemented gc and timeouts for db sessions 2009-01-18 11:19:40 +00:00
skodak
35d6a2a43d MDL-17617 - installation session related improvements; logout fixes + other improvements 2009-01-17 20:25:58 +00:00
skodak
56949c17de MDL-14992 refactored use of session_write_close() 2009-01-17 15:25:08 +00:00
skodak
ef159e5f99 MDL-14992 towards better db sessions 2009-01-17 14:48:37 +00:00
skodak
45871c088e MDL-14992sid rewriting improvement 2009-01-17 14:35:04 +00:00
skodak
5e9dd01778 MDL-14992 pg session locking (8.2 and later only), refactoring and db session not default yet in new installs 2009-01-17 14:31:29 +00:00
skodak
a644e212df MDL-14992 towards better db sessions 2009-01-17 12:15:57 +00:00
skodak
3b1a9849bf MDL-14992 pg sessions advisory locks accept only integers :-( trying to find a workaround 2009-01-17 12:12:48 +00:00
skodak
7f79aaeaad MDL-14992 towards better db sessions - session locking for mysql 2009-01-16 23:02:24 +00:00
skodak
eee3bd3f48 MDL-14992 towards better db sessions 2009-01-16 21:37:47 +00:00
skodak
17d9348991 MDL-14992 towards better db sessions 2009-01-16 20:43:17 +00:00
skodak
0a2092a307 MDL-14992 towards better db sessions 2009-01-16 17:27:36 +00:00
skodak
f61a032afc MDL-14992 towards new moodle db sessions 2009-01-14 18:32:57 +00:00
skodak
11e7b506ce MDL-17754, MDL-11061, MDL-9276, MDL-17777, MDL-17787 - various url handling improvemetns; rewritten $FULLME and added $ME, $SCRIPT and $FULLSCRIPT; improved slashargument handling especially for IIS; removed legacy slasharguments functions obsoleted since 1.6; some other refactoring; reverse procy support, ssl appliance support 2009-01-05 21:37:20 +00:00
skodak
a91b910e4f MDL-17776 added new define CLI_SCRIPT that identifies all CLI scripts + cron (cli scripts do not have session and do not like HTML in output and are executed from command line, cron is an exception) 2009-01-03 14:28:02 +00:00
skodak
e8b7114d5e MDL-17774 refactored USER switching in cron scripts - now standardised in cron_setup_user() 2009-01-03 13:16:59 +00:00
skodak
9bda43e6be MDL-16613 refactore session IP tracking; MDL-14213 improved message when IP changes; MDL-17754 SID is regenerated when terminating session and old session is deleted 2009-01-02 23:49:29 +00:00
skodak
93f66983cc MDL-17773 new get_login_url() function - fixes missing httpslogin tweaks 2009-01-02 22:56:48 +00:00
skodak
eb85959b5c MDL-16613 sesskey initialisation refactored 2009-01-02 21:20:00 +00:00
skodak
1b813f5c2a MDL-17772 fixed guest access; MDL-17754 $USER object initialisation cleanup 2009-01-02 21:05:16 +00:00
skodak
b7b64ff2e0 MDL-17754 next round of session related refactoring 2009-01-02 20:32:05 +00:00
skodak
85f6b737a4 MDL-17767 yet more loginas refactoring 2009-01-02 15:29:20 +00:00
skodak
6132768ecb MDL-17767 loginas refactoring and simplification; full SESSION switching implemented 2009-01-02 15:15:26 +00:00
skodak
542797b4e8 MDL-17767 loginas internals refactoring - code moved to sessionlib.php 2009-01-02 14:53:02 +00:00
skodak
8d1964c4f8 MDL-17754 loginas internals refactoring - code moved to sessionlib.php 2009-01-02 13:58:12 +00:00
skodak
0ad6b20cb2 MDL-17754 session code refactoring; removing test cookie which will be replaced by wwwroot checks 2009-01-02 13:42:43 +00:00