Browse code

Updated changelog (former forgotten file)

Clarissa Walker authored on 2015/09/14 07:58:06
Showing 1 changed files
... ...
@@ -1,7 +1,36 @@
1 1
 RivetTracker is a modified version of PHPBTTracker Version 1.5rc3, written by "DeHackEd".
2
+As of version 1.04, this is my version section. - Ami Sapphire
2 3
 
3 4
 Changes:
4 5
 
6
+---Version 1.05.2---
7
+
8
+-Proper version variable handling; prevent error log flood upon undefined version variable
9
+-MySQL databases with dashes supported (finally)! Simple backtick quotes around $database previously missing
10
+-Login password hashing no longer MD5, now either crypt or bcrypt depending on PHP version
11
+-More filtering behavior (Another reference: http://www.osvdb.org/79805)
12
+-Upload user can now have the ability to actually log out
13
+
14
+---Version 1.05.1---
15
+-Fixed really broken tracker.php from previous versions, especially from 1.05! This also fixes the torrent data scrape issue.
16
+-More changes to install.php (better PHP and MySQL check behavior), came from alpha MySQL to MySQLi conversion attempt of this tracker
17
+-Fixed username session display when hidden tracker is enabled
18
+-Old css.php XSS fix evaded in 1.05 (regression!), now fixed
19
+
20
+
21
+---Version 1.05---
22
+
23
+-Short announce feature is removed, as it is now integrated into the tracker, as is short scrape; replaced with a(n admittedly hardcoded) optional additional tracker URL behavior, can add up to five additional URLs
24
+-Authentication checks added to torrent_functions.php, tracker.php, dltorrent.php; the latter checks no matter what (2012 CVE report: http://www.cvedetails.com/cve/CVE-2012-4996/)
25
+-Old fixes from 2014 that I didn't keep track of or even remember (!): index.php, funcsv2.php, batch_upload.php, newtorrents.php, install.php, editconfig.php
26
+
27
+---Version 1.04---
28
+
29
+-More XSS attack prevention: css.php, among a few other files (old reference on forums)
30
+-Added short announce URL feature
31
+-Custom date feature
32
+-Added version display
33
+
5 34
 ---Version 1.03---
6 35
 
7 36
 -Prevented XSS attack on index.php page with htmlspecialchars (Thanks to report on forums)
Browse code

Import from the old rivettracker git repository at sourceforge (amisaph/amisapphire branch)

Clarissa Walker (ami-sapphire) authored on 2014/01/24 14:02:23
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,159 @@
1
+RivetTracker is a modified version of PHPBTTracker Version 1.5rc3, written by "DeHackEd".
2
+
3
+Changes:
4
+
5
+---Version 1.03---
6
+
7
+-Prevented XSS attack on index.php page with htmlspecialchars (Thanks to report on forums)
8
+-Show message about folder permissions for 'torrents' and 'rss' when logged into admin.php main menu page
9
+-Changed install.php text at the end explaining folder permissions
10
+-Fixed rss_generator.php bug where torrents were not being ordered according to date (newest should be first)
11
+
12
+---Version 1.02---
13
+
14
+-Fixed dltorrent.php bug where if the tracker was set to hidden, user was unable to download the torrent because of OR instead of AND in conditional check (Thanks to bug report on forums)
15
+
16
+---Version 1.01---
17
+
18
+-Fixed index.php page where authenticate.php link didn't have PHP file extension (Thanks to bug report from Johannes)
19
+-Fixed MySQL formatting finished downloads with thousands and PHP not being able to recognize this correctly (Thanks to bug report on forums)
20
+
21
+---Version 1.0---
22
+
23
+-Changed database engine from default MyISAM to InnoDB, hopefully this will prevent table crashes
24
+-Changed CSS files
25
+-Changed session authentication to more secure method, does not store username or MD5 anymore
26
+-Passwords are now no longer stored in cleartext in the config.php file, they are computed as md5(username.password)
27
+
28
+---Version 0.9991---
29
+
30
+-Added information on upgrading in help file
31
+-Fixed install bug
32
+
33
+---Version 0.999---
34
+
35
+-Fixed bug where RSS feed was being displayed in header when it was disabled
36
+-Fixed rounding error in statistics.php where user was being shown as 100% done when they are only almost done (99.6%)
37
+-Changed display of bytes transferred on index.php page to correct units, before it defaulted to GB
38
+-Added check for stalled download in runSpeed() function
39
+-Fixed error where speed was set to 0 if seeders == 0, not always the case, can still be downloading even if there are no seeders (partial d/l)
40
+-took out repair statement in sanity.php and sanity_no_output.php
41
+-Added CSS page where you can change/swap/create CSS files and examine colors with the color picker
42
+-Added batch upload of torrents via ZIP file
43
+-Added help link to index.php
44
+-Used htmlspecialchars on inputs in order to prevent code injection
45
+-Added javascript row select in delete page
46
+-Fixed delete bug, URL bug
47
+-Added MySQL table prefix option
48
+-Sanitized some inputs (still more?), this way if someone gets your admin password they won't be able to execute malicious code
49
+
50
+---Version 0.995---
51
+
52
+-Fixed bug in namemap table where MySQL size variable INT type was being used, changed it to BIGINT
53
+-Fixed bug where single quotes were not being checked in torrent file, filenames, title, RSS description, and RSS title
54
+-Changed funcsv2.php and added in the clean() and addquotes() functions
55
+-Added REPAIR MySQL command to sanity.php and sanity_no_output.php (to fix table crashes, sometimes it happens, dunno why)
56
+-Fixed bug where null entry for filename search caused error
57
+-Added scrape option in config.php file, changed tracker to check for this before doling out scrape information to client
58
+-Changed location of announce URL to announce.php in order to enable support for scraping
59
+-Added display of files inside torrent via [+] button on index.php page
60
+-Added ability to disable RSS feed
61
+-Peercaching is now on by default, slightly more diskspace needed for this but it's worth it because of the lessened strain on database
62
+-Added ability to have a hiddentracker, this is not a private tracker, but hidden enough so that it requires a login, .htaccess or something
63
+similar will be needed to secure the "torrents" folder, also all BT clients can connect to the tracker still, there is no username authentication there
64
+-Added dltorrent.php that is used when in hiddentracker mode, no direct linking to .torrent file on main page
65
+-Removed updatePeer(), the function was emtpy so not a big deal...
66
+-Added ability to have legal terms and a policy agreement before logging in, if you want this create a file called legalterms.txt with the info in it
67
+-Changed edit database script so that you click on a file to edit it instead of displaying too much information on one screen
68
+-Various minor display improvements
69
+-Checked IE and Firefox for display issues
70
+-Updated documentation with some minor additions
71
+
72
+---Version 0.99---
73
+
74
+-Changed fonts in CSS file so they were easier to read/view in IE
75
+-Limit results on index.php page, can now switch between pages
76
+-Limit results on statistics.php page, can now switch between pages
77
+-Fixed bug install.php and editconfig.php where RSS information was not required, now it is
78
+-Torrent URL checked in newtorrents.php file, error message if it doesn't start with http://
79
+-Tracker announce URL checked in newtorrents.php file, if it doesn't match the tracker, user is asked to re-create torrent and re-upload
80
+-Added display of private torrent variable in DumpTorrentCGI.php
81
+-Fixed bug where uploaded torrent was being used even if there was an error
82
+-Displays torrent information after successful torrent added to database
83
+-Split functions used by DumpTorrentCGI.php into torrent_functions.php, now it can be used by any file to display torrent info
84
+-Changed index.php page to point to admin.php not authenticate.php login page
85
+-Fixed bug where in install or editing the config file, maxpeers could be set to negative number or zero
86
+-Added size to list of items displayed when removing a torrent
87
+-Fixed bug where in install or editing the config file, max reannounce interval and min reannounce interval could be negative or zero
88
+-Made speed estimate slightly more accurate, if no leechers, sets speed to zero
89
+-Added an aggregate total at the top of the index.php page
90
+-Added search functionality to statistics.php page using REGEXP in MySQL
91
+-Added sanity_no_output.php, a stripped down version of sanity.php that gets run by the index.php page every once in awhile
92
+-Added uploadstats.php in admin section that shows upload rates for HTTP seeding and regular bittorrent
93
+-Added support for GetRight HTTP seeding and Bittornado HTTP seeding
94
+-Changed doctype on all pages to <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
95
+-Added help.html file in docs folder that consolidates all information into one file, help.pdf is the PDF equivalent
96
+
97
+---Version 0.9---
98
+
99
+-Added alt and title properties for all image files
100
+-added automatic creation of valid RSS 2.0 file (listed on main page, right side)
101
+-added pubDate (for RSS feed) to table namemap in MySQL
102
+-added index.php redirect file in rss folder
103
+-modified install.php and editconfig.php for additional RSS variables, timezone, and more
104
+-check at beginning of index.php if there is no config.php file, error out and display message
105
+-check at beginning of install.php, if there is a config.php file, this is an indication of an already
106
+ existing installation and thus the user should be warned and unable to continue
107
+-various minor display improvements
108
+-added RSS variables, timezone, and others to config.php file
109
+-changed 'info' in MySQL namemap table to 'size' and make it store total size of all file(s) in torrent in bytes
110
+This is related to an error where the filesize was reported as higher than actual when the file(s) in the torrent were very small
111
+-display total file(s) size in DumpTorrentCGI.php
112
+-added bytesToString() function in funcsv2.php
113
+-make sure install.php and editconfig.php check for blank entries for required variables so config.php isn't populated with null values
114
+-added check for install.php file in admin.php, if so, display strong warning message
115
+-added critical message icon to most class="error" areas
116
+-added page in admin section where user can edit torrents and values already in database
117
+-added errorMessage() in funcsv2.php that shows error message and icon, most errors that are displayed with die() now use this function
118
+-made installer easier to read and walkthrough
119
+-converted all uppercase HTML to lowercase
120
+-run optimize MySQL command after deleter.php runs
121
+-removed dynamic_torrents variable that allowed torrents to be added without authentication
122
+-fixed division by zero error in statistics.php
123
+
124
+---Version 0.8---
125
+
126
+-Adding a torrent file saves the file in the "torrents" folder and is displayed on the main statistics page.
127
+-Restructured files into more folders
128
+-Added icons from the Tango Project:
129
+http://tango.freedesktop.org/
130
+(creative commons license)
131
+http://creativecommons.org/licenses/by-sa/2.5/
132
+-Show tracker URL in newtorrents.php
133
+-Delete torrent from database will also delete the saved torrent file
134
+-Added index.php redirect file in images, docs, and torrents folders
135
+-Fixed DumpTorrentCGI.php MAX_FILE_SIZE error
136
+-Consolidated authentication to one script
137
+-Password protect newtorrents.php page to prevent people uploading items who don't actually have an account
138
+
139
+---Version 0.1---
140
+
141
+-minor formatting issues, addition of links to admin page and create torrent in index.php
142
+-each statistics column is totalled and displayed in the last row
143
+-admin page added with links to relevent scripts, each script except add torrent requires session authentication
144
+-added admin username and password in config.php
145
+-fixed index.php $GLOBALS bug for <title>
146
+-added title variable in config.php
147
+-upload user in config.php is able to add torrents but not access admin resources, this requires the separate admin user
148
+-admin user is able to access any page
149
+-if the number of leechers is zero, then the speed is zero
150
+-if the number of leechers is zero and the number of seeders is zero, then the speed is zero
151
+-mystats.php renamed to index.php
152
+-changed speed units to KB, MB, and GB
153
+-fixed installer.php writing to config.php to account for additional variables
154
+-added statistics.php script, admin resource that shows detailed information on each user the tracker has saved
155
+-removed "short description" in add torrent, now it just defaults to the size all the time
156
+-heavily modified install.php file to allow for a more robust and easier installation
157
+-allow config.php file to be saved to server or downloaded in install.php
158
+-added page in admin section where user can change config.php values right from webpage
159
+