Commit graph

584 commits

Author SHA1 Message Date
dongsheng
5b5e6a124c MDL-13766, add icon for each repository, fix css style 2008-08-11 07:41:55 +00:00
dongsheng
64be2d6ce1 MDL-13766, some small changes for repository api. 2008-08-11 03:30:09 +00:00
mjollnir_
db79c1b960 MDL-15991 - made box.net client library support change to curl integration with files api
MDL-15992 - added renameFile function to box.net client library
2008-08-09 13:43:01 +00:00
dongsheng
4533e4adc0 MDL-13766
1. fix repository_get_options
2. Use DOM method generate html
2008-08-08 07:11:35 +00:00
dongsheng
aef7291793 MDL-13766, remove repository_local.php file 2008-08-08 03:49:29 +00:00
dongsheng
6a391ebfb4 MDL-13766, revert flickr/repository.class.php, commit local plugin. 2008-08-08 03:47:14 +00:00
dongsheng
837ebb781d MDL-13766
1. Create "local" plugin
2. Improve document
2008-08-08 03:31:51 +00:00
dongsheng
4ed438906d MDL-13766, use a better function name 2008-08-07 08:36:12 +00:00
dongsheng
b6558c3b0c MDL-13766
1. Pass context information to repository
TODO
Not sure about the way to get context, hard to find where we are, because print_textarea and moodle may be used in any place in moodle.
2. Change parameter type in ws.php
2008-08-07 03:33:47 +00:00
dongsheng
f3a6f85b94 MDL-13766, use a better value for itemid. 2008-08-06 08:09:01 +00:00
jerome
dc633c9900 MDL-15402 finally we decided that the repository activation will be done with capabilities, and that there is no need to have a administration page for enable/disable repository, neither sort, neither settings. In administration we will just be able to setup an instance for Moodle context. 2008-08-06 03:30:55 +00:00
dongsheng
e1f2936860 MDL-13766, fix bugs in formlib 2008-08-06 03:26:57 +00:00
dongsheng
765943edc6 MDL-13766, mulit-filepicker in htmleditor worked. 2008-08-05 08:12:21 +00:00
dongsheng
4b844d63ef MDL-13766, more changes to mulit-filepicker in one page. 2008-08-05 05:49:33 +00:00
dongsheng
c2762f06b7 MDL-13766
1. Make mulit-filepicker in one page possible
2. fix lang strings
3. use itemid specify a draft file
TODO
itemid should use a better value.
2008-08-05 05:12:30 +00:00
dongsheng
d8eb6e180c "MDL-13766, use file api to move files" 2008-08-04 05:53:53 +00:00
dongsheng
3570711ad5 "MDL-13766, make params unique" 2008-08-02 15:52:14 +00:00
dongsheng
b3bcaa6268 "MDL-13766, clean up js lib" 2008-08-01 04:23:54 +00:00
dongsheng
3e515a9f73 MDL-13766, tell server side where file picker opened. 2008-08-01 04:10:31 +00:00
dongsheng
6cbb4efbdd MDL-13766, use FILE_API in repository. 2008-08-01 03:40:37 +00:00
dongsheng
92000bb910 MDL-13766, change zindex value of file picker 2008-08-01 03:35:09 +00:00
jerome
c5d2d0dd7c MDL-15402 implementation of repositories administration. Administrator can hide/show/sort/setup repositories. This code has been commited in order to be used by FilePicker.
Because it's doing the same thing than the filter manager, the code is similar. Some generic code need to be done (filter and repository code should use the same function, and the current generic filter lib should be refactor, at least their name). Optimization of original code should also be done if necessary.
2008-07-31 06:01:12 +00:00
dongsheng
feaaa80e9a MDL-13766, print_login for ajax. 2008-07-31 02:54:08 +00:00
dongsheng
c5704ec65a MDL-13766
1. Filepicker component for moodleform
2. Integrate TinyMCE and FilePicker
3. Fix show/hide bug in filepicker
4. Rewrite print_login function for ajax
2008-07-31 02:51:28 +00:00
dongsheng
fdca53eaf1 MDL-15350, fix a bug in boxnet plugin 2008-07-29 03:21:26 +00:00
dongsheng
f5b5732059 MDL-15350, add language string for boxnet plug-in. 2008-07-28 08:52:33 +00:00
dongsheng
30f67e5f0e "MDL-13766, fix nav link" 2008-07-28 08:30:28 +00:00
dongsheng
19add4c03a "MDL-13766, repository settings page" 2008-07-28 08:24:55 +00:00
dongsheng
6135bd451e "MDL-15822, deal with time-out problem of boxnet lib" 2008-07-28 04:08:22 +00:00
dongsheng
a4df52d290 MDL-13766, fix a invalid javascript call in thumbview. 2008-07-24 07:08:22 +00:00
dongsheng
0b030eade3 MDL-13766, press "create" button to create 2 repository instances. 2008-07-24 06:04:13 +00:00
dongsheng
99d99cff1b MDL-13766, rewrite ajax client code, encapsulate all javascrpt code in repository class, which is easy to reuse now. 2008-07-23 12:17:38 +00:00
dongsheng
bf1fccf02b MDL-13766, use exception model to report error. 2008-07-23 04:43:53 +00:00
dongsheng
b3fac92fdc MDL-15350, use penny's patch to apply default value in uploadfile function 2008-07-22 07:24:32 +00:00
dongsheng
764a1dfad1 MDL-13766, fix bugs in javascript, and use different icons in boxnet plugin according to the extension. 2008-07-21 03:26:47 +00:00
dongsheng
284cf75fdb MDL-15348, improve list view of picker, display file size and file updated date. 2008-07-18 16:01:08 +00:00
dongsheng
2040478fb2 MDL-15348, improve list view of picker, display file size and file updated date. 2008-07-18 09:22:46 +00:00
dongsheng
1afc87ad8c MDL-15350, fix bugs of uploading and getauthtoken 2008-07-18 08:09:32 +00:00
dongsheng
84df43de21 MDL-13766
remove require_once call to curl.class.php
2008-07-18 07:44:14 +00:00
dongsheng
bb2c046d5c MDL-13766
1. Move curl and repository_cache class to filelib.php
2. Name the file before downloading it
3. clean up code
2008-07-18 07:40:12 +00:00
dongsheng
1756470e46 MDL-15350, fix typos and remove useless code. 2008-07-17 15:44:34 +00:00
dongsheng
34f210f609 MDL-15350
1. more clean up to boxclient lib
2. rewrite the getauthtoken function of boxclient
TODO
Penny, could you merge your changes into this lib
2008-07-17 15:25:48 +00:00
dongsheng
a9493cbea3 MDL-15350, clean up boxclient lib, fix uploadFile function. 2008-07-17 13:12:09 +00:00
dongsheng
38e554420b MDL-15405
1. Produce repository list dynamicly.
2. Remove logout button, add a logout link after repository name
2008-07-17 09:34:15 +00:00
moodler
208edd7fca Trivial reformatting of code 2008-07-17 06:33:27 +00:00
dongsheng
1e28c767bc MDL-15349
1. Implement downloading files from repositories to temp area, TODO, communicate with FILE API
2. Fix cookie bugs in curl class
3. Fix bugs of boxnet and flickr plugins
2008-07-17 03:54:20 +00:00
thepurpleblob
9faa5c4469 fixed a small typo causing syntac error. 2008-07-16 10:47:50 +00:00
dongsheng
c425472d81 MDL-15349, the implementation of get_file function in repository class. 2008-07-16 05:15:14 +00:00
dongsheng
c5b443d59c MDL-15349, update comment 2008-07-16 04:15:20 +00:00
dongsheng
b4362df095 MDL-15349, add download function, which can download multi-file in paralle. 2008-07-16 04:07:22 +00:00