cs-p2p-next.git
12 years agoppf: Replace TABs with spaces.
Razvan Deaconescu [Sat, 20 Aug 2011 18:00:46 +0000 (21:00 +0300)]
ppf: Replace TABs with spaces.

12 years agoppf: Rename db_init to sqlite_initdb.bash.
Razvan Deaconescu [Sat, 20 Aug 2011 17:57:01 +0000 (20:57 +0300)]
ppf: Rename db_init to sqlite_initdb.bash.

12 years agoAdd Python SQLite initialization script.
Razvan Deaconescu [Sat, 20 Aug 2011 17:49:51 +0000 (20:49 +0300)]
Add Python SQLite initialization script.

Uses Python code to initialize SQLite database file (executes SQL script).

12 years agoppf: Add sessctl.py.
Razvan Deaconescu [Sat, 20 Aug 2011 16:54:52 +0000 (19:54 +0300)]
ppf: Add sessctl.py.

Interface for swarm/client session handling in the database.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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.

12 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.

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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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

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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

12 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.

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

12 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.

12 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

12 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

12 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.

12 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.

12 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.

12 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

12 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

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

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

12 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

12 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

12 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