Commit graph

312 commits

Author SHA1 Message Date
Marcin Kurczewski
df939e0343 Simplified injecting db connection for upgrades 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
2fc6a23e46 Refactored search filters 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
04cce12a00 Fixed post view for anonymous users 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
d7d2e23e30 Updated TODO 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
0d8ae5334d Fixed navigating between posts 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
5dc85b7dee Added post relations 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
22b30c3e43 Added concurrent editing detection 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
a7c07d32df Added last edit time to basic post information 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
77365e500a Fixed exit confirmation 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
d2447045dd Added basic post editing 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
80b7aaf7d1 Refactored file dropper 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
d3015627b3 Added post globals 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
2bb2d1f743 Moved upgrade.php to scripts/ 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
ac62a44ba7 Fixed registering multiple users with empty e-mail 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
97ca08cf44 Added post featuring 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
0038df26d8 Changed PHPunit settings to be more verbose 2014-10-18 18:48:27 +02:00
Marcin Kurczewski
2387dd4074 Refactored entity filtering 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
9a191c8237 Fixed clicking on tags 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
881d2a6b38 Fixed unknown variable 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
39d854cb8e Added usage count tracking to tags and posts 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
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