[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/webpaste 993db7e 095/298: Added ptpb.pw as new and default
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/webpaste 993db7e 095/298: Added ptpb.pw as new and default provider |
Date: |
Thu, 9 Dec 2021 18:59:52 -0500 (EST) |
branch: elpa/webpaste
commit 993db7e852410682dc1607ff9021707bf99bf2c0
Author: Elis Axelsson <elis.axelsson@gmail.com>
Commit: Elis Axelsson <elis.axelsson@gmail.com>
Added ptpb.pw as new and default provider
It's very much like ix.io in feature set, but it also got https
support so it's now the new default provider.
---
README.org | 3 ++-
webpaste.el | 12 +++++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/README.org b/README.org
index 2b7547e..fd33e25 100644
--- a/README.org
+++ b/README.org
@@ -20,7 +20,8 @@ easiest way to install and configure packages.
("C-c C-p C-r" . webpaste-paste-region)))
#+END_SRC
-** TODO Providers to implement [4/7]
+** TODO Providers to implement [5/8]
+ - [X] ptpb.pw
- [X] ix.io
- [X] dpaste.com
- [X] sprunge.us
diff --git a/webpaste.el b/webpaste.el
index 5b41df0..e0e9c6f 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -98,7 +98,17 @@ Usage:
;;; Define providers
(defcustom webpaste-providers-alist
- (list (list "ix.io"
+ (list (list "ptpb.pw"
+ (webpaste-provider
+ :domain "https://ptpb.pw/"
+ :parser 'buffer-string
+ :post-field "c"
+ :success
+ (cl-function (lambda (&key response &allow-other-keys)
+ (webpaste-return-url
+ (request-response-header response
"Location"))))))
+
+ (list "ix.io"
(webpaste-provider
:domain "http://ix.io/"
:parser 'buffer-string
- [nongnu] elpa/webpaste 0b7ba72 098/298: Added coveralls for file coverage testing, (continued)
- [nongnu] elpa/webpaste 0b7ba72 098/298: Added coveralls for file coverage testing, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 25ea405 103/298: Added ERT test for message when returning URL, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste f221c1a 104/298: Added test for pasting entire buffers and regions, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste acf9676 108/298: Added flag to disable failover for provider, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 4867c58 113/298: Backquotes for compacter list, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 8f37214 116/298: Update docs to match function, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 4dd2e1b 111/298: First test of creation of paste providers, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 0b67c54 117/298: Move code up to be defined before the webpaste-provider function, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste e11ce74 086/298: Refactor provider priority to own function, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b2ffe99 091/298: Added emacs --version to output in build, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 993db7e 095/298: Added ptpb.pw as new and default provider,
ELPA Syncer <=
- [nongnu] elpa/webpaste 8861ed8 102/298: Added license-badge, renamed test-vars, stop providing webpaste-test, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste bdc204d 055/298: Autoload return function to always have it available, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 3e81264 067/298: Forgot call to retry sending on failure when refactoring to macro, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste f206653 074/298: Merge branch 'alphapapa-without-eval', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 87cee69 081/298: Added test for failover to the second provider and not random, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste dcc26da 084/298: Update melpa image links, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 6655ecc 085/298: Rename make compile to make build because it's easier to remember, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 346b5bc 087/298: Rename tests to be prefixed, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 3389b4a 089/298: Do not provide test-helper feature, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 7db5673 093/298: Added more emacs versions for tests, ELPA Syncer, 2021/12/09