[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/webpaste 7345c5f 252/298: [providers] Deprecation of ptpb.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/webpaste 7345c5f 252/298: [providers] Deprecation of ptpb.pw as a provider |
Date: |
Thu, 9 Dec 2021 19:00:24 -0500 (EST) |
branch: elpa/webpaste
commit 7345c5f62d5cff4d84379eaf5dc8b2bb8bc4f99c
Author: Elis Hirwing <elis@hirwing.se>
Commit: Elis Hirwing <elis@hirwing.se>
[providers] Deprecation of ptpb.pw as a provider
ptpb.pw has been our default provider since 2017-03-23T21:10:25+01:00,
this was introduced in the commit 993db7e852410682dc1607ff9021707bf99bf2c0.
But now ptpb.pw has been shut down due to extensive abuse:
https://github.com/ptpb/pb/issues/245
https://github.com/ptpb/pb/issues/240
ptpb.pw, you were the best paste service out there and have served
webpaste.el and many others very well. You will be missed.
So Long, and Thanks for All the Fish.
This fixes #36.
---
README.org | 14 +++++++-------
tests/integration/test-webpaste-providers.el | 9 ---------
webpaste.el | 17 +----------------
3 files changed, 8 insertions(+), 32 deletions(-)
diff --git a/README.org b/README.org
index eadcdd6..09b75f2 100644
--- a/README.org
+++ b/README.org
@@ -49,11 +49,11 @@ Examples:
;; Choosing githup gist only
(setq webpaste-provider-priority '("gist.github.com"))
- ;; Choosing ptpb.pw as first provider and dpaste.de as second
- (setq webpaste-provider-priority '("ptpb.pw" "dpaste.de"))
+ ;; Choosing ix.io as first provider and dpaste.de as second
+ (setq webpaste-provider-priority '("ix.io" "dpaste.de"))
- ;; Choosing 1) ptpb.pw, 2) dpaste.de, 3) ix.io
- (setq webpaste-provider-priority '("ptpb.pw" "dpaste.de" "ix.io"))
+ ;; Choosing 1) ix.io, 2) dpaste.de, 3) dpaste.com
+ (setq webpaste-provider-priority '("ix.io" "dpaste.de" "dpaste.com"))
;; You can always append this list as much as you like, and which providers
;; that exists is documented below in the readme.
@@ -67,7 +67,7 @@ This can be added to the =:config= section of use-package:
("C-c C-p C-r" . webpaste-paste-region))
:config
(progn
- (setq webpaste-provider-priority '("ptpb.pw" "dpaste.de"))))
+ (setq webpaste-provider-priority '("ix.io" "dpaste.de"))))
#+END_SRC
** Only paste plaintext pastes
@@ -173,8 +173,7 @@ webpaste first and then just read the documentation by
running this:
(describe-function 'webpaste--provider)
#+end_src
-* TODO Providers to implement [6/10]
- - [X] ptpb.pw
+* TODO Providers to implement [5/10]
- [X] ix.io
- [X] dpaste.com
- [X] dpaste.de
@@ -183,4 +182,5 @@ webpaste first and then just read the documentation by
running this:
- [ ] paste.debian.net
- [ ] bpaste.net
- [ ] eval.in
+ - [ ] ptpb.pw (RIP due to
[[https://github.com/ptpb/pb/issues/245][ptpb/pb#245]] &
[[https://github.com/ptpb/pb/issues/240][ptpb/pb#240]])
- [ ] sprunge.us (removed due to
[[https://github.com/rupa/sprunge/issues/45][sprunge#45]] that yields 500s)
diff --git a/tests/integration/test-webpaste-providers.el
b/tests/integration/test-webpaste-providers.el
index 38d8820..2cebaed 100644
--- a/tests/integration/test-webpaste-providers.el
+++ b/tests/integration/test-webpaste-providers.el
@@ -19,15 +19,6 @@
(it
- "ci: can paste with ptpb.pw"
-
- (funcall (webpaste--get-provider-by-name "ptpb.pw") paste-message :sync t)
-
- (expect (spy-calls-count 'webpaste--return-url) :to-equal 1)
- (expect (spy-calls-count 'webpaste--paste-text) :to-equal 0))
-
-
- (it
"ci: can paste with ix.io"
(funcall (webpaste--get-provider-by-name "ix.io") paste-message :sync t)
diff --git a/webpaste.el b/webpaste.el
index 2977c10..375ca2e 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -87,22 +87,7 @@ This uses `browse-url-generic' to open URLs."
(defcustom webpaste-providers-alist
- '(("ptpb.pw"
- :uri "https://ptpb.pw/"
- :post-field "c"
- :lang-uri-separator "/"
- :lang-overrides ((emacs-lisp-mode . "elisp")
- (nix-mode . "nix")
- (conf-toml-mode . "toml")
- (bash-mode . "bash")
- (sh-mode . "sh")
- (csh-mode . "csh")
- (tcsh-mode . "tcsh")
- (python3-mode . "python3")
- (nim-mode . "nim"))
- :success-lambda webpaste--providers-success-location-header)
-
- ("ix.io"
+ '(("ix.io"
:uri "http://ix.io/"
:post-field "f:1"
:lang-uri-separator "/"
- [nongnu] elpa/webpaste d6967bd 217/298: Check emacs version after emacs install, (continued)
- [nongnu] elpa/webpaste d6967bd 217/298: Check emacs version after emacs install, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 2da60b8 223/298: Bump version for new release, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 1925521 228/298: Add emacs 26.1 to tests, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 9c5e921 234/298: WP-25: Add README for raw pastes, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 3d639f1 256/298: Merge branch 'fix-undercover', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 51b20d9 235/298: Merge branch 'WP-25-raw-pastes', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 22f64b7 255/298: undercover: Fix up undercover reporting, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste a8b682a 239/298: Add toml lang to ptpb.pw default, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 2c399a0 243/298: Tests: Add unit tests for shebangs to override major-mode, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste a3a9a77 251/298: Remove spaces at end of lines, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 7345c5f 252/298: [providers] Deprecation of ptpb.pw as a provider,
ELPA Syncer <=
- [nongnu] elpa/webpaste 521de6d 247/298: Update copyright year, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 87ea8b1 294/298: workflows: Remove environment variable to force install cask on macos, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 7d8e0d4 287/298: wepaste: Add provider paste.rs, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste a9c4aa4 288/298: Merge branch 'provider-paste-rs', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b47767f 229/298: Prefix integration test names to filter them out easily if they seem, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 356e54f 242/298: Tests: Add unit test for webpaste--get-shebang-lang-mode, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b8e9245 230/298: Add helper function to find buffers language for provider, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste d6a8771 250/298: Merge branch 'vapniks-patch-1', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 8f9322f 265/298: Merge branch 'tastytea-dpaste.de-new-location', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 2d0f810 268/298: Merge branch 'condy0919-master', ELPA Syncer, 2021/12/09