147 Commits

Author SHA1 Message Date
Peter Dias
710c04d5ee MDL-72413 core: Disable the default activity header 2021-12-13 09:49:35 +08:00
sam marshall
e332d1849d MDL-72643 core: Improve display_size
Allows display_size to use a fixed unit for easy comparison of
multiple results, and fixed decimal places for the same reason.

Improves behaviour by using consistent decimal places and a
consistent space before the unit (the previous one only has a space
before 'bytes', not before 'KB').

Of existing uses, all the ones that displayed a 'maxbytes' type
configuration setting (which are likely to have an 'exact' size
and would be better shown as 512 KB rather than 512.0 KB) have been
changed to use 0 decimal places, to preserve previous behaviour.
All the uses which were showing an actual file or memory size have
been left as default (1 decimal place).
2021-09-27 16:52:33 +01:00
Huong Nguyen
5f91063c91 MDL-71741 portfolio: Use the correct configurations 2021-05-28 08:52:05 +07:00
Ryan Wyllie
76fbbf7e7e MDL-65394 portfolio: add cache for portfolio_add_button 2019-05-01 16:27:34 +08:00
Eloy Lafuente (stronk7)
18f460edea Merge branch 'MDL-65047-master' of git://github.com/lameze/moodle 2019-03-27 22:30:18 +01:00
Simey Lameze
d8e72a6aad MDL-65047 portifolio: delete legacy portfolio_cron() function 2019-03-27 11:04:40 +08:00
Ryan Wyllie
f30f46db39 MDL-64820 forum: fix up issues from review 2019-03-22 09:31:21 +08:00
Ryan Wyllie
72a3d05b7e MDL-64820 portfolio: add url return for portfolio_add_button to_html 2019-03-22 09:24:04 +08:00
Marina Glancy
2d83a76ed7 MDL-62233 portfolio: check caller parent class 2018-05-10 09:13:03 +08:00
Damyon Wiese
663640f5b3 MDL-40759 icons: convert uses of pix_url to pix_icon
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Dan Poltawski
b1f3de5793 MDL-56895 porfolio: give buttons bootstrap styling 2016-11-11 12:39:35 +00:00
Eric Merrill
880fc15bf0 MDL-47162 core_message: Updating all uses of messaging to add courseid 2016-10-31 14:13:13 -04:00
Amanda Doughty
cc350fd9c8 MDL-47162 core_message: Add course id to message eventdata 2016-10-27 18:11:27 +02:00
Frederic Massart
89708ffc5f MDL-45256 portfolio: Do not require strict XML when parsing content 2014-04-29 17:43:44 +08:00
Petr Škoda
fd0e019286 MDL-42541 stop using events for porfolion cron 2014-02-13 12:09:24 +08:00
Frederic Massart
fe1361fc9c MDL-42511 portfolio: Debugging from deprecated function in cron 2013-10-28 10:28:10 +08:00
Frederic Massart
ce4619be9b MDL-41082 navigation: Remove unnecessary load of portfolio instances 2013-08-09 17:44:46 +08:00
Petr Škoda
b0d1d941c9 MDL-40220 use new core_component::get_component_directory() 2013-07-16 22:42:37 +02:00
Petr Škoda
bd3b3bba9f MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
Jason Platts
17ff23d743 MDL-37942 Images with non-alphanumeric chars in file name won't export 2013-03-26 15:11:20 +00:00
Frederic Massart
fc5e08440a MDL-36783 usability: Portfolio CSS for new icons 2012-11-28 14:07:43 +08:00
Mark Nelson
3774324174 MDL-33791 Portfolio: Fixed security issue with passing file paths. 2012-11-08 00:26:13 +01:00
Petr Škoda
550790153a MDL-35904 send notifications from main admin and improve coding style 2012-10-13 09:52:45 +02:00
Aparup Banerjee
87c12fec13 Merge branch 'MDL-34650' of git://github.com/rwijaya/moodle 2012-07-31 13:19:47 +08:00
Rossiani Wijaya
ecc5cc31ae MDL-34650 - accessibility compliance: Add <label> for form input text and select tag 2012-07-31 12:07:16 +08:00
Adrian Greeve
b0c6dc1cac MDL-34465 - lib - Replacing get_context_instance with context_XXXX::instance (group 8) 2012-07-27 10:10:46 +08:00
Rajesh Taneja
61cca0b7fc MDL-32940 libraries: Replaced deprecated PARAM_NUMBER with PARAM_FLOAT 2012-07-23 17:21:05 +08:00
Sam Hemelryk
3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Rossiani Wijaya
f9f281b8fe MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag 2012-03-30 16:26:58 +08:00
Sam Hemelryk
18cdcdbf89 MDL-30989 portfolio: Fixed up phpdocs 2012-02-15 15:33:06 +13:00
Rossiani Wijaya
93dd2725e8 MDL-30989 portfolio: updated portfolio phpdocs. 2012-01-30 15:37:46 +08:00
Andrew Robert Nicols
696c748da7 MDL-31013 Add iconsmall class to 'Export to portfolio' icon 2012-01-04 10:27:08 +00:00
David Mudrak
d3996e0705 MDL-27857 Typo in the phpDocs fixed 2011-10-03 10:15:38 +02:00
Sam Hemelryk
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00
Aparup Banerjee
728ebac7f2 MDL-28135 general Updating all hardcoded "docs.moodle.org/en/Development:" type doc links to "docs.moodle.org/dev/" 2011-07-05 14:27:31 +08:00
Sam Hemelryk
6708a1f525 MDL-27810 portfolio: Added ->portfolioenabled checks before creating portfolio buttons to avoid initialising portfolio requirements 2011-06-21 10:35:53 +08:00
David Mudrak
7e514cd768 MDL-25619 portfolio: exported HTML output can not be cleaned 2010-12-08 23:20:04 +00:00
David Mudrak
628c78409c New icon for portfolio export and improving its position
The old icon was considered "temporary" (according to Penny) and it was
not very clear. Hopefully this one is a bit better.
2010-11-12 08:52:55 +00:00
David Mudrak
ac6d26bbd1 Portfolio export link displays title plus obsolete code cleanup 2010-11-11 18:24:49 +00:00
David Mudrak
0ce579fe89 Portfolio strings changed to reflect the heading of the next page
Plus fixed some typos in the portfolio library
2010-11-11 18:04:27 +00:00
David Mudrak
d39c651378 Fixed trivial typo in debugging message text 2010-11-11 16:46:41 +00:00
Petr Skoda
365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Petr Skoda
90b2d8f012 fixed misspelled error tracing 2010-09-18 11:19:58 +00:00
Penny Leach
90636e2b41 portfolio MDL-24251 make sure $PAGE context is set up properly 2010-09-17 09:39:56 +00:00
Petr Skoda
39f4aedf3b initialized object 2010-09-17 08:06:15 +00:00
aparup
9c2b287557 assignment NOBUG the assignment submission files repository export had xhtml errors. fixed missing double inverted commas thanks to XHTML validator. 2010-07-27 07:59:38 +00:00
Petr Skoda
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Eloy Lafuente
b11bbdd16d MDL-22540 portfoliolib - cross db text comparison requires sql_compare_text() to be used 2010-05-23 09:23:05 +00:00
Penny Leach
9d429f0bae portfolio api MDL-14591 fixing small bugs and removing debugging 2010-05-02 18:00:52 +00:00