163 Commits

Author SHA1 Message Date
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
dongsheng
588d39547d MDL-15349, add proxy support to curl class. 2008-07-15 07:14:29 +00:00
dongsheng
6e1c2bedf8 MDL-15488, clean up phpFlickr code, remove all cache code(it has been implemented in curl class), clean up session code, remove useless code for repository_api. 2008-07-14 05:48:57 +00:00
dongsheng
aa754fe3d4 MDL-15350, search files in box.net repository. 2008-07-14 05:31:01 +00:00
dongsheng
75e7a38c7d MDL-15488, searching specific photos in flickr repository. 2008-07-14 04:34:26 +00:00
dongsheng
9dd6ef3b98 MDL-15350
1. Improve UI, could select repository files, view files in thumbnail and list view without new http traffic
2. Paging flickr
3. Fix undefined varible in boxnet plugin
4. Cache http request
2008-07-11 06:15:21 +00:00
dongsheng
5bce597214 MDL-15488, paging for flickr plugin 2008-07-09 07:48:33 +00:00
dongsheng
b2d8bce62a MDL-15350, bugs fix. 2008-07-09 07:46:30 +00:00
dongsheng
a9fd1e486e MDL-15488, bugs fix. 2008-07-09 07:45:23 +00:00
dongsheng
a5efac3bd0 MDL-15488, fix bugs of curl class. 2008-07-09 02:44:44 +00:00
dongsheng
52ffbaae61 MDL-15349, cache enabled lib.php. 2008-07-08 05:02:41 +00:00
dongsheng
9d8047cb77 MDL-15349, repository_cache class added, which can reduce request time significantly. 2008-07-08 05:00:59 +00:00
dongsheng
683354006f MDL-15402, add lang file for flickr plugin. 2008-07-08 01:45:00 +00:00
dongsheng
dd590cd233 MDL-15402, lang files for boxnet plugin. 2008-07-08 01:43:41 +00:00
dongsheng
eaba88e917 MDL-15488, version.php added 2008-07-07 08:36:53 +00:00
dongsheng
97f7393dcc "MDL-15349, create a new function to get all repository plugins" 2008-07-07 06:54:39 +00:00
dongsheng
ed461df329 MDL-15348, remove useless image 2008-07-07 06:37:55 +00:00
dongsheng
0eb58cf43a MDL-15488
1. Create a ajax file picker, which can switch views(list and thumbnail now), transfer json data between server and client side
2. Improve curl.class.php
3. Improve boxnet plugin, which won't need to redirect box.net to authenticate from now on
4. Improve flickr plugin
2008-07-07 06:34:39 +00:00
dongsheng
93bad69cfb MDL-15488, remove PEAR 2008-07-02 09:35:18 +00:00
dongsheng
8ee6bcbccc MDL-15488, remove PEAR lib 2008-07-02 09:30:48 +00:00
dongsheng
d72ff7a208 MDL-15488.
1. Remove all the pear stuff in flickr plug-in.
2. Remove database cache for flickr plugin-in, it will be back soon.
3. Remove uploading, repository doesn't need it.
4. Create a curl wrapper class by myself, so no license issues anymore, I will continue to improve it.
2008-07-02 09:24:29 +00:00
dongsheng
36ea9a6c98 "MDL-15488, flickr plug-in added" 2008-07-01 07:37:41 +00:00