initial commit

This commit is contained in:
Victor Giers
2019-06-01 14:33:57 +02:00
commit 378f01d74d
10 changed files with 44561 additions and 0 deletions

36
README.md Normal file
View File

@@ -0,0 +1,36 @@
coalmedia.eu
==
# Convenient open place on the web for collaboration
## What are we doing and why are we doing it?
### The problem
* We can't afford to work on things together over the internet via third party hosts and we don't want to give them our data anyway.
* We want a trusted network of things to work in collaboratively following European standards.
* In order to collaborate effectively on digital projects over distances a combination of chat- cloud- and git-system is optimal. There is no modern out of the box sollution for this though.
### The solution
Create a social and productive framework using open source software!
There's four possible ways:
1. Integrate chat and cloud into GitLab,
2. Integrate git and chat into Nextcloud,
3. Integrate git and cloud into Rocket.Chat
4. Glue the three together next to each other.
## Who are we?
Students who are about to loose their access to academic Google-services.
## What do we need?
* Please send ideas and C&C via mail to mail@giers.io.
* Support in system administration is always welcome!
* A good server.
* Glue paste.
We're open!
## How can I contribute?
Our code of conduct is still in the making.
Feel free to contact us!
## Contact
If you're having problems with the software please file an issue.
For everything else: saluton@coalmedia.eu

232
index.html Normal file
View File

@@ -0,0 +1,232 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Under Construction</title>
<meta charset="UTF-8">
<meta name="author" content="Victor Giers">
<meta name="date" content="" scheme="2019-06-01">
<script src="libraries/p5.min.js"></script>
<style>
body {
margin: 0;
overflow: hidden;
}
#overlay {
position: absolute;
z-index: 1;
display: block;
width: 100%;
height: 100%;
padding-left: 30px;
padding-top: 180px;
color: rgb(255,255,255);
font-family: Verdana;
}
a {
color: rgb(255,255,255);
text-decoration: underline;
}
a:hover {
text-decoration: none;
}
</style>
<script>
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)) {
window.location.replace("https://coalmedia.eu/mobile.html");
window.location.href = "https://coalmedia.eu/mobile.html";
throw new Error("Website is not made for mobile! Go to https://coalmedia.eu/mobile.html");
}
let releaseDate = "2019-11-01"
let head = "";
let sub = "";
let deltatime = "";
let headstring = "This website is currently under construction.";
var substring = "Approximate wait time: ";
let bgimg;
var runtime = 0;
let mspertick = 12;
let snowflakes = []; // array to hold snowflake objects
let startSmall = false;
let flakeR = 255;
let flakeG = 255;
let flakeB = 255;
let sw = 0;
function setup() {
canvas = createCanvas(window.innerWidth, window.innerHeight);
bgimg = loadImage("potemkin.png");
if(hochkant()) startSmall = true;
imageMode(CENTER);
noStroke();
}
let headlettercount = 0;
let sublettercount = 0;
let textLoaded = false;
function tick(){
var dateFuture = new Date(releaseDate);
var dateNow = new Date();
var seconds = Math.floor((dateFuture - (dateNow))/1000);
var minutes = Math.floor(seconds/60);
var hours = Math.floor(minutes/60);
var days = Math.floor(hours/24);
hours = hours-(days*24);
minutes = minutes-(days*24*60)-(hours*60);
seconds = seconds-(days*24*60*60)-(hours*60*60)-(minutes*60);
if(millis() > 1000){
if(headlettercount < headstring.length + 70){
head += headstring.charAt(headlettercount);
headlettercount += 1;
} else if (sublettercount < substring.length) {
sub += substring.charAt(sublettercount);
sublettercount += 1;
} else {
deltatime = days + " Days, " + nf(hours,2,0) + ":" + nf(minutes,2,0) + ":" + nf(seconds,2,0);
textLoaded = true;
}
}
}
function hochkant(){
if(window.innerWidth < window.innerHeight){
return true;
} else {
return false;
}
}
function draw() {
background(255);
if(hochkant()){
image(bgimg, window.innerWidth/2, window.innerHeight/2,window.innerHeight/bgimg.height*bgimg.width,window.innerHeight);
} else {
image(bgimg, window.innerWidth/2, window.innerHeight/2,window.innerWidth,window.innerWidth/bgimg.width*bgimg.height);
}
stroke(255);
strokeWeight(sw);
fill(flakeR, flakeG, flakeB);
while(millis() > runtime){
runtime += mspertick;
tick();
}
//don't look here i just don't care rn
textSize(30);
textStyle(BOLD);
if(hochkant()){
textAlign(CENTER);
head = "This website is currently\nunder construction.";
text(head,window.innerWidth/2,90);
} else {
if(textLoaded || startSmall){
head = "This website is currently under construction.";
}
textAlign(LEFT);
if(window.innerHeight/2-((window.innerWidth/bgimg.width*bgimg.height)/2) > 0){
text(head,30,50+(window.innerHeight/2-((window.innerWidth/bgimg.width*bgimg.height)/2)));
} else {
text(head,30,50);
}
}
textSize(20);
textStyle(NORMAL);
if(hochkant()){
sub = "Approximate wait time: \n";
text(sub + deltatime,window.innerWidth/2,160);
} else {
if(textLoaded || startSmall){
sub = "Approximate wait time: ";
}
if(window.innerHeight/2-((window.innerWidth/bgimg.width*bgimg.height)/2) > 0){
text(sub + deltatime,30,80+(window.innerHeight/2-((window.innerWidth/bgimg.width*bgimg.height)/2)));
} else {
text(sub + deltatime,30,80);
}
}
//snowflakes
let t = frameCount / 60;
for (let i = 0; i < random(5); i++) {
snowflakes.push(new snowflake());
}
for (let flake of snowflakes) {
flake.update(t);
flake.display();
}
}
function mouseClicked(){
/*
flakeR = random(0,255);
flakeG = random(0,255);
flakeB = random(0,255);
sw = 1;
*/
}
function snowflake() {
this.posX = 0;
this.posY = random(-50, 0);
this.initialangle = random(0, 2 * PI);
this.size = random(2, 5);
this.radius = sqrt(random(pow(width / 2, 2)));
this.update = function(time) {
let w = 0.6;
let angle = w * time + this.initialangle;
this.posX = width / 2 + this.radius * sin(angle);
this.posY += pow(this.size, 0.5);
if (this.posY > height) {
let index = snowflakes.indexOf(this);
snowflakes.splice(index, 1);
}
};
this.display = function() {
ellipse(this.posX, this.posY, this.size);
};
}
window.onresize = function() {
var w = window.innerWidth;
var h = window.innerHeight;
resizeCanvas(w,h);
width = w;
height = h;
};
</script>
</head>
<body>
<div id="overlay">
<p>
This place is going to be a hub for <b>collaborative work</b> in the fields of <b>media art</b> and <b>design</b> regarding <b>knowledge</b> and <b>social interaction</b> on the <b>internet</b>.<br>
The community is based on <b>European standards</b>, <b>the whole world is invited</b> to collaborate.<br>
It is registered at <a href="https://www.manitu.de/" target="_blank"><b>Manitu</b></a>, a web host service based in <b>Saarland, Germany</b>.<br><br>
<b>We'd love you to get in contact with us!</b><br><br>
<h3><a href="https://discord.gg/nGDYYKE">Discord invitation</a></h3>
</p>
<p>
There's a <a href="http://coal.ddns.net:3000/coal/coalmedia.eu">git</a> for this website, rudimentary hosted on <a href="https://giers.io">my</a> Raspberry Pi<br>
Following links are not functioning properly yet and only here for construction purpose.
<ul>
<li><a href="chat">Chat</a></li>
<li><a href="cloud">Cloud</a></li>
<li><a href="git">Git</a></li>
</ul>
</p>
</div>
</body>
</html>

2252
libraries/p5.dom.js Normal file

File diff suppressed because it is too large Load Diff

32625
libraries/p5.js Normal file

File diff suppressed because it is too large Load Diff

3
libraries/p5.min.js vendored Normal file

File diff suppressed because one or more lines are too long

9336
libraries/p5.sound.js Normal file

File diff suppressed because it is too large Load Diff

6
libraries/p5.sound.min.js vendored Normal file

File diff suppressed because one or more lines are too long

68
mobile.html Normal file
View File

@@ -0,0 +1,68 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Coal Community . Under Construction</title>
<meta charset="UTF-8">
<meta name="author" content="Victor Giers">
<meta name="date" content="" scheme="2019-06-01">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html {
height: 100%;font-size:100%;
}
@media(min-width:60em){html{font-size: 100%}}
body {
font-size: 16px;
height: 100%;
margin: 0;
background-image: url(potemkin.png);
background-size: auto 100%;
background-repeat:no-repeat;
background-position: center;
background-position-y: 0;
background-attachment: fixed;
overflow-x: hidden;
}
#content {
position: absolute;
z-index: 1;
display: block;
width: 80%;
height: 100%;
margin-left: 30px;
margin-right:30px;
color: rgb(255,255,255);
font-family: Verdana;
}
p {
font-size:120%;
}
h1 {
font-size: 250%;
}
a {
color: rgb(255,255,255);
text-decoration: underline;
}
a:hover {
text-decoration: none;
}
ul{line-height:200%;}
</style>
</head>
<body>
<div id="content">
<h1>Under Construction</h1>
<p>
This place is going to be a hub for <b>collaborative work</b> in the fields of <b>media art</b> and <b>design</b> regarding <b>knowledge</b> and <b>social interaction</b> on the <b>internet</b>.<br>
The community is based on <b>European standards</b>, <b>the whole world is invited</b> to collaborate.<br>
It is registered at <a href="https://www.manitu.de/" target="_blank"><b>Manitu</b></a>, a web host service based in <b>Saarland, Germany</b>.<br><br>
<b>We'd love you to get in contact with us!</b><br><br>
<center><h3><a href="https://discord.gg/nGDYYKE">Discord invitation</a></h3></center>
</p>
</div>
</body>
</html>

3
phpinfo.php Normal file
View File

@@ -0,0 +1,3 @@
<?php
phpinfo();
?>

BIN
potemkin.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB