Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Wed, 22 Mar 2017 22:36:32 UTC Commit: 922f71e76fa70b133716e092a68b2bafb163ada6 https://github.com/geany/geany-plugins/commit/922f71e76fa70b133716e092a68b2b...
Log Message: ----------- geniuspaste: Update fpaste to new paste.fedoraproject.org API
Modified Paths: -------------- geniuspaste/data/fpaste.org.conf
Modified: geniuspaste/data/fpaste.org.conf 98 lines changed, 43 insertions(+), 55 deletions(-) =================================================================== @@ -1,67 +1,55 @@ [pastebin] name=fpaste.org -url=http://fpaste.org/ +url=https://paste.fedoraproject.org/api/paste/submit +content-type=application/json
[format] -paste_data=%contents% -paste_lang=%language% -api_submit=true -mode=xml +contents=%contents% +language=%language% +title=%title%
# Optional stuff
-paste_user=%user% -# expiration in seconds -#paste_expire=0 +# expiration date in UNIX timestamp +#expiry_time=1453355837 +# Password for accessing the paste +#password=password123
[parse] -search=<id>(.+?)</id> -replace=http://fpaste.org/%5C1 +search="url" *: *"([^"]+)" +replace=\1
# map GeanyFileType=PastebinFileType [languages] -# map for GeSHi 2015-01-14 -ActionScript=Actionscript -Ada=ADA -ASM=ASM -C=C -C#=C# -C++=C++ -COBOL=COBOL -Conf=INI -CSS=CSS -CUDA=C -Cython=Python -D=D -Diff=Diff -Docbook=XML -F77=Fortran -Fortran=Fortran -FreeBasic=FreeBasic -GLSL=C -Haskell=Haskell -HTML=HTML -Java=Java -Javascript=Javascript -JSON=Javascript -LaTeX=LaTeX -Lisp=Lisp -Lua=Lua -Make=Make -NSIS=NSIS -Objective-C=Objective-C -Pascal=Pascal -Perl=Perl -PHP=PHP -Po=GetText -PowerShell=PowerShell -Prolog=Prolog -Python=Python -Ruby=Ruby -Scala=Scala -Sh=Bash -SQL=SQL -Tcl=TCL -Verilog=Verilog -VHDL=VHDL -XML=XML +# based off the list on the pastebin's web frontend +CMake=cmake +CoffeeScript=coffeescript +CSS=css +D=d +Diff=diff +Elm=elm +Erlang=erlang +Factor=factor +F77=fortran +Fortran=fortran +Go=go +Haskell=haskell +HTML=htmlmixed +Javascript=javascript +Jinja2=jinja2 +Markdown=markdown +Matlab/Octave=octave +PHP=php +Python=python +RPM=rpm +Ruby=ruby +Rust=rust +SASS=sass +Sh=shell +Smalltalk=smalltalk +SQL=sql +Swift=swift +Verilog=verilog +VHDL=vhdl +XML=xml +YAML=yaml
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org