source: extensions/net.sf.basedb.torrent/trunk/META-INF/extensions.xml @ 1304

Last change on this file since 1304 was 1304, checked in by Nicklas Nordborg, 11 years ago

Added support for aborting a torrent upload. Added support for resuming uploads in case of a server restart.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Date Id
File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2<!--
3  $Id: extensions.xml 1304 2011-03-03 08:19:00Z 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.2pre</version>
37    <url>http://baseplugins.thep.lu.se/wiki/net.sf.basedb.torrent</url>
38  </about>
39  <extension
40    id="net.sf.basedb.clients.torrent.service"
41    extends="net.sf.basedb.clients.web.services"
42    >
43    <index>20</index>
44    <action-factory>
45      <factory-class>
46        net.sf.basedb.clients.torrent.service.TorrentServiceControllerFactory
47      </factory-class>
48    </action-factory>
49  </extension>
50  <extension
51    id="net.sf.basedb.clients.bittorrent.upload"
52    extends="net.sf.basedb.clients.web.toolbar.list.file"
53    >
54    <about>
55      <name>Upload torrent</name>
56      <description>Adds a 'Upload torrent' button to the File manager</description>
57    </about>
58    <index>10</index>
59    <action-factory>
60      <factory-class>net.sf.basedb.clients.web.extensions.toolbar.FixedButtonFactory</factory-class>
61      <parameters>
62        <title>Upload torrent&amp;hellip;</title>
63        <onClick>Main.openPopup('$HOME$/upload_torrent.jsp?ID=' + getSessionId(), 'UploadTorrent', 640, 480)</onClick>
64        <icon>~/bittorrent.png</icon>
65      </parameters>
66    </action-factory>
67  </extension>
68</extensions>
Note: See TracBrowser for help on using the repository browser.