ffb87f1650
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. |
||
---|---|---|
client | ||
server | ||
.gitignore | ||
API.md | ||
config.yaml.dist | ||
INSTALL.md | ||
README.md |
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
orgnash
andpdo_mysql
with justpip
,npm
andffmpeg
. - Replacing
grunt
withnpm
scripts. - Making hosting more flexible: offer simple self hosted application that can be combined with any reverse proxy.