Commit Graph

267 Commits

Author SHA1 Message Date
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
Konrad Borowski
1706b78a00 Merge branch 'api-v1-pastes' into 'master'
Implement v1 API for pastes

See merge request pastebin.run/server!66
2019-11-03 17:01:52 +00:00
Konrad Borowski
3ec4fc3ad7 Merge branch 'rename-perl6' into 'master'
Rename Perl 6

See merge request pastebin.run/server!65
2019-11-03 16:59:36 +00:00
Konrad Borowski
d24a2e9446 Rename Perl 6 2019-11-03 17:40:17 +01:00
Konrad Borowski
7d98102ea5 Implement v1 API for pastes 2019-11-03 17:35:24 +01:00
Konrad Borowski
ef2bd4f528 Notify editor about editor type changes 2019-10-30 19:25:35 +01:00
Konrad Borowski
f46d6df29b Merge branch 'move-block-styles-to-ids' into 'master'
Move block styles to IDs

See merge request pastebin.run/server!64
2019-10-28 11:30:02 +00:00
Konrad Borowski
309238a8d6 Merge branch 'disallow-http-images' into 'master'
Disallow loading images from HTTP

See merge request pastebin.run/server!63
2019-10-28 11:19:28 +00:00
Konrad Borowski
4938340f88 Move block styles to IDs
This prevents them from being applied in Markdown.
2019-10-28 12:07:03 +01:00
Konrad Borowski
ca249b8219 Merge branch 'update-dependencies' into 'master'
Update dependencies

See merge request pastebin.run/server!62
2019-10-28 11:00:39 +00:00
Konrad Borowski
862eaaa324 Disallow loading images from HTTP 2019-10-28 11:51:57 +01:00
Konrad Borowski
10417f9f83 Update dependencies 2019-10-28 11:38:55 +01:00
Konrad Borowski
214840f473 Update error handling 2019-10-28 08:37:48 +01:00
Konrad Borowski
96cbceb9e3 Merge branch 'csp' into 'master'
Use CSP script-src: 'strict-dynamic'

See merge request pastebin.run/server!61
2019-10-24 15:39:15 +00:00
Konrad Borowski
4b88d280b3 Use CSP script-src: 'strict-dynamic' 2019-10-24 14:15:53 +02:00
Konrad Borowski
a5ee95e834 Merge branch 'cachebusting' into 'master'
Bust cache

See merge request pastebin.run/server!60
2019-10-14 13:28:22 +00:00
Konrad Borowski
899fa3fef7 Bust cache 2019-10-14 15:16:12 +02:00
Konrad Borowski
306bf907ec Merge branch 'esnext-output' into 'master'
Output ECMAScript next modules

See merge request pastebin.run/server!59
2019-10-14 12:18:32 +00:00
Konrad Borowski
a66d6f258a Output ES2017
This ensures async functions aren't compiled to state machines
2019-10-14 14:07:33 +02:00
Konrad Borowski
0714d28dab Output ECMAScript next modules 2019-10-14 14:05:36 +02:00
Konrad Borowski
cff0b11c18 Merge branch 'typescript' into 'master'
Migrate to TypeScript

See merge request pastebin.run/server!58
2019-10-14 09:14:14 +00:00
Konrad Borowski
dd00adbd05 Migrate to TypeScript 2019-10-14 11:03:48 +02:00
Konrad Borowski
3383d74d02 Merge branch 'use-sessionstorage-instead-of-indexeddb' into 'master'
Use sessionStorage instead of indexedDb

See merge request pastebin.run/server!57
2019-10-13 20:17:40 +00:00
Konrad Borowski
67e542947a Use sessionStorage instead of indexedDb
indexedDb often doesn't work in private sessions.
2019-10-13 22:05:18 +02:00
Konrad Borowski
bc7970e788 Merge branch 'add-a-feature-for-database-tests' into 'master'
Add a feature for database tests

See merge request pastebin.run/server!56
2019-10-13 17:39:06 +00:00
Konrad Borowski
b787012b72 Add a feature for database tests
Not all tests need a database.
2019-10-13 19:19:46 +02:00
Konrad Borowski
b60304aedc Merge branch 'avoid-lazy-loading-start-views' into 'master'
Avoid lazy loading start views

See merge request pastebin.run/server!55
2019-10-12 22:19:03 +00:00
Konrad Borowski
4c77d3722b Merge branch 'perl6' into 'master'
Provide Perl 6 syntax highlighting

See merge request pastebin.run/server!54
2019-10-12 22:03:59 +00:00
Konrad Borowski
b8644c4125 Avoid lazy loading start views
That should help against FOUC.
2019-10-12 23:57:49 +02:00
Konrad Borowski
ce8d784657 Provide Perl 6 syntax highlighting 2019-10-12 23:46:32 +02:00
Konrad Borowski
dde1b041f8 Merge branch 'cache-node-modules' into 'master'
Cache node_modules

See merge request pastebin.run/server!53
2019-10-12 17:45:50 +00:00
Konrad Borowski
5bd6f406d9 Merge branch 'perl' into 'master'
Add Perl support

See merge request pastebin.run/server!52
2019-10-12 17:39:37 +00:00