Commit Graph

155 Commits

Author SHA1 Message Date
Kevin Froman
75c8abd9e0 check for oserror when binding local ips 2019-01-08 01:25:56 -06:00
Kevin
5dd4022684 API reformat 2019-01-08 05:51:39 +00:00
Kevin Froman
c5a0b29988 communicator db responses probably finished 2019-01-07 15:09:58 -06:00
Kevin Froman
aeb9a6e775 work on gui, dbstorage, daemon queue responses 2019-01-06 23:50:20 -06:00
Kevin Froman
c0fe0896ee work on board plugin and api 2018-12-26 23:27:46 -06:00
Kevin Froman
2289171b0f started a simple board plugin 2018-12-26 00:14:05 -06:00
Kevin Froman
1dd471b91e
+ Reformatted API, more efficient, standard, and secure now
* Various bug fixes
2018-12-22 13:02:09 -06:00
Kevin Froman
0b38f78a64 more endpoints reimplemented in new api 2018-12-20 00:01:53 -06:00
Kevin Froman
a148826b39 work on revising api 2018-12-19 00:06:25 -06:00
Kevin Froman
a8f8aea35f work on revising api 2018-12-18 17:48:17 -06:00
Kevin
ca70b275f6 Merge wot 2018-12-09 17:29:39 +00:00
Arinerron
908ee647a1
Fix merge conflicts 2018-11-16 23:23:10 -08:00
Kevin Froman
851b2bef76
onionr now waits for a block to be uploaded to share it, unless the node exits 2018-11-13 11:07:46 -06:00
Arinerron
bb08162019
Make Onionr more user friendly
This commit mostly just made messages more readable, worked on logger, and fixed a few bugs
2018-11-10 19:25:40 -08:00
Kevin
44d545684a Merge Tempblocks 2018-11-11 02:10:58 +00:00
Arinerron
d5355fdc9e
Merge remote-tracking branch 'origin/tempblocks' into onionrui 2018-11-09 22:13:50 -08:00
Kevin Froman
c0707a10f9 fixed offline error 2018-11-08 23:22:43 -06:00
Kevin Froman
293b36e3ad mail plugin usable now 2018-11-04 10:06:24 -06:00
Kevin
c073020b80 Added API check in requests 2018-10-26 22:29:25 -05:00
Kevin Froman
b5fecdf1e8 logging is less spammy, file disabled by default, and we dont try to scan encrypted blocks that aren't for us 2018-09-26 20:37:52 -05:00
Kevin Froman
1a856c365f work on sockets, added profile setter script 2018-09-25 23:58:11 -05:00
Arinerron
6e55636e78 test 2018-09-24 16:48:00 -07:00
Kevin Froman
4e8f7e2761 work on sockets 2018-09-20 23:47:40 -05:00
Arinerron
0f91bf7018 Add liking feature 2018-09-07 23:45:33 -07:00
Aaron
fd3d18f5b9 Merge branch 'update-onionrui' into 'onionrui'
Update onionrui

See merge request beardog/Onionr!9
2018-09-07 04:50:37 +00:00
Arinerron
f10e077896 Make console output less verbose for api 2018-09-06 21:46:56 -07:00
Kevin Froman
1318bb3ea6
use new gevent version to support python 3.7 2018-09-03 10:28:08 -05:00
Arinerron
ecefa41792 Complete first part of work on onionrui 2018-09-02 22:08:12 -07:00
Arinerron
b01184d151 add logos 2018-09-02 15:44:23 -07:00
Kevin Froman
3a666d23e7
disabled site viewer 2018-08-18 10:09:55 -05:00
Kevin Froman
a900c8eb0e
disabled site viewer 2018-08-18 09:40:59 -05:00
Kevin Froman
5b20930d5c hopefully fixed block sync issue 2018-08-16 19:02:14 -05:00
Kevin Froman
aab7d4296f
improved blacklisting 2018-08-12 22:48:33 -05:00
Kevin Froman
12d39393b4
* cache pip requirements in dockerfile
* import blacklist into core
+ began work on blacklist command
* work on blacklist module
* modified dockerignore
2018-08-10 17:13:58 -05:00
Kevin Froman
bc95d8855d
+ added POW announce for node (now POST)
* fixed bug where core hsAddress was not available on first startup
2018-08-08 14:26:02 -05:00
Kevin Froman
1ae2725319
improved onionr startup and port binding 2018-08-06 02:50:08 -05:00
Arinerron
60a1d36b3a misc updates 2018-08-03 20:47:56 -07:00
Arinerron
0b77a88e72 Improve UI 2018-08-03 19:52:45 -07:00
Kevin Froman
d22701199c
* work on peer profiling
* block exchange order
* edited disclaimer html
* began working on peerCleanup
2018-08-01 02:22:22 -05:00
Arinerron
ce8800652d www/ui/ -> ui/ 2018-07-30 22:02:01 -07:00
Arinerron
8e01063f94 Move to www 2018-07-30 21:54:17 -07:00
Arinerron
ddb3ce1e35 Various bug fixes 2018-07-30 21:41:32 -07:00
Arinerron
88df88204c Add files 2018-07-29 17:43:28 -07:00
Arinerron
215fbcba68 Add web api callbacks 2018-07-29 17:37:12 -07:00
Kevin Froman
d39208d648
added static dir and serving for web ui 2018-07-27 00:48:22 -05:00
Kevin Froman
71007a2d0a
+ added reverse block insertion
* handle downloading of blocks better when peer goes offline
* bumped default disk allocation
* added post request util
2018-07-23 02:43:10 -05:00
Kevin Froman
8e1b6e1e7e
added forcedifficulty 2018-07-21 19:20:28 -05:00
Kevin Froman
232bc4932a * fixed threadCount not lowering for getBlocks
* fixed onionrblockapi not properly converting bytes to string for block
hash
2018-06-21 19:34:42 -05:00
Kevin Froman
a4824d9b8c
work on new communicator with downloading new blocks 2018-06-16 02:33:54 -05:00
Kevin Froman
e339b78e88
merge gitlab 2018-06-15 00:47:37 -05:00
Kevin Froman
21786c6885
work on getting new blocks in communicator2 2018-06-15 00:45:07 -05:00
Arinerron
af237eab0b Refactor Onionr 2018-06-13 21:17:58 -07:00
Kevin Froman
083ffd8af3
work on new communicator, added some communication to peers and imported some old
communicator features

added powValue to address db, currently unused
2018-06-13 02:33:37 -05:00
Kevin Froman
77a847a0b7
* fixed addpeer command to work with pow
* improved stats screen to show pow token for your key
2018-06-09 01:21:14 -05:00
Kevin Froman
f8657deaa3
work on new block system 2018-06-08 02:47:14 -05:00
Kevin Froman
ee04c6d2bf
work on new block system 2018-06-08 02:46:05 -05:00
Kevin Froman
8a16c972fd
work on new block system 2018-06-07 03:15:01 -05:00
Arinerron
cdb199e74d
Add block "chains" (ex. parent->child mergable blocks) 2018-06-01 00:02:56 -07:00
Arinerron
8846dcc2c6
See details
- Completes support for repositories
  - `./RUN-LINUX.sh create-repository [plugins...]`
  - `./RUN-LINUX.sh add-repository <block hash>`
  - `./RUN-LINUX.sh remove-repository <block hash>`
- Fixes several misc bugs
- Refactors code
  - Some messy code was rewritten
  - Variables renamed
  - Migrated old block api (insertBlock) to new Block API (onionrblockapi)
  - Kept to standards
  - Made code more reusable in `onionrproofs.py`
- Improves logging messages
  - Added error output for some features missing it
  - Capitalized sentences
  - Added punctuation where it is missing
  - Switched `logger.info` and `logger.debug` in a few places, where it is logical
  - Removed or added timestamps depending on the circumstance
- Added a few misc features
  - Added command aliases for `add-file` and `import-blocks`
  - Improved statistics menu
    - Displays `Known Block Count`
    - Calculates and displays `Percent Blocks Signed`
2018-05-31 21:25:28 -07:00
Arinerron
007d7ad9fb
Update to new Block API 2018-05-19 15:11:51 -07:00
Kevin Froman
500658808f Merge I2P Branch (#19)
* work on i2p support

* work on i2p support

* redid socks check

* redid socks check

* redid socks check

* work on i2p and fixed broken block processing

* fixed no newline delim on block list in api

* fixed no newline delim on block list in api

* fixed no newline delim on block list in api

* use extend instead of append for blocklist after newline changes
2018-05-19 21:32:21 +00:00
Arinerron
adc85c76c4
Improve console output and status message 2018-05-10 20:19:48 -07:00
Kevin Froman
bc88e8107c
work on pow for public keys 2018-05-07 01:55:03 -05:00
Arinerron
c3d86eafa1
Add direct connection feature and multithreading to events
Add direct connection feature and multithreading to events
2018-05-03 03:22:07 +00:00
Kevin Froman
1a02124122
fixed broken shutdown command 2018-05-02 20:14:00 -05:00
Arinerron
7973d7c8a6
Fix bug involving runcheck 2018-05-01 23:50:29 -07:00
Kevin Froman
0d9e0c7066
changed http server to gevent from flask built in 2018-05-01 02:25:31 -05:00
Kevin Froman
a7244b2a0a
fixed debug being enabled in web api 2018-05-01 02:01:57 -05:00
Kevin Froman
1e32446f2a fixed self issue 2018-04-25 01:56:40 -05:00
Kevin Froman
3e8d76e246 fixed exception caused by probably check for missing block 2018-04-22 23:17:16 -05:00
Kevin Froman
583480629a
hopefully working again, hopefully less block validation issues 2018-04-22 21:58:24 -05:00
Kevin Froman
d41f86a27a
what 2018-04-22 21:10:09 -05:00
Kevin Froman
89f1b11dac
started work on base64 transporting 2018-04-22 20:43:17 -05:00
Arinerron
7369b63614
Update logging 2018-04-18 18:47:35 -07:00
Kevin Froman
77f811c455
added intruction for nodes 2018-04-18 20:17:47 -05:00
Kevin Froman
edce30ea20
added timestamp to logger & removed debug prints 2018-04-18 12:50:20 -05:00
Kevin Froman
0cf4c97597
fixed padding issue (hopefully), can now decrypt PMs, other improvements 2018-04-17 22:43:33 -05:00
Kevin Froman
a3aa8e3ae6
work on pm and gui improvements & some bug fixes 2018-04-15 21:22:19 -05:00
Kevin Froman
87a9ecf426
work on pm and fixed broken pex when none 2018-04-03 19:42:20 -05:00
Kevin Froman
8d261b03dc
work on pm and fixed broken pex when none 2018-04-03 19:34:15 -05:00
Kevin Froman
24540abe6b
finished pub encrypt function 2018-03-16 15:38:33 -05:00
Arinerron
d5daeae532
Refactor code 2018-03-02 23:26:02 -08:00
Arinerron
ab17e0d198
Add plugin support 2018-03-02 20:19:01 -08:00
Kevin Froman
d0593ef300
added address add command and test 2018-02-27 15:23:49 -06:00
Arinerron
1a1317a7b6
Refactor configuration management code 2018-02-22 17:58:36 -08:00
Kevin Froman
f39ab33517
added hash validation test and cleaned up output 2018-02-22 02:41:05 -06:00
Kevin Froman
586e9230cd
fixed message spam, rewrote draft, work on crypto 2018-02-20 20:44:56 -06:00
Kevin Froman
895b1919fd removed PGP 2018-02-15 23:31:30 -05:00
Kevin Froman
297cac81ae
work on peer encryption 2018-02-08 16:58:39 -06:00
Kevin Froman
4948712904
work on peer encryption 2018-02-07 03:04:58 -06:00
Arinerron
62cad7a6ea
Code consistency updates
- Improved formatting
- Added comments
- URL encoded values in netcontroller.performGET
- Kept SQL statement case consistency
2018-02-03 19:44:29 -08:00
Kevin Froman
897f18bbc2
improved block syncing 2018-01-27 19:53:24 -06:00
Kevin Froman
5457e1fdb7
onionr now responds with data properly 2018-01-27 15:49:48 -06:00
Kevin Froman
bf2290ab26
fixed incorrect logger import and fixed communicator not shutting down 2018-01-26 19:24:38 -06:00
Kevin Froman
64b14720c1
fixed broken dns rebinding mitigation and secured peer adding 2018-01-26 18:10:38 -06:00
Arinerron
197d47eb7d
Add logger 2018-01-25 23:22:48 -08:00
Kevin Froman
033290656a
work on exchanging data 2018-01-26 00:28:11 -06:00
Kevin Froman
67a84e2a19 added processBlocks function 2018-01-25 16:39:09 -06:00
Kevin Froman
f46e7ea965
added 401 handler, work on storing/sending data 2018-01-21 20:49:11 -06:00
Kevin Froman
5af2b99135 added get data function, work on submitting/recieving data 2018-01-21 03:12:41 -06:00