Commit graph

51015 commits

Author SHA1 Message Date
AMOS bot
6a8a17eb28 Automatically generated installer lang files 2011-12-07 00:31:18 +00:00
Charles Fulton
c114ff92bb MDL-19147 - forum - Removed single discussions from the pull down menu for moving posts to different forums. 2011-12-07 12:39:56 +13:00
Ankit Kumar Agarwal
a77b489d67 MDL-28588 Removing IN from SQL statments 2011-12-06 11:06:23 +05:30
Ankit Kumar Agarwal
9d7ce57ae3 MDL-28282 Scorm Restorting Groups support in Scorm reports 2011-12-06 09:59:26 +05:30
Sam Hemelryk
28a6552570 MDL-30582 navigation: Fixed regression in generation of front page modules 2011-12-06 13:34:27 +13:00
Sam Hemelryk
6f2d62d022 MDL-27767 install: Shows notifications rather than throwing exceptions when installation encounters unexpected id for guest or admin 2011-12-06 12:22:17 +13:00
Sam Hemelryk
a9cc3954b9 MDL-30222 Fixed home page redirection madness. Thank you Julien Boulen for providing the solution 2011-12-06 12:08:32 +13:00
AMOS bot
2324ddd3d5 Automatically generated installer lang files 2011-12-05 18:36:41 +01:00
Eloy Lafuente (stronk7)
01f7f6f9aa Moodle release 2.2 2011-12-05 12:09:08 +01:00
Eloy Lafuente (stronk7)
3fdc4d0414 Merge branch 'install_master' of git://github.com/amosbot/moodle 2011-12-05 11:55:06 +01:00
Eloy Lafuente (stronk7)
da78edea18 Merge branch 'MDL-30340-sticky-blocks_simplify_frontpage_ui' of git://github.com/stronk7/moodle 2011-12-05 10:57:53 +01:00
Eloy Lafuente (stronk7)
0e92570cca Merge branch 'MDL-30340.sticky_category_blocks' of git://github.com/stronk7/moodle 2011-12-05 10:55:06 +01:00
Martin Dougiamas
192a3380f1 MDL-30340 blocks - fix/restrict frontpage dark magic application
It seems that there are some overlapping constants in the blocks
subsystem that were causing some code, initially planned only
to frontpage, to be executed in other contexts. This commit moves
the bui_editingatfrontpage condition as root condition.
2011-12-05 10:28:54 +01:00
AMOS bot
140fd1e23c Automatically generated installer lang files 2011-12-05 00:30:55 +00:00
Eloy Lafuente (stronk7)
49ae1fdcea MDL-30340 blocks - incorrect option in user profile template and missing lang string in my template 2011-12-05 01:14:19 +01:00
Eloy Lafuente (stronk7)
d4e71a4eed MDL-30340 blocks - hide some redundant pagetypepattern options at front page
The dual front-page/system-wide form to edit blocks can
be reduced asuming that, always:

A) system sets the context to system,
   recursively and with page-type set to "*"
B) frontpage only sets the context to site-course,
   non-recursively and with page-type set to "site-index"
C) frontpage all added sets the context to site-course,
   recursively and with paget-type set to "*"

And that is the change that this patch provides, by:

1) detecting properly if we are editing blocks @ protpage
2) passing that information to the form data processor
3) setting parentcontextid, showinsubcontexts and
   pagetypepattern following the A, B, C immutables above.

Finally, and affecting some other system-wide pages, there
are cases (my, user templates...) having only one possible
pagetypepattern, and it looks badly if the page has subpages, so
for those system-wide cases we are showing exceptionaly the
pagetypepattern statically. This will be revisited once MDL-30574
is decided and implemented, although perhaps it's ok to leave it
as default to places with only one pagetypepattern available.
2011-12-05 01:09:02 +01:00
David Mudrak
9d2c424d83 MDL-30340 Block stickiness computation improvements
This is an attempt to clean up and fix the computation of the block
stickiness. At first, the page pattern can't be ignored because the user
may want to currently try to limit the page pattern. Second, the
site-index pattern can be forced only if the user selected 'Front page
only' as the page context.
2011-12-03 16:57:21 +01:00
David Mudrak
e3cdf40ff5 MDL-30340 Always generate pagetype patterns in the block settings form
This is an alternative solution to MDL-27812. If the current block
instance has page type set to site-index, we need to provide a way how
that page type pattern can be reset back to other value.
2011-12-03 16:57:21 +01:00
David Mudrak
7c600d46aa MDL-30340 Trivial change in PHP doc block - the function does not accept any params 2011-12-03 16:57:21 +01:00
Eloy Lafuente (stronk7)
458fdc5280 MDL-30340 blocks - add back 'any page' support to course cats
Added the * option that is not affected by the 'varying-pagetype'
problem that has been detected and issued @ MDL-30564. So now, it's
(back) possible to define coursecat blocks to be spread over children
coursecats/courses/modules (contexts).
2011-12-03 15:52:24 +01:00
Eloy Lafuente (stronk7)
bf69e333fe Merge branch 'w49_MDL-30538_m22_versions' of git://github.com/skodak/moodle 2011-12-03 12:30:49 +01:00
Eloy Lafuente (stronk7)
b2221ee59c MDL-30340 blocks - avoid lockin'blocks in subcontexts.
Everytime that one block instance is edited @ any subcontext,
guarantee that the 'bring back' pattern (* = all pages) is
available, so the block can be reseted to its original context
2011-12-03 11:21:48 +01:00
Petr Skoda
cd2f3c17f9 MDL-30538 add missing course format versions and fix email filter file name typo 2011-12-03 08:40:53 +01:00
AMOS bot
53581c7689 Automatically generated installer lang files 2011-12-02 00:30:48 +00:00
Sam Hemelryk
50d15ca47f MDL-30543 navigation: Added missing course variable for user context 2011-12-02 12:31:12 +13:00
Eloy Lafuente (stronk7)
d0e016f53f Moodle release 2.2rc1 2011-12-01 12:12:21 +01:00
Eloy Lafuente (stronk7)
6451a6b15c Merge branch 'install_master' of git://github.com/amosbot/moodle 2011-12-01 12:04:08 +01:00
Eloy Lafuente (stronk7)
773d1ec56b Merge branch 'MDL-30544_disable_notifications' of git://github.com/andyjdavis/moodle 2011-12-01 10:38:40 +01:00
Andrew Davis
f6ce2eb25a MDL-30544 message: prevented the temporarily disable notifications checkbox from erasing your messaging preferences 2011-12-01 16:54:48 +08:00
Jerome Mouneyrac
3b40f3b1a7 MDL-30496 fix upload max size issue when server limit is set + return some kind of json error object for filenameexists and oversizedfile errors 2011-12-01 15:13:52 +08:00
Sam Hemelryk
6416c6c25b Merge branch 'MDL-30007' of git://github.com/stronk7/moodle 2011-12-01 17:14:52 +13:00
Aparup Banerjee
0f4c6067e5 MDL-30386 blog : saved a function call 2011-12-01 12:03:31 +08:00
Aparup Banerjee
9be14d29e4 Merge branch 'wip-MDL-30386-master' of git://github.com/phalacee/moodle 2011-12-01 11:54:25 +08:00
Aparup Banerjee
0fa557d5fd Merge branch 'MDL-30260_disable_messages' of git://github.com/andyjdavis/moodle 2011-12-01 11:24:47 +08:00
Jerome Mouneyrac
264764e222 MDL-30459 when one filename already exist we bypass the execution and continue. We just return the error into the json string 2011-12-01 15:56:15 +13:00
Sam Hemelryk
7bebeb2a29 Merge branch 'wip-mdl-30421' of git://github.com/rajeshtaneja/moodle 2011-12-01 15:48:20 +13:00
Sam Hemelryk
bba1338a60 Merged branch 'MDL-30459' of git://github.com/mouneyrac/moodle.git with whitespace fixes 2011-12-01 14:43:39 +13:00
Sam Hemelryk
eb7ee15659 MDL-30376 mod_glossary: Integration tidy up 2011-12-01 14:17:10 +13:00
Sam Hemelryk
63a0768888 Merge branch 'wip-MDL-30376-master' of git://github.com/phalacee/moodle 2011-12-01 14:16:19 +13:00
Jason Fowler
c000545dee MDL-30386 - Blog - Adding RSS Feed link to the User blogs 2011-12-01 09:07:21 +08:00
Sam Hemelryk
c3f185949f Merge branch 'MDL-30526' of git://git.luns.net.uk/moodle 2011-12-01 12:44:09 +13:00
Eloy Lafuente (stronk7)
59e6df2883 MDL-30007 standardise assignment subplugin lang files 2011-12-01 00:42:25 +01:00
Sam Hemelryk
e8c3f32f83 Merge branch 'MDL-29730' of git://github.com/rwijaya/moodle 2011-12-01 12:29:19 +13:00
Sam Hemelryk
c9c7b8fb0b Merge branch 'MDL-30453-exassessment-link' of git://github.com/mudrd8mz/moodle 2011-12-01 12:15:29 +13:00
Eloy Lafuente (stronk7)
9ecbb6e494 MDL-30007 standardise mnet service version files 2011-12-01 00:14:42 +01:00
Sam Hemelryk
fa6765cf9c Merge branch 'MDL-30271-switch-role-workshop' of git://github.com/mudrd8mz/moodle 2011-12-01 11:48:55 +13:00
Ruslan Kabalin
65c7713115 MDL-30526 Choice: add form validation rule for numeric field 2011-11-30 17:17:12 +00:00
Charles Fulton
59c1a98c05 MDL-30518 get_context_instance takes one parameter at the SYSTEM level 2011-11-30 05:47:50 -08:00
Aparup Banerjee
15cca3e470 Merge branch 'MDL-30494_tokenize_test' of git://github.com/andyjdavis/moodle 2011-11-30 17:47:18 +08:00
Aparup Banerjee
e95a0cefda Merge branch 'w49_MDL-30517_m22_blockdelete' of git://github.com/skodak/moodle 2011-11-30 17:39:23 +08:00