Commit Graph

4620 Commits (beaa52fff5e2c5346eca40509a15e56469a6e15d)

Author SHA1 Message Date
Julian Lam 5292a47a96 fixed maintenance mode page not working with new CSRF implementation,
barisusakli 81e4bcd358 fix rename to multi
Julian Lam deac12c540 closed
barisusakli 4f38a33702 fix pagination going to 404 if new post creates a new page
barisusakli d0bc5ec9c7 client/topics.js refactor
ability to dismiss all flags
barisusakli 7f5984d1fd removed dupe code
barisusakli c974256600 missing radix
barisusakli 671ec8532c fix unfavourite
barisusakli 3d93a76508 removed command param made unvote wrapper
psychobunny 8c98f47688 action:post.upvote / action:post.downvote now sends current status; new: action:post.unvote
Julian Lam ae1528dc7e closed
Julian Lam d51683f62e closed
Julian Lam 2e2995d3bd updating dailyDigestFreq to 'day' instead of 'daily'
Julian Lam c7396f58cd verbose logging for email
barisusakli ee3b0c93c3 fix tag update
was hanging on tag remove, and wasnt updating if tag count didnt change
barisusakli 0864480433 forgot return
barisusakli cb8ce066c8 give guests find read access on category creation
barisusakli 8b573bff39 send 10 topics in digest not 11
barisusakli 9791dfb9ea closes
Julian Lam 23485fcbf3 missed one invocation of old LESS library,
Julian Lam 207bfa8960 closed
barisusakli 0a1fa72bd8 use loadMoreFromSet
barisusakli 114d0506e1 fixed typo
barisusakli f0797493ee make sure sockets leave the current room when entering another
barisusakli 8e114c2093 moved isAdminOrMod check out of getTopicsByTids
barisusakli a75727bbbd duh
barisusakli 653850661e topics.getTopics doesnt take set param
barisusakli 79265b9e83 removed dupe code
barisusakli c1b61522f7 check if topic is deleted
barisusakli c458a7f7b2 missing nconf require
barisusakli 9852809c2c cleanup
barisusakli 1d2d69fa45 use helpers, redis crash fix
barisusakli 556e7066e8 moved notFound notAllowed to helpers
barisusakli f8cfd82667 less code in uploadimage
barisusakli 0a44d3f5e0 moved updateCategoryField out, db.delete only sends back err
barisusakli d485b65b67 call next
barisusakli 9ab74b0a61 added ability to take heap snapshots
barisusakli 9d56f50967 voters info
barisusakli 30d7f3351b cid isnt always present
barisusakli 02fb81901d moved posts related stuff to user/posts.js
barisusakli d9a071d710 removed unused code from category and topic controller
barisusakli cd05a123ab check cids
barisusakli 52c12fa1b1 use wrapper functions getPostsFields and getTopicsFields
barisusakli 6b13a84d2f removed extra priv checks
-removed category check from recentreplies since pids are already
checked
-removed category check from topics/unread.js since topics are filtered
now
-added array checks to src/topics.js
barisusakli 5c7487c13b err check
barisusakli 283ac1578f fix null datetime error
barisusakli f3309e3dd4 renamed to local registration
closes https://github.com/NodeBB/nodebb-theme-vanilla/issues/36
barisusakli 545dbbf0df check err and tids
Julian Lam b65d518a97 properly handling error for hook filter:privileges.posts.filter
Julian Lam 9debfd94ec removed the hook I just added: filter:category.recent, was a bit misleading.
Julian Lam 20ea40133b added four new hooks: filter:categories.recent, filter:privileges.categories.get, filter:privileges.posts.filter, filter:privileges.topics.filter
barisusakli 9ff35a18f2 closes
psychobunny 1e453140d9 adding uid to filter:category.topics.get
psychobunny abe887f557 filter:category.topics.get
psychobunny c988f54243 renaming filter:category.topics.get to filter:category.topics.prepare
barisusakli 485827db84 check count before privileges
barisusakli 6a3a3669d2 check privs on getRecentReplies and getRecentTopicReplies
barisusakli b4daae9b23 closes
psychobunny 3aa18ebb12 no need to inform attempt to listen to address
barisusakli 5c3af6f549 removed webserver.init
barisusakli 363057cf49 closes
barisusakli d1b457b066 check err
barisusakli 519b1b7e37 closes
barisusakli a1624013f8 closes
barisusakli 05a4737e84 closes
barisusakli 61863a69fe sendfile is deprecated
barisusakli c24e451c12 closes
barisusakli 181e2b4132 check err
barisusakli e6973b55d4 closes
barisusakli 962d14746e trim tag after substr
this prevents spaces in the middle of the tag from being added to the db
barisusakli a45858dacd previous commit doesnt show unusud tags in admin
barisusakli 68e8039ac7 closes
also fixed a bug where tags with 0 topics were showing up in /tags
barisusakli b3544f644a relative path upload fixes
barisusakli 14fdb9ebee reverted
barisusakli 6809af536c removed winston log in plugin fireHook
barisusakli 4c7a4d3688 fix topicIndex,
barisusakli bd388f727c src/favourites.js
barisusakli 9a16a359a8 auth refactor
Julian Lam c0fc7e9ca4 updating privilege handling to fire two new hooks, filter:privileges.topics.get and filter:category.topics.get
barisusakli eada3daf9f fixed recent and unread
Julian Lam 6ea10aa7e3 ensuring that the filter:category.get hook always sends data in the same format
Julian Lam 7e35987e1b fixing regression for , introduced in a129075
barisusakli 15e472db12 on category creation give defaults privs to admins and registered users
barisusakli 2579d2535d closes
barisusakli fa5ac04cd3 src/topics.js cleanup
barisusakli c9f990bb72 derp
barisusakli 7225c0d45b finish up posts refactor
Julian Lam 54ee8e59f6 showing proper time for newbie post delay
barisusakli d2cddc734b fix flagging and post filter
cant flag posts that don't exist anymore
barisusakli 11dc477dde posts/categories.js
barisusakli e593c8e6b1 setFields makes more sense
barisusakli fa95012fa3 action:set,postField
barisusakli 1413478a68 ill get it right this year
barisusakli 003535b3ab filter:post.getFields again
barisusakli 383fa4d0ea filter:post.getFields change
barisusakli 604dac88e3 closes , closes
psychobunny 70b5c631c6 if dev, compile view scripts only; let rjs dynamically load module scripts
fixes a bug introduced @ 11c83079f2
psychobunny 02b6a7893a in dev mode, concatenate scripts instead of minifying
faster reboot & restores sanity to those trying to debug browser
specific issues on IE and FF. not that you have much sanity to begin
with if it's an IE bug...
psychobunny 11c83079f2 if env is dev, don't re-compile rjs files
faster reboot & easier to debug on browsers that don't support
sourcemaps
psychobunny 8de978fbcf lmao, wtf?
my brain just exploded trying to figure out what this is doing here
psychobunny d69054804e closes
Julian Lam 73dea4fc4e upvote and favourites notif fixing
Julian Lam f9f1cf63cf fixing topic deletion and purging
barisusakli c18de5cdd2 posts/recent.js refactor
barisusakli ef35b83806 use getPostsFields
barisusakli 263f479b20 posts.js refactor pt1
barisusakli 39def60f9b return empty array
barisusakli 420aa5e102 fix moderators
barisusakli 8294aec5e7 fixed indent
barisusakli 8fdc03eaad categories.js refactor
barisusakli daebc322eb meh
barisusakli 7823416410 err check, assignPostsToCategory is sync
barisusakli af4cbfb20d closes
barisusakli d2735c8558 closes
barisusakli 3f12d363f7 plugins fireHook refactor
(drunk)
barisusakli e93b2b6aa1 removed action:app.load
barisusakli 41ae8b61a7 static:app.load change closes
barisusakli 220c82a8f2 filter:register.complete change
barisusakli 76c16c0383 filter:register.check change
barisusakli 166f353aaa filter:register.build change
barisusakli 8be9e6d413 action:user.verify change
barisusakli 9363741231 action:user.set change
barisusakli db979d7a20 filter:category.get change
Julian Lam f3ea8d1cff closed
barisusakli c56b9aafff closes , replace Infinity with '+inf'
barisusakli 5f8781c88e 1 less db call in togglePin
barisusakli 69ed00fc14 added mainPid to topic restore/edit hooks
barisusakli 642136f6f8 closes
barisusakli b60ed95d20 Merge remote-tracking branch 'origin/master'
barisusakli 1ae39d638a closes
Julian Lam f0b104fef0 possible fix to
Julian Lam 52285239e9 fixed client-side so semver doesn't explode when nbbpm returns 'latest', fixed tests so they pass again,
Julian Lam 19297e2d22 plugin installation takes a version now, and queries nbbpm,
better error handling for 

upgrades now also call the suggestion route from nbbpm

upgrade button will show alert now if you try to upgrade past the suggested version, 
Julian Lam 0f66077bf5 fixed issue where purged posts would cause the upgrader to fail, closed
Joseph Chen cd41df5677 Pass in req.user.uid into uploadFile
Joseph Chen a1e54fda23 Bug fix - File upload broken due to api changes in 0.6.x.
Julian Lam 11c9b74faf upgrade script for , closes
Julian Lam a12907512f refactored a bunch of methods so that you can pass in an author argument in querystring to see posts by just that author,
barisusakli 3272ca34ee 0.6.0 cleanup
barisusakli 4440260f8f closes
barisusakli 1004fb2822 closes
barisusakli 72bb74cf46 canMessage
psychobunny 2e4198b8f1 removing unnecessary markup
barisusakli f3d485bd58 filter:user.account
barisusakli 719290cd2b dont display email/fullname if they are private
psychobunny 6452596312 if sigs are disabled, actually disable them
barisusakli 9e1789dc58 closes
barisusakli 39b679705b closes
barisusakli 595ff1f4b1 closes
see
https://community.nodebb.org/topic/3039/filter-post-parse-and-filter-post-parsesignature-changes
barisusakli a6e498bb5d error check
Barış Soner Uşaklı b89b960f86 Merge pull request from dwendt/master
Made hiding widgets for guests/registered sensible.
barisusakli 608943255b better check
barisusakli ec0624918f possible fix for
barisusakli 70657251b9 no need for return
Julian Lam 44175188c4 handling case where user does not satisfy any of the privilege thresholds given to the hasEnoughReputationFor method
barisusakli 06f66337fb anon checks
less db calls for uid 0
Julian Lam 0a38a783c7 TravisCI is TOO DAMN FAST
barisusakli 37d7756271 hasEnoughRep can take an array
user follow uid checks
barisusakli df4b555717 less db calls
no db call for settings if uid 0
no db call for isFollowing if uid 0
barisusakli b7dcc29638 log error path as well
barisusakli cdfaa941b1 error checks missing return
barisusakli 04c83dbdcc update deprecated sendfile
barisusakli e769ebe668 closes
barisusakli dd135b875b
dont show flag on deleted posts
dont allow flag on deleted posts
dont allow upvote downvote favourite on deleted posts
barisusakli 268ecd5157 single call to get slug and postcount
barisusakli f21b313848 reload/restart notices side by side
barisusakli d492339841 closes
barisusakli 7bfc36ff56 dont call isAdmin if not logged in
barisusakli 209edf182f 404 pages that are out of range
barisusakli 9440f8f8cd
barisusakli 84b7a2c92d checks in socket.io/user
reset doesnt need socket
barisusakli 8e84e47578 if a user is deleted remove from banned sorted set as well
barisusakli f83dd956eb check if post exists on up/down vote favourite
barisusakli fcc42883ab some checks for purge
barisusakli 56d16d1792 fix topic titles in search results
titles were being escaped twice if two or more posts were from the same
topic
barisusakli 7c7be2e0c1 closes
barisusakli 1fe82ee452 added 2 new methods to dbal
getSortedSetRangeWithScores
getSortedSetRangeByScoreWithScores
Julian Lam ec309333be closed
Julian Lam de0da80040 Merge branch 'master' of github.com:NodeBB/NodeBB
Julian Lam b91d39a0d3 almost everything for
heart c38ca146c7 Made hiding widgets for guests/registered sensible.
barisusakli fb1095fc28 added allowed true to /chats
barisusakli e97bfc139b
barisusakli 0bb0424998 bubble error
barisusakli e93398b647 use currentTime when someone up/down votes
Julian Lam 61aaff025b adding in 'allowed' to template, re:
barisusakli b12e3562d5 hide category icons if they are not set
Julian Lam adfb89a2ad closed
barisusakli 433769eb36 closes
first tab (recent) shows last 50 messages instead of just last 24 hours
barisusakli 121de11400 closes
psychobunny 50b264ac7d prevent deleted users belonging to a group from breaking edit functionality
psychobunny 4d4dc344a6 temporary fix until remarkable is updated in markdown plugin
https://github.com/jonschlinkert/remarkable/issues/88#issuecomment-60885589
barisusakli 189eaf2bea escape output
barisusakli fbd478812e fail modeon
barisusakli 1b268c94c0 if there is no postData.tid dont notify, ie topic post
barisusakli cbedc762fd no rooms.enter for anons check tid on topic enter
barisusakli 0fba1e37a7 no need for double trim :P
barisusakli 5be1c17aa7 refactor user.create
dont fire filter:user.create if there userData is invalid
barisusakli 20314991a4 tmp error check
barisusakli c5ba327d8f fix empty pages