summaryrefslogtreecommitdiff
path: root/testing/toxic/prompt.c
AgeCommit message (Collapse)Author
2013-08-14Merge branch 'patch-6' of https://github.com/Astonex/ProjectTox-Core into prirungentoo
2013-08-15remove externs in favor of includesAaron Lipinski
2013-08-15prefer param over staticAaron Lipinski
Conflicts: testing/toxic/main.c
2013-08-14Update prompt.cAstonex
Make id uppercase.
2013-08-14Have toxic handle new no-spam values from friend requestAaron Lipinski
2013-08-13Fixed spam problem. (I broke the API so this will not build)irungentoo
The friend address is what the byte string that you give away for people to add you will be called. 1. Every friend address now contains a number set by the friend. This is to prevent someone from randomly spamming people in the DHT with friend requests and makes it so you need the person to actually give you the address in some way to send the friend request. This number is expected to be encrypted with the friend request. All requests that do not contain this number will be rejected. This means the spammer can no longer use the DHT to collect lists of valid addresses to spam. It also enables users to quickly change the number in case a spammer gets hold of the address and starts spamming it. 2. A 2 byte checksum will be added (not implemented yet) to prevent people from accidentally adding random strings as friends. (NOTE that this has nothing to do with the spam problem I just decided to add a placeholder for it now.)
2013-08-12Messenger refactor - redid work from pull request 79Chris Hall
Moves static state out of Messenger.c and into a Messenger struct Purely stylistic, no functional changes were made. This commit also changed all the callers of Messenger as they now have to pass an instance of the Messenger struct to messenger functions. Also removed some uses of the 'static' keyword at the beginning of function definitions when the function was already declared static, as these caused gcc to whine.
2013-08-10make argument handling (esp. of strings) more robustlukechampine
2013-08-09make toxic handle input in a more sane mannerLuke Champine
2013-08-08Merge pull request #393 from Nominate/patch-1irungentoo
Removed superfluous statusmsg
2013-08-08Removed superfluous statusmsgNominate
Users can just respecify their status with a message. This will also encourage users to think about which status is actually appropriate instead of just leaving the status alone.
2013-08-08oopsJfreegman
2013-08-08fix magic numbersJfreegman
2013-08-07Merge branch 'master' of http://github.com/irungentoo/ProjectTox-CoreMaxim Biro
Conflicts: core/Messenger.c core/Messenger.h
2013-08-07Merge branch 'master' of https://github.com/stqism/ProjectTox-Core into ↵irungentoo
pull-requests Conflicts: testing/toxic/prompt.c
2013-08-07Modified clients to properly work with the changesMaxim Biro
2013-08-07Manually merged prompt.c to upstreamSean Qureshi
2013-08-07Merge branch 'read-receipt' of https://github.com/stal888/ProjectTox-Core ↵irungentoo
into pull-requests Conflicts: testing/toxic/chat.c testing/toxic/prompt.c
2013-08-07Check for correct error value in toxic.Sebastian Stal
2013-08-07Fixed it not compilingSean Qureshi
2013-08-07Merge branch 'provide-status-type' of ↵irungentoo
https://github.com/jin-eld/ProjectTox-Core into pull-requests
2013-08-07Allow to set a specific userstatus type in toxicjin-eld
Use: status <type> <message>, where type is one of online away busy offline The message parameter is optional. To set only the status message, as it was before, use: statusmsg <message>
2013-08-07Manually merged my earlier commits with upstreamSean Qureshi
2013-08-07testing/toxic/prompt.c: changed execute() to ignore whitespace at end of ↵ptrasd
commands
2013-08-07testing/toxic/prompt.c: changed execute() to skip whitespace at start of commandptrasd
2013-08-06code format/clean upJfreegman
2013-08-06Merge branch 'master' of https://github.com/JFreegman/ProjectTox-Core into ↵irungentoo
JFreegman-master Conflicts: testing/toxic/prompt.c
2013-08-06Fixed formattingNominate
2013-08-06Update prompt.cNominate
2013-08-06Corrected wrap-aroundNominate
This should allow wrap-around and allow proper execution.
2013-08-06Stops line-spamming and clears before printing helpNominate
This addresses one issue in #340 perfectly and slightly improves the other.
2013-08-05Merge pull request #341 from stal888/userstatus-extirungentoo
An extension to user statuses.
2013-08-05chat window deleting and re-adding - it just werksJfreegman
2013-08-05Make test clients compatible with userstatus kindsSebastian Stal
No features were added, just fixed callbacks.
2013-08-05Grammar/aesthetic amendmentNominate
2013-08-05Added a 'clear' function to the promptNominate
2013-08-05added ability to close and reopen chat windows & other minor changesJfreegman
2013-08-04Manally merged #314 and #317Sean Qureshi
2013-08-04already a pull request with this additionJfreegman
2013-08-04added command functionality to chat windows and a few minor improvementsJfreegman
2013-08-03added command to clear prompt screenJfreegman
2013-08-03Merge pull request #281 from JFreegman/masterirungentoo
cursor done better, fixed for chat windows
2013-08-03Added break Statementg
2013-08-02cursor done better, fixed for chat windowsJfreegman
2013-08-01Merge pull request #229 from JFreegman/masterirungentoo
fixed friend add bugs and gave no message its own error
2013-08-01added error code for no message on friend add & updated nTox.c/nTox_win32.cJfreegman
2013-08-01core: getaddrinfo() lookup error handlingplutooo
2013-08-01Use print_usage for help commandclpr
2013-07-31fixed friend add bugsJfreegman
2013-07-31Add help command to ToxicNemDiggers