Julian Lam
8f7416d1cb
updated acp category privilege settings so that not all groups are shown in privilege table, closes #3036
10 years ago
Julian Lam
cc2a92d73f
allowing array of privileges to be passed into setPrivilege in category admin socket listener
10 years ago
Julian Lam
cbb0542984
changed behaviour of privilege table so that groups without explicit privileges are not shown in the privilege table
10 years ago
barisusakli
a0a8d328d0
closes #3182
10 years ago
barisusakli
d8e52d7ebf
closes https://github.com/NodeBB/nodebb-theme-persona/issues/87
10 years ago
barisusakli
714c7356f9
closes #3176
10 years ago
barisusakli
4b4be3d4cc
fix minSchemaDate
10 years ago
Julian Lam
45589fbeca
fixed bug where the selected language in the ACP was arabic, if no language was set at all"
10 years ago
barisusakli
5ce617ca5a
fix case in search
10 years ago
barisusakli
63489457fe
group search change
10 years ago
psychobunny
1c4d78eb2d
return back data in cb similar to topics.post call
10 years ago
barisusakli
990b02d0db
fix crash @julianlam
10 years ago
barisusakli
95e9d7c798
filter messages
10 years ago
Kalina Panayotova
118de65f5e
Bugfix: use sorted set to get user followers in sendTopicNotificationToFollowers
10 years ago
psychobunny
117bb407b0
/compose route
10 years ago
barisusakli
39c3afec62
removed updateUserCount
10 years ago
Timothy Fike
09ee1ae77e
Call Plugins.addLanguages on reload. Fixes #3153
...
Ensures routes are set correctly for custom languages.
10 years ago
barisusakli
8acb0ca304
incr on user create
10 years ago
Julian Lam
d90f3649a6
minor tweak to retrieval of category listing in ACP so that hidden categories (those with order of -1) are not retrieved
10 years ago
Julian Lam
7125d902d0
prettifying things
10 years ago
Julian Lam
d052db85e0
fixed bug where isMemberOfGroupList would return null if there were no groups to check, instead of false
10 years ago
Julian Lam
aae3ac6b98
updated title parsing methods to call a new hook: filter:parse.title
10 years ago
Julian Lam
830e1a7a3d
fixed issue where privileges were not correctly determined if you were granted moderator access to a category as a group (vs as a single user)
10 years ago
Julian Lam
58b0b6011f
removed console.log from upgrade script (@barisusakli :rage2:)
10 years ago
Julian Lam
927971b392
added hooks for following/follower retrieval
10 years ago
barisusakli
3341fc5644
fix method name
10 years ago
barisusakli
4f37d268b6
removed sort by username
10 years ago
barisusakli
55e20b28ec
upgrade script
10 years ago
barisusakli
5f23f04423
Merge remote-tracking branch 'origin/master' into user-search
10 years ago
Julian Lam
972ae42d91
pruned upgrade scripts in preparation for 0.7.0, ping @barisusakli
10 years ago
barisusakli
fd817e865e
added pagecount
10 years ago
barisusakli
fbdae8fe1d
return time and matchcount on page switch
10 years ago
barisusakli
addd6ecde7
check error fix ip
10 years ago
barisusakli
aa577f4adc
part 1
...
no upgrade script yet
10 years ago
psychobunny
9cdc2e5a2d
closes #3147 properly
10 years ago
psychobunny
93170ca106
closes #3147
10 years ago
psychobunny
1550f82652
closes #2928
10 years ago
pentode
297b5906ed
add feature to define mongo client connect options via config.json
10 years ago
Julian Lam
8aac4bdfa1
fixed issue where Groups.getUserGroups called getGroupsData on all groups, resulting in a very unscalable method if called on forum with thousands of groups
10 years ago
Julian Lam
8bc5330e89
some minor cleanup in the async tree...
10 years ago
Julian Lam
9daa2701cd
Merge branch 'hook_favourite_unfavourite' of https://github.com/acardinale/NodeBB into acardinale-hook_favourite_unfavourite
10 years ago
Julian Lam
de71910f4c
documentation is actually at docs portal, not wiki
10 years ago
barisusakli
48b5d90a9e
closes #3150
10 years ago
barisusakli
20983c43f4
fix user privileges
10 years ago
psychobunny
e6beeb62cf
{config.relative_path} instead of {relative_path}
10 years ago
barisusakli
5c4e988232
fix user.csv data
10 years ago
Julian Lam
220b42706f
adding a check so that websocket method in notif pushing isn't called if the socket server isn't initialised
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
30a9b66b31
fix room enter
10 years ago
barisusakli
d9af2242a7
store id as int
10 years ago
barisusakli
10de7a92e4
dont let joining other uid rooms
10 years ago
barisusakli
36853f4ad8
filter priv/registered-users/guests in groups.list
10 years ago
barisusakli
68ceaadad1
removed static 404/403/500 routes
10 years ago
Aziz Khoury
35c426ee1c
guard against NULL mids/messages
...
I've seen them few times during import testing. In case the conversation does not exists.
10 years ago
Andrea Cardinale
1d22a2d46b
Add hooks: action:post.favourite and action:post.unfavourite
10 years ago
barisusakli
93fd938913
removed setTimeout
10 years ago
barisusakli
224e3dc263
fix settings page
10 years ago
barisusakli
484ad33549
convert key, value index to sparse/unique
10 years ago
barisusakli
29aa858a11
fix admin/advanced/database values
10 years ago
psychobunny
e070a9777e
#3125
10 years ago
barisusakli
ba9a68c59c
async.waterfall
10 years ago
barisusakli
d3b52136bd
fix suggested topics search
10 years ago
barisusakli
f55e8bc548
actually rename :dull:
10 years ago
barisusakli
dce9a19882
resolve method name collision, getPostsFromSet -> getPostSummariesFromSet
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
psychobunny
0f199af84d
moved widget code out of controller; cleaned up code into a folder
10 years ago
psychobunny
394d55de99
closes #3125
10 years ago
psychobunny
2ed0f25d45
fixed widgets page rendering, along with tjs 0.2.2
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
psychobunny
9ca7243124
Merge branch 'master' of https://github.com/NodeBB/NodeBB
10 years ago
psychobunny
f2a91ef655
updating widget containers for latest tjs
10 years ago
barisusakli
9518c006b5
fix userlang
10 years ago
Julian Lam
ca1ada9dc5
Merge pull request #3122 from pichalite/master
...
completes fix for #3119
10 years ago
barisusakli
74d6104072
correct upgrade date
10 years ago
barisusakli
c6a05930aa
fix \uff0e in emails
10 years ago
barisusakli
7b550b13b9
display both redis/mongo info if available
10 years ago
barisusakli
0083d4ff1c
return user settings in api
10 years ago
pichalite
732f6d7d80
Update plugins.tpl
10 years ago
barisusakli
27bf1c1b2e
fix privilege upgrade script
10 years ago
barisusakli
ffac8eb41d
closes #3118
10 years ago
barisusakli
9d273d3a32
fixed date log
10 years ago
Barış Soner Uşaklı
c74d32a172
fix off by 1 error on user/topics posts #3120
10 years ago
Barış Soner Uşaklı
eaa89a4da7
added checks to skip empty/non-existing hashes
10 years ago
Barış Soner Uşaklı
c56b30ff60
convert uid mappings to sorted sets
...
email:uid, username:uid, userslug:uid, fullname:uid all converted to
sorted sets
prevents hitting mongodb document size limit
10 years ago
Julian Lam
ba36230262
closed #3119
10 years ago
psychobunny
d1231cf4a8
closes #3116
10 years ago
psychobunny
c1dd0dd669
fixing nodebb startup on windows
10 years ago
psychobunny
954212fc9f
emit templates:compiled event if skipped
10 years ago
Julian Lam
e18f6c95fa
added link to 'install plugins' page in acp installed plugins menu dropdown
...
also fixed annoying white background when a menu item other than the one active is focused upon
10 years ago
barisusakli
b561c49de5
moved filter:users.search before pagination
10 years ago
barisusakli
73d65dd123
filter:users.search filter:users.build hooks
10 years ago
barisusakli
b48fdfadad
set group member count to 1 on group creation
10 years ago
barisusakli
4f8a1174a1
default about me length
10 years ago
barisusakli
1ee6255450
closes #3104
10 years ago
barisusakli
a924c456b9
closes #3113
10 years ago
barisusakli
7312540b72
closes #3109
10 years ago
barisusakli
122aacdc57
check err item
10 years ago
barisusakli
9749658d35
added about me field
10 years ago
barisusakli
3063da83ef
argument fix for static/action hooks
10 years ago
barisusakli
163b70fba9
fix acp logout
10 years ago
Julian Lam
a462b10f94
nevermind... (@barisusakli 🧌 )
10 years ago
Julian Lam
379bdd12e0
fixed improper parsing of url in loader, and updated mongo init to not send anything in cb except err. Also updated webserver init so that it doesn't expect stuff from static:app.preload
10 years ago
Barış Soner Uşaklı
3b93182ec1
Merge pull request #3091 from Icehunter/master
...
use replicaset if configured
10 years ago
barisusakli
2286d1137b
remove tab
10 years ago
barisusakli
d946a2fcbd
closes #3098
...
wait for templates to compile even if using clustering
fix emitter.all
upgrade.check error first
removed plugins.ready, using callback on plugins.init
removed webserver.init, using webserver.listen
10 years ago
barisusakli
51212c2bfa
closes #3096
10 years ago
psychobunny
2fbe7a8190
webserver: only start listening _after_ everything is compiled
10 years ago
Ryan Wilson
6f66209428
use tabs per barisusakli
10 years ago
psychobunny
8bb73192cf
closes #3073
10 years ago
barisusakli
b9172358dd
#3093
10 years ago
Julian Lam
84cbdc1358
changed the password confirmation form field in the web installer so that it doesn't clobber some env vars, and allowed admin username and email to be set via env var
10 years ago
Julian Lam
5a6c46a0a0
updating group creation method to send back group data in the return callback, and to include the ownerUid if one was passed in
10 years ago
Ryan Wilson
c354929569
handled port as int with toString()
...
Signed-off-by: Ryan Wilson <syndicated.life@gmail.com>
10 years ago
Ryan Wilson
ec6c618751
use replicaset if configured
...
Signed-off-by: Ryan Wilson <syndicated.life@gmail.com>
10 years ago
Julian Lam
275a9ef476
Reverted the last update to web installer, and updated it so environment variables always take precedence over form input, and form is hidden if database value is passed in
10 years ago
Julian Lam
5487da9030
updated web installer to auto-select the database if passed in via env var
10 years ago
Julian Lam
67eef3653b
updated the web install form to populate the database fields if a value is passed in
10 years ago
barisusakli
dc16a665ae
page checks #3089
10 years ago
barisusakli
47a2377229
closes #3089
10 years ago
barisusakli
e5928f330e
closes #3085
10 years ago
barisusakli
d6949815ad
#3085
10 years ago
Barış Soner Uşaklı
21b634e03f
closes #3081
10 years ago
Barış Soner Uşaklı
f44e850fa0
revert last change, breaks ajaxify
10 years ago
Barış Soner Uşaklı
5d5346c4f9
allow overriding template name
10 years ago
Julian Lam
a54dccdf3b
closed #3068
10 years ago
Julian Lam
c004efee3f
closed #3084
10 years ago
psychobunny
a9015cee03
Merge remote-tracking branch 'origin/master' into web-install
10 years ago
psychobunny
ddd5c49461
installer ux fixes
10 years ago
psychobunny
7488fa0416
cleanup; fixes
10 years ago
psychobunny
d72d1a1641
save values from form
10 years ago
psychobunny
45e216edef
installer: database error messages
10 years ago
psychobunny
8556ddd9a0
installation spinner; started launch page
10 years ago
psychobunny
c8000d36db
hint
10 years ago
barisusakli
d99e028a1e
only call sortedSetCard if using pagination
10 years ago
psychobunny
220dec5711
installer: validate before sending form
10 years ago
barisusakli
dd61bdb9c6
closes #3038
10 years ago
psychobunny
ee78281f35
console.log
10 years ago
barisusakli
6dfb229c66
closes #2842
10 years ago
psychobunny
948ad5fb44
Merge remote-tracking branch 'origin/master' into web-install
10 years ago
barisusakli
a2497b050e
crash fix
10 years ago
Julian Lam
8f5c393b12
only exposing password at setup end if one is autogenerated
10 years ago
barisusakli
7632997a99
closes #3045
10 years ago
Julian Lam
d7444e5edf
removed from required values for env setup
10 years ago
Julian Lam
b604c9d5e1
updated install script to accept environment variables
...
updated upgrade script to execute callback when present
updated install script to not fire upgrades unless necessary
updated install script to write directly to console, and not through winston
if a password is not provided, one is auto-generated
10 years ago
psychobunny
3d9519bdec
installer: actually installing nodebb
10 years ago
psychobunny
e2215b9912
don't blindly ignore error in install.js
10 years ago
psychobunny
2646b38dd2
woops, added too many namespaces
10 years ago
psychobunny
20a1ab185c
small refactor to install/web.js
10 years ago
psychobunny
a386974585
installer: database switcher
10 years ago
psychobunny
bf13b6160f
load database questions
10 years ago
psychobunny
a11652ead1
cleanup installer.less
10 years ago
psychobunny
8a7aaf8f76
installer: validate email
10 years ago
psychobunny
ab2272b6b5
installer: confirm password
10 years ago
psychobunny
fe40d0f9e8
installer: password validation
10 years ago
psychobunny
9fba76dc43
fixed header links for installer
10 years ago
psychobunny
22d2ba5d6b
mobile optimization for installer
10 years ago
psychobunny
50b9a7096e
minor ux
10 years ago
psychobunny
25e2e72366
got username validation working
10 years ago
psychobunny
1f2bd9390d
compiling JS as well now
10 years ago
barisusakli
828980f3e6
closes #3008
10 years ago
psychobunny
55c969ab23
Merge remote-tracking branch 'origin/master' into web-install
10 years ago
barisusakli
3ffd3a5d3c
closes #2970 , closes #3078
10 years ago
psychobunny
005c95277b
using less for web installer
10 years ago
psychobunny
2ffdec5386
styled active clas
10 years ago
psychobunny
ee94d72c59
themed installer, started form
10 years ago
psychobunny
60d655e32b
installer - got the basics in
10 years ago
Julian Lam
610d687a96
moved favicon into default link tags, and fixed bug that caused link tags to not show up
10 years ago
Julian Lam
a72501f3b4
closed #3076
10 years ago
Julian Lam
c26f274392
moved meta and link tag parsing out to a new module, meta/tags
10 years ago
Julian Lam
cc4e626f5f
updated middleware.renderHeader so that navbar config is retrieved in parallel like everything else, instead of retrieved first. (ping @psychobunny)
10 years ago
barisusakli
625a0dcbfa
closes #3074
10 years ago
barisusakli
0c91391c75
display posts cache capacity/post count
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
Julian Lam
9e994f3baf
finally closed #2887 -- added implicit privilege markers to client-side privileges table
10 years ago
barisusakli
759bdd55f0
closes #3065
10 years ago
barisusakli
37a7ac5196
closes #3063
10 years ago
barisusakli
50feb7a766
default to zero if post_count topic_count is falsy
10 years ago
barisusakli
c24dce4dd6
closes #3062
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
Julian Lam
8ee40ece71
removed checks that would send the user to 404 if the slug didn't match, restored old behaviour of redirecting to the correct slug. #3047
10 years ago
barisusakli
e8afe329a9
pagination
10 years ago
barisusakli
0d6772c30b
warning/errors on invalid ports config
10 years ago
Julian Lam
5a0c657587
re: #3043 , if no address is entered, "http://" won't get automatically saved in
10 years ago
Julian Lam
5d495483ad
using url module to normalise passed-in url prior to saving in db, closes #3043
10 years ago
Julian Lam
a5832624d7
added optional parameter to define timestamp when sending a chat message, for use in write API
10 years ago
psychobunny
c188fa2a1f
closes #3049
10 years ago
Barış Soner Uşaklı
f71c82f653
closes #3046
10 years ago
Fokke Zandbergen
1eee970ebb
Allow NodeBB version to be set via config to package.json version can be incremented when needed.
10 years ago
Julian Lam
848babcdfa
Merge pull request #2778 from ahwayakchih/support-more-config-defaults-for-setup
...
This adds more setup defaults from config.
10 years ago
Fokke Zandbergen
86317a4b79
Replace schemeless URLs for emails
10 years ago
barisusakli
d146547b53
if topic doesnt have teaser use main post in rss feed
10 years ago
Julian Lam
0e9a096c25
moved some socket notifications to notifyUser instead of in websocket layer (again, @barisusakli)
10 years ago
Julian Lam
d40ca1e3c8
moved a number of sanity checks to also be in canMessage, so they are all consolidated into one exported method. (@barisusakli)
10 years ago
Julian Lam
078d76a11b
removed sanitisation of chat message body, as messages are "parsed as a post" now.
10 years ago
barisusakli
4e793995a0
dont add http:// to website if its empty
10 years ago
Barış Soner Uşaklı
c9b5948034
closes #2927
10 years ago
Julian Lam
4fffe4da94
moved plugin route reloading outside of plugin initialisation, so plugins can add a hook listener before core routes have been added
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ı
ba1afdf879
dont crash if callback isnt supplied fixes #3033
10 years ago
Barış Soner Uşaklı
68835844b0
crash fix #3031
10 years ago
Fokke Zandbergen
49e996caaf
Fix link in email notifications
10 years ago
Fokke Zandbergen
a17cbbb8ad
Fix link in email notifications
10 years ago
Fokke Zandbergen
3a090ef308
Fix link in email notifications
10 years ago
barisusakli
d5dd48ecc8
closes #3013
10 years ago
barisusakli
f7a3aef322
escape on the way out, fixes birthday/age calculation
10 years ago
barisusakli
eaa442db8c
update deleted propery before calling hook
10 years ago
barisusakli
1cc80cbc84
closes #3014
10 years ago
barisusakli
fa9fde43fb
closes #2971
10 years ago
Julian Lam
ceba856006
fixing categories with null parentCids, again
10 years ago
barisusakli
7fa014e5ad
closes #3016
10 years ago
Julian Lam
80250b6f6c
adding default of parentCid 0 if parentCid not set
10 years ago
barisusakli
5501c0c759
closes #3005
10 years ago
barisusakli
dd175ada67
closes #3003
10 years ago
barisusakli
1910fdb977
fix xss on guest handles, make sure guest handlers arent longer than max username length
10 years ago
barisusakli
3de083208d
closes #3002
10 years ago
barisusakli
1b2da78fd8
missing lines
10 years ago
barisusakli
1ce3d7284b
closes #2995
10 years ago
barisusakli
a14249dee6
removed tags
10 years ago
barisusakli
3d0b50a9b7
closes #2975
10 years ago
barisusakli
45bf5de1e5
closes #2982
...
update url with new slug on topic title edit
10 years ago
psychobunny
5c59aa7737
closes #2986
10 years ago
psychobunny
799cc9397a
closes #2973
...
also fixes some UX issues and enforces password length check on both
client and server
10 years ago
barisusakli
cc6f37ac4e
added category bgColor/color to getPostSummary
10 years ago
barisusakli
8069cbda69
closes #2979
...
if all is selected search in all categories
10 years ago
Barış Soner Uşaklı
9c7c87fd3b
closes #2972
10 years ago
Barış Soner Uşaklı
df3e007120
closes #2969
10 years ago
barisusakli
835d4db481
dont add category/topic slug if user doesnt have read permission
...
or category is disabled etc.
10 years ago
psychobunny
56d1b521c5
closes #2967
...
@barisusakli there was a return; if user is offline, don't see any
reason why it should be so I removed it, just FYI
10 years ago
psychobunny
43bd798f2b
#2967
10 years ago
Barış Soner Uşaklı
0ed46c3bae
closes #2963 , closes #2957
10 years ago
barisusakli
e33a905f55
missing change
10 years ago
barisusakli
0d515803e4
fix post edit
10 years ago
Barış Soner Uşaklı
e0996d67ca
more rel_path upload fixes
10 years ago
Barış Soner Uşaklı
3f92984be2
fix image url in relative_path install in post
10 years ago
Barış Soner Uşaklı
7baa0e97fc
waterfall getPostsByPids
10 years ago
Barış Soner Uşaklı
641c8991f9
closes #2944
...
if going to users page wait for updateOnlineUsers to complete
10 years ago
Barış Soner Uşaklı
ed57a41d17
#2943
10 years ago
psychobunny
b1560388a6
hint
10 years ago
Barış Soner Uşaklı
4af8a5ec02
closes #2940
10 years ago
Julian Lam
40834cc010
updated checkAccountPermissions to call requireUser, and added new hook for plugins to handle auth login
10 years ago
barisusakli
1ade973e56
added missing radix :rage3:
10 years ago
barisusakli
f81e3ad358
categoryTools componets
10 years ago
psychobunny
70bf518a02
define all required data at top of fn
10 years ago