Commit graph

79 commits

Author SHA1 Message Date
John MacFarlane
eb96defcc6 pandoc-server: handle citeproc parameter as documented.
Closes #8235.
2022-08-21 21:33:52 -07:00
John MacFarlane
e483bc9ff7 More trypandoc improvements. 2022-08-19 10:49:16 -07:00
John MacFarlane
e9bfa94e18 trypandoc: don't treat 500 as a timeout. 2022-08-19 10:33:24 -07:00
John MacFarlane
3e54004415 trypandoc: temporary workaround for #8235. 2022-08-19 09:02:13 -07:00
John MacFarlane
5092292217 trypandoc: more improvements. 2022-08-18 21:57:00 -07:00
John MacFarlane
3e456f46a6 Minor changes to trypandoc js. 2022-08-18 18:20:31 -07:00
John MacFarlane
7574bfda46 trypandoc: better error handling. 2022-08-18 13:58:02 -07:00
John MacFarlane
60f9c8447e Remove trypandoc Makefile. 2022-08-18 13:16:54 -07:00
John MacFarlane
d01f5e44c5 trypandoc: move version to footer. 2022-08-18 13:04:25 -07:00
John MacFarlane
795392a639 Split javascript from trypandoc/index.html into separate file. 2022-08-18 12:47:17 -07:00
John MacFarlane
2dcd6cbaf4 trypandoc: add canned examples. 2022-08-18 10:26:40 -07:00
John MacFarlane
31b20739b8 trypandoc: More refinements. 2022-08-18 09:58:24 -07:00
John MacFarlane
3c87b31f4b Trypandoc: better error handling. 2022-08-18 08:44:58 -07:00
John MacFarlane
d01c507f25 pandoc-citeproc: Remove maxlength. 2022-08-18 08:09:50 -07:00
John MacFarlane
bfd00eece4 trypandoc: add citeproc and bib formats. 2022-08-18 08:08:17 -07:00
John MacFarlane
e448ad570f Try pandco improvements.
+ Add load from file.
+ Add permalink.  Don't always reload page.
+ Support binary formats in input.
2022-08-17 22:51:30 -07:00
John MacFarlane
fa7669e0a7 trypandoc: allow binary output. 2022-08-17 21:39:22 -07:00
John MacFarlane
c26e3ab3f6 More trypandoc refinements. 2022-08-17 21:15:50 -07:00
John MacFarlane
3e74458143 trypandoc html: new look, do without bootstrap. 2022-08-17 19:58:47 -07:00
John MacFarlane
704a10a29e Minor trypandoc landing page improvements. 2022-08-17 12:44:19 -07:00
John MacFarlane
297e48661d server: Accept POST instead of GET at babelmark endpoint. 2022-08-08 08:35:32 -07:00
John MacFarlane
4e003e9cdb trypandoc Makefile revisions. 2022-08-07 23:15:24 -07:00
John MacFarlane
6b9da0cc96 pandoc-cgi:
Remove /batch endpoint; instead, behave differently if
passed an array of JSON objects.

Rename multidingus endpoint to babelmark.
2022-08-07 19:31:40 -07:00
John MacFarlane
87391feb02 Improve trypandoc index.html.
Use vanilla JS instead of jquery.
Use new pandoc-cgi interface.
2022-08-07 12:20:00 -07:00
John MacFarlane
5635ef9c57 Replace old trypandoc code with new pandoc-cgi.
This is based on servant. It is less hacky and more extensible.
2022-08-06 14:42:38 -07:00
John MacFarlane
a9f6ed2f97 Fix 'make trypandoc' target. 2022-01-12 22:33:56 -08:00
Albert Krewinkel
b7a44f9d19 Copyright notices: update for 2022 2022-01-02 11:59:22 -08:00
John MacFarlane
2894c10b28 Fix trypandoc so it builds with aeson > 2. 2021-10-29 09:50:32 -07:00
John MacFarlane
139376bbfb trypandoc: remove unneeded imports. 2021-03-02 10:03:52 -08:00
John MacFarlane
7e83686d31 trypandoc: add 2 second timeout. 2021-02-28 09:24:37 -08:00
Salim B
fae6a204f1
Fix/update URLs and use HTTP**S** where possible (#7122) 2021-02-26 17:56:04 -08:00
Albert Krewinkel
d202f7eb77
Avoid unnecessary use of NoImplicitPrelude pragma (#7089) 2021-02-07 10:02:35 -08:00
Albert Krewinkel
4f34345867
Update copyright notices for 2021 (#7012) 2021-01-08 09:38:20 -08:00
John MacFarlane
bed62fcf17 Fix trypandoc in response to d8ad766d17 2020-08-07 09:39:23 -07:00
Mike Tzou
349b5fd2ed
trypandoc: Add standalone option to the command text (#6210)
* trypandoc: Add standalone option to the command text

* trypandoc: Update 3rd party libraries

Those links are taken as-is from the library website.
2020-03-25 08:48:48 -07:00
Mike Tzou
525edb86c0
trypandoc: Add checkbox for standalone option (#6189) 2020-03-16 10:01:50 -07:00
Mike Tzou
225e7210f0
Improvements to trypandoc (#6188)
* Use "strict mode" for javascript code

* Fetch resources over https

Otherwise it will depend on the protocol of the webpage served which is
a bad idea.

* Remove unnecessary attributes

Those attributes are not required in HTML5.
2020-03-15 09:46:53 -07:00
Albert Krewinkel
11b5f1e40b
Update copyright year (#6186)
* Update copyright year

* Copyright: add notes for Lua and Jira modules
2020-03-13 09:52:47 -07:00
John MacFarlane
ef63ade26b trypandoc: add jira as input format. 2019-12-22 22:11:41 -08:00
John MacFarlane
e19ce31639 Fix trypandoc for Text changes. 2019-11-22 09:45:10 -08:00
zorkow
f792c7900b Changes in try pandoc 2019-10-09 14:30:25 -07:00
John MacFarlane
36a2df1d35 Fix trypandoc with getReader/getWriter changes. 2019-09-29 21:36:39 -07:00
John MacFarlane
d81b9f55c1 Add Jira in trypandoc 2019-06-11 22:24:32 -07:00
John MacFarlane
3c6d52df34 trypandoc: added some missing formats to drop-down list. 2019-02-10 15:03:30 -08:00
Arfon Smith
f27d029f0f Add JATS to output option on Try pandoc. (#5291) 2019-02-10 07:20:18 -08:00
Albert Krewinkel
37a82b0b11 Add missing copyright notices and remove license boilerplate (#5112)
Quite a few modules were missing copyright notices.

This commit adds copyright notices everywhere via haddock module
headers.  The old license boilerplate comment is redundant with this and has
been removed.

Update copyright years to 2019.

Closes #4592.
2019-02-04 13:52:31 -08:00
John MacFarlane
9366388c05 Fix CSS and viewport on try pandoc index.html. 2018-12-10 15:39:22 -08:00
John MacFarlane
9aaecce7d6 trypandoc: tweaked drop-down lists. 2018-11-04 11:22:25 -08:00
John MacFarlane
849a35643c Revert "Trypandoc: recompile on select rather than change."
This reverts commit f5ad280efb.
2018-11-04 11:19:16 -08:00
John MacFarlane
f5ad280efb Trypandoc: recompile on select rather than change. 2018-11-04 11:17:36 -08:00