Commit graph

117 commits

Author SHA1 Message Date
jerome
daff8f506b MDL-15402: refactor admin_config_form() into type_config_form() 2008-09-18 03:06:10 +00:00
jerome
06e65e1e67 MDL-15402: remove has_admin_config() and has_instance_config() from repository lib and all repository plugins 2008-09-18 02:36:17 +00:00
jerome
e49eaacbc9 MDL-15402: add some help texts to filckr/boxnet plugins 2008-09-17 06:09:10 +00:00
dongsheng
353d5cf39b MDL-13766
1. Clean up source code
2. use search api replace old get_listing api
2008-09-16 03:11:17 +00:00
jerome
bddcd93318 MDL-15350: format code (mostly white spaces) + skeleton for documentation 2008-09-16 02:09:35 +00:00
dongsheng
ca0174ccce MDL-13766
1. remove repo_id field in plugin
2. remove reset varible in javascript code.
2008-09-15 09:42:38 +00:00
dongsheng
d68c527f68 MDL-13766
1. create logout() and check_login() function
2. Remove the code use global varibal
2008-09-15 09:31:41 +00:00
jerome
0868f619c5 MDL-15402: flickr rep admin settings updated 2008-09-11 06:42:54 +00:00
dongsheng
1cd9bd802a "MDL-13766, remove debug code" 2008-09-10 05:20:08 +00:00
dongsheng
615a28597e MDL-16403
1. move boxnet lib to moodle lib folder
2. fix a notice
2008-09-10 03:10:42 +00:00
mjollnir_
dff30094cc MDL-15350 - make boxnet client implement sane defaults for createfolder as well as upload file 2008-09-09 20:57:46 +00:00
dongsheng
d05ef4a37a MDL-13766
1. fix boxnet search feature
2. fix bugs in global search
2008-09-08 06:20:24 +00:00
dongsheng
455860cecb MDL-13766, global search enabled. 2008-09-08 05:38:13 +00:00
jerome
a660039578 MDL-15402: new version of repository administration 2008-09-02 08:58:53 +00:00
dongsheng
31640be23a MDL-13766, add a navbar to thumbnail view. 2008-09-01 03:07:16 +00:00
dongsheng
70d91d90ab MDL-13766, trim api_key 2008-08-30 16:48:11 +00:00
dongsheng
0eaa8c5cb0 MDL-13766
1. attach seekey to ajax request
2. fix string
2008-08-29 07:45:35 +00:00
jerome
c9f9f91159 MDL-13766: refactor all repository_instance() => repository_get_instance() 2008-08-28 05:23:07 +00:00
dongsheng
55b4bb1d9e MDL-13766, fix lang strings and small bugs 2008-08-27 06:23:01 +00:00
dongsheng
336bb44bf7 MDL-13766
1. click thumbnail to download or view target file
2. fix css issues
3. boxnet api url changed
2008-08-27 04:17:35 +00:00
dongsheng
27051e4319 MDL-13766
1. Chanage database, create 2 more tables for repository
2. One-step download in file picker
2008-08-26 07:20:56 +00:00
dongsheng
68e374a6c1 MDL-13766, boxnet files show as a tree now! 2008-08-21 09:27:39 +00:00
dongsheng
c145b65732 MDL-13766, fix javascript error and improve css. 2008-08-21 08:07:08 +00:00
dongsheng
f692fb10f9 MDL-13766, fix a not_logged_in bug 2008-08-20 07:51:42 +00:00
dongsheng
ed2408e14c MDL-13766, use one api_key for all boxnet instances 2008-08-20 07:26:10 +00:00
dongsheng
ae8d6f2377 MDL-13766
Show manage link for each repository
2008-08-20 06:38:10 +00:00
dongsheng
5fd3e8f72e MDL-13766
improve action parameter, add comments for local plugin
2008-08-20 04:24:38 +00:00
dongsheng
1c7bf19025 MDL-13766
Better tree building
2008-08-20 03:47:05 +00:00
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