619 Commits (48165b90110c06edf494f1024fca657c3b5e701c)

Author SHA1 Message Date
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
barisusakli e34ef71acd fixed resetLockout 11 years ago
barisusakli 6cd84ebe81 removed parseInt from sorts 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 3f96532c3f disabled 2 calls 11 years ago
barisusakli 877cf1e15c derp 11 years ago
barisusakli e5795687bb fix settings on mongo 11 years ago
barisusakli 2073d994fc limit topicsperpage postsPerPage to 20 11 years ago
Julian Lam e6d0eede4f pruning empy notifications for daily emailer 11 years ago
barisusakli 14fcd36134 closes #2028 11 years ago
barisusakli 576081e25f delete user ignored cids on account delete 11 years ago
barisusakli ba4b98de0e email and username checks on profile update 11 years ago
barisusakli d67cd489cd crash fix 11 years ago
barisusakli eef200be10 closes #1284 11 years ago
barisusakli 24ea74dc41 lol
O(log(n)) to O(1) and away
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 c58712e2a9 closes #1971 11 years ago
barisusakli c9c454825e closes #1369 11 years ago
barisusakli 005405b16c closes #1976 11 years ago
barisusakli c4b083330c closes #1978 11 years ago
barisusakli c8084e9b2e closes #1978 11 years ago
barisusakli 5b681678b1 could use async.apply here hm 11 years ago
barisusakli f39d772a40 if notification is purged delete from user mapping as well 11 years ago
psychobunny bb48bdb008 closes #1942 11 years ago
barisusakli 3163f70ef2 add tid to post notification so its marked read on entry 11 years ago
barisusakli de6e74c50e #1914 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 96b0b449b9 closes #1911 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
barisusakli d25300043c #1741 11 years ago
barisusakli 7454fd53b9 possible fix for #1741 11 years ago
barisusakli c9fb5b3e11 changed user posted notification to include title
dont send 2 notifications if you are already following topic
11 years ago
barisusakli 6e66911ef7 delete unread chats on account delete 11 years ago
barisusakli 943f3814e5 closes #1813 11 years ago
barisusakli ebaf8df0a9 #1824 11 years ago
barisusakli fcd460438d closes #1824 11 years ago
barisusakli d3312f1b8e fixer or in jobs and users redefinition 11 years ago
dhingey 9d45373b59 Change user.delete hook from action to filter
The user.delete hook is now a filter, giving plugins a chance to access
the user's data before it's deleted from Redis.
11 years ago
dhingey f7372ba8d5 Added a hook: action:user.delete
Allows plugins to access the uid of the user being deleted.
11 years ago
barisusakli dcbed4e935 closes #1763
show alert if email not confirmed, clicking alert will send confirmation
email
11 years ago
barisusakli 49a9601a04 closes #1752 11 years ago
barisusakli 1296cd58b9 closes #1723 11 years ago
barisusakli dceeed22f7 closes #1724 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
barisusakli 4c2765a79c closes #1679 11 years ago
barisusakli 311a7ad5b9 #1281 topic purge 11 years ago
barisusakli a65d612907 #1281 post purge 11 years ago
psychobunny e5d465392f closes #1639 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
psychobunny a0bdd06a6a filter:user.custom_fields - ability to add custom fields into userData 11 years ago
psychobunny 013f62cd7d action:user.verify & filter:user.verify.code - plugins can now override the verification system 11 years ago
barisusakli d1c2c87510 fixed double index in post notification 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 65e9f68d73 change requireEmail default to off 11 years ago
barisusakli b537666e5c closes #1592, closes #1634 11 years ago
barisusakli e20920c536 closes #1630 11 years ago
Julian Lam 8efb930ec0 site title fallbacks for daily digest titles 11 years ago
barisusakli 66701afdaa closes #1559
fixes the notification image too, the property was called image not
picture
11 years ago
Julian Lam 8a510c340b limiting user and group creation so that their slugs can't intersect. 11 years ago
barisusakli d8fd29581e deleting a user will delete topic tags too 11 years ago
barisusakli c7744d7a64 closes #1483 11 years ago
Julian Lam e64c1bfec3 closed #1453 11 years ago
Julian Lam 2dd2d7a269 defaulting daily digest frequency to null -- digests should be opt IN, not OUT. Bad idea on my part... re: #1499 11 years ago
psychobunny 10716c37d3 closes #1376 11 years ago
Julian Lam 590082709f fixed #1488 - emails are processed 100 at a time 11 years ago
barisusakli 8afcf44732 gravatars will be generated on demand
changing the setting in ACP will affect all default gravatars now.
11 years ago
barisusakli 6f40393b99 added err check 11 years ago
barisusakli 68fd997efd closes #1419 11 years ago
frissdiegurke 590604b288 fixed wrong calls of getSortedSetRevRangeByScore 11 years ago
barisusakli b4dc2eebe9 removed one of the timeouts in user search 11 years ago
Julian Lam dc051b9060 final pass #1249 11 years ago
Julian Lam 15bf804fa7 daily digest settings in User Settings 11 years ago
Julian Lam 7c08831aaf Merge remote-tracking branch 'origin/master' into issue-1249 11 years ago
barisusakli 92db112367 reverted previous commit 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 c3a4bcb116 first pass #1249 -- this causes emails to be sent if you have not been to the site in over 24 hours. 11 years ago
Julian Lam 4c9ea62c0d resolved #1372 -- username clashes will now cause a random # to be appended to the username 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
barisusakli 9d405812cb changed sortedSetRangeByScore 11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
barisusakli 1f77df794a added lots of error keys 11 years ago
psychobunny 015ee701c4 @barisusakli is a stickler and wants to increase registration api call times by 0.0000000001s 11 years ago
psychobunny 5423434b3f closes #1362 11 years ago
Julian Lam ee44128c8c not requiring email any longer for user creation (regression -- closes julianlam/nodebb-plugin-sso-twitter#4) 11 years ago
barisusakli 67f9c8670a closes #1355 11 years ago
Julian Lam bc29f832fe language keys for password changing -- issue #1278 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
barisusakli ac88b5fc25 fixing user deletion, missing cb 11 years ago
barisusakli fdf0076f37 decrease user count when user is deleted 11 years ago
Barış Soner Uşaklı 9f5893bc83 Update delete.js 11 years ago
Julian Lam d33253bc3a Merge remote-tracking branch 'origin/master' 11 years ago
barisusakli ef0740049a dont return everything in followers, #1250 11 years ago
Julian Lam 7b4f596aba updating all group lib methods, and their callers -- #1252 11 years ago
barisusakli c7c3bc1c8e no need to create empty array 11 years ago
barisusakli fa98da6978 related to #1250 11 years ago
Julian Lam c893effcb9 WIP commit -- groups refactoring + upgrade scripts 11 years ago
Julian Lam 85a5c123af minor tweak to winston logging for user jobs 11 years ago
Julian Lam da1a1d5930 adding callback to settings.load, and omitting password validation check on user creation if no password is entered (e.g. SSO login) 11 years ago
barisusakli 0f66e80a5a added setting to disable notification sounds 11 years ago
Julian Lam 98745ae0c4 Merge branch 'master' of github.com:designcreateplay/NodeBB 11 years ago
Julian Lam 2b8a7c73ac daily digest emails! resolved #326 11 years ago
barisusakli 6a4dd5cc05 closes #1160 11 years ago
barisusakli e67e9aee42 moved user creation to new file 11 years ago
barisusakli 1eafc6ba3d moved user delete to its own file, closes #746 11 years ago
barisusakli 42f42adfaf clean up, radix 11 years ago
barisusakli 1354739d19 user deletion #746
user deletion NOT SKALABLE
11 years ago
barisusakli d8e00f95a2 moved user search to its own file 11 years ago
barisusakli 383b68e7fc user js refactor 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