Commit 04d67d13 authored by Aral Balkan's avatar Aral Balkan

Added the GNU AGPLv3 license. Tweaked some documentation copy. Copy and comment-only changes.

parent 1c48febe
######################################################################
#
# Waystone development Docker install.
# Waystone development Docker install.
#
# Should be run by Docker-Compose.
# Should be run by Docker-Compose.
#
# (Used by the ./install script.)
# (Used by the ./install script.)
#
# Copyright (c) Aral Balkan. All Rights Reserved.
# Copyright (c) Ind.ie.
# Copyright © 2014-2015, Aral Balkan. © 2014-2015, Ind.ie.
# Released with ♥ by Ind.ie under GNU AGPLv3 or later.
# Free as in freedom. Please see the LICENSE file.
#
######################################################################
......
This diff is collapsed.
################################################################################
#
# Ind.ie Heartbeat Node
# Ind.ie Heartbeat Node
#
# StreamWeaver — weaves timeline streams using LevelDB
# StreamWeaver — weaves timeline streams using LevelDB
#
# This is a singleton but that’s an implementation detail. Just use with
# new Streamweaver as usual and it’ll handle it for you.
# This is a singleton but that’s an implementation detail. Just use with
# new Streamweaver as usual and it’ll handle it for you.
#
# This is independent technology. See ind.ie/manifesto
# This is independent technology. See ind.ie/manifesto
#
# Copyright © Aral Balkan. Copyright © Ind.ie
# Released under the ind.ie/license.
# Copyright © 2014-2015, Aral Balkan. © 2014-2015, Ind.ie.
# Released with ♥ by Ind.ie under GNU AGPLv3 or later.
# Free as in freedom. Please see the LICENSE file.
#
################################################################################
......
################################################################################
#
# PulseEventHandler — Waystone
# PulseEventHandler — Waystone
#
# Terribly copy/pasted/hacked from the Pulse Event Pipe in Heartbeat.
# TODO: Refactor once it is working to remove any redundancies that may remain.
# Terribly copy/pasted/hacked from the Pulse Event Pipe in Heartbeat.
# TODO: Refactor once it is working to remove any redundancies that may remain.
#
# This is independent technology. See ind.ie/manifesto
# This is independent technology. See ind.ie/manifesto
#
# Copyright © Aral Balkan. Copyright © Ind.ie
# Released under ind.ie/license
# Copyright © 2014-2015, Aral Balkan. © 2014-2015, Ind.ie.
# Released with ♥ by Ind.ie under GNU AGPLv3 or later.
# Free as in freedom. Please see the LICENSE file.
#
################################################################################
......
################################################################################
#
# Ind.ie Heartbeat Node
# Ind.ie Heartbeat Node
#
# Teleportation API — uses Pulse to pass messages to Heartbeat nodes.
# Teleportation API — uses Pulse to pass messages to Heartbeat nodes.
#
# Also used to pass messages in a trusted manner between two nodes
# that do not trust each other (with Waystone acting as intermediary).
# Also used to pass messages in a trusted manner between two nodes
# that do not trust each other (with Waystone acting as intermediary).
#
# This is a singleton but that’s an implementation detail. Just use with
# new TeleportationAPI as usual and it’ll handle it for you.
# This is a singleton but that’s an implementation detail. Just use with
# new TeleportationAPI as usual and it’ll handle it for you.
#
# This is independent technology. See ind.ie/manifesto
# This is independent technology. See ind.ie/manifesto
#
# Copyright © Aral Balkan. Copyright © Ind.ie
# Released under the GNU AGPLv3 license.
# Copyright © 2014-2015, Aral Balkan. © 2014-2015, Ind.ie.
# Released with ♥ by Ind.ie under GNU AGPLv3 or later.
# Free as in freedom. Please see the LICENSE file.
#
################################################################################
......
################################################################################
#
# Ind.ie Heartbeat Node
# Ind.ie Heartbeat Node
#
# Database — singleton access to the LevelDB database.
# Database — singleton access to the LevelDB database.
#
# This is a singleton object that proxies a reference to the database instance.
# This is a singleton object that proxies a reference to the database instance.
#
# This is independent technology. See ind.ie/manifesto
# This is independent technology. See ind.ie/manifesto
#
# Copyright © Aral Balkan. Copyright © Ind.ie
# Released under the ind.ie/license.
# Copyright © 2014-2015, Aral Balkan. © 2014-2015, Ind.ie.
# Released with ♥ by Ind.ie under GNU AGPLv3 or later.
# Free as in freedom. Please see the LICENSE file.
#
################################################################################
......
......@@ -4,8 +4,9 @@
#
# Waystone: start development script.
#
# Copyright (c) 2014 Aral Balkan. All Rights Reserved.
# Copyright (c) 2014 Ind.ie.
# Copyright © 2014-2015, Aral Balkan. © 2014-2015, Ind.ie.
# Released with ♥ by Ind.ie under GNU AGPLv3 or later.
# Free as in freedom. Please see the LICENSE file.
#
######################################################################
......
......@@ -2,13 +2,15 @@
######################################################################
#
# Install Node.js dependencies.
# Install Node.js dependencies.
#
# Once we’ve implemented auto configuration of Pulse (ala Heartbeat),
# we can remove this and simply use npm install in the installation script.
# Once we’ve implemented auto configuration of Pulse (ala Heartbeat),
# we can remove this and simply use npm install in the installation
# script.
#
# Copyright (c) 2014 Aral Balkan. All Rights Reserved.
# Copyright (c) 2014 Ind.ie.
# Copyright © 2014-2015, Aral Balkan. © 2014-2015, Ind.ie.
# Released with ♥ by Ind.ie under GNU AGPLv3 or later.
# Free as in freedom. Please see the LICENSE file.
#
######################################################################
......
################################################################################
#
# Waystone — Pulse installer.
# Waystone — Pulse installer.
#
# This is run at the end of Pulse installation process. It generates and
# configures the Waystone Pulse instance.
# This is run at the end of Pulse installation process. It generates and
# configures the Waystone Pulse instance.
#
# This is independent technology. See ind.ie/manifesto
# This is independent technology. See ind.ie/manifesto
#
# Copyright © 2014-2015, Aral Balkan.
# Free as in freedom. Released under GNU AGPLv3.
# Copyright © 2014-2015, Aral Balkan. © 2014-2015, Ind.ie.
# Released with ♥ by Ind.ie under GNU AGPLv3 or later.
# Free as in freedom. Please see the LICENSE file.
#
################################################################################
......
################################################################################
#
# Waystone.
# Waystone
#
# This is the public server that runs Ind.ie. It is yet another
# Pulse node that acts as a public house to enable people to meet, after
# which they can go their own way and have private conversations. It also
# showcases public posts made on Heartbeat.
# “But mostly because it felt like the right thing to do,
# and that is reason enough.” — Kvothe, The Name of the Wind
#
# Waystone is currently only supported on Linux.
# Waystone is a special Pulse node that acts as a pub to enable people to meet,
# after which they can go their own way and have private conversations. It also
# aggregates and showcases public posts made on Heartbeat.
#
# This is Independent Technology. See https://ind.ie/manifesto
# In other words, it acts like an identity server (and, thus, must eventually
# be decentralised and cease to exist entirely).
#
# Copyright © 2014-2015, Aral Balkan.
# Free as in freedom. Released under GNU AGPLv3.
# Please see my thoughts on Waystone & Pulse limitations at:
# https://forum.ind.ie/t/alpha-waystone-and-pulse-limitations/26
#
# Waystone is currently only supported on Linux.
#
# This is Independent Technology. See https://ind.ie/manifesto
#
# Copyright © 2014-2015, Aral Balkan. © 2014-2015, Ind.ie.
# Released with ♥ by Ind.ie under GNU AGPLv3 or later.
# Free as in freedom. Please see the LICENSE file.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero 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 Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
################################################################################
......
......@@ -6,8 +6,9 @@
#
# Gets your development environment ready to run Waystone.
#
# Copyright (c) 2014-15 Aral Balkan. All Rights Reserved.
# Copyright (c) 2014-15 Ind.ie.
# Copyright © 2014-2015, Aral Balkan. © 2014-2015, Ind.ie.
# Released with ♥ by Ind.ie under GNU AGPLv3 or later.
# Free as in freedom. Please see the LICENSE file.
#
######################################################################
......
......@@ -7,7 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Aral Balkan",
"license": "ind.ie/license",
"license": "AGPL-3.0",
"dependencies": {
"http-auth": "2.2.8",
"bcrypt": "0.8.4",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -17,12 +17,15 @@
“But mostly because it felt like the right thing to do,
and that is reason enough.”
# Forum and issues
For further documentation, discussion, and to report a problem, please visit the [Waystone forum](https://forum.ind.ie/c/design-and-development/waystone). For known issues, please see this post on [Waystone limitations](https://forum.ind.ie/t/alpha-waystone-and-pulse-limitations/26) and the [Waystone issue tracker](https://source.ind.ie/project/waystone/issues).
# Installation
./install
This will set up your Waystone in an isolated development environment using [Docker](https://www.docker.com) and [Fig](http://www.fig.sh).
This will set up your Waystone in an isolated development environment using [Docker](https://www.docker.com) and [Docker-Compose](https://www.docker.com/docker-compose).
## Post-install Error response from daemon: client and server don't have same version
......@@ -328,7 +331,7 @@ Message body:
A notification that the sender is requesting friendship.
Message body:
{
"from": "handle"
}
......@@ -374,7 +377,7 @@ Message body:
A friendship request to be relayed to the specified person.
Message body:
{
"to": "handle"
}
......
################################################################################
#
# Ind.ie Heartbeat Node
# Waystone
#
# Admin POST route: Delete a person from the database.
# Admin POST route: Delete a person from the database.
#
# This is a singleton but that’s an implementation detail. Just use with
# new Streamweaver as usual and it’ll handle it for you.
# This is independent technology. See ind.ie/manifesto
#
# This is independent technology. See ind.ie/manifesto
#
# Copyright © Aral Balkan. Copyright © Ind.ie
# Released under the Ind.ie/license.
# Copyright © 2014-2015, Aral Balkan. © 2014-2015, Ind.ie.
# Released with ♥ by Ind.ie under GNU AGPLv3 or later.
# Free as in freedom. Please see the LICENSE file.
#
################################################################################
......
......@@ -5,8 +5,8 @@
module.exports = (app) ->
route = (request, response) =>
deviceId = app.get('config').DeviceID
message = {'deviceID': deviceId}
response.send JSON.stringify(message)
\ No newline at end of file
......@@ -7,7 +7,7 @@ isHandleAvailable = require('../../../helpers/isHandleAvailable.coffee')
module.exports = (app) ->
route = (request, response) =>
handle = request.params.handle
isHandleAvailable.check(handle).then (handleIsAvailable) ->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment