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
Konrad Borowski
1c7ffcae30
Cache node_modules
2019-10-12 17:35:45 +00:00
Konrad Borowski
7e7e13c102
Add Perl support
2019-10-12 19:29:17 +02:00
Konrad Borowski
51fcec38ee
Merge branch 'monaco-editor' into 'master'
...
Support Monaco Editor
See merge request pastebin.run/server!51
2019-10-11 09:23:14 +00:00
Konrad Borowski
f064cece30
Support Monaco Editor
2019-10-11 11:10:11 +02:00
Konrad Borowski
62170c737f
Merge branch 'allow-changing-text-editor' into 'master'
...
Introduce configuration page
See merge request pastebin.run/server!50
2019-10-09 15:08:09 +00:00
Konrad Borowski
bc24fe0b31
Introduce configuration page
2019-10-09 16:51:25 +02:00
Konrad Borowski
3db68d0f13
Merge branch 'use-correct-http-response-code-for-post-to-get-redirects' into 'master'
...
Use right HTTP status code for POST to GET redirects
See merge request pastebin.run/server!49
2019-10-09 12:55:33 +00:00
Konrad Borowski
2c1fa27b55
Use right HTTP status code for POST to GET redirects
2019-10-09 14:44:54 +02:00
Konrad Borowski
1cf9c12acf
Merge branch 'recursively-traverse-js-in-build-script' into 'master'
...
Recursively traverse JavaScript in build script
See merge request pastebin.run/server!48
2019-10-09 10:37:57 +00:00
Konrad Borowski
7d974cf0fe
Merge branch 'move-codemirror-css-to-js' into 'master'
...
Move CodeMirror CSS to JavaScript
See merge request pastebin.run/server!47
2019-10-09 10:33:27 +00:00
Konrad Borowski
edb75c76eb
Recursively traverse JavaScript in build script
2019-10-09 12:28:18 +02:00
Konrad Borowski
817cdfa3b4
Move CodeMirror CSS to JavaScript
2019-10-09 12:23:25 +02:00
Konrad Borowski
e53f1f83ef
Merge branch 'remove-codemirror-stuff-from-database' into 'master'
...
Remove CodeMirror stuff from database
See merge request pastebin.run/server!46
2019-10-09 10:08:02 +00:00
Konrad Borowski
2384ec0213
Remove CodeMirror stuff from database
2019-10-09 11:59:06 +02:00