288 Commits

Author SHA1 Message Date
Petr Skoda
025d82e0ed MDL-31176 add missing global $DB when looking for group related context in calendar 2012-01-21 19:57:01 +01:00
Petr Skoda
b85b25ebb8 MDL-31006 fix various notices in PHP54
PHP54 compatibility
2012-01-18 01:03:20 +01:00
Rossiani Wijaya
d52777b486 MDL-27542 calendar export: fixed the following:
1. changing auth token to use user id instead of username
2. add fall back checking for old url
3. remove yui functionality to generate calendar url
4. add missing variable
5. fixed usercontext instance
2011-11-07 17:07:00 +08:00
Petr Skoda
eb59a448f7 MDL-28720 fix set.php return url handling 2011-10-28 19:35:04 +02:00
Sam Hemelryk
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00
Sam Hemelryk
797cedc7cf MDL-25249 Tidied up calendar variable passing and removed session abuse 2011-06-29 14:50:38 +08:00
Rossiani Wijaya
18d63ffb67 MDL-27906 calendar event: fixed retrieving coursemodule by replacing get_coursemodule_from_id() to get_coursemodule_from_instance() 2011-06-20 14:32:47 +08:00
Sam Hemelryk
4d8bd3f570 Merged with small fix branch MDL-26516_head from git://github.com/rwijaya/moodle.git 2011-04-19 16:25:40 +08:00
Rossiani Wijaya
f4700b91c1 MDL-26516: fix calendar event type (user overides)- master 2011-04-18 18:27:10 +08:00
Petr Skoda
99d19c13ae MDL-25855 some more missing filelib includes 2011-01-23 18:34:41 +01:00
Adam Olley
adc3cfc744 calendar/lib.php MDL-25525 - Tooltip icons broken
Signed-off-by: Dan Poltawski <dan.poltawski@luns.net.uk>
2011-01-03 18:26:50 +00:00
Dongsheng Cai
1d5bd3d2ed MDL-24941, fixed nopermission error when student entering scheduled chat session 2010-11-17 07:56:40 +00:00
Sam Hemelryk
d1c7c2ea14 NOBUG removing outdated comment 2010-09-29 01:23:19 +00:00
Sam Hemelryk
d8d8bdd97b calendar MDL-24378 set better defaults when constructing a calendar object. 2010-09-28 02:02:04 +00:00
Rossiani Wijaya
6694ff841b MDL-24350: fixed XHTML strict by removing an additional of '</div>' 2010-09-23 05:50:15 +00:00
Sam Hemelryk
e71e340d8e calendar MDL-19747 Added title to calendar block header 2010-09-20 07:30:35 +00:00
Sam Hemelryk
753b799d0a calendar MDL-23239 Fixed issue while adding calendar to some course pages. Thanks Paul for the patch. 2010-09-20 07:23:54 +00:00
Sam Hemelryk
14236cbd44 calendar MDL-24284 Added to PHPdocs 2010-09-20 07:04:46 +00:00
Sam Hemelryk
0f927f1e4b calendar MDL-24284 Fixed up URL param encoding issue 2010-09-20 07:00:18 +00:00
Sam Hemelryk
2b35ed1a45 calendar MDL-24288 Fixed up deprecated notice within calendar lib.php 2010-09-20 03:18:53 +00:00
Petr Skoda
2396a414e8 MDL-23927 improved guest handling 2010-08-25 08:58:22 +00:00
Sam Hemelryk
c203a277e4 calendar MDL-23932 Defaults now set when initialising a calendar_event object 2010-08-25 06:08:16 +00:00
Petr Skoda
ae53bd1da3 MDL-23616 fixed deleting of events 2010-08-02 12:49:08 +00:00
Rossiani Wijaya
43c90b9b0f MDL-22952 (bulk commit) - Fixed bidirectional page problems (right to left) 2010-07-13 09:01:58 +00:00
Petr Skoda
20e5da7d91 MDL-19211 back to the old text format preferences logic + minor refactoring and improvements 2010-07-10 12:12:59 +00:00
Sam Hemelryk
33e48a1a20 calendar MDL-23084 Fixed calendar overlay bug preventing events from being clicked on and rewrote as YUI3 module 2010-07-09 04:22:26 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Sam Hemelryk
36dc3b7104 calendar MDL-22887 Output is now through a renderer, all pages have navigation, and now uses true pretend blocks. 2010-06-22 04:03:44 +00:00
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
Sam Hemelryk
438e4addd3 calendar MDL-22559 Fixed bug whereby calendar update was assuming a full event was being provided 2010-05-27 02:13:18 +00:00
Sam Hemelryk
6605ff8cda themes MDL-22358 Renamed sideblock class to block 2010-05-06 06:16:07 +00:00
David Mudrak
a48bf07993 Fixing Chat event type + handling illegal eventtype displaying
Without this fix, chat created events with eventtype set to boolean.
Such value was then used by calendar block to get a string, which
now produces coding_exception.
2010-04-30 10:53:39 +00:00
Petr Skoda
0a933ae65d MDL-22050 removing moodle/langconfig duplicates
AMOS BEGIN
  MOV [firstdayofweek,core],[firstdayofweek,core_langconfig]
AMOS END
2010-04-10 17:44:05 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Sam Hemelryk
90723839ca themes MDL-21862 Implements base theme and standard theme.
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
  * Plugin CSS has been pushed back into the plugin directories as styles.css files.
  * Install_print_header has been corrected.
  * Redundant or deprecated rules have been removed.
  * Several minor class changes throughout Moodle.
  * CSS is now single line rules not multiline indented.
  * Installs with theme=standardold automatically switch to standard.
  * body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
  * There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
  * I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
Petr Skoda
4aea3cc7cd MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout 2010-02-11 13:27:02 +00:00
Sam Hemelryk
53fc3e7040 javascript MDL-21503 Removed use of the global Y from dock, navigation and calendar
Also included in this patch the ability to switch the dock from the left to right side of the screen.
Altered js_object_init to deliver Y like js_init_call does now.
Several minor tweaks made to the dock and navigation as well at the same time.
2010-02-05 06:36:09 +00:00
Sam Hemelryk
bdbae764d9 calendar MDL-21240 Converted calendar JS to YUI3 module 2010-01-22 03:06:01 +00:00
Sam Hemelryk
a993ab8ef0 calendar MDL-21355 Convert calendar JS to YUI 3 2010-01-18 02:45:07 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Petr Skoda
1ba862ec6e MDL-21198 going back to the original spacer syntax, image component improvements, plus some regression fixes 2009-12-27 23:31:46 +00:00
Petr Skoda
b5d0cafc6f MDL-20787 final switch to new $OUTPUT->pix_url() - yay! 2009-12-16 21:50:45 +00:00
Petr Skoda
683c01d2c8 MDL-20787 removed mod_icon_url() completely 2009-12-16 20:30:24 +00:00
Petr Skoda
f44b10ed93 MDL-21139 replace all yui functions/methods with yui2 to make room for yui3 2009-12-16 20:25:14 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Sam Hemelryk
fd699564d4 calendar MDL-20601 Added support to static load method for objects 2009-12-03 03:59:22 +00:00
Sam Hemelryk
ddaff608dc calendar MDL-19793 Fixed minor regressions caused by recent updates 2009-11-20 06:36:11 +00:00
Petr Skoda
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
Sam Hemelryk
8bdc9cacad files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.
2009-11-04 06:14:06 +00:00