Commit Graph

833 Commits

Author SHA1 Message Date
Marcin Kurczewski
af3908a23c Added id column to tags 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
42e3559cb4 Fixed pager showing "1" before loading collection 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
7e1234e448 Fixed thumbnail generating 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
a47be4b78f Fixed tests on Windows using bad path separators 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
2f0d0f5fb7 Fixed image manipulator tests without extensions 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
caaf1acba7 Added installation notes 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
7a90981daa Fixed grunt tasks on Cygwin
See sindresorhus/grunt-shell/#82.
2014-10-18 18:48:26 +02:00
Marcin Kurczewski
0f0e22364e Added PHPUnit to composer.json 2014-10-18 18:48:26 +02:00
Marcin Kurczewski
695af67a93 Added grunt-cli to package.json 2014-10-18 18:48:26 +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
b01adce156 Added stricter validation to user avatars 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
fbdb4e5128 Changed mime detection to be case insensitive 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
8e6d7af3ea Fixed unable to click checkboxes in post upload 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
Marcin Kurczewski
13a15a3a6b Added post mime type saving 2014-10-18 18:48:25 +02:00
Marcin Kurczewski
34752529b5 Fixed saving tags under certain circumstances 2014-10-18 18:48:25 +02:00
Marcin Kurczewski
8f7985bd83 Fixed colors of "big button" links 2014-10-18 18:48:25 +02:00
Marcin Kurczewski
fe8cf5222f Added "..." when needed in paginator 2014-10-18 18:48:25 +02:00
Marcin Kurczewski
6defeb0da4 Fixed youtube thumbnails 2014-10-18 18:48:25 +02:00
Marcin Kurczewski
7806333b24 Added post view placeholder 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
9699aeaf64 Fixed endless scroll loading next page too eagerly 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
2c358b3c77 Changed pagers to use own spinners; improved looks 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
669b26bda7 Fixed changing user browsing settings 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
80d572622b Fixed border for focused tag input 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
b76e4cd1af Changed font for tags in tag input to sans-serif 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
83aa2b950b Fixed messages in post upload presenter 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
3b505a9c60 Fixed transaction manager tests using real DB 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
5cfb225400 Fixed lazy loaders injection
AbstractSearchService::getByFilter() wasn't injecting lazy loaders,
because it didn't call AbstractDao::afterLoad(). This resulted in tags
not showing up in post list, because there was nothing to retrieve them.
Changed lazy loaders injection so that it's always executed as soon as
possible (i.e. right in EntityConverter).
2014-10-18 18:48:24 +02:00
Marcin Kurczewski
eb7c507359 (WIP) Added spinner (#39) 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
a16a2d3235 Added posts listing (closed #7) 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
15eb2342b9 Moved public data to public_html/
This is going to improve caching.
2014-10-18 18:48:24 +02:00
Marcin Kurczewski
55f4f4430b Added post content and thumbnail presenter 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
4ac91374b9 Unified style for clickable buttons 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
b4d2c5ecbb Fixed retrieving total record count 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
932407a571 Fixed unserializing enum values 2014-10-18 18:48:24 +02:00
Marcin Kurczewski
815a37cf9a Allowed setting e-mail to empty after activation 2014-10-18 18:48:23 +02:00
Marcin Kurczewski
aee6ed7dbf Fixed bad message when setting e-mail to empty 2014-10-18 18:48:23 +02:00
Marcin Kurczewski
6a721a0f90 Added privileges for staff to view e-mails 2014-10-18 18:48:23 +02:00
Marcin Kurczewski
aa46b4a14b Changed access rank <select> to radio boxes 2014-10-18 18:48:23 +02:00
Marcin Kurczewski
4751270228 Beautified checkboxes and radioboxes 2014-10-18 18:48:23 +02:00
Marcin Kurczewski
4fc130e840 Centered help text in login form 2014-10-18 18:48:23 +02:00