Marina Glancy
59cb759850
MDL-34290 repository API: do not confuse source and reference
...
make sure that repository function get_file_source_info receives as argument the source of the file,
and get_file receives a reference;
reference is a value of DB field files_reference.reference and result of get_file_reference(source).
Fix dropbox as the only repository that have different values in those fields;
also added information about user in dropbox reference and original
2012-08-29 11:56:14 +08:00
Rajesh Taneja
960f437972
MDL-30792 Files API: Cleaner approach to get maxbytes size in filepicker
2012-08-03 11:20:55 +08:00
Rajesh Taneja
7030756a98
MDL-30792 Files API: maxbytes will be set by get_max_upload_file_size if less then 0 or greater then max moodle limit
2012-08-03 11:06:00 +08:00
Marina Glancy
6dc82385ab
MDL-33950 Correctly initialise repository and check access in js and non-js filepicker
2012-07-06 09:44:07 +08:00
Marina Glancy
7e897e67ab
MDL-33473,MDL-33950,MDL-33837 Allow non-js filepicker to pick files from moodle repositories
...
- MDL-33473 actually make non-js filepicker to work with local repositories
- MDL-33950 validate that file is accessible
- MDL-33837 when picking a server file marked as main, do not make it main in current filearea
2012-07-06 09:44:07 +08:00
Marina Glancy
83d2700ec9
MDL-33832 Fixed filling of files.source field
...
- also supress the error on unserialise (because people already may have broken files.source field)
- also display details about unparseable JSON error
- make source field look the same across repositories
2012-06-20 16:09:37 +08:00
Andrew Davis
8ac95c279c
MDL-27156 repository: Added a new capability so that select users can bypass file size restrictions
2012-06-14 09:19:25 +07:00
Rossiani Wijaya
4239150a60
MDL-33322 Filepicker: fix filepicker for recent file with JS turned of
2012-05-31 12:06:32 +08:00
Rossiani Wijaya
1e98e05f03
MDL-33196 filepicker: fixed link output error
2012-05-24 13:43:01 +08:00
Petr Skoda
f0202ae9a2
MDL-30686 improve accuracy of qualified_me() by trying PAGE->url first
...
This should help SSL proxies and returning to current page after require_login().
2012-04-27 13:39:18 +02:00
Marina Glancy
8685679a2a
MDL-31928: Fixing bugs in repository_url
...
- if the same image occurs several times on the page list it only once
- resolve image path correctly if it has a query string
- show images included in CSS
- non-JS file picker ignores thumbnail width and height attributes (this is a temp fix until renderers are implemented)
2012-04-23 09:33:27 +08:00
Sam Hemelryk
3211569a6a
Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
...
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Rossiani Wijaya
f9f281b8fe
MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag
2012-03-30 16:26:58 +08:00
Marina Glancy
20ee508499
MDL-31929: Repositories wikimedia and youtube lack paging
...
repositories wikimedia and youtube:
- save last search in
- process parameter 'page'
- remove buttons 'Refresh', 'Search' and 'Logout' since they don't have meaning
filepicker:
- allow unknown number of pages (['pages'] = -1), show one 'Next' page after the current (both JS and non-JS modes)
repository wikimedia:
- add non-AJAX search form to make it work with JS disabled
2012-03-12 11:35:50 +08:00
Petr Skoda
84641adc3b
MDL-19380 fix redirect when virus found in JS-less mode
2011-08-18 09:01:53 +02:00
Petr Skoda
431ac39634
MDL-26623 fix file permissions
...
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Dongsheng Cai
75d138a312
"MDL-25497, fixed Non-JavaScript file uploader generates warnings, credits to Tim Lock"
2010-12-02 07:26:25 +00:00
Dongsheng Cai
29199e56f8
"MDL-24534, fixed filepicker pagnation, credits to Gerwood Stewart"
2010-10-14 08:51:08 +00:00
Petr Skoda
6bdfef5da9
MDL-24321 switching to standard stdClass()
2010-09-21 08:54:01 +00:00
Petr Skoda
9efa43f381
removing obsolete parameter
2010-09-17 19:50:53 +00:00
Petr Skoda
5d354ded1a
standardized PHPDocs package info
2010-09-06 11:17:43 +00:00
Dongsheng Cai
7126772325
"MDL-23786, added sesskey and added s() filter"
2010-08-13 06:53:28 +00:00
Dongsheng Cai
bf1873c60b
"MDL-23065, non javascript filepicker, fixed maxfiles condition, improve ui"
2010-08-06 05:44:16 +00:00
Dongsheng Cai
563d04175a
MDL-23065, fix non js filepicker
2010-08-04 03:57:10 +00:00
Martin Dougiamas
49147814fc
MDL-23065 Re-enable, but print big error for developers
2010-07-05 08:57:47 +00:00
Dongsheng Cai
e35194bec4
MDL-22982
...
1. rename repository.class to lib.php
2. fixed repository_callback.php
3. repository_ajax use moodle default exception handler
4. improve file_get_user_used_space performance
2010-07-05 07:27:49 +00:00
Petr Skoda
64f93798d4
MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment
2010-07-03 13:37:13 +00:00
Dongsheng Cai
b2c8e7a733
"MDL-13766, don't use hard-coded filename"
2010-06-09 06:44:31 +00:00
Dongsheng Cai
7215f6a11a
"MDL-13766, improved non javascript file picker for user private area browsing"
2010-06-09 03:14:55 +00:00
Dongsheng Cai
e5051df334
"MDL-13766, fix non-js filepicker"
2010-04-29 07:01:00 +00:00
Dongsheng Cai
14469892ac
MDL-13766, improve repository code to store source information
2010-03-25 07:54:19 +00:00
Dongsheng Cai
ef3e1fbcb3
"MDL-13766, fixed typo"
2010-03-22 01:55:40 +00:00
Dongsheng Cai
d10c92f3a5
"MDL-13766, fixed context default value"
2010-03-16 03:30:29 +00:00
Dongsheng Cai
ad13710756
"MDL-15405, fixed non-js filepicker url, need more work on nonjs version"
2010-03-15 06:29:47 +00:00
Dongsheng Cai
a14a933c2b
"MDL-16596, fixed nonjs filemanager"
2010-03-07 16:40:25 +00:00
Petr Skoda
929d7a8362
MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits
2010-02-17 16:59:41 +00:00
Petr Skoda
c63923bddb
MDL-20204 converted action_icon
2010-02-16 16:24:49 +00:00
Petr Skoda
8ae8bf8a14
MDL-21198 OUTPUT->action_icon improvements, refactoring and fixing conversion regressions
2010-01-02 13:17:54 +00:00
Petr Skoda
b5d0cafc6f
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
2009-12-16 21:50:45 +00:00
Petr Skoda
47ce714bc0
MDL-21142 minor cleanup in out() default params
2009-12-16 21:33:01 +00:00
Petr Skoda
78946b9bdb
MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks
2009-12-16 18:00:58 +00:00
Dongsheng Cai
9cbced1d2e
"MDL-16596, fixed upload in non-js filepicker"
2009-12-03 04:40:09 +00:00
Dongsheng Cai
6f2cd52aa5
"MDL-19181, 1. fixed repository listing when using non-admin role 2. added boilerplate"
2009-11-06 09:07:46 +00:00
dongsheng
4ba3169d21
"MDL-16697, add savepath parameter to filepicker, fixed title click event in filepicker"
2009-09-09 04:59:58 +00:00
dongsheng
af804e3e0f
"MDL-16596, make non-js filemanager identical to ajax filemanager, added more language strings"
2009-09-04 06:48:26 +00:00
dongsheng
f0e5f031c7
"MDL-16596, imporve non-javascript file manager, add useful functions to filelib"
2009-09-03 06:53:40 +00:00
dongsheng
8ea068a2f5
"MDL-16596, improved non-js filemanager, 1. supported subfolder 2. browse draft area 3. create new folder 4. zip folder & unzip archiev"
2009-09-02 05:43:01 +00:00
nicolasconnault
beb56299ec
MDL-19786 Renamed user_picture and action_icon component classes to moodle_user_picture and moodle_action_icon. Also moved around the classes in a more logical order in outputcomponents.php
2009-08-10 06:37:29 +00:00
nicolasconnault
2b65ce4347
MDL-19821 Converted calls to print_paging_bar
2009-08-07 00:34:17 +00:00
nicolasconnault
6fd42112e6
MDL-19821 Converted all print_footer() calls
2009-08-06 14:07:52 +00:00