4259 Commits (782896997d448e04ba1141d742681e9bc5883168)

Author SHA1 Message Date
Julian Lam ecea917d11 closed #2097 -- NodeBB will prefer using Redis as session store if at all possible 11 years ago
Julian Lam 20819e3dfd Revert "use redis session storage instead of connect-mongo"
This reverts commit 056f89d6cf.
11 years ago
Julian Lam f41be4ae8b exposed redis' "connect" method, so socket.io can call it from outside database/redis.js, fixed NodeBB requiring Redis as a socket.io store. It will now go back to using in-memory store per process, if no redis config is found in the NodeBB configuration. re: #2097 11 years ago
barisusakli b1f492dec3 fix redis bulk zadd 11 years ago
Julian Lam e1211527b0 Merge branch '0.5.1' into hashtalk
Conflicts:
	src/controllers/topics.js
11 years ago
Julian Lam 528ee3ad05 Merge remote-tracking branch 'origin/hashtalk' into hashtalk 11 years ago
barisusakli 64c51d5cba check nid before pusing and marking read 11 years ago
Julian Lam 50a7c42f15 Merge remote-tracking branch 'origin/hashtalk' into hashtalk 11 years ago
Julian Lam 05e147b440 Merge branch 'master' of github.com:chronize/NodeBB into chronize-master 11 years ago
psychobunny a0da73dabd don't pass back err if plugin.json is corrupted 11 years ago
psychobunny 180625ece3 forgot to return just posts array 11 years ago
psychobunny 77dfc7378b filter:post.getPostSummaryByPids 11 years ago
psychobunny 0eb4fd89ef don't blow up nodebb if plugin.json is broken 11 years ago
barisusakli 0767998022 closes #2124 11 years ago
psychobunny 99bacf910c oops - #2126 11 years ago
psychobunny 7f2254c9da closes https://github.com/NodeBB/NodeBB/issues/2126 11 years ago
barisusakli 2d5dc44ce5 closes #2123 11 years ago
barisusakli 515e663f85 getObjectsFix
return empty array if keys is empty or not an array
11 years ago
barisusakli 39392672a2 moved static
removed pageRouter middleware into routes,
helper method to setup page routes
11 years ago
Julian Lam 9b9e79ef27 re: #2099 11 years ago
Julian Lam bfdc32a9c3 typo 11 years ago
psychobunny 0db93504ce forgot comma 11 years ago
psychobunny 2b90add560 fix for topics without category data (?)
@barisusakli lemme know if this is legit, if not, see line 195 as well
11 years ago
barisusakli 8b64e65095 cleaned up admin routes 11 years ago
barisusakli 21f65cbb6a crash fix 11 years ago
barisusakli c640e01969 show stack 11 years ago
barisusakli ba90b5d113 widget render change 11 years ago
Julian Lam 7597c654a0 refactored plugin and auth init a bit, and fixed issue where successive reloads caused old login strategies to be inadvertently preserved 11 years ago
barisusakli 5f2a66295c check keys 11 years ago
barisusakli 0914004e12 crash fix 11 years ago
Moritz Schmidt d1273516b5 default for missing post_index parameter
Avoid getting NaN if post_index param is not set (NaN is passed through to redis, redis complains, and the user ends up at /404)
11 years ago
barisusakli 7d9054c2cf derp 11 years ago
barisusakli 7d93926ef7 removed async.map 11 years ago
barisusakli 5323934cc2 calculate page count in controller 11 years ago
barisusakli b7fd4c22d4 removed checkPostIndex middleware
1 less call to get topic post count
11 years ago
barisusakli a19c306f49 guest fixes 11 years ago
barisusakli e2707353e9 dont return unnecessary data 11 years ago
psychobunny a52c69d2a1 only send noscript paginator data on cold loads 11 years ago
Julian Lam f891f49339 removing console.logs 11 years ago
Julian Lam dab3667773 re: #2108, auth re-routing 11 years ago
barisusakli ac301eaabe changed default to 1 11 years ago
barisusakli 4de658e096 checks 11 years ago
barisusakli 3d4dad226e crash fix 11 years ago
barisusakli 59120df71c bulk fix 11 years ago
barisusakli 630977fb99 added parentCid 0 to new categories 11 years ago
barisusakli 89e56794e8 check cid 11 years ago
barisusakli f3f4711a60 wait for callback 11 years ago
barisusakli 327d1c1bec some cleanup and callbacks for post 11 years ago
Julian Lam 4393907ff6 closed #2112 11 years ago
Julian Lam bae634e124 closed #2112 11 years ago
barisusakli 1bad2f79ee show megabyte values 11 years ago
barisusakli 7652f2bf39 escape input tag 11 years ago
Julian Lam c32fdabc43 minor refactor 11 years ago
barisusakli 803a2436de wait for increment to complete before expire 11 years ago
barisusakli 1844250967 check err 11 years ago
barisusakli 93b83060be fix expireAt using millis 11 years ago
psychobunny 251351e245 forgot to require plugins 11 years ago
psychobunny efe11a63a3 woops, wrong property name 11 years ago
psychobunny 9e7f929029 updated filter:sockets.sendNewPostToUids and added type 11 years ago
barisusakli 55cbaf6a19 #2032 11 years ago
psychobunny 8f916ed066 filter:sockets.sendNewPostsToUids 11 years ago
psychobunny 6844c828ca added a hook I didn't end up needing, but here it is anyway `filter:posts.modifyUserInfo` 11 years ago
barisusakli 926acd16b2 closes #2032 11 years ago
Julian Lam 309ac6fec5 adding semver lib to scripts 11 years ago
psychobunny 16accf6cd0 fixing groups.leave 11 years ago
psychobunny 2c1bab2b9a filter:post.getPosts now passes in uid 11 years ago
psychobunny 45383ce21e posts.getPostsByTid and posts.getPostsByPids now require a uid passed in 11 years ago
barisusakli c1f3b94d67 closes #2073 11 years ago
barisusakli a0cc2ee6a9 duh 11 years ago
barisusakli 3abbeb8795 show recent posts of child categories 11 years ago
barisusakli 4066607388 closes #2052 11 years ago
Julian Lam cd135dda13 renamed middleware to applyCSRF, re: #2082 11 years ago
Julian Lam 0b7a21b8d1 Merge branch 'hashtalk' of github.com:NodeBB/NodeBB into hashtalk 11 years ago
Julian Lam 8bac0bf361 Merge branch 'csrf-excision' into hashtalk 11 years ago
Julian Lam a061079995 fixed all POST routes to use new csrf middleware 11 years ago
psychobunny 1caf4806e8 closes https://github.com/NodeBB/NodeBB/issues/2103 11 years ago
Julian Lam 4f6b3055ff Merge branch '0.5.1' into csrf-excision 11 years ago
psychobunny d6e0be52ce companion to 48c123592e - prevent deleting your own account if you're admin 11 years ago
psychobunny a6089ba4aa closes https://github.com/NodeBB/NodeBB/issues/2096 11 years ago
barisusakli 40fff367d1 faster topic move 11 years ago
barisusakli 4b80bbb9c4 optimized user.delete 11 years ago
barisusakli 6a64a3ab92 check err 11 years ago
barisusakli b48d81310c #2095 11 years ago
barisusakli aae7f2434d closes #2088 11 years ago
Julian Lam b80b0e1e99 re: #2098, chat message emails are now opt-in 11 years ago
Julian Lam b85ff61de6 refactored chat notification system to wait a bit before sending notif/email, closes #2098 11 years ago
barisusakli 451c5b40fd removed debug 11 years ago
barisusakli 0a936e5dd1 unreadTids 11 years ago
psychobunny 48c123592e prevent administrators from being deleted - first remove them from admin group 11 years ago
Julian Lam 101288c75c Merge branch 'master' into 0.5.1 11 years ago
barisusakli 51eac70f67 fixed derp 11 years ago
barisusakli 32257c9b2f updateUnreadCount 11 years ago
psychobunny 22577917da closes https://github.com/NodeBB/NodeBB/issues/2093 11 years ago
psychobunny ab1c231b84 re-enabling updateLastOnlineTime - calling that middleware for page loads only instead of every API call 11 years ago
psychobunny ecd00bb679 refactored widgets api call to render all at once rather than one area at a time, closes https://github.com/NodeBB/NodeBB/issues/2062 11 years ago
psychobunny 0ecaa05c76 rearranging routers to prevent multiple hits on incrementPageViews
and potentially updateLastOnlineTime
11 years ago
psychobunny 76fb2c3378 daily + monthly pageview analytics middleware 11 years ago
barisusakli 31eccb8e7f configurable post delay before first post 11 years ago
barisusakli 9a96458f79 closes #2053 11 years ago
barisusakli da86c46b4c Merge remote-tracking branch 'origin/0.5.1' into hashtalk 11 years ago
barisusakli 7c3dc4877a closes #2089 11 years ago
Julian Lam 84d4035597 Child categories no longer show up on homepage, re: #2080 11 years ago
Julian Lam 6e21b7a830 disabled parents no longer show up as parents of a category, re: #2080 11 years ago
Julian Lam d22fe4ad1e removing disabled categories from being listed as children, #2080 11 years ago
Julian Lam cca365432b closes #2084 11 years ago
barisusakli 82e721e854 send new post/topic to users who can read it 11 years ago
barisusakli 655f5087d9 Merge remote-tracking branch 'origin/master' into hashtalk 11 years ago
barisusakli e10fbfa0d2 Merge remote-tracking branch 'origin/0.5.1' into hashtalk 11 years ago
barisusakli f1d5db6be0 pagination fix 11 years ago
barisusakli ddb02978c8 cleanup 11 years ago
barisusakli e56b18822b added topic titles to notifs
upvote, favourite and flag has topic titles now
11 years ago
barisusakli b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
11 years ago
barisusakli 9466d7ced4 faster notif prune
no need to loop tru and check datetime since notifications is a sorted
set now
11 years ago
barisusakli 35a903f9c8 closes #2074
when new notifications are pushed to uids clear their old notifications.
11 years ago
barisusakli 5204dc1e23 removed total count 11 years ago
barisusakli 523f245cd8 removed derp 11 years ago
barisusakli 7a61645256 less db calls 11 years ago
barisusakli dc441c2873 check err 11 years ago
barisusakli 4e6719e0aa added filterUids method to privileges
used to filter uids on a single category
11 years ago
barisusakli 493d0dea1e part 1 of notif refactor 11 years ago
Julian Lam f231b500d7 Merge branch '0.5.1' into csrf-excision 11 years ago
Julian Lam 40e5ad075f started work on #2082 11 years ago
barisusakli 6bde9a1656 prevent getTopicsByTids crash if a topic is null 11 years ago
barisusakli e34ef71acd fixed resetLockout 11 years ago
barisusakli 01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
11 years ago
barisusakli ae02c1a06c closes #2068 11 years ago
psychobunny 61871fae77 merging #2077 11 years ago
psychobunny e738d592dc fixed potential NaN issue https://github.com/NodeBB/NodeBB/issues/2077 11 years ago
psychobunny 52b58b441e closes https://github.com/NodeBB/NodeBB/issues/2077 11 years ago
barisusakli 25ed131b13 show stack trace of error 11 years ago
barisusakli e9798028de show error 11 years ago
barisusakli 5696ea2396 check errors on decodeURIComponent 11 years ago
barisusakli b7eddda8c8 one more fix 11 years ago
barisusakli 20eb4def1d possible fix to online guest count
using socket io rooms instead of syncing between workers.
11 years ago
barisusakli e79c980421 delete anything older than 1 week 11 years ago
barisusakli 5222edb624 sortedSetsAdd
using mullti/bulk for redis/mongo
lets you add a score/value pair to multiple sorted sets at once
11 years ago
Baris Usakli f16ced6bcc removed path from notif, its created on the fly when retrieveing the notifications 11 years ago
barisusakli aed9a9f76f removed console.log 11 years ago
barisusakli 9b26b60082 fixed cron 11 years ago
barisusakli 61e1c51ef6 run notif prune every 30mins
disabled post edit log
11 years ago
barisusakli 242721c73f using websockets 11 years ago
barisusakli 6cd84ebe81 removed parseInt from sorts 11 years ago
barisusakli 3c8ca63608 fixed getCidsByPids 11 years ago
barisusakli ec32a3d243 mising reuqire 11 years ago
psychobunny 0727c2a0bf forgot winston 11 years ago
barisusakli 2252ab7479 notifications.prune
run every hour
dont get more than 500 notifications
11 years ago
barisusakli cc3786e22d closes #2055 11 years ago
barisusakli b7ee875b12 user.isOnline fix
wont hit db on every user socket connect or user disconnect
11 years ago
barisusakli fe58ea55d4 moved debugs 1 level up increased key limit to 100 11 years ago
barisusakli 57e204df8e removed most of the debug
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
11 years ago
barisusakli 4b20e78de2 hopefully final fix 11 years ago
barisusakli 3f4ede0778 parseInt 11 years ago
barisusakli 518d731562 one more time 11 years ago
barisusakli f9c9f58561 post_index fix 11 years ago
barisusakli 34a4a2103f isNan check 11 years ago
barisusakli edd73b5be2 again 11 years ago
barisusakli 5160a4f90f getTopicwithposts 11 years ago
barisusakli ef329c95df fix 11 years ago
barisusakli 0b83657868 more trace 11 years ago
barisusakli 0d5605ab35 trace in addPostData 11 years ago
barisusakli 126b1c4f4c only get 20 chats 11 years ago
barisusakli 0cfa430444 crash fix 11 years ago
barisusakli 017f6bde2c 50 11 years ago
barisusakli 7405051924 50 11 years ago
barisusakli 5fd199ae8a check privs pids 11 years ago
barisusakli 51cafe075c only get 25 posts 11 years ago
psychobunny 099a04c1c8 disabling pushUnreadCount for now, perhaps this might be good on redis too? 11 years ago
psychobunny 07376c9a4c look for unread only for today 11 years ago
psychobunny 6aa47efc06 we don't trust user.isOnline, waiting on an optimization (disabling for now) 11 years ago
psychobunny 0de458141b separated the sockets.emit to socket.emit + broadcast so OP gets action right away. moved callback sooner. 11 years ago
psychobunny 61895633b3 disabling updateLastOnlineTime until we can move this key to redis 11 years ago
psychobunny 056f89d6cf use redis session storage instead of connect-mongo 11 years ago
psychobunny 071be4ae7f cache popular route for anons 11 years ago
barisusakli bf67424fd6 if there are no uids return 11 years ago
barisusakli e2697030ec removed reuqire 11 years ago
barisusakli 3f96532c3f disabled 2 calls 11 years ago
barisusakli a48e95b910 check keys 11 years ago
barisusakli 779b2a8d73 optimize queries 11 years ago
barisusakli 421d091828 optimizing browsing users 11 years ago
barisusakli 0dc780148a removed global room
socket.io already puts everyone into a room named ''
11 years ago
barisusakli 8e86f4b787 crash fix 11 years ago
barisusakli 9fac18c4b6 derp 11 years ago
Julian Lam 9ee4c90548 test route back to 404 11 years ago
barisusakli bc00d7d159 check just in case 11 years ago
barisusakli ba32a4dc4f crash fix 11 years ago
Julian Lam 7255ce3dbe primary worker support, and added notif pruning to primary worker jobs 11 years ago
barisusakli 1075305444 crash fix 11 years ago
barisusakli 877cf1e15c derp 11 years ago
barisusakli 95d1bd3058 crash fix 11 years ago
barisusakli 2008bf28ff auto update user counts dont transmit all room data 11 years ago
barisusakli 190647a074 only update room text if its topic
will fix this in a better way
11 years ago
barisusakli e28d778c0c fixed my derp 11 years ago
barisusakli 31fb0efbd9 crash fix 11 years ago
barisusakli 707a062661 one more fix 11 years ago
Julian Lam fae169697e removing listener for templates compilation, in order to resolve race condition that was causing slow servers to not actually end up binding to the port as expected 11 years ago
barisusakli 94a3ecdbd1 cluster socket.io fixes
getUserRooms
getUidsInRoom
getAnonCountInRoom
11 years ago
Julian Lam 2d0877f80e better handling of port in use errors with cluster 11 years ago
Julian Lam fd0622a1a3 removed console.log 11 years ago
barisusakli 0b2df849bd Merge remote-tracking branch 'origin/cluster' into cluster
Conflicts:
	loader.js
11 years ago
barisusakli 98f338b41c online count fixes for cluster 11 years ago
Julian Lam e5a35ce378 js propagation for cluster module, so only 1 thread minifies the js 11 years ago
Julian Lam 08abbe19bc zero downtime and reload support with cluster module 11 years ago
Julian Lam 3918b29233 removed /test route 11 years ago
barisusakli c62f251afc added index and fixed vote button in infinite scroll 11 years ago
barisusakli e5795687bb fix settings on mongo 11 years ago
barisusakli 45afe2e831 cast return to bool 11 years ago
barisusakli c8692f0562 Merge remote-tracking branch 'origin/0.5.1' into cluster 11 years ago
barisusakli f81acd37db added indices on search key and id for mongo 11 years ago
Evan Lucas 3360752c5c Added action:post.downvote hook 11 years ago
barisusakli 84d0e64361 fix topic move 11 years ago
barisusakli 10b30e303b mongo posting fix 11 years ago
psychobunny baaac66d77 Merge remote-tracking branch 'origin/0.5.1' into cluster 11 years ago
psychobunny f609b1e45d calololback
(how the hell was this working?)
11 years ago
barisusakli 05a9e8b1d6 chat typing notif use room 11 years ago
barisusakli fdafb72c34 removed getUserSockets for chat
emit to users rooms directly
11 years ago
barisusakli 999da9183d Merge remote-tracking branch 'origin/0.5.1' into cluster 11 years ago
Julian Lam de41896770 restart handling and crash detection 11 years ago
barisusakli 4736a68534 dont create term object on each call 11 years ago
psychobunny 9f0fff4434 closes #2039 11 years ago
barisusakli c40355b816 removed debug 11 years ago
Julian Lam a5423aff16 getPidIndex callback if none specified 11 years ago
Julian Lam baf72249b6 made uid parameter optional in getPidIndex 11 years ago
Julian Lam 063d270f1a introducing "sort" querystring parameter in topic route, so that sorting can be overridden via query string. 11 years ago
barisusakli 298f14ad27 removed cluster from app.js 11 years ago
barisusakli 0f46051fcf Merge remote-tracking branch 'origin/cluster-loader' into cluster 11 years ago
barisusakli 5362863588 debug 11 years ago
barisusakli 2073d994fc limit topicsperpage postsPerPage to 20 11 years ago
barisusakli 6926552e66 load 50 topics in sitemap instead of all 11 years ago
barisusakli 1b58fb3104 Merge remote-tracking branch 'origin/0.5.1' into cluster 11 years ago
Julian Lam 58a73b52b5 work-in-progress commit to get cluster module working with loader.js 11 years ago
barisusakli 94d050fd4f removed helpers.done 11 years ago
barisusakli e00124007f testing 2 11 years ago
barisusakli cbe3b5b6dc testing 11 years ago
Julian Lam e6d0eede4f pruning empy notifications for daily emailer 11 years ago
barisusakli 4f48f1865f removed updateLastOnlineTime from every socket call 11 years ago
barisusakli 6b39e328f5 chat fix 11 years ago
barisusakli e495db3065 dont make a copy of chat message 11 years ago
Julian Lam c56a7bf475 Merge branch 'GAWMiners-feature/favourite-hook' into 0.5.1 11 years ago
Julian Lam 77475bb7a3 Merge branch 'feature/favourite-hook' of github.com:GAWMiners/NodeBB into GAWMiners-feature/favourite-hook 11 years ago
Evan Lucas 440c78c949 match `object.action` nomenclature 11 years ago
Evan Lucas fb45aa92fd Add upvote hook
adhere to similar project style
11 years ago
barisusakli 26c0b097cf removed realtime update of anon count 11 years ago
barisusakli 74282ffeea removed another unnecessary socket call 11 years ago
Julian Lam a7736d1926 removed setTimeout when someone tries to log in with a non-existant username 11 years ago
barisusakli 171f02101d closes #2035, closes #2036 11 years ago
barisusakli 761d59f5ec each limit on pushUnreadCount 11 years ago
barisusakli b8dfbdaff2 small optimization to online users 11 years ago
barisusakli 8b4c61241f query change 11 years ago
barisusakli 0c8c6632d9 create index on key value 11 years ago
barisusakli 487793e692 create index on score field 11 years ago
barisusakli 13bdd939e3 crash fix 11 years ago
barisusakli 619ca103c7 crash fix 11 years ago
barisusakli 1ed4c984bb Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
barisusakli 0b79a73732 crash fix
if composer is opened in a topic that was deleted/purged
11 years ago
barisusakli ae6d5e72f4 closes #2015 11 years ago
Julian Lam 4edceb0f92 allowing /user to also work in addition to /users 11 years ago
Julian Lam caa9c8c157 more stuff using new returnTo behaviour 11 years ago
Julian Lam 08c9cbdf70 changing admin API calls to return 404 if unauthenticated, and redirect user to login for regular URL. closes #1885 11 years ago
Julian Lam 298d904d45 refactored login process to be a form submit instead of ajax-redirect, implemented error message parsing using req.flash 11 years ago
barisusakli 14fcd36134 closes #2028 11 years ago
barisusakli 603cddc687 closes #1934 11 years ago
barisusakli 4f5c78d675 merge 11 years ago
barisusakli 537dea4e4b crash fix 11 years ago
barisusakli e6b3da18f2 merge 11 years ago
barisusakli 87c8cd2fb0 another crash fix 11 years ago
barisusakli 73bef8168f another crash fix 11 years ago
barisusakli 0473e7f25b crash fix 11 years ago
barisusakli 6ac8d9d349 check uid 11 years ago
barisusakli 576081e25f delete user ignored cids on account delete 11 years ago
barisusakli 197226eea6 closes #1742 11 years ago
barisusakli acef614147 removed 2 BS classes 11 years ago
barisusakli 5f2380fdcd dont display all categories 11 years ago
Julian Lam 063a4e5628 finished up UX integration for in-topic searching, added mousetrap lib to capture ctrl-F only in topic view, closed #1800 11 years ago
Julian Lam cc930e4042 Merge branch '0.5.1' into topic_searching
Conflicts:
	src/socket.io/topics.js
11 years ago
Julian Lam fa6daa37eb updated regex to match admin route with no trailing slash 11 years ago
barisusakli 94c765fa25 closes #1996 11 years ago
barisusakli ba4b98de0e email and username checks on profile update 11 years ago
barisusakli ed294dd414 Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
Julian Lam cd10248226 basic topic searching via search bar working 11 years ago
Julian Lam df5283cbae Merge remote-tracking branch 'origin/0.5.1' into topic_searching 11 years ago
barisusakli 347fc05376 getPidIndex socket call 11 years ago
Julian Lam 1d3aafc08f adding sourceRoot to minified mapping 11 years ago
barisusakli d67cd489cd crash fix 11 years ago
Julian Lam 5d32073f2c Merge branch '0.5.1' into topic_searching 11 years ago
barisusakli 42f87a1db7 closes #2017 11 years ago
Julian Lam 2d9ca83ae0 better error messaging when js fails to compile when reloading 11 years ago
Julian Lam fcbdc5e271 added recompilation of templates to NodeBB Reloading - #2010 11 years ago
barisusakli eef200be10 closes #1284 11 years ago
Julian Lam 5f96823f66 allowed the "forum updated" message to show up for reloads as well 11 years ago
psychobunny 1f6f2c13d5 apparently this was confusing 11 years ago
barisusakli b856ddb98f closes #2018 11 years ago
Julian Lam 2bfa7d5b97 closed #2012 11 years ago
Julian Lam ab77e6767e closed #2011 11 years ago
Julian Lam 0c4a788698 added callbacks to css and js reloading, issue #2010 11 years ago
Julian Lam 3e033043f3 on-demand reloading of client-side assets 11 years ago
Julian Lam 5886ccc419 framework for reloading 11 years ago
Julian Lam ba91d7aba6 proof-of-concept for hot-swapping of routes 11 years ago
barisusakli e751a0c0cf closes #2003 11 years ago
barisusakli 7019618863 closes #2003 11 years ago
barisusakli 62dd056faa tag search 11 years ago
barisusakli 95c839579e closes #2007 11 years ago
barisusakli 5a42b6a7ea closes #2009 11 years ago
Julian Lam 69b9e57daf completing subcategory integration in backend, closed #1299 11 years ago
Julian Lam b7c7dd98c3 ACP setting and API return for subcats 11 years ago
barisusakli 83de5ba5a4 added topic owner uid 11 years ago
barisusakli 06119510b7 merge 11 years ago
barisusakli 22fdf9f4ed getMainPost uses getMainPosts 11 years ago
barisusakli b858b120da closes #1998 11 years ago
Julian Lam 74e5524492 fixing request to /api not returning api result 11 years ago
psychobunny 4dd32e1024 filter:category.get applies to all category-like API calls now
@a5mith
https://gist.github.com/psychobunny/572d867935469774c6e8#comment-1281883
11 years ago
barisusakli 77a7c5caef eachLimit notifications.push 11 years ago
barisusakli 24ea74dc41 lol
O(log(n)) to O(1) and away
11 years ago
barisusakli d411ed5c28 closes #1995 11 years ago
Barış Soner Uşaklı 02889f2e70 call callback on follow/unfollow 11 years ago
barisusakli 05fdc945f3 closes #1993 11 years ago
barisusakli 5ae7c92d55 notifications refactor
added getMultiple which works with an array of nids
11 years ago
barisusakli dd9a383f46 removed unused functions 11 years ago
barisusakli ca90afd544 #1992
(drunk) not even done yet
11 years ago
barisusakli a9ca035e1e gotto check read after each pass 11 years ago
barisusakli b2f8a65bc8 removed slice 11 years ago
barisusakli 522fda2e58 closes #1936 11 years ago
barisusakli d852f284da closes #1948 11 years ago
barisusakli cd096f8832 sortedSetScores for tag counts 11 years ago
barisusakli e10eaf0d50 added tag counts to api return 11 years ago
barisusakli 931d46fe7e merge 11 years ago
barisusakli b50b5e4787 satifying my OCD
fire hook after successful follow/unfollow
11 years ago
psychobunny 0c17ee15f7 action:user.follow and action:user.unfollow 11 years ago
psychobunny 1036ba4636 removing timestamp from thread hooks... completely pointless 11 years ago
barisusakli d91fa5747d closes #1964 11 years ago
barisusakli 60624eedec small tweak 11 years ago
barisusakli 5c91bc4335 optimized home 11 years ago
barisusakli c58712e2a9 closes #1971 11 years ago
barisusakli d0d1ebb28c Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
barisusakli 2d0637d7c6 fix user online status on profile page 11 years ago
barisusakli c9c454825e closes #1369 11 years ago
barisusakli d12a526e82 check against 0 first 11 years ago
barisusakli e909e46786 closes #1989 11 years ago
barisusakli 3ab2e70e07 Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
barisusakli dda0322968 getUsersInCategory 11 years ago
barisusakli 299d7bfee3 Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
barisusakli 5c84a3adb5 closes #1974 11 years ago
barisusakli f562caaa61 callback 11 years ago
Julian Lam a2fb4a66b0 migrated ACP themes page from html rendered via js to template engine 11 years ago
barisusakli 37115ea3d6 Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
Julian Lam b48571ceb8 fixed #1988 11 years ago
barisusakli 464be4f7cc Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
barisusakli 0847eb2c3d added uid to filter:header.build 11 years ago
barisusakli dae3ef49be show user names who upvoted a post on mouse over 11 years ago
barisusakli 005405b16c closes #1976 11 years ago
barisusakli 9511e4a633 Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
barisusakli b16932a676 check mainPid 11 years ago
barisusakli 5dd90880d4 Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
barisusakli c358ff3d83 fix isSortedSetMembers on mongo 11 years ago
Julian Lam 4fa80263b0 fixed #1981 11 years ago
barisusakli b50a6d8f34 Merge remote-tracking branch 'origin/master' into 0.5.1 11 years ago
Julian Lam cf6acf6b41 sacrificing a goat to ensure this doesn't come back to bite me 11 years ago
Julian Lam 5936c72f96 further fix to #1957 11 years ago
barisusakli ac43ff3c3d closes #1970 11 years ago
barisusakli ceaedf9e2f closes #1941 11 years ago
barisusakli 1cf5c3145a doing it properly this time
mainPost always has index 0
11 years ago
barisusakli 8584da75f2 reverted main post change, breaks indices 11 years ago
barisusakli 32d46f3889 crash fix 11 years ago
barisusakli 851d5c0f32 send uids to isOnline in messaging 11 years ago
barisusakli c07d9121df small optimizations
user.isOnline works with an array of uids
do not make 2 trips to db to get main post and first 10 posts
11 years ago
Julian Lam 0e28b6f2d5 fixed #1980 -- missing pass-through 11 years ago
barisusakli c4b083330c closes #1978 11 years ago
barisusakli c8084e9b2e closes #1978 11 years ago
barisusakli 5e68e0b009 same deal as previous commit 11 years ago
barisusakli e137baccd9 fixed ip:recent weird 11 years ago
barisusakli 7642be3608 closes #1939 11 years ago
barisusakli b5cc852551 do a single filter after getting all unread tids 11 years ago
barisusakli b8279dc737 optimize getUserGroups to work with multiple user ids 11 years ago
barisusakli 5b681678b1 could use async.apply here hm 11 years ago
barisusakli 4e4a583d9d took out the meta config check from image.js 11 years ago
barisusakli ea2975cb3f eachLimit on expire nids 11 years ago
barisusakli a2bb8029fe use utils.toISOString 11 years ago
barisusakli 5c6e26832e removed console.logs 11 years ago
barisusakli df0a5e780a prevent edit to change title length above max 11 years ago
barisusakli 46398fa924 removed unused require 11 years ago
psychobunny db2ef15a09 linting 11 years ago
psychobunny e77491fcbb closes #1956 11 years ago
barisusakli 049d7f766e use getSetsMembers instead of async.map 11 years ago
barisusakli 7d179b68df faster notif prune 11 years ago
barisusakli f39d772a40 if notification is purged delete from user mapping as well 11 years ago
barisusakli cb519d53a1 isArray check 11 years ago
barisusakli 8e8b678d40 small tweak 11 years ago
barisusakli 84aadc03fd fix filter condition 11 years ago
psychobunny 90513be321 send callback directly
except this time I'm fixing my own derps instead of @barisusakli
11 years ago
barisusakli 7ffad7e0d1 send callback directly 11 years ago
barisusakli 528ee335d5 optimize getTopicsByTids and getTeasers 11 years ago
psychobunny 9a5ed0bf27 forgot err, thanks @barisusakli 11 years ago
psychobunny b1ef42889d updated site title for tags page to be more user friendly 11 years ago
psychobunny 38dc35f480 console.log 11 years ago
psychobunny 3a32058be1 closes #1958 11 years ago
psychobunny 4cda8207e2 adding uid to filter:category.get 11 years ago
psychobunny c88327d075 added filter:category.get 11 years ago
barisusakli 76b257f7b8 optimized User.getUsers 11 years ago
barisusakli 59d4d2880f fixed markAsUnreadForAll permissions 11 years ago
barisusakli 906e1a3846 removed unused meta 11 years ago
barisusakli 90ac399f6d fix topics.loadMore so it checks read permission 11 years ago