581 Commits (14a2db4b2e58d9ba45a73435a91fac48549170c8)

Author SHA1 Message Date
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 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 dae3ef49be show user names who upvoted a post on mouse over 11 years ago
barisusakli ac43ff3c3d closes #1970 11 years ago
barisusakli 32d46f3889 crash fix 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
barisusakli df0a5e780a prevent edit to change title length above max 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 f55d1897c8 fix categories.loadMore so it checks read permission 11 years ago
barisusakli f49c95c16f closes #1950 11 years ago
barisusakli 5ce0ebb4ac single socket call on topic enter 11 years ago
barisusakli 473310d42d use empty string if referer is undefined 11 years ago
barisusakli e420ee5fb6 privilege fix for single category check 11 years ago
barisusakli c6c23aad5e eachLimit on move all topics 11 years ago
barisusakli 115598f382 minor refactor 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 f71bd41408 more fixes 11 years ago
barisusakli d7520508e3 #1375 part1 11 years ago
Julian Lam 91ce3634fc fixed #1904 11 years ago
Julian Lam 8296dc5630 beginning topic searching + new hook 11 years ago
psychobunny b604a4961c thanks @barisusakli 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 685cd38162 calculate levenshtein distance between recent chat messages and temporarily ban if determined to be spam 11 years ago
psychobunny cb08d4b04f getting rid of this one for good 11 years ago
barisusakli ef8bbdd359 closes #1864
doing andrew's //todo's since 1991
11 years ago
barisusakli 04c6ca2ebb closes #1862 11 years ago
barisusakli a4975cab33 closes #1825, closes #1674 11 years ago
psychobunny d78fdb1520 more confusing, works perfectably 11 years ago
psychobunny a67e0ea3c2 less confusing 11 years ago
barisusakli 2c890ad609 moved pushUnreadCount 11 years ago
barisusakli 6d8cc5648c some tag hooks/filters 11 years ago
barisusakli 9fbd535b79 fixes vote buttons on infinite scroll and new posts 11 years ago
psychobunny 4cbe97a466 don't need this file anymore 11 years ago
Julian Lam dae2e14aac epic hax to make the chat message list resize #1788 11 years ago
Julian Lam 7b3159292f added some utility functions for #1798, fixed chat notifications bodyLong value 11 years ago
Julian Lam 71916f0691 marathon bugfixing with @barisusakli re: #1788 11 years ago
barisusakli 24ebf20d7e first commit 11 years ago
barisusakli e6c9647acf display user post topic stats in admin index 11 years ago
barisusakli 9a4e6aa01c closes #1774 11 years ago
barisusakli d57f183f42 privileges.posts.get takes an array of pids now 11 years ago
barisusakli a9e5e82431 closes #1758 11 years ago
barisusakli 3c3ad7d115 closes #1728 11 years ago
barisusakli bd4722665d closes #1725
removed move button from main post, disable moving main post, fixed
moving posts.
11 years ago
barisusakli a4d4e53f45 speed up category purge
using eachLimit
dont emit stats on every topic delete
11 years ago
Julian Lam d229cd21b2 parsing the post content that's passed into bodyLong in notifs #1720 11 years ago
Julian Lam c41bb05711 final pass #1720, closed #1720 11 years ago
Julian Lam d257632878 first pass #1720, updating existing calls to notifications.create, backwards compatibility in case plugins create notifications too. 11 years ago
Charles 51fb7786f5 Don't reset widgets when changing skin 11 years ago
barisusakli ab80016910 fixed group hide for privilege groups 11 years ago
barisusakli 07275b5fc4 some checks to make last admin isnt removed 11 years ago
barisusakli 842a1f90cf fix crash on push 11 years ago
barisusakli 4c2765a79c closes #1679 11 years ago
barisusakli 4fa79dc821 closes #1281
category purge, deletes all topics and posts in the category
11 years ago
barisusakli 311a7ad5b9 #1281 topic purge 11 years ago
barisusakli a65d612907 #1281 post purge 11 years ago
barisusakli 7610c11cd1 closes #450
backup database before upgrade!
upgrade script will take the first post of each topic and set the
`mainPid` property on the topic. then it will remove that pid from the
sorted sets for that topic, this was done to make alternative sorting
work.

added a new sorted set called `tid:<id>:posts:votes` that is used to
sort topic posts by vote count, the original sorted set `tid:<id>:posts`
is used to sort by oldest first or newest first.

the main post is added to the returned posts array on topic load and is
always at the top.
theme changes are minimal just a few new data properties on the posts
and the sorting dropdown.
hopefully didn't miss anything too critical.
11 years ago
barisusakli e1491e4182 fixed wrong admin tags on admin/user/search 11 years ago
barisusakli 6b93095204 more link fixes 11 years ago
barisusakli efe04c12d3 closes #1635
if email isnt confirmed, show a warning in account/edit and let users
resend confirm email
11 years ago
barisusakli b537666e5c closes #1592, closes #1634 11 years ago
barisusakli e20920c536 closes #1630 11 years ago
psychobunny 94312cfda8 closes #1595 11 years ago
psychobunny b2b76f701d woops, okay actually fixing it properly this time 11 years ago
psychobunny d5e55d27ed fix for previous commit 11 years ago
psychobunny d81351579d don't require passing in uid for topics.markAsRead 11 years ago
psychobunny 791fde7904 fixing #1587 properly for unread count 11 years ago
psychobunny 0334a487b5 fixing #1587 properly for profile views 11 years ago
barisusakli eb0a06b777 closes #1577 11 years ago
barisusakli 48aba5fc64 category widget changes 11 years ago
barisusakli 4e8a9fbe27 closes #1582 11 years ago
barisusakli ee1495a44d fixes reply/quote buttons on new posts 11 years ago
Julian Lam 8a510c340b limiting user and group creation so that their slugs can't intersect. 11 years ago
barisusakli df73ceaeb7 closes #1556
added tag input box to composer when creating a topic
added new routes for viewing tags 'tags' and 'tags/:tagname'
respectively
post_bar.tpl shows the tags of the topic
can edit the main post to remove or add new tags
added a new menu item to header to go to the tags page
11 years ago
Julian Lam 3849b2d6b3 added pushGroup method to notifications object #1331 11 years ago
barisusakli 472e6b5206 privilege cleanup 11 years ago
Julian Lam b1534b7798 removing allowGuestPosting logic in NodeBB 11 years ago
Julian Lam 3474cdc5ea added new privilege "find", added guest meta group, closed #1282 11 years ago
barisusakli b1aae05a08 closes #1518 11 years ago
barisusakli 3e86bdb38f more work on #1518
still needs more work, category is next
11 years ago
psychobunny a5a2e6f04e update BS brand colors in ACP 11 years ago
barisusakli 4234057821 first pass for #1518
this only handles postTools privileges, topic and category will follow
11 years ago
Julian Lam 34b522f36d missed a bunch of "editable" checks 11 years ago
Julian Lam 759775ecbe Merge remote-tracking branch 'origin/master' 11 years ago
Julian Lam 87f4566e06 more fixed to privs, and ACP modal 11 years ago
Julian Lam 7c8b442dcd more updates to privileges revamp 11 years ago
barisusakli 4f11ac9664 fixed missing comma 11 years ago
barisusakli da72924187 removed duplication 11 years ago
barisusakli c5d9a68b4b closes #1445 11 years ago
barisusakli fc00586f0e 0 disables flags for ban 11 years ago
barisusakli c7744d7a64 closes #1483 11 years ago
Julian Lam 65dd79c84e socket logic for #1149 -- handling of help tab in ACP 11 years ago
barisusakli 43bbc00be8 closes #1512
spaces are required
11 years ago
barisusakli d304bab4f1 dont change height if sizing horizontally #1508 11 years ago
barisusakli 7280567d21 closes #1505 11 years ago
barisusakli 883978007d closes #1482
removed updateHeader, the header is using template values in from the
api, update menu partial in vanilla theme as well
11 years ago
barisusakli 967b486ce1 closes #1487
ban and delete user admin actions takes an array of uids now.
11 years ago
barisusakli d43d363a7a refactored topics.js
removed ajaxify.register_events using removeListener now
11 years ago
Julian Lam 90269ad9b8 fixed bad example code 11 years ago
Julian Lam a5410f7ae7 added stub plugins socket file for plugin usage (ping @schamper @frissdiegurke @akhoury @psychobunny @barisusakli) 11 years ago
barisusakli 63d88957a8 replace self links client side 11 years ago
barisusakli fdfd421e1c fixes error during user delete and ban 11 years ago
barisusakli cd3bb77a7f added reqFromSocket to topic posting
new filter topic.post
11 years ago
barisusakli c9551abc5d closes #1432
ability to select a default gravatar image (default, identicon,
mystery-man, monsterid, wavatar, retro) or upload a custom image to use
as default gravatar image
11 years ago
psychobunny 066b1c0d64 @akhoury and his comments.. :p + jshinting 11 years ago
Aziz Khoury 32a5334402 socket.handshake.address may not always be defined, thanks @psychobunny 11 years ago
Aziz Khoury 056b39709f no need for quotes 11 years ago
Aziz Khoury c7bd27fb3f spaces vs tabs ugh 11 years ago
Aziz Khoury fa7db423c6 adding hook filter:topic.reply for antispam 11 years ago
barisusakli d05920ec78 refactor of thread tools 11 years ago
barisusakli fa221437dc removed whitespace 11 years ago
barisusakli 6f2ea3eafc closes #1439 11 years ago
barisusakli adf6f34e42 closes #1436 11 years ago
barisusakli cf94a71499 closes #1427
flag and chat buttons are hidden on self posts, updated in vanilla and
lavender
11 years ago
barisusakli a1e6a3616c ability to install/uninstall plugins from ACP 11 years ago
barisusakli 3c11030929 closes #1398 11 years ago
barisusakli 2ad715ead3 closes #1412 11 years ago
barisusakli 8d3f72b5a1 closes #1404 11 years ago
barisusakli e12beccc09 closes #1371
adds a dropdown to category view to move/pin/lock/delete multiple topics
11 years ago
barisusakli f0428f5f1f removed double post notification #1386 11 years ago
barisusakli f9897daad1 all notifications are translated now closes #1388 11 years ago
Julian Lam 8cb2b9b97a fixed #1351 -- themes and plugins no longer auto-restart the server 11 years ago
barisusakli 01555cbb5c return privileges in category 11 years ago
barisusakli 04488a9a14 closes #1139 11 years ago
psychobunny a8801feabe cleanup 11 years ago
psychobunny da665853e4 bugfixes 11 years ago
psychobunny 78dea8ea40 don't attempt to require a directory 11 years ago
psychobunny 5ffeb3319b socket.io admin/groups 11 years ago
psychobunny aaa2dbe757 removed unused topics; fixed require 11 years ago
psychobunny 9e24ccc976 socket.io admin/categories 11 years ago
psychobunny 2fc6bfaa72 socket.io admin/user 11 years ago
barisusakli d832a6f805 closes #1381 11 years ago
psychobunny e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
11 years ago
barisusakli 3e60451ce4 closes #1013
lets user change languages,
11 years ago
Julian Lam df8728c785 allowing plugins to define new sounds -- woot.
Also moving the core sounds into a separate package, soundpack-default
11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
barisusakli fdeaf3a16e user.js error keys 11 years ago
barisusakli eaf4be4979 posts.js error keys 11 years ago
barisusakli b07efb0085 modules.js error keys 11 years ago
barisusakli 7b992e7a20 meta.js error language keys 11 years ago
barisusakli 197e61a5d0 admin js language keys 11 years ago
barisusakli d366be7967 added error key 11 years ago
barisusakli 95972209f4 favourite changes
favourites.js no longer makes socket calls, moved that code into
socket.io/posts.js. it also makes a single socket call when you downvote
a post that you previously upvoted.
11 years ago
barisusakli 296d5127c9 update to use error messages 11 years ago
barisusakli a75baef450 removed socket emits for post errors 11 years ago
barisusakli e2d0d4db5c added error and success language files
removed some code from server side that was emitting alerts
11 years ago
barisusakli 4e71c8328c closes #1346 11 years ago
barisusakli e5cf44d398 closes #1353
mark all read will mark everything read, can also select topics and mark
them read, can mark specific categories read too
11 years ago
barisusakli 770e0a67c1 send values directly 11 years ago
barisusakli 0cd13b7b66 closes #1273 11 years ago
barisusakli 3f44f4bb3a closes #1319 11 years ago
barisusakli bdefebeea0 reverting some of my code and fixed #1322 properly 11 years ago
Julian Lam 682fa1f874 fixed incorrect scoping for new post event introduced accidentally last commit 11 years ago
Julian Lam 90616c6e7b closed #1322 11 years ago
barisusakli 10f56faf9d admin cleanup
removed unnecessary admin checks in src/admin/user then realized they
are just one liners so moved them to src/socket.io.admin.js moved
categories update to categories folder
11 years ago
psychobunny 7926514c95 draft zone for widgets, closes #1238 11 years ago
barisusakli 3a69a191ff closes #1285 11 years ago
barisusakli 68db8c04f7 added missing radix 11 years ago
barisusakli 2507d6c853 display_moderator_tools is already returned
when new posts were loaded, we were making a socket call for each post
to check if the post is editable, but this data is already returned in
display_moderator_tools when posts are loaded.
11 years ago
barisusakli e8265efc20 closes #1271 11 years ago
barisusakli 980cf2ccf9 closes #1184 11 years ago
barisusakli bcc464a196 fixed reverse loading of topics
data.after can be zero which was causing a invalid data error
11 years ago
barisusakli a695c6134b added missing meta 11 years ago
barisusakli db3632557e moved notification push out of markAsRead 11 years ago
barisusakli ec63ba4b17 removed unused method 11 years ago
barisusakli 880c393b6d fixed admin groups page
changed gid to groupName
11 years ago
Julian Lam d33253bc3a Merge remote-tracking branch 'origin/master' 11 years ago
Julian Lam 0e44eb8629 final refactoring pass for groups -- #1252 11 years ago
barisusakli 26d67257fe moved privilege check out of getRecentReplies
it was being called twice in api/home
11 years ago
barisusakli 301008b9cb missed this one 11 years ago
Julian Lam 7b4f596aba updating all group lib methods, and their callers -- #1252 11 years ago
barisusakli fa98da6978 related to #1250 11 years ago
Julian Lam 4239c376c8 truncating user list in Groups ACP page, resolved #1132. Refactored system groups handling 11 years ago
barisusakli 10d8eed7b9 closes #1229 11 years ago
Julian Lam 16f1db4f5d fireEvent reflection socket call, tweaks to Sounds page in ACP 11 years ago
Julian Lam 14a0b45ae8 securing settings.save socket listeners behind admin namespace 11 years ago
Julian Lam 17903adace Merge branch 'master' of github.com:designcreateplay/NodeBB 11 years ago
barisusakli 46a475fdde controllers/admin/users cleanup 11 years ago
Julian Lam f942c03a58 Merge branch 'master' of github.com:designcreateplay/NodeBB 11 years ago
barisusakli 1354739d19 user deletion #746
user deletion NOT SKALABLE
11 years ago
Julian Lam ebe61450a1 WIP - settings.prepare refactoring... because. 11 years ago
barisusakli a0e784a612 closes #1138 11 years ago
Julian Lam 553cabdcfa refactored sound system so that they can be specified in ACP, updated soundfile to work in FF, which fixes #1209 11 years ago
barisusakli d8e00f95a2 moved user search to its own file 11 years ago
barisusakli 90e398e5c9 user js refactor, category fix
if a category that didn't exist was request with category/1231 or
api/category/1231 it was crashing.
11 years ago
barisusakli 3f5c51174d refactored user.js
took out notifications, email and reset code to separate files
11 years ago
barisusakli 33e34ca864 change getRecentPosts to take count 11 years ago
barisusakli 6e6c5688d9 more cleanup 11 years ago
barisusakli 2befa06a33 some cleanup to socket posts 11 years ago
barisusakli 813b3d6fcc changes for live streaming of posts 11 years ago
barisusakli 350070339b added home room emit 11 years ago
barisusakli a5f4135c62 added socket listeners to home 11 years ago
psychobunny 5f7f5a37c1 linting 11 years ago
barisusakli 3d68c7c6b6 added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js 11 years ago
barisusakli 71f84655ca minor cleanup 11 years ago
barisusakli 6496b91c29 closes #1180 11 years ago
Julian Lam 5a8a3627d2 bringing subfolder installations to v0.4.0 - JUST FOR @PLANNER 11 years ago
Baris Soner Usakli b28e4846a4 fixed disconnect check 11 years ago
Baris Soner Usakli be70b3de57 closes #1090 11 years ago
Baris Soner Usakli feeb220514 removed console.log 11 years ago
Baris Soner Usakli 1b7f8cc5cb active users fix 11 years ago
Julian Lam 079ed10631 Merge branch 'master' of github.com:designcreateplay/NodeBB 11 years ago
Julian Lam 2b178ff76d proper tracking of users' reply status when others enter the room 11 years ago
Baris Soner Usakli b2f9184562 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 11 years ago
Baris Soner Usakli b6d97281d3 closes #1015 11 years ago
Julian Lam a9b78d2600 minimizing the composer should unregister it 11 years ago
Julian Lam d012d237bf added back clearInterval 11 years ago
Julian Lam 7ef84e0daa switched to 'ping active' system 11 years ago
Julian Lam b3d7ae1c86 showing who is replying in the active users block 11 years ago
Baris Soner Usakli e75c303b89 added unique visitor count to admin dashboard 11 years ago
Baris Soner Usakli ccd29bfd61 added callback to category update 11 years ago
Matthew Conlen a2a9c8fd8a fix error with undefined callback 11 years ago
Baris Soner Usakli 091723a8c5 closes #1101 11 years ago
Julian Lam 44ac7ec262 added new hooks for rendering help messages in composer, removed markdown text from translation 11 years ago
Baris Soner Usakli ea6cf3bbd5 more cleanup and changes to topics 11 years ago
Baris Soner Usakli 8da7a6f2f3 cleanup 11 years ago
Baris Soner Usakli 3ed2d21eb6 fixed flag post, added highlight to scroll post 11 years ago
Julian Lam 2baa381917 plugins and themes now trigger a restart 11 years ago
Julian Lam c797d6251d Revert "emitting alert when restart is attempted in development mode"
This reverts commit 059c5452ea.
11 years ago
Julian Lam 059c5452ea emitting alert when restart is attempted in development mode 11 years ago
Julian Lam 4ef1d83acd Merge branch 'master' into nodebb-loader 11 years ago
Baris Soner Usakli a29ea27596 closes #1106 11 years ago
Baris Soner Usakli 6e5a6b8784 upgraded categories to sorted set, score is the order set from acp, check if category topic exists before posting 11 years ago
Baris Soner Usakli d6d9776cde added toPid to posts 11 years ago
Julian Lam 7760a6b207 added restart button to ACP (!!) 11 years ago
Baris Soner Usakli 29ba015d69 fixed topic thumbs 11 years ago
Baris Soner Usakli b7ccc12525 bump topic if its marked unread for all, so it shows up in unread 11 years ago
Baris Soner Usakli dab71d04bd removed unused var 11 years ago
akhoury 25207852e8 added topics thumbnails support 11 years ago
psychobunny 79e9819b7f SocketWidgets file 11 years ago
psychobunny 86a8103c15 saving, updating, deleting widgets; widget dragging improvements 11 years ago
Baris Soner Usakli 21367a1847 reverse infinite loading 11 years ago
Baris Soner Usakli 43e8016dd1 fixes admin user picture edit 11 years ago
Julian Lam 9e64f4e303 passing in a picture into notifications now 11 years ago
Julian Lam aba1b95cac updating notifications.create to accept a hash instead of discrete arguments - breaking change 11 years ago
Baris Soner Usakli 791a50a01b closes #1028 11 years ago
Baris Soner Usakli c0e0da0f1d simplified getAllTopics 11 years ago
Baris Soner Usakli 1c14bcd1ed dont update last online time if status is offline 11 years ago
Baris Soner Usakli 8456025f28 2 more maps 11 years ago
Baris Soner Usakli bb59158bbc closes #721, admins can edit other users from their edit page 11 years ago
psychobunny 225e8c012b SocketUser.getSettings 11 years ago
Baris Soner Usakli d0452dcc80 small pagination fix 11 years ago
Baris Soner Usakli cacde313cd closes #995 11 years ago