1
0
mirror of https://github.com/lus/pasty.git synced 2023-08-10 21:13:09 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
Lukas Schulte Pelkum
e8e2b49466
Use text/plain as fallback content type for hastebin support 2022-01-29 22:17:42 +01:00
Baalaji
15b32b093e
Mongo: Uprev Driver and update code for MongoDB Server 4.2+ (#27)
* Update mongodb driver to 1.8.0

Signed-off-by: baalajimaestro <me@baalajimaestro.me>

* mongodb_driver: Update to support MongoDB 4.2+

https://docs.mongodb.com/manual/reference/method/db.collection.updateOne/\#update-with-an-aggregation-pipeline
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2021-11-27 19:34:57 +01:00
Lukas Schulte Pelkum
1818fac196
Remove the paste-specific autoDelete field 2021-07-30 21:51:33 +02:00
Lukas Schulte Pelkum
99504e0bba
Implement API v2 (#13)
* Add documentation notice

* Rename the deletion token to modification token

* Implement API basics

* Implement paste modification endpoint (#10)

* Implement paste metadata

* Implement report webhook support

* Document API

* Document paste entity

* Update syntax highlighting types (js -> jsonc)

* Update migrator
2021-07-22 22:26:21 +02:00
Lukas Schulte Pelkum
ce9794b2c6
Restructure drivers 2021-04-15 21:03:26 +02:00