299 Commits

Author SHA1 Message Date
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
Miguel Freitas
dbc640faaa implement exact match on username search 2013-10-28 23:30:18 -02:00
Miguel Freitas
2cd0b0a881 rescandirectmsgs: rescan all streams of users we follow for new and old directmessages 2013-10-28 22:59:43 -02:00
Miguel Freitas
699d7a0802 Merge branch 'master' of /home/miguel/softs/twister 2013-10-26 17:59:26 -02:00
Miguel Freitas
39e8ed8fb7 increase number of rpc workers 2013-10-24 23:32:20 -02:00
Miguel Freitas
6fc4979a1f no setlocale in android 2013-10-20 18:23:57 -02:00
Miguel Freitas
d9c98f3a73 add some mime types to the lame web server 2013-10-20 14:41:55 -02:00
Miguel Freitas
d17224516f shorter rpc name: getlocaldirectmessages => getdirectmsgs 2013-10-14 18:55:56 -03:00
Miguel Freitas
f75fc11274 getlocaldirectmessages: get decrypted direct messages sent/received by user 2013-10-14 11:41:40 -03:00
Miguel Freitas
f4939a7874 create structure per local user to keep m_following and directmsgs
add proper mutexes to twister.cpp
2013-10-08 15:39:56 -03:00
Miguel Freitas
cb7f080b75 less noisy. disable some dht announce and already connected messages 2013-10-06 23:02:30 -03:00
Miguel Freitas
7182f1bad8 getlasthave 2013-10-06 22:29:17 -03:00
Miguel Freitas
0071cb31db support key replacement from json rpc. seems to work. 2013-10-02 19:04:38 -03:00
Miguel Freitas
ea32a5a117 - begin refactoring twister_utils.h
- new rpc commands getdefaultuser/setdefaultuser (why is it not setting default on creation?)
- putdht now receives a generic json value parameter
2013-09-28 17:17:14 -03:00
Miguel Freitas
adeeb15213 implement very very simple html server to fix cross-domain problems executing json-rpc from browser 2013-09-28 07:47:07 -03:00
Miguel Freitas
8294e75672 listusernamespartial rpc 2013-09-21 17:53:55 -03:00
Miguel Freitas
ac55203421 follow/unfollow rpc 2013-09-20 23:05:38 -03:00
Miguel Freitas
2e1c79a4c8 setspammsg rpc 2013-09-20 19:51:56 -03:00
Miguel Freitas
5e68d4e2ae new getposts rpc 2013-09-20 18:59:31 -03:00
Miguel Freitas
460be48e63 rpc cleanups 2013-09-19 07:23:54 -03:00
Miguel Freitas
198c85f8ae newrtmsg command working. requires original post json object "v" (containing userpost/sig_userpost) 2013-09-18 23:09:51 -03:00