filetea:filetea.git
6 years agorelease: 0.1.8 0.1.8
Eduardo Lima Mitev [Sat, 22 Oct 2011 18:46:08 +0000 (20:46 +0200)]
release: 0.1.8

6 years agobuild: Raises required version of EventDance to 0.1.14
Eduardo Lima Mitev [Sat, 22 Oct 2011 18:38:21 +0000 (20:38 +0200)]
build: Raises required version of EventDance to 0.1.14

due to new used API from EvdJsonrpc.

6 years agohtml: Makes DownloadView use new method getRemotePeerId() of Ft
Eduardo Lima Mitev [Sat, 22 Oct 2011 16:38:29 +0000 (18:38 +0200)]
html: Makes DownloadView use new method getRemotePeerId() of Ft

6 years agohtml: Adds new method getRemotePeerId() to Ft object
Eduardo Lima Mitev [Sat, 22 Oct 2011 16:37:29 +0000 (18:37 +0200)]
html: Adds new method getRemotePeerId() to Ft object

6 years agohtml: Adds a 'Transfers' section into main manu
Eduardo Lima Mitev [Sat, 22 Oct 2011 16:26:59 +0000 (18:26 +0200)]
html: Adds a 'Transfers' section into main manu

together with a TransfersView widget.

6 years agohtml: Implements API for tab highlighting (blinking) in UxManager
Eduardo Lima Mitev [Sat, 22 Oct 2011 14:54:08 +0000 (16:54 +0200)]
html: Implements API for tab highlighting (blinking) in UxManager

A setHightlight() public method is added to UxManager.

6 years agohtml: Adds a DownloadView widget and integrates it in Ux
Eduardo Lima Mitev [Sat, 22 Oct 2011 14:48:18 +0000 (16:48 +0200)]
html: Adds a DownloadView widget and integrates it in Ux

This will also remove the temporary code in ContentManager previously providing
download view functionality.

6 years agohtml: Adds new method getCurrent() to ContentManaget
Eduardo Lima Mitev [Sat, 22 Oct 2011 14:44:10 +0000 (16:44 +0200)]
html: Adds new method getCurrent() to ContentManaget

It returns the id of the current content being shown.

6 years agohtml: Adds a second argument 'callback' to open() method of ContentManager
Eduardo Lima Mitev [Sat, 22 Oct 2011 14:41:34 +0000 (16:41 +0200)]
html: Adds a second argument 'callback' to open() method of ContentManager

6 years agohtml: Implements new method 'cancel()' in TransfersManager
Eduardo Lima Mitev [Fri, 21 Oct 2011 15:33:44 +0000 (17:33 +0200)]
html: Implements new method 'cancel()' in TransfersManager

6 years agohtml: Prevents FileSources to accept a file with invalid size (<= 0)
Eduardo Lima Mitev [Fri, 21 Oct 2011 15:32:04 +0000 (17:32 +0200)]
html: Prevents FileSources to accept a file with invalid size (<= 0)

6 years agohtml: Implements transfer status reporting in TransferManager
Eduardo Lima Mitev [Fri, 21 Oct 2011 15:30:22 +0000 (17:30 +0200)]
html: Implements transfer status reporting in TransferManager

6 years agohtml: Removes RPC object caching in FileTransfer manager
Eduardo Lima Mitev [Fri, 21 Oct 2011 15:28:17 +0000 (17:28 +0200)]
html: Removes RPC object caching in FileTransfer manager

RPC object should be obtained using 'rpcFunc' argument, anytime it is needed.

6 years agohtml: Sets the id attr of the tabs 'ul' and its 'li' items
Eduardo Lima Mitev [Fri, 21 Oct 2011 15:09:39 +0000 (17:09 +0200)]
html: Sets the id attr of the tabs 'ul' and its 'li' items

This is to be able to reference them to implement tab highlight (blinking).

6 years agoImplements new RPC method 'cancelTransfer' in FileteaNode
Eduardo Lima Mitev [Fri, 21 Oct 2011 15:06:58 +0000 (17:06 +0200)]
Implements new RPC method 'cancelTransfer' in FileteaNode

6 years agoImplements transfer status reporting to remote peer at regular intervals
Eduardo Lima Mitev [Fri, 21 Oct 2011 15:04:22 +0000 (17:04 +0200)]
Implements transfer status reporting to remote peer at regular intervals

6 years agoAdds data structure to track transfers grouped by peers in FileteaNode
Eduardo Lima Mitev [Fri, 21 Oct 2011 15:00:44 +0000 (17:00 +0200)]
Adds data structure to track transfers grouped by peers in FileteaNode

This is a convenient way of grouping transfers to allow status reporting ot all
transfers of a peer at once.

6 years agoAssociates a target peer to a transfer
Eduardo Lima Mitev [Thu, 20 Oct 2011 23:31:32 +0000 (01:31 +0200)]
Associates a target peer to a transfer

by looking at peer id in url query of the download request. This will allow
to report transfer status to the target peer (leecher) as well.

6 years agoFixes code indentation in FileTransfer header file
Eduardo Lima Mitev [Thu, 20 Oct 2011 23:23:02 +0000 (01:23 +0200)]
Fixes code indentation in FileTransfer header file

6 years agoAdds new public method cancel() to FileTransfer
Eduardo Lima Mitev [Thu, 20 Oct 2011 23:16:52 +0000 (01:16 +0200)]
Adds new public method cancel() to FileTransfer

6 years agoMakes the async result call in an idle when a transfer finishes
Eduardo Lima Mitev [Thu, 20 Oct 2011 23:10:28 +0000 (01:10 +0200)]
Makes the async result call in an idle when a transfer finishes

instead of inmediately. This will prevent any already queued status report event
to be triggered before the transfer notifies its termination.

6 years agoAdds new public method set_target_peer() to FileTransfer
Eduardo Lima Mitev [Thu, 20 Oct 2011 23:09:12 +0000 (01:09 +0200)]
Adds new public method set_target_peer() to FileTransfer

6 years agoAdds new public method get_status() to FileTransfer
Eduardo Lima Mitev [Thu, 20 Oct 2011 23:07:16 +0000 (01:07 +0200)]
Adds new public method get_status() to FileTransfer

This will output the status code, transferred size and bandwidth of the
transfer.

6 years agoRemoves obsolete status reporting logic from FileTransfer
Eduardo Lima Mitev [Thu, 20 Oct 2011 23:02:49 +0000 (01:02 +0200)]
Removes obsolete status reporting logic from FileTransfer

It will be consistently replaced in FileteaNode to ensure that all reports for
a peer are sent at once avoiding transport waste.

6 years agoAdds tracking of bandwidth usage in FileTransfer
Eduardo Lima Mitev [Thu, 20 Oct 2011 23:01:24 +0000 (01:01 +0200)]
Adds tracking of bandwidth usage in FileTransfer

6 years agoReorganizes code a bit in transfer completed logic of FileTransfer
Eduardo Lima Mitev [Thu, 20 Oct 2011 22:55:36 +0000 (00:55 +0200)]
Reorganizes code a bit in transfer completed logic of FileTransfer

6 years agoAdds FileTransferStatus enum to FileTransfer and tracks transfer state
Eduardo Lima Mitev [Thu, 20 Oct 2011 22:53:03 +0000 (00:53 +0200)]
Adds FileTransferStatus enum to FileTransfer and tracks transfer state

6 years agoRenames 'transfers' member of FileteaNode to 'transfers_by_id'
Eduardo Lima Mitev [Wed, 19 Oct 2011 22:38:13 +0000 (00:38 +0200)]
Renames 'transfers' member of FileteaNode to 'transfers_by_id'

for consistency.

6 years agohtml: Adds new function humanizeTime to Utils
Eduardo Lima Mitev [Wed, 19 Oct 2011 22:03:51 +0000 (00:03 +0200)]
html: Adds new function humanizeTime to Utils

This will output a formatted string with the days, hours, minutes and seconds
represented by the 'seconds' input argument.

6 years agohtml: Improves code in humanizeTime() function of Utils
Eduardo Lima Mitev [Wed, 19 Oct 2011 22:03:10 +0000 (00:03 +0200)]
html: Improves code in humanizeTime() function of Utils

6 years agohtml: Makes the remove icon be background image instead of a real img
Eduardo Lima Mitev [Wed, 19 Oct 2011 21:55:19 +0000 (23:55 +0200)]
html: Makes the remove icon be background image instead of a real img

in SharedFilesView items.

6 years agohtml: Reorganizes code a bit in _init() of SharedFilesView
Eduardo Lima Mitev [Wed, 19 Oct 2011 21:53:05 +0000 (23:53 +0200)]
html: Reorganizes code a bit in _init() of SharedFilesView

6 years agoAdds TransferManager into fileTea.js and removes transfers.js
Eduardo Lima Mitev [Sun, 9 Oct 2011 00:12:04 +0000 (02:12 +0200)]
Adds TransferManager into fileTea.js and removes transfers.js

6 years agoTakes ContentManager out of FileTea JS to remove conflation
Eduardo Lima Mitev [Sat, 8 Oct 2011 23:25:57 +0000 (01:25 +0200)]
Takes ContentManager out of FileTea JS to remove conflation

6 years agoFixes _getRpc() of FileTea JS object to work well with concurrent calls
Eduardo Lima Mitev [Sat, 8 Oct 2011 22:56:39 +0000 (00:56 +0200)]
Fixes _getRpc() of FileTea JS object to work well with concurrent calls

6 years agoEscapes file name before registering it to prevent encoding issues
Eduardo Lima Mitev [Sat, 8 Oct 2011 22:41:35 +0000 (00:41 +0200)]
Escapes file name before registering it to prevent encoding issues

6 years agoAdds check for null id when removing file source in FileteaNode
Eduardo Lima Mitev [Sat, 8 Oct 2011 21:27:05 +0000 (23:27 +0200)]
Adds check for null id when removing file source in FileteaNode

6 years agoChanges default user and group to 'nobody' and 'nogroup'
Alberto Garcia [Thu, 20 Oct 2011 20:07:48 +0000 (23:07 +0300)]
Changes default user and group to 'nobody' and 'nogroup'

6 years agoReplaces deprecated g_atomic_int_exchange_and_add() by g_atomic_int_add()
Eduardo Lima Mitev [Thu, 20 Oct 2011 19:40:17 +0000 (21:40 +0200)]
Replaces deprecated g_atomic_int_exchange_and_add() by g_atomic_int_add()

in file_transfer_ref() and file_source_ref().

6 years agoFixes error in FileteaNode when 'http-log-file' conf is left blank
Eduardo Lima Mitev [Thu, 20 Oct 2011 19:37:31 +0000 (21:37 +0200)]
Fixes error in FileteaNode when 'http-log-file' conf is left blank

It was still enabling the HTTP logs when the HTTP log filename was an empty
string.

6 years agoAdds missing files for 'make dist'
Alberto García [Fri, 14 Oct 2011 16:50:44 +0000 (18:50 +0200)]
Adds missing files for 'make dist'

6 years agoGenerates a ChangeLog file from git when running make dist
Alberto García [Fri, 14 Oct 2011 16:49:23 +0000 (18:49 +0200)]
Generates a ChangeLog file from git when running make dist

6 years agoAdds support for running autogen.sh with NOCONFIGURE
Alberto García [Fri, 14 Oct 2011 16:48:24 +0000 (18:48 +0200)]
Adds support for running autogen.sh with NOCONFIGURE

6 years agoAdds missing files for 'make dist'
Alberto García [Fri, 14 Oct 2011 16:47:18 +0000 (18:47 +0200)]
Adds missing files for 'make dist'

6 years agobuild: Updates for 0.1.7 development cycle
Eduardo Lima Mitev [Fri, 23 Sep 2011 18:27:16 +0000 (20:27 +0200)]
build: Updates for 0.1.7 development cycle

6 years agorelease: 0.1.6 0.1.6
Eduardo Lima Mitev [Fri, 23 Sep 2011 18:25:17 +0000 (20:25 +0200)]
release: 0.1.6

6 years agobuild: Raises required version of EventDance to 0.1.12
Eduardo Lima Mitev [Fri, 23 Sep 2011 18:11:53 +0000 (20:11 +0200)]
build: Raises required version of EventDance to 0.1.12

6 years agoImplements HTTP access logging using Apache-like format
Eduardo Lima Mitev [Fri, 23 Sep 2011 18:04:17 +0000 (20:04 +0200)]
Implements HTTP access logging using Apache-like format

A 'log' group with 'http-log-file' option has been added to configuration file.

6 years agoFixes erroneous unref of node's TLS credentials after loading certificate
Eduardo Lima Mitev [Thu, 22 Sep 2011 14:40:13 +0000 (16:40 +0200)]
Fixes erroneous unref of node's TLS credentials after loading certificate

6 years agoAdds check for pending ops before reading from source in FileteaTransfer
Eduardo Lima Mitev [Tue, 20 Sep 2011 21:03:19 +0000 (23:03 +0200)]
Adds check for pending ops before reading from source in FileteaTransfer

6 years agoAdds missing sample configuration option for 'dh-depth'
Eduardo Lima Mitev [Mon, 19 Sep 2011 23:46:40 +0000 (01:46 +0200)]
Adds missing sample configuration option for 'dh-depth'

6 years agobuild: Updates for 0.1.5 development cycle
Eduardo Lima Mitev [Mon, 19 Sep 2011 23:24:08 +0000 (01:24 +0200)]
build: Updates for 0.1.5 development cycle

6 years agorelease: 0.1.4
Eduardo Lima Mitev [Mon, 19 Sep 2011 23:22:07 +0000 (01:22 +0200)]
release: 0.1.4

6 years agobuild: Raises required version of EventDance to 0.1.11
Eduardo Lima Mitev [Mon, 19 Sep 2011 23:20:36 +0000 (01:20 +0200)]
build: Raises required version of EventDance to 0.1.11

6 years agoAdds TLS support with its corresponding configuration options
Eduardo Lima Mitev [Mon, 19 Sep 2011 23:17:17 +0000 (01:17 +0200)]
Adds TLS support with its corresponding configuration options

6 years agohtml: Adds function to humanize file sizes included in a utils JS library
Eduardo Lima Mitev [Mon, 12 Sep 2011 10:59:23 +0000 (12:59 +0200)]
html: Adds function to humanize file sizes included in a utils JS library

6 years agohtml: Reuduces download icon to 100x100 pixels
Eduardo Lima Mitev [Sun, 11 Sep 2011 17:38:58 +0000 (19:38 +0200)]
html: Reuduces download icon to 100x100 pixels

6 years agohtml: Adds download-view page
Eduardo Lima Mitev [Sun, 11 Sep 2011 17:15:37 +0000 (19:15 +0200)]
html: Adds download-view page

6 years agohtml: Minor fixes in css for the main content section
Eduardo Lima Mitev [Sun, 11 Sep 2011 17:03:30 +0000 (19:03 +0200)]
html: Minor fixes in css for the main content section

6 years agoAdds user confirmation page before downloading a file
Eduardo Lima Mitev [Sun, 11 Sep 2011 17:02:11 +0000 (19:02 +0200)]
Adds user confirmation page before downloading a file

This feature required several changes in the way content was managed.

6 years agohtml: Adds a 'not found' page to repository
Eduardo Lima Mitev [Sun, 11 Sep 2011 16:29:22 +0000 (18:29 +0200)]
html: Adds a 'not found' page to repository

to be shown to user when requesting a file that is no longer shared.

6 years agoImproves method-call error reporting in FileteaNode
Eduardo Lima Mitev [Sun, 11 Sep 2011 08:56:22 +0000 (10:56 +0200)]
Improves method-call error reporting in FileteaNode

6 years agohtml: Adds content 'loading' animated gif
Eduardo Lima Mitev [Fri, 9 Sep 2011 14:51:37 +0000 (16:51 +0200)]
html: Adds content 'loading' animated gif

Forgot to add it in previous commit :).

6 years agohtml: Adds inmediate feedback about content loading
Eduardo Lima Mitev [Fri, 9 Sep 2011 14:19:07 +0000 (16:19 +0200)]
html: Adds inmediate feedback about content loading

6 years agoResets http port to default value (8080) in sample config file
Eduardo Lima Mitev [Sun, 4 Sep 2011 23:16:47 +0000 (01:16 +0200)]
Resets http port to default value (8080) in sample config file

6 years agohtml: Adds a warning dialog with confirmation before navigating away
Eduardo Lima Mitev [Sun, 4 Sep 2011 23:06:24 +0000 (01:06 +0200)]
html: Adds a warning dialog with confirmation before navigating away

if there are shared files.

6 years agohtml: Adds new method isEmpty() to SharedFilesView widget
Eduardo Lima Mitev [Sun, 4 Sep 2011 23:00:44 +0000 (01:00 +0200)]
html: Adds new method isEmpty() to SharedFilesView widget

6 years agohtml: Encapsulates the 'sharedFilesView' instance within the Ux object
Eduardo Lima Mitev [Sun, 4 Sep 2011 22:54:40 +0000 (00:54 +0200)]
html: Encapsulates the 'sharedFilesView' instance within the Ux object

6 years agobuild: Adds 'gcrypt' to filetea LDADD libraries
Eduardo Lima Mitev [Tue, 30 Aug 2011 16:45:49 +0000 (18:45 +0200)]
build: Adds 'gcrypt' to filetea LDADD libraries

6 years agohtml: Fixes error in content box css width introduced by mistake
Eduardo Lima Mitev [Fri, 26 Aug 2011 15:22:23 +0000 (17:22 +0200)]
html: Fixes error in content box css width introduced by mistake

in previous patch.

6 years agohtml: Adds minor layout improvements in css
Eduardo Lima Mitev [Fri, 26 Aug 2011 15:05:53 +0000 (17:05 +0200)]
html: Adds minor layout improvements in css

6 years agohtml: Improves html and css code for the logo
Eduardo Lima Mitev [Fri, 26 Aug 2011 15:01:35 +0000 (17:01 +0200)]
html: Improves html and css code for the logo

6 years agohtml: Adds corner banner to index.html showing version maturity (alpha)
Eduardo Lima Mitev [Fri, 26 Aug 2011 14:57:18 +0000 (16:57 +0200)]
html: Adds corner banner to index.html showing version maturity (alpha)

6 years agohtml: Minor text update to privacy policy statement
Eduardo Lima Mitev [Fri, 26 Aug 2011 08:33:16 +0000 (10:33 +0200)]
html: Minor text update to privacy policy statement

6 years agohtml: Updates FileTea version notice in footer of main HTML page
Eduardo Lima Mitev [Wed, 24 Aug 2011 15:54:38 +0000 (17:54 +0200)]
html: Updates FileTea version notice in footer of main HTML page

6 years agobuild: Updates for 0.1.3 development cycle
Eduardo Lima Mitev [Wed, 24 Aug 2011 15:51:22 +0000 (17:51 +0200)]
build: Updates for 0.1.3 development cycle

6 years agobuild: Cleans up improves code in configure.ac 0.1.2
Eduardo Lima Mitev [Wed, 24 Aug 2011 15:46:21 +0000 (17:46 +0200)]
build: Cleans up improves code in configure.ac

6 years agobuild: Updates required version of EventDance library to 0.1.8
Eduardo Lima Mitev [Wed, 24 Aug 2011 15:37:21 +0000 (17:37 +0200)]
build: Updates required version of EventDance library to 0.1.8

6 years agoFixes COPYING file to include AGPL3 text and removes unneeded LICENSE file
Eduardo Lima Mitev [Wed, 24 Aug 2011 11:08:49 +0000 (13:08 +0200)]
Fixes COPYING file to include AGPL3 text and removes unneeded LICENSE file

6 years agohtml: Improves layout of footer elements
Eduardo Lima Mitev [Tue, 23 Aug 2011 19:00:13 +0000 (21:00 +0200)]
html: Improves layout of footer elements

6 years agoUdpates node termination message to something nicer
Eduardo Lima Mitev [Tue, 23 Aug 2011 17:22:15 +0000 (19:22 +0200)]
Udpates node termination message to something nicer

6 years agoRemoves unused code in FileteaNode
Eduardo Lima Mitev [Tue, 23 Aug 2011 17:21:46 +0000 (19:21 +0200)]
Removes unused code in FileteaNode

6 years agoAdds support for dropping privileges of node owner
Eduardo Lima Mitev [Tue, 23 Aug 2011 17:13:33 +0000 (19:13 +0200)]
Adds support for dropping privileges of node owner

if requested in config file, and a new property 'user' and 'group' was added
to 'node' group.

6 years agohtml: Cleans up code and content sections in index.html
Eduardo Lima Mitev [Wed, 3 Aug 2011 13:24:46 +0000 (15:24 +0200)]
html: Cleans up code and content sections in index.html

6 years agoAdds a 'url' attribute to add() method of client-side ContentManager object
Eduardo Lima Mitev [Wed, 3 Aug 2011 13:23:52 +0000 (15:23 +0200)]
Adds a 'url' attribute to add() method of client-side ContentManager object

6 years agohtml: Adds privacy policy content
Eduardo Lima Mitev [Wed, 3 Aug 2011 13:23:00 +0000 (15:23 +0200)]
html: Adds privacy policy content

6 years agoAdds missing stylesheet file main.css to repo
Eduardo Lima Mitev [Tue, 2 Aug 2011 11:40:59 +0000 (13:40 +0200)]
Adds missing stylesheet file main.css to repo

7 years agoIncreases required version of Evd to 0.1.7 (current master)
Eduardo Lima Mitev [Wed, 13 Jul 2011 15:58:33 +0000 (17:58 +0200)]
Increases required version of Evd to 0.1.7 (current master)

7 years agoMakes main.c use FileteaNode core object
Eduardo Lima Mitev [Wed, 13 Jul 2011 15:55:16 +0000 (17:55 +0200)]
Makes main.c use FileteaNode core object

Also adds command line parsing and configuration file support. The file
'sample-filetea.conf' was added as a sample configuration file.

7 years agoAdds FileteNode object, representing the core of a Filetea node
Eduardo Lima Mitev [Wed, 13 Jul 2011 15:53:40 +0000 (17:53 +0200)]
Adds FileteNode object, representing the core of a Filetea node

This is basically the the code that was in main.c, with some new additions.

7 years agoAdds a 'node' argument to FileSource
Eduardo Lima Mitev [Wed, 13 Jul 2011 15:51:43 +0000 (17:51 +0200)]
Adds a 'node' argument to FileSource

representing the Filetea node associated with the source.

7 years agoBig client-side code factorization and organization
Eduardo Lima Mitev [Wed, 13 Jul 2011 15:49:23 +0000 (17:49 +0200)]
Big client-side code factorization and organization

Implemented fragment-identifier based content navigation.

7 years agoUpdates file transfer code to sync with API changes in EvdHttpConnection
Eduardo Lima Mitev [Mon, 11 Jul 2011 09:50:50 +0000 (11:50 +0200)]
Updates file transfer code to sync with API changes in EvdHttpConnection

7 years agodaemon: Updates for latest API changes in EvdDaemon
Eduardo Lima Mitev [Fri, 20 May 2011 15:53:41 +0000 (17:53 +0200)]
daemon: Updates for latest API changes in EvdDaemon

7 years agoPrepares release 0.1.2
Eduardo Lima Mitev [Sun, 10 Apr 2011 18:56:16 +0000 (20:56 +0200)]
Prepares release 0.1.2

7 years agorelease: 0.1.1
Eduardo Lima Mitev [Sun, 10 Apr 2011 18:51:42 +0000 (20:51 +0200)]
release: 0.1.1

7 years agobuild: Spits install prefix at the end of configure script
Eduardo Lima Mitev [Sun, 10 Apr 2011 18:40:03 +0000 (20:40 +0200)]
build: Spits install prefix at the end of configure script

7 years agoUpdates AUTHORS file
Eduardo Lima Mitev [Sun, 10 Apr 2011 18:36:04 +0000 (20:36 +0200)]
Updates AUTHORS file

7 years agoAdds LICENSE file with GNU AGPL contents
Eduardo Lima Mitev [Sun, 10 Apr 2011 18:34:06 +0000 (20:34 +0200)]
Adds LICENSE file with GNU AGPL contents

7 years agoAdds comment block to sensible source code files
Eduardo Lima Mitev [Sun, 10 Apr 2011 18:33:34 +0000 (20:33 +0200)]
Adds comment block to sensible source code files