Commit graph

438 commits

Author SHA1 Message Date
Marcin Kurczewski
d07745a6cd Fixed double reload when editing tags 2014-11-03 20:54:30 +01:00
Marcin Kurczewski
8f56018140 Added banned tag input prevention 2014-11-03 20:48:23 +01:00
Marcin Kurczewski
752af358df Fixed some promises not handling errors 2014-11-03 20:42:10 +01:00
Marcin Kurczewski
e57de564d9 Fixed tag refreshing 2014-11-03 20:28:26 +01:00
Marcin Kurczewski
3d7967e7c1 Added redirection to proper URL after tag renaming 2014-11-03 13:16:02 +01:00
Marcin Kurczewski
150d585860 Added tag list refreshing on tag edits
Result: suggestions etc. gets updated without the need to refresh the
page
2014-11-03 13:16:02 +01:00
Marcin Kurczewski
ff66ec2416 Added wrapping of too long URLs in post upload 2014-11-03 12:17:54 +01:00
Marcin Kurczewski
a0c407e39d Fixed handling too long sources in pasted URLs 2014-11-03 12:06:53 +01:00
Marcin Kurczewski
6219446f3e Fixed next/prev post 2014-11-03 11:58:28 +01:00
Marcin Kurczewski
3ec506f8c2 Improved style of blockquotes 2014-11-03 10:25:59 +01:00
Marcin Kurczewski
065c8f8891 Fixed bad check in keyboard.js 2014-10-31 23:27:41 +01:00
Marcin Kurczewski
8f1080717c Fixed Alt+D triggering mousetrap D callbacks 2014-10-27 22:50:07 +01:00
Marcin Kurczewski
111cbff281 Fixed keyboard behavior in flash posts 2014-10-26 22:51:48 +01:00
Marcin Kurczewski
edfaeefb37 Fixed post note edit form position for big posts 2014-10-26 22:08:54 +01:00
Marcin Kurczewski
42039ddf26 Changed post notes to work with %-based coords 2014-10-26 22:08:54 +01:00
Marcin Kurczewski
03ce73b1a5 Fixed post notes drag boundaries 2014-10-26 11:45:30 +01:00
Marcin Kurczewski
c4489a14b8 Improved image posts scaling 2014-10-26 11:19:39 +01:00
Marcin Kurczewski
e4424d5191 Added support for nested snapshot elements 2014-10-26 11:18:59 +01:00
Marcin Kurczewski
189aaeadb7 Fixed undeclared variable in HomePresenter 2014-10-26 11:18:59 +01:00
Marcin Kurczewski
50608074c6 Added post note editing to frontend 2014-10-26 11:18:59 +01:00
Marcin Kurczewski
e983e72013 Fixed file dropper triggering form submit 2014-10-26 01:42:23 +02:00
Marcin Kurczewski
fd0e698413 Fixed file dropper appearance 2014-10-26 01:42:23 +02:00
Marcin Kurczewski
6efca63310 Fixed typo in post feature confirmation prompt 2014-10-26 01:42:23 +02:00
Marcin Kurczewski
f169bef0eb Added note CRUD to backend 2014-10-26 01:42:23 +02:00
Marcin Kurczewski
83ca1fcfb4 Changed notes to be rendered only in image posts 2014-10-25 23:59:07 +02:00
Marcin Kurczewski
22d7ab8732 Added post note dragging and resizing in frontend 2014-10-25 20:44:40 +02:00
Marcin Kurczewski
f72b0216a5 Fixed "featured by" showing post uploader 2014-10-25 18:20:39 +02:00
Marcin Kurczewski
f7ff4e0a71 Added post notes presenter 2014-10-25 15:02:46 +02:00
Marcin Kurczewski
355e088fad Enabled DEFLATE compression in htaccess 2014-10-25 14:16:19 +02:00
Marcin Kurczewski
c64fe89918 Fixup cache htaccess 2014-10-25 14:16:18 +02:00
Marcin Kurczewski
11ceb819a9 Added image, JS and CSS cache settings to htaccess 2014-10-25 12:26:15 +02:00
Marcin Kurczewski
cc57d56023 Added external libraries to minifying process 2014-10-25 12:25:44 +02:00
Marcin Kurczewski
81a5f2c1d4 Changed order of CSS / JS 2014-10-25 11:59:59 +02:00
Marcin Kurczewski
bb44ffde43 Fixed post edit form z-index 2014-10-25 11:40:34 +02:00
Marcin Kurczewski
7220dc3ffa Fixed tag input behavior for initial tags 2014-10-25 10:52:24 +02:00
Marcin Kurczewski
6f6d3a34a7 Added hiding page list when loading next page 2014-10-25 10:37:11 +02:00
Marcin Kurczewski
55dbb67940 Fixed clicking "search" twice on endless scroll 2014-10-25 10:36:07 +02:00
Marcin Kurczewski
54f07f5a90 Fixed scrolling to top when endless scroll enabled 2014-10-25 10:03:32 +02:00
Marcin Kurczewski
dd02938a96 Improved comment list on small screens 2014-10-24 09:45:45 +02:00
Marcin Kurczewski
b15cdfb02d Fixed editing post 2014-10-24 09:15:31 +02:00
Marcin Kurczewski
eed2588eb7 Fixed list presenters not scrolling to top 2014-10-22 19:14:42 +02:00
Marcin Kurczewski
619a0c0cc4 Fixed progress behavior when navigating too fast 2014-10-22 19:09:25 +02:00
Marcin Kurczewski
5455106577 Fixed comment list privileges in top navigation 2014-10-22 18:44:57 +02:00
Marcin Kurczewski
8b217118af Moved progress-related functions to promises 2014-10-22 18:43:09 +02:00
Marcin Kurczewski
64743499b6 Added client-side support for browsing settings 2014-10-22 18:38:04 +02:00
Marcin Kurczewski
4d7e035383 Fixed browsing settings deserialization 2014-10-22 18:37:50 +02:00
Marcin Kurczewski
527356bba2 Extracted post content presenter 2014-10-22 18:32:53 +02:00
Marcin Kurczewski
82d59b57e6 Extracted post edit presenter 2014-10-22 18:32:52 +02:00
Marcin Kurczewski
ea16d5c9df Fixed JS validation 2014-10-22 18:32:52 +02:00
Marcin Kurczewski
72bd4c479a Added current page info to endless scroll 2014-10-20 20:30:13 +02:00
Marcin Kurczewski
88dfc0eb96 Fixed nprogress nesting 2014-10-20 20:01:37 +02:00
Marcin Kurczewski
25080fd977 Fixed race condition in pager presenter 2014-10-20 19:37:48 +02:00
Marcin Kurczewski
c55c0833ea Replaced references to szuru2 with szurubooru 2014-10-19 16:02:19 +02:00
Marcin Kurczewski
9817172db3 Fixed link to repository 2014-10-19 16:01:00 +02:00
Marcin Kurczewski
8509b5fb00 Improved tag list scaling 2014-10-19 15:25:21 +02:00
Marcin Kurczewski
f7215c42d9 Added siblings to tag edit view 2014-10-19 13:36:50 +02:00
Marcin Kurczewski
fb04a13044 Added tag edit links in post view 2014-10-19 13:25:16 +02:00
Marcin Kurczewski
6788be8993 Improved post search appearance on small screens 2014-10-19 13:13:02 +02:00
Marcin Kurczewski
614834c99c Added tag categories 2014-10-19 13:13:02 +02:00
Marcin Kurczewski
9d2a8d5175 Fixed broken JS validation for Keyboard.js 2014-10-19 12:10:22 +02:00
Marcin Kurczewski
317d9ff02b Added "loading X..." text to thumbnails 2014-10-19 12:01:22 +02:00
Marcin Kurczewski
56ac7adb1b Added caching to GET requests to API 2014-10-19 11:13:56 +02:00
Marcin Kurczewski
1e82741060 Added Illustrator source files for static assets 2014-10-18 20:08:41 +02:00
Marcin Kurczewski
83394792c6 Changed throbber to nprogress 2014-10-18 20:02:58 +02:00
Marcin Kurczewski
98cc64545e Added logo to README 2014-10-18 20:02:58 +02:00
Marcin Kurczewski
c6be637d53 Fixed images used fadein even if loaded from cache 2014-10-18 18:54:12 +02:00
Marcin Kurczewski
1610659910 Improved keyboard shortcuts in post upload 2014-10-18 18:54:12 +02:00
Marcin Kurczewski
3f93aaa652 Updated mousetrap to newest version
This removes need for my fix in keyboard.js: ccampbell/mousetrap#53
2014-10-18 18:54:12 +02:00
Marcin Kurczewski
d18305d779 Fixed post upload keeping tag suggestions 2014-10-18 18:54:12 +02:00
Marcin Kurczewski
428a1ae18c Changed post upload to select first, not last row 2014-10-18 18:54:11 +02:00
Marcin Kurczewski
c6d5a130e4 Fixed autocomplete resetting if list didn't change 2014-10-18 18:54:11 +02:00
Marcin Kurczewski
4db5bd8007 Changed tag presenter to show meaningful errors 2014-10-18 18:54:11 +02:00
Marcin Kurczewski
85ed59d169 Added autocomplete to tag relations 2014-10-18 18:54:11 +02:00
Marcin Kurczewski
9c29f6173d Fixed unbinding keyboard shortcuts 2014-10-18 18:54:11 +02:00
Marcin Kurczewski
dd1dfcb9e8 Fixed cursor for disabled prev/next post links 2014-10-18 18:54:11 +02:00
Marcin Kurczewski
177a7d79f3 Added 404 page 2014-10-18 18:54:11 +02:00
Marcin Kurczewski
dd8050f250 Made post upload stop button abort current AJAX 2014-10-18 18:54:11 +02:00
Marcin Kurczewski
7e1b901a84 Changed post upload stop button to act immediately 2014-10-18 18:54:11 +02:00
Marcin Kurczewski
c452152f74 Removed tag input focusing in post upload
This caused multiple problems with too eager scrolling:
- adding a new post to upload queue scrolled the site to the tag input
- problems on android, where keyboard can change viewport size on focus
2014-10-18 18:54:11 +02:00
Marcin Kurczewski
46a100ff16 Fixed endless scroll loading next page too eagerly 2014-10-18 18:54:11 +02:00
Marcin Kurczewski
2ffd109c1c Fixed undeclared variable in tag list presenter 2014-10-18 18:48:42 +02:00
Marcin Kurczewski
cff64adbf4 Fixed Google font assets not using HTTPS 2014-10-18 18:48:42 +02:00
Marcin Kurczewski
be77a84950 Improved tag and post list on small screens 2014-10-18 18:48:41 +02:00
Marcin Kurczewski
b7f077df9b Added tag searching 2014-10-18 18:48:41 +02:00
Marcin Kurczewski
bf58207950 Improved tag list appearance; added more info 2014-10-18 18:48:41 +02:00
Marcin Kurczewski
75f0045caf Changed tag view
Added tag info which turns into form with sufficient privileges.
(Previously only form was available.)
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
c60e8e1b9f Moved tag ban checkbox after implications 2014-10-18 18:48:41 +02:00
Marcin Kurczewski
15c9061562 Added tag relation support to tag input 2014-10-18 18:48:41 +02:00
Marcin Kurczewski
a8cb78382c Added tag relationship management to frontend 2014-10-18 18:48:41 +02:00
Marcin Kurczewski
5815f156a8 Added tag relationship management to backend 2014-10-18 18:48:41 +02:00
Marcin Kurczewski
250ffb209f Added tag banning 2014-10-18 18:48:41 +02:00
Marcin Kurczewski
1e745fa648 Fixed tag edit not rendering example posts 2014-10-18 18:48:40 +02:00
Marcin Kurczewski
8f03c68ec8 Changed tag export structure 2014-10-18 18:48:40 +02:00
Marcin Kurczewski
35b893db9d Fixed user banning privilege 2014-10-18 18:48:40 +02:00
Marcin Kurczewski
d6b05e5968 Fixed post list in tag view 2014-10-18 18:48:40 +02:00
Marcin Kurczewski
5383008315 Added version information to front page 2014-10-18 18:48:40 +02:00
Marcin Kurczewski
5a4d5797d8 Added aliases for date-based searches 2014-10-18 18:48:40 +02:00
Marcin Kurczewski
7a15a590ed Changed viewing access ranks to require privilege 2014-10-18 18:48:39 +02:00
Marcin Kurczewski
fc13fb1342 Changed default access rank to restricted user 2014-10-18 18:48:39 +02:00
Marcin Kurczewski
ec5239607c Added help
(Not going to add API documentation unless someone asks me to. Otherwise
I'd feel like I'm wasting my time.)
2014-10-18 18:48:39 +02:00
Marcin Kurczewski
765d553a84 Made most things reachable with just a keyboard 2014-10-18 18:48:39 +02:00
Marcin Kurczewski
33b205b574 Tweaked appearance 2014-10-18 18:48:39 +02:00
Marcin Kurczewski
7ff35f4848 Fixed positioning of post edit form 2014-10-18 18:48:39 +02:00
Marcin Kurczewski
eb51187ef6 Fixed autocomplete inputs weren't clickable 2014-10-18 18:48:39 +02:00
Marcin Kurczewski
6ca08e5532 Added tag siblings to frontend 2014-10-18 18:48:39 +02:00
Marcin Kurczewski
5d0611ed30 Added cursor: pointer to all links 2014-10-18 18:48:39 +02:00
Marcin Kurczewski
6bb5b53377 Added ability to stop uploads 2014-10-18 18:48:38 +02:00
Marcin Kurczewski
02294a355d Improved button appearance 2014-10-18 18:48:38 +02:00
Marcin Kurczewski
db19005622 Fixed post list on IE 2014-10-18 18:48:38 +02:00
Marcin Kurczewski
7181171b16 Fixed router on IE 2014-10-18 18:48:38 +02:00
Marcin Kurczewski
ace8aee142 Improved access keys
- Added underscore hint
- Changed algorithm to provide access key for every button
2014-10-18 18:48:38 +02:00
Marcin Kurczewski
42d306734d Fixed user presenter unable to show errors 2014-10-18 18:48:38 +02:00
Marcin Kurczewski
12237451eb Changed content width back to 100% 2014-10-18 18:48:38 +02:00
Marcin Kurczewski
f93fd2c31c Fixed post list presenter not updating queries 2014-10-18 18:48:38 +02:00
Marcin Kurczewski
0811968718 Fixed frontend crashing when database is empty 2014-10-18 18:48:37 +02:00
Marcin Kurczewski
d2695e635c Improvements to appearance 2014-10-18 18:48:37 +02:00
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
60ab927558 Added robots.txt 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
04bdb04f20 Added meaningful name to saved 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
a1dfebea3b Changed templates MIME to text/plain
Makes more sense: try accessing some of the templates in the browser
directly.
2014-10-18 18:48:35 +02:00
Marcin Kurczewski
4e2b422d43 Moved history above comments 2014-10-18 18:48:35 +02:00
Marcin Kurczewski
c49e9fd3f5 Removed href="#" attributes 2014-10-18 18:48:35 +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
1df02c16c2 Added favicon 2014-10-18 18:48:34 +02:00
Marcin Kurczewski
547c6e56d3 Fixed featured posts not centered if small 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
17cc4e7947 Added comment count to post list 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
a728279bf5 Removed reliance on global from Dispatcher 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
216d9b3001 Moved autoloader to composer config 2014-10-18 18:48:32 +02:00
Marcin Kurczewski
335a744854 Fixed GIF being resumed between page views 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
060ddf46ad Added automatic tag JSON export
I plan to use it in autocomplete inputs.
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
23a5a8afeb Improved focus style for items in user list 2014-10-18 18:48:29 +02:00
Marcin Kurczewski
e811b1a876 Reduced aliases for searches 2014-10-18 18:48:29 +02:00
Marcin Kurczewski
8c108ccfbf Changed default order to descending 2014-10-18 18:48:29 +02:00
Marcin Kurczewski
f090a752f0 Added favorite count to post list 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
2763ff7ead Added reverse image search on IQDB and Google Images 2014-10-18 18:48:29 +02:00
Marcin Kurczewski
d78da4769a Fixed post source being a link when it shouldn't 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
5291d02b4c Improved layout for various screens sizes 2014-10-18 18:48:28 +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
a7c07d32df Added last edit time to basic post information 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
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