741 Commits

Author SHA1 Message Date
nicolasconnault
795ad63034 MDL-15666 Testing a matrix of portfolio caller/plugin. Starting the new cleanup method in unit tests (max id) 2008-09-15 13:18:44 +00:00
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
mjollnir_
d8606b2078 MDL-15833 - make the portfolio callers use the helper functions to detect expected time. 2008-09-09 09:32:16 +00:00
stronk7
46712419fb Fix regression introduced by MDL-12029. Concepts must not be linked by filters. MDL-16372 ; merged from 19_STABLE 2008-09-08 23:06:16 +00:00
skodak
aa9bcfcd50 MDL-16075 adding missing lang strings 2008-09-07 23:20:51 +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
nicolasconnault
77ac22a5b6 MDL-15666 sha1 tests for glossary callers. Entry caller test currently fails. 2008-09-04 11:44:48 +00:00
skodak
fa686bc4e0 MDL-16220 allow deleting of all files attached to context 2008-08-27 11:46:48 +00:00
nicolasconnault
3e10224d1f MDL-16176 2008-08-26 08:21:52 +00:00
mjollnir_
313f21cef0 MDL-14591 - adding my name next to todos so I can find them later 2008-08-19 14:30:49 +00:00
mjollnir_
3403520190 MDL-16134 - exception handling in portfolio code 2008-08-19 14:20:32 +00:00
mjollnir_
86a3996d3d MDL-15768 - roles in glossary 2008-08-19 09:20:54 +00:00
skodak
6b04ddc500 MDL-16075, MDL-16072, MDL-15094 fixing last commit, missed version bumps in upgrade.php 2008-08-18 22:36:33 +00:00
skodak
c48068f87d MDL-16075 fixed pg problem 2008-08-18 22:33:36 +00:00
skodak
0d18a9d6d7 MDL-16075 File storage conversion of Glossary 2008-08-17 21:38:47 +00:00
skodak
49bcd7372b MDL-16075 File storage conversion of Glossary 2008-08-17 21:27:43 +00:00
skodak
272c2c92a1 MDL-16075 fixed glossary export regression 2008-08-17 11:18:21 +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
jamiesensei
585fb1f447 Fixing a couple of typos introduced likely at the time of dml conversion. 2008-08-15 09:21:33 +00:00
mjollnir_
866d543fde MDL-15758 - slight change to the portfolio_add_button contract to be more flexible. 2008-08-14 16:01:12 +00:00
mjollnir_
d67bfc32a1 MDL-15777 - updated most of the portfolio code to use files api.
Not done:

- forum (the rest of the module isn't using files api yet)
- database mod (touches other parts of the code (ods and excel libs)
- portfolio download plugin (needs discussion with petr about userfiles)

all of these have been disabled in the meantime.
2008-08-09 14:24:58 +00:00
mjollnir_
84a449853f MDL-15777 - move all portfolio storage to portfolio_tempdata rather than session.
This allows us to always have a unique id for a portfolio export which can be used as itemid for files api.
Also it makes the session smaller :)
2008-08-06 15:27:42 +00:00
mjollnir_
49a1255298 MDL-15758 - export single glossary entry mostly done. 2008-08-05 15:40:36 +00:00
mjollnir_
6c0a9413d7 MDL-15758 - whole glossary (csv) export to portfolio 2008-08-05 13:26:17 +00:00
sam_marshall
18a2a0cb3a MDL-15498: Completion: added support for basic completion-on-view and on grade (where applicable) to assignment, choice, data, glossary, lesson, and resource. 2008-07-29 17:22:47 +00:00
stronk7
4ffc25ce55 Fix A tag regex searching. MDL-15842 ; merged from 19_STABLE 2008-07-26 22:13:39 +00:00
skodak
8eb1d25ffe MDL-11844 new option for conditional stripping of tags from activity names 2008-07-26 15:15:25 +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
scyrma
5a254a2938 MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9) 2008-07-10 09:55:11 +00:00
skodak
f62fdb21d7 MDL-15455 fixed incomplete dml query conversion 2008-06-28 11:10:33 +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
245ac55791 MDL-14679 last forgotten bits of dml conversion 2008-06-09 19:48:24 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
ae8c356614 MDL-15109 glossary dml conversion 2008-06-08 10:43:39 +00:00
skodak
9dd9cc2312 fixed syntax error 2008-06-06 07:08:18 +00:00
dongsheng
8a274bcde4 "MDL-14129, fix print_error" 2008-06-06 05:50:45 +00:00
dongsheng
5973a4c49e "MDL-14129, fix print_error" 2008-06-06 03:15:53 +00:00
dongsheng
4bc0b58e66 "MDL-14129, fix print_error" 2008-06-05 08:42:35 +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
579d45b434 MDL-14679 converted some get courses 2008-06-01 18:12:24 +00:00
skodak
3264868249 MDL-14679 removed magic quotes from forms validation() method, fixed some minor problems 2008-06-01 17:53:25 +00:00
skodak
c6307ef24d MDL-14679 removed all instances of get_records_sql_menu() 2008-06-01 16:08:16 +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
stronk7
2d1e097157 Glossary concepts must support multilang filter (all filters, in fact).
And accesible alt texts for action buttons too. MDL-14687 ; merged from 19_STABLE
2008-05-05 00:09:58 +00:00