Commit graph

13 commits

Author SHA1 Message Date
Alexandre Emsenhuber
f0faee8ae9 Pass the user doing the upload to WikiPage::doEdit() 2011-12-27 15:15:38 +00:00
Aaron Schulz
aa3befb2e0 In LocalFile:
* Removed bogus rmdir() call.
* Added lock() calls to upgradeRow()/getSha1().
* Use FileRepo getFileSha1() in getSha1() rather than via FSFile.
* Made purgeThumbList()/migrateThumbFile() use FileRepo::cleanupBatch().
* A few other minor cleanups.
* w/s cleanup in recordUpload2().
In FSRepo:
* Removed deleted zone config code from constructor; useless since r107028.
In FileBackend:
* Make sure 'latest' param gets passed through via $params for some functions.
* Cleaned up doMoveInternal() to use *_Internal() functions.
2011-12-26 23:35:40 +00:00
Aaron Schulz
b9efeb2cbc FU r106752: fixed call to bogus function in LocalFile::getSha1() 2011-12-24 00:19:01 +00:00
Aaron Schulz
14863b9aa5 Cleaned up some references to FSRepo in code and comments. This should have no noticeable functional changes. 2011-12-20 19:25:23 +00:00
Brian Wolff
34791773f8 follow-up r98710/r104410. I personally think that forRefresh is confusing, since a purge is always in essence a "refresh"ing operation. change it to forThumbRefresh. 2011-12-20 06:48:05 +00:00
Aaron Schulz
5275f9b097 Merged FileBackend branch. Manually avoiding merging the many prop-only changes SVN likes to sprinkle in (easy to spot from the change list). Did not add SwiftFileBackend.php as it still is in development. 2011-12-20 03:52:06 +00:00
Antoine Musso
c0dd74a16f purgeThumbList debug message is now a oneliner 2011-12-08 12:51:53 +00:00
Roan Kattouw
cfab36dd59 Revert r105140 temporarily. The exception is thrown while running the parser tests (at least from Jenkins, haven't tried locally), which completely breaks the test suite and renders Jenkins useless. Feel free to reapply once the cause of the oi_archive_name bug is fixed and committing this won't cause exceptions to be thrown in Jenkins's face. 2011-12-05 07:03:21 +00:00
Aaron Schulz
6cc931502f Added file old version name sanity check to recordUpload2() 2011-12-04 23:34:24 +00:00
Aaron Schulz
330758c5bc Fix r104410: Added default value for $options to purgeThumbnails(), not sure how this was lost in the patch 2011-11-28 09:03:39 +00:00
Aaron Schulz
88f9a3016c FU r104410: don't even bother calling filterThumbnailPurgeList() if 'forRefresh' isn't set to be safe 2011-11-28 08:57:46 +00:00
Aaron Schulz
b9fe0b2fbf Restored r98710 but with a 'forRefresh' option (not used yet) 2011-11-28 08:53:03 +00:00
Aaron Schulz
ef75030835 Moved File classes to filerepo/file (as well as ArchivedFile) 2011-11-16 22:55:48 +00:00
Renamed from includes/filerepo/LocalFile.php (Browse further)