David Mudrák
051857fcb9
MDL-61242 repository_equella: Fix missing class repository
...
The call to the class 'repository' introduced in the commit d05c2ac7cc78
didn't fully work and threw: "Exception - Class 'repository' not found".
This fixes the missing library inclusion.
2018-02-01 10:33:21 +08:00
Adrian Greeve
d05c2ac7cc
MDL-61242 repository_equella: Add source key when sending the source.
...
A thank you to Nelson Cheng for find this issue and suggesting a patch.
2018-01-20 10:56:18 +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
Dan Poltawski
d2c33655b6
Merge branch 'MDL-35983_equella_filename_dev' of git://github.com/dongsheng/moodle
2014-12-08 14:23:49 +00:00
Marina Glancy
56964b7948
MDL-45616 repositories: use json encoding instead of serialization
2014-07-07 14:41:20 +08:00
Tim Hunt
5bcfd504df
MDL-45618 Fix @since PHPdoc tags.
2014-05-19 17:03:04 +01:00
Dongsheng Cai
0e1cd7697e
MDL-35983 Try to use real file name from EQUELLA
2012-10-11 11:26:44 +11:00
Marina Glancy
c01f7628f7
MDL-33777 Equella repository properly set the source and display file origin
2012-06-25 10:57:02 +08:00
Eloy Lafuente (stronk7)
74ea1b95f4
MDL-32117 equella: add missing MOODLE_INTERNAL + phpdocs tidy
2012-06-12 02:23:14 +02:00
nread
e3e4ca5ae9
MDL-32117 equella: owner field in JSON maps back to author
2012-06-05 13:45:25 +10:00
Dan Poltawski
2e47347c88
MDL-32117 equella: callback.php params
...
* Properly cleaned and filtered
* Add utf8 content type
(Thanks Petr Škoda)
2012-06-04 15:29:45 +08:00
Dan Poltawski
130b3f8c4f
MDL-32117 equella: various E_STRICT fixes
...
* Make send_file compatible with its parent
* mktime -> time()
* callback.php: fix pass by reference warnings
2012-06-04 12:29:15 +08:00
Dongsheng Cai
da1f4aee95
MDL-32117 EQUELLA plugin: Added some TODO comments in callback.php and changed variable names to conform moodle coding style
2012-06-04 11:46:03 +08:00
Dongsheng Cai
9225747e11
MDL-32117 EQUELLA plugin: Fixed callback parameters
2012-06-04 11:46:02 +08:00
Dongsheng Cai
27bb724f16
MDL-32117 EQUELLA plugin: initial commit
2012-06-04 11:46:00 +08:00