Commit Graph

248 Commits

Author SHA1 Message Date
Konrad Borowski
7d3e5388c1 Update Node.js dependencies 2019-12-11 08:54:42 +01:00
Konrad Borowski
5a2c5ee7cb Use C compiler for Clang C instead of C++ compiler 2019-11-29 07:24:18 +00:00
Konrad Borowski
cc5579dd68 Merge branch 'clippy-try-err' into 'master'
Resolve clippy::try_err warnings

See merge request pastebin.run/server!84
2019-11-27 19:26:40 +00:00
Konrad Borowski
69920c316f Resolve clippy::try_err warnings 2019-11-27 20:03:08 +01:00
Konrad Borowski
a8ee83739d Add source code link 2019-11-27 19:16:03 +01:00
Konrad Borowski
70ab802f43 Merge branch 'update-dependencies-2' into 'master'
Update dependencies

See merge request pastebin.run/server!82
2019-11-27 11:48:00 +00:00
Konrad Borowski
e09d3ccf2a Update dependencies 2019-11-27 12:21:49 +01:00
Konrad Borowski
1a5f38ae64 Add Ctrl+Enter keyboard shortcut 2019-11-25 20:26:15 +01:00
Konrad Borowski
2291ea4d58 Disable CodeMirror infinite scroll 2019-11-25 20:05:38 +01:00
Konrad Borowski
e307c56ef4 Check field lengths instead of body size
This makes length limits more consistent.
2019-11-25 15:10:23 +01:00
Konrad Borowski
d7a2f70029 Avoid using GitLab license template
Turns out it incorrectly modifies the instructions.
2019-11-25 08:23:37 +00:00
Konrad Borowski
6f311741ba Merge branch 'add-go-language' into 'master'
Add Go language

See merge request pastebin.run/server!81
2019-11-24 12:49:47 +00:00
Konrad Borowski
32dda7f8c5 Add Go language 2019-11-24 13:33:34 +01:00
Konrad Borowski
3db7e82e0c Merge branch 'add-hello-world-examples' into 'master'
Add "Hello, world" examples

See merge request pastebin.run/server!80
2019-11-24 12:07:48 +00:00
Konrad Borowski
adeb13189b Add "Hello, world" examples 2019-11-24 12:57:19 +01:00
Konrad Borowski
b791aba860 Replace default hello world program in C# 2019-11-24 01:45:05 +01:00
Konrad Borowski
5aa59d98ee Add more implementations 2019-11-23 23:21:58 +01:00
Konrad Borowski
9e672a683d Merge branch 'store-output' into 'master'
Store program output

See merge request pastebin.run/server!79
2019-11-23 20:37:10 +00:00
Konrad Borowski
1bb1782eea Store program output 2019-11-23 21:17:26 +01:00
Konrad Borowski
b3a473bef7 Merge branch 'support-stdin' into 'master'
Support user provided STDIN

See merge request pastebin.run/server!78
2019-11-23 17:50:24 +00:00
Konrad Borowski
2e8e5a3288 Support user provided STDIN 2019-11-23 18:39:10 +01:00
Konrad Borowski
bb08c17146 Merge branch 'languages-json' into 'master'
Move language migrations to JSON

Closes #6

See merge request pastebin.run/server!77
2019-11-22 21:02:29 +00:00
Konrad Borowski
6bf43ec9a8 Move language migrations to JSON 2019-11-22 21:42:35 +01:00
Konrad Borowski
cbc7057651 Merge branch 'drop-is-markdown-column' into 'master'
Drop is_markdown column

See merge request pastebin.run/server!76
2019-11-22 18:21:16 +00:00
Konrad Borowski
c864bcdd92 Drop is_markdown column 2019-11-22 19:04:13 +01:00
Konrad Borowski
4f66513447 Merge branch 'remove-node-modules-exclusion' into 'master'
Remove node_modules exclusion in ts-loader

See merge request pastebin.run/server!75
2019-11-20 11:11:16 +00:00
Konrad Borowski
11e4ebb04e Remove node_modules exclusion in ts-loader
It's unnecessary
2019-11-20 11:52:22 +01:00
Konrad Borowski
761e097595 Merge branch 'add-version' into 'master'
Add version

See merge request pastebin.run/server!74
2019-11-20 09:45:19 +00:00
Konrad Borowski
81569a8960 Add version
node2nix requires it.
2019-11-20 10:27:32 +01:00
Konrad Borowski
7ea4590ca5 Merge branch 'test-on-more-rust-versions' into 'master'
Test on more Rust releases

See merge request pastebin.run/server!73
2019-11-20 07:22:06 +00:00
Konrad Borowski
893e88c8f2 Test on more Rust releases 2019-11-19 18:51:41 +01:00
Konrad Borowski
13386ac1a2 Merge branch 'remove-npm-install-from-build-rs' into 'master'
Remove npm install from build.rs

See merge request pastebin.run/server!72
2019-11-19 13:07:19 +00:00
Konrad Borowski
07134ed788 Remove npm install from build.rs 2019-11-19 13:50:42 +01:00
Konrad Borowski
bae8c543e9 Merge branch 'remove-webpack-nonce' into 'master'
Remove __webpack_nonce__

See merge request pastebin.run/server!71
2019-11-19 12:36:47 +00:00
Konrad Borowski
5bd7871ec7 Merge branch 'dynamic-js-path' into 'master'
Dynamically retrieve JS path in debug builds

See merge request pastebin.run/server!70
2019-11-19 12:34:12 +00:00
Konrad Borowski
75788bc9e5 Remove __webpack_nonce__ 2019-11-19 13:28:23 +01:00
Konrad Borowski
308eb4007e Dynamically retrieve JS path in debug builds
This allows to use webpack --watch
2019-11-19 13:25:45 +01:00
Konrad Borowski
a0d33d5887 Merge branch 'delete-rust-toolchain' into 'master'
Delete rust-toolchain

See merge request pastebin.run/server!69
2019-11-08 12:06:09 +00:00
Konrad Borowski
f3615c6e82 Use non-preview futures 0.3 2019-11-07 19:59:42 +01:00
Konrad Borowski
88a4f1bd96 Delete rust-toolchain 2019-11-07 16:13:58 +00:00
Konrad Borowski
ee842b5c5d Correct name of default language 2019-11-05 16:01:57 +01:00
Konrad Borowski
cbdaa93d1b Use prism syntax highlighter 2019-11-04 16:06:11 +01:00
Konrad Borowski
cbacf5b625 Update language identifiers
This is the last moment to do this, as the /v1/pastes API
will become public soon.
2019-11-04 11:26:10 +01:00
Konrad Borowski
f41a6d6574 Allow language classes 2019-11-04 10:13:22 +01:00
Konrad Borowski
0ffc9140a8 Allow CORS for api/v1 only 2019-11-04 09:17:02 +01:00
Konrad Borowski
77987333fe Ensure api/v1/pastes requires POST request 2019-11-04 00:27:29 +01:00
Konrad Borowski
06fb0a0326 Merge branch 'cors' into 'master'
Enable CORS for API

See merge request pastebin.run/server!68
2019-11-03 19:08:11 +00:00
Konrad Borowski
eb6659fb92 Enable CORS for API 2019-11-03 19:58:07 +01:00
Konrad Borowski
078bcfcd58 Merge branch 'use-durations-instead-of-timestamps' into 'master'
Use durations instead of timestamps

See merge request pastebin.run/server!67
2019-11-03 18:28:45 +00:00
Konrad Borowski
ef5652bc1d Use durations instead of timestamps in API
Most users will want to specify concrete expiration duration, and using
timestamps would necessitate doing math, when it would be easier if
the API itself did the math.
2019-11-03 19:16:29 +01:00