Commit graph

294 commits

Author SHA1 Message Date
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
fa72060502 Added tags in post view 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
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
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
Marcin Kurczewski
57fb6da4b3 Added "P" hotkey to post list 2014-10-18 18:48:25 +02:00
Marcin Kurczewski
13a15a3a6b Added post mime type saving 2014-10-18 18:48:25 +02:00
Marcin Kurczewski
8f7985bd83 Fixed colors of "big button" links 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
b76e4cd1af Changed font for tags in tag input to sans-serif 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
15eb2342b9 Moved public data to public_html/
This is going to improve caching.
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
4fc130e840 Centered help text in login form 2014-10-18 18:48:23 +02:00
Marcin Kurczewski
bd8d1811e3 Added border to focused input 2014-10-18 18:48:23 +02:00
Marcin Kurczewski
eafc47bfb3 Fixed forms width on Chrome 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
1a41e60515 Improved stylesheet 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
e6073ba7c7 Fixed extra spaces between items in top navigation 2014-10-18 18:48:22 +02:00
Marcin Kurczewski
f0a077f2b4 Fixed vendor autoloader placement 2014-10-18 18:48:21 +02:00
Marcin Kurczewski
dfb1198143 Worked on post uploads (#11) - added GUI 2014-10-18 18:48:21 +02:00
Marcin Kurczewski
7ec3715cdd Removed unnecessary values 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
a7d4490b4f Changed minification engine (closed #4) 2014-10-18 18:48:20 +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
73214396ce Added test for basic controller validity 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
8e8e983f28 Refactored privilege system 2014-10-18 18:48:18 +02:00
Marcin Kurczewski
c70554330c Added Injector class 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
403cc735b8 Fixed GET requests to API 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
51c0fa2636 Added JS+CSS+HTML compiler 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
5573c49985 Moved backend DI definitions 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
Marcin Kurczewski
6265a09d39 Added dependency injection engine 2014-10-18 18:48:15 +02:00
Marcin Kurczewski
ebc4fbba61 Added proof of concept for controllers system 2014-10-18 18:48:15 +02:00