63 Commits

Author SHA1 Message Date
Brendan Heywood
1fc0c4bd4e MDL-58439 admin: Ignore guest logins for all admin pages 2019-06-11 13:44:58 +10:00
sam marshall
3ef7279f26 MDL-42084 Core: Change set_time_limit to core_php_time_limit::raise everywhere
Exceptions (places where set_time_limit is still left) are:

Third-party libraries:
  ADODB
  PHPMailer

Moodle core:
  PHPUnit - not relevant (CLI mode)
2013-11-06 16:40:01 +00:00
Petr Škoda
e87214bda7 MDL-42078 multiple uninstall improvements and cleanup
Includes:
* update checker refactored to \core\update\ namespace
* plugininfo classes refactored to \core\plugininfo\ namespace
* plugin_manager renamed to core_plugin_manager
* redirect back to original page after plugin uninstall
* fixed assign subplugin uninstall
* move assign subplugins under the assignment in admin tree
* fixed plugininfo for all question related plugin types
* auth uninstall support
* added missing block dependencies
* added theme uninstall
* subplugin types are following the plugin on plugin overview page
* several performance improvements in plugin manager
* new warnigns when plugininfo are outdated or missing
* multiple fixes and other improvements
2013-10-07 13:10:36 +02:00
Petr Škoda
bde002b81a MDL-41437 rework plugin_manager caching and version info in blocks and modules
This patch includes:

* version column removed from modules table, now using standard config, this allows decimal version for modules
* version column removed from block table, now using standard config, this allows decimal version for blocks
* module version.php can safely use $plugins instead of module
* new plugin_manager bulk caching, this should help with MUC performance when logged in as admin
* all missing plugins are now in plugin overview (previously only blocks and modules)
* simplified code and improved coding style
* reworked plugin_manager unit tests - now using real plugins instead of mocks
* unit tests now fail if any plugin does not contain proper version.php file
* allow uninstall of deleted filters
2013-09-22 21:25:26 +02:00
Petr Škoda
6a407a7c0e MDL-39088 fix enrol migration redirect url
Thanks David for spotting it!
2013-06-27 22:20:36 +02:00
Petr Škoda
5643f932e9 MDL-39088 migrate enrol uninstallation to plugin_manager 2013-06-27 22:20:35 +02:00
Petr Škoda
b5cf59a59d MDL-36194 remove bogus echo $PAGE->set_title()
Credit goes to Dan Poltawski, thanks!
2012-11-07 19:11:25 +01:00
Petr Škoda
84bc3773cc MDL-35064 add option to keep enrolments when uninstalling plugin 2012-08-26 12:17:11 +02:00
Dan Poltawski
0cbeea2b96 Merge branch 'MDL-34455-master-integration' of git://github.com/FMCorz/moodle 2012-07-24 16:01:00 +08:00
Frederic Massart
bf006d2c15 MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +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
b85b25ebb8 MDL-31006 fix various notices in PHP54
PHP54 compatibility
2012-01-18 01:03:20 +01:00
Petr Skoda
bbfdff344c MDL-30131 improve current user enrol caching 2011-11-06 09:40:06 +01:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +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
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
Petr Skoda
4aea3cc7cd MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout 2010-02-11 13:27:02 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Petr Skoda
20207b827a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:57:00 +00:00
Petr Skoda
f578af59fc MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:57:00 +00:00
nicolasconnault
414a4a91b1 MDL-19787 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:39:07 +00:00
nicolasconnault
8fbce1c8c8 MDL-19878 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 04:28:40 +00:00
nicolasconnault
b324b47e36 MDL-19787 Upgraded calls to choose_from_menu 2009-08-17 15:15:20 +00:00
nicolasconnault
73d6f52f6a MDL-19787 Converted all print_footer() calls 2009-08-06 14:12:46 +00:00
nicolasconnault
2fff8846f2 MDL-19787 Migrated calls to print_heading 2009-08-06 08:17:12 +00:00
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
tjhunt
ad5d5997ed moodle_page: MDL-12212 more ->pagepaths to kill 2009-05-06 08:43:51 +00:00
skodak
d4a1fcaf11 MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +00:00
skodak
fb8634e50c MDL-15846 add option to prevent course welcome emails + support for searching in enrolment page 2008-07-26 16:50:33 +00:00
Francois Marier
6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
toyomoyo
60a9a6ea67 fix for some of the MDL-8425 issues 2007-02-07 07:34:53 +00:00
skodak
63f2e6ba1d MDL-8198 Modules whose names are substrings of other chosen modules are considered chosen as well 2007-01-21 10:33:28 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
skodak
fa73873105 MDL-8050 1.2 Remove all target="_top" - refactoring of previous commit 2007-01-04 18:23:55 +00:00
skodak
e25cb71041 MDL-8050 1.2 Remove all target="_top" 2007-01-03 19:24:48 +00:00
skodak
bad545e935 minor xhtml fix 2006-11-30 09:16:36 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
skodak
f21def1f11 fixed collisions in merges, sorry 2006-09-03 15:21:46 +00:00
skodak
50999a0b94 new admin block fixes and reorganisation - I guess we need something more traditional for now 2006-09-03 13:10:56 +00:00
skodak
6e4dc10f54 deglobalization of $ADMIN; merged admin/adminlib.php into lib/adminlib.php; fixed includes and some other minor fixes 2006-09-02 13:14:57 +00:00
vinkmar
90a73bb361 Admin page cleanup (Google soc 2006) 2006-08-18 07:25:17 +00:00
skodak
2475a6c26d minor coding style fixes 2006-04-12 21:02:03 +00:00
vyshane
5a1736e382 Added $CFG->pagepath for Moodle Docs. 2006-03-21 04:59:55 +00:00
martinlanghoff
46a811142e [multienrol]Don't die if there's an empty directory in enrol and better strings for admin ui
The admin UI still needs a bit of wordsmithing to make it easy to understand what the model we have is.
2006-03-09 05:06:18 +00:00
martinlanghoff
29f8533223 [multienrol]More changes to the internal->manual transition 2006-03-09 03:46:53 +00:00
martinlanghoff
c9e0b90be1 [multienrol]Make sure internal plugin is saved on the top so it will be called at the first place 2006-03-09 03:14:32 +00:00