From d24fe73a4bbc812fe1a9bee356d83744bf4bad02 Mon Sep 17 00:00:00 2001 From: Banana Date: Tue, 19 May 2020 23:21:39 +0200 Subject: [PATCH] added simple web client --- CHANGELOG | 2 + client/c-client/README | 3 +- client/webclient/config.default.php | 24 ++++++++ client/webclient/index.php | 94 ++++++++++++++++++++++++++--- 4 files changed, 112 insertions(+), 11 deletions(-) create mode 100644 client/webclient/config.default.php diff --git a/CHANGELOG b/CHANGELOG index 79e23ba..c75c4d0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ YYYYMMDD version 1.1 Boron * house cleaning +* added a simple web client +* cleaned up the linux client written in c. See README for more details 20200426 version 1.0 Beryllium * final 1.0 working version diff --git a/client/c-client/README b/client/c-client/README index be49cb6..db1354b 100644 --- a/client/c-client/README +++ b/client/c-client/README @@ -1 +1,2 @@ -Linux client written in C. Can be build with the added Makefile +Linux client written in C. Can be build with the added Makefile for linux +Depends on libcurl (+ssl) https://curl.haxx.se and json-c https://github.com/json-c/json-c diff --git a/client/webclient/config.default.php b/client/webclient/config.default.php new file mode 100644 index 0000000..856bb47 --- /dev/null +++ b/client/webclient/config.default.php @@ -0,0 +1,24 @@ + @@ -60,14 +90,58 @@ if(isset($_POST['dl']) && !empty($_POST['dl']) selfpaste - add a new one -
- + +

+ +

- +

-

+

+