Commit Graph

3155 Commits

Author SHA1 Message Date
Denis Ryabov
4e47b5666e filter directmsgs by age 2014-09-02 13:20:18 +04:00
Denis Ryabov
2706e713a0 fix case-insensitive search 2014-09-02 12:50:15 +04:00
Denis Ryabov
0a25bdead9 fix description 2014-09-02 11:55:43 +04:00
Denis Ryabov
ecb13bbd0e fix access to stack var 2014-09-02 11:49:19 +04:00
Denis Ryabov
ace69ca57e ;;->; 2014-09-02 02:07:46 +04:00
Denis Ryabov
080ac30468 improve search 2014-09-02 02:07:27 +04:00
Denis Ryabov
c500409517 future-friendly filter ("not dm" instead of unclear "rt AND NORMAL") 2014-08-27 01:05:15 +04:00
Denis Ryabov
ab48764e38 add search method 2014-08-27 01:03:37 +04:00
Denis Ryabov
171fef62c5 add aging for hashtags 2014-08-21 13:24:55 +04:00
Miguel Freitas
c7e35d86a2 dont assume the DHT item storage is confirmed just because we got some results back,
compare the contents instead. should improve reliability of mentions.
2014-08-18 19:37:32 -03:00
Miguel Freitas
38052af55d handle block db inconsistency more nicely 2014-07-28 15:58:33 -03:00
Miguel Freitas
3b0633fad4 global dht traffic seems too high: implement probabilistic refresh for users that post too much.
this should reduce the traffic for now but me may want to tweak these settings later.
the most recent posts are priorized regardless of how much the user posts.
2014-07-19 12:38:04 -03:00
Miguel Freitas
201328d62a 0.9.23 2014-07-17 11:11:00 -03:00
Miguel Freitas
f457d9d863 mingw fix 2014-07-08 22:02:35 -03:00
Miguel Freitas
0c03bb2ff2 win32 has no pthread_self 2014-07-07 22:45:29 -03:00
Miguel Freitas
ec2694bf0d win32 doesn't like pid_t 2014-07-07 21:43:02 -03:00
Miguel Freitas
2d96c08f49 no boost-locale in android? at least not here. 2014-07-04 12:58:10 -03:00
Miguel Freitas
6cae25e7ab fix dht count when using proxy (fix #231) 2014-07-04 08:44:26 -03:00
Miguel Freitas
2168e34677 miniupnp dependency removed, yes! :-) fix #130
libtorrent implements a upnp client: use it to map the other twisterd port.
2014-07-04 00:03:06 -03:00
Miguel Freitas
e4267649f4 replace showmyip.com (down) with wtfismyip.com 2014-07-03 23:49:32 -03:00
Miguel Freitas
7f0f1a96af more consistency checks to dhtproxy (client) 2014-07-02 09:02:24 -03:00
Miguel Freitas
505e4c80d5 0.9.22 2014-07-01 23:25:32 -03:00
Miguel Freitas
aac651390f if dhtproxy is enabled we may need to manually obtain peer lists from trackers 2014-07-01 23:22:35 -03:00
Miguel Freitas
7474196b44 require http authentication for static html pages as well.
should help browsers being less confused than just requiring it for RPC.
2014-06-28 08:26:56 -03:00
Miguel Freitas
025c061415 dhtput should have a higher cost, as it lacks active limit check. 2014-06-27 21:11:56 -03:00
Miguel Freitas
e52f2c2527 dhtproxy: tunnel DHT traffic into TCP connections 2014-06-26 16:38:43 -03:00
Miguel Freitas
5af649a58a add consistency checks to node_impl::putDataSigned and a flag to mean that locally generated content should be kept for periodic refresh. 2014-06-25 17:47:44 -03:00
Miguel Freitas
7651134016 move dhtput signing to outside libtorrent.
old function (ses->dht_putData) is likely to be removed, i can't think of any use for it right now.
2014-06-25 16:28:50 -03:00
Miguel Freitas
67fd2184cd refactor m_dhtgetMap with 3 helper functions. now allow multiple listeners per targethash. 2014-06-25 14:44:12 -03:00
thierry-FreeBSD
e3ce8e18b7 Do not define be32dec / le32dec on FreeBSD, since they are already defined in sys/endian.h 2014-06-22 16:20:29 +02:00
thierry-FreeBSD
09d2cf44fb Adding a Makefile for FreeBSD, without using the bundled leveldb 2014-06-22 16:06:00 +02:00
Miguel Freitas
2d23677f40 use shared_ptr for libtorrent::session. fix #217. 2014-06-20 16:38:49 -03:00
Miguel Freitas
1e6f152de0 Merge branch 'master' of github.com:miguelfreitas/twister-core 2014-06-03 17:36:01 -03:00
miguelfreitas
1fce73fd0e Merge pull request #209 from digital-dreamer/rss-fix-time_t
Properly escape xml characters
2014-06-03 16:35:22 -04:00
Miguel Freitas
3931001e9b fix getpost memory leak. fixes miguelfreitas/twister-html#161 2014-06-03 17:29:03 -03:00
Miguel Freitas
adbdd709b4 update old makefiles as well 2014-06-03 17:14:20 -03:00
digital dreamer
a5f670ed96 properly escape xml characters 2014-06-03 22:05:40 +02:00
digital dreamer
87e4b60008 fix possible compile error with implicit time_t conversion 2014-06-03 19:31:44 +02:00
Miguel Freitas
4c5c9cf3fc safe fallback when boost-regex is not found 2014-06-03 12:04:28 -03:00
miguelfreitas
3d0519adfa Merge pull request #204 from digital-dreamer/rss
RSS feed support
2014-06-03 10:20:05 -04:00
digital dreamer
a6505ddcf9 use twister.conf argument to enable direct messages 2014-06-03 09:17:33 +02:00
Miguel Freitas
8f03692074 wait twister threads to finish before destroying libtorrent session object.
may fix #200.
2014-06-01 18:03:15 -03:00
digital dreamer
bb544a21b4 parse query as parameter map 2014-05-31 10:59:09 +02:00
digital dreamer
cc13358b73 rss authentication 2014-05-30 12:41:16 +02:00
digital dreamer
80a60a2095 add RSS support 2014-05-25 18:10:52 +02:00
Miguel Freitas
5eb40d9ffd don't assume the fastest dht node to be the most up-to-date on a given resource.
that is, now we also enable multiple replies collecting for non-multi entries.
default parameter is a very small timeout for additional replies: that's a tradeoff between probability of getting an older value x slowing the UI.
2014-05-23 19:07:01 -03:00
erqan
33686c6fc5 added more delimiters for hashtag 2014-05-15 15:27:28 +03:00
erqan
7e4e6cbd2f added ' and ; to hastag delimiters 2014-05-15 15:09:32 +03:00
Denis Ryabov
35bf35a50c disable cross-domain requests 2014-04-14 21:46:42 +04:00
Miguel Freitas
fdb08e9ca0 make debug.log less verbose by default 2014-04-11 18:26:39 -03:00
Miguel Freitas
d4b1c9b569 check HAVE_BOOST_LOCALE and fix compilation when boost-locale is not available 2014-04-11 18:03:24 -03:00
Denis Ryabov
12f74e2bbc Merge branch 'master' of git://github.com/miguelfreitas/twister-core
Conflicts:
	Makefile.am
2014-04-10 18:30:13 +04:00
miguelfreitas
6d1e5a40b1 Merge pull request #183 from digital-dreamer/public-server
Public server mode
2014-04-08 10:18:46 -03:00
digital dreamer
b1ace5cc69 add public server mode 2014-04-07 12:45:51 +02:00
Miguel Freitas
03b1371190 use DB_CXX_HEADER. fix #114 2014-04-06 20:25:49 -03:00
Miguel Freitas
03d037c197 truncate file when saving settings 2014-04-06 17:00:42 -03:00
Miguel Freitas
ad83ba061c store dhtput data locally so it will be refreshed like the other dht entries we maintain.
should help with missing DHT entries (issue #165), although i think #165 would benefit of a more agressive (faster) retrying of remote stores.
2014-04-05 23:59:44 -03:00
Miguel Freitas
4509ff7e3f fix crash reported by ankostis 2014-04-01 22:23:24 -03:00
Denis Ryabov
671bec8e78 an attempt to fix issue #111 2014-03-17 23:23:53 +04:00
Denis Ryabov
21b0daf7f8 Content-Type for .mp3 and .ogg files (used in Calm theme) 2014-03-13 15:40:56 +04:00
Denis Ryabov
3d9c89889f Correct Content-Type header for gif images 2014-03-13 15:16:57 +04:00
Miguel Freitas
4c561ceb74 make sure torrent is unpaused if added/followed later on 2014-03-01 10:05:30 -03:00
Miguel Freitas
adc9e82f3a 0.9.19 2014-02-26 08:08:48 -03:00
Miguel Freitas
c17ccd5f66 more connections. less memory per connection. 2014-02-25 19:12:22 -03:00
Miguel Freitas
cb9e637ac6 don't auto-manage the torrents we follow 2014-02-25 08:37:32 -03:00
Miguel Freitas
4e701dd7a4 prevent explosion of status checks. this traffic has increased a lot since we fixed tracker issues. 2014-02-24 11:25:36 -03:00
Miguel Freitas
34a31e327a 0.9.18 2014-02-23 15:44:50 -03:00
Miguel Freitas
8b69da2bf4 torrentstatus rpc 2014-02-22 12:30:40 -03:00
Miguel Freitas
36cf59c705 prioritize trackers. announce to dht even if paused. another try to fix #159. 0.9.17. 2014-02-20 19:52:47 -03:00
Miguel Freitas
2d87266108 bugfix: properly accept tracker response even if followers==0. fix #159 2014-02-20 00:21:47 -03:00
Miguel Freitas
074fb5b2d0 0.9.15 to mark getspamposts is available 2014-02-17 23:18:29 -03:00
Miguel Freitas
8543127654 getspamposts rpc 2014-02-16 15:27:06 -03:00
Miguel Freitas
672b56a865 experimental top trending hashtags 2014-02-15 20:41:54 -02:00
Miguel Freitas
d1a17dc21f add timeout parameters to dhtget allowing to wait more to collect multiple replies 2014-02-15 17:16:23 -02:00
Miguel Freitas
1ff690e9a0 use the same proxy settings (like Tor socks5) for libtorrent as well. DHT still won't work. 2014-02-15 16:51:00 -02:00
Miguel Freitas
18493205fc make soft checkpoint less verbose 2014-02-14 17:43:44 -02:00
Miguel Freitas
555e711b09 update hard/soft checkpoints 2014-02-14 16:56:42 -02:00
Miguel Freitas
fcae131b7f 0.9.13 2014-01-30 20:55:52 -02:00
Miguel Freitas
e22eb1747d update client version again. openssl fix is fairly important as well, better make sure people will get it. 2014-01-28 23:27:07 -02:00
Miguel Freitas
7f9bd14f1f openssl's thread id callback is needed for stable operation.
intermittent block hash validation errors seen otherwise, most likely due to libtorrent hasher using openssl lib from another thread.
2014-01-28 22:45:58 -02:00
Miguel Freitas
43e57ad05f 0.9.11 2014-01-28 18:11:17 -02:00
Miguel Freitas
a9f53cce98 trying to reduce the occurrences of "INCOMING ERROR: height > getBestHeight" 2014-01-27 20:10:32 -02:00
Miguel Freitas
2aa2b7b3a3 should fix mapNewBlock variable that commented out last year. 2014-01-27 16:15:43 -02:00
Miguel Freitas
0b906f2494 delay torrent initialization 2014-01-26 15:12:10 -02:00
Miguel Freitas
284021ed7e new dns seeder. thanks gombadi! 2014-01-26 13:58:50 -02:00
Miguel Freitas
128c0a506b less noisy debug.log using html ui 2014-01-25 12:57:35 -02:00
Miguel Freitas
a884c002ce 0.9.9 now compiles under cygwin! 2014-01-25 12:55:04 -02:00
Miguel Freitas
34936903fc PRIO_MAX is not defined in cygwin, why? 2014-01-24 20:30:11 -02:00
Miguel Freitas
8c43acf256 update voting usernames 2014-01-24 18:55:31 -02:00
Miguel Freitas
440525ebaa apply leveldb cygwin patch from http://code.google.com/p/leveldb/issues/detail?id=188 2014-01-24 10:12:07 -02:00
Miguel Freitas
1e1a23b5d8 fix GetNextInMainChain (thanks Pieter Wuille for suggesting this) 2014-01-23 19:25:08 -02:00
Miguel Freitas
85fa3d4b9a checkpoints + soft checkpoint update 2014-01-21 21:27:09 -02:00
Miguel Freitas
102d172ca3 highly experimental soft checkpoint based on consensus 2014-01-19 22:25:22 -02:00
Miguel Freitas
1df2b24f90 0.9.7 2014-01-19 01:00:24 -02:00
Miguel Freitas
6416fa5d58 another try to fix the infinite recursion triggered when the new (longer) chain
contains an invalid transaction (due to older, buggy, twisterd or attacker).
i'm not entirely convinced that original bitcoin couldn't be attacked the same
way (51% is still needed, but crashing the client is pretty bad).
2014-01-19 00:53:15 -02:00
Miguel Freitas
19ff320d24 replace HaveTxIndex for GetTransaction. this is a more secure check since it also
verifies if tx is part of current main chain. old test may cause problems for people
trying to reregister their usernames in case of reversal attack since nodes might incorrectly
refuse to accept/retransmit the new transaction.
2014-01-18 20:36:18 -02:00
Miguel Freitas
defb9ef6a9 First try to add proper autotools build system 2014-01-17 16:36:06 -02:00
toyg
0ada1bda54 fixes #56 2014-01-17 01:21:01 +00:00
Miguel Freitas
d19fef0028 nothing interesting, just checkpointing + warning fix 2014-01-16 14:43:37 -02:00
gubatron
5d582e92b6 merging last changes from original repository 2014-01-15 17:52:48 -05:00