Commit Graph

949 Commits

Author SHA1 Message Date
Kevin Froman
873740c5ad reject large requests 2019-07-02 21:50:22 -05:00
Kevin Froman
98fcd9d139 fixed duplicate upload namespace 2019-07-02 19:43:18 -05:00
Kevin Froman
4538a7e470 undo replace mistake 2019-07-02 19:35:59 -05:00
KF
0e2928db38 * refactored client api endpoints to their own file and class 2019-07-02 18:16:04 -05:00
KF
2f07b2d00e * fixed some mail elements for bulma redesign
* added dll, exe to .gitignore
* fixed some miscpublicapi endpoints httpapi calls
2019-07-02 17:34:26 -05:00
Kevin Froman
10ef9ce41b refactored api servers, especially the public server. Client server to recieve similar refactoring soon 2019-07-02 01:32:26 -05:00
Kevin Froman
54dabefe45 incomplete work on refactoring client api endpoints 2019-07-01 15:38:55 -05:00
Kevin Froman
02c71eab2f * fixed fd handler probably
* fixed security level in ui redesign
* moved client api insertblock to its own blueprint
2019-06-29 15:17:48 -05:00
Kevin Froman
cff38cb7c2 sync and onionrservices fixes 2019-06-29 13:18:31 -05:00
Kevin Froman
d70afbf92b merge refactorinsert into travis' ui work 2019-06-28 17:26:37 -05:00
Travis
33340746dd Implemented Bulma for the new UI.
Tried to use the template element and JavaScript for some elements.
2019-06-28 16:24:34 -05:00
Kevin Froman
bb5378ec4c fix importblocks metadata call not having core inst 2019-06-28 16:10:29 -05:00
Kevin Froman
a27a5e5a45 added support for 0-truncated hashes in stringvalidators, added test for hash validation 2019-06-28 00:00:38 -05:00
Kevin Froman
03fbf32af9 added reconstructhash for working with block hashes without their leading zeroes 2019-06-27 21:43:50 -05:00
Kevin Froman
dce453db81 fixed output in onionr.py, work on docs 2019-06-27 13:45:28 -05:00
Kevin Froman
44bcbac8ef + added optimization check
* fixed stats table
* added main docs file (WIP)
2019-06-27 01:36:52 -05:00
Kevin Froman
683aaa3978 added boilerplates 2019-06-26 15:13:36 -05:00
Kevin Froman
94ba3e29d1 do not show traceback when adding existing determiistic key 2019-06-26 14:54:13 -05:00
Kevin Froman
7f4605998c fix some commands terminal output 2019-06-26 01:34:34 -05:00
Kevin Froman
60d47e1e41 remove utils from netcheck 2019-06-26 00:41:49 -05:00
Kevin Froman
3bb0e48a06 added some of the missing boilerplate 2019-06-26 00:26:50 -05:00
Kevin Froman
c8a50c5956
fixed broken waitforshare 2019-06-25 23:48:24 -05:00
Kevin Froman
0b34951423 redo new logging 2019-06-25 19:33:55 -05:00
Kevin Froman
a5a50a84d4 adjust test to use new stringvalidation module 2019-06-25 19:32:44 -05:00
Kevin Froman
122eb4ee5f Finished removing onionrutils for the most part, except for some possible bugs remaining 2019-06-25 19:15:04 -05:00
Kevin Froman
c7e06205b7 OnionrUtils fully removed (but not fully bug free)
flow now uses daemon thread for displaying output
2019-06-25 18:07:35 -05:00
Kevin Froman
909c002dc4 more progress in removing onionrutils class 2019-06-25 03:21:36 -05:00
Kevin Froman
d378340099 * further splitting onionrutils into a module 2019-06-23 12:41:07 -05:00
Kevin Froman
0d258e1a16 * more utils refactoring, requests this time 2019-06-23 02:25:40 -05:00
Kevin Froman
7830484760 * started refactoring onionrusers into a full module instead of a class
* now use daemon threads to prevent process hanging
2019-06-23 02:00:27 -05:00
Kevin Froman
e4ec850b60 correctly import add in blockmetadb 2019-06-22 18:06:16 -05:00
Kevin Froman
2b64cc9ba4 correct add function name 2019-06-22 18:01:55 -05:00
Kevin Froman
4e00bdb348 fixed small cli logging bugs 2019-06-22 17:54:41 -05:00
Kevin Froman
50e93f46e4 * Major core refactoring
* renamed clandestine to esoteric
2019-06-22 16:16:12 -05:00
Kevin Froman
5cee375b02 fixed small cli logging bugs 2019-06-20 16:59:36 -05:00
Kevin Froman
12227b6bcb a little work on clandestine UI 2019-06-20 02:59:32 -05:00
Kevin Froman
6630071802 log to terminal again in places where it should 2019-06-19 19:59:05 -05:00
Kevin Froman
065e97ab11 improved logging messages to be less spammy 2019-06-19 15:29:27 -05:00
Kevin Froman
8082570b7f * bumped nacl and unpaddedbase32 verison
* added/improved support for unpaddedbase32 keys
* greatly improved home UI and mail
* deniable blocks shouldnt use forward secrecy anymore
* dont add yourself as a contact
2019-06-19 01:57:13 -05:00
Kevin Froman
cb2e803ae8 use contact module for friend command list names instead of getName() 2019-06-18 11:55:14 -05:00
Kevin Froman
1b897ebe1d disabled api crash detector to see if it is the thing causing crashes 2019-06-18 10:02:54 -05:00
Kevin Froman
50ac5f1520 Merge branch 'master' of ssh://github.com/beardog108/onionr 2019-06-17 23:34:05 -05:00
Kevin Froman
4f44906740 added announce node config 2019-06-17 23:33:22 -05:00
Travis
3855aa544f Updated favicon
Moved onionr-icon.png into shared/images
2019-06-17 22:36:19 -05:00
Kevin Froman
1daf410f8b bumped api crash timeout again 2019-06-17 15:51:00 -05:00
Kevin Froman
6c69d72d34 + added add to contact button in box message viewer
* fixed/improved name setting for friends/contacts
2019-06-16 23:24:12 -05:00
Kevin Froman
b377890a79 removed another defunct config value 2019-06-16 22:02:06 -05:00
Kevin Froman
ce2095d7f8 + added hit count stat
- removed bypass_tor_check as defunct config option
* actually fixed connect stat in cli for real this time
* improved ui stats more
2019-06-16 17:34:43 -05:00
Kevin Froman
3825d3857c - removed defunct config option
* changed bootstrap node
* improved web interface styles
* start-daemon script hopefully less prone to crash
* fixed openwebinterface url output
* added defaults for timer configs incase config can't be read or the values are missing
2019-06-16 15:56:22 -05:00
Kevin Froman
71805811cf corrected permissions again 2019-06-16 13:20:54 -05:00
Kevin Froman
8a9a5abe2e * phrase security.md better
* display correct number of peers in stats
* hopefully fix sigpipe issue
2019-06-16 12:55:48 -05:00
Kevin Froman
901b275d40 fixed everything being executable permission 2019-06-16 02:04:32 -05:00
Kevin Froman
934602ee09 handle keyboardinterrupt, eof and blank file path in interactive ui 2019-06-16 01:30:17 -05:00
Kevin Froman
c07901ec06 reduced config reloads by a lot 2019-06-16 01:06:32 -05:00
Kevin Froman
7cb5f212ec Started reducing unnecessary disk i/o:
* Spawn core.Core() much less
2019-06-15 13:56:57 -05:00
Kevin Froman
d054722bce Merge branch 'docs' into windowspow 2019-06-14 23:26:30 -05:00
Kevin Froman
a6595fd8bc minor boilerplate adjustments 2019-06-14 23:26:10 -05:00
KF
5e73f83c57 + added powchoice.py to use old pow on windows, temporary fix for subprocess method not working there
* various bug fixes
2019-06-14 20:31:01 -05:00
Kevin Froman
f5b3406684 + added tor data deletion command
* better support multiple tor versions in tor bootstrap (latest broke on manjaro before this)
* reduced interval for upload block timer to 5 seconds
* show message if inbox is empty in webui mail
2019-06-14 13:02:02 -05:00
Kevin Froman
faa79bb35c netcheck now also uses last incomming connection time 2019-06-14 02:05:58 -05:00
Kevin Froman
c4fa0c15f0 * doubled clock skew for blocks to 120 secs
* added onionr .onion to public api disclaimer page
2019-06-14 00:28:21 -05:00
Kevin Froman
2d78d3d017 fixed announce bug from refactor and added static data readme 2019-06-13 18:40:45 -05:00
Kevin Froman
c85bb73d77 documented onionrusers better with readme 2019-06-13 14:53:20 -05:00
Kevin Froman
5edf0e234a added more subdirectory readmes 2019-06-13 11:24:34 -05:00
Kevin Froman
64944f6f7c - removed onionrdaemontools (split into many files, mostly into communicatorutils)
- removed included secrets.py since 3.6 is required now anyways
2019-06-13 01:58:17 -05:00
Kevin Froman
3d93a37d0c start removing daemontools by moving node announcement to communicatorutils file, deniable block insertion now config option 2019-06-12 21:35:30 -05:00
Kevin Froman
268325c07d
- removed simplecache for now
* fixed existingRand bytes check in announce in onionrdaemontools
* moved openhome to its own file
* slight comment and boilerplate changes
+ added more readme files for subdirectories
2019-06-12 15:12:56 -05:00
Kevin Froman
737719cb54 boilerplate and comment changes, added first subdirectory readme (for communicatorutils) 2019-06-12 01:44:15 -05:00
Kevin Froman
335db64096 * Progress in adjust tagline in files, license boilerplate fixes
* Import adjustments
2019-06-11 19:05:15 -05:00
Kevin Froman
2d20ecdfd3 * send introduce command instead of using duplicated logic
* remove unnecessary imports
* improve if self-address peer comparison to avoid some config reads
2019-06-11 01:08:44 -05:00
Kevin Froman
d18f56eee2 added missing secrets import 2019-06-10 23:22:35 -05:00
Kevin Froman
af6834cfd0 added missing secrets import 2019-06-10 23:21:44 -05:00
Kevin Froman
6e1f26dc91 dont allow anonymous to be set as a friends alias in the interface 2019-06-10 22:19:31 -05:00
Kevin Froman
7e058b29e0
* Removed hard coded data dir in daemon launch
* Documented subprocess pow better
* Calculate block size better for pow
+ Added monero donation address
2019-06-07 00:09:14 -05:00
Kevin Froman
3322778ff4 refactored onionr commands and other small adjustments 2019-06-01 11:54:36 -05:00
Kevin Froman
7e85b4a995 added current BS node 2019-05-18 13:49:25 -05:00
Kevin Froman
075467ad20
* updated contributing.md with better explanations
* added clandestine endpoint and web files, basic page layout
* better comply with gplv3 in pgpwords module
2019-05-18 13:46:48 -05:00
Kevin Froman
b582377c8c fixed config and other bugs, improved connection server 2019-05-15 18:25:36 -05:00
Kevin Froman
4e3ad27485 newline in quoted mail 2019-05-13 00:01:37 -05:00
Kevin Froman
e8baafa3b8 makedirs, not mkdirs 2019-05-12 09:44:02 -05:00
Kevin Froman
b49199c7d1 makedirs, not mkdirs 2019-05-12 09:41:36 -05:00
Kevin Froman
4fcf3d69cd fix config setup not returning bool for existing data directory 2019-05-12 09:21:17 -05:00
Kevin Froman
d4191b2cb5 communicator refactoring and better documentation 2019-05-11 13:32:56 -05:00
Kevin Froman
d17970b181
+ Have Tor reject socks requests to non-onion services as a small security measure
* More refactoring
2019-05-09 00:27:15 -05:00
Kevin Froman
2879595c66 refactored communicator a bit 2019-05-07 22:28:06 -05:00
Kevin Froman
a4d6dc5fa5 bug fixes and refactoring 2019-05-07 12:56:20 -05:00
Kevin Froman
95750b6b3c finished config editor 2019-04-28 21:08:10 -05:00
Kevin Froman
1b22a993a0 work on ui 2019-04-27 10:43:16 -05:00
Kevin Froman
47ee28f74f
* Fixed duplicate plugin events 2019-04-25 00:38:15 -05:00
Kevin Froman
71aadb7767 fixed dumb print leftover spamming hashes 2019-04-22 21:02:09 -05:00
Kevin Froman
c674e2d281 Fixed spam for block processing 2019-04-20 19:31:14 -05:00
Kevin Froman
2219be9ae3
+ Work on boards
* Handle ctrl-c better in main loop
2019-04-20 17:55:54 -05:00
Kevin Froman
705359d3a6 board appearance and functionality work 2019-04-16 12:04:51 -05:00
Kevin Froman
9604849dbb work on making basic board 2019-04-16 00:02:09 -05:00
Kevin Froman
2fde909d86 bug fixes and ui appearance improvements 2019-04-15 18:48:11 -05:00
Kevin Froman
9ee31684f6 fixed default expiration not using sum of date and made mail ui show inbox after closing message draft dialog 2019-04-13 17:18:38 -05:00
Kevin Froman
96219c81ab minor bug fixes 2019-04-12 18:45:22 -05:00
Kevin Froman
7be884987e fixed introduce not having enough pow 2019-04-12 12:19:01 -05:00
Kevin Froman
3bea32a911 updated docs and cleaned up api somewhat 2019-04-12 12:15:30 -05:00
Kevin Froman
7c4e8bfa73 work on docs 2019-04-12 12:15:30 -05:00
Kevin Froman
bd275abe42 fixes for mail, work on specs, and added files for profile viewer 2019-04-12 12:15:30 -05:00
Kevin Froman
45ddbe5e69 fixes for mail, work on specs, and added files for profile viewer 2019-04-12 12:15:30 -05:00
Kevin Froman
ad94c8a4ef added first block spec draft 2019-04-12 12:15:30 -05:00
Kevin Froman
f7ae054d09 work on direct connections and clandestine 2019-04-12 12:15:30 -05:00
Kevin Froman
3d1b967f1f plugin example of connecting to dir conn 2019-04-12 12:15:30 -05:00
Kevin Froman
29db7e27d9 basic cs messages supported 2019-04-12 12:15:30 -05:00
Kevin Froman
30630e1d8e work on clandestine 2019-04-12 12:15:30 -05:00
Kevin Froman
726bbe61ac improved expiry 2019-04-12 12:15:30 -05:00
Kevin Froman
d3c5fe3a5a added clandestine 2019-04-12 12:15:30 -05:00
Kevin Froman
2e75e08879 added httpheaders.py 2019-04-12 12:15:30 -05:00
Kevin Froman
cd6eb59023 more work on direct connections 2019-04-12 12:15:30 -05:00
Kevin Froman
7be654401b bug fixes for direct connnections 2019-04-12 12:15:30 -05:00
Kevin Froman
2f01a096ef cleanup, work, and bugfixes for direct connections 2019-04-12 12:15:30 -05:00
Kevin Froman
d1737216e4 direct connections closer to working 2019-04-12 12:15:30 -05:00
Kevin Froman
ae2d792471 bootstrap blocks now inserted and detected 2019-04-12 12:15:30 -05:00
Kevin Froman
3212768dc7 work on direct connections 2019-04-12 12:15:30 -05:00
Kevin Froman
e6c24a483f bumped stem version and started work on new dir conn system 2019-04-12 12:15:30 -05:00
Aaron
df8a3d39bc Add installation scripts 2019-03-29 03:33:14 +00:00
Kevin Froman
7048db42bd adjust expiration 2019-03-15 11:48:06 -05:00
Kevin Froman
59cc7709d9 fs adjustments 2019-03-15 00:30:43 -05:00
Kevin Froman
7f84cd0598 bug fixes 2019-03-14 19:18:35 -05:00
Kevin Froman
4757bb0963 further fixed forward secrecy 2019-03-13 23:51:29 -05:00
Kevin Froman
6568086e24 fixed forward secrecy expiration, key deletion and block expire detection 2019-03-13 19:50:45 -05:00
Kevin Froman
97e0945e12 finish merging new-main 2019-03-13 17:00:51 -05:00
Kevin Froman
0660e5f77f do not spam connection messages 2019-03-13 16:10:11 -05:00
Kevin Froman
5d45db8f8d small refactor in js and added exit btn to friend info overlay 2019-03-12 23:56:26 -05:00
Kevin Froman
fdd3ff0a9d multiprocess pow progress 2019-03-12 13:23:46 -05:00
Kevin Froman
800c061e94 ui changes and work on whitepaper 2019-03-11 00:10:37 -05:00
Kevin Froman
4fb01bac0e work on friends ui and bug fixes 2019-03-09 12:01:57 -06:00
Kevin Froman
137d6f39dd refactoring, work on friends ui, bug fixes and whitepaper work 2019-03-09 00:37:57 -06:00
Kevin Froman
1562848999 more refactoring and secured requirements.txt 2019-03-08 19:57:44 -06:00
Kevin Froman
236edac257 more refactoring 2019-03-08 00:30:14 -06:00
Kevin Froman
e0a18e2adf in process of refactoring onionr.py 2019-03-07 19:08:06 -06:00
Kevin Froman
4d2a1cab1e use only one thread in proof of work by default, because of GIL 2019-03-06 23:43:32 -06:00
Kevin Froman
26f25f8fe4 do not save expired blocks 2019-03-06 22:58:21 -06:00
KF
7b635c4fc9 fixed import error in plugins being slient, affecting plugins not being enabled on some platforms/versions 2019-03-06 16:39:46 -06:00
Kevin Froman
ecad9ac207 False not false in keyboard interrupt handler 2019-03-05 12:07:13 -06:00
Kevin Froman
930d825ebc fix makefile and broken sentbox 2019-03-05 11:11:49 -06:00
Kevin Froman
b74315f75a new bootstrap address 2019-03-04 21:17:49 -06:00
Kevin Froman
c262b67626 fixed UI sentbox 2019-03-04 21:16:33 -06:00
Kevin Froman
9b6553511b bug fixes 2019-03-04 16:29:44 -06:00
Kevin Froman
45221291fa work on friends and mail UI 2019-03-04 13:03:35 -06:00
Kevin Froman
4798308ccd work on mail ui deletion of items 2019-03-03 00:26:55 -06:00
Kevin Froman
c45c016123 moving mail over to blueprint system 2019-03-02 13:17:18 -06:00
Kevin Froman
c89bf5b430 work on plugins doing http endpoints 2019-03-02 00:22:59 -06:00
Kevin Froman
11625b297a refactoring and work on mail 2019-02-27 21:02:44 -06:00
Kevin Froman
9a728fb1f2 updated whitepaper and allow reading of old encrypted blocks 2019-02-26 12:33:47 -06:00
KF
14e9332b90 do not enforce replay protection on old blocks we're just opening again 2019-02-25 23:40:05 -06:00
Kevin Froman
651fc8c43c prevent replay of very old encrypted data 2019-02-25 22:19:37 -06:00
Kevin Froman
31039861c2 bind ip config option, use different type for deniable block, mostly finished friends UI 2019-02-23 18:11:43 -06:00