Commit graph

276 commits

Author SHA1 Message Date
Marcin Kurczewski
672185f959 Added tag name changing 2014-10-18 18:48:37 +02:00
Marcin Kurczewski
74e6e008dc Implemented mass tag 2014-10-18 18:48:37 +02:00
Marcin Kurczewski
f2b5124d54 Changed pager spinner to be smoother 2014-10-18 18:48:37 +02:00
Marcin Kurczewski
6afd60feba Removed PathJS dependency; refactored routing 2014-10-18 18:48:37 +02:00
Marcin Kurczewski
93291e5164 Added ability to loop video posts 2014-10-18 18:48:37 +02:00
Marcin Kurczewski
ad8e3bdcd5 Added tag presenter 2014-10-18 18:48:36 +02:00
Marcin Kurczewski
49124298a2 Added tag listing 2014-10-18 18:48:36 +02:00
Marcin Kurczewski
651fc4919f Fixed changing users sometimes not working 2014-10-18 18:48:35 +02:00
Marcin Kurczewski
18bec702ce Fixed paginator 2014-10-18 18:48:35 +02:00
Marcin Kurczewski
c34ea720d9 Added Markdown parsing to comments 2014-10-18 18:48:35 +02:00
Marcin Kurczewski
94e1b8ecdb Removed lag before showing "Add comment" form 2014-10-18 18:48:35 +02:00
Marcin Kurczewski
6e09f90251 Fixed top navigation loading glitch
A race condition occurred - router could execute promise.abortAll()
even when top navigation didn't fully load. This caused top navigation
presenter to throw "broken promise" error, which is reserved for
promises made after core modules have been loaded.
2014-10-18 18:48:35 +02:00
Marcin Kurczewski
6bf8586735 Added comment scoring 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
adfc120642 Added autocompletion 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
b57fee0ad8 Improved image and thumbnail loading 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
784ff22050 Refactored template loading 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
688b5b1281 Added prev/next post controls 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
33c1d99583 Fixed loading templates from DOM 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
94aec9cc0e Fixed first comment not showing in comment list 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
4bfe70f256 Added quick links to user view 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
16f9c277a1 Added comment presenters 2014-10-18 18:48:33 +02:00
Marcin Kurczewski
16c5740277 Added comment API 2014-10-18 18:48:33 +02:00
Marcin Kurczewski
69edaa2159 Changed promises to use IDs 2014-10-18 18:48:33 +02:00
Marcin Kurczewski
d8414c4f9b Fixed "search" button in post list 2014-10-18 18:48:33 +02:00
Marcin Kurczewski
614111a5f0 Changed user settings to be stored as arrays 2014-10-18 18:48:33 +02:00
Marcin Kurczewski
c78d9d62e6 Fixed updating search to previous query 2014-10-18 18:48:32 +02:00
Marcin Kurczewski
d6bd82dc3e Removed CDN dependencies for JS 2014-10-18 18:48:32 +02:00
Marcin Kurczewski
455ae2b881 Fixed promises and its race conditions 2014-10-18 18:48:32 +02:00
Marcin Kurczewski
e1ae4eaa0d Added warning if no entities were shown 2014-10-18 18:48:32 +02:00
Marcin Kurczewski
ec8daf91fb Improved error handling in pager presenters 2014-10-18 18:48:32 +02:00
Marcin Kurczewski
7d8dfd797f Added query to post list 2014-10-18 18:48:31 +02:00
Marcin Kurczewski
da41fd7a96 Renamed PagedCollectionPresenter to PagerPresenter 2014-10-18 18:48:31 +02:00
Marcin Kurczewski
14325b4338 Extracted pager from paged collection presenter 2014-10-18 18:48:31 +02:00
Marcin Kurczewski
016e89a463 Added autofocus to login form 2014-10-18 18:48:31 +02:00
Marcin Kurczewski
4c458d8b20 Fixed privileges 2014-10-18 18:48:31 +02:00
Marcin Kurczewski
31e0158606 Added user banning 2014-10-18 18:48:30 +02:00
Marcin Kurczewski
6c76f016e7 Added keyboard shortcuts to top navigation 2014-10-18 18:48:30 +02:00
Marcin Kurczewski
51b3342d62 Added ability to select tags in tag input 2014-10-18 18:48:30 +02:00
Marcin Kurczewski
e58b556f66 Added client-side protection against long tags 2014-10-18 18:48:30 +02:00
Marcin Kurczewski
47260bd5fa Changed pasting tags to "soft-add" last tag 2014-10-18 18:48:30 +02:00
Marcin Kurczewski
5dfa011d5a Fixed hotkeys not resetting on presenter change 2014-10-18 18:48:30 +02:00
Marcin Kurczewski
169d5f7068 Fixed default order in user list 2014-10-18 18:48:30 +02:00
Marcin Kurczewski
50ca13b136 Reduced requests in post view 2014-10-18 18:48:29 +02:00
Marcin Kurczewski
6d7566ee2f Added post scoring 2014-10-18 18:48:29 +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
3da8d2c233 Fixed error messages covered with content spinner 2014-10-18 18:48:29 +02:00
Marcin Kurczewski
9edc74f9a5 Added post history 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
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
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
97ca08cf44 Added post featuring 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
fa72060502 Added tags in post view 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
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
fe8cf5222f Added "..." when needed in paginator 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
83aa2b950b Fixed messages in post upload presenter 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
4ac91374b9 Unified style for clickable buttons 2014-10-18 18:48:24 +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
8176184b51 Changed times on user profile to relative form 2014-10-18 18:48:23 +02:00
Marcin Kurczewski
4c3bc0004b Hidden user tabs if only basic info is available 2014-10-18 18:48:23 +02:00
Marcin Kurczewski
d72c6c5d6e Fixed page exit confirmation 2014-10-18 18:48:23 +02:00
Marcin Kurczewski
bc8e1b05a6 Implemented post uploads (closed #11) 2014-10-18 18:48:22 +02:00
Marcin Kurczewski
b53e2752ca Reduced post upload presenter complexity somewhat 2014-10-18 18:48:22 +02:00
Marcin Kurczewski
dfb1198143 Worked on post uploads (#11) - added GUI 2014-10-18 18:48:21 +02:00
Marcin Kurczewski
23f5100cf8 Changed file dropper to autodetect "allowmultiple" 2014-10-18 18:48:21 +02:00
Marcin Kurczewski
12b43b1bb8 Added endless scroll (closed #5)
The code for paged collections now feels like playing ping-pong with
callbacks, and like I have no idea on who should render who.

It works, though.
2014-10-18 18:48:21 +02:00
Marcin Kurczewski
0828a0aa89 Fixed A/D hotkeys with regard to browser's Alt+D 2014-10-18 18:48:21 +02:00
Marcin Kurczewski
fa8b7b5376 Added hotkeys to paged collections (closed #36) 2014-10-18 18:48:21 +02:00
Marcin Kurczewski
c1739d1d1d Added page title management (closed #33) 2014-10-18 18:48:21 +02:00
Marcin Kurczewski
2bb20c49fd Removed {mangle: false} requirement to uglify-js
Improves solution to #4 for javasript files by 12K (in current build).
2014-10-18 18:48:21 +02:00
Marcin Kurczewski
6ce7beffd2 Fixed frontend behavior after edited user name 2014-10-18 18:48:20 +02:00
Marcin Kurczewski
73c20d3901 Fixed inability to activate e-mail when logged in 2014-10-18 18:48:20 +02:00
Marcin Kurczewski
56cd1b965a Added info about activation to account settings 2014-10-18 18:48:20 +02:00
Marcin Kurczewski
968a15ef60 Changed login so it leads to previously viewed page 2014-10-18 18:48:19 +02:00
Marcin Kurczewski
c117367974 Added IValidatable; moved validation to FormData
I still struggle to find out how to deal with arguments like
$userNameOrEmail. Should I trim() them in controllers, or in service?
If I do it in service, shouldn't all of such validation belong in there?
2014-10-18 18:48:19 +02:00
Marcin Kurczewski
553c33b860 Improved Javascript coding style 2014-10-18 18:48:19 +02:00
Marcin Kurczewski
91e140293e Fixed page navigation in user list 2014-10-18 18:48:19 +02:00
Marcin Kurczewski
85a026c37b Added e-mail confirmation and password reset 2014-10-18 18:48:19 +02:00
Marcin Kurczewski
aa4c401df9 Fixed top navigation being unable to see logout 2014-10-18 18:48:19 +02:00
Marcin Kurczewski
2ed9f969f2 Added presenter placeholders 2014-10-18 18:48:19 +02:00
Marcin Kurczewski
e6b37d8e57 Added browsing settings 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
f5606c4169 Worked on user view appearance 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
3ec1b94ee7 Fixed logging out 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
bfee96c59e Optimized sub routing in presenters 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
8e8e983f28 Refactored privilege system 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
4c0a408152 Added account removal 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
eadd649ad0 Refactored frontend authentication system 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
de31770c87 Added basic privilege system 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
2ecb79a2fa Added passive authorization 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
03fbe0990a Added user view placeholder templates 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
c5881d1c0d Sorted presenter dependencies 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
b657129460 Fixed top navigation state preservation 2014-10-18 18:48:17 +02:00
Marcin Kurczewski
840039958a Fixed promises on Internet Explorer 2014-10-18 18:48:17 +02:00
Marcin Kurczewski
ee9fde5402 Added proof of concept for pagination and search 2014-10-18 18:48:17 +02:00
Marcin Kurczewski
48016bea13 Removed content emptying on navigation
It was really annoying!
2014-10-18 18:48:17 +02:00
Marcin Kurczewski
731b98219d Added support for parameters in presenters 2014-10-18 18:48:17 +02:00
Marcin Kurczewski
7c8e473e1b Restructured presenters code 2014-10-18 18:48:17 +02:00
Marcin Kurczewski
978d22de67 Added template loading through AJAX 2014-10-18 18:48:17 +02:00
Marcin Kurczewski
3fbd1b218e Fixed double errors in registration 2014-10-18 18:48:17 +02:00
Marcin Kurczewski
f59968a062 Finished registration frontend 2014-10-18 18:48:16 +02:00
Marcin Kurczewski
a55a8a825c Fixed app state authentication variables 2014-10-18 18:48:16 +02:00
Marcin Kurczewski
2b2aa04aea Removed useless code from bootstrap 2014-10-18 18:48:16 +02:00
Marcin Kurczewski
16dec4894f Added frontend outline 2014-10-18 18:48:16 +02:00