sam marshall
71ab7e512b
MDL-41151 Files: Zip packer should have way to indicate progress
2013-09-05 16:41:57 +01:00
Petr Škoda
5f15f7c9aa
MDL-41022 cleanup core_files_zip_packer_testcase
2013-08-24 16:18:18 +02:00
Petr Škoda
4c34571b76
MDL-41022 cleanup core_files_file_storage_testcase
2013-08-24 16:18:18 +02: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
8252b7c291
MDL-40901 standardise core test case class and file names
...
This finally allows us to type only the class name when executing individual core test cases.
2013-08-04 22:10:31 +02:00
Petr Škoda
e8875a86be
MDL-40900 do not use 32bit unsigned integers
...
32bit PHP and any Windows PHP breaks otherwise.
2013-07-28 13:10:57 +02: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
Paul Nicholls
f384ce26c0
MDL-39339 - zip_archive should ignore system files
...
zip_archive should ignore OSX system files (__MACOSX, .DS_Store) and
Windows thumbnail cache files (Thumbs.db), to avoid issues and confusion.
2013-05-30 09:23:35 +12:00
Paul Nicholls
81d9f3d536
MDL-39339 - Add test zips for OSX system files and Thumbs.db
2013-05-30 09:22:56 +12:00
Marina Glancy
6dd92c0234
MDL-39177 Updating userid when file is overwritten
2013-05-20 14:09:11 +10:00
Marina Glancy
935429af8b
MDL-39177 More comments about confusing files.source field
2013-05-17 13:43:45 +10:00
Marina Glancy
da4b1ee480
MDL-39177 New function file_storage::get_unused_dirname()
2013-05-17 13:43:45 +10:00
Marina Glancy
e9e32b1d88
MDL-39177 File reference is not updated when overwriting the file
2013-05-17 13:43:44 +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
fd4592bbbc
MDL-36959 test reworked adding of files to sha1 content pool
2013-04-20 21:59:08 +02: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
Petr Škoda
689096bc26
MDL-38654 do not test $CFG->gdversion
...
GD PHP extension is now required. Add-ons need to remove $CFG->gdversion tests. The worst case regression is that add-on will think GD is not available.
2013-03-22 16:57:55 +01: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
3385a89c38
MDL-37641 files: Tests for draftfile_exists and get_unused_filename
2013-02-20 08:50:43 +08:00
Frederic Massart
d7d69396b0
MDL-37641 files: Improve file name suggestion and performance
2013-02-20 08:50:40 +08:00
Sam Hemelryk
e003d7dc5f
Merge branch 'w04_MDL-37640_m25_zipclose' of git://github.com/skodak/moodle
2013-01-28 13:36:28 +13:00
Petr Škoda
231b022777
MDL-37407 add support for zh_cn unicode unzip
2013-01-25 15:55:52 +01:00
Petr Škoda
96846ef18b
MDL-37640 close all zip archives after use in unit tests
2013-01-25 12:46:58 +01:00
Petr Škoda
009f190c69
MDL-37429 hack around zip limitations in PHP versions < 5.3.10
2013-01-17 16:48:29 +01:00
Petr Škoda
01b4040a27
MDL-37429 zipping improvements
...
Changes:
* zip_packer can create empty zip archives
* new option to ignore problematic files when creating archive
* detection of non-existent files
* debugging messages for opening of faulty zip archives
* coding style improvements
* no PHP 5.2 hacks
* more unit tests
2013-01-12 14:58:26 +01:00
Frederic Massart
1017426c26
MDL-32639 phpunit: Hack not to fail on debugging
2013-01-09 11:48:44 +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
Dan Poltawski
bfb5580f92
Merge branch 'MDL-32639-master' of git://github.com/FMCorz/moodle
2013-01-08 14:46:14 +08:00
Frederic Massart
638d72cd0b
MDL-32639 files: Improved File Manager download and zip support
2012-12-12 14:38:11 +08:00
Vadim Dvorovenko
697ade2850
MDL-32639 files: Removing '0' start folder in archives created with filemanager
2012-12-10 12:30:29 +08:00
Petr Škoda
65598feb36
MDL-36447 skip file preview test if GD not available
2012-12-09 19:22:01 +01:00
Dan Poltawski
0e35ba6ffc
MDL-36357 cleanup - remove double semicolons
2012-11-15 09:51:26 +08:00
Frederic Massart
e462f46b77
MDL-35117 librairies: File Packer can only extract a specific list a files
2012-10-18 13:38:48 +08:00
Petr Škoda
177ffd37ff
MDL-35795 add fallback for DOS/Windows non-utf8 zip archive unzipping
2012-10-06 10:02:11 +02: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
Petr Škoda
060bb94d81
MDL-35479 fix zip packer tests to use debugging asserts
2012-09-17 12:00:02 +02:00
Rex Lorenzo
ff37d63c1b
MDL-35376 - Shortcut/alias not working for Private file repo
2012-09-11 14:23:12 -07:00
Marina Glancy
42aa6e15bb
MDL-34290, MDL-33416 prepare to deprecate fields files.referencelastsync and referencelifetime
2012-08-29 11:56:18 +08:00