42 Commits

Author SHA1 Message Date
Juan Leyva
b857590479 MDL-61098 repository: Retrieve correct context for repo instance
The repository instance was being retrieved without specifying a valid
context that is required in further API checks.
2017-12-21 11:33:11 +01:00
Jun Pataleta
ab1ca45eb0 MDL-57385 core: Set page layouts of non-mydashboard pages to standard
The following pages are using the "mydashboard" page layout:
* User preferences > Badges > Manage badges
* User preferences > Badges > Backpack settings
* User preferences > Repositories > Manage instances
* Private files
However, the "mydashboard" page layout should only be used for the user's
dashboard page. Changing these to use the "standard" page layout.
2017-01-10 09:44:13 +08:00
Russell Smith
1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
Frederic Massart
fa3ca5e204 MDL-45902 repository: Improving breadcrumb and title of manage page
Part of MDL-45774
2015-04-10 17:17:06 +08:00
Sam Hemelryk
60f35a82e1 MDL-37680 repositories: added blocks to manage page 2014-12-12 13:36:45 +13:00
Tim Hunt
5bcfd504df MDL-45618 Fix @since PHPdoc tags. 2014-05-19 17:03:04 +01:00
Damyon Wiese
d059d80ea6 Merge branch 'MDL-39640-master-int' of git://github.com/FMCorz/moodle 2013-05-27 16:15:51 +08:00
Frederic Massart
989a58d0f4 MDL-38369 repository: Remove output before redirect 2013-05-13 17:33:04 +08:00
Frederic Massart
0f387618cd MDL-39640 repository: Prevent notice when editing an instance 2013-05-13 17:27:42 +08:00
Frederic Massart
71ac66ed7f MDL-38474 repository: Cannot edit a repository instance 2013-03-15 13:45:31 +08:00
Frederic Massart
bd6581935d MDL-37852 repository: Re-inforced checks to manage repository instances 2013-03-07 14:32:44 +08:00
Frederic Massart
89a9d21a15 MDL-37852 repository: Prevent undesired access to repositories settings 2013-03-05 09:56:22 +01:00
Eloy Lafuente (stronk7)
92b75df804 Merge branch 'MDL-34945-master' of git://github.com/FMCorz/moodle 2012-09-06 20:11:53 +02:00
Ankit Agarwal
d197ea4300 MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
Frederic Massart
2c86955027 MDL-34945 Repository: Creating an instance requires the user to have the permission to view it 2012-08-24 10:55:22 +08:00
Rajesh Taneja
405aca3532 MDL-32942 libraries: Replaced deprecated PARAM_ACTION and PARAM_FORMAT with PARAM_ALPHANUMEXT 2012-07-19 15:46:10 +08:00
Petr Skoda
5d354ded1a standardized PHPDocs package info 2010-09-06 11:17:43 +00:00
Petr Skoda
7b2e259c8c MDL-23856 fixed incorrect integer comparison, we should not use === or !== because one may be integer and the other string 2010-08-18 22:18:53 +00:00
Dongsheng Cai
49d20def30 MDL-22755, create filesystem plugin needs moodle/site:config capability, and a few coding style fixing 2010-06-22 07:40:30 +00:00
Martin Dougiamas
99cca8470e MDL-19124 Continued misc user profile cleanups
- fixed user styles in base theme
    - added new divs for better control on user profile and user index pages
    - reduced data on course user profiles down to minimum
    - removed user/tabs.php completely and all uses of it
    - changed default user icon pix to something very bland (bye bye smiley cake)
2010-05-16 08:21:12 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
Dongsheng Cai
fe879bf308 "MDL-21683, baseurl incorrectly defined, prevents deletion of repository instances, credits to Mark Johnson" 2010-03-02 07:38:04 +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
dc6896efe0 MDL-21198 used new simple_button class when doing OUTPUT->confirm() - more consistent and hopefully easier to remember than html_form::make_button() ;-) 2010-01-03 20:47:13 +00:00
Dongsheng Cai
5363905a51 "MDL-13766, improve user instances list" 2009-12-02 10:04:04 +00:00
Petr Skoda
4317f92f3f MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 12:51:40 +00:00
samhemelryk
f3a6cd67d5 repository MDL-19821 Added set_url call 2009-10-16 03:23:05 +00:00
samhemelryk
d9d8dbaaee repository MDL-19821 Updated print_header and build_navigation to OUTPUT and PAGE equivalents 2009-09-07 02:40:34 +00:00
nicolasconnault
55400db0b4 MDL-19821 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:49:23 +00:00
nicolasconnault
6fd42112e6 MDL-19821 Converted all print_footer() calls 2009-08-06 14:07:52 +00:00
nicolasconnault
88ed16ecc2 MDL-19821 Migrated calls to print_heading 2009-08-06 08:24:28 +00:00
dongsheng
b317f67a3f "MDL-19985, fixed undefined typeid, thanks for andrei's patch" 2009-08-03 07:22:55 +00:00
dongsheng
abdcded6c7 "MDL-13766, use OUTPUT to print box" 2009-07-09 07:17:18 +00:00
dongsheng
8b1c7bc46a "MDL-18888, fixed duplicated course name in breadcrumbs for course repositories page" 2009-04-17 08:20:52 +00:00
nicolasconnault
dbc0194458 MDL_13766 Refactoring of core repository code and added first unit tests 2008-11-26 07:03:10 +00:00
jerome
f48fb4d692 MDL-15402: add a repository type functionality in the administration: enable/disable course and user repository setting 2008-10-09 03:02:26 +00:00
moodler
0ec691c457 MDL-15402 Fixed up the user personal repositories page so it fits in with user profile better (tabs, heading location etc) 2008-09-23 03:27:46 +00:00
jerome
948c286025 MDL-15402: implement readonly repository instances (support flickr_public) 2008-09-16 09:08:36 +00:00
moodler
c65dd2fe99 Just cleaning up layout a little 2008-09-15 07:37:21 +00:00
jerome
6c91ce49ff MDL-15402: fixes for tabs.php - now display tab repository only for the current user, + add some context security 2008-09-08 02:10:30 +00:00
jerome
12c79bfd7e MDL-15402: modify repository_get_instances() in order to be easier to use 2008-09-05 08:51:25 +00:00
jerome
faaa613d99 MDL-15404: fix few bugs in repository administration, add a beta version of the course repository list 2008-09-05 06:30:18 +00:00