364 Commits (1d1639d46f15c5a9c84d3ccfc7a334244c28039a)

Author SHA1 Message Date
Barış Soner Uşaklı 2fd2accf8c add tests for top topics
fix popular page displaying 18 topics per page
7 years ago
Julian Lam 99dc3feeb2 Edit history is now a category-level privilege
Closes #6425
7 years ago
Julian Lam fdc30537cb Merge remote-tracking branch 'origin/master' into user-blocking 7 years ago
Barış Soner Uşaklı 7c43c7e0f9 closes #6473 7 years ago
Julian Lam bfee23adee basic methods and initial integration for #6463 7 years ago
Barış Soner Uşaklı fde44cb9b9 pass array to groups.destroy
pass array to db.sortedSetRemove
7 years ago
Davis 9d171ca1e2 Add cid for filter:category.update hook (#6319) 7 years ago
Baris Usakli ecf6c0f3ec closes #4652 7 years ago
Barış Soner Uşaklı 8446a733e5 closes #5569 7 years ago
Barış Soner Uşaklı ff6c6a54c1 make upload permissions global
give upload image permission to registered users on install
add global privileges to app.user.privileges for client side use
7 years ago
Barış Soner Uşaklı 2bf275fe29 #6158 7 years ago
Baris Usakli 5604c62776 use the first set for sorting 7 years ago
Baris Usakli 6778cce265 add new zset 7 years ago
Baris Usakli a500e0019c closes #6005 7 years ago
Baris Usakli bc6b1a8f56 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	public/src/admin/extend/plugins.js
8 years ago
Barış Soner Uşaklı c0f390322c https://github.com/Schamper/nodebb-plugin-poll/issues/86 8 years ago
Julian Lam 184dacf1d7 Merge branch 'master' into develop 8 years ago
Barış Soner Uşaklı 67ca1881bd closes #5831 8 years ago
Baris Usakli 72cafd55cf 2 new hooks for changing direction and set name 8 years ago
Barış Soner Uşaklı e0dc47f883 closes #5779 8 years ago
Barış Soner Uşaklı 7fe9366103 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı d65f494c6d closes #5127 8 years ago
Baris Usakli 037a0e5239 closes #5742
also fix reverse infinite scroll when sorting is changed
8 years ago
Baris Usakli 1d26fc0d89 closes #5741 8 years ago
psychobunny 88d5f97280 closes #5717 8 years ago
Peter Jaszkowiak 3c2d4fe649 Switch from underscore to lodash 8 years ago
Barış Soner Uşaklı f1b8492164 remove unnecessary checks 8 years ago
Barış Soner Uşaklı 02dee48329 use backgroundImage if its passed in 8 years ago
Barış Soner Uşaklı 79a48cec5f controllers/category tests 8 years ago
Barış Soner Uşaklı f57b5f4e4c refactor 8 years ago
Barış Soner Uşaklı 3a1eba2537 merge 8 years ago
Barış Soner Uşaklı 0b3656f34c fix timeouts on category.purge when there are 20k groups 8 years ago
barisusakli e3205bcfad merge 8 years ago
Peter Jaszkowiak 0fe10f5e86 Escape topic titles at the source, deduplicate 8 years ago
Julian Lam a141835cf8 Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 1fb48ef7a7 Fix #5592 (#5593)
* Fix #5592
Escape translation tokens in topic titles, descriptions, profile about, and post contents

* Fix tests
8 years ago
Julian Lam d18cfced96 Merge remote-tracking branch 'origin/master' into develop 8 years ago
Peter Jaszkowiak 484a800327 Merge branch master into develop 8 years ago
Peter Jaszkowiak 1ed571189c Make utils and translator easier to require
Move utils.walk to file.walk, backwards compatible
8 years ago
Peter Jaszkowiak 8119b8c4ae `filter:teasers.get` provided with `uid` 8 years ago
Julian Lam ddea9f534e running eslint again 8 years ago
Julian Lam 72e77772db Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 93f38d4f30 ESlint no-multi-assign
and max-nested-callbacks, no-mixed-requires, max-statements-per-line
8 years ago
Peter Jaszkowiak 4bb49a7171 ESlint no-unused-vars 8 years ago
Peter Jaszkowiak c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs 8 years ago
Peter Jaszkowiak 57f89663aa ESlint radix 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak 532951c24f ESlint space-in-parens, block-spacing 8 years ago
Peter Jaszkowiak 3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak 52f2028206 ESlint no-multiple-empty-lines 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
barisusakli 3fb7f9fce5 closes #5398 8 years ago
Julian Lam 9dcbe875a0 Merge branch 'master' into develop 8 years ago
Julian Lam c99321a518 always setting app.previousUrl now, and passing cid into filter:category.topics.get hook 8 years ago
barisusakli 8f0f959d53 add `filter:categories.copyPrivilegesFrom`
https://github.com/Schamper/nodebb-plugin-poll/issues/77
8 years ago
barisusakli c0a8fd7395 allow multiple tags 8 years ago
Barış Soner Uşaklı 805cacb2af dont add tid to :tids:posts if its pinned 8 years ago
barisusakli 0b9829850c closes #5273 8 years ago
barisusakli 49267d54b7 topics unread tests 8 years ago
barisusakli c33d3e874a store pinned topics in new zset
keep pinned topics on top on different sort types
8 years ago
barisusakli 1658ebbe20 categories update test 8 years ago
Sergii Paryzhskyi e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 8 years ago
barisusakli 038418bf87 batch.processArray
use batch.processArray in notifications.push and moveRecentReplies
added notification tests
added test for moveRecentReplies
clear group cache if a group is deleted
8 years ago
barisusakli a6c3be0bb1 store category recent tids for faster retrieval 9 years ago
barisusakli 958fe3e72f closes #3762 9 years ago
barisusakli 07fe5057e1 make sure validator.escape() receives strings only 9 years ago
barisusakli fa9f1ac7fe fix dependency errors 9 years ago
barisusakli 89f550ce7c moved middleware requires 9 years ago
barisusakli 56c4e13316 another dependency fix and test 9 years ago
barisusakli 6d946425fa fix tests, circular deps 9 years ago
Barış Soner Uşaklı e1c0a8f3b3 Merge pull request #4909 from BenLubar/self-topic-deletion
add edit/delete post, delete topic privileges per-category
9 years ago
Ben Lubar 936149bb38 grant topics:delete by default <f62da5c4e9 (r74206749)> 9 years ago
Ben Lubar f62da5c4e9 see NodeBB/NodeBB#4909 9 years ago
barisusakli bb05e6e393 closes #4916 9 years ago
Ben Lubar 26df552d55 Add edit, delete, and topics:delete permissions for users acting on their own posts 9 years ago
barisusakli d2cbd7e6dc new priv for uploads 9 years ago
barisusakli 73e21d1d31 closes #4720 9 years ago
barisusakli c969870cb6 removed dupe privilegeList, added missing privilege to copyPrivsFrom 9 years ago
barisusakli b2311edb94 bubble replies from subcategories to the parents 9 years ago
psychobunny 5baf077cbe Merge branch 'master' of https://github.com/NodeBB/NodeBB 9 years ago
psychobunny e9921edb87 Merge remote-tracking branch 'refs/remotes/origin/topics-read-privileges' 9 years ago
Barış Soner Uşaklı dd1b261950 closes #4712 9 years ago
Barış Soner Uşaklı 26be7c25e4 closes #4701 9 years ago
psychobunny b37b083a4d new privilege: Access Topic
differentiation between Access Category and Access Topic, ie. allows you
to see the category view but not actually enter the topic itself
9 years ago
barisusakli 38d1bde895 closes #4669 9 years ago
barisusakli bf2133ed7c topic watching 9 years ago
barisusakli 5e5e46e95f closes #4499 9 years ago
Julian Lam 5f36bfab01 re: #4578 9 years ago
Julian Lam de9357970f fixes #4578 9 years ago
Julian Lam 8eaff1492a Added ACP option to customise recent post
Before, could either be OP or last reply.

Now, you can choose between OP, last reply, or last post (which
includes OP)
9 years ago
barisusakli eb28e178a7 closes #4567 9 years ago
barisusakli b948e031f6 closes #2779 9 years ago
barisusakli c9cfe5b089 closes #4355 9 years ago
Julian Lam a275aaeaf5 fixes #4361 9 years ago
barisusakli b0151502c2 use '-inf'/'+inf' 9 years ago
barisusakli 018f7ba65a closes #4307
ability to send an array of keys to getSortedSetRange
use getSortedSetRevRange instead of getSortedSetRevUnion
9 years ago
barisusakli ebcd892aee closes #4259 9 years ago
barisusakli 878b7b21ee closes #4170 9 years ago
barisusakli 93ae5e2a3f style change 9 years ago
barisusakli 4b3f09deea closes #4154 9 years ago
barisusakli 1a87767c2c removed extra isAdminOrMod check 9 years ago
barisusakli 4440865ec4 support for array in getTopicIds 9 years ago
barisusakli fddc6157a3 fix return of getRecentTopicReplies 9 years ago
barisusakli 290686a194 modifyCategory is no longer async 9 years ago
barisusakli 53d29e29af performance improvements
store parsed category description
removed mongo _key from returns
dont get category teaser for parent
9 years ago
barisusakli a054353b6c category purge fix 10 years ago
barisusakli e7f87f4ffd closes #3686 10 years ago
barisusakli 5950f97f96 more refactors 10 years ago
barisusakli c0c38437a0 isAdminOrMod 10 years ago
barisusakli f9c8b1acf8 if a parent category is deleted add its children to root 10 years ago
barisusakli 8af64ba984 closes #3626 10 years ago
Barış Soner Uşaklı 5b08538264 closes #3614 10 years ago
Julian Lam 4acb31839e nodebb/nodebb#3615 10 years ago
barisusakli 0bfc568ac3 closes #3537 10 years ago
barisusakli a0cd4b49f5 when a category is deleted, set the children's parent to 0 10 years ago
barisusakli 49afe544e1 recursive #3227 10 years ago
barisusakli 7db41275a3 closes #3227 10 years ago
barisusakli 5b87af4389 closes #3447
recursively get all children
calculate topic/post count from children
new sorted set `cid:<id>:children`
fix search query params
10 years ago
barisusakli 0be2a79210 pass the data used to create the category to filter:category.create 10 years ago
barisusakli 072d287183 closes #3311 10 years ago
Nicolas Siver 9d0a0538a6 use tabs 10 years ago
Nicolas Siver 1e2f4ae5e9 filter slug for category update 10 years ago
barisusakli dff1a04585 more category hooks 10 years ago
barisusakli 5445e32522 2 new hooks 10 years ago
barisusakli ba9a68c59c async.waterfall 10 years ago
barisusakli b292aeea72 closes #3120
also dont allow loading posts of a topic if its deleted via
topics.loadMore
10 years ago
Julian Lam a54dccdf3b closed #3068 10 years ago
Сергей Савельев 6b3b44e2fc Delete errors 10 years ago
Сергей Савельев a70f1b09e4 m 10 years ago
EvSpirit 2ea840e65d #2886 Check subcategories when showing category recent topics 10 years ago
EvSpirit 0fcd4dee58 #2886 Check subcategories when showing category recent topics 10 years ago
Julian Lam f8aba4f4ef Merge branch 'master' into search-cid-uid 10 years ago
psychobunny a3f167bfd2 default category should be col-xs-12 10 years ago
Сергей Савельев e529d18414 save 10 years ago
barisusakli 78c65aee05 even more search changes 10 years ago
Julian Lam e8167a80a0 if bgColor and color are not sent in the category creation call, automatic colours are supplied 10 years ago
Сергей Савельев 3831cd0e71 Adding the ability to use a different url 10 years ago
Сергей Савельев 6d03f5c9e8 Revert line order 10 years ago
Сергей Савельев 8a5b5936b7 Revert line bgColor 10 years ago
Сергей Савельев cc384cc4d6 Update file for create categories 10 years ago
Сергей Савельев 3910f8bf28 Add parameters for create categories 10 years ago
Julian Lam 27282a2877 if no order is specified during a category creation, NodeBB won't crash 10 years ago
barisusakli 39a75ea2d7 fix recent replies 10 years ago
barisusakli f5b448c300 closes #2623 10 years ago
barisusakli e46cda835a closes #2624 10 years ago
barisusakli a77a761433 closes #1917 10 years ago
Baris Usakli a36391864a fix recent replies crash, closes #2575 10 years ago
barisusakli b7f55e8453 fix tests 10 years ago
barisusakli 8007bb0644 dont ignore error 10 years ago
barisusakli 7daf3a34a7 removed slice 10 years ago
barisusakli 15c2b124e3 recent replies needs stripTags true
changed [self] to _
10 years ago
barisusakli 21459fff84 use getPostsFromSet for recent replies 10 years ago
barisusakli cb8ce066c8 give guests find read access on category creation 10 years ago
barisusakli 8e114c2093 moved isAdminOrMod check out of getTopicsByTids 10 years ago
barisusakli 0a44d3f5e0 moved updateCategoryField out, db.delete only sends back err 10 years ago
barisusakli d485b65b67 call next 10 years ago
barisusakli 52c12fa1b1 use wrapper functions getPostsFields and getTopicsFields 10 years ago
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
10 years ago
Julian Lam 9debfd94ec removed the hook I just added: filter:category.recent, was a bit misleading. 10 years ago
Julian Lam 20ea40133b added four new hooks: filter:categories.recent, filter:privileges.categories.get, filter:privileges.posts.filter, filter:privileges.topics.filter 10 years ago
psychobunny 1e453140d9 adding uid to filter:category.topics.get 10 years ago
psychobunny abe887f557 filter:category.topics.get 10 years ago
psychobunny c988f54243 renaming filter:category.topics.get to filter:category.topics.prepare 10 years ago
barisusakli 485827db84 check count before privileges 10 years ago
barisusakli 6a3a3669d2 check privs on getRecentReplies and getRecentTopicReplies 10 years ago
Julian Lam c0fc7e9ca4 updating privilege handling to fire two new hooks, filter:privileges.topics.get and filter:category.topics.get 10 years ago
barisusakli 15e472db12 on category creation give defaults privs to admins and registered users 10 years ago
barisusakli 8fdc03eaad categories.js refactor 10 years ago
barisusakli daebc322eb meh 10 years ago
barisusakli 7823416410 err check, assignPostsToCategory is sync 10 years ago
barisusakli c56b9aafff closes #2289, replace Infinity with '+inf' 10 years ago
barisusakli 1ae39d638a closes #2356 10 years ago
barisusakli c4a39c8163 use processSortedSet instead of getting all users 10 years ago
barisusakli f463030e76 closes #2264 10 years ago
barisusakli 32d0e0d7e5 dont update category post coint if topic post count is invalid 11 years ago
barisusakli 40fff367d1 faster topic move 11 years ago
barisusakli 6a64a3ab92 check err 11 years ago
barisusakli b48d81310c #2095 11 years ago
barisusakli aae7f2434d closes #2088 11 years ago
barisusakli aed9a9f76f removed console.log 11 years ago
barisusakli 6cd84ebe81 removed parseInt from sorts 11 years ago
barisusakli 51cafe075c only get 25 posts 11 years ago
Julian Lam b7c7dd98c3 ACP setting and API return for subcats 11 years ago
barisusakli ca90afd544 #1992
(drunk) not even done yet
11 years ago
barisusakli 60624eedec small tweak 11 years ago
barisusakli 5c91bc4335 optimized home 11 years ago
barisusakli 783926687c reduced active users 11 years ago
barisusakli bc2f7339ee getLatestUndeletedPid will return string #1884 11 years ago
barisusakli 20df6fd5cd small fix 11 years ago
barisusakli 2bf38ec84b handle pinned topics 11 years ago
barisusakli 1e6d589080 show topics on home instead of replies
no template changes, instead of showing the latest x posts under
categories, we are now showing the latest x posts of the latest x
topics.
11 years ago
barisusakli a69973e7a7 topics.getPids will return mainPid as well 11 years ago
barisusakli 633980ce4b active users cleanup 11 years ago
barisusakli 64d04f7aa6 closes #1803 11 years ago
Barış Soner Uşaklı 2d734c1648 fixed move recent replies 11 years ago