Commit Graph

78 Commits

Author SHA1 Message Date
Kevin Froman
cf669024bf handle invalid input when adding peer better 2020-10-15 22:02:51 +00:00
Kevin Froman
57225f57f0 work on fixing weird upload issues 2020-10-15 03:56:43 +00:00
Kevin Froman
3ef29077e7 plaintext block fixes with sharing, fixed peer lookup 2020-10-10 23:23:22 +00:00
Kevin Froman
fc7db42deb do not upload plaintext to peers that do not support it, closes #14 2020-10-10 04:26:51 +00:00
Kevin Froman
10ba2be93f small bug fixes, added more cors headers for pub api browser requests 2020-10-06 02:53:56 +00:00
Kevin Froman
45940b2dba + added address adding input to web ui in sidebar
fixes #10
2020-10-03 22:43:18 +00:00
Kevin Froman
092233027c allow truncated hashes in getblocks public endpoint 2020-09-30 10:05:40 +00:00
Kevin Froman
5abe4cf704 (re)added cors to public api 2020-09-30 07:45:14 +00:00
Kevin Froman
68a557daf5 added block type filter for public get blocks endpoint 2020-09-25 05:17:08 +00:00
Kevin Froman
c0ebfec034 Default disabled upload mixing with new config value 2020-09-15 18:11:44 +00:00
Kevin Froman
2ce5f48c90 Added ui.public_remote_enabled and ui.public_remote_hosts 2020-09-08 08:39:18 +00:00
Kevin Froman
f8fcd6d4e5 Formatting changes 2020-09-07 03:18:23 +00:00
Kevin Froman
37e5dbab4b Moved plugin web files to be in the plugin folder to reduce staticfiles blueprint coupling 2020-09-01 22:41:59 +00:00
Kevin Froman
14f2d03ebf Formatting improvements in httpapis 2020-08-26 08:25:43 +00:00
Kevin Froman
a83351a73c misc formatting improvements 2020-08-25 13:20:37 -05:00
Kevin Froman
8d54519771 implemented the sybil attack script 2020-08-23 11:54:14 -05:00
Kevin Froman
fd73f63ecd fix public block list not working because of old kwarg format 2020-08-20 20:00:44 -05:00
Kevin Froman
272d7d7f74 Removed Windows specific code 2020-08-12 17:21:11 -05:00
Kevin Froman
87b8655b83 do not start lan on qubes 2020-08-10 01:03:32 -05:00
Kevin Froman
feb8004c95 fix generating hashes not being removed when done, add endpoint to get generating hashes 2020-08-09 22:13:06 -05:00
Kevin Froman
6976dcf8f3 Friends API now shows redirect error message when ref header not set instead of request failing 2020-08-08 15:39:24 -05:00
Kevin
080f33bf1f More decoupling, removed unnecessary announceCache 2020-07-26 21:45:17 -05:00
Kevin
97a5f50271 Moved dbTimestamps and newPeers to KV for more decoupling 2020-07-26 15:49:34 -05:00
Kevin
6a6718c9fd Moved onlinePeers to KV to further reduce coupling 2020-07-25 22:28:32 -05:00
Kevin
0e4e7bb050 Moved communicator shutdown over to KV model for more decoupling 2020-07-25 21:36:48 -05:00
Kevin
9fc741106a made localcommand pep8 compliant 2020-07-17 13:49:18 -05:00
Kevin
7931f514b6 Only hide blocks uploaded to us if we have outgoing peers (don't send to upload event handler) 2020-06-30 18:34:13 -05:00
Kevin
c46e9590c6 share too_many to all requests (flask "g") handled by public security module 2020-06-30 17:17:22 -05:00
Kevin
3a6322c6c6 Remove _delay_wait_for_share_block_removal because it doesn't seem to exist 2020-06-30 17:16:33 -05:00
Kevin
049956544e improve upload error log messages 2020-06-28 04:18:00 -05:00
Kevin
cc41ad793e correct gettortransport endpoint tor config reading to use int and not bool 2020-06-27 18:05:04 -05:00
Kevin
1aea6c3362 don't show tor transport box if there is none 2020-06-25 03:29:27 -05:00
Kevin
6c75c525d2 added gettoraddress private endpoint 2020-06-21 17:54:30 -05:00
Kevin
7d8c3f75e4 fix formatting in httpapi security 2020-06-21 15:48:00 -05:00
Kevin
34416c07fe made particles more efficient, finished basic blocks feed 2020-06-21 02:27:55 -05:00
Kevin
c81df9093d added particles and some code for recent block listing 2020-06-20 05:31:51 -05:00
Kevin
88824b7913 update runtime test result 2020-06-13 18:18:24 -05:00
Kevin
3c7b090a4e Merge branch 'master' into lan 2020-06-13 18:04:20 -05:00
Kevin
a401f49da3 fix index.html not being auto loaded in subdirs
fix pep8 styling in sitefiles.py
2020-06-13 17:51:09 -05:00
Kevin
3d0f1d9337 fix import format in sitecreator init 2020-06-13 17:50:37 -05:00
Kevin Froman
026901ce90 Fix gettransports 2020-04-14 22:40:31 -05:00
Kevin Froman
a52465a54f work on lan 2020-04-06 08:51:20 -05:00
Kevin Froman
39d0be32ac import jsondecodeerror seperately since its not in ujson 2020-04-03 04:33:30 -05:00
Kevin Froman
dee5d8ceed make config use ujson
made httpapi use ujson

made onionrblocks mod use ujson

made setup config use ujson

made devreporting use ujson

made transports/tor use ujson

made contactmanager use ujson
2020-04-03 04:13:50 -05:00
Kevin Froman
0da27a78c7 basic requests can now use lan, work on lan client 2020-03-31 01:48:20 -05:00
Kevin Froman
2aa8cdbaa0 corrected utils formatting and removed defunct utils 2020-03-23 23:55:57 -05:00
Kevin Froman
e6181bdd1f fixed nasty bug where tor circuits was causing gevent to leak threads 2020-03-20 03:50:48 -05:00
Kevin Froman
24284e058f ensure public api served blocks are not decrypted 2020-03-19 01:40:52 -05:00
Kevin Froman
b62e613e8e work on mail settings, onionruser own key adding bug fix 2020-02-27 21:06:28 -06:00
Kevin Froman
080933639c fixed 'is onionr client' security exit attribute error and improved public security module formatting 2020-02-19 18:02:20 -06:00