Issue Details (XML | Word | Printable)

Key: MDL-15488
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Dongsheng Cai
Reporter: Dongsheng Cai
Votes: 0
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-16543

Develop "flickr" plugin for Flickr.com

Created: 01/Jul/08 01:08 PM   Updated: 22/Sep/08 03:09 PM
Return to search
Component/s: Repository API
Affects Version/s: 2.0
Fix Version/s: 2.0

URL: http://docs.moodle.org/en/Development:Flickr_Repository_Plugin
Participants: Dongsheng Cai, Eloy Lafuente (stronk7), Martin Dougiamas and Ralf Hilgenstock
Security Level: None
Resolved date: 22/Sep/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dongsheng Cai committed 5 files to 'Moodle CVS' - 01/Jul/08 03:37 PM
Eloy Lafuente (stronk7) added a comment - 02/Jul/08 02:50 AM
Hi, just saw that the flickr plugin adds a bunch of PEAR stuff to Moodle.

Please, talk with MD about:

  • where to put that PEAR stuff (hopefully it should be in lib/pear)
  • analyse the licence type of those components (perhaps we need to request permission about them).
  • add all the copyrights to http://docs.moodle.org/en/Credits#Moodle_libraries (together with existing PEAR libs)

Ciao


Dongsheng Cai added a comment - 02/Jul/08 09:59 AM
Hi, Eloy, I will talk to Martin about these issues (I am planing remove all the pear code in flickr plug-in)

Dongsheng Cai committed 3 files to 'Moodle CVS' - 02/Jul/08 05:24 PM
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.
MODIFY repository/flickr/Attic/phpFlickr.php   Rev. 1.2    (+51 -333 lines)
MODIFY repository/flickr/repository.class.php   Rev. 1.2    (+1 -1 lines)
ADD repository/Attic/curl.class.php   Rev. 1.1    (+0 -0 lines)
Eloy Lafuente (stronk7) added a comment - 02/Jul/08 07:43 PM
Perfect! Thanks!

Dongsheng Cai committed 9 files to 'Moodle CVS' - 07/Jul/08 02:34 PM
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
ADD repository/Attic/ws.php   Rev. 1.1    (+0 -0 lines)
DEL repository/Attic/ibrowse.php   Rev. 1.2    (+0 -0 lines)
MODIFY repository/Attic/curl.class.php   Rev. 1.2    (+183 -65 lines)
ADD repository/Attic/ajax.php   Rev. 1.1    (+0 -0 lines)
MODIFY repository/boxnet/version.php   Rev. 1.2    (+2 -1 lines)
MODIFY repository/boxnet/repository.class.php   Rev. 1.5    (+75 -26 lines)
MODIFY repository/boxnet/Attic/boxlibphp5.php   Rev. 1.2    (+11 -7 lines)
MODIFY repository/flickr/repository.class.php   Rev. 1.3    (+43 -29 lines)
MODIFY repository/flickr/Attic/phpFlickr.php   Rev. 1.3    (+0 -7 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 07/Jul/08 04:36 PM
MDL-15488, version.php added
ADD repository/flickr/version.php   Rev. 1.1    (+0 -0 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 09/Jul/08 10:44 AM
MDL-15488, fix bugs of curl class.
MODIFY repository/Attic/curl.class.php   Rev. 1.4    (+6 -4 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 09/Jul/08 03:45 PM
Dongsheng Cai committed 1 file to 'Moodle CVS' - 09/Jul/08 03:48 PM
MDL-15488, paging for flickr plugin
MODIFY repository/Attic/ws.php   Rev. 1.3    (+12 -2 lines)
Dongsheng Cai committed 4 files to 'Moodle CVS' - 14/Jul/08 12:34 PM
MDL-15488, searching specific photos in flickr repository.
MODIFY repository/flickr/repository.class.php   Rev. 1.5    (+14 -4 lines)
MODIFY repository/Attic/ws.php   Rev. 1.4    (+6 -2 lines)
MODIFY repository/Attic/ajax.php   Rev. 1.4    (+25 -14 lines)
MODIFY repository/flickr/lang/en_utf8/Attic/repository_flickr.php   Rev. 1.2    (+1 -0 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 14/Jul/08 01:48 PM
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.
MODIFY repository/flickr/Attic/phpFlickr.php   Rev. 1.6    (+1015 -1078 lines)
Ralf Hilgenstock added a comment - 14/Jul/08 04:34 PM
Did the search of repository API in Flickr respect the different Creative Commons licences?

Dongsheng Cai added a comment - 14/Jul/08 07:27 PM
The code is GPL.

Dongsheng Cai made changes - 04/Aug/08 02:47 PM
Field Original Value New Value
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Dongsheng Cai committed 5 files to 'Moodle CVS' - 11/Sep/08 11:18 AM
MDL-15488
Use a popup login window intead inline login form
TODO:
Find a grace way to verify token
MODIFY repository/flickr/repository.class.php   Rev. 1.35    (+65 -96 lines)
MODIFY repository/flickr/Attic/phpFlickr.php   Rev. 1.9    (+22 -41 lines)
MODIFY lang/en_utf8/repository.php   Rev. 1.35    (+2 -1 lines)
MODIFY repository/lib.php   Rev. 1.110    (+12 -5 lines)
MODIFY repository/Attic/ws.php   Rev. 1.35    (+16 -11 lines)
Mitsuhiro Yoshida committed 1 file to 'Lang CVS' - 11/Sep/08 02:30 PM
MDL-15488 - Translated a new string for repository.
MODIFY ja_utf8/repository.php   Rev. 1.25    (+1 -0 lines)
Dongsheng Cai added a comment - 12/Sep/08 11:31 AM
Reopen for further development.

Dongsheng Cai made changes - 12/Sep/08 11:31 AM
Status Resolved [ 5 ] Reopened [ 4 ]
Resolution Fixed [ 1 ]
Dongsheng Cai committed 7 files to 'Moodle CVS' - 12/Sep/08 11:32 AM
MDL-15488
1. Move flickr lib to lib/flickrlib.php
2. Create a new flickr plugin for public access, the original one will be
a personal repository, user need to login to access his/her own photos.
MODIFY portfolio/type/flickr/Attic/lib.php   Rev. 1.5    (+1 -1 lines)
ADD repository/flickr_public/repository.class.php   Rev. 1.1    (+0 -0 lines)
ADD lib/flickrlib.php   Rev. 1.1    (+0 -0 lines)
MODIFY repository/flickr/repository.class.php   Rev. 1.39    (+6 -23 lines)
ADD lang/en_utf8/repository_flickr_public.php   Rev. 1.1    (+0 -0 lines)
MODIFY repository/flickr_public/icon.png   Rev. 1.1    (+0 -0 lines)
DEL repository/flickr/Attic/phpFlickr.php   Rev. 1.10    (+0 -0 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 12/Sep/08 11:36 AM
"MDL-15488, use a smaller icon for flickr"
MODIFY repository/flickr/icon.png   Rev. 1.2    (+0 -0 lines)
Mitsuhiro Yoshida committed 8 files to 'Lang CVS' - 12/Sep/08 02:24 PM
MDL-15402 - Translated new strings for repository flickr.
MDL-14129 - Translated a new string for forum.
MDL-16410, MDL-6751 - Translated new strings for admin.
MDL-14202 - Translated new strings for quiz statistics.
MDL-16423 - Translated a new string for portfolio.
MDL-16422 - Translated new strings for box.net portfolio.
MDL-15488 - Adding a translated lang file for flickr public access.
ADD ja_utf8/repository_flickr_public.php   Rev. 1.1    (+0 -0 lines)
MODIFY ja_utf8/quiz_statistics.php   Rev. 1.16    (+11 -3 lines)
MODIFY ja_utf8/README   Rev. 1.811    (+1 -1 lines)
MODIFY ja_utf8/portfolio_boxnet.php   Rev. 1.7    (+3 -1 lines)
MODIFY ja_utf8/portfolio.php   Rev. 1.20    (+1 -0 lines)
MODIFY ja_utf8/repository_flickr.php   Rev. 1.3    (+5 -1 lines)
MODIFY ja_utf8/admin.php   Rev. 1.301    (+11 -1 lines)
MODIFY ja_utf8/forum.php   Rev. 1.79    (+2 -1 lines)
Jerome Mouneyrac committed 2 files to 'Moodle CVS' - 16/Sep/08 10:01 AM
MDL-15488: format code (mostly white space) + skeleton for documentation
MODIFY repository/flickr/repository.class.php   Rev. 1.43    (+136 -30 lines)
MODIFY repository/flickr_public/repository.class.php   Rev. 1.7    (+128 -29 lines)
Martin Dougiamas made changes - 17/Sep/08 09:55 AM
Parent Issue MDL-13766 [ MDL-13766 ] MDL-16543 [ MDL-16543 ]
Martin Dougiamas added a comment - 17/Sep/08 10:00 AM
Note this has now split into two plugins: "flickr" and "flickrpublic" because they have quite different needs.

Dongsheng Cai committed 1 file to 'Moodle CVS' - 18/Sep/08 05:34 PM
"MDL-15488, change default instance name"
MODIFY repository/flickr_public/repository.class.php   Rev. 1.19    (+2 -2 lines)
Dongsheng Cai committed 2 files to 'Moodle CVS' - 19/Sep/08 12:44 PM
MDL-15488, use paging in tag searching
MODIFY repository/flickr_public/repository.class.php   Rev. 1.20    (+27 -7 lines)
MODIFY repository/Attic/javascript.php   Rev. 1.5    (+22 -4 lines)
martignoni committed 1 file to 'Lang CVS' - 21/Sep/08 05:12 PM
MDL-15488 string popup
MODIFY fr_utf8/repository.php   Rev. 1.36    (+2 -1 lines)
Dongsheng Cai committed 3 files to 'Moodle CVS' - 22/Sep/08 09:10 AM
MDL-15488, move search_result flag to ws.php
MODIFY repository/lib.php   Rev. 1.130    (+1 -2 lines)
MODIFY repository/Attic/ws.php   Rev. 1.43    (+4 -2 lines)
MODIFY repository/flickr_public/repository.class.php   Rev. 1.21    (+1 -2 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 22/Sep/08 09:30 AM
"MDL-15488, fix problem when user use flickr account from form"
MODIFY repository/flickr_public/repository.class.php   Rev. 1.22    (+16 -1 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 22/Sep/08 02:32 PM
"MDL-15488, fix preview URL"
MODIFY repository/flickr_public/repository.class.php   Rev. 1.23    (+2 -2 lines)
Dongsheng Cai made changes - 22/Sep/08 03:09 PM
Resolution Fixed [ 1 ]
Status Reopened [ 4 ] Resolved [ 5 ]
Dongsheng Cai committed 2 files to 'Moodle CVS' - 23/Sep/08 10:49 AM
MDL-15488, improve popup logging screen
MODIFY repository/Attic/javascript.php   Rev. 1.7    (+5 -3 lines)
MODIFY lang/en_utf8/repository.php   Rev. 1.38    (+2 -1 lines)
martignoni committed 1 file to 'Lang CVS' - 24/Sep/08 02:54 AM
MDL-15488 new lang file added
ADD fr_utf8/repository_flickr_public.php   Rev. 1.1    (+0 -0 lines)
Mitsuhiro Yoshida committed 7 files to 'Lang CVS' - 24/Sep/08 12:30 PM
MDL-10107, MDL-16267 - Updated translated strings for Messaging interface based on lang/en_utf8 change.
MDL-15488 - Translated a new string for repository.
MDL-16486 - Translated new strings for simple test.
MODIFY ja_utf8/message.php   Rev. 1.21    (+7 -7 lines)
MODIFY ja_utf8/simpletest.php   Rev. 1.14    (+5 -1 lines)
MODIFY ja_utf8/admin.php   Rev. 1.305    (+2 -2 lines)
MODIFY ja_utf8/messageprocessor_jabber.php   Rev. 1.2    (+3 -2 lines)
MODIFY ja_utf8/repository.php   Rev. 1.28    (+2 -1 lines)
MODIFY ja_utf8/messageprocessor_popup.php   Rev. 1.2    (+2 -2 lines)
MODIFY ja_utf8/README   Rev. 1.822    (+1 -1 lines)
Dongsheng Cai committed 2 files to 'Moodle CVS' - 24/Sep/08 02:22 PM
"MDL-15488, modify declaration of function to use pass-by-reference"
MODIFY repository/flickr_public/repository.class.php   Rev. 1.25    (+3 -3 lines)
MODIFY repository/flickr_public/repository.class.php   Rev. 1.24    (+2 -2 lines)
martignoni committed 1 file to 'Lang CVS' - 13/Oct/08 04:37 AM
MDL-15488 string added
MODIFY fr_utf8/repository.php   Rev. 1.39    (+2 -1 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 21/Nov/08 01:19 PM
"MDL-15488, improve flickr plugin"
MODIFY repository/flickr_public/repository.class.php   Rev. 1.27    (+78 -62 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 21/Nov/08 04:07 PM
"REPOSITORY/MDL-15488, send 'search_result' flag to file picker"
MODIFY repository/flickr_public/repository.class.php   Rev. 1.28    (+6 -5 lines)
Dongsheng Cai committed 2 files to 'Moodle CVS' - 24/Nov/08 02:20 PM
REPOSITORY/MDL-15488
change default value (how many photos per page)
MODIFY repository/flickr_public/repository.class.php   Rev. 1.29    (+3 -3 lines)
MODIFY repository/flickr/repository.class.php   Rev. 1.52    (+4 -4 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 02/Dec/08 04:03 PM
REPOSITORY/MDL-15488
lang strings for flickr public plugin
MODIFY lang/en_utf8/repository_flickr_public.php   Rev. 1.3    (+3 -1 lines)
Mitsuhiro Yoshida committed 3 files to 'Lang CVS' - 02/Dec/08 05:28 PM
MDL-16597 Translated a new string for ajax filemanager.
MDL-15488 Translated new strings forflickr public plugin.
MODIFY ja_utf8/repository_flickr_public.php   Rev. 1.3    (+3 -1 lines)
MODIFY ja_utf8/repository.php   Rev. 1.31    (+2 -1 lines)
MODIFY ja_utf8/README   Rev. 1.882    (+1 -1 lines)
martignoni committed 1 file to 'Lang CVS' - 08/Dec/08 12:19 AM
MDL-15488 New strings translated
MODIFY fr_utf8/repository_flickr_public.php   Rev. 1.2    (+3 -1 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 14/Jan/09 03:45 PM
"MDL-15488, fix current page value"
MODIFY repository/flickr/repository.class.php   Rev. 1.55    (+2 -2 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 20/Apr/09 05:00 PM
"MDL-15488, fix flickr searching problem"
MODIFY repository/flickr_public/repository.class.php   Rev. 1.38    (+2 -5 lines)
Dongsheng Cai committed 1 file to 'Moodle CVS' - 06/Nov/09 05:21 PM
"MDL-15488, fixed callback url for flickr repository plugin"
MODIFY repository/flickr/repository.class.php   Rev. 1.66    (+1 -1 lines)