barisusakli
2d01fe78d0
removed privileges.posts.get from addPostData
...
privilege data is already available higher up
9 years ago
barisusakli
40e26d3b9d
removed unused requires
9 years ago
barisusakli
7e2fbfe3f4
modify topic isn't async
9 years ago
barisusakli
872080d832
dont mark read if topic is not in topics:recent
9 years ago
barisusakli
c1093bdeb7
topic exists checks
9 years ago
Julian Lam
97dd5500a1
Merge remote-tracking branch 'origin/master' into user-icons
9 years ago
barisusakli
75e2228989
closes #3689
9 years ago
barisusakli
b7ce4312a9
show toPid inline
9 years ago
Julian Lam
018af5fa22
accidentally used deprecated method, heh
9 years ago
Julian Lam
09d23c3dd0
Added support for a theme to generate a link back to a parent post
9 years ago
Julian Lam
9120cb8e82
missing values for teaser user icons
9 years ago
barisusakli
5950f97f96
more refactors
10 years ago
barisusakli
c0c38437a0
isAdminOrMod
10 years ago
barisusakli
f005231996
closes #3664
10 years ago
barisusakli
9ff3be67db
generic check length method
10 years ago
barisusakli
d7f82f96b1
remove threadTools require
10 years ago
barisusakli
777157c0d6
remove old postTools requires
10 years ago
barisusakli
0c6495de72
moved postTools and threadTools into posts/ and topics/
10 years ago
barisusakli
8af64ba984
closes #3626
10 years ago
barisusakli
51cdd0800c
simplified calculatePostIndices
10 years ago
barisusakli
501bfbfc47
closes #3611
10 years ago
barisusakli
a469ca2972
notification id change
10 years ago
barisusakli
f7aef56e66
closes #3529
10 years ago
barisusakli
ffff8093ba
make sure user is admin/mod before forking
10 years ago
barisusakli
3c63336063
another waterfall
10 years ago
barisusakli
8f98d03239
waterfall for topics
10 years ago
barisusakli
f6be4efe8b
when a post is moved update recent topics order
10 years ago
barisusakli
808d64e0d9
delete topic bookmarks on topic purge
10 years ago
barisusakli
47cc1083df
fix mark all read
10 years ago
Julian Lam
87111ee6be
fixed #3007
10 years ago
barisusakli
e171ba59ac
if no tags are passed in assume 0 tags
10 years ago
barisusakli
83ad4ab042
waterfall
10 years ago
Barış Soner Uşaklı
6bd131815f
Merge pull request #3256 from yariplus/mintags
...
Add minimum tags per topic setting.
10 years ago
yariplus
e112190bee
Fix maximumTagsPerTopic
10 years ago
Julian Lam
b83492daa2
Merge pull request #3048 from FokkeZB/image-scheme
...
Replace schemeless URLs for emails
10 years ago
barisusakli
81eeab42ed
category filter on /unread
10 years ago
barisusakli
072d287183
closes #3311
10 years ago
yariplus
13e12ba3a5
Add minimum tags per topic setting.
10 years ago
barisusakli
5445e32522
2 new hooks
10 years ago
barisusakli
fc99864c06
crash fix
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
d3b52136bd
fix suggested topics search
10 years ago
barisusakli
f55e8bc548
actually rename :dull:
10 years ago
barisusakli
2b90568157
removed getLatestTids, renamed getPostsByTid removed unused tid param
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
b7b44e13b1
added privileges.topics.filterUids
...
if a topic is deleted and user doesn't have permissions/admin/mod dont
send notifs
10 years ago
Fokke Zandbergen
86317a4b79
Replace schemeless URLs for emails
10 years ago
Barış Soner Uşaklı
617808d574
teaser is just reply, dont include mainPid
10 years ago
Barış Soner Uşaklı
e7dd881092
teaser fixes
...
if a post is deleted/restored update the teaser to the latest undeleted
pid, if all posts are deleted it will be set to null
10 years ago
Barış Soner Uşaklı
edb856ba90
fixed typo
10 years ago
Barış Soner Uşaklı
6e80dff188
closes #2968
10 years ago
Barış Soner Uşaklı
1e443551a5
added userslug
10 years ago
Barış Soner Uşaklı
b32d58e306
Merge pull request #3035 from FokkeZB/patch-3
...
Fix link in email notifications
10 years ago
Barış Soner Uşaklı
68835844b0
crash fix #3031
10 years ago
Fokke Zandbergen
3a090ef308
Fix link in email notifications
10 years ago
barisusakli
7fa014e5ad
closes #3016
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
878e548296
renamed end to stop globally
...
fixed getting favourites for admins
10 years ago
cismous
68cf6833b7
remove unneeded argument
10 years ago
Barış Soner Uşaklı
c7b5cd48ba
closes #2773
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
barisusakli
7dde229517
added filter:teasers.get
10 years ago
psychobunny
6acfec9d25
add teaser content to category view
10 years ago
Barış Soner Uşaklı
8234e4cc07
new hook action:topic.reply
...
only fires on normal replies
10 years ago
barisusakli
83663cf46b
removed unused require
10 years ago
barisusakli
f7f453f8cd
closes #2794
10 years ago
Barış Soner Uşaklı
0c903672d0
uid not used #1973
10 years ago
Barış Soner Uşaklı
e2b535dfaf
closes #1973
10 years ago
Barış Soner Uşaklı
c94c1430b7
api/post/pid route
10 years ago
barisusakli
fbcc7c4bc3
closes #2634
10 years ago
Barış Soner Uşaklı
f3d1e96c24
filter deleted topics on popular
10 years ago
Barış Soner Uşaklı
34c1d69ed3
added filter:tags.search
10 years ago
barisusakli
c859586269
calculate topic post indices instead of querying db
10 years ago
barisusakli
149120a186
fix notif url in topic notification email
10 years ago
barisusakli
39a75ea2d7
fix recent replies
10 years ago
barisusakli
255f50343c
closes #2685
10 years ago
barisusakli
c33b369858
closes #2658
10 years ago
Julian Lam
5a1c2b9ddf
booleanifying sendPostNotification user setting when requested, and now only sending the post notification if the user has flipped that option on in user settings... kind of an important thing to forget...
10 years ago
Julian Lam
bc9ede7b6c
changed emailer.send so that it processes a callback, if provided. Also added new option to receive emails every time a topic you subscribe to is posted to.
10 years ago
barisusakli
4b3aa26abd
closes #2633
10 years ago
barisusakli
cd99324286
closes #2413 , closes #2599
10 years ago
barisusakli
8f5bf1a7ed
closes #2587
10 years ago
barisusakli
6ccdf187ea
closes #2595
10 years ago
barisusakli
08c1dad3ee
topics.isFollowing works with multiple tids now
10 years ago
barisusakli
23f450adbd
delete topic post sorted sets on topic purge
10 years ago
barisusakli
5414c268a0
sort numerically
10 years ago
barisusakli
a77a761433
closes #1917
10 years ago
barisusakli
60f1b9679a
search filters
10 years ago
barisusakli
c1ac92ac19
popular topics will use topic creation time
10 years ago
barisusakli
7b49effc14
minor tweaks
10 years ago
Julian Lam
23b9b21cdd
better handling of guest handles in frontend, #2569
10 years ago
Julian Lam
9befa6aca7
proper handling of post editing, integration with ACP toggle, #2569
10 years ago
Julian Lam
325815a78d
showing guest handles in frontend UI #2569
10 years ago
barisusakli
8eb58bf5fe
check err
10 years ago
barisusakli
3d9e86d9b2
removed null
10 years ago
barisusakli
83312ad53a
faster getTeasers
10 years ago
barisusakli
bf3f20bf8b
removed extra comma
10 years ago
barisusakli
2c7d9e1a7c
store teaserPid in topic
...
-update teaser pid as necessary in addPostToTopic, removePostFromTopic,
post purge
-removed 20x db calls from getTeasers
-fixed scroll to post in sub folder install
-upgrade script to update topics with teaserPid
10 years ago
barisusakli
da4014eb71
dont allow move to same topic
10 years ago
barisusakli
8bba811aaf
closes #2522
10 years ago
barisusakli
52a53df80d
missing err check
10 years ago
barisusakli
f2b24eb72a
fix tests
10 years ago
barisusakli
ef3b6a2450
closes #2498
10 years ago
barisusakli
871cf8a3b7
shorter getTeasers
10 years ago
barisusakli
ee3b0c93c3
fix tag update
...
was hanging on tag remove, and wasnt updating if tag count didnt change
10 years ago
barisusakli
0a1fa72bd8
use loadMoreFromSet
10 years ago
barisusakli
8e114c2093
moved isAdminOrMod check out of getTopicsByTids
10 years ago
barisusakli
a75727bbbd
duh
10 years ago
barisusakli
653850661e
topics.getTopics doesnt take set param
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
barisusakli
545dbbf0df
check err and tids
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
barisusakli
962d14746e
trim tag after substr
...
this prevents spaces in the middle of the tag from being added to the db
10 years ago
barisusakli
a45858dacd
previous commit doesnt show unusud tags in admin
10 years ago
barisusakli
68e8039ac7
closes #2379
...
also fixed a bug where tags with 0 topics were showing up in /tags
10 years ago
barisusakli
2579d2535d
closes #2396
10 years ago
barisusakli
fa5ac04cd3
src/topics.js cleanup
10 years ago
Julian Lam
f9f1cf63cf
fixing topic deletion and purging
10 years ago
barisusakli
c56b9aafff
closes #2289 , replace Infinity with '+inf'
10 years ago
barisusakli
642136f6f8
closes #2357
10 years ago
barisusakli
1ae39d638a
closes #2356
10 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
10 years ago
barisusakli
595ff1f4b1
closes #2303
...
see
https://community.nodebb.org/topic/3039/filter-post-parse-and-filter-post-parsesignature-changes
10 years ago
barisusakli
df4b555717
less db calls
...
no db call for settings if uid 0
no db call for isFollowing if uid 0
10 years ago
barisusakli
c74370bfb1
removed recent/day week month
...
it starts with most recent 20 topics now and goes back instead of
showing empty if there are no new replies in the past 24 hours
10 years ago
barisusakli
782896997d
post count fix for post move
10 years ago
barisusakli
6802bf7ce9
closes #2284
10 years ago
barisusakli
d2334fbb4a
dont search empty string, get 20 tags instead of 10
10 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
10 years ago
barisusakli
761f56aeb1
removed most of the db.sortedSetCards
10 years ago
barisusakli
b1d48df6d8
dont modify counts on soft post delete
10 years ago
barisusakli
5de74914bd
moved updateCounters to purge
10 years ago
barisusakli
040d7b8424
limit unread to 100 tids
10 years ago
barisusakli
835c58d27d
mark read after infinite scroll
...
dont mark read if already read
10 years ago
psychobunny
d632ba2242
fix post crash from 712bd3938f
10 years ago
barisusakli
712bd3938f
parse post in Topics.reply not in Posts.create
...
makes importer faster if md plugin is enabled
10 years ago
barisusakli
cf5ac4fb74
filter before getting topics
10 years ago
barisusakli
31a1f85a7e
removed year from popular
10 years ago
barisusakli
2af077544b
make sure postcount isnt NaN
10 years ago
barisusakli
6aa53b8323
nextStart changes, fixed move topic notification text
10 years ago
barisusakli
2bc7007953
removed sendUnread function
11 years ago
barisusakli
5fc760c6c4
unread changes
11 years ago
barisusakli
998ed24589
check topic cid
11 years ago
barisusakli
21f65cbb6a
crash fix
11 years ago
barisusakli
4de658e096
checks
11 years ago