Commit Graph

4971 Commits

Author SHA1 Message Date
Miguel Freitas
e7a1bf77fa use Content-Security-Policy to prevent javascript: injection in URLs.
unfortunately we still require 'unsafe-eval' due to jquery.getScript
2015-07-17 17:27:09 -03:00
Miguel Freitas
2668b4d832 keep track of torrent location (n,k) for direct messages as well.
this way we may check for piece delivery to the network.
2015-05-31 09:06:42 -03:00
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
miguelfreitas
c4b0558e46 Merge pull request #336 from erqan/listwalletuser
excluding groups from userlist
2015-05-27 07:20:37 -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
miguelfreitas
b7de00d35e Merge pull request #332 from erqan/getlasthave-with-userlist
changes getlasthave method for any possible group implementation on clie...
2015-05-03 09:52:20 -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
miguelfreitas
b14b6cf856 Merge pull request #330 from shaman/master
fixed OS X paths
2015-04-19 13:17:47 -03:00
Eugene Kuligin
68e0c6ada3 fixed OS X paths 2015-04-19 10:42:47 +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
a977b88895 update ip_voter from upstream to get this nice maybe_rotate method.
now the new ip can finally gain over a well voted old ip.
2015-04-09 23:38:04 -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
miguelfreitas
bbfa75dc0a Merge pull request #328 from celeduc/cppcheck
Use cppcheck on src ; gitignore more outputs
2015-04-02 09:33:35 -03:00
Chuck LeDuc Diaz
d9ff2d483f multithread cppcheck 2015-04-02 00:14:13 +02:00
Chuck LeDuc Diaz
f7c1b66049 organize .gitignore 2015-04-01 23:41:28 +02:00
Chuck LeDuc Diaz
f727faeb94 fix cppcheck syntax 2015-04-01 23:29:17 +02:00
Chuck LeDuc Diaz
557edad77d Use cppcheck 2015-04-01 23:01:59 +02:00
miguelfreitas
11f0d57864 Merge pull request #327 from Sp1l/master
Fix build with LibreSSL
2015-03-29 19:58:17 -03:00
Bernard Spil
cacca0a56c Fix build with LibreSSL
LibreSSL includes work slightly different, need to  specifically rand.h was not included making build fail where RAND_add is used
2015-03-29 21:49:05 +02:00
miguelfreitas
95646b03ca Merge pull request #326 from sandrossv/patch-doc
building instructions update
2015-03-27 15:58:33 -03:00
sandrossv
5baca603c8 building instructions update 2015-03-27 15:52:27 -03:00
miguelfreitas
e00a1957f6 Merge pull request #323 from sandakersmann/patch-1
Added line break and "Core" to README.md
2015-03-10 19:58:16 -03:00
sandakersmann
3f499fec4c Added line break and "Core" to README.md
Added line break after the "Bitcoin Copyright" line and added "Core" to "Bitcoin developers" in README.md
2015-03-10 22:40:24 +01: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
miguelfreitas
b5788f7bfa Merge pull request #321 from AMDmi3/freebsd-build-fix
Actually include sys/endian.h for le32enc/le32dec on FreeBSD
2015-03-08 11:26:09 -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
miguelfreitas
66394b047f Merge pull request #313 from XX-net/master
fix memory size bug
2015-02-01 12:09:35 -02: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
ccc131233b fix mistake reported by Tim Nicholson 2015-01-19 08:19:43 -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
4e927c1c4e Merge branch 'master' of github.com:miguelfreitas/twister-core 2015-01-02 14:53:54 -02:00
miguelfreitas
4019d02c65 Merge pull request #307 from benhc123/patch-5
Updated license date
2015-01-01 19:54:51 -02:00