Commit Graph

4 Commits

Author SHA1 Message Date
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
Renamed from internal/storage/mongodb_driver.go (Browse further)