attribution for script authors
This commit is contained in:
parent
6de4537382
commit
948358526b
11
README.md
11
README.md
|
@ -3,13 +3,6 @@
|
|||
Scripts that make [tilde.institute](https://tilde.institute) work.
|
||||
|
||||
Includes new user creation
|
||||
and other miscellaneous tasks, such as various monitoring scripts.
|
||||
and other miscellaneous tasks, such as various monitoring scripts.
|
||||
|
||||
The scripts are written by gbmor, except for the following, which were *not*, but may have been committed to the repo by gbmor:
|
||||
* `bin/showwhoison` (written by Kneezle)
|
||||
* `bin/newmail.sh` (Kneezle)
|
||||
* `bin/newuseralert.py` (Kneezle)
|
||||
* `bin/newuseralertv3.py` (Kneezle)
|
||||
* `bin/toot.py` (written by Ben Harris of [tilde.team](https://tilde.team))
|
||||
|
||||
`bin/makeuser` is originally based on [tilde.team](https://tilde.team)'s, but has been extended and modified so much it bears very little resemblance to the original.
|
||||
Scripts have author credited at the top of the file
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/local/bin/python3 -I
|
||||
|
||||
# Lists currently connected users for https://tilde.institute/stats
|
||||
# ben@gbmor.dev
|
||||
# gbmor <ben@gbmor.dev>
|
||||
|
||||
from sys import exit
|
||||
import subprocess
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# ---------------------------------------------------------------------------
|
||||
# makeuser - tilde.institute new user creation
|
||||
# Usage: makeuser [-h|--help] <username> <email> "<pubkey>"
|
||||
# ben@gbmor.dev
|
||||
# <gbmor> ben@gbmor.dev
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
PROGNAME=${0##*/}
|
||||
|
|
|
@ -7,8 +7,7 @@ import random
|
|||
## Uses a skeleton motd plus a random quote ##
|
||||
## to produce a motd with a nifty quote. ##
|
||||
##------------------------------------------##
|
||||
## Created by ahriman - ben@gbmor.dev ##
|
||||
## --> BSD 3-clause license applies ##
|
||||
## <gbmor> ben@gbmor.dev ##
|
||||
##############################################
|
||||
|
||||
def pullfile(filename):
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#!/usr/local/bin/bash
|
||||
|
||||
# Notifies users of newly received mail
|
||||
# kneezle@tilde.institute
|
||||
|
||||
NewMail(){
|
||||
NEWMAIL=$(mailx &)
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
#!/usr/local/bin/python3
|
||||
#
|
||||
# kneezle@tilde.institute
|
||||
|
||||
import os
|
||||
import argparse
|
||||
import http.client
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Lists all the currently registered users extant on the system
|
||||
# for the stats page at https://tilde.institute/stats
|
||||
# ben@gbmor.dev
|
||||
# gbmor <ben@gbmor.dev>
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Hopefully, this never has to be used.
|
||||
# Cleans up and removes a user from the system.
|
||||
# ben@gbmor.dev
|
||||
# gbmor <ben@gbmor.dev>
|
||||
|
||||
echo "Removing user $1 from the system"
|
||||
userdel $1
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
#!/usr/local/bin/python2
|
||||
|
||||
# Called by bin/makeuser to send a 'toot' to the
|
||||
# tilde.institute mastodon account at
|
||||
# https://tilde.zone/@tildeinstitute
|
||||
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Lists the users who have connected in
|
||||
# the last week for the stats page at
|
||||
# https://tilde.institute/stats
|
||||
# ben@gbmor.dev
|
||||
# <gbmor> ben@gbmor.dev
|
||||
|
||||
from sys import exit
|
||||
import subprocess
|
||||
|
|
Loading…
Reference in New Issue