Commit Graph

465 Commits (14e46a87a63f5e983a58a73109710027297924f3)

Author SHA1 Message Date
barisusakli 3f5c51174d refactored user.js
took out notifications, email and reset code to separate files
barisusakli a0222b69bb closes
barisusakli 6e6c5688d9 more cleanup
Julian Lam b259c3d422 categoryData should return better topics (non-anon uid passed in now)
barisusakli 6496b91c29 closes
barisusakli ec86aafb48 return user object
barisusakli b4b9ed1841 optimized getTopicsByTids, single db call to get topicData, added cache for privilege/category/user data
Baris Soner Usakli be70b3de57 closes
Baris Soner Usakli fb691b23b4 moved topic locked check to topic.reply
Baris Soner Usakli 091723a8c5 closes
Baris Soner Usakli 6a962655e4 jshint for topics.js
Baris Soner Usakli 99bf882a1c removed cid from getTopicsByTids
Baris Soner Usakli 56bbeb9950 use disableSocialButtons from config
Baris Soner Usakli ea6cf3bbd5 more cleanup and changes to topics
Baris Soner Usakli 8da7a6f2f3 cleanup
Baris Soner Usakli 7c1a46f25d misc cleanup
Baris Soner Usakli fd8e7327f0 removed console.log
Baris Soner Usakli 7e5a7c53bd changes to templates
Baris Soner Usakli bbc2df11e1 fixed updateTopicCount
Baris Soner Usakli 8feac114c3 closes
Baris Soner Usakli ed8e76ebce added error check to getTopicDataWithUser
Baris Soner Usakli 6e5a6b8784 upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting
Baris Soner Usakli d6d9776cde added toPid to posts
Baris Soner Usakli bae76ebd70 fixed the redis error when going to unread/recent if nextStart is missing
Baris Soner Usakli dfe25d4bc0 only store thumb if is defined
Baris Soner Usakli 29ba015d69 fixed topic thumbs
Baris Soner Usakli 9eb4945415 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli de34beaf6d closes
psychobunny 2ec6dd1d14 added filter:topic.thread_tools for creating custom admin functionality in topics view
Baris Soner Usakli eb3b240b04 some cleanup of unread
akhoury 63c9269240 merged composer and some other files with master
akhoury 25207852e8 added topics thumbnails support
Julian Lam 42d33f8338 first pass
Julian Lam f50d77bca0 resolved
Baris Soner Usakli 6140d76f76 fixed index of newly created posts, matched vanilla search form to lavender
Baris Soner Usakli 9d1a295b85 better topic delete restore
Baris Soner Usakli 1e44ca3a0f upgrade topics:tid to sorted set, topics:recent doesnt have deleted topics
Baris Soner Usakli 8506819a7d added back error check
Baris Soner Usakli c0e0da0f1d simplified getAllTopics
psychobunny fe2e86da81 added optional 'reverse' parameter to Posts.getPostsByTid and Topics.getTopicPosts (incoming signature adjustment for 0.4x)
Baris Soner Usakli ce4896f2c5 fixed read notifications
Baris Soner Usakli ccfa5bd618 copy pasta is bad for your health
Baris Soner Usakli a4fd972b2b fixed again fail
Baris Soner Usakli 2a41c3a312 crash fix
Baris Soner Usakli b5d31dd889 replace eachSeries with map
Baris Soner Usakli 400af61e12 fixed minor issue, removed unused postPerPage
Baris Soner Usakli 9f1e0187ee fixed settings
Baris Soner Usakli 1b5e44a763 fix unreplied on getTopic
Baris Soner Usakli a274a8cc12 more unread changes
Baris Soner Usakli d27ba5239e unread changes
Baris Soner Usakli 8e756b5b26 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 242927d702 user selectable pagination
psychobunny d02a1ef40a actually fixes
Micheil Smith 12b52e5320 Removed storage of tid:lastFeedUpdate now that feeds are on-demand
Micheil Smith c619301735 Remove calls to feed.js
Baris Soner Usakli d5938e4024 removed BS class, not needed
psychobunny 25a6302c01 upvoting / downvoting complete
Baris Soner Usakli 56cdc86a37 took out userSockets, using io.sockets.clients() now'
Baris Soner Usakli 15479a31c2 unread fix
Baris Soner Usakli 1eb7ff9ff3 closes
Baris Soner Usakli c122492470 added back the template if
Julian Lam eff99ffabe fixed
Baris Soner Usakli a86ddc9934 closes
Baris Soner Usakli 1291f31f3c closes
Baris Soner Usakli fb8fbb2372 removed console.log
Baris Soner Usakli 25442a89ca closes
Baris Soner Usakli da626a4035 more fixes
Baris Soner Usakli 1afd7ae332 trim pagination numberS
Baris Soner Usakli 8744013013 Merge branch 'master' of https://github.com/designcreateplay/NodeBB into pagination
Baris Soner Usakli 393bb7245c closes
Baris Soner Usakli ef6fd35e85 lots of cleanup, moved pagination to requirejs module
Baris Soner Usakli 606367701f pagination on posts
Baris Soner Usakli b0ef974590 lots of cleanup and refactor
Baris Soner Usakli 824c5072e8 topics should be marked read correctly if you are already in it
Baris Soner Usakli 039f02456d if user is in the topic when a new post comes in mark the topic read
Baris Soner Usakli 3d30c0bd87 tmp fix for nested if
Baris Soner Usakli 189e69284e fixes for post privileges
Baris Soner Usakli bbac361670 fixed crash if empty topic was loaded without ajaxify
Baris Soner Usakli b3816b98a1 more post fixes
Baris Soner Usakli 31d353ab0e more fixes
Baris Soner Usakli ae76bb3928 lots of err first fixeS
Baris Soner Usakli 426d3e871f more fixes
Baris Soner Usakli 466c02a886 removed teaser_text
Baris Soner Usakli a97ee201d8 makes recent unread and category pages a lot faster, added logging when a user changes their username
Baris Soner Usakli f73c81d6c3 closes
Julian Lam adb8f80b86 interim commit - removed calls to websockets.js, beginning porting to namespaced files
Baris Soner Usakli a4ae9c70df closes , closes
Baris Soner Usakli 8e6606fb5a move post
Baris Soner Usakli faf5ea2122 check if we have edit permission on the pids that we want to move
Baris Soner Usakli 291aa872c4 cant fork if not logged in
Baris Soner Usakli 2e575bb2d8 closes
Baris Soner Usakli f21a98f37f first pass, ,
Baris Soner Usakli 742c8fb43c closes
Baris Soner Usakli 1b41a8f467 fixed typo
Baris Soner Usakli f933fc0167 forgot topics.js oops
Baris Soner Usakli fbb4998999 closes
Baris Soner Usakli 2039885d96 removed console.logs
Baris Soner Usakli daacdb50f3 closes
Julian Lam b52782deb8 removed use of strip_tags and using String library instead
Julian Lam a078f73e84 omg I don't know what I am doing
Julian Lam 8f879cd3eb topics will no longer show up in /recent if user cannot access them
Baris Soner Usakli 1021615848 added err first to some calls
Julian Lam c313c4501b pushNotifCount method for real-time updating of notification bell + favicon for multiple tabs (closes )
psychobunny 0c05ee82b1 , moved everything out of parallel - poster doesn't need to wait for these functions to happen
also renamed topics.markUnRead to topics.markAsUnreadForAll
Baris Usakli df10bde2db added 1 more parseInt
Baris Soner Usakli 5f86e31d1e fixed favouriting
Baris Soner Usakli 95bb838699 Merge remote-tracking branch 'origin/master' into dbal
Baris Soner Usakli 53ca7a1143 added search functions to database files, removed reds from nodebb moved it to redis
Baris Soner Usakli 1564e3d530 tons of fixes to mongo and redis, to make returns the same
Julian Lam 2a1671ba9b whoops
Baris Usakli 705754e823 merged master
Julian Lam 041e77f688 fixing replying (whoops)
Julian Lam d9ee9bf5e3 revamped handling of unread messages, so that a socket call is made to all socket clients whenever a new unread message is available. Prior behaviour had the unread count updated via ajax call on ajaxify (which was clumsy at best and didn't update automagically)
Baris Usakli 7875138c08 added parseInt
Julian Lam 43b012b32e defactored getUnreadTopics into separate getUnreadTids method -- for no reason, mind you
Baris Soner Usakli f0caac242c fixed incr in topic post
Baris Soner Usakli 32d5118266 tons more changes
Baris Soner Usakli d5c0ca4a9d closes
Baris Soner Usakli 46a14715e3 fixed logout in admin site, cleaned up topics.post, anon users can post topics now if allowed
Baris Usakli b2074c6dda fixes to infinite load and paginator
Baris Soner Usakli db98b3db55 removed the fields again, gitsucks
Baris Usakli a87ebb64d8 clean up of posts and some template additions
Baris Usakli 0742590c0c added pid to share links, removed unused vars
Baris Soner Usakli fdf5227c35 closes
Julian Lam 0a06f1ac7d Merge remote-tracking branch 'origin/master' into category-whitelisting
Baris Soner Usakli 2148f6ff95 closes
Julian Lam 5ee5c8179a category whitelist for replying to posts, lots of refactoring, too
Julian Lam 182659d0e1 removing extra .js suffix from required files and physically separating
nodebb libs from deps
Baris Soner Usakli 32b191fa62 removed global.io
Baris Usakli e1f6e064a9 removed io from user.js, figure out why notifications are breaking when websockets.js is required from it
Baris Usakli 541993c80a fontawesome 4 migration, closes
psychobunny d4d0e8cd9b set unreplied flag to new topics sent via websocket
Baris Soner Usakli 81560c4698 Merge branch 'master' of https://github.com/designcreateplay/NodeBB
Baris Soner Usakli 390937a20b added err to getAllTopics
psychobunny 377de06eeb removed main_posts from topics core, returning OP in posts array now
psychobunny 46bad118de if a thread is unreplied, don't show the OP as the last person to reply
Baris Usakli 7d3adb9275 removed unused stuff from getLatestTopics and recent.tpl
Julian Lam 08ef67e824 closed
Baris Usakli 54d94f5988 added topic tests
Baris Usakli 7c1b6d6ad2 lots of refactor for error handling
Baris Usakli 84fa704b25 refactor abit adding error checking to missing parts
Baris Usakli 4ce6ac5af9 closes , added check to prevent crash in getAnonUserCount
Baris Usakli 7d1aa02fd1 removed schema.js
Baris Usakli 58f9c2c18d removed console.log
Baris Usakli 1ec6726459 template changes to recent and unread
Baris Usakli 4da819b02b changesto category.tpl
Baris Usakli a21d91d870 closes
Baris Usakli f946918176 fixed anon images in topic view, anon users arent added to active users for a category
Baris Usakli 04ed1df0ef closes , allow guest posting. enabled from admin/settings, defaults to disabled
Baris Soner Usakli 89540172b2 closes