* Progress in adjust tagline in files, license boilerplate fixes

* Import adjustments
This commit is contained in:
Kevin Froman 2019-06-11 19:05:15 -05:00
parent 2d20ecdfd3
commit 335db64096
22 changed files with 42 additions and 22 deletions

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
This file handles all incoming http requests to the client, using Flask
'''

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Microblogging Platform & Social network
Onionr - Private P2P Communication
Import block data and save it
'''

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python3
'''
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
This file contains both the OnionrCommunicate class for communcating with peers
and code to operate as a daemon, getting commands from the command queue database (see core.Core.daemonQueue)

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Microblogging Platform & Social network
Onionr - Private P2P Communication
Connect a new peer to our communicator instance. Does so randomly if no peer is specified
'''

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Microblogging Platform & Social network
Onionr - Private P2P Communication
This file deals with configuration management.
'''

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
Core Onionr library, useful for external programs. Handles peer & data processing
'''

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Anonymous Data Storage & Sharing
Onionr - Private P2P Communication
DBCreator, creates sqlite3 databases used by Onionr
'''

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
Load, save, and delete the user's public key pairs (does not handle peer keys)
'''

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
This file handles Onionr's cryptography.
'''

View file

@ -17,7 +17,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
'''
import core, config, logger, sqlite3
import sqlite3
import core, config, logger
class PeerProfiles:
'''
PeerProfiles

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
Proof of work module
'''

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
This module does the second part of the bootstrap block handshake and creates the API server
'''
@ -17,8 +17,7 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
'''
import threading, time
from gevent.pywsgi import WSGIServer, WSGIHandler
from gevent.pywsgi import WSGIServer
from stem.control import Controller
from flask import Flask
import core, logger, httpapi

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Microblogging Platform & Social network
Onionr - Private P2P Communication
OnionrUtils offers various useful functions to Onionr. Relatively misc.
'''

View file

@ -1,5 +1,5 @@
'''
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
This module serializes various data pieces for use in other modules, in particular the web api
'''

View file

@ -1,5 +1,5 @@
/*
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
This file handles the UI for managing friends/contacts

View file

@ -1,5 +1,5 @@
/*
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
This file handles the mail interface

View file

@ -1,5 +1,5 @@
/*
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
This file handles the mail interface

View file

@ -1,5 +1,5 @@
/*
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
This file is for configuration editing in the web interface

View file

@ -1,5 +1,5 @@
/*
Onionr - P2P Anonymous Storage Network
Onionr - Private P2P Communication
This file handles the mail interface

View file

@ -1,4 +1,24 @@
#!/usr/bin/env python3
'''
Onionr - Private P2P Communication
Multiprocess proof of work
'''
'''
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
'''
import subprocess, os
import multiprocessing, threading, time, json
from multiprocessing import Pipe, Process