Simey Lameze
37eafbb6dc
MDL-54948 core_files: return false if theres no output from unoconv
2016-06-23 08:37:23 +08:00
Simey Lameze
9254ba09e8
MDL-54948 core_files: make the check consistent on unoconv test page
2016-06-21 09:36:44 +08:00
David Monllao
50c338b84b
Merge branch 'MDL-54544-master' of git://github.com/damyon/moodle
2016-05-18 13:55:05 +08:00
Damyon Wiese
4f54bdc733
MDL-54544 files: Better error handling in $fs->create_converted_document()
2016-05-18 13:44:13 +08:00
Damyon Wiese
5620177efd
MDL-54544 file: Use shared tmp storage for unoconv document conversions
2016-05-17 10:58:25 +08:00
Adrian Greeve
0eecf87687
MDL-53923 mod_assign: Movement of functions to file_storage.
2016-05-16 14:32:54 +08:00
Matteo Scaramuccia
bc219382b7
MDL-53837 assign: Fix executable check for 'unoconv.py' on Windows.
2016-04-17 22:35:13 +02:00
Damyon Wiese
6853cd5ed4
MDL-52954 assign: Fix the reasonable cibot warnings.
2016-03-30 14:07:28 +08:00
Damyon Wiese
bb690849c9
MDL-52954 assign: Rebuild the assignment single grade page.
2016-03-30 13:47:21 +08:00
Damyon Wiese
1356d85151
MDL-52954 core: Change from pandoc to unoconv - it gives better results
...
Most importantly it retains formatting better, and supports different charsets far better than pandoc.
2016-03-30 11:48:39 +08:00
Damyon Wiese
2e76c14e11
MDL-52954 core: Add a document converter to file_storage
...
This lets us convert between common office formats. E.g. docx -> pdf
html -> pdf, html -> ods.
This commit also updates assignment editpdf plugin to use this converter
on all compatible submission files.
2016-03-30 11:48:39 +08:00
Eloy Lafuente (stronk7)
b4153ff09d
Merge branch 'wip-MDL-51985-master' of https://github.com/marinaglancy/moodle
2015-12-03 11:16:34 +01:00
Jun Pataleta
a33e5debe9
MDL-37308 files: Additional fixes for transparency
...
Fixed transparency support when resizing and when not resizing.
2015-11-29 20:28:19 -06:00
Jetha Chan
623c947f2b
MDL-37308 files: support transparency when not resizing; new unit test
2015-11-29 20:28:19 -06:00
Adrian Greeve
e245843193
MDL-37308 files: convert_image() now supports transparency.
2015-11-29 20:28:18 -06:00
Marina Glancy
58e5ab1bac
MDL-51985 files: sync timemodified when possible
2015-10-30 14:46:09 +08:00
Andrew Nicols
2b53b13ff7
MDL-49627 core: Update uses of generate_image_thumbnail
...
This removes the need to write tempfiles in these locations.
2015-04-01 11:05:19 +08:00
David Monllao
47d333857d
Merge branch 'MDL-23296-master' of git://github.com/FMCorz/moodle
2015-04-01 10:41:41 +08:00
Dan Poltawski
6cb65683d1
Merge branch 'MDL-49598-master' of git://github.com/andrewnicols/moodle
2015-03-31 14:21:37 +01:00
Jordi Pujol Ahulló
d5f596589b
MDL-49641 repository_dropbox: preventing poor performance.
...
emptied sort default value at get_external_files to prevent poor performance.
2015-03-25 08:00:27 +01:00
Andrew Nicols
5d70615157
MDL-49598 files: getimagesize -> getimagesizefromstring
2015-03-20 10:16:36 +08:00
Frederic Massart
7a79030f48
MDL-23296 repository_local: Implementing search through server files
2015-03-05 13:41:47 +01:00
David Monllao
10ccdfb8cd
MDL-43390 files: Only lock when locking is not prevented
2014-07-24 10:22:55 +08:00
Tim Hunt
5bcfd504df
MDL-45618 Fix @since PHPdoc tags.
2014-05-19 17:03:04 +01:00
Sam Hemelryk
f18f96f767
Merge branch 'wip-MDL-42016-master' of git://github.com/marinaglancy/moodle
...
Conflicts:
lib/db/install.xml
lib/db/upgrade.php
version.php
2013-10-09 15:58:45 +13:00
Sam Hemelryk
5dc361e16e
MDL-31830 core_course: new course category management interface
...
* Implemented a new course and category management page.
* Deprecated the old management interface.
* Unit tests to cover the new API and core functions.
* Behat tests to cover the new interface.
2013-10-07 10:21:41 +13:00
Marina Glancy
873555604f
MDL-42016 repository: Simplify API to sync external files
...
Too many functions, too different parameters, unnecessary DB queries.
All repositories developed for Moodle 2.3-2.5 will continue to work.
Also get rid of DB field files_reference.lifetime, it is not used by
anybody except repository itself.
2013-10-06 18:05:09 +11:00
Marina Glancy
e2a61ee3db
MDL-33416 files: Remove unused reference fields in files table
...
Fields files.referencelastsync and files.referencelifetime just waste the space and actually duplicate the fields
files_reference.lifetime and files_reference.lastsync
2013-09-27 16:50:08 +10:00
Petr Škoda
96f81ea385
MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init
2013-08-12 13:01:47 +02:00
Sam Hemelryk
823c0c80e9
Merge branch 'MDL-40086-master' of git://github.com/FMCorz/moodle
...
Conflicts:
lib/filestorage/file_storage.php
2013-08-07 10:39:40 +12:00
Petr Škoda
2f1e464a88
MDL-40438 migrate all collatorlib:: and textlib:: uses
2013-08-06 21:04:35 +02:00
Frederic Massart
bc42e97989
MDL-40086 file: Correct ordering of subdirectories
...
Thanks to Mohamed Alsharaf for the proposed solution.
2013-08-06 13:53:54 +08:00
Petr Škoda
eb459f7192
MDL-40642 set more restrictive umask and use proper permission for new dirs and files
2013-07-19 09:18:44 +02:00
Marina Glancy
da4b1ee480
MDL-39177 New function file_storage::get_unused_dirname()
2013-05-17 13:43:45 +10:00
Damyon Wiese
946f2b0826
MDL-36959 file_storage: Preserve each file in a hash collision
2013-04-22 12:07:43 +08:00
Petr Škoda
d91e2c15db
MDL-36959 rework adding of content files to the file pool
...
This patch includes refreshing of borked files in file pool and basic prevention of race conditions. It also helps with diagnosing of file pool permission problems, detects coding errors and some other type of problems including sha1 collision jackpot.
2013-04-20 21:41:41 +02:00
David Mudrák
bfaed43214
MDL-39087 Fix missing cronlib inclusion in file_storage::cron()
...
This is not actually related to MDL-38259 but it was discovered while
running unit tests for file_storage. When running the tests for this
class separately, the cronlib.php was not included (it is included
when this method is normally called during cron execution).
2013-04-12 01:42:58 +02:00
David Mudrák
546b886416
MDL-39087 Delete all component files in uninstall_plugin()
2013-04-12 01:42:58 +02:00
Tim Hunt
658b9372ee
MDL-38212 cron: display time and memory usage before each task.
...
This helps diagnose problems.
Also, call gc_collect_cycles between tasks, which may reduce the
frequency of out-of-memory errors.
2013-03-08 10:24:41 +00:00
David Mudrák
8f5cbbd6c8
MDL-38261 Add a new file preview mode for bigger thumbnails
2013-02-28 18:53:37 +01:00
Dan Poltawski
d28d214167
Merge branch 'w08_MDL-38154_m25_delperf' of git://github.com/skodak/moodle
2013-02-26 11:08:52 +08:00
Petr Škoda
18fa4f4745
MDL-38154 do not hardcode sha1 hash of empty string
2013-02-25 10:10:57 +01:00
Damyon Wiese
61725199a9
Merge branch 'MDL-37641-master' of git://github.com/FMCorz/moodle
2013-02-25 15:23:19 +08:00
Petr Škoda
e029dff4cd
MDL-38154 improve dir delete performance
2013-02-23 15:10:48 +01:00
Marina Glancy
898d4975cb
MDL-38091 fixed bug with SQL query on Oracle
2013-02-23 12:06:21 +11:00
Frederic Massart
d7d69396b0
MDL-37641 files: Improve file name suggestion and performance
2013-02-20 08:50:40 +08:00
Dan Poltawski
0e35ba6ffc
MDL-36357 cleanup - remove double semicolons
2012-11-15 09:51:26 +08:00
Sam Hemelryk
52ebfade63
Merge branch 'MDL-34607-master' of git://github.com/FMCorz/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2012-09-25 09:51:28 +12:00
Frederic Massart
db232bb0f4
MDL-34607 File API: Natural sort on area tree files
2012-09-21 10:08:46 +08:00
Rex Lorenzo
ff37d63c1b
MDL-35376 - Shortcut/alias not working for Private file repo
2012-09-11 14:23:12 -07:00