Barış Soner Uşaklı
573840ccbd
changed to title raw
9 years ago
barisusakli
2fc385f723
closes #4141 , closes #4149
9 years ago
barisusakli
1a87767c2c
removed extra isAdminOrMod check
9 years ago
barisusakli
add4e6ee5b
notifications.create can return null
9 years ago
barisusakli
04aea9ec22
closes #4094 , also add missing next to notifyFollowers
9 years ago
barisusakli
41d10d18a1
disable related topics if its set to 0
9 years ago
barisusakli
aa30973f0a
fix params
9 years ago
barisusakli
c28494724f
filter dupes
9 years ago
barisusakli
eb57276980
fix test
9 years ago
barisusakli
c10b2fdb60
closes #4022
9 years ago
barisusakli
7ad90b4ef6
closes #2659
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.
9 years ago
barisusakli
f73e6eb4a1
fix related
9 years ago
barisusakli
80544119dc
some changes to related code
9 years ago
psychobunny
339b4c30fc
ability to set maximum related topics rendered in ACP
9 years ago
psychobunny
ba719148c1
generic "related topics" functionality
9 years ago
Julian Lam
05df8900db
closes #3912
9 years ago
barisusakli
518552de64
dont calculate pid index on new replies
9 years ago
barisusakli
46c2563164
removed rooms.js removed browsing users, removed chat syncing across sockets
...
use lastonline for online detection
9 years ago
barisusakli
1ecf27417a
removed commented out stuff removed topics.enter
9 years ago
barisusakli
fb7f10d63d
closes #3821
9 years ago
barisusakli
f4bfcc7351
removed icon:bgColor and icon:text from db calls
...
calculates from username on the fly
9 years ago
Julian Lam
defceb6271
Merge remote-tracking branch 'origin/master' into user-icons
...
Conflicts:
src/controllers/index.js
src/topics/tags.js
9 years ago
barisusakli
efef0af6fa
tag fix
9 years ago
barisusakli
4ef2ae7ba2
update count even if its 0
9 years ago
Julian Lam
68c3f9d849
Squashed commit of the following:
...
commit 56582bc9eee5d81a01f42a28808b617b9c96873a
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 05:21:11 2015 -0400
added missing template
commit 6462a1626e7d8d77210b6e10eace5c9214335f33
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 05:19:07 2015 -0400
sitemap index
commit 3cfd56f1fbc8e03405dc394375bf5ff6eef21322
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 04:47:52 2015 -0400
sitemap routes, controllers, and library methods for pages, categories, and topics
commit e58e07c0881bdbe16d503b4679b85f761b02163c
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 04:07:39 2015 -0400
added groups to sitemap
commit 7ee584b632
Author: Julian Lam <julian@designcreateplay.com>
Date: Tue Oct 27 01:43:06 2015 -0400
If notification dropdown is double-clicked, all notifications are marked read
commit 488f147bef
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 22:39:19 2015 -0400
closes #3781
commit 5e1bd58a02
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 22:28:30 2015 -0400
closes #3782
commit 57d3980267
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 22:16:08 2015 -0400
closes #3790
commit 555c5b82da
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 21:19:20 2015 -0400
check user settings
commit 5454862c1c
Author: barisusakli <barisusakli@gmail.com>
Date: Mon Oct 26 20:26:02 2015 -0400
wait for all callbacks when creating tags
commit 051c5077eb
Merge: 839fd93
e0e04ef
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Mon Oct 26 09:54:12 2015 -0400
Merge pull request #3792 from drlogout/master
Fixed wrong method name in socket.io/groups.js from isAdmin to isAdmi…
commit e0e04ef892
Author: Christian Nolte <hello@noltech.net>
Date: Mon Oct 26 14:50:32 2015 +0100
Fixed wrong method name in socket.io/groups.js from isAdmin to isAdministrator
commit 839fd935ad
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 21:54:35 2015 -0400
add back thread tools filter
commit 37060bf1a3
Merge: 5820a19
bf918bd
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date: Sun Oct 25 18:13:06 2015 -0400
Merge pull request #3787 from cubehouse/patch-1
Upgrade script fails on some consoles
commit 5820a193f6
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 17:04:46 2015 -0400
closes #3789
commit 0d88d52557
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 17:03:33 2015 -0400
up theme
commit 9bc43ba5e1
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 16:57:42 2015 -0400
closes #3788
commit aafd4b6984
Author: barisusakli <barisusakli@gmail.com>
Date: Sun Oct 25 15:56:17 2015 -0400
closes #3786
commit bf918bd016
Author: James Holding <cubehouse@users.noreply.github.com>
Date: Sun Oct 25 10:14:00 2015 +0000
Upgrade script fails on some consoles
The upgrade script errors/fails on some consoles if the stdout.columns isn't set (my console did this when upgrading a Docker instance of NodeBB).
Checking for stdout.columns before using, falling back to a couple of spaces for slightly prettiness if we can't work out the console width.
9 years ago
barisusakli
5454862c1c
wait for all callbacks when creating tags
9 years ago
Julian Lam
b52475c270
Merge remote-tracking branch 'origin/master' into user-icons
...
Conflicts:
public/src/client/account/edit.js
src/middleware/middleware.js
src/socket.io/meta.js
src/socket.io/user/picture.js
src/user.js
src/views/admin/manage/group.tpl
9 years ago
barisusakli
5e5cafafd0
make one socket call to load unread counts
9 years ago
barisusakli
16a65c8ffc
closes #3754
9 years ago
barisusakli
9ac4704848
more search cleanup
9 years ago
Julian Lam
4c96f95330
Merge remote-tracking branch 'origin/master' into user-icons
...
Conflicts:
public/src/app.js
public/src/client/account/edit.js
9 years ago
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
9 years ago
barisusakli
c0c38437a0
isAdminOrMod
9 years ago
barisusakli
f005231996
closes #3664
9 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
10 years ago
barisusakli
5fc760c6c4
unread changes
10 years ago
barisusakli
998ed24589
check topic cid
10 years ago
barisusakli
21f65cbb6a
crash fix
11 years ago
barisusakli
4de658e096
checks
11 years ago
barisusakli
f3f4711a60
wait for callback
11 years ago
barisusakli
327d1c1bec
some cleanup and callbacks for post
11 years ago
psychobunny
45383ce21e
posts.getPostsByTid and posts.getPostsByPids now require a uid passed in
11 years ago
barisusakli
b48d81310c
#2095
11 years ago
barisusakli
0a936e5dd1
unreadTids
11 years ago
barisusakli
51eac70f67
fixed derp
11 years ago
barisusakli
32257c9b2f
updateUnreadCount
11 years ago
barisusakli
b3d9db10f2
notification fixes
...
made post notifications unique per post so they dont overwrite other
types.
11 years ago
barisusakli
493d0dea1e
part 1 of notif refactor
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
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
0d5605ab35
trace in addPostData
11 years ago
psychobunny
099a04c1c8
disabling pushUnreadCount for now, perhaps this might be good on redis too?
11 years ago
psychobunny
07376c9a4c
look for unread only for today
11 years ago
barisusakli
3f96532c3f
disabled 2 calls
11 years ago
barisusakli
8e86f4b787
crash fix
11 years ago
barisusakli
9fac18c4b6
derp
11 years ago
barisusakli
10b30e303b
mongo posting fix
11 years ago
barisusakli
4736a68534
dont create term object on each call
11 years ago
barisusakli
74282ffeea
removed another unnecessary socket call
11 years ago
barisusakli
761d59f5ec
each limit on pushUnreadCount
11 years ago
barisusakli
1ed4c984bb
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
barisusakli
0b79a73732
crash fix
...
if composer is opened in a topic that was deleted/purged
11 years ago
barisusakli
14fcd36134
closes #2028
11 years ago
barisusakli
4f5c78d675
merge
11 years ago
barisusakli
537dea4e4b
crash fix
11 years ago
barisusakli
e6b3da18f2
merge
11 years ago
barisusakli
87c8cd2fb0
another crash fix
11 years ago
barisusakli
197226eea6
closes #1742
11 years ago
barisusakli
acef614147
removed 2 BS classes
11 years ago
barisusakli
94c765fa25
closes #1996
11 years ago
barisusakli
eef200be10
closes #1284
11 years ago
barisusakli
62dd056faa
tag search
11 years ago
barisusakli
d411ed5c28
closes #1995
11 years ago
barisusakli
05fdc945f3
closes #1993
11 years ago
barisusakli
ca90afd544
#1992
...
(drunk) not even done yet
11 years ago
barisusakli
a9ca035e1e
gotto check read after each pass
11 years ago
barisusakli
522fda2e58
closes #1936
11 years ago
barisusakli
cd096f8832
sortedSetScores for tag counts
11 years ago
barisusakli
e10eaf0d50
added tag counts to api return
11 years ago
barisusakli
d91fa5747d
closes #1964
11 years ago
barisusakli
c9c454825e
closes #1369
11 years ago
barisusakli
ceaedf9e2f
closes #1941
11 years ago
barisusakli
b5cc852551
do a single filter after getting all unread tids
11 years ago
barisusakli
528ee335d5
optimize getTopicsByTids and getTeasers
11 years ago
barisusakli
95979d9d97
closes #1947
11 years ago
barisusakli
e420ee5fb6
privilege fix for single category check
11 years ago
barisusakli
c217834165
fixed typo
11 years ago
barisusakli
7bfec99df1
permission fix for popular page
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
f71bd41408
more fixes
11 years ago
barisusakli
d7520508e3
#1375 part1
11 years ago
barisusakli
fa8fcc00ec
fix tag counts
...
if a tag is removed from a topic, update number of topics in that tag
11 years ago
barisusakli
bc2f7339ee
getLatestUndeletedPid will return string #1884
11 years ago
barisusakli
2bf38ec84b
handle pinned topics
11 years ago
barisusakli
82ffaad939
parseint
11 years ago
barisusakli
a69973e7a7
topics.getPids will return mainPid as well
11 years ago
barisusakli
2c890ad609
moved pushUnreadCount
11 years ago
barisusakli
67d5307a8f
small change to tag search
11 years ago
barisusakli
6d8cc5648c
some tag hooks/filters
11 years ago
barisusakli
0362c1a3b0
show day/week/month/year popular topics
11 years ago
barisusakli
b2ece27263
topic post hook
11 years ago
psychobunny
1d8aeda9c2
closes #1814
11 years ago
barisusakli
d57f183f42
privileges.posts.get takes an array of pids now
11 years ago
barisusakli
6cd29a31a4
removed timing
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
bd4722665d
closes #1725
...
removed move button from main post, disable moving main post, fixed
moving posts.
11 years ago
barisusakli
0987aed0e6
callback undefined error
11 years ago
barisusakli
78509b4ad0
use sortedSetsRemove to remove tid from tags
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
7c84680b06
closes #1709
11 years ago
Charles
b811bef42c
Don't decrease postCount when purging post from a deleted topic
11 years ago
Charles
1448bed057
Remove console.log
11 years ago
Charles
31f1914ec8
Update global postCount when deleting/restoring topic
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
311a7ad5b9
#1281 topic purge
11 years ago
barisusakli
a65d612907
#1281 post purge
11 years ago
barisusakli
eb1b48092d
closes #1666
11 years ago
barisusakli
b7f71ca0b4
fixes removePostFromTopic
...
remove the pid from the votes set too
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
6b93095204
more link fixes
11 years ago
barisusakli
e20920c536
closes #1630
11 years ago
barisusakli
0574022e02
fixes to infinitescroll
11 years ago
barisusakli
55dbc5c823
closes #1612
...
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
11 years ago
barisusakli
18810e7203
allow dots in tags
11 years ago
barisusakli
9079d7f26f
fix create tags crash if no callback is passed
11 years ago
barisusakli
1a753bf64d
fixes forking
...
if there are no tags just return
11 years ago
barisusakli
e505a9a6ac
changed order of cleanup
11 years ago
barisusakli
dbf07f786d
closes #1565
11 years ago
barisusakli
b8b482e287
closes #1555
11 years ago
barisusakli
fa1275c03a
closes #1557
11 years ago
barisusakli
746df87d89
upgrade tags to sorted set
11 years ago
barisusakli
87fe5bf1bb
delete tag if it has no topics left
11 years ago
barisusakli
56f442f283
remove punctuation and limit tag length
11 years ago
barisusakli
d8fd29581e
deleting a user will delete topic tags too
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
barisusakli
4234057821
first pass for #1518
...
this only handles postTools privileges, topic and category will follow
11 years ago
barisusakli
f29dda4b92
fixed 1 more
11 years ago
Julian Lam
66225237a0
view_deleted fix for privs
11 years ago
Julian Lam
34b522f36d
missed a bunch of "editable" checks
11 years ago
Julian Lam
b5d4e62e70
fixed bug in privileges system, thanks TravisCI!
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
af6a40e23c
use thumb directly
11 years ago
barisusakli
75824c0d81
dont send notifications for guests
11 years ago
barisusakli
cd3bb77a7f
added reqFromSocket to topic posting
...
new filter topic.post
11 years ago
Aziz Khoury
65ff72b0e3
its 3am
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
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
1000df09ff
replaced hardcoded english string
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
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
barisusakli
e2d0d4db5c
added error and success language files
...
removed some code from server side that was emitting alerts
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
bdefebeea0
reverting some of my code and fixed #1322 properly
11 years ago
Julian Lam
90616c6e7b
closed #1322
11 years ago
barisusakli
e4fbb31e68
some cleanup
11 years ago
barisusakli
038a833125
check to see if there are topics
11 years ago
barisusakli
04e0c58b84
fixes realtime update of home
11 years ago
barisusakli
ca0dbf84be
no need for exists check
...
if topic doesnt exist topicData will be null
11 years ago
barisusakli
db3632557e
moved notification push out of markAsRead
11 years ago
barisusakli
7a1037dc11
moved posts and recent to new files
11 years ago
barisusakli
38733ef94b
moved reply post create to topics/create.js
11 years ago
barisusakli
478429af3a
moved fork to new file
11 years ago
barisusakli
bac3cf03cb
moved unread to new file
11 years ago