1 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
2 | <!-- |
---|
3 | $Id: extensions.xml 1636 2012-05-03 11:23:14Z nicklas $ |
---|
4 | |
---|
5 | Copyright (C) 2010 Nicklas Nordborg |
---|
6 | |
---|
7 | This file is part of Bittorent download service for BASE. |
---|
8 | Available at http://baseplugins.thep.lu.se/ |
---|
9 | |
---|
10 | BASE is free software; you can redistribute it and/or |
---|
11 | modify it under the terms of the GNU General Public License |
---|
12 | as published by the Free Software Foundation; either version 2 |
---|
13 | of the License, or (at your option) any later version. |
---|
14 | |
---|
15 | BASE is distributed in the hope that it will be useful, |
---|
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
18 | GNU General Public License for more details. |
---|
19 | |
---|
20 | You should have received a copy of the GNU General Public License |
---|
21 | along with this program; if not, write to the Free Software |
---|
22 | Foundation, Inc., 59 Temple Place - Suite 330, |
---|
23 | Boston, MA 02111-1307, USA. |
---|
24 | --> |
---|
25 | <extensions xmlns="http://base.thep.lu.se/extensions.xsd"> |
---|
26 | <about> |
---|
27 | <name>Bittorrent download service</name> |
---|
28 | <description> |
---|
29 | This extension adds a bittorrent service to the BASE installation. |
---|
30 | User can upload a torrent file to the service which will then |
---|
31 | automatically download the files to the BASE server and store |
---|
32 | them in directory on the BASE file system choosen by the user. |
---|
33 | Note! The service doesn't include a tracker and can't be used |
---|
34 | for downloading files from BASE. |
---|
35 | </description> |
---|
36 | <version>0.2-dev</version> |
---|
37 | <min-base-version>3.1.0</min-base-version> |
---|
38 | <copyright>BASE development team</copyright> |
---|
39 | <email>basedb-users@lists.sourceforge.net</email> |
---|
40 | <url>http://baseplugins.thep.lu.se/wiki/net.sf.basedb.torrent</url> |
---|
41 | </about> |
---|
42 | <extension |
---|
43 | id="net.sf.basedb.clients.torrent.service" |
---|
44 | extends="net.sf.basedb.clients.web.services" |
---|
45 | > |
---|
46 | <index>20</index> |
---|
47 | <action-factory> |
---|
48 | <factory-class> |
---|
49 | net.sf.basedb.clients.torrent.service.TorrentServiceControllerFactory |
---|
50 | </factory-class> |
---|
51 | </action-factory> |
---|
52 | </extension> |
---|
53 | <extension |
---|
54 | id="net.sf.basedb.clients.bittorrent.upload" |
---|
55 | extends="net.sf.basedb.clients.web.toolbar.list.file" |
---|
56 | > |
---|
57 | <about> |
---|
58 | <name>Upload torrent</name> |
---|
59 | <description>Adds a 'Upload torrent' button to the File manager</description> |
---|
60 | </about> |
---|
61 | <index>10</index> |
---|
62 | <action-factory> |
---|
63 | <factory-class>net.sf.basedb.clients.web.extensions.toolbar.FixedButtonFactory</factory-class> |
---|
64 | <parameters> |
---|
65 | <title>Upload torrent&hellip;</title> |
---|
66 | <onClick>Main.openPopup('$HOME$/upload_torrent.jsp?ID=' + getSessionId(), 'UploadTorrent', 640, 480)</onClick> |
---|
67 | <icon>~/bittorrent.png</icon> |
---|
68 | </parameters> |
---|
69 | </action-factory> |
---|
70 | </extension> |
---|
71 | </extensions> |
---|