Commit graph

923 commits

Author SHA1 Message Date
Andrew Davis
5db9b119bd rating MDL-21657 moved upgrade of data table to mod/data/ upgrade script and updated install.xml 2010-03-17 05:50:08 +00:00
Andrew Davis
019cf6ce82 rating MDL-21657 added something to upgrade script to ensure there are no problems due to db/install.php having lagged behind unpgrade.php 2010-03-17 02:05:31 +00:00
Andrew Davis
0f51ca7922 rating MDL-21657 changed table from ratings (plural) to rating (singular) 2010-03-16 09:20:23 +00:00
Andrew Davis
54e42e0bf2 rating MDL-21657 Switched from table ratings to rating 2010-03-16 08:57:57 +00:00
Andrew Davis
158cd5d91a rating MDL-21657 Fixed 2 upgrade problems 2010-03-16 06:59:34 +00:00
Andrew Davis
a09aeee47b rating MDL-21657 first commit for rating library 2010-03-16 05:57:51 +00:00
Penny Leach
c9606565ca mnet MDL-17629 fixed regression in fix_mnethostids 2010-02-18 01:17:43 +00:00
Petr Skoda
9a9012dc8f MDL-21590 fixed icons in navigation lib + clean up of modinfo (planned removeal of legacy use of urlencode since 1.8 - we use serialize and utf8 is ok now) 2010-02-14 20:18:10 +00:00
Eloy Lafuente
073d380425 MDL-21407 tex filter - trim leading whitespace from latex preamble. Merged from 19_STABLE 2010-02-03 09:23:37 +00:00
Rossiani Wijaya
d3d393ab37 MDL-21226 - add 'timecreated' column to user table. During an update, the column will copy the value from 'firstaccess' column. if the account never been access, it will be set to current time of the update.
also, modified the files for signup, add new user, and upload user to initialize the value of timecreated field.
2010-02-03 04:25:20 +00:00
Penny Leach
f6852f02d6 mnet MDL-17863 increase length of portno field in the host table (so 443 works)
merged from MOODLE_19_STABLE
2010-02-01 04:19:20 +00:00
Penny Leach
5b7984a57a mnet MDL-21473 add enabled flag on to remote_rpc mnet table 2010-01-29 01:38:47 +00:00
Penny Leach
a6e9dafe4a mnet MDL-21473 add plugintype&name fields to new mnet_remote_rpc table 2010-01-29 01:05:24 +00:00
Penny Leach
8586dbe2a5 mnet MDL-21473 make new tables for remote functions that don't exist locally
I also fixed up two columns in the existing table that had underscores in them
2010-01-28 22:46:34 +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
Penny Leach
7062a798f2 mnet MDL-17629 upgrade to fix referntial integrity in mnet hostids for localhost and all hosts records
merged from MOODLE_19_STABLE
2010-01-25 00:59:22 +00:00
Andrew Davis
c95002a23c grader report MDL-19704 Fixed a problem with my version/upgrade changes 2010-01-12 03:01:40 +00:00
Andrew Davis
82fc44da39 grader report MDL-19704 Fixed a problem with my version/upgrade changes 2010-01-12 02:59:58 +00:00
Andrew Davis
a25bb902f0 grader report MDL-19704 Added ability to hide course and category totals without hiding anything else 2010-01-11 07:35:40 +00:00
jerome mouneyrac
5ae9f53976 webservice MDL-20805 add admin token page. To do: create and delete operation + context support 2010-01-06 09:33:05 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Petr Skoda
2f223338fb MDL-20948 adding todo note 2009-11-24 15:15:03 +00:00
Petr Skoda
57e6ce5eeb MDL-20948 warn admin is main salt not set 2009-11-24 15:02:24 +00:00
Penny Leach
eeb7ccf069 Portfolio MDL-20872 adding some extra metadata into the portfolio log table so we can display nicer information about already completed transfers 2009-11-17 15:59:26 +00:00
Penny Leach
45645bce2a Portfolio MDL-20872 first step - add tempdataid column to portfolio log table 2009-11-17 15:44:21 +00:00
Penelope Leach
e1b9ac3ef8 portfolio - MDL-19356 - add instance column to portfolio_tempdata
this is the first step in moving towards supporting multiple exports per session.

however, some plugins aren't going to be able to support this (eg box.net) so
we add the instance to the tempdata table, so that we can quickly check whether
we have an export of the same *type* of plugin in the session.
2009-11-16 15:02:52 +00:00
Tim Hunt
01de485dde blocks upgrade: MDL-20820 another blocks upgrade problem with sticky blocks
Even though the visible column is going to be dropped,
we need to set it here or the query at line 2087 will fail.

Huge thanks to Oleg Sychev who did all the debugging and testing for this fix.
2009-11-11 17:01:12 +00:00
Tim Hunt
35fb85a7da blocks upgrade: MDL-20820 Problem found and fixed by Oleg Sychev. 2009-11-11 14:50:01 +00:00
Petr Skoda
93d3a2506b MDL-20820 fix for broken sticky block ugprade, credit goes to Oleg Sychev 2009-11-11 14:07:02 +00:00
Petr Skoda
c01678b1d2 MDL-20767 can not use messaging in upgrade and fatal errors in strings 2009-11-07 09:31:20 +00:00
jerome mouneyrac
975341d161 webservice MDL-17135 add timecreated + timemodified fields to the service table and save them in the service form 2009-11-06 07:50:30 +00:00
Petr Skoda
cb8a83bbbd MDL-20601 fixed fatal SQL upgrade error, missing {} around table names 2009-11-04 08:54:07 +00:00
Sam Hemelryk
8bdc9cacad files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.
2009-11-04 06:14:06 +00:00
Petr Skoda
117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
Nicolas Connault
cc82aef6fa MDL-19754 New tables for blog, and upgrade script if needed 2009-10-30 07:24:34 +00:00
Petr Skoda
1942103f8b MDL-17135 external token access support 2009-10-26 19:10:20 +00:00
skodak
88af54fac2 MDL-17135 adding more security restrictions for web service users 2009-10-06 20:47:07 +00:00
tjhunt
bf659cf05e blocks upgrade: MDL-19511 Oops. contextid is unsigned, so use 0 as a dummy value, not -1 2009-10-04 18:20:08 +00:00
nicolasconnault
db8b0c852f MDL-19754 MDL-19676 Reverted blog upgrade code 2009-09-21 03:25:25 +00:00
nicolasconnault
947eaf5781 MDL-19754 MDL-8776 MDL-19678 MDL-20314 Converting old post table to blog_entries, upgrading blog code accordingly, and tags in tag_instance table 2009-09-18 06:57:52 +00:00
skodak
5b9a70a15a MDL-20273 updated web services and functions description tables , includes indexes and foreign keys - oops forgot unique service name index 2009-09-13 20:05:44 +00:00
skodak
5d820ca273 MDL-20273 updated web services and functions description tables , includes indexes and foreign keys 2009-09-13 19:09:16 +00:00
jerome
4313fa89d9 webservice MDL-12886 fix bad database manual generation by xmleditor generation + update web services database 2009-09-11 09:46:01 +00:00
rwijaya
b89e4ad8fa tag logs MDL-19604 Add logging for tag editing/updates, merged from MOODLE19_STABLE 2009-09-09 02:43:43 +00:00
nicolasconnault
1918f7e067 MDL-19676 Blog improvements 2009-09-04 01:07:19 +00:00
nicolasconnault
8f07768f21 MDL-19676 Blog improvements 2009-09-04 00:48:49 +00:00
nicolasconnault
cae837087a MDL-19676 Blog improvements 2009-09-04 00:36:43 +00:00
samhemelryk
7d2a049292 navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
nicolasconnault
aa9a686740 MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:20:12 +00:00
stronk7
35554f5045 NOBUG: Added missing savepoint 2009-08-10 17:41:26 +00:00