Marcin Kurczewski
9edc74f9a5
Added post history
2014-10-18 18:48:28 +02:00
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
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
d2447045dd
Added basic post editing
2014-10-18 18:48:28 +02:00
Marcin Kurczewski
d3015627b3
Added post globals
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
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
aff5965091
Added basic information to post view
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
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
7e1234e448
Fixed thumbnail generating
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
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
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
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
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
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
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
f032460621
Fixed MIME retrieval for files
2014-10-18 18:48:23 +02:00
Marcin Kurczewski
ef451d93ac
Added protection against too big uploads
2014-10-18 18:48:23 +02:00
Marcin Kurczewski
c155cc3e5c
Fixed file size check in FileService::download()
2014-10-18 18:48:23 +02:00
Marcin Kurczewski
ef1a3b9843
Minified exception traces
2014-10-18 18:48:22 +02:00
Marcin Kurczewski
0ebe4d5d3e
Added checks for malformed JSON data
2014-10-18 18:48:22 +02:00
Marcin Kurczewski
047c84ec3a
Bypassed phpcs warnings that shouldn't be there
2014-10-18 18:48:22 +02:00
Marcin Kurczewski
bc8e1b05a6
Implemented post uploads ( closed #11 )
2014-10-18 18:48:22 +02:00
Marcin Kurczewski
bb7b1f3321
Turned errors into exceptions
2014-10-18 18:48:22 +02:00
Marcin Kurczewski
6e196637eb
Moved type conversion to EntityConverters
2014-10-18 18:48:22 +02:00
Marcin Kurczewski
9bd114e5b6
Moved base64 decoding to FormData
2014-10-18 18:48:22 +02:00
Marcin Kurczewski
f6df009085
Split EntityConverter to separate strategies
...
Reflection turned out to be bad, since I cannot implement my own method
in entities, like Post::setUser() instead of Post::setUserId().
2014-10-18 18:48:22 +02:00
Marcin Kurczewski
6035cf89b7
Added transaction manager
2014-10-18 18:48:22 +02:00