Commit Graph

7 Commits

Author SHA1 Message Date
Stanislav Nikitin 0cca0f453f Database dialects, proper database shutdown, pagination in configuration.
Added possibility to use different database (storage) backends. Currently
supported: flatfiles and mysql. Fixes #2.

Added database shutdown call. This call will properly shutdown database
connections (in case of RDBMS) or flush pastes index cache on disk (in
case of flatfiles).

De-hardcoded pagination count. Fixes #12.
2018-05-27 12:25:01 +05:00
Stanislav Nikitin 8ecf597283 Pastes expiration. 2018-05-17 22:41:21 +05:00
Stanislav Nikitin c926a58276 Private pastes, systemd unit file, design updates.
It is now possible to create private pastes, just check approriate
checkbox.

Added systemd unit file. Don't forget to fix it for your needs!

Updated design for pastes viewing, now paste information shows in
table. Improves mobile experience at least :).
2018-05-01 22:56:45 +05:00
Stanislav Nikitin 48d43ca097 Pagination, readable error messages to user, syntax highlighting started.
Pagination now works. Temporary hardcoded 10 pastes per page, will be put
in configuration later. Maybe.

From now user will receive readable error message if error occured.

Started to work on syntax highlighting, tried to make lexers detection
work but apparently to no avail.
2018-05-01 02:37:51 +05:00
Stanislav Nikitin c557abbdb8 License header everywhere. We're on MIT. 2018-04-30 22:37:36 +05:00
Stanislav Nikitin 242fb3d361 DDD (Domain Design) partially implemented, added comments everywhere. 2018-04-30 22:31:48 +05:00
Stanislav Nikitin 3456ecd312 Initial commit. 2018-04-30 18:42:17 +05:00