rr- ffb87f1650 server/posts: defer flush; save content lazily
Rather than flushing the post right away only to find out that there
were validation errors, try to postpone flushing for as long as
possible.

The previous behavior has led to too eager spending of post IDs - each
flush calls nextval(post_id_seq), and postgres sequences are not
affected by transaction rollbacks, so each erroneous post creation
discarded a post ID, which has led to gaps in post IDs.
2016-08-26 15:09:08 +02:00
2016-08-25 00:04:34 +02:00
2016-04-15 18:00:06 +02:00
2016-08-16 21:51:25 +02:00
2016-04-17 17:24:19 +02:00

This repository is under the process of being rewritten. Stay tuned! You can check the current progress on client here and server here.

The reasons behind this rewrite include:

  • Improving user experience: better upload form, larger thumbnails, making top navigation stay out of user way. Maybe other goodies!
  • Finally having good, well-documented REST API.
  • Simplifying user registration.
  • Replacing PHP with Python 3.5.
  • Replacing prior JS mess with proper MVC.
  • Replacing MySQL (MariaDB) with Postgres.
  • Replacing composer, npm, mod_rewrite (=Apache), imagick, ffmpeg or gnash and pdo_mysql with just pip, npm and ffmpeg.
  • Replacing grunt with npm scripts.
  • Making hosting more flexible: offer simple self hosted application that can be combined with any reverse proxy.
Description
Image board engine, Danbooru-style.
Readme 6.9 MiB
Languages
Python 52.3%
JavaScript 33.7%
Smarty 8.2%
Stylus 5.1%
HTML 0.3%
Other 0.3%