Commit Graph

36 Commits

Author SHA1 Message Date
00a2df14ff Permet le rendu des fichiers html dans le navigateur
Afin d'ajouter réellement des fonctionnalités de blog, on peut rendre les fichiers html, css, js normalement sans pygments.

J'ai pas les moyens de tester si y a pas de bug, et je voulais soumettre l'idée rapidement.
2023-05-11 21:13:48 +00:00
ccfec0affc
.txt files should not be interpreted as Markdown. 2023-04-25 22:12:48 +02:00
d70b7db79a
Fix: KeyError 2023-04-25 21:48:48 +02:00
d0b6ec7014
Simplify POST and PUT response. 2023-04-25 18:12:41 +02:00
133fd480b8
Allow to update own pastes. 2023-04-25 18:01:34 +02:00
2b13d6cbb0
Add ::/list/ endpoint, with a secret to find them. 2023-04-25 14:09:29 +02:00
1b1c3a1a47
Group pastes from a same upload with the same slug. 2023-04-25 10:49:36 +02:00
14c6436b23
Also pretty print Markdown. 2023-04-25 09:22:03 +02:00
3266bd553c
Allowing to paste multiple files. 2023-04-24 17:39:50 +02:00
b74ca1bfbd
Filename in admin. 2023-04-21 15:08:33 +02:00
5fb85fb674
Hello lru_cache. 2023-04-21 14:58:08 +02:00
27b9221859
Drop now unused Language model. 2023-04-21 14:58:07 +02:00
bc75975da3
Automatically choose renderer according to Accept header. 2023-04-21 14:58:07 +02:00
a2dad29337
Remove lifetime 2023-04-21 14:58:07 +02:00
d154339657
Simplier uuid picker 2023-04-21 14:58:06 +02:00
459d80eab7
Drop title. 2023-04-21 14:58:06 +02:00
a3365f3901
Remove lifetime. 2023-04-21 09:45:23 +02:00
47360a3320
Dropping passwords. 2023-04-21 09:38:50 +02:00
c1826083fb
Drop private pastes. 2023-04-21 09:19:47 +02:00
a539d9096f black 2020-05-31 15:33:59 +02:00
709fb4be3d Sessions only for admin/. 2018-05-19 10:05:04 +02:00
194f7bb7e6 Privacy matters. 2018-05-13 16:45:08 +02:00
4bd94df48f Drop magic number. 2018-05-13 16:39:34 +02:00
63fe8deaa9 Get language name from file form field name. 2018-05-13 12:37:15 +02:00
40075e04e1 Tell about curl. 2018-05-13 00:35:34 +02:00
e5f490555f Infer title from uploaded file name. 2018-05-12 23:24:12 +02:00
9fa51ecb7e Add a shorter URL for pastes. 2018-05-12 23:24:01 +02:00
0eaf461e1e Allow to curl localhost:8000 -Ffile=@manage.py. 2018-05-12 23:11:34 +02:00
64ae8a29cc Allowing to configure default_lifetime. 2018-05-07 23:29:28 +02:00
df539936bd Use text/plain for raw. 2018-05-07 23:15:41 +02:00
5e9b1aa020 Allow some features to be disabled. 2018-05-07 23:07:50 +02:00
eed13f0d13 no default renderer by default 2018-05-07 01:00:13 +02:00
828683fd46 pygments officially default renderer. 2018-05-07 00:56:42 +02:00
81d2dd23ea Use short uuids. 2018-05-07 00:35:52 +02:00
e80f2f10dd Bump to Python 3 and Django 2. 2018-05-07 00:11:41 +02:00
Alexandre Henriet
b632e8f869 first commit 2013-04-04 19:37:30 +02:00