Releases: JiPaix/xdccJS
v4.1.0
v4.0.6
chore
- 🔖 v4.0.6(bfcb8c6)
docs
- 📝 update doc for v4.0.5(7a8a13a)
fix
- 💄 display filename before download start(1605b25)
refactor
- add method prepareCandidate()(7366e48)
- fileInfoBuilder() & addToResumeQueue()(d71a99c)
- include bot interaction and timeout in prepareCandidate(8702a09)
- reinforce fileInfo control & definition(c1afdd9)
- timeouthandler pass all args at once(e6db5a0)
style
- ✏️ remove trailing spaces and unused .snyk file(e36295a)
- ✏️ remove useless double check(b7203ab)
- change args type for socket events(85409f8)
- download events in separated functions(c4daa9f)
test
v4.0.5
Security improvement
add a secure option
This options is optional AND enabled by default :
It denies files sent by bot with different name than the one requested.
How to use :
In command-line with --no-secure
option :
xdccJS --host irc.server.net --no-secure --download 1 --bot "SWEET|BOT"
Using the library :
let opts = {
host: 'irc.server.net',
secure: false
}
const xdccJS = new XDCC(opts)
Explanation :
Some IRC channels send files through different bot from the one you do the request,
- You query "SOURCE-BOT" for a file :
/MSG SOURCE-BOT xdcc send 23
- then "REPLICA-BOT" answer your request and sends you a file.
In this case you would need secure to be false
, but there's a risk :
- You query "SOURCE-BOT" for file :
/MSG SOURCE-BOT xdcc send 23
- Someone other than "REPLICA-BOT" sends you a file
v4.0.4
182a859 (HEAD -> master, tag: v4.0.4, origin/master, origin/HEAD) v4.0.4 release
8340da2 deleteProfile now also reinitialize default.json
4d66e32 fix bug with interval
e87a576 allow profile creation without botname
181db68 moved progress-bar to the right folder
1082b6f add user env for CLI
6737d24 v4 - see previous commits
ad4ab11 (tag: v4.0.0) display debug msg from sending bot
f9eb644 show bot response
b22852c add timeout to doc
3db83ef travis debug
c9e3e71 remove env in travis
d15eb78 increase test coverage,
e407229 Retries have now the same timeout as this.timeout
0d039cd more consistent way to send pipe event
d1256d0 add a timeout option
2d11e37 fixed wrong emitted event
e54a8c8 change formatting of interrupted download bar
fa449b6 reimplementing passive DCC
6b2edbd fix error when resuming empty files
01bcfd0 remove lib/* coverage
2aea456 more testing
b40a4c8 removed reconnect as it's not implemented (yet ?)
3104104 reimplement retries
be212aa fix xdccJS.on('done') not returning job
cd27588 params stored as properties
e57d62e fix wrong check condition for norandomize
313a91d add wirteMSG and clearMSG methods
b2ae90d renammed args to match library params
532244f moved ctcp message matching to sub function
d3264cc Merge pull request #15 from JiPaix/client
8fdc80e (origin/client) split xdccjs into classes
9c7f13f ignore src/package.json
76efb5d moved color reset to replace() instead of print()
609f5d4 use of array.map instead of loop
bda11b2 reworking binaries of xccjs
ce928ce change import
c7cea0b using this until better solution is found
325e132 add cc badge
82d45d9 reviewing documentation
26e0d93 add fileNameWithQuotes()
35a1aa9 improving code quality of routine()
c48b84f add timeout.clear() function to Job and Candidate
1765787 reworking on __checkBeforeDL()
7bb3a04 better type representation of _is()
bd2405a timeout has proper initialization
992fcb4 moved __removeNowFromQueue() to timeouthandler.ts
169c5eb removed duplicate job interface export
2ca67d9 refactoring code
2fcf594 partially updated readme
dfa7cf4 added documentation for irc-framework dependency
c346464 improved reconnect() and __parseCtcp()
c4a1ea7 pascalcased interface CheckedParams
59c3476 added RGB and simplified methods
44f3487 Changes to Timeouts, events, verbose messages.
97242a5 removed unused argument key in isProfile()
6e45a8e update import, add return type to printer()
d0f056d splitted loadDefaultProfile
a40f0b1 moved file structure
25f5843 simplified methods *Profile
987e36f fixed regex range and concatenation with no effect
c37fe73 release 3.4.2
4917d06 reworking xdccJS bin
3d90764 removed console.log, pipe is now emitted globally
d08d481 added cc coverage
d5ed7d2 introducing a new function to calculate range
b69393c increased code quality
796cb98 fixed event 'connect' trigger two time
6c7c3f9 decomposed timeout function
b659386 moving event listening to external class
eb0f057 updated documentation
305fd99 remove ununsed import of Params
4305936 reuploaded logo
60f7c8f deffered typechecking to subclass
4b20582 updated doc
8bd331b interface in separated files
e515f6d improving readabilty trying to reduce complexity
d7ce1d3 Merge branch 'master' of https://github.com/JiPaix/xdccJS into master
794575f updated discord url
c222964 reducing code complexcity
39bdb23 Update README.md
330e8be updated readme with logo
248e3f3 added logo
88dd2d3 fix wrong path to profiles
9ba28d5 Changes to CLI