319 Commits

Author SHA1 Message Date
erqan
b4b363cccf option to disable rss at compilation 2015-08-02 14:37:01 +03:00
erqan
2ad8f98bc3 on search method: value is type str, expected obj 2015-07-29 18:27:46 +03:00
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
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
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
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
67f3cd7ba5 set/get preferred spam language 2015-04-19 13:53:48 -03:00
Miguel Freitas
6115190f44 new rpc dhtputraw 2014-12-22 19:33:48 -02:00
Miguel Freitas
da21c0a2e4 rpc for development only - generates crypto testvector 2014-12-19 19:41:02 -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
Denis Ryabov
724d32c852 Process "Connection: close" header in non-JSON requests 2014-11-20 14:20:54 +03:00
Denis Ryabov
5de0706c12 Faster shutdown 2014-11-11 03:17:06 +03:00
Miguel Freitas
4a0a21550b implement directmessage's copy-to-self to sync DMs between twister instances.
based upon @dryabov patches and long discussion in PR#258, see:
https://github.com/miguelfreitas/twister-core/pull/258/files
2014-09-27 10:29:22 -03:00
Denis Ryabov
ab48764e38 add search method 2014-08-27 01:03:37 +04: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
4c5c9cf3fc safe fallback when boost-regex is not found 2014-06-03 12:04:28 -03: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
Denis Ryabov
35bf35a50c disable cross-domain requests 2014-04-14 21:46:42 +04:00
digital dreamer
b1ace5cc69 add public server mode 2014-04-07 12:45:51 +02: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
8b69da2bf4 torrentstatus rpc 2014-02-22 12:30:40 -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
18493205fc make soft checkpoint less verbose 2014-02-14 17:43:44 -02:00
Miguel Freitas
128c0a506b less noisy debug.log using html ui 2014-01-25 12:57:35 -02:00
Miguel Freitas
d30a86a538 rpcallowip is important 2014-01-13 15:01:41 -02:00
Miguel Freitas
bf3ec900d0 some nodes are still on the wrong chain (block 18973 with an invalid spamuser). checkpoint the
correct branch to force them to go to the right chain.
2014-01-13 08:03:43 -02:00
Miguel Freitas
9d5d203a0c bugfix: weak checking for existing users (the transaction may exist in index only
but the chain it belongs was invalidated) caused fork between users who erased their
block database from yesterday and those who didn't. improve the checking (test
if tx is actually in main chain). add another checkpoint. enforce.
2014-01-10 17:36:23 -02:00
Miguel Freitas
9f9bb58635 disable safemode & add checkpoint 2014-01-10 16:04:52 -02:00
toyg
ce787d6cd3 Replaced references to bitcoin/bitcoind in user-visible messages 2014-01-06 15:53:54 +00:00
Miguel Freitas
36da093939 recheckusertorrent rpc 2013-11-23 18:25:55 -02:00
Miguel Freitas
40cd54e0ec use utf8 for text json strings. only a few characters need to be
escaped per json rfc spec. escaping everything was causing problem with browsers.
2013-11-22 17:34:39 -02:00
Miguel Freitas
37aa4f1827 rework locking in getinfo to fix deadlock 2013-11-18 10:51:23 -02:00
Miguel Freitas
f4d6c2be28 getnumpieces rpc 2013-11-14 16:17:06 -02:00
Miguel Freitas
bc0519068a parameter -htmldir 2013-11-11 17:14:12 -02:00
Miguel Freitas
6957873a90 serve html files from ~/.twister/html (actually dataDir + "/html") 2013-11-10 15:08:02 -02:00
Miguel Freitas
bd479f0b2e new rpc adddnsseed 2013-11-10 11:54:22 -02:00
Miguel Freitas
70f96750b5 Merge ../twister-android 2013-11-02 12:41:01 -02:00
Miguel Freitas
ecd49d2fb2 truncate url at '?' when serving htmls 2013-11-02 12:39:56 -02:00
Miguel Freitas
7e1468299b Merge branch 'master' of /home/miguel/softs/twister 2013-11-02 12:35:58 -02:00
Miguel Freitas
6594b01e6f less logging when pooling for network status 2013-10-31 23:52:44 -02:00
Miguel Freitas
277c917b53 no use for setting/getting defaultuser, it just adds confusion. 2013-10-31 13:48:31 -02:00
Miguel Freitas
6ade53ce53 implement new rpc dumppubkey.
importprivkey now verifies if username exists in txdb
2013-10-29 17:54:23 -02:00