Image board engine, Danbooru-style.
Find a file
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
client client/css: fix tag list style 2016-08-25 00:04:34 +02:00
server server/posts: defer flush; save content lazily 2016-08-26 15:09:08 +02:00
.gitignore server/tests: switch to pytest 2016-04-15 18:00:06 +02:00
API.md server/snapshots: rewrite 2016-08-16 21:51:25 +02:00
config.yaml.dist server/db: allow full DSN; use memdb in tests 2016-08-16 21:42:09 +02:00
INSTALL.md server/db: allow full DSN; use memdb in tests 2016-08-16 21:42:09 +02:00
README.md docs/readme: update links to roadmap 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.