Commit graph

309 commits

Author SHA1 Message Date
Marcin Kurczewski
26d4686795 Fixed new search kept page number 2014-11-04 18:58:35 +01:00
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
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
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
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
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
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
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
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
f7215c42d9 Added siblings to tag edit view 2014-10-19 13:36:50 +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
83394792c6 Changed throbber to nprogress 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
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
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
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
5383008315 Added version information to front page 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
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
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
6bb5b53377 Added ability to stop uploads 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
42d306734d Fixed user presenter unable to show errors 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
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