387 Commits

Author SHA1 Message Date
mjollnir_
27dda89ffe MDL-15666 - changes to the portfolio caller tests
now that i changed the api again (adding load_data), rather than add a call to it to
all the callers, i abstracted the caller setup into the parent class (portfoliolib_test)
2008-09-11 13:47:40 +00:00
mjollnir_
0d06b6fda7 MDL-16423 - big refactor of the way callers interact with the portfolio code
added two new contract methods to the caller class, load_data and expected_callbackargs (static)
this means that the base class is the only place that needs a constructor
and that no data loading happens in the constructor
this in turn means we can check callback argument validity much more lightly

also completely remoted portfolio_add_button function and replaced with a class
as the argument list was getting out of control.  it's now much more readable.
2008-09-11 13:42:58 +00:00
nicolasconnault
74cd7b9303 MDL-15666 chat module caller tests and generation 2008-09-09 14:04:29 +00:00
mjollnir_
d8606b2078 MDL-15833 - make the portfolio callers use the helper functions to detect expected time. 2008-09-09 09:32:16 +00:00
mjollnir_
ea0de12f10 MDL-16360 - added support for mime-style subformat detection for portfolio supported formats
works well with flickr plugin (tested by uploading an image as a forum attachment and being offered flickr plugin but not for normal attachments)
2008-09-05 17:07:22 +00:00
dongsheng
f1644b99f1 "MDL-13413, chat transcripts donot include instructor when using separate groups" 2008-08-27 02:21:11 +00:00
mjollnir_
3403520190 MDL-16134 - exception handling in portfolio code 2008-08-19 14:20:32 +00:00
mjollnir_
47cfd33174 MDL-15758 - chat module portfolio export 2008-08-18 10:16:56 +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
skodak
8eb1d25ffe MDL-11844 new option for conditional stripping of tags from activity names 2008-07-26 15:15:25 +00:00
dongsheng
0d864c8d16 MDL-14650, fix incorrect use of && 2008-07-25 03:09:47 +00:00
skodak
f432bebff2 MDL-11421 context levels fixed in capability definitions, sorting of caps by name, plug-ins may report used core caps, fixed some risks; merged from MOODLE_19_STABLE 2008-07-24 21:59:13 +00:00
dongsheng
6346dda358 MDL-14650, fix the problem of upgrade script 2008-07-24 05:28:56 +00:00
dongsheng
6e5f40eadc MDL-14650, create a new table chat_messages_current to save latest 8 hours messages, could improve performance. The expired message will be deleted in chat_cron function 2008-07-24 03:15: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
dongsheng
f836189a70 "MDL-8642, see tracker, merged from MOODLE_19_STABLE" 2008-06-25 02:18:55 +00:00
dongsheng
4ee00a30cf "MDL-8642, setting of auto scrolling, merged from MOODLE_19_STABLE" 2008-06-18 04:06:11 +00:00
dongsheng
5537bb044b "MDL-12304, fix double text merged from MOODLE_19_STABLE" 2008-06-18 03:18:22 +00:00
dongsheng
6089d5a075 "MDL-15278, see tracker" 2008-06-18 01:45:01 +00:00
skodak
633c33410f MDL-14129 fixed undefined $i variable 2008-06-15 21:27:16 +00:00
dongsheng
5c2f6a7fb1 "MDL-14129, fix print_error" 2008-06-15 12:24:36 +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
dongsheng
282fd2b21a "MDL-12304, fix double text, merged from MOODLE_18_STABLE" 2008-06-10 05:17:49 +00:00
skodak
96d1387809 MDL-14679 towards adodb separation 2008-06-09 18:48:28 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
d3bf6f92f6 MDL-15104 chat dml conversion 2008-06-08 15:49:36 +00:00
dongsheng
2f52a088bf "MDL-14129, fix print_error" 2008-06-06 08:46:48 +00:00
skodak
cd655b33f9 MDL-15095 towards restore lib dml conversion 2008-06-03 23:35:50 +00:00
skodak
9db7dab2ca MDL-15095 towards restore lib dml conversion 2008-06-03 22:36:54 +00:00
skodak
c18269c7e5 MDL-14679 towards modform conversion 2008-06-01 21:36:11 +00:00
skodak
7cac0c4b2b MDL-14679 fixed references to mod.html 2008-06-01 19:09:13 +00:00
skodak
219f652b91 MDL-14679 upgrade $DB conversion 2008-05-31 18:05:42 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
dongsheng
64fcd675f7 "MDL-7362, allow_call_time_pass_reference setting may cause bug, see tracker, merged from MOODLE_19_STABLE, thanks James" 2008-05-01 08:32:04 +00:00
dongsheng
1a084d1541 "MDL-10944, fix undefined property in chatd.php, merged from MOODLE_19_STABLE" 2008-05-01 06:55:07 +00:00
dongsheng
083acd24db "MDL-14465, add a setfocus() function, see tracker, thanks, Ralf" 2008-04-30 03:42:24 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
moodler
99058191c6 Merged version bumps for release 1.9 2008-03-03 11:49:34 +00:00
skodak
fd4d41c3b5 MDL-12945 fixed sql purity to make pg happy, fixed bug in user list of active chats; merged from MOODLE_19_STABLE 2008-02-14 16:12:53 +00:00
skodak
65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
skodak
1f106b3f1d MDL-13155 once more - reverting mod/xx/index.php to use get_all_instances_in_courses() again, should be now nearly the same as in 1.8.x ;-) merged from MOODLE_19_STABLE 2008-02-05 21:40:21 +00:00
skodak
76cbde4138 MDL-12945 changing get_fast_modinfo() section property to sectionnum to prevent conflicts with real cm->section; full recent activity speedup when printing user pictures in forum; merged from MOODLE_19_STABLE 2008-02-01 14:10:49 +00:00
skodak
52ae8c057a MDL-12945 fixing mod indexes broken by previous commit; merged from MOODLE_19_STABLE 2008-02-01 09:09:04 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
ericmerrill
817fb4cb01 MDL-11674
Changing back an issue that could cause dataloss.
2008-01-09 02:13:52 +00:00
martinlanghoff
7ce4ce0aa4 mod/chat:chat_cron() - IS NOT NULL is better - MDL-11674 2008-01-08 22:36:17 +00:00
martinlanghoff
319038c39d mod/chat:chat_cron() delete stale chat messages with a single query, fast, and portable too! MDL-11674 2008-01-08 20:58:24 +00:00
poltawski
3225acd58b MDL-12734, fix calling print_header() twice
merged from MOODLE_19_STABLE
2007-12-26 20:19:36 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
skodak
4f1dc7ea98 MDL-12600 , MDL-11191 - rewritten permission tests to be xhtml strict compatible; merged from MOODLE_19_STABLE 2007-12-16 13:57:21 +00:00