Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
8 years ago
Julian Lam
860999fa6c
Merge remote-tracking branch 'origin/master' into develop
8 years ago
barisusakli
8d493bf3b0
post parse test
8 years ago
Julian Lam
6e7b505ea7
more linting
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
c18808fdeb
ESlint no-useless-concat, no-mixed-spaces-and-tabs
8 years ago
Peter Jaszkowiak
57f89663aa
ESlint radix
8 years ago
Peter Jaszkowiak
04bb6513b0
ESlint no-cond-assign, no-void, valid-jsdoc
8 years ago
Peter Jaszkowiak
32dc7c23ea
ESlint guard-for-in, no-nested-ternary
...
and operator-linebreak
8 years ago
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
8 years ago
Peter Jaszkowiak
1493afee2a
ESlint indent
8 years ago
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
8 years ago
Peter Jaszkowiak
feb8405f95
ESlint eol-last
8 years ago
Peter Jaszkowiak
f3a8256f35
ESlint strict
8 years ago
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
8 years ago
Peter Jaszkowiak
a5a3f3089a
ESlint no-mixed-operators
8 years ago
Peter Jaszkowiak
532951c24f
ESlint space-in-parens, block-spacing
8 years ago
Peter Jaszkowiak
b1b486f729
ESlint quote-props
8 years ago
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
8 years ago
Peter Jaszkowiak
1cf25f57fc
ESlint no-space-func
8 years ago
Peter Jaszkowiak
52f2028206
ESlint no-multiple-empty-lines
8 years ago
Peter Jaszkowiak
2ba46808a1
ESlint one-var, fix comma-dangle
8 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
8 years ago
Julian Lam
7f124a3ccf
Merge branch 'master' into develop
8 years ago
barisusakli
f4a6527ce6
getRecentPosterUids test
8 years ago
barisusakli
a143a15f5d
closes #5397
8 years ago
Julian Lam
76376f52c3
Merge remote-tracking branch 'origin/master' into develop
8 years ago
pichalite
9176f7e037
Only send isMain to hook instead of saving to post hash
8 years ago
pichalite
a3c05b2ea4
Send isMain to post.save filters
8 years ago
barisusakli
8f916343f0
closes #5361
8 years ago
barisusakli
938022a0f7
add postData to action:post.delete, closes #5360
8 years ago
barisusakli
dd9e286633
closes #5355
8 years ago
barisusakli
611be77361
closes #5353
8 years ago
Julian Lam
29c7ae7645
Merge remote-tracking branch 'origin/master' into develop
8 years ago
barisusakli
f505b47ac9
prevent crash if topic is not found
8 years ago
Julian Lam
76bcc1c327
Merge branch 'flagging-refactor' into develop
8 years ago
Julian Lam
ad633aad45
additional tests and proper handling for purged flag targets, #5232
8 years ago
Barış Soner Uşaklı
4ff3d06f90
escape labelColor, icon, cover:position, validate toPid
8 years ago
Julian Lam
1aa70c57eb
WIP
8 years ago
Julian Lam
f0936fcafb
fixes #5225
8 years ago
barisusakli
ee75c69817
post edit tests
8 years ago
barisusakli
1b34ebe230
closes #5133
8 years ago
barisusakli
218a1b7aab
closes #5015
8 years ago
Barış Soner Uşaklı
0c08e44a34
Merge pull request #5050 from BenLubar/replies-to-post
...
Add a sorted set for replies-to-this-post
8 years ago
yariplus
179b66d74a
flag tests
8 years ago
Ben Lubar
123c66e3ec
Cache the number of replies in the post object. See #5050 .
...
https://github.com/NodeBB/NodeBB/pull/5050#pullrequestreview-4248269
8 years ago
Ben Lubar
fae28ed3cc
Add an index for going from a post to its replies
8 years ago
barisusakli
777914b762
more api tests
8 years ago
barisusakli
c8b5c181ff
fix flag on redis
...
check if number is returned on tests
8 years ago
Timothy Fike
cfa5974515
Add oldTitle to topic edit hook
8 years ago
Julian Lam
3272c0b98c
linting
8 years ago
Julian Lam
7ba76fc0b6
showing assignee avatar in flags list
8 years ago
Julian Lam
ead4de6c6f
Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint
8 years ago
Julian Lam
e80400665e
closes #5111
8 years ago
barisusakli
5f16205d15
closes #5109
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
caf30b5580
use post
8 years ago
barisusakli
460ac17eaa
closes #4647
...
addm upvotes, downvotes and votes to getPostSummary
8 years ago
barisusakli
848065c820
remove empty fields from new posts
8 years ago
barisusakli
6f86621e30
closes #5096
8 years ago
Julian Lam
d1721303ab
fixes #5079 , fixes #5088
8 years ago
Julian Lam
597e375463
update state on new flag so action history is appended
8 years ago
Julian Lam
80fe6bde5d
removed 'No Assignee' option, updated flag saving logic
8 years ago
Barış Soner Uşaklı
9d0dc35703
closes #5081
8 years ago
barisusakli
2e6fc4d045
filterPidsByCid
8 years ago
barisusakli
2c140c2107
ability to filter flags by category
8 years ago
barisusakli
72c75bd781
add pagination to flags page
8 years ago
barisusakli
dc317d61b6
add missing next
8 years ago
Julian Lam
4897e861fb
handling errors :rage2:
8 years ago
Julian Lam
b12607b1de
added uid to flag history, fixed loading on IS, worked around tjs bug
8 years ago
Julian Lam
4e6b2555d0
moved flag history expansion to its own method, showing usernames in assignee history event
8 years ago
Julian Lam
d04a10225c
WIP showing updated flag data, history, updating flag data
8 years ago
Julian Lam
8dc57cba58
allowing updating of flag data
8 years ago
barisusakli
b0f630aaec
always use string as cache key
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
c8f270ec67
another validator.escape fix
9 years ago
barisusakli
805b452ae1
closes #4981
9 years ago
Mathias Schreck
ce9ee62fa0
Handle callback errors
9 years ago
barisusakli
56d325bd86
privilege fixes
9 years ago
Julian Lam
13a2e4cc3f
Revert "Send plugin `postData` changes up the line ( #4875 )"
...
This reverts commit 20024418d9
.
re: #4875
9 years ago
Peter Jaszkowiak
20024418d9
Send plugin `postData` changes up the line ( #4875 )
9 years ago
Mega
0f89fc8214
close #4822
9 years ago
barisusakli
789a3736af
closes #4820
9 years ago
barisusakli
e1ce9e0250
uid not used
9 years ago
barisusakli
f20efda911
call posts.relativeToAbsolute when needed
9 years ago
barisusakli
14b067a838
closes #4800
9 years ago
barisusakli
ecf0323dd0
closes #4688
9 years ago
Barış Soner Uşaklı
0e466122e2
closes #4717
9 years ago
Julian Lam
81bbe93640
fixes #4653
9 years ago
barisusakli
f9f4b3b91f
closes #4632
9 years ago
barisusakli
6392cd31df
closes #4618
...
dont need deleted check
9 years ago
barisusakli
eb0aea6390
add /user/<uid> and /post/<pid> redirects
...
change notifications to use new redirects
9 years ago
barisusakli
5e5e46e95f
closes #4499
9 years ago
Julian Lam
cb1920d45a
properly fixing #4583
9 years ago
Julian Lam
bd8fcb527b
closes #4583
9 years ago
barisusakli
ff88186d41
closes #4537
9 years ago
barisusakli
e564260650
moved groupTitle from user settings to user profile/edit
9 years ago
pichalite
485db7a479
fix for removing topic thumb on edit
9 years ago
Ben Lubar
1d9ff2bc70
save slug correctly on edit
9 years ago
psychobunny
294171b072
fixes potential XSS in usercard
9 years ago
barisusakli
c71ffed69c
closes #4362
9 years ago
barisusakli
00d5303e33
fix typo
9 years ago
barisusakli
c9ac1a4027
https://github.com/akhoury/nodebb-plugin-spam-be-gone/issues/46
9 years ago
barisusakli
f3d2ad5f1f
lets break some themes :evil:
9 years ago
barisusakli
46c8101c5c
closes #4152
9 years ago
barisusakli
d67c0e1b08
dont load all groups in topics
9 years ago
barisusakli
6be8675580
closes #4012
9 years ago
Julian Lam
bbc42a937e
fixed LRU cache problem
9 years ago
barisusakli
9f48d3e6d2
check pid before setting cache
9 years ago
barisusakli
1b7ca555e0
closes #3879
9 years ago
barisusakli
46c2563164
removed rooms.js removed browsing users, removed chat syncing across sockets
...
use lastonline for online detection
9 years ago
psychobunny
726c3802e1
isMainPost for post summary
9 years ago
psychobunny
3305256575
add fullname to user return as well
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
526afc0910
Merge remote-tracking branch 'origin/master' into user-icons
9 years ago
Julian Lam
098111ba5b
Fixes bug where if post edit was called without a title, NodeBB would crash
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
555c5b82da
check user settings
9 years ago
Julian Lam
f7f43de644
Merge remote-tracking branch 'origin/master' into user-icons
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
2d46d07f4f
return selectedGroup
9 years ago
barisusakli
47e2dd9478
closes #3107
9 years ago
barisusakli
1ceb1c6d5f
fix dismissAllFlags
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
b301daf126
check post exists before delete restore
9 years ago
barisusakli
f88d822fe2
make sure post exists before edit
9 years ago
Julian Lam
f6d5b52a8b
WIP user-icons
9 years ago
barisusakli
5950f97f96
more refactors
9 years ago
barisusakli
f005231996
closes #3664
9 years ago
barisusakli
8fb24f26e3
#3664 fix edit post
9 years ago
barisusakli
6f046af34b
fix callback
9 years ago
barisusakli
0c6495de72
moved postTools and threadTools into posts/ and topics/
10 years ago
Julian Lam
87111ee6be
fixed #3007
10 years ago
barisusakli
945a94f0ed
delete cache on current process first
10 years ago
barisusakli
e023d01616
closes #3327
10 years ago
barisusakli
ea818e2af8
closes #3259
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
d11bfab275
async posts/topics.js
10 years ago
barisusakli
2b90568157
removed getLatestTids, renamed getPostsByTid removed unused tid param
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
e75ec97049
closes #3121 -- if for any reason postData.content is not a string, make sure it is a string before it hits plugins.
10 years ago
Julian Lam
c004efee3f
closed #3084
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
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
barisusakli
cc6f37ac4e
added category bgColor/color to getPostSummary
10 years ago
barisusakli
878e548296
renamed end to stop globally
...
fixed getting favourites for admins
10 years ago
EvSpirit
0fcd4dee58
#2886 Check subcategories when showing category recent topics
10 years ago
barisusakli
b268927cf9
removedu if from filter:parse,post, parse strip teaser content
10 years ago
barisusakli
78c65aee05
even more search changes
10 years ago
barisusakli
868b2ff2b6
if no term is passed get count
10 years ago
barisusakli
c63d5f4b7a
test
10 years ago
Barış Soner Uşaklı
d2e8d4d86e
slice doesnt deep clone derp
10 years ago
Barış Soner Uşaklı
706527fa80
fix group titles
...
clone groups for each user
10 years ago
Barış Soner Uşaklı
cda38d6ed6
closes #2515
10 years ago
Barış Soner Uşaklı
a19b25a3b3
closes #2816
10 years ago
Barış Soner Uşaklı
5140e5db8d
closes #2759
10 years ago
Barış Soner Uşaklı
4c67fffabc
dont parse sig if its falsy
10 years ago
Barış Soner Uşaklı
c94c1430b7
api/post/pid route
10 years ago
psychobunny
13fa1f6b9a
require socket.io only when you need it, shaves off another 0.5s on load
10 years ago
barisusakli
56d18666d6
closes #2752
10 years ago
Barış Soner Uşaklı
743cd20441
closes #2267
10 years ago
barisusakli
10928ed11b
escape post content
10 years ago
barisusakli
f417e07b9d
user search changes
10 years ago
barisusakli
a77a761433
closes #1917
10 years ago
barisusakli
7b49effc14
minor tweaks
10 years ago
Julian Lam
325815a78d
showing guest handles in frontend UI #2569
10 years ago
barisusakli
e74d39889e
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
ef3b6a2450
closes #2498
10 years ago
psychobunny
63a5002b53
closes #2441
10 years ago
barisusakli
a69eafd9f7
added postcount to topic
10 years ago
barisusakli
21459fff84
use getPostsFromSet for recent replies
10 years ago
barisusakli
871cf8a3b7
shorter getTeasers
10 years ago
barisusakli
d0bc5ec9c7
client/topics.js refactor
...
ability to dismiss all flags
10 years ago
barisusakli
7f5984d1fd
removed dupe code
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
7225c0d45b
finish up posts refactor
10 years ago
barisusakli
d2cddc734b
fix flagging and post filter
...
cant flag posts that don't exist anymore
10 years ago
barisusakli
11dc477dde
posts/categories.js
10 years ago
Julian Lam
f9f1cf63cf
fixing topic deletion and purging
10 years ago
barisusakli
c18de5cdd2
posts/recent.js refactor
10 years ago
barisusakli
ef35b83806
use getPostsFields
10 years ago
barisusakli
263f479b20
posts.js refactor pt1
10 years ago
barisusakli
c56b9aafff
closes #2289 , replace Infinity with '+inf'
10 years ago
barisusakli
1ae39d638a
closes #2356
10 years ago
barisusakli
fcc42883ab
some checks for purge
10 years ago
barisusakli
b12476c422
if a post is purged, remove it from flagged posts as well
10 years ago
barisusakli
09bd42b9f6
removed deleted
10 years ago
barisusakli
b1d48df6d8
dont modify counts on soft post delete
10 years ago
barisusakli
f6f6ca7f76
closes #2132
10 years ago
barisusakli
b48d81310c
#2095
11 years ago
barisusakli
4736a68534
dont create term object on each call
11 years ago
barisusakli
fd12ec763a
sortedSetsRemove
...
instead of calling sortedSetRemove() one at a time for each id remove
value from multiple sortedSets with one db call
11 years ago
barisusakli
a4d4e53f45
speed up category purge
...
using eachLimit
dont emit stats on every topic delete
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
barisusakli
311a7ad5b9
#1281 topic purge
11 years ago