Commit graph

812 commits

Author SHA1 Message Date
jerome
cc89b9905c database: MDL-16999 clean SQL from {$CFG->prefix} 2008-11-21 08:16:21 +00:00
jerome
c861f079e4 database: MDL-16999 fix "Required Entries" and "Required Entries before viewing" settings. Display a warning message during upgrade process if the fields were set previously (partially merged from 1.9) 2008-11-21 07:19:00 +00:00
stronk7
32d799c683 MDL-15425 Coding style: Change some logical operator uses. Thanks Robert! Merged from 19_STABLE 2008-11-18 00:10:13 +00:00
mjollnir_
62e7195480 MDL-16587 portfolio export formats - support straight file export not just RICHHTML (html + attachments) , it doesn't make sense in things like box.net 2008-11-11 19:54:50 +00:00
skodak
cbc08f3bfc MDL-17130 dml: eliminated $CFG->dbfamily 2008-11-05 00:12:30 +00:00
robertall
d53e5129f8 [MDL-15425] Search Filters are too persistant. Merged from MOODLE_19_STABLE. 2008-10-24 20:17: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
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
skodak
db4a3d8ffe MDL-16666 removing all use_html_editor() instances 2008-09-24 21:03:36 +00:00
nicolasconnault
c7d306e168 MDL-15666 MDL-16486 2008-09-17 14:31:30 +00:00
mjollnir_
276378e6b0 MDL-15777 - updated data file and picture field types to export files using file api.
There's still something about this I don't like - documented in  MDL-16493 and code
2008-09-16 15:48:24 +00:00
mjollnir_
f1068f79c8 MDL-15758 - adding back in changes to default presets for imagegallery for export placeholder 2008-09-16 15:46:20 +00:00
nicolasconnault
b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +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
skodak
8429163db9 MDL-16493 file and picture element migrated; waiting for file picker to mature, presets not finished yet 2008-09-14 08:22: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
nicolasconnault
f968a736cf MDL-15666 database module caller unit test working (get_sha1 only) 2008-09-09 12:49:32 +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
nicolasconnault
d5849d59ae MDL-15666 Added database and forum caller unit tests 2008-09-09 09:17:49 +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
mjollnir_
988fc25546 MDL-14591 - added some debugging to something that isn't implemented to make sure it gets fixed later 2008-09-02 16:37:37 +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
skodak
870707a47e MDL-16024 adding spam risk to database approve capability; merged from MOODLE_19_STABLE 2008-08-17 22:48:51 +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
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_
8185aeb609 MDL-15758 - added export to portfolio for single database entry
still to do - files stuff for entries (rest of module not converted)
2008-08-14 10:37:40 +00:00
mjollnir_
7cbe6eed1f MDL-15768 - bump mod/data version and requires properly - requires portfolio code 2008-08-11 14:44:56 +00:00
mjollnir_
adbf3cd005 MDL-15768 - further capability check in mod/data portfolio export 2008-08-11 14:14:39 +00:00
mjollnir_
07028cd91f MDL-15768 - add new capabilities to mod/data for portfolio export 2008-08-11 13:45:41 +00:00
mjollnir_
1bf8c6b2cb MDL-15777 - whole database module export rejigged to use files api.
disabled ods and excel export for now until those libraries work with files api.
reverted a previous patch I had in this area.
2008-08-11 10:40:04 +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_
0266393737 MDL-15934 - migrate mod/data to not store giant things in session 2008-08-05 13:31:14 +00:00
mjollnir_
18fbaf2e28 added a todo about converting to files api 2008-08-04 12:40:15 +00:00
mjollnir_
ecd06483a5 MDL-15758 - add export whole database activity to portfolio (still one entry to do) 2008-08-01 12:30:26 +00:00
mjollnir_
209881523a MDL-15894 - move data_export_* functions to mod/data/lib.php for re-use 2008-07-31 12:21:25 +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
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
moodler
4ea69f88f3 MDL-15702 SQL efficiency fix Merged from 1.9 2008-07-18 07:52:36 +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
robertall
30f54a9c16 [MDL-15426] Distinguish latlong value being zero from no value. Merged from MOODLE_19_STABLE. 2008-07-02 12:53:26 +00:00
robertall
0721309f29 [MDL-15423] Remove useless latlong formatting operations. Merged from MOODLE_19_STABLE. 2008-06-26 08:07:05 +00:00
robertall
9c1ae6fc65 [MDL-14440] Show latlong field at list and single view in a prettier way. Merged from MOODLE_19_STABLE. 2008-06-26 06:15:55 +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
robertall
674b6ace0f [MDL-14129] s/invild/invalid/ from previous commit 2008-06-25 17:31:23 +00:00
dongsheng
29c1bb159a "MDL-14129, fix print_error" 2008-06-25 14:52:39 +00:00
robertall
242b238c2a [MDL-15298] Avoid printing a warning if debugging is enabled 2008-06-25 10:20:01 +00:00