-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
-0.4-beta Beryllium
+1.0 Beryllium
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:
- 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
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