Skip to content

Commit c23afdb

Browse files
authored
Merge pull request #1 from GerryFerdinandus/master
update
2 parents dc13cd0 + 89307ee commit c23afdb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+5215
-2262
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,16 @@
66

77

88

9-
### What version of the product are you using? On what operating system? ###
9+
### What version of the product are you using. (Please use the latest version of bittorrent-tracker-editor and your torrent client) ###
10+
11+
12+
13+
### On what operating system? ###
1014

1115

1216

1317
### Please provide any additional information below. ###
18+
19+
20+
21+
### Add a modified sintel torrent files example to reproduce the issue. [Download from Github: sintel](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/tree/master/test_torrent) ###

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# ignore possible temporary file added in the root
22
/*.txt
33

4+
# ignore bakup files
5+
*.bak
6+
47
# folders generated by compiler. Should always be ignored.
58
/lib
69

710
#items in these folder should be added explicit
811
/enduser
9-
/source

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "travis-lazarus"]
22
path = travis-lazarus
3-
url = https://github.com/nielsAD/travis-lazarus.git
3+
url = https://github.com/GerryFerdinandus/travis-lazarus.git

.travis.yml

Lines changed: 69 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,87 @@
11
# Part of `travis-lazarus` (https://github.com/nielsAD/travis-lazarus)
22
# License: MIT
33

4-
sudo: true
4+
language: shell
55

6-
os:
7-
- linux
8-
- osx
6+
# Linux compability issue.
7+
# Need to build in xenial with lazarus 1.8.2.
8+
# Do not use bionic or newer Lazarus version
99

10-
env:
11-
global:
12-
- LPIEDITORPATH=source/project/tracker_editor
13-
- WINEPREFIX=~/.winelaz
14-
- DISPLAY=:99.0
15-
matrix: #For linux and mac osx build
16-
- LAZ_VER=1.4.4
10+
# For linux headless.
11+
# See travis_unit_test.sh will install and use xvfb-run
12+
#services: (- xvfb) does not work must use xvfb-run
1713

18-
matrix: #For windows build with linux wine. Use the same lazarus version as linux/mac build.
14+
jobs:
1915
include:
20-
- os: linux
21-
env: LAZ_VER=1.4.4 LAZ_ENV=wine WINEARCH=win32 LAZ_OPT="--os=win32 --cpu=i386"
16+
- name: Ubuntu 16.04 AMD64 (1.8.2)
17+
os: linux
18+
dist: xenial
19+
env: LAZ_VER=1.8.2 RELEASE_ZIP_FILE="trackereditor_linux_amd64.zip"
20+
- name: Ubuntu 16.04 AArch64 (1.6)
21+
os: linux
22+
dist: xenial
23+
arch: arm64
24+
env: LAZ_PKG=true RELEASE_ZIP_FILE="trackereditor_linux_AArch64.zip"
25+
- name: macOS 10.14 (PKG)
26+
os: osx
27+
osx_image: xcode11.3
28+
env: LAZ_PKG=true LAZ_OPT="--widgetset=cocoa" RELEASE_ZIP_FILE="trackereditor_macOS.zip"
29+
- name: Windows (PKG) Build 32-bit software
30+
os: windows
31+
env: LAZ_PKG=true LAZ_REL=32 RELEASE_ZIP_FILE="trackereditor_win32.zip"
2232

2333
before_install:
24-
# Start virtual display server
25-
- sh -e /etc/init.d/xvfb start || true
34+
# Install python in windows OS
35+
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install python3 --params "/InstallDir:C:\python3"; fi
36+
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export PATH=/c/Python3:/c/Python3/Scripts:/c/lazarus:$PATH; fi
2637

2738
install:
28-
# Install prerequisites (fpc/lazarus/wine/qemu)
29-
- ./travis-lazarus/.travis.install.py
39+
# Output something at regular time or Travis will kills the job
40+
- while sleep 60; do echo "===== 1 minute mark ====="; done &
41+
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then python ./travis-lazarus/.travis.install.py; fi
42+
- if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then ./travis-lazarus/.travis.install.py; fi
43+
# Killing background sleep loop
44+
- kill %1
3045

3146
script:
32-
- lazbuild $LAZ_OPT $LPIEDITORPATH/trackereditor.lpi # Build trackereditor project
47+
# Output something at regular time or Travis will kill the job
48+
- echo "start script"
49+
- while sleep 60; do echo "===== 1 minute mark ====="; done &
50+
51+
# Build trackereditor project (Release mode)
52+
- lazbuild --build-mode=Release $LAZ_OPT $PROJECT_LPI_EDITOR_PATH
53+
54+
# Build unit test project (Debug mode)
55+
- lazbuild --build-mode=Debug $LAZ_OPT $PROJECT_LPI_UNIT_TEST_PATH
56+
57+
# Start the unit test
58+
- source ./scripts/travis_unit_test.sh
59+
60+
# Killing background sleep loop
61+
- kill %1
3362

3463
before_deploy:
64+
# Create the zip file for deployment
3565
- source ./scripts/travis_deploy.sh
3666

3767
deploy:
38-
provider: releases
39-
prerelease: false
40-
skip_cleanup: true
41-
api_key:
42-
secure: "s2OquTSTFNECWme15GLuLHGykXQK9Q/ie38eI8wwzPZUQ3WCFJxYRGrR6XSaFWe/VfjNlDTfPaUsKfo4Fi9atOec1fp7ewA9JNnFUclw38o9UHirDYgzDNQD8BMhXXMaaxvYJBT+aN3CFvaBkkTyIb8jYO6RsvHfBQmOb6B//Fl2IFAgI/j8+qUKVtZWYEezGUCMCKZ+r/sFgfK91DsKtH7T51WVrJ9oI/HvvGISw6K1sG0X56LZry/shy8f3NPvGfFofooZ/9uPUamDmZwNR7YR91P10cykihZnarPDbCaCAD77D+AeFSDpcRyusr07dRfqIqNFQ1Hcu3GMIZL2W1dfGdZ9z0PJWQcMZQtwmjimV+2cEgIQTCvmG1wzbOTOW4T9QnDFB72M5njcxd1RYlVJwXq3SgSN1smQzRfArUd1bFeD0crGQ4urhfU12CJ50isgXXgXrOT7RclWUR2i1QISFS2ISDtGuCyh1vSGjVPQ9RSYSgG7/OufwdUXA/ZyK2mFpbZ0iKGNEYtZaL8/ZQMM9KlkyWPoQaSve/zTs+D3N5rFcOfQ7EHAAPTzz/fjpU7Yd3a0yf4pLSpr+ConVw1Kwc7d3VYSsoxhnLp2fgij+Xs/skRud8PLiOUsk8L3hUMS4p9X4ANkE181aQTAmzv7qc6qtXOSkhpzsIIxWGY="
43-
file: "${RELEASE_ZIP_FILE}"
44-
on:
45-
tags: true
46-
repo: GerryFerdinandus/bittorrent-tracker-editor
47-
68+
- provider: releases
69+
prerelease: false
70+
cleanup: false
71+
edge: true # opt in to dpl v2
72+
token:
73+
secure: hmjev+YIClSOec6wMclUv5W4lgyLpdX7DlUpF2LQ1W/EO/x/b8RzmSPjNZ5sa7IDUe1WoVXm89G6HtkGGHcRqJrZjNn18HvpvEOnIYgIEXBVtW9uaURsSJ2LYve9beHHvYzs0doEQp1I24qTENUOqMABStk7MKRTATZ7nBWIinZVkpojEYIizQtCnUWwJXpzgs9mx7BEAVqLJPJ35oXNVjEgE96gsWMaYuX82BsVpL9VjGIaYpbEc1iBFBr2RHTgHG03H+2wBewJ4gh3hFwq9vt6mEqdC6Y9UIqmAEUMzCpokqrIfV2cfnPe24miPqmCLboua7Ddu8OpLj/yQ9DvC8xVEVh8aiGszzPvnytaFuRfLxI5HdAtUkA/9P3dXwjJKLJs568kyCTz4Tk7Icrb7seS1i84BJs3Vp2/lkmqDRDR0OqVGTczZGsxfTK+iaZJaNXb999BmGBw+xnPuG1lgrjHUYyEH2ha9D/9eOXiQfxdKUktPs1cF0II7uv5Cg3LEcFyN/A7jblNpM5B9cnf5kJ13lbpqL+Eyig90b9Q9YsrwGGOqtXJG+jSqXOv0O9/warFJfadA0avJljOFv4Pxl4tYe73EA/gP1GVG5UVC/F9nWZhUzP1kPCjzTzHoYBDCmHf8/GErdpCtibqRHoMIelrbcpe0jr+j5aNPxnTKAc=
74+
file: "${RELEASE_ZIP_FILE}"
75+
on:
76+
tags: true
77+
repo: GerryFerdinandus/bittorrent-tracker-editor
78+
- provider: s3
79+
access_key_id: $AWS_ACCESS_KEY
80+
secret_access_key: $AWS_SECRET_KEY
81+
bucket: "bittorrent-tracker-editor"
82+
cleanup: false
83+
region: eu-central-1
84+
local_dir: s3
85+
edge: true # opt in to dpl v2
86+
on:
87+
branch: to_be_deleted_unit_test

README.md

Lines changed: 78 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,125 @@
11
**bittorrent-tracker-editor** will add/remove bittorrent tracker from the torrent file(s).
2-
This software works on Windows XP SP3, Windows 7+, Mac OS X and Linux.
2+
This software works on Windows XP SP3, Windows 7+, macOS and Linux.
33

44
---
55

6-
## Code Status: ##
7-
[![Build Status](https://travis-ci.org/GerryFerdinandus/bittorrent-tracker-editor.svg?branch=master)](https://travis-ci.org/GerryFerdinandus/bittorrent-tracker-editor)
8-
for Windows, Mac OS X and Linux build.
6+
## Software latest release: ##
7+
[![GitHub Latest release](https://img.shields.io/github/release/GerryFerdinandus/bittorrent-tracker-editor/all.svg)](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/releases)
8+
9+
---
910

11+
## Code Status: ##
12+
Continuous integration|Status| Build operating system
13+
------------|---------|---------
14+
Travis-CI |[![Build Status](https://travis-ci.com/GerryFerdinandus/bittorrent-tracker-editor.svg?branch=master)](https://travis-ci.com/GerryFerdinandus/bittorrent-tracker-editor) |Linux, macOS and Windows
15+
Snapcraft-CI |[![Snap Status](https://build.snapcraft.io/badge/GerryFerdinandus/bittorrent-tracker-editor.svg)](https://build.snapcraft.io/user/GerryFerdinandus/bittorrent-tracker-editor)|Linux
1016
---
1117

1218
## Warning: ##
13-
There is no backup function in this software. Used it at your own risk. Bittorrent work fine without this program. You probably don't need this software.
19+
There is no backup function in this software. Use it at your own risk. Bittorrent works fine without this program. You probably don't need this software.
1420

1521
---
1622

1723
## Which program to use for add/remove bittorrent trackers? ##
1824
* **Edit one torrent file:** You can use http://torrenteditor.com/
19-
* **Edit multiple torrent file:** Use this program. It is made for changing multiple torrent files.
25+
* **Edit multiple torrent files:** Use this program. It is made for changing multiple torrent files.
2026

2127
---
2228

2329
## Features: ##
2430
* Select one torrent file or a folder with torrent files.
25-
* Add one or more tracker at the same time.
26-
* Remove one or more tracker at the same time.
27-
* Remove all the tracker to create tracker less torrent. DHT torrent
31+
* Add one or more trackers at the same time.
32+
* Remove one or more trackers at the same time.
33+
* Remove all the trackers to create trackerless torrent. DHT torrent
2834
* Change public/private flag. Warning: This will change the torrent info HASH.
29-
* Preset add/remove tracker via add\_trackers.txt and remove\_trackers.txt files when present in the same folder as the executable file.
35+
* Preset add/remove tracker via add\_trackers.txt and remove\_trackers.txt files when present in the same folder as the executable file. (For linux snap version use: home/snap/bittorrent-tracker-editor/common/ )
3036
* Optional start as console program. (See readme.txt inside download)
3137
* Show torrent files content.
38+
* Download stable trackers from newTrackon or ngosang.
3239

3340
---
3441

3542
## Downloads: ##
36-
* [From GitHub: Executable file for Windows, Mac OS X and Linux.](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/releases)
43+
* [From GitHub: Executable file for Windows, macOS and Linux.](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/releases)
44+
* [From GitHub: Trackers list (from GitHub user: ngosang )](https://github.com/ngosang/trackerslist)
45+
* [From newtrackon.com: Trackers list (from GitHub user: CorralPeltzer )](https://newtrackon.com)
3746

3847
---
3948

40-
## Software version ##
49+
## Software history: ##
50+
51+
### 1.33.0.beta.6 ###
52+
* ADD: Direct download support for ngosang via menu.
53+
* ADD: Extra tabpage 'private torrent'. For issue 31 and 34
54+
* ADD: Check box 'Skip Announce Check in the URL' ([Issue 31](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/31))
55+
* ADD: Command parameter '-SAC' -> 'Skip Announce Check' in the URL ([Issue 31](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/31))
56+
* ADD: Support 'Info Source' tag for private trackers ([Issue 34](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/34))
57+
* ADD: Command parameter '-SOURCE' -> info Source tag for private trackers. See readme.txt file ([Issue 34](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/34))
58+
59+
### 1.33.0.beta.5 ###
60+
* FiX: support for '/announce.php'([Issue 27](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/27))
61+
62+
### 1.33.0.beta.4 ###
63+
* FIX: There was an issue with uploading tracker list to newTrackon.
64+
65+
### 1.33.0.beta.3 ###
66+
* FIX: WebTorrent do not have '/announce' ([Issue 24](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/24))
67+
68+
### 1.33.0.beta.2 ###
69+
* ADD: Wrong tracker URL format from torrent files should be unselected by default ([Issue 22](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/22))
70+
* ADD: Upload trackers to newTrackon ([Issue 23](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/23))
71+
72+
### 1.33.0.beta.1 ###
73+
* ADD: Verify the working status of public trackers. (Data from newTrackon) ([Issue 21](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/21))
74+
75+
### 1.32.0 ###
76+
* ADD: Add more options for updating the torrent tracker list. ([Issue 8](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/8))
77+
* ADD: Add trackers but keep the original unique trackers list intact. ([Issue 12](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/12))
78+
* ADD: Randomize tracker order for each torrent file. ([Issue 19](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/19))
79+
* FIX: Trackers with https ([Issue 9](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/9))
80+
* FIX: Read torrent file with string size larger that 1MB ([Issue 10](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/10))
81+
* FIX: Give user a warning when torrent file is read only file. ([Issue 14](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/14))
82+
* FIX: Give user a warning when torrent file update failed. ([Issue 15](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/15))
83+
* FIX: Can not be opened by dragging a file. ([Issue 17](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/17))
84+
* FIX: Need sanitize URL tracker. ([Issue 18](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/18))
85+
* FIX: WebSocket ws:// and wss:// should be accepted as input. ([Issue 20](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/20))
86+
4187
### 1.31 ###
42-
* Add: Edit comment in data/info grid column.
43-
* FIX: ([Issue 6](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/6))
88+
* ADD: Edit comment in data/info grid column.
89+
* FIX: The data/info column can be moved but it is not updated correctly when torrent is reloaded. ([Issue 6](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/6))
4490

4591
### 1.30 ###
46-
* Add: Tab page Files/trackers/info
47-
* Add: Optional start as console program. (See readme.txt inside download)
48-
* Add: remove\_trackers.txt will remove specific trackers form torrent.
49-
* Add: export\_trackers.txt is created after updating the torrent.
50-
* Add: drag and drop of trackers file (with '.txt' file extension)
51-
* FIX: ([Issue 4](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/4)) + ([Issue 5](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/5))
92+
* ADD: Tab page Files/trackers/info
93+
* ADD: Optional start as console program. (See readme.txt inside download)
94+
* ADD: remove\_trackers.txt will remove specific trackers from torrent.
95+
* ADD: export\_trackers.txt is created after updating the torrent.
96+
* ADD: drag and drop of trackers file (with '.txt' file extension)
97+
* FIX: Can not remove duplicate Tracker automatically ([Issue 4](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/4))
98+
* FIX: Can't open some of .torrent files. ([Issue 5](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/5))
5299

53100
### 1.21 ###
54101
* FIX: Support for Unicode in filename. (Chinese etc.)
55102

56103
### 1.20 ###
57-
* Add: Tab page torrent info/data.
58-
* Add: Drag & Drop torrent files or a folder with torrent files inside.
104+
* ADD: Tab page torrent info/data.
105+
* ADD: Drag & Drop torrent files or a folder with torrent files inside.
59106

60107
### 1.10 ###
61-
* Add: Tab page for public/private flag. ([Issue 1](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/1))
62-
* Add: Load tracker list from file via menu or at start-up, when file add\_trackers.txt is present in the same folder as the executable file.
108+
* ADD: Tab page for public/private flag. ([Issue 1](https://github.com/GerryFerdinandus/bittorrent-tracker-editor/issues/1))
109+
* ADD: Load tracker list from file via menu or at start-up, when file add\_trackers.txt is present in the same folder as the executable file.
63110

64111
### 1.00 ###
65112
* First release
66113

67114
---
68115

69-
![https://8d7d8faefd7e24e8562f235c97f55f248c7636d1.googledrive.com/host/0B4lG_fvmX5NZRkMtcjgzT2k5QTg/trackereditor.png](https://8d7d8faefd7e24e8562f235c97f55f248c7636d1.googledrive.com/host/0B4lG_fvmX5NZRkMtcjgzT2k5QTg/trackereditor.png)
116+
![](pictures/trackereditor.png?raw=true "Trackers List")
70117

71-
This screen shot show the program, after a folder is selected with 97 torrent files inside. The normal procedure is to deselect the trackers that no longer working. Optionally add your one trackers. And press the 'Update torrent'
118+
This screen shot show the program, after a folder is selected with torrent files inside. The normal procedure is to deselect the trackers that are no longer working. Optionally add your own trackers. And select the 'Update torrent' menu.
72119

73120
---
74121

75-
![https://8d7d8faefd7e24e8562f235c97f55f248c7636d1.googledrive.com/host/0B4lG_fvmX5NZRkMtcjgzT2k5QTg/filestrackersinfo.png](https://8d7d8faefd7e24e8562f235c97f55f248c7636d1.googledrive.com/host/0B4lG_fvmX5NZRkMtcjgzT2k5QTg/filestrackersinfo.png)
122+
![](pictures/filestrackersinfo.png?raw=true "Files/Trackers/Info")
76123

77124
---
78125

@@ -82,3 +129,7 @@ This screen shot show the program, after a folder is selected with 97 torrent fi
82129
---
83130

84131
This program is developed using [Lazarus](http://lazarus.freepascal.org/) RAD and [Free Pascal](http://www.freepascal.org/) compiler.
132+
133+
---
134+
135+
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/)

SourceCodeBuild.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ Executable file is created in the 'enduser' directory.
1414

1515
-------- Linux Ubuntu 14.04
1616
sudo apt-get update
17-
sudo apt-get install lazarus -y
18-
cd source/project/tracker_editor/
19-
lazbuild trackereditor.lpi
17+
sudo apt-get install git lazarus -y
18+
cd ~
19+
git clone --recursive https://github.com/GerryFerdinandus/bittorrent-tracker-editor.git
20+
lazbuild bittorrent-tracker-editor/source/project/tracker_editor/trackereditor.lpi
2021

2122
Executable file is created in the 'enduser' directory.

enduser/add_trackers.txt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
udp://tracker.openbittorrent.com:80/announce
2-
udp://tracker.publicbt.com:80/announce
3-
udp://tracker.istole.it:80/announce
4-
udp://open.demonii.com:1337/announce
1+
udp://tracker.coppersurfer.tk:6969/announce
2+
udp://tracker.opentrackr.org:1337/announce
3+
wss://tracker.openwebtorrent.com

enduser/libeay32.dll

1.31 MB
Binary file not shown.

enduser/trackereditor.app/Contents/Info.plist renamed to enduser/macos/app/trackereditor.app/Contents/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
</array>
4040
</dict>
4141
</array>
42+
<key>CFBundleIconFile</key>
43+
<string>iconfile</string>
4244
<key>NSHighResolutionCapable</key>
4345
<true/>
4446
</dict>

enduser/trackereditor.app/Contents/MacOS/.gitkeep renamed to enduser/macos/app/trackereditor.app/Contents/MacOS/.gitkeep

File renamed without changes.

0 commit comments

Comments
 (0)