Commit graph

46 commits

Author SHA1 Message Date
Marcin Kurczewski
2ede81e1d8 Fixed default tag category 2014-11-09 17:38:58 +01:00
Marcin Kurczewski
e64fb9bfad Added tag snapshots to backend 2014-11-07 14:03:30 +01:00
Marcin Kurczewski
f169bef0eb Added note CRUD to backend 2014-10-26 01:42:23 +02:00
Marcin Kurczewski
f72b0216a5 Fixed "featured by" showing post uploader 2014-10-25 18:20:39 +02:00
Marcin Kurczewski
e03ed35862 Added post note DAO 2014-10-25 14:16:19 +02:00
Marcin Kurczewski
614834c99c Added tag categories 2014-10-19 13:13:02 +02:00
Marcin Kurczewski
0bd0589e32 Added tag relations database interface 2014-10-18 18:48:41 +02:00
Marcin Kurczewski
250ffb209f Added tag banning 2014-10-18 18:48:41 +02:00
Marcin Kurczewski
1ca61e368b Added new user access rank 2014-10-18 18:48:39 +02:00
Marcin Kurczewski
93291e5164 Added ability to loop video posts 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
731eb6561b Added creation time to tags 2014-10-18 18:48:36 +02:00
Marcin Kurczewski
3cb9955ec6 Fixed coding conventions in entities 2014-10-18 18:48:36 +02:00
Marcin Kurczewski
185f820e21 Added support for legacy passwords 2014-10-18 18:48:36 +02:00
Marcin Kurczewski
6bf8586735 Added comment scoring 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
28e87dca93 Removed unused lazy loaders 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
edb9055299 Changed favorite and score DAO to be more flexible 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
16c5740277 Added comment API 2014-10-18 18:48:33 +02:00
Marcin Kurczewski
cc22f3c0ba Added comment DAO 2014-10-18 18:48:33 +02:00
Marcin Kurczewski
31e0158606 Added user banning 2014-10-18 18:48:30 +02:00
Marcin Kurczewski
6d7566ee2f Added post scoring 2014-10-18 18:48:29 +02:00
Marcin Kurczewski
8a9bf259e4 Added order:fav_date and order:fav_count support 2014-10-18 18:48:29 +02:00
Marcin Kurczewski
6e22efdd6e Added post favoriting 2014-10-18 18:48:29 +02:00
Marcin Kurczewski
9edc74f9a5 Added post history 2014-10-18 18:48:28 +02:00
Marcin Kurczewski
5dc85b7dee Added post relations 2014-10-18 18:48:28 +02:00
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
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
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
bc8e1b05a6 Implemented post uploads (closed #11) 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
20b3dfc76d Added additional type safety 2014-10-18 18:48:22 +02:00
Marcin Kurczewski
3e1aaebf89 Fixed account activation for first user
Until now, AuthService used to check for empty e-mail in order to tell
whether an account is activated. This was wrong for following scenario:

1. User doesn't enter any e-mail.
2. Because he is about to become the first user to register, he will
   become an administrator.
3. Administrators don't need to confirm their e-mail address. Activation
   e-mail is not sent, code for e-mail activation is run instead.
4. The user succeeds to create an e-mail-less administrator account.
5. The user fails to login due to unconfirmed e-mail.
6. The code that activates an e-mail just moves unconfirmed e-mail to
   primary e-mail. That was the bug, there's no e-mail to confirm.

Things got (hopefully) simpler now, since I added separate column for
indicating whether account is activated.
2014-10-18 18:48:22 +02:00
Marcin Kurczewski
4526345e5b Switched to sqlite (closed #38) 2014-10-18 18:48:21 +02:00
Marcin Kurczewski
0548890d97 Introduced entity property getters/setters 2014-10-18 18:48:21 +02:00
Marcin Kurczewski
85a026c37b Added e-mail confirmation and password reset 2014-10-18 18:48:19 +02:00
Marcin Kurczewski
e6b37d8e57 Added browsing settings 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
ee2ca7fbaf Added account settings management and avatars 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
ae93b187ac Fixed bugs in registration 2014-10-18 18:48:17 +02:00
Marcin Kurczewski
03b65c196c Worked on user registration 2014-10-18 18:48:16 +02:00
Marcin Kurczewski
1f6017aae7 Added fallback anonymous user to authorization 2014-10-18 18:48:16 +02:00
Marcin Kurczewski
db949dd361 Added proof of concept for authorization system 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