Commit graph

123 commits

Author SHA1 Message Date
Marcin Kurczewski
d3015627b3 Added post globals 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
97ca08cf44 Added post featuring 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
7b0d907acc Fixed login remembering 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
c33817e4ab Optimized API operations
Every operation updated user last login time, which was inefficient.
Changed it to update only after logins from credentials or cookies.
2014-10-18 18:48:27 +02:00
Marcin Kurczewski
a140e04ca3 Added post deleting 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
aff5965091 Added basic information to post view 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
5fd2615780 Added content type indicators to post list 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
51a80c22c5 Added author and upload date to post view 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
1d72cec84b Added user lazy loading 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
fa72060502 Added tags in post view 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
34f047de85 Updated TODO 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
af3908a23c Added id column to tags 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
f6d785d2b3 Updated TODO 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
5d0cc93c7f Updated TODO
Turned out these were some really bad ideas:

 1) mapping mime to file types would need to be duplicated in frontend
    and backend
 2) even if frontend and backend could share mime type map somehow,
    frontend would have problems with including it - ajax and the like
 3) it either would be impossible to refer to user avatar by their owner
    user names in URLs, or dao layer would need to synchronize avatar
    content files when user changes his name
 4) presenters still need to decorate urls with /data/ and
    /data/thumbnails/100x100
 5) managing file extensions of thumbnails would be a real pain since it
    partially shares its path names with real content, but under
    different mime type

Generally it's best to leave it to Apache to transmit correct mime.
2014-10-18 18:48:26 +02:00
Marcin Kurczewski
cd146e0750 Tweaked CSS rules related to vendor stylesheets 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
42001d3edf Refactored thumbnail system 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
a3f9382671 Changed file mgmt to use entities' lazy getters 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
a2587fb0d8 Added CSS rules to selected post 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
37da38e929 Fixed thumbnails for non-images in post upload 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
a3fbe80281 Fixed clickable rows while upload is ongoing 2014-10-18 18:48:25 +02:00
Marcin Kurczewski
4c75232a80 Fixed tag input not adding current tag on blur 2014-10-18 18:48:25 +02:00
Marcin Kurczewski
57fb6da4b3 Added "P" hotkey to post list 2014-10-18 18:48:25 +02:00
Marcin Kurczewski
e0bee3b78c Added TODO 2014-10-18 18:48:25 +02:00