Commit Graph

3094 Commits

Author SHA1 Message Date
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