3172 Commits

Author SHA1 Message Date
Miguel Freitas
1056d874bf introducing a new torrent piece property to be persisted on disk: max_seen
is the maximum availability (peer count) ever seen for this piece.
new rpc getpiecemaxseen.
2015-05-30 20:49:13 -03:00
Miguel Freitas
4c67033b3b new getpieceavailability rpc 2015-05-30 18:21:15 -03:00
erqan
7001daee3c excluding groups from userlist 2015-05-27 12:31:51 +03:00
Miguel Freitas
91de877a4d Fix DM/groupchat "from" field which was read as integer instead of string. 2015-05-22 15:25:16 -03:00
miguelfreitas
082ade6144 Merge pull request #333 from erqan/fav-posts
adding new methods for public and private favorites
2015-05-18 22:37:25 -03:00
Miguel Freitas
30754d8a0f update -rpcthreads help (default is 10 not 4) 2015-05-18 22:00:01 -03:00
erqan
8245647b6e users may want to comment RTs also.. 2015-05-11 15:45:51 +03:00
erqan
5fa729fc47 adding new methods for public and private favorites 2015-05-04 16:03:00 +03:00
erqan
0068960aed changes getlasthave method for any possible group implementation on client side 2015-05-02 16:57:00 +03:00
Miguel Freitas
2adb9a0d7e prevent reinvite to some group we left if DM messages got reprocessed somehow.
also, newgroupinvite to ourselves may be used to undo leavegroup.
2015-04-25 18:45:28 -03:00
Miguel Freitas
07d5b5ffb6 new DM format (bencoded) now required 2015-04-24 17:01:21 -03:00
Miguel Freitas
1341bfcfe9 implement leavegroup 2015-04-24 12:01:55 -03:00
Miguel Freitas
7dc7065d07 implement group_members splitting to fit max post size (conservative estimate) 2015-04-23 22:01:55 -03:00
Miguel Freitas
8379dde980 experimental group chat support 2015-04-23 19:45:13 -03:00
Miguel Freitas
401c24d18a newpostraw api allows encrypting/signing posts in javascript before posting to any public twisterd server. 2015-04-22 12:00:51 -03:00
Miguel Freitas
57b554f7cf add another flag field to getposts to allow selecting only DMs or RTs.
hint: to get (encrypted) DM posts use values "2 2"
2015-04-19 17:30:41 -03:00
Miguel Freitas
fa004f5108 no need to fake sig_userpost 2015-04-19 14:24:08 -03:00
Miguel Freitas
67f3cd7ba5 set/get preferred spam language 2015-04-19 13:53:48 -03:00
Miguel Freitas
374364b9d6 0.9.29 2015-04-10 08:07:42 -03:00
Miguel Freitas
06fbea6da9 update registration network with the new external IP we learned from DHT peers 2015-04-10 08:03:03 -03:00
Miguel Freitas
04384df7c4 report the two local/external addresses we know about (which should be the same)
in 'getinfo' rpc. i believe this should help debugging dht connectivity problems
when we change networks, or router gets a new ip etc.
2015-04-08 22:24:56 -03:00
Chuck LeDuc Diaz
557edad77d Use cppcheck 2015-04-01 23:01:59 +02:00
miguelfreitas
7afa7dbf05 Merge pull request #320 from AMDmi3/warning-fix
Don't return NULL as bool, fixes warning
2015-03-08 11:26:18 -03:00
Dmitry Marakasov
a403124c9e Don't return NULL as bool 2015-03-07 07:01:38 +03:00
Dmitry Marakasov
cfe8f14c91 Actually include sys/endian.h for le32enc/le32dec
While here, fix a typo
2015-03-07 06:41:53 +03:00
Michael.X
02086a0f01 fix memory size bug 2015-01-31 22:10:06 -04:00
Miguel Freitas
11cd6a47b1 fix #309 2015-01-24 16:57:03 -02:00
Miguel Freitas
1f748f78c3 be more tolerant to detect outdated blockchain.
the main problem with running libtorrent with an outdated blockchain is to
refuse posts that are signed by new users. given this is only a temporary
state (and most of users are older than a day anyway) it is better to
be more tolerant instead of freezing up everything.
2015-01-02 14:59:58 -02:00
Miguel Freitas
cbac6d7c5e different id names per platform 2014-12-26 21:57:31 -02:00
Miguel Freitas
f199d3bde4 use $HOME in android build recipe 2014-12-26 21:56:42 -02:00
Miguel Freitas
6115190f44 new rpc dhtputraw 2014-12-22 19:33:48 -02:00
Miguel Freitas
fa74424399 fix #303 2014-12-20 11:23:31 -02:00
Miguel Freitas
da21c0a2e4 rpc for development only - generates crypto testvector 2014-12-19 19:41:02 -02:00
Miguel Freitas
aeafa6ec15 new dns seeder 2014-12-05 19:02:37 -02:00
Miguel Freitas
0f5ea415a2 params update 2014-12-04 17:25:18 -02:00
Miguel Freitas
b8e264f4d1 0.9.28: better enforcement of DHT upload rate limit for non-locally generated requests.
the limit applies to: DHT replies, refreshes of stored items, checking for status/tracker and proxy server.
local requests (eg. dhtgets from the UI) are excluded from this limit, so user experience is not affected.
in other words: we limit only the band contributed back to twister network for maintenance tasks.

this should improve resilience against some sorts of denial-of-service attacks and also
prevents saturating the uplink as observed recently.
2014-12-04 16:45:43 -02:00
Miguel Freitas
9d3b0744ff 0.9.27 new 'getmentions' api. return known mentions from users we follow.
never miss a mention from your friends anymore! :-)
(twister-html support pending)
2014-11-29 13:20:43 -02:00
miguelfreitas
4019d5cfba Merge pull request #300 from dryabov/bitcoin-ndebug
Fix support of NDEBUG
2014-11-28 16:42:23 -02:00
miguelfreitas
6e86ec1fa0 Merge pull request #299 from dryabov/patch-8
Process "Connection: close" header in non-JSON requests
2014-11-28 16:41:28 -02:00
Denis Ryabov
6de0e2036d fix asserts to support NDEBUG 2014-11-20 19:09:53 +03:00
Denis Ryabov
724d32c852 Process "Connection: close" header in non-JSON requests 2014-11-20 14:20:54 +03:00
Denis Ryabov
23a684f765 Update twister.cpp 2014-11-20 01:30:28 +03:00
Denis Ryabov
5809846532 Support double hashtags (and double mentions) in newpostmsg
See 706f17869b (https://github.com/miguelfreitas/twister-html/pull/202) and 07edcd08a9 (https://github.com/miguelfreitas/twister-core/pull/295)
2014-11-20 01:29:40 +03:00
Miguel Freitas
3d30b164f0 Merge branch 'libtorrent-status' of github.com:dryabov/twister-core into dryabov-libtorrent-status
Conflicts:
	src/twister.cpp
2014-11-13 17:06:30 -02:00
Denis Ryabov
41cc8385c1 fix type 2014-11-13 19:17:18 +03:00
Denis Ryabov
7271692310 add libtorrent's session status data to getinfo output 2014-11-13 19:08:02 +03:00
miguelfreitas
10eb6abfe0 Merge pull request #295 from dryabov/patch-6
Sync with twister-html/pull/202 (double hashtags)
2014-11-11 17:54:30 -02:00
Denis Ryabov
07edcd08a9 Sync with twister-html/pull/202 (double hashtags)
Sync with https://github.com/miguelfreitas/twister-html/pull/202
2014-11-11 17:42:11 +03:00
Denis Ryabov
5de0706c12 Faster shutdown 2014-11-11 03:17:06 +03:00
Miguel Freitas
fd4bdff636 new seeder 2014-11-06 16:25:05 -02:00