3753 Commits (edd73b5be2d630a8bae9fca3a5fd1913dfe3b8f4)

Author SHA1 Message Date
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
barisusakli 805e6934b9 derp this function should only return err 11 years ago
barisusakli f55d1897c8 fix categories.loadMore so it checks read permission 11 years ago
barisusakli 100328ef06 shorter markAsUnread 11 years ago
barisusakli f49c95c16f closes #1950 11 years ago
psychobunny d4dc716acd filter:templates.get_config, allows you to modify template config
as found here
https://github.com/NodeBB/nodebb-theme-vanilla/blob/master/templates/config.json
@Schamper
11 years ago
psychobunny a880ac6e9f do one api call for template configs rather than two on cold load 11 years ago
psychobunny 631edc92d3 extra var 11 years ago
barisusakli 5ce0ebb4ac single socket call on topic enter 11 years ago
psychobunny bb48bdb008 closes #1942 11 years ago
barisusakli 95979d9d97 closes #1947 11 years ago
barisusakli 473310d42d use empty string if referer is undefined 11 years ago
barisusakli b4182f57fe simplified callback 11 years ago
barisusakli b0b78c3092 minor fix to prevent err when trying to mark null nid 11 years ago
barisusakli e420ee5fb6 privilege fix for single category check 11 years ago
barisusakli e7700a3fde minor refactor 11 years ago
barisusakli c6c23aad5e eachLimit on move all topics 11 years ago
barisusakli 115598f382 minor refactor 11 years ago
barisusakli 62681c36ef if notif is deleted don't push, prevent crash 11 years ago
barisusakli 97909a6cac err checks 11 years ago
psychobunny e14a1e90c3 linting emitter.js 11 years ago
psychobunny 533659e2fd unnecessary property check 11 years ago
psychobunny be21e11b69 cleanup / lint 11 years ago
barisusakli 3424288f0a actually set url #1926 11 years ago
psychobunny 53ae0c586d closes #1926 11 years ago
barisusakli 3163f70ef2 add tid to post notification so its marked read on entry 11 years ago
barisusakli 0773f51260 closes #1932 11 years ago
barisusakli 76ad2b8fb2 fixed to account header 11 years ago
barisusakli c217834165 fixed typo 11 years ago
barisusakli 1398937dd8 early outs for privs
no need to check if empty array is passed in, happens if there are no
unread topics
remove dupe cids before checking for privileges
11 years ago
barisusakli 7bfec99df1 permission fix for popular page 11 years ago
barisusakli de6e74c50e #1914 11 years ago
barisusakli 3ff91b8c50 closes #1912 11 years ago
barisusakli d9a0af712d group null and err check 11 years ago
barisusakli dc68dce27f check err 11 years ago
root--- f2d07d3182 fix fatal error when renaming group with no users 11 years ago
barisusakli 38b6c4ce55 #1925 11 years ago
barisusakli d97af5020a small cleanup to postSummary 11 years ago
barisusakli 9312675a77 Merge branch 'master' of https://github.com/NodeBB/NodeBB 11 years ago
barisusakli 5a2b02e798 fix var name, #1925 11 years ago
Julian Lam 925cd99afb Merge branch 'master' into topic_searching 11 years ago
Julian Lam 89a9d4b7f2 logic for #1837 11 years ago
barisusakli cfc67d4e90 closes #1924 11 years ago
barisusakli 7e82d3d9a5 fix guest priv 11 years ago
barisusakli efdd795084 closes #1922 11 years ago
barisusakli 8caedc935b online users fix
and jshint cleanup
11 years ago
Julian Lam bb7a71389e using websocketAddress config if supplied 11 years ago
barisusakli fed8cc6d53 optimize privileges and assorted fixes.
* new methods
privileges.categories.filter
privileges.topics.filter
privileges.posts.filter

they take a list of ids and a privilege, and return the filtered list of
ids, faster than doing  async.filter and calling the db for each id.

* remove event listeners on recent page before adding
* group.exists works for both single group names and arrays
* helpers.allowedTo works for both a single cid and an array of cids
* moved filter:topic.post hook right before topic creation.
* moved filter:topic.reply hook right before topic reply.
11 years ago
barisusakli eeb4c9f487 optimize getPostSummaryByPids 11 years ago
barisusakli 1a68fe5a26 possible fix for #1909 11 years ago
barisusakli 68cf064b1e cleaned up a bit 11 years ago
barisusakli d0a0d02d31 mongodb list fix 11 years ago
barisusakli e8b767d0dd get recent poster uids 11 years ago
barisusakli 783926687c reduced active users 11 years ago
barisusakli 96b0b449b9 closes #1911 11 years ago
barisusakli f31978aa2c moved core notifications all the way to the end 11 years ago
barisusakli 6e335ff29a removed debug 11 years ago
barisusakli f71bd41408 more fixes 11 years ago
barisusakli dfb6606432 one more fix 11 years ago
barisusakli 08ba683c7d fix callback 11 years ago
barisusakli d7520508e3 #1375 part1 11 years ago
Julian Lam 4d73a563c5 closed #1850 11 years ago
Julian Lam e5be1d2840 closed #1910 11 years ago
psychobunny 3f9e6e7d86 closes #1901 11 years ago
psychobunny 60e74cc2c3 LTRIM support for mongo 11 years ago
psychobunny 7327730252 LTRIM support for redis 11 years ago
psychobunny cf031be904 better error handling for custom langauge files 11 years ago
barisusakli 2d94df93b8 isArray is enough 11 years ago
barisusakli 0792731873 new hook filter:topics.get 11 years ago
Julian Lam 0b01a780f8 registering static:app.load in core 11 years ago
Julian Lam 0bad6198d4 firing new third type of hook, static. New hook: static:app.load, closed #1812 11 years ago
barisusakli eea987d8dd removed console.log 11 years ago
barisusakli 5a0e99956e some cleanup 11 years ago
Julian Lam b7d27fe48b god damnit @barisusakli :P 11 years ago
Julian Lam 91ce3634fc fixed #1904 11 years ago
Julian Lam 086ebb7e5a closed #1874 11 years ago
barisusakli 3829019bfa removed optional params 11 years ago
barisusakli c7de38f28e closes #1902
messages:<uid>:<uid> list changed to messages:uid:<uid>:to:<uid>
sortedset
11 years ago
Julian Lam a79bb29216 partial fix to #1874 11 years ago
barisusakli 3bfad766b3 closes #1900 11 years ago
Aure77 965d6a0d66 Allow cookie domain customization from meta config 11 years ago
barisusakli d7bd35ab08 #1741 11 years ago
Julian Lam 8296dc5630 beginning topic searching + new hook 11 years ago
barisusakli d25300043c #1741 11 years ago
Aure77 e28ed490ee Allow session cookie domain customization 11 years ago
psychobunny b604a4961c thanks @barisusakli 11 years ago
barisusakli e459592ac9 closes #1893 11 years ago
psychobunny 47a86662de adding timestamp to topic action hooks 11 years ago
psychobunny 788b16fa62 adding uid to the topic hooks, so plugins can know the user that did the action 11 years ago
psychobunny 2e7d1f33dc action:topic.lock, action:topic.pin, action:topic.move 11 years ago
psychobunny 1a37176a9d filter:topic.get, surprisingly never implemented till today 11 years ago
barisusakli 8dce99250b final fix for #1884
fix mongo functions so they return correct data if duplicate keys are
passed. getObjects(['post:1', 'post:1'], callback) was only returning
one object.
11 years ago
barisusakli fa8fcc00ec fix tag counts
if a tag is removed from a topic, update number of topics in that tag
11 years ago
barisusakli bc2f7339ee getLatestUndeletedPid will return string #1884 11 years ago
psychobunny 685cd38162 calculate levenshtein distance between recent chat messages and temporarily ban if determined to be spam 11 years ago
psychobunny e95bc35240 Merge branch 'master' of https://github.com/NodeBB/NodeBB
Conflicts:
	src/upgrade.js
11 years ago
psychobunny b209af1e32 info instead of error 11 years ago
Julian Lam 883cee31bc added support for showSiteTitle in ACP, closes #1519 11 years ago
barisusakli 7454fd53b9 possible fix for #1741 11 years ago
barisusakli dc30d94ff8 info 11 years ago
Julian Lam 440a19ed57 Merge branch 'sourcemap-windows' 11 years ago
Julian Lam ce8bec5edb fixed mapping in web inspector 11 years ago
barisusakli fde8e9d90f on group destroy, remove it from all groups
previously if a group was destroyed it was left behind in privilege
groups
11 years ago
barisusakli 5c57ed5ea0 install db dependencies in upgrade script 11 years ago
Julian Lam 7cdcb83a98 fixed #1640 11 years ago
barisusakli 238d6602a2 check for valid content, #1884 11 years ago