* 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,6 +1,6 @@
# Contributing to Onionr # Contributing to Onionr
One of the great things about open source projects is that they allow for many people to contribute to the project. One of the great things about open source projects is that they allow for anyone to contribute to the project.
This file serves to provide guidelines on how to successfully contribute to Onionr. This file serves to provide guidelines on how to successfully contribute to Onionr.

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 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 Import block data and save it
''' '''

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
''' '''
Onionr - P2P Anonymous Storage Network Onionr - Private P2P Communication
This file contains both the OnionrCommunicate class for communcating with peers 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) 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 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. 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 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 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) 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. This file handles Onionr's cryptography.
''' '''

View File

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

View File

@ -1,5 +1,5 @@
''' '''
Onionr - P2P Anonymous Storage Network Onionr - Private P2P Communication
Proof of work module 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 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 You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. along with this program. If not, see <https://www.gnu.org/licenses/>.
''' '''
import threading, time from gevent.pywsgi import WSGIServer
from gevent.pywsgi import WSGIServer, WSGIHandler
from stem.control import Controller from stem.control import Controller
from flask import Flask from flask import Flask
import core, logger, httpapi 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. 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 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 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 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 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 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 This file handles the mail interface

View File

@ -1,4 +1,24 @@
#!/usr/bin/env python3 #!/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 subprocess, os
import multiprocessing, threading, time, json import multiprocessing, threading, time, json
from multiprocessing import Pipe, Process from multiprocessing import Pipe, Process