Eloy Lafuente (stronk7)
29a541724f
MDL-65292 style: Fix all the function declaration ordering
...
This has been generated running the following Sniff,
part of the Moodle's CodeSniffer standard:
- PSR2.Methods.MethodDeclaration
It just ensures all the function declarations have
the correct order for:
- abstract and final.
- visibility (public, protected, private).
- static.
So, all the lines modified by this commit are function declarations
and the only changes are in the positions of those keywords.
2024-02-28 23:47:47 +01:00
Sara Arjona
cc9430929d
MDL-77708 docs: Update references from docs.moodle.org/dev
2023-09-26 10:30:19 +02:00
Meirza
ccac845f11
MDL-78166 lib: Added missing class properties in portfolio
...
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.
Removing the existing $id property at portfolio_format_leap2a_writer, because
the $id only needed inside the __construct().
2023-05-27 09:28:03 +07:00
Marina Glancy
8fc1486d36
MDL-77164 various: fix incorrect phpdocs
2023-04-13 11:35:06 +01:00
cescobedo
0a5d387398
MDL-72615 core: Remove boxnet portfolio and repository
2021-10-27 06:24:55 +02: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
Jake Dallimore
5529b4701a
MDL-58684 portfolio: use file id instead of stored_file
2017-05-04 10:00:54 +08:00
Marina Glancy
761ef5d33a
MDL-56615 portfolio: fix php 7.0.9 warning
2016-10-28 11:56:42 +08:00
Petr Škoda
fd0e019286
MDL-42541 stop using events for porfolion cron
2014-02-13 12:09:24 +08:00
Frederic Massart
862ca7dbc1
MDL-41041 portfolio: Temporary solution for event portfolio_send
...
As we have deprecated events_trigger(), the portfolio cannot use it
any more. Though there is no easy solution to get rid of this event
as it is used to register a cron job. MDL-42541 has been raised to
refactor the portfolio code to solve this problem. In the meantime
events_trigger_legacy() will be used.
2013-10-25 14:54:34 +08:00
Dan Poltawski
e86a26c9b2
MDL-37332 portfolio: don't add double slashes
...
get_filepath() always returns trailing slash.
This breaks windows export - thanks to Jason Platts
2013-05-31 11:49:55 +08:00
David Monllao
f14d4122df
MDL-29258 core_portfolio: Fixing broken default breadcrumb
2013-04-23 11:12:51 +08:00
Dan Poltawski
596791eb69
MDL-39281 portfolio: missing setType call
2013-04-22 17:01:37 +01:00
Dan Poltawski
37836c19fb
MDL-38738 portfolio: missing PARAM_TEXT
2013-03-27 15:57:35 +08:00
Sam Hemelryk
f44e7d0a77
Merge branch 'MDL-36357' of git://github.com/danpoltawski/moodle
...
Conflicts:
user/view.php
2013-01-09 09:34:22 +13:00
Mark Nelson
04123f6d85
MDL-36841 portfolio: ensure variables in parent function match those of childs to prevent strict standard error
2012-11-27 14:12:25 +08:00
Dan Poltawski
0e35ba6ffc
MDL-36357 cleanup - remove double semicolons
2012-11-15 09:51:26 +08:00
Mark Nelson
3774324174
MDL-33791 Portfolio: Fixed security issue with passing file paths.
2012-11-08 00:26:13 +01:00
Frederic Massart
c31dc0b695
MDL-33828 Portfolio: prevent notices while exporting to portfolios
2012-07-03 09:33:17 +08:00
Dan Poltawski
c17ec774d7
MDL-33552 - portfolio api E_STRICT fixes
...
admin_config_form and admin_config_validation are now static
2012-06-12 22:56:42 +08:00
Sam Hemelryk
84ec16a861
Merge branch 'MDL-29857-3' of git://github.com/danpoltawski/moodle
2012-06-01 13:42:01 +12:00
Sam Hemelryk
849b9a6af7
MDL-33399 mixed: Fixed up calls to get_area_files that used empty sorts
2012-05-29 16:44:28 +12:00
Dan Poltawski
9b27ffa042
MDL-29857 - portfolio: Fix E_STRICT errors
2012-05-29 10:13:20 +08:00
Marina Glancy
559276b153
MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons
...
- function get_mimetypes_array() now contains also information about filetype groups and language strings
- use 'smart' human-readable mimetype description
- never determine filetype group based on filetype icon image! remove function mimeinfo_from_icon()
- get rid of class filetype_parser and file lib/filestorage/file_types.mm, replaced with functions file_get_typegroup(), file_extension_in_typegroup() and file_mimetype_in_typegroup()
- support multiple icon sizes, not only 16 and 32
- retrieve filetype icon only using proper functions file_..._icon() from lib/filelib.php throughout the code
- increase size of repository thumbnails to 90 and icons to 24 (will take effect when new icons exist)
2012-05-21 16:01:04 +08:00
David Mudrak
796495fed2
MDL-32471 changing the interface of the send_stored_file()
2012-04-24 12:09:44 +02:00
Petr Skoda
f20edd5208
MDL-32094 fix various E_STRICT compatibility problems
2012-03-18 18:37:24 +01: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
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
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
David Mudrak
bf0fc3c057
Improved portfolio export summary layout
2010-11-11 13:32:57 +00:00
Sam Marshall
bf81b16824
Unit tests MDL-24981 Fixed portfolio unit test so it at least runs (albeit with 23 exceptions and only 2 passes)
2010-11-01 18:00:57 +00:00
Petr Skoda
7c109ea3f0
MDL-24276 "static abstract" combination is deprecated since PHP 5.2, replacing with our coding_style exception
2010-09-19 18:43:52 +00:00
Penny Leach
2ae76ab6ed
portfolio MDL-24267 fixing misnamed variable
2010-09-18 11:50:39 +00:00
Penny Leach
86fef7764a
portfolio MDL-24266 fixing a typo in class name instance of check found by petr's insane new toy
2010-09-18 11:50:12 +00:00
Petr Skoda
c983324336
fixed invalid form setType() call
2010-09-18 10:56:15 +00:00
Petr Skoda
520ab2b1b0
removed unnecessary break that was breaking code inspection
2010-09-18 10:51:24 +00:00
Petr Skoda
7def9d4345
improved docs
2010-09-18 10:50:50 +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
0424cfe307
fixed comment typos
2010-09-03 15:59:25 +00:00
Penny Leach
ebb7e78267
portfolio/leap2a MDL-23955 updated leap2a support to 2010-07 version
2010-08-28 10:00:27 +00:00
Petr Skoda
ede7252234
MDL-23784 finally getting rid of all legacy .gif and .png extensions, yay! fixing issues with incorrect & in JS code
2010-08-12 20:37:24 +00:00
Petr Skoda
0972665f65
MDL-21249 improved php docs and adding direct access prevention in portfolio
2010-07-25 14:02:59 +00:00
Dan Marsden
dab61f9af9
Portfolio MDL-22950 regression - fix usage of archive_to_storage using new component var
2010-07-05 03:10:10 +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
Martin Dougiamas
6010eda22d
MDL-22813 Thanks to Mark Nelson from Pukunui Technologies, Portfolio management now looks like Repository.
2010-06-28 06:02:55 +00:00
Petr Skoda
5ebb660ebd
MDL-14589 fixed incorect php docs return type
2010-05-03 20:13:56 +00:00
Penny Leach
11fbe3fc79
portfolio api MDL-14591 fixed some get_string issues and tiny usability fixes
2010-05-02 18:01:05 +00:00
Penny Leach
9d429f0bae
portfolio api MDL-14591 fixing small bugs and removing debugging
2010-05-02 18:00:52 +00:00