Elis Axelsson
44364f4f03
Rename parameter domain to uri for webpaste-provider
...
This name makes more sense since it's not a domain name put in, it's
acually an URI to the endpoint where we're pasting.
9 years ago
Elis Axelsson
acf96763d8
Added flag to disable failover for provider
...
Added a flag to `webpaste-provider' to disable the failover mechanic
so one can create private providers which failovers to public
providers and leaks data.
9 years ago
Elis Axelsson
e48584700d
Break out pasting to provider to own function
...
This makes it easier to make custom pasting functions that will try a
spacific provider to begin with, it won't *only* try that provider
since the failover is the same as always which might be suboptimal, I
would like to make that an option so one can decide to only ever use
one provider and just fail if one wants to.
This is good if you have internal systems at offices for example, that
you have an internal paste provider for example github
enterprise. Then you don't want it to go try some other provider
afterwards.
9 years ago
Elis Axelsson
8027e6e44d
Run tests on emacs 25.2 since it's been released
9 years ago
Elis Axelsson
382e01d787
Added page breaks to files
9 years ago
Elis Axelsson
f221c1accd
Added test for pasting entire buffers and regions
9 years ago
Elis Axelsson
25ea405478
Added ERT test for message when returning URL
9 years ago
Elis Axelsson
8861ed8c10
Added license-badge, renamed test-vars, stop providing webpaste-test
9 years ago
Elis Axelsson
ca539eb3c8
Rename and update tests for provider priority
...
- Rename webpaste--get-provider-priority to
webpaste/get-provider-priority
- Make the two tests one for better naming but same coverage
9 years ago
Elis Axelsson
b7acc4e28c
Added test for returning of URL's
9 years ago
Elis Axelsson
e998ee4f9b
Simplify one unit test
...
This was the first test I wrote, which also tested provider
priority. But now I have separate tests for provider priority so it
didn't need to be as complex anymore.
9 years ago
Elis Axelsson
0b7ba72abc
Added coveralls for file coverage testing
9 years ago
Elis Axelsson
20760acf5e
Set default value of :parser to provider
...
All my providers used 'buffer-string anyways. So it's now default for
a provider to make them a bit simpler.
9 years ago
Elis Axelsson
f6583397a4
Bump version number for stable release
9 years ago
Elis Axelsson
993db7e852
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.
9 years ago
Elis Axelsson
8e9f4e0550
Bump required version for webpaste.el because I can't install older
...
emacs versions in travis
9 years ago
Elis Axelsson
7db5673cb7
Added more emacs versions for tests
9 years ago
Elis Axelsson
ec85d7da14
Added unit test for static provider configuration
9 years ago
Elis Axelsson
b2ffe999ad
Added emacs --version to output in build
9 years ago
Elis Axelsson
7c90bc5f49
Merge branch 'tarsius-master'
9 years ago
Jonas Bernoulli
3389b4a438
Do not provide test-helper feature
...
"test-helper.el" isn't a library intended to be loaded with `require`.
Instead it is loaded with `load`. Because of that, it is confusing to
provide a feature using `provide` anyway. And because around 70 other
packages come with a file named "test-helper.el" and several dozen of
those still provide the feature `test-helper`, this also leads to a,
admittedly somewhat theoretical, feature conflict.
This is also discussed at https://github.com/rejeep/ert-runner.el/issues/38 .
9 years ago
Elis Axelsson
92a586752b
Spaces
9 years ago
Elis Axelsson
346b5bcde0
Rename tests to be prefixed
9 years ago
Elis Axelsson
e11ce74a8c
Refactor provider priority to own function
9 years ago
Elis Axelsson
6655ecc50a
Rename make compile to make build because it's easier to remember
9 years ago
Elis Axelsson
dcc26da609
Update melpa image links
9 years ago
Elis Axelsson
f338ca7d37
Added Travis-CI build status image
9 years ago
Elis Axelsson
95289e5c95
Added .travis.yml config file
9 years ago
Elis Axelsson
87cee69fe8
Added test for failover to the second provider and not random
9 years ago
Elis Axelsson
7770c886ff
Added first unit test to detect a working provider
9 years ago
Elis Axelsson
0c0e88ac70
Added basic structure of tests file
9 years ago
Elis Axelsson
dc11b51be1
Added code for helper for unit tests
9 years ago
Elis Axelsson
2bb8a4ca33
Set up tests directory
9 years ago
Elis Axelsson
c9d1de00ff
Added Makefile for running tests
9 years ago
Elis Axelsson
f378ca9f09
Added Cask file
9 years ago
Elis Axelsson
f206653419
Merge branch 'alphapapa-without-eval'
9 years ago
alphapapa
78651c982a
Avoid using eval
...
Enable lexical-binding and use a function instead of a macro for webpaste-provider
9 years ago
Elis Axelsson
6e34759f77
Added another privider to list to implement
9 years ago
Elis Axelsson
c57cd53b60
Changed string to number
10 years ago
Elis Axelsson
b4c08a56e6
Spelling in docs
10 years ago
Elis Axelsson
58f66efcb8
Bump version to prepare for melpa stable
10 years ago
Elis Axelsson
984f838600
Added dpaste.de as provider
10 years ago
Elis Axelsson
3e81264eab
Forgot call to retry sending on failure when refactoring to macro
10 years ago
Elis Axelsson
e905bbced2
Change value-type to catch-all sexp since it's not functions anymore
10 years ago
Elis Axelsson
6039591668
Added sprunge.us as provider
10 years ago
Elis Axelsson
ccef003d23
Replace away newlines from ix.io output
10 years ago
Elis Axelsson
39809d86b3
Update documentation
10 years ago
Elis Axelsson
c60c712e7c
Checkdoc
10 years ago
Elis Axelsson
2250993023
Fix eval of macros
10 years ago
Elis Axelsson
f8600284a4
Migrate providers to macro
10 years ago