271 Commits

Author SHA1 Message Date
Rossiani Wijaya
24b6984613 MDL-30368 box.net plugins: add richhtml format as part of box.net supported formats 2011-11-28 10:57:03 +08:00
James Brisland
a8b2690bff MDL-28620 - Removed admin/generator.php include as it causes issues if this script is included from any other script that is running in the command line 2011-08-05 16:09:30 +01:00
Sam Hemelryk
34b9d4d4a5 portfolio MDL-23022 Fixed navigation when cancelling a portfolio export 2011-03-18 16:19:59 +08:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Eloy Lafuente (stronk7)
ec58c9ddf0 Merge branch 'MDL-26537-flickr-callback-url' of git://github.com/mudrd8mz/moodle 2011-02-22 16:23:08 +01:00
Helen Foster
6cb66ae00e MDL-21250 Get rid of capitalized words in titles 2011-02-22 14:15:58 +01:00
David Mudrak
dd2645d304 MDL-26537 Portfolio: Flickr setup instruction contains correct callback URL
There was a bug due to the code copied from portfolio_boxnet plugin.
2011-02-21 16:00:12 +01:00
David Mudrak
ae440dec90 Fixed string typo 2010-11-19 13:28:56 +00:00
David Mudrak
eefb011d8a Box.net portfolio setup instructions updated 2010-11-11 13:33:37 +00:00
David Mudrak
76116d2e16 MDL-24693 Flickr.com portfolio plugin fixed 2010-11-11 13:33:13 +00:00
Sam Marshall
2380ac57d6 Unit tests MDL-24993 Disable obsolete portfolio tests until such time as somebody can fix them 2010-11-10 12:06:24 +00:00
Sam Marshall
702a206cd3 Unit tests MDL-24993 Disable obsolete portfolio tests until such time as somebody can fix them 2010-11-09 17:09:13 +00:00
Helen Foster
73ecfcb5cc MDL-21395 rewording help string 2010-11-04 17:48:43 +00:00
Penny Leach
ab23e6e2f5 portfolio MDL-24263 removing conditional use of $this inside a static method 2010-09-18 08:42:44 +00:00
Petr Skoda
650462dfac MDL-24211 events subsystem cleanup and improvements
* handlers can be defined as internal or external
* external handlers are not called instantly when inside DB transaction
* code cleanup
* more robust detection of broken handlers
* refixed unit tests
* removing all pending events from 1.9 - these can not be processed due to encoding changes
* finally using real 'component' in handlers table
2010-09-15 15:55:18 +00:00
Sam Hemelryk
3fad0df680 portfolio MDL-24035 Fixed up context notification 2010-09-13 09:19:11 +00:00
Petr Skoda
ef14c1e724 MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins 2010-09-05 20:36:18 +00:00
David Mudrak
cde9bee874 MDL-21695 Got rid of the last call of setHelpButton() 2010-08-16 14:32:43 +00:00
Dongsheng Cai
afba32ddd5 "MDL-23690, fixed set_context error, credits to Penny" 2010-08-06 09:38:36 +00:00
Sam Hemelryk
f84a434909 portfolio MDL-23022 Added missing blocks to portfolio add page 2010-07-23 06:52:36 +00:00
Penny Leach
834ad953f5 portfolio MDL-23235 removed spurious id in a moodle url for portfoliologs and fixed include 2010-07-21 20:16:49 +00:00
Petr Skoda
5d8c99a3e9 MDL-19698 deprecated assign new by ref in portfolio 2010-07-19 08:34:53 +00:00
Dongsheng Cai
13ce122930 MDL-23142, Portfolio Export should require mod/assignment/lib.php thanks to Dan Marsden, and remove stored_file.php from portfolio 2010-07-08 04:49:46 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Martin Dougiamas
6902335084 MDL-22813 Credit to Mark Nelson of Pukunui Technologies - tidied up the portfolio management even further. Thanks!! 2010-07-01 03:48:18 +00:00
Martin Dougiamas
049aa0f10e MDL-22813 Fixing box.net developer page 2010-06-28 03:04:29 +00:00
David Mudrak
f675815e97 Portfolio plugins explicitly requires parent library with superclass definition
I have discovered a bug with GoogleDocs portfolio in events. An event
handler was defined in googledocs/lib.php and so the cron included just
this library. But the inclusion failed because the superclass
portfolio_plugin_push_base was not known to cron.

IMHO it is generally good habit to require_once the file which defines
the parent classes.
2010-06-27 14:46:15 +00:00
Penny Leach
11fbe3fc79 portfolio api MDL-14591 fixed some get_string issues and tiny usability fixes 2010-05-02 18:01:05 +00:00
Penny Leach
d234faf3a4 mnet MDL-22267 updated mnet_server_faultand mnet_server_exception string handling
This is so that mnet_server_fault doesn't have to call get_string (in
case of coding exception)
2010-05-01 15:53:45 +00:00
Penny Leach
9c8941e95b mnet MDL-16762 Changed another 'Moodle Network' to MNet in mahara portfolio plugin 2010-05-01 14:41:00 +00:00
Penny Leach
c5b149f89b portfolio MDL-22264 add leap2a option for the mahara plugin 2010-05-01 14:40:50 +00:00
Penny Leach
38652d9076 portfolio MDL-22264 made supported_formats non static 2010-05-01 14:40:38 +00:00
David Mudrak
81f5372325 MDL-21694 regression: plugins with lang only
When I re-committed strings from AMOS, I accidently created three plugins with the lang folder only: portfolio/format_leap2a, repository/draft and question/type/datasetdependent. Removing them now.
2010-04-27 11:43:04 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
David Mudrak
c811222ff9 MDL-21694 Moving portfolio strings into plugin space 2010-03-29 20:37:00 +00:00
Penny Leach
155ce5005a portfolio MDL-21030 be more selective about the mahara continue url (depending on the export format) 2010-03-22 09:04:02 +00:00
Penny Leach
14e23787c0 portfolio/mnet/mahara MDL-15362 perform better mnet session handling 2010-03-21 17:20:36 +00:00
Penny Leach
3aa1d76573 portfolio/mahara MDL-21030 finally enable leap2a support 2010-03-21 17:20:25 +00:00
Penny Leach
67aec4423e portfolio MDL-21233 fixed a regression in the change to moodle_url 2010-02-26 15:30:59 +00:00
Penny Leach
677b6321af mnet MDL-21098 fixed quite a few issues in the mnet installer and testclient. Rebumped all plugin versions that use mnet to get the services reinstalled 2010-02-18 04:55:34 +00:00
Petr Skoda
593f9b8703 MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway 2010-02-06 14:45:17 +00:00
Penny Leach
287efec6f6 mnet MDL-21276 get rid of all the $MNET* globals 2010-02-02 03:13:40 +00:00
Penny Leach
4196f8f73a mnet MDL-21473 bumping versions of mnet-enabled plugins again after fixing a mnet installer bug 2010-01-29 04:13:59 +00:00
Penny Leach
b740b3590f mnet MDL-21473 detect services we subscribe to, as well as publish at install/upgrade as well
and add upgrades for all mnet enabled plugins
2010-01-29 02:31:44 +00:00
Penny Leach
d23765c127 mnet MDL-21261 bumping version numbers of plugins that contain mnet definitions to get them installed properly 2010-01-28 20:24:53 +00:00
Penny Leach
d2ac37c1ab mnet MDL-21261 mnet overhaul - adding and removing files I missed in the last big commit 2010-01-28 20:17:12 +00:00
Penny Leach
de260e0f7b mnet MDL-21261 large overhaul. This commit changes:
- The way that mnet rpc functions are registered.  Plugins must now
  create db/mnet.php which is an array, similar to services.php.  This
  *replaces* the old mnet_publishes() functions.  version.php must be
  bumped to trigger this.

- More information about each rpc-available function is stored in the
  database, including the class it belongs to, the file it is found in,
  and whether or not it is static.  Methods that are not static must be
  in a class with a constructor that takes no arguments (this can easily
  be achieved with a small wrapper if necessary)

- The xmlrpc dispatcher has been rewritten to remove all the
  dependencies on hardcoded information about auth,mnet,portfolio and
  repository, and just use the information in the database.

- The old hardcoded hidden mnet/testclient.php has been moved to the
  Admin menu under "Development" and rewritten.

- The xmlrpc introspection method profiling is now using php and zend
  reflection - which is a lot nicer than the old way, which was using a
  php-based php parser.  This fixes some inconsistent handling of
  methods without arguments that were advertising their return value as
  the only method parameter.  While this is a *fix*, it breaks BC
  slightly - the old 1.9 broken mnet/testclient.php will now not work
  properly with 2.0

- Dangerous mode is still supported, but old mod/*/rpclib.php is
  now unsupported, due to the fact that any plugin can export mnet
  functions with db/mnet.php.  This is a slight BC break.

Still TODO:

- TEST TEST TEST
- Document the two small BC breaks in release notes
- Document the contract for db/mnet.php
2010-01-28 05:25:50 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Petr Skoda
3ba60ee16a MDL-21235 new single button rendering 2010-01-14 19:18:04 +00:00