Petr Škoda
e02256507c
MDL-38743 add private cache headers
2013-11-06 13:58:15 +08:00
Marina Glancy
54a0a16b53
MDL-41337 files: Fixed bug with accidental delete of the root directory
2013-10-29 20:30:26 +11:00
Petr Škoda
58c57f94d6
MDL-42386 fix invalid etag comparison
...
Credit goes to Eloy Lafuente, thanks!
2013-10-18 14:49:49 +02:00
Matteo Scaramuccia
f63fc5c41a
MDL-40226 Files: Added the correct MIME Type for JNLP files.
...
JNLP stands for Java Network Launch Protocol, used to launch
Java Web Start applications. More details in:
http://docs.oracle.com/javase/tutorial/deployment/webstart/deploying.html
2013-10-06 16:45:16 +02:00
sam marshall
da7c844c30
MDL-38194 Files: Allow download of large backup files
...
The PHP readfile function does not work for files more than 2GB.
This commit provides a wrapper that can be used so that files less
than 2GB are sent with readfile, and files larger than 2GB are
sent manually.
The change applies to all uses of pluginfile.php, although in
reality, backup files are probably the only ones likely to be more
than two gigabytes.
2013-09-13 16:01:58 +01:00
Matteo Scaramuccia
c8d8b400f9
MDL-39832 Files: Fixed ETag format according with RFC2616.
...
ETag must be double quoted,
http://tools.ietf.org/html/rfc2616#section-3.11 :
entity-tag = [ weak ] opaque-tag
weak = "W/"
opaque-tag = quoted-string
2013-07-07 09:19:15 +02:00
Matteo Scaramuccia
6ef0160a64
MDL-39832 Files: Revert MDL-39688 commit, 7c742620d2
...
MDL-39688 has been successful in providing a solution for the issue but further
investigations done in MDL-39832 have got the evidence that the given solution
is more likely a workaround.
2013-07-07 09:19:14 +02:00
Sam Chaffee
4417a705cf
MDL-40258: Fixed invalid json string error in file-picker
2013-06-24 18:57:08 +02:00
Dan Poltawski
8c12e634ea
Revert "MDL-39832 Files: Revert MDL-39688 commit, 7c742620d26bdba53e136fda293d33b5271ce241"
...
This reverts commit 6c227b64e2 .
2013-06-13 13:57:32 +08:00
Dan Poltawski
433222d6c0
Revert "MDL-39832 Files: Fixed ETag format according with RFC2616."
...
This reverts commit 20043f4392 .
2013-06-13 13:57:30 +08:00
Matteo Scaramuccia
20043f4392
MDL-39832 Files: Fixed ETag format according with RFC2616.
...
ETag must be double quoted,
http://tools.ietf.org/html/rfc2616#section-3.11 :
entity-tag = [ weak ] opaque-tag
weak = "W/"
opaque-tag = quoted-string
2013-06-06 23:09:46 +02:00
Matteo Scaramuccia
6c227b64e2
MDL-39832 Files: Revert MDL-39688 commit, 7c742620d2
...
MDL-39688 has been successful in providing a solution for the issue but further
investigations done in MDL-39832 have got the evidence that the given solution
is more likely a workaround.
2013-06-06 23:09:45 +02:00
Petr Škoda
7c742620d2
MDL-39688 do not set Etag when sending http ranges
2013-05-25 09:12:51 +02:00
Marina Glancy
0733e9883a
MDL-39177 Updating userid when file is overwritten
2013-05-21 10:50:52 +10:00
Marina Glancy
0408edbb13
MDL-39177 More comments about confusing files.source field
2013-05-14 17:05:40 +10:00
Marina Glancy
3557f63112
MDL-39177 Perform all checks on draftfile area before saving the files
2013-05-14 17:05:40 +10:00
Marina Glancy
bb597bbc1a
MDL-39177 Remove code duplication
2013-05-14 17:05:39 +10:00
Marina Glancy
73e7cca3c2
MDL-39177 Update file in filearea only if original is present
...
Now when file was deleted in filemanager and new file with the same file was uploaded the references will be converted to copies exactly like UI warns in filemanager.
Also do not delete original information from draftfiles.
2013-05-14 17:05:39 +10:00
Marina Glancy
eb30de6812
MDL-39177 File reference is not updated when overwriting the file
2013-05-14 17:05:38 +10:00
Petr Škoda
5364ee6b09
MDL-38798 remove unused property which was giving notices in PHP 5.5beta
2013-04-07 11:53:50 +02:00
Damyon Wiese
cacbbb46ce
MDL-38468 Filelib: Fix ordering of new mimetypes
2013-03-26 15:25:56 +08:00
Matteo Scaramuccia
9992ee729e
MDL-38468 Files API: fixed the support for MTHML (MIME HTML: web page archive) files
2013-03-23 12:26:03 +01:00
Eloy Lafuente (stronk7)
eeb0efd7d8
Merge branch 'MDL-38268-m24' of https://github.com/jfilip/moodle into MOODLE_24_STABLE
2013-03-13 01:14:38 +01:00
Justin Filip
3000c6bde7
MDL-38268 files: Must be explicit about switching cURL request method from HEAD to GET.
2013-03-05 11:30:16 -05:00
Eloy Lafuente (stronk7)
26431c6f94
Merge branch 'MDL-38170-m24' of git://github.com/sammarshallou/moodle into MOODLE_24_STABLE
2013-03-04 16:26:07 +01:00
sam marshall
850d33e658
MDL-38170 SimplePie: Cannot read https feeds through proxy
2013-03-01 10:33:24 +00:00
sam marshall
aee5f1f4d8
MDL-38168 Filelib: Curl class does not honour proxybypass option
2013-02-22 14:20:04 +00:00
Dan Poltawski
349a6fde37
Merge branch 'MDL-35622-24' of git://github.com/FMCorz/moodle into MOODLE_24_STABLE
2013-02-20 14:27:52 +08:00
Frederic Massart
16296b4a84
MDL-35622 files: Fixed typo in galleryitem extension
2013-02-20 12:23:56 +08:00
Dan Poltawski
a2f6f882c4
Merge branch 'MDL-35622-24' of git://github.com/FMCorz/moodle into MOODLE_24_STABLE
...
Conflicts:
lib/db/upgrade.php
version.php
2013-02-18 11:33:00 +08:00
Frederic Massart
bac188fa71
MDL-35622 files: Add support for SMART Notebook MIME types
...
- The MIME type for Notebook files is: application/x-smarttech-notebook
- The MIME type for Gallery files is also: application/x-smarttech-notebook
Refs: http://exchange-forum.smarttech.com/forums/p/5152/11945.aspx#11945
Original author: Matteo Scaramuccia <moodle@matteoscaramuccia.com >
Fixed by: Paul Holden <pholden@greenhead.ac.uk >
Conflicts:
lib/db/upgrade.php
version.php
2013-02-11 10:29:50 +08:00
Howard Miller
3bcf80e9f2
MDL-37797 HTML block: add contextid to block_positions query and make it more unique.
2013-02-05 16:23:23 +08:00
Eloy Lafuente (stronk7)
0218dd4ccb
Merge branch 'MDL-37395-m24' of git://github.com/sammarshallou/moodle into MOODLE_24_STABLE
2013-01-15 18:17:24 +01:00
sam marshall
c3775f93ab
MDL-37395 Add .jar filetype so Moodle doesn't incorrectly call it a zip file
2013-01-08 12:50:17 +00:00
Frederic Massart
217d7979b9
MDL-36708 files: Checking the size limit of a draft area does include references
2013-01-07 17:29:04 +08:00
Petr Škoda
f48902e139
MDL-29442 add missing utf-8 to entity html encoding and decoding
2012-12-09 18:22:16 +01:00
Frederic Massart
f19d57e514
MDL-30731 calendar: Fixed display of images in event descriptions
2012-11-20 14:58:33 +08:00
Dan Poltawski
a56dc90320
Merge branch 'MDL-33766-master' of git://github.com/FMCorz/moodle
...
Conflicts:
version.php
2012-11-08 18:10:26 +08:00
Marina Glancy
b5cf83f080
MDL-36017 Fields numsections, hiddensections and coursedisplay are now format-specific options
...
- Fields added to format_legacy as default course format options;
- Upgrade script copies fields values from table course to course_format_options;
- Fields removed from table course;
- Fields removed from edit course form;
- Since front-page course has a 'numsections' setting, format_site defines it as it's option;
- Removed accessing those fields in core code unless we know that format supports them and in this
case instead of $course = $DB->get_record('course'); we use:
$course = course_get_format($courseorid)->get_course(); This way all format-specific options
are added to the $course object
2012-11-02 10:56:19 +08:00
Frederic Massart
68acd1157e
MDL-33766 files: Improved validation of areamaxbytes
2012-11-01 16:47:06 +08:00
Frederic Massart
21e3ea77a3
MDL-33766 files: Support for userquota/size limit in draft areas
2012-11-01 16:46:42 +08:00
Eloy Lafuente (stronk7)
dbaf9d448d
Merge branch 'wip-MDL-22955-m24' of git://github.com/samhemelryk/moodle
2012-10-10 00:35:11 +02:00
Eloy Lafuente (stronk7)
b9570857db
Merge branch 'MDL-35141-master' of git://github.com/sammarshallou/moodle
2012-10-09 00:46:49 +02:00
Sam Hemelryk
436dbeecda
MDL-22955 theme: Added ability to use SVG format for icons
2012-10-08 09:16:14 +13:00
Rex Lorenzo
ff37d63c1b
MDL-35376 - Shortcut/alias not working for Private file repo
2012-09-11 14:23:12 -07:00
sam marshall
ed0f5a9507
MDL-35141 Filelib: No icon for epub filetype
2012-08-30 12:13:56 +01:00
Marina Glancy
db02d84a40
MDL-34290 remove class cache_file as not used
...
in fact we have moodle filepool that can work perfectly for caching files, no need to create new class and storage
2012-08-29 11:56:17 +08:00
Marina Glancy
7e1e775fa4
MDL-34290 Allow to have several requests to the same instance of oauth_helper
2012-08-29 11:56:16 +08:00
Marina Glancy
bc6f241ca2
MDL-34290 repository API: add repository function to import referenced file
...
it must be independed from sync_external_file because sync often does not actually download contents, it is used just to retrieve
the size of the file. Besides the timeouts for get_file and sync requests are very different.
Also add option to send_stored_file() to ignore reference and send cached contents
2012-08-29 11:56:15 +08:00
Marina Glancy
14b7e50001
MDL-34290 update all references after the source is changed
...
- When several records in {files} have the same record in {files_reference} and the synchronisation is performed, we need to update
all records in {files} so all files know if source is changed and that sync was performed;
- also when local moodle file content is changed we immediately update all files referencing to it (therefore sync of references
to the local files is unnecessary);
2012-08-29 11:56:00 +08:00