Commit graph

39 commits

Author SHA1 Message Date
dongsheng
d373f63f9b MDL-13766
1. Use treeview display files in repository
2. Dymanicly loading file support
3. Upload file in local repository plugin
4. Move file picker to the top level of DOM
5. get original photo format from flickr web service
2008-08-20 02:52:29 +00:00
dongsheng
d85b412960 MDL-13766, remove old lang file in plugin folder 2008-08-15 03:27:30 +00:00
dongsheng
621dca51f8 MDL-13766, test api_key, and remove shared secret in flickr plug-in 2008-08-14 06:48:58 +00:00
dongsheng
eb9aa68370 MDL-13766
1. worked with muliti-instance of same plugins
2. get API KEY from database
2008-08-13 08:35:18 +00:00
dongsheng
4a65c39a46 MDL-15402, add admin setting page, to meet requirement, make some changes to repository base class. 2008-08-13 04:09:13 +00:00
dongsheng
5b5e6a124c MDL-13766, add icon for each repository, fix css style 2008-08-11 07:41:55 +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
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
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
3570711ad5 "MDL-13766, make params unique" 2008-08-02 15:52:14 +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
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
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
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
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
dongsheng
aa754fe3d4 MDL-15350, search files in box.net repository. 2008-07-14 05:31:01 +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
b2d8bce62a MDL-15350, bugs fix. 2008-07-09 07:46:30 +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
dd590cd233 MDL-15402, lang files for boxnet plugin. 2008-07-08 01:43:41 +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
36ea9a6c98 "MDL-15488, flickr plug-in added" 2008-07-01 07:37:41 +00:00
dongsheng
0f59046fa2 "MDL-15350, boxnet plug-in worked now" 2008-06-30 07:10:13 +00:00
dongsheng
7851038bd8 "MDL-15350, change classname here" 2008-06-30 05:22:00 +00:00
dongsheng
d710e1001c MDL-15350, Initial Revision of boxnet plugin 2008-06-27 06:19:40 +00:00