Update board.net maintenance authored by Roland Alton's avatar Roland Alton
......@@ -4,7 +4,27 @@ As Pads are used anonymously we do not apply any roles, so we can not allow some
If you want to have a pad deleted please write a message to support@fairkom.eu
As a sysadmin we do
As a sysadmin we have some tools:
## API call
We can delete a board by API call
https://board.net/api/1/deletePad?apikey=secret12345&padID=Myseminar-B3S
or preferred is directly on heu2 so that key is not exposed:
curl "https://board.net/api/1/deletePad?apikey=secret029b3f1&padID=Myseminar-B3S"
Admins: see https://etherpad.org/doc/latest/#index_http_api get how to secret logged in the server from `cat /opt/etherpad-lite/APIKEY.txt` or from keepass.
If we only know the read only link, we need to get the PadID first:
"https://board.net/api/1.2.14/getPadID?apikey=apikey...&roID=r.dcaf13c86f0df1fbb3627394515087c3"
## delete script
(not reliable working on our large instance)
```
su etherpad
......@@ -13,14 +33,10 @@ node bin/checkPad.js test
node bin/deletePad.js test
```
The adminpads2 plugin is too slow see https://github.com/ether/etherpad-lite/issues/2899#issuecomment-779611308
## adminpads2 plugin
Or we delete by API call see https://etherpad.org/doc/latest/#index_http_api get secret from `cat /opt/etherpad-lite/APIKEY.txt` and do (ideally on heu2 host itself so that key is not exposed):
This is too slow see https://github.com/ether/etherpad-lite/issues/2899#issuecomment-779611308
curl "https://board.net/api/1/deletePad?apikey=secret029b3f1&padID=Myseminar-B3S"
If we only know the read only link, we need to get the PadID first:
"https://board.net/api/1.2.14/getPadID?apikey=apikey...&roID=r.dcaf13c86f0df1fbb3627394515087c3"
## donation
If you requested a board for deletion, we welcome your donation to cover expenses to run the board.net service and for personal support: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5TQ33F5GUFLLE
\ No newline at end of file