Peter Jaszkowiak
0fe10f5e86
Escape topic titles at the source, deduplicate
8 years ago
Julian Lam
d18cfced96
Merge remote-tracking branch 'origin/master' into develop
8 years ago
Peter Jaszkowiak
1892492505
Deprecate utils.walk, remove prototype modification
8 years ago
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
8 years ago
Julian Lam
af2d9fb85b
Merge branch 'master' into develop
8 years ago
Julian Lam
8226fd6566
enhancing ™️ post reply length checker to account for line breaks in redactor
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
896c8c7343
ESlint object-curly-spacing
8 years ago
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
8 years ago
Peter Jaszkowiak
b1b486f729
ESlint quote-props
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
barisusakli
3fb7f9fce5
closes #5398
9 years ago
barisusakli
78b7d5896c
convert topic title to string
9 years ago
Julian Lam
5916530a35
fix topic creation regression caused by 576df84218
9 years ago
Julian Lam
576df84218
trimming composer input before doing length check in replies
9 years ago
barisusakli
6acc79ec07
convert title to string
9 years ago
Peter Jaszkowiak
91a28e98b7
isMain on topic.create for filter:post.create
9 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
9 years ago
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
9 years ago
barisusakli
6f86621e30
closes #5096
9 years ago
barisusakli
a6c3be0bb1
store category recent tids for faster retrieval
9 years ago
barisusakli
4aac8bbe6a
closes #2222
9 years ago
barisusakli
07fe5057e1
make sure validator.escape() receives strings only
9 years ago
barisusakli
50aac3c6a4
closes #4979 closes #4984
9 years ago
barisusakli
6e469f1f0a
add missing return to guestHandleValid
9 years ago
barisusakli
3b0eca3be2
fix timestamp on posts.reply
9 years ago
barisusakli
0efe315790
closes #4631
9 years ago
barisusakli
56d325bd86
privilege fixes
9 years ago
Ben Lubar
26df552d55
Add edit, delete, and topics:delete permissions for users acting on their own posts
9 years ago
barisusakli
ded69e8373
closes #4677
9 years ago
barisusakli
825ecce0df
closes #4643
9 years ago
barisusakli
b6ddbc3071
closes #4111
9 years ago
barisusakli
f3d2ad5f1f
lets break some themes :evil:
9 years ago
Julian Lam
088940d4c7
Squashed commit of the following:
...
commit 49e6c0040cc82c1e2684933a8e167ef14854aff8
Author: Julian Lam <[email protected] >
Date: Thu Feb 25 16:12:15 2016 -0500
added recording and charts for topic and post counts globally and by cid
commit e02ff70757f778aa016fbc42ef10a5da2d07a9d9
Author: Julian Lam <[email protected] >
Date: Thu Feb 25 15:35:49 2016 -0500
added labels to charts
commit e75d83bf3886e5183bcf5fcd848d71c513761e01
Author: Julian Lam <[email protected] >
Date: Thu Feb 25 13:30:47 2016 -0500
added per category graphs to ACP management page
commit e3f543200950925cc9e8bf33cccb592f949a100e
Author: Julian Lam <[email protected] >
Date: Thu Feb 25 12:36:11 2016 -0500
updated analytics to move helper methods to analytics lib and sending per category analytics to ACP page
commit 01891d8f7c408925fcdad18dcaa941e5ebbeb9b2
Author: Julian Lam <[email protected] >
Date: Wed Feb 24 16:48:55 2016 -0500
saving per-category analytics, and updated the writeData method to use async for "clarity"
9 years ago
barisusakli
2b90040c31
closes #4236
9 years ago
Julian Lam
fcb381f922
Fixes #3695
...
Guests now trigger topic notifications, and the translator has
been updated so that translations inside translations are
handled in a way that doesn't cause the translator to explode.
10 years ago
barisusakli
518552de64
dont calculate pid index on new replies
10 years ago
barisusakli
46c2563164
removed rooms.js removed browsing users, removed chat syncing across sockets
...
use lastonline for online detection
10 years ago
barisusakli
16a65c8ffc
closes #3754
10 years ago
barisusakli
75e2228989
closes #3689
10 years ago
barisusakli
9ff3be67db
generic check length method
10 years ago
barisusakli
501bfbfc47
closes #3611
10 years ago
barisusakli
f7aef56e66
closes #3529
10 years ago
barisusakli
e171ba59ac
if no tags are passed in assume 0 tags
10 years ago
yariplus
e112190bee
Fix maximumTagsPerTopic
10 years ago
yariplus
13e12ba3a5
Add minimum tags per topic setting.
10 years ago
barisusakli
5445e32522
2 new hooks
10 years ago
psychobunny
9cdc2e5a2d
closes #3147 properly
10 years ago
psychobunny
93170ca106
closes #3147
10 years ago
Julian Lam
fc1b0c8d24
allowing topic, post, and user creation to specify a timestamp for insertion into the past
10 years ago
barisusakli
1f06f90a50
closes #3051
...
updated lru to latest
created new files posts/cache.js posts/parse.js posts/edit.js
10 years ago
barisusakli
1910fdb977
fix xss on guest handles, make sure guest handlers arent longer than max username length
10 years ago
psychobunny
70bf518a02
define all required data at top of fn
10 years ago
barisusakli
b268927cf9
removedu if from filter:parse,post, parse strip teaser content
10 years ago
barisusakli
38726243fe
closes #2879
10 years ago
Barış Soner Uşaklı
8234e4cc07
new hook action:topic.reply
...
only fires on normal replies
10 years ago
barisusakli
fbcc7c4bc3
closes #2634
10 years ago
barisusakli
255f50343c
closes #2685
11 years ago
barisusakli
6ccdf187ea
closes #2595
11 years ago
barisusakli
7b49effc14
minor tweaks
11 years ago
Julian Lam
23b9b21cdd
better handling of guest handles in frontend, #2569
11 years ago
Julian Lam
325815a78d
showing guest handles in frontend UI #2569
11 years ago
barisusakli
f2b24eb72a
fix tests
11 years ago
barisusakli
ef3b6a2450
closes #2498
11 years ago
barisusakli
2579d2535d
closes #2396
11 years ago
barisusakli
642136f6f8
closes #2357
11 years ago
barisusakli
1ae39d638a
closes #2356
11 years ago
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, #2355
11 years ago
barisusakli
595ff1f4b1
closes #2303
...
see
https://community.nodebb.org/topic/3039/filter-post-parse-and-filter-post-parsesignature-changes
11 years ago
barisusakli
6802bf7ce9
closes #2284
11 years ago
barisusakli
9e8be432b3
notification changes
...
-only send a notification when the person you follow creates a topic
-you still get a notification per post if you are following a topic
-changed notifications.push so that it sends the notifications over a
period of time, currently to 50 users per second
-optimized topics.notifyFollowers and
user.notifications.sendTopicNotification, they no longer query the
database for the topic and post data instead they get it as params
-you can no longer follow yourself :)
-changed mongo sortedSetRemove so that it doesn't use $in if there is
only a single value to remove
11 years ago
psychobunny
d632ba2242
fix post crash from 712bd3938f
11 years ago
barisusakli
712bd3938f
parse post in Topics.reply not in Posts.create
...
makes importer faster if md plugin is enabled
11 years ago
barisusakli
327d1c1bec
some cleanup and callbacks for post
11 years ago
barisusakli
01f983e29c
markAsRead improvement
...
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
11 years ago
barisusakli
10b30e303b
mongo posting fix
11 years ago
barisusakli
74282ffeea
removed another unnecessary socket call
11 years ago
barisusakli
05fdc945f3
closes #1993
11 years ago
barisusakli
c9c454825e
closes #1369
11 years ago
barisusakli
e420ee5fb6
privilege fix for single category check
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
f31978aa2c
moved core notifications all the way to the end
11 years ago
barisusakli
82ffaad939
parseint
11 years ago
barisusakli
2c890ad609
moved pushUnreadCount
11 years ago
barisusakli
b2ece27263
topic post hook
11 years ago
barisusakli
c3a9767bf6
late night optimizations
...
-isMemberOfSets returns true/false instead of 1/0
-when loading the posts of a topic only get the userdata for each user
once, before this commit if a topic had 10 posts from 2 different users
we were getting the user data for each user 5 times (drunk)
-getVoteStatusByPostIDs and getFavouritesByPostIDs no longer make
pids.length calls to the db, they use isMemberOfSets now
-getUserInfoForPost renamed to getUserInfoForPosts and doesnt make
uids.length calls to db, uses getMultipleUserFields instead
11 years ago
barisusakli
4c2765a79c
closes #1679
11 years ago
barisusakli
e8b89513d4
some cleanup in addUserInfoToPost
11 years ago
barisusakli
b9139ef263
some escaping and fixed uploads in progress
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
55dbc5c823
closes #1612
...
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
11 years ago
barisusakli
746df87d89
upgrade tags to sorted set
11 years ago
barisusakli
56f442f283
remove punctuation and limit tag length
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
barisusakli
472e6b5206
privilege cleanup
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
Julian Lam
b5d4e62e70
fixed bug in privileges system, thanks TravisCI!
11 years ago
Julian Lam
7c8b442dcd
more updates to privileges revamp
11 years ago