mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-14 16:02:53 +00:00
48 lines
1.9 KiB
Text
48 lines
1.9 KiB
Text
Name: blackout
|
|
Description: Blackout your ~friendica node during a given period
|
|
License: MIT
|
|
Version: 1.0
|
|
Author: Tobias Diekershoff <https://diekershoff.homeunix.net/friendika/~tobias>
|
|
|
|
About
|
|
=====
|
|
|
|
This plugin will allow you to enter a date/time period during which
|
|
all your ~friendica visitors from the web will be redirected to a page
|
|
you can configure in the admin panel as well.
|
|
|
|
Calls to the API and the communication with other ~friendica nodes is
|
|
not effected from this plugin.
|
|
|
|
If you enter a period the current date would be affected none of the
|
|
currently logged in users will be effected as well. But if they log
|
|
out they can't login again. That way you dear admin can double check
|
|
the entered time periode and fix typos without having to hack the
|
|
database directly.
|
|
|
|
Requirements
|
|
============
|
|
|
|
THIS ADDON REQUIRES PHP VERSION 5.3 OR HIGHER.
|
|
|
|
License
|
|
=======
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
all copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
THE SOFTWARE.
|
|
|