From: Banana Date: Sun, 26 Apr 2020 21:00:08 +0000 (+0200) Subject: final touches to version 1.0 X-Git-Tag: v1.0^2 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fberyllium;p=selfpaste.git final touches to version 1.0 --- diff --git a/CHANGELOG b/CHANGELOG index 4a0701c..989d0e4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,8 +1,9 @@ -tbd version 1.0 Beryllium +20200426 version 1.0 Beryllium * final 1.0 working version * added perl as default allowed file * added shellscript to the default allowed files * added html and js to the default allowed files +* added C source files to the default allowed files * added an example cronjob file which can be used to clean old pastes. See clean-cronjob.txt for more details diff --git a/VERSION b/VERSION index 12ce1bd..19df639 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.4-beta Beryllium +1.0 Beryllium diff --git a/documentation/clients.txt b/documentation/clients.txt index 55e2dd1..90b01cc 100644 --- a/documentation/clients.txt +++ b/documentation/clients.txt @@ -2,7 +2,7 @@ A bash client 'selfpaste.sh' is available for use in the client folder. To create this file just copy selfpaste.default.sh to selfpaste.sh and make sure you change ENDPOINT and SELFPASTE_UPLOAD_SECRET. -A c client is available to be build with makefile. Build and see included +A C client is available to be build with makefile. Build and see included help for more information. Requirements to create a new client are: @@ -15,4 +15,4 @@ Requirements to create a new client are: - Can parse json at success -- message: Contains the URL or detailed information -- status: integer based in HTML status code. - - A normal HTTP 200 without json is not a success \ No newline at end of file + - A normal HTTP 200 without json is not a success diff --git a/webroot/config.default.php b/webroot/config.default.php index dfa0af5..81aa6ab 100644 --- a/webroot/config.default.php +++ b/webroot/config.default.php @@ -26,7 +26,7 @@ define('LOG_CREATION',true); define('SELFPASTE_UPLOAD_DIR','pasties'); # those are the allowed file types. # Make sure you read the README and documentation! -define('SELFPASTE_ALLOWED_FILETYPES','text/plain,text/comma-separated-values,text/css,text/xml,text/x-php,text/x-perl,text/x-shellscript,text/html,text/javascript'); +define('SELFPASTE_ALLOWED_FILETYPES','text/plain,text/comma-separated-values,text/css,text/xml,text/x-php,text/x-perl,text/x-shellscript,text/html,text/javascript,text/c-x'); # this is your domain and path on which selfpaste is accessible # needed to respond with the correct link for your paste # please NO / at the end