9489 Commits

Author SHA1 Message Date
Petr Skoda
20e0ad6cde MDL-22015 more advances in frankenstyle usage needed for new amos_string_manager - fixed configurable admin dir 2010-04-01 20:56:08 +00:00
Petr Skoda
88623be168 MDL-22015 more advances in frankenstyle usage needed for new amos_string_manager 2010-04-01 20:54:27 +00:00
Petr Skoda
3dcdf440d7 MDL-21657 frankenstyle fix for incorrect rating plurals 2010-04-01 20:33:15 +00:00
David Mudrak
4d84db2725 Fixed incorrect getting of Exception message 2010-04-01 19:06:02 +00:00
Petr Skoda
ef330d9533 MDL-22015 AMOS - making room for new string manager 2010-04-01 18:50:28 +00:00
Tim Hunt
9baf267016 tablelib: MDL-22011 refactor flexible_table::get_sql_sort into several smaller methods.
Also, change assignemnt to use a separate static method, rather than overloading get_sql_sort.
2010-04-01 13:09:24 +00:00
Petr Skoda
62cebcc7a3 fixed code completion 2010-04-01 12:19:37 +00:00
Tim Hunt
26e3ae92f2 grade import: MDL-21987 Problem with repeated imports of the same grade.
The thanks to Petr (skodak).

Here is what I learned while working on this:

1. when explicitly setting the final grade (manual edit or import),
   it is important that ->overridden gets set, and it should get set
   to the time when the override was done.

2. but only on certainly sorts of grade item, and the condition for
   setting the flag is different when it is the feedback being changed
   or the grade being changed, hence the two different tests
   is_overridable_item and is_overridable_item_feedback.

3. but, if the grade and feedback is not actually changed, then the ->overridden
   timestamp should not be changed. (That was the bit that was buggy.)
2010-03-31 13:50:56 +00:00
Dongsheng Cai
34e20eb422 "MDL-19118, improve comments management" 2010-03-31 09:53:05 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Dongsheng Cai
d1d4813ff2 "MDL-21146, improve file license code" 2010-03-31 03:08:05 +00:00
Petr Skoda
b64b465ca1 MDL-21146 adding missing license install code 2010-03-30 19:59:54 +00:00
Petr Skoda
81634f036d MDL-21993 somebody needs to fix the chicken-egg mnet problem during install/upgrade 2010-03-30 19:51:34 +00:00
David Mudrak
5f248e13fe MDL-21694 Reverted the order of the locations to search for strings
This reverts commit 57d864475860cd437a2aa1a1cef0059df53f9594.
2010-03-29 22:21:34 +00:00
David Mudrak
dee576ebba MDL-21694 Moving editors strings into plugin space 2010-03-29 20:47:57 +00:00
David Mudrak
e6cf48d42a MDL-21694 re-enabling all get_string() performance tests 2010-03-29 15:20:40 +00:00
David Mudrak
57d8644758 MDL-21694 Changed the order of the locations to search for strings 2010-03-29 15:19:54 +00:00
Dongsheng Cai
1dce6261b7 "MDL-21146, adding file license support to repository api, first commit" 2010-03-29 03:39:08 +00:00
Petr Skoda
1adaa40466 MDL-21938 support for json renderer and error handler 2010-03-28 09:05:47 +00:00
David Mudrak
a0b7200d9c Fixing typos in DB persistant connection setting 2010-03-25 11:17:01 +00:00
Dongsheng Cai
b5e9bf485f "MDL-21021, fixed private file url" 2010-03-25 07:22:26 +00:00
Sam Hemelryk
90723839ca themes MDL-21862 Implements base theme and standard theme.
Very big theme changes, standardold theme has been split into two themes base and standard. Base theme contains only CSS that is absolutly required (e.g. layout, white space rules, specific widths) and standard (which now looks like standardwhite) contains all the frills.
The following noteable changes have also been made:
  * Plugin CSS has been pushed back into the plugin directories as styles.css files.
  * Install_print_header has been corrected.
  * Redundant or deprecated rules have been removed.
  * Several minor class changes throughout Moodle.
  * CSS is now single line rules not multiline indented.
  * Installs with theme=standardold automatically switch to standard.
  * body classes / id now have prefixes to make it clearer what they are and avoid conflicts.
Also worth noting:
  * There is still alot of tweaking that is required to get everything looking as it is supposed to, please be patient or better yet help out.
  * I am currently working on the documentation for the themes system... it will be here soon.
2010-03-25 06:38:21 +00:00
David Mudrak
49da4a5fa8 MDL-18903 All outgoing emails can be diverted into a single address
This is highly useful when developing or debugging any emailing feature.
I am going to backport this after the end of the current Ice Age.
2010-03-25 01:29:02 +00:00
Petr Skoda
1209cb5c88 fixed regression in recent commit - context path 2010-03-24 13:10:10 +00:00
Dongsheng Cai
137bbbc620 "MDL-21906, disable filepicker for editor during installation" 2010-03-24 06:38:10 +00:00
Sam Hemelryk
230ec40140 output MDL-20204 Fixed regression incorrect param type 2010-03-24 02:35:16 +00:00
Eloy Lafuente
3d732d8487 NOBUG: Now editorlib is using PEAR (forms) stuff. Move the include
path definition before including all the Moodle stuff.
2010-03-23 11:14:26 +00:00
Dongsheng Cai
42f57b18b8 "MDL-16639, added static function to read editor option names" 2010-03-23 08:53:47 +00:00
Dongsheng Cai
7a856a9330 "MDL-16639, enable spellchecker plugin, and added config pages" 2010-03-23 08:47:05 +00:00
Dongsheng Cai
3ae5c7603f "MDL-16639, checked new spellchecker plugin for tinymce" 2010-03-23 08:28:56 +00:00
Eloy Lafuente
cd6d352396 NOBUG: Normalise generated param names so we can safely use sql_xxx() helper functions everywhere. 2010-03-22 18:06:59 +00:00
Eloy Lafuente
438d73f84f NOBUG: Handle duplicated NAMED params in set_field() uses 2010-03-22 17:00:46 +00:00
Eloy Lafuente
bc4fd49d29 NOBUG: Adding 3 new tests that reveal 2 different problems with NAMED params 2010-03-22 14:41:57 +00:00
Jamie Pratt
2822f40ae2 MDL-21894 "move functionality to create a token into function in externallib.php so it can be used when creating tokens for embedded applications" also fixed MDL-21893 "Errors in code for checking capability when creating token for service with requiredcapability" which I came across while re 2010-03-22 14:20:18 +00:00
Eloy Lafuente
a1656ddf79 MDL-21874 - phisics are physics :-P 2010-03-22 09:27:35 +00:00
Eloy Lafuente
90d07fa496 MDL-21874 - ddl object names cache. Don't use cache keys anymore. Leads to conflicts. 2010-03-22 09:24:57 +00:00
David Mudrak
0648ead4d4 MDL-21652 removed html_table property 'style'
I copied this initially from the legacy html_component during the refactoring and forgot to check
if it is actually used. Credit goes to Sam H. for spotting it.
2010-03-22 08:16:30 +00:00
Sam Hemelryk
0b29477be9 navigation MDL-21565 Update this xxx is now automatically added to the nav for all modules by default and is renamed to settings as that is what was being used in the tabs system presently anyway.
The following minor changes were also made:
* Added roles links to the navigation automatically
* Handling of block context for settings navigation
* Tidied up init code for settings navigation
2010-03-22 03:04:00 +00:00
Andrew Davis
67e4713ca7 rating MDL-21657 changes based on Petr's feedback 2010-03-22 02:59:06 +00:00
Dan Marsden
75ba5fe41a Events MDL-16203 fire events when a module is added/updated/deleted 2010-03-22 02:56:45 +00:00
David Mudrak
e16f75bde3 Unit test did not preserve session 2010-03-21 19:44:57 +00:00
Eloy Lafuente
2ab686ee71 MDL-21868 mssql generator - improve integer meta type detection + test 2010-03-21 19:36:50 +00:00
Penny Leach
a1e1af19ef portfolio MDL-16124 improved the portfolio_formats conflict resolution 2010-03-21 17:19:56 +00:00
Penny Leach
29fc57afa5 portfolio/leap2a MDL-21030 fixed a syntax problem in category schemes 2010-03-21 17:19:42 +00:00
Dan Poltawski
ed28d08878 moodlelib MDL-20110 - allow remoteip_in_list to return true for cli access
Previously it always failed and restricted access for users blocking ips and
running cron from cli
2010-03-21 15:03:26 +00:00
Dan Poltawski
cf8af57ce9 googledocs MDL-21881 - restore icons to repo plugin 2010-03-21 13:32:43 +00:00
David Mudrak
e126c0ccee MDL-21652 Fixed forgotten <th> scope handling 2010-03-21 10:28:52 +00:00
Petr Skoda
b975126adb DL-21021 marking private_files block as standard plugin 2010-03-21 10:25:15 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00