752 Commits

Author SHA1 Message Date
skodak
214b1cf7a8 MDL-17428 Do not include in the middle of file in global scope 2008-11-27 22:46:34 +00:00
tjhunt
9101efd312 cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
sam_marshall
9bef587a84 MDL-17164: Glossary autolinking doesn't work for entries similar to current entry 2008-11-12 17:00:04 +00:00
sam_marshall
4e489ae92e MDL-17164: Glossary autolinking doesn't work for entries similar to current entry 2008-11-12 17:00:04 +00:00
stronk7
80ddc208b7 MDL-17171 Glossary: Correct breadcrumb when exporting glossary. Merged from 19_STABLE 2008-11-09 22:57:59 +00:00
skodak
655bbf511d MDL-16669 dml: improved sql_substring(), added unit tests 2008-10-28 15:11:10 +00:00
mjollnir_
6be1dcae99 MDL-16587 bit of a large refactor of the portfolio formats. still more to come. 2008-10-11 17:33:20 +00:00
skodak
7f46236fcd MDL-16765 - undoing MDL-14303 and adding different fix; merged from MOODLE_19_STABLE 2008-10-08 07:16:12 +00:00
tjhunt
16851b22ad MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html 2008-09-25 10:04:01 +00:00
nicolasconnault
c7d306e168 MDL-15666 MDL-16486 2008-09-17 14:31:30 +00:00
mjollnir_
ad1cfbb17e glossary portfolio caller - fixing tiny bug - incorrectly named string key (thanks dan for finding it!) 2008-09-16 19:42:00 +00:00
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