cs-p2p-next.git
13 years agoppf: Add msgctl.py.
Razvan Deaconescu [Sat, 20 Aug 2011 16:22:00 +0000 (19:22 +0300)]
ppf: Add msgctl.py.

Interface for status/verbose messages handling in the database.

13 years agoAdd wrapper methods to access.py.
Razvan Deaconescu [Sat, 20 Aug 2011 09:44:36 +0000 (12:44 +0300)]
Add wrapper methods to access.py.

13 years agoppf: Add unit test suite for julian.py.
Razvan Deaconescu [Fri, 19 Aug 2011 20:16:27 +0000 (23:16 +0300)]
ppf: Add unit test suite for julian.py.

13 years agoppf: Update julian.py.
Razvan Deaconescu [Fri, 19 Aug 2011 20:15:59 +0000 (23:15 +0300)]
ppf: Update julian.py.

Indentation, package import, comments.

13 years agoppf: Add tests for date_time methods.
Razvan Deaconescu [Fri, 19 Aug 2011 18:48:40 +0000 (21:48 +0300)]
ppf: Add tests for date_time methods.

13 years agoppf: Add datetime insert functions in access.py.
Razvan Deaconescu [Fri, 19 Aug 2011 18:35:27 +0000 (21:35 +0300)]
ppf: Add datetime insert functions in access.py.

13 years agoppf: Add test to check exception raising in case of non-existent database file.
Razvan Deaconescu [Fri, 19 Aug 2011 11:43:21 +0000 (14:43 +0300)]
ppf: Add test to check exception raising in case of non-existent database file.

13 years agoppf: Update log formatting. Add exception handling.
Razvan Deaconescu [Fri, 19 Aug 2011 11:42:17 +0000 (14:42 +0300)]
ppf: Update log formatting. Add exception handling.

Create DatabaseError class for raising Database exceptions.

13 years agoppf: Add Python logging module support.
Razvan Deaconescu [Fri, 19 Aug 2011 10:43:53 +0000 (13:43 +0300)]
ppf: Add Python logging module support.

13 years agoppf: Replace '?' string with '%s' in access.py.
Razvan Deaconescu [Fri, 19 Aug 2011 10:07:46 +0000 (13:07 +0300)]
ppf: Replace '?' string with '%s' in access.py.

13 years agoppf: Remove return values in access.py.
Razvan Deaconescu [Fri, 19 Aug 2011 10:04:47 +0000 (13:04 +0300)]
ppf: Remove return values in access.py.

13 years agoppf: Do coding style "arrangements" in access.py.
Razvan Deaconescu [Fri, 19 Aug 2011 09:58:07 +0000 (12:58 +0300)]
ppf: Do coding style "arrangements" in access.py.

13 years agoppf: Add get_connection() method to access.py.
Razvan Deaconescu [Fri, 19 Aug 2011 09:35:02 +0000 (12:35 +0300)]
ppf: Add get_connection() method to access.py.

13 years agoppf: Add description and developer information.
Razvan Deaconescu [Fri, 19 Aug 2011 09:33:18 +0000 (12:33 +0300)]
ppf: Add description and developer information.

13 years agoppf: show parameter is False by default in select methods.
Razvan Deaconescu [Fri, 19 Aug 2011 09:31:32 +0000 (12:31 +0300)]
ppf: show parameter is False by default in select methods.

13 years agoppf: Use capitals for SQL statements in access.py.
Razvan Deaconescu [Fri, 19 Aug 2011 09:27:34 +0000 (12:27 +0300)]
ppf: Use capitals for SQL statements in access.py.

13 years agoppf: Use capitals for SQL statements in test suite.
Razvan Deaconescu [Fri, 19 Aug 2011 09:23:04 +0000 (12:23 +0300)]
ppf: Use capitals for SQL statements in test suite.

13 years agoppf: Use *_row methods in unit tests.
Razvan Deaconescu [Fri, 19 Aug 2011 09:13:38 +0000 (12:13 +0300)]
ppf: Use *_row methods in unit tests.

13 years agoppf: Remove solved comments.
Razvan Deaconescu [Fri, 19 Aug 2011 08:52:49 +0000 (11:52 +0300)]
ppf: Remove solved comments.

13 years agoppf: Remove old commented code in test suite.
Razvan Deaconescu [Fri, 19 Aug 2011 08:52:13 +0000 (11:52 +0300)]
ppf: Remove old commented code in test suite.

13 years agoppf: Add insert_test_*_messages methods in test suite.
Razvan Deaconescu [Fri, 19 Aug 2011 08:50:18 +0000 (11:50 +0300)]
ppf: Add insert_test_*_messages methods in test suite.

13 years agoppf: Add insert_test_btclients method in test suite.
Razvan Deaconescu [Fri, 19 Aug 2011 07:54:48 +0000 (10:54 +0300)]
ppf: Add insert_test_btclients method in test suite.

13 years agoppf: Add insert_test_swarms method in test suite.
Razvan Deaconescu [Fri, 19 Aug 2011 07:35:25 +0000 (10:35 +0300)]
ppf: Add insert_test_swarms method in test suite.

Inserts test entries in the `swarms` table. Select, insert and update
methods are checked against number of entries in the table.

13 years agoppf: Add get_cursor_num_rows() method in test suite.
Razvan Deaconescu [Fri, 19 Aug 2011 07:17:13 +0000 (10:17 +0300)]
ppf: Add get_cursor_num_rows() method in test suite.

13 years agoppf: Add tests to select_btclients* methods.
Razvan Deaconescu [Fri, 19 Aug 2011 07:01:40 +0000 (10:01 +0300)]
ppf: Add tests to select_btclients* methods.

13 years agoppf: Add database connection/initialization in setUp test method.
Razvan Deaconescu [Fri, 19 Aug 2011 06:50:30 +0000 (09:50 +0300)]
ppf: Add database connection/initialization in setUp test method.

13 years agoComplete basic tests for access.py.
Razvan Deaconescu [Thu, 18 Aug 2011 17:45:36 +0000 (20:45 +0300)]
Complete basic tests for access.py.

13 years agoppf: Add partial tests for accees.py.
Razvan Deaconescu [Wed, 17 Aug 2011 15:00:30 +0000 (18:00 +0300)]
ppf: Add partial tests for accees.py.

13 years agoppf: Update select_swarms to return None on error.
Razvan Deaconescu [Wed, 17 Aug 2011 14:20:23 +0000 (17:20 +0300)]
ppf: Update select_swarms to return None on error.

13 years agoppf: Remove get_connection method.
Razvan Deaconescu [Wed, 17 Aug 2011 14:02:59 +0000 (17:02 +0300)]
ppf: Remove get_connection method.

13 years agoppf: Return connection in connect method for DatabaseAccess.
Razvan Deaconescu [Wed, 17 Aug 2011 14:01:41 +0000 (17:01 +0300)]
ppf: Return connection in connect method for DatabaseAccess.

13 years agoppf: Fix: Use database instead of self.database.
Razvan Deaconescu [Wed, 17 Aug 2011 13:56:45 +0000 (16:56 +0300)]
ppf: Fix: Use database instead of self.database.

13 years agoppf: Fix: Remove self. from global class variables.
Razvan Deaconescu [Wed, 17 Aug 2011 13:43:26 +0000 (16:43 +0300)]
ppf: Fix: Remove self. from global class variables.

13 years agoRestore DatabaseAccess.py.
Razvan Deaconescu [Tue, 16 Aug 2011 17:53:13 +0000 (20:53 +0300)]
Restore DatabaseAccess.py.

13 years agoAdd test skeleton to test_access_sqlite.
Razvan Deaconescu [Tue, 16 Aug 2011 17:34:28 +0000 (20:34 +0300)]
Add test skeleton to test_access_sqlite.

13 years agoRename test_access to test_access_sqlite.
Razvan Deaconescu [Tue, 16 Aug 2011 17:02:14 +0000 (20:02 +0300)]
Rename test_access to test_access_sqlite.

13 years agoInitial working version for test_access.
Razvan Deaconescu [Tue, 16 Aug 2011 17:01:06 +0000 (20:01 +0300)]
Initial working version for test_access.

13 years agoMove main() in access.py to tests/test_acces.py.
Razvan Deaconescu [Tue, 16 Aug 2011 16:16:14 +0000 (19:16 +0300)]
Move main() in access.py to tests/test_acces.py.

13 years agoAdd tests/ folder for unit testing.
Razvan Deaconescu [Tue, 16 Aug 2011 16:09:46 +0000 (19:09 +0300)]
Add tests/ folder for unit testing.

13 years agoAdd __init__.py. Turn it into a package.
Razvan Deaconescu [Tue, 16 Aug 2011 16:09:36 +0000 (19:09 +0300)]
Add __init__.py. Turn it into a package.

13 years agoCreate base class and SQLite class.
Razvan Deaconescu [Tue, 16 Aug 2011 16:08:32 +0000 (19:08 +0300)]
Create base class and SQLite class.

13 years agoMove DatabaseAccess to access.
Razvan Deaconescu [Tue, 16 Aug 2011 15:43:31 +0000 (18:43 +0300)]
Move DatabaseAccess to access.

13 years agoReplace tabs with spaces. Remove trailing white spaces.
Razvan Deaconescu [Tue, 16 Aug 2011 15:42:27 +0000 (18:42 +0300)]
Replace tabs with spaces. Remove trailing white spaces.

13 years agoppf: Use configuration file received as argument.
Mariana Marasoiu [Tue, 16 Aug 2011 16:32:39 +0000 (19:32 +0300)]
ppf: Use configuration file received as argument.

13 years agoppf: Replace hardcoded database name in libtorrent/log_parser with
Mariana Marasoiu [Tue, 16 Aug 2011 16:16:36 +0000 (19:16 +0300)]
ppf: Replace hardcoded database name in libtorrent/log_parser with
configuration file received as argument.

13 years agoppf: Modify libtorrent/LogParser.py and libtorrent/StatusParser.py to
Mariana Marasoiu [Tue, 16 Aug 2011 15:50:31 +0000 (18:50 +0300)]
ppf: Modify libtorrent/LogParser.py and libtorrent/StatusParser.py to
use new SQL schema and configuration file.

13 years agoppf: Remove trailing whitespaces.
Razvan Deaconescu [Tue, 16 Aug 2011 12:57:06 +0000 (15:57 +0300)]
ppf: Remove trailing whitespaces.

13 years agoppf: Mention MySQL in README file in sql/ subfolder.
Razvan Deaconescu [Tue, 16 Aug 2011 12:56:24 +0000 (15:56 +0300)]
ppf: Mention MySQL in README file in sql/ subfolder.

13 years agoMove autorun/ to smf/. Update README files.
Razvan Deaconescu [Tue, 16 Aug 2011 12:02:34 +0000 (15:02 +0300)]
Move autorun/ to smf/. Update README files.

smf - Swarm Management Framework

13 years agoppf: Move GUI/ to gui/.
Razvan Deaconescu [Tue, 16 Aug 2011 11:59:46 +0000 (14:59 +0300)]
ppf: Move GUI/ to gui/.

13 years agoppf: Add Tribler sample peer status message log file.
Razvan Deaconescu [Sun, 14 Aug 2011 17:24:40 +0000 (20:24 +0300)]
ppf: Add Tribler sample peer status message log file.

13 years agoppf: Add sample peer status message log file.
Razvan Deaconescu [Sun, 14 Aug 2011 17:17:28 +0000 (20:17 +0300)]
ppf: Add sample peer status message log file.

13 years agoppf: Modify DatabaseWriter and DatabaseCommander to use new SQL shema.
Mariana Marasoiu [Fri, 12 Aug 2011 11:59:48 +0000 (14:59 +0300)]
ppf: Modify DatabaseWriter and DatabaseCommander to use new SQL shema.

13 years agoppf: DatabaseAccess.py gets as argument any configuration file.
Mariana Marasoiu [Thu, 11 Aug 2011 19:33:13 +0000 (22:33 +0300)]
ppf: DatabaseAccess.py gets as argument any configuration file.

13 years agoppf: Modify DatabaseAccess.py to use new SQL schema.
Mariana Marasoiu [Thu, 11 Aug 2011 17:48:41 +0000 (20:48 +0300)]
ppf: Modify DatabaseAccess.py to use new SQL schema.

13 years agolog-id-mapping: Mention use of KB/s for speed limitation.
Razvan Deaconescu [Thu, 11 Aug 2011 13:22:54 +0000 (16:22 +0300)]
log-id-mapping: Mention use of KB/s for speed limitation.

13 years agolog-id-mapping: Add README.
Razvan Deaconescu [Thu, 11 Aug 2011 13:16:16 +0000 (16:16 +0300)]
log-id-mapping: Add README.

13 years agoAdd sample file for logfile to client session ID mapping.
Razvan Deaconescu [Thu, 11 Aug 2011 13:01:27 +0000 (16:01 +0300)]
Add sample file for logfile to client session ID mapping.

13 years agoAdd sample swarm description INI file.
Razvan Deaconescu [Thu, 11 Aug 2011 12:56:12 +0000 (15:56 +0300)]
Add sample swarm description INI file.

13 years agoAdd Dia log parsing workflow image.
Razvan Deaconescu [Thu, 11 Aug 2011 12:55:50 +0000 (15:55 +0300)]
Add Dia log parsing workflow image.

13 years agoppf: Add configuration file for database connection. Modify
Mariana Marasoiu [Tue, 9 Aug 2011 10:17:13 +0000 (13:17 +0300)]
ppf: Add configuration file for database connection. Modify
DatabaseAccess.py to use config file.

13 years agoppf: Add index support to MySQL tables.
Mariana Marasoiu [Mon, 8 Aug 2011 12:58:13 +0000 (15:58 +0300)]
ppf: Add index support to MySQL tables.

13 years agoppf: Fix SQL script. Works in real world.
root p2p-next-02 [Sun, 7 Aug 2011 18:48:06 +0000 (21:48 +0300)]
ppf: Fix SQL script. Works in real world.

Correct MySQL syntax is INTEGER UNSIGNED instead of UNSIGNED INTEGER.
index is a reserver keyword in MySQL also. Use _index for column name.
Create p2p_logs_test database for testing.

13 years agoppf: Change column name from direction_id to transfer_direction_id.
root p2p-next-02 [Sun, 7 Aug 2011 18:33:16 +0000 (21:33 +0300)]
ppf: Change column name from direction_id to transfer_direction_id.

13 years agoppf: (fix) Remove incorrent extra line in SQL file.
root p2p-next-02 [Sun, 7 Aug 2011 18:29:03 +0000 (21:29 +0300)]
ppf: (fix) Remove incorrent extra line in SQL file.

13 years agoppf: Fix when inserting data in btclients table.
root p2p-next-02 [Sun, 7 Aug 2011 18:15:29 +0000 (21:15 +0300)]
ppf: Fix when inserting data in btclients table.

13 years agoppf: Update insert rules in SQL files for message_types table.
root p2p-next-02 [Sun, 7 Aug 2011 18:14:11 +0000 (21:14 +0300)]
ppf: Update insert rules in SQL files for message_types table.

13 years agoppf: Update insert rules in SQL files for tranfer_directions table.
root p2p-next-02 [Sun, 7 Aug 2011 18:06:19 +0000 (21:06 +0300)]
ppf: Update insert rules in SQL files for tranfer_directions table.

13 years agoppf: Update insert rules in SQL files for btclients table.
root p2p-next-02 [Sun, 7 Aug 2011 18:01:03 +0000 (21:01 +0300)]
ppf: Update insert rules in SQL files for btclients table.

13 years agoppf: Add NOT NULL and DEFAULT constraints to MySQL SQL file.
Razvan Deaconescu [Sun, 7 Aug 2011 17:20:36 +0000 (20:20 +0300)]
ppf: Add NOT NULL and DEFAULT constraints to MySQL SQL file.

13 years agoppf: Move new SQL file to initial file.
Razvan Deaconescu [Sun, 7 Aug 2011 17:12:35 +0000 (20:12 +0300)]
ppf: Move new SQL file to initial file.

13 years agoppf: Describe MySQL-parser files.
Mariana Marasoiu [Sun, 7 Aug 2011 14:32:53 +0000 (17:32 +0300)]
ppf: Describe MySQL-parser files.

13 years agoAdd new SQL file for MySQL database.
Razvan Deaconescu [Sun, 7 Aug 2011 14:28:26 +0000 (17:28 +0300)]
Add new SQL file for MySQL database.

Add new tables, update database columns, add foreign keys, use InnoDB.

13 years agoMerge branch 'master' of koala.cs.pub.ro:cs-p2p-next
root p2p-next-02 [Sun, 7 Aug 2011 10:37:12 +0000 (13:37 +0300)]
Merge branch 'master' of koala.cs.pub.ro:cs-p2p-next

13 years agodelete database initialization lines from log_parser
Mariana Marasoiu [Sun, 7 Aug 2011 10:32:10 +0000 (13:32 +0300)]
delete database initialization lines from log_parser

13 years agoppf: Test sample queries against existing database.
Razvan Deaconescu [Sun, 7 Aug 2011 09:43:44 +0000 (12:43 +0300)]
ppf: Test sample queries against existing database.

13 years agoppf: Add MySQL sample queries.
Razvan Deaconescu [Sun, 7 Aug 2011 09:36:02 +0000 (12:36 +0300)]
ppf: Add MySQL sample queries.

Useful for determining the proper indexes that should be added.

13 years agoAdd non-interactive player to next-share.
Razvan Deaconescu [Sat, 6 Aug 2011 12:49:12 +0000 (15:49 +0300)]
Add non-interactive player to next-share.

13 years agominor changes in functionality for parsing scripts
Mariana Marasoiu [Fri, 5 Aug 2011 17:26:10 +0000 (20:26 +0300)]
minor changes in functionality for parsing scripts

13 years agoMerge branch 'master' of koala.cs.pub.ro:cs-p2p-next
root p2p-next-02 [Fri, 17 Jun 2011 21:48:46 +0000 (00:48 +0300)]
Merge branch 'master' of koala.cs.pub.ro:cs-p2p-next

13 years agoupdated log parser
Mariana Marasoiu [Fri, 17 Jun 2011 21:39:53 +0000 (00:39 +0300)]
updated log parser

13 years agoupdated log parser
root p2p-next-02 [Fri, 17 Jun 2011 21:39:53 +0000 (00:39 +0300)]
updated log parser

13 years agoadded swarm parser script - parses all archives from a session/swarm
Mariana Marasoiu [Fri, 17 Jun 2011 21:36:36 +0000 (00:36 +0300)]
added swarm parser script - parses all archives from a session/swarm

13 years agoadded archive parser script - parses an archive from a session
Mariana Marasoiu [Fri, 17 Jun 2011 21:32:57 +0000 (00:32 +0300)]
added archive parser script - parses an archive from a session

13 years agoadded db-mysql/ and log-parser-mysql/ folders and mysql schema file
Mariana Marasoiu [Fri, 10 Jun 2011 13:23:25 +0000 (16:23 +0300)]
added db-mysql/ and log-parser-mysql/ folders and mysql schema file

13 years agoscripts: add dumb script to clean SSH tunnels
Razvan Deaconescu [Thu, 21 Apr 2011 20:32:19 +0000 (23:32 +0300)]
scripts: add dumb script to clean SSH tunnels

13 years agoscripts: add script for testing bandwidth limitation through iperf
Razvan Deaconescu [Thu, 21 Apr 2011 20:31:58 +0000 (23:31 +0300)]
scripts: add script for testing bandwidth limitation through iperf

13 years agoscripts: add scripts for starting/stopping bandwidth limitation
Razvan Deaconescu [Thu, 21 Apr 2011 20:09:26 +0000 (23:09 +0300)]
scripts: add scripts for starting/stopping bandwidth limitation

13 years agoscripts: add kvm scripts folder
Razvan Deaconescu [Thu, 21 Apr 2011 19:49:25 +0000 (22:49 +0300)]
scripts: add kvm scripts folder

Scripts for interacting with KVM virtual machines in NCIT cluster.

13 years agotrial-site/living-lab-admin: get_videos_info.sh parameter update
P2P-Next [Tue, 19 Apr 2011 11:04:00 +0000 (14:04 +0300)]
trial-site/living-lab-admin: get_videos_info.sh parameter update

13 years agotrial-site: update
P2P-Next [Fri, 15 Apr 2011 15:18:50 +0000 (18:18 +0300)]
trial-site: update

13 years agoppf/log-parser: script to parse an archive
p2p p2p-next-02 [Wed, 13 Apr 2011 14:40:38 +0000 (17:40 +0300)]
ppf/log-parser: script to parse an archive

13 years agoppf: remove genfkey from SQlite script
Mariana Marasoiu [Thu, 24 Mar 2011 19:14:13 +0000 (12:14 -0700)]
ppf: remove genfkey from SQlite script

13 years agoAdded support for loading multiple .torrent files using the cmd-line version
George Milescu [Fri, 25 Mar 2011 13:39:39 +0000 (14:39 +0100)]
Added support for loading multiple .torrent files using the cmd-line version

Signed-off-by: George Milescu <george.milescu@gmail.com>
13 years agoliving-lab-admin added
P2P-Next [Mon, 21 Mar 2011 11:54:18 +0000 (13:54 +0200)]
living-lab-admin added

13 years agoNextSharePC-interface bug fix
p2p [Fri, 18 Mar 2011 10:27:00 +0000 (12:27 +0200)]
NextSharePC-interface bug fix

13 years agonew dir added, trial-site, which contains an interface for NextSharePC VLC plugin
P2P-Next User [Tue, 8 Mar 2011 15:27:21 +0000 (17:27 +0200)]
new dir added, trial-site, which contains an interface for NextSharePC VLC plugin

13 years agonext-share: use quotes for proper escaping in start scripts
P2P-Next User [Sun, 28 Nov 2010 16:27:49 +0000 (18:27 +0200)]
next-share: use quotes for proper escaping in start scripts

13 years agoscripts/video: ffmpeg-* updated
Calin Burloiu [Fri, 10 Dec 2010 09:16:57 +0000 (11:16 +0200)]
scripts/video: ffmpeg-* updated

13 years agoscripts/video: ffmpeg-* scrips updated
Calin Burloiu [Fri, 10 Dec 2010 08:17:45 +0000 (10:17 +0200)]
scripts/video: ffmpeg-* scrips updated