Marcin Kurczewski
4489277df8
Fixed bad SQL when looking for multiple uploaders
2014-11-10 20:04:38 +01:00
Marcin Kurczewski
f9528f8183
Switched to subqueries from manual fetching
2014-11-06 20:00:52 +01:00
Marcin Kurczewski
4578f7a7a4
Fixed searching for favs and comments
2014-11-06 19:50:07 +01:00
Marcin Kurczewski
3dbb2b06be
Fixed relations being wiped out when saving
...
The code worked like this:
1. Delete old relations
2. Get related entities
3. Save old relations
If the entity hasn't retrieved relations until now, autoloader tried to
get related entities /after/ they were deleted.
2014-10-25 18:31:53 +02:00
Marcin Kurczewski
20d75e177d
Improved performance of "hide downvoted"
2014-10-20 20:15:45 +02:00
Marcin Kurczewski
ea77a662ad
Fixed searching for liked/disliked posts
2014-10-19 21:19:40 +02:00
Marcin Kurczewski
16e4a4a7e7
Fixed fpdo leftovers
2014-10-19 21:15:25 +02:00
Marcin Kurczewski
c52ed6a455
Abandoned FPDO
...
Also, fixed tag search by categories
2014-10-19 20:09:06 +02:00
Marcin Kurczewski
fadd37fe84
Fixed uploader: SQL ambiguity
2014-10-18 18:48:39 +02:00
Marcin Kurczewski
99b08879bd
Improved search speed
2014-10-18 18:48:38 +02:00
Marcin Kurczewski
672185f959
Added tag name changing
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
3744f0429a
Split FileService to NetworkingService and FileDao
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
632bac8661
Added "use ..." statements
...
This version ditches backwards compatibility with PHP earlier than 5.6.
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
76d9e95e4b
Moved tag export to service
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
9379b4945a
Moved tag synchronization to TagService
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
edb9055299
Changed favorite and score DAO to be more flexible
2014-10-18 18:48:34 +02:00
Marcin Kurczewski
e43f3b54d7
Added various option support to post searching
2014-10-18 18:48:33 +02:00
Marcin Kurczewski
5db571ab7f
Added special:(dis)liked support to post searching
2014-10-18 18:48:32 +02:00
Marcin Kurczewski
c124f89b8b
Added fav: support to post searching
2014-10-18 18:48:31 +02:00
Marcin Kurczewski
0cfb7b821d
Added uploader: support to post searching
2014-10-18 18:48:31 +02:00
Marcin Kurczewski
060ddf46ad
Added automatic tag JSON export
...
I plan to use it in autocomplete inputs.
2014-10-18 18:48:30 +02:00
Marcin Kurczewski
6e22efdd6e
Added post favoriting
2014-10-18 18:48:29 +02:00
Marcin Kurczewski
5159214e80
Added searching by tags and ids
2014-10-18 18:48:29 +02:00
Marcin Kurczewski
5dc85b7dee
Added post relations
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
1d72cec84b
Added user lazy loading
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
a3f9382671
Changed file mgmt to use entities' lazy getters
2014-10-18 18:48:26 +02:00
Marcin Kurczewski
34752529b5
Fixed saving tags under certain circumstances
2014-10-18 18:48:25 +02:00
Marcin Kurczewski
bc8e1b05a6
Implemented post uploads ( closed #11 )
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
d450f5794e
Fixed magic strings in Dao layer
2014-10-18 18:48:21 +02:00
Marcin Kurczewski
f3096ffc5d
Changed object initialization
...
DI FTW
2014-10-18 18:48:15 +02:00
Marcin Kurczewski
011d803bd0
Added Config; concealed MongoDB dependency
2014-10-18 18:48:15 +02:00
Marcin Kurczewski
b7de8ae0bf
Added proof of concept for Dao system
...
Fixup first commit
2014-10-18 18:48:15 +02:00