Barış Soner Uşaklı
5069892b97
pass correct uid to client side
...
-1 spider,0 guest, >0 regular user
7 years ago
Julian Lam
c25d752573
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Julian Lam
98b0bdc7e1
added helmet for better standard of protection across the board
7 years ago
Barış Soner Uşaklı
c7b73b4e41
closes #6337
7 years ago
Julian Lam
52678621f9
revising minimum password strength to be 1 instead of 0
7 years ago
Julian Lam
7edc58b727
stricter Referrer-Policy to reduce unintended information leakage
7 years ago
Julian Lam
a4a961639d
only triggering forum updated messaging if hostname matches, fixes #6333
7 years ago
Julian Lam
9a1f722a05
appending X-Upstream-Hostname header in dev mode
7 years ago
Barış Soner Uşaklı
b9d410d612
closes #6332
7 years ago
Barış Soner Uşaklı
c707e98423
closes #6331
7 years ago
Barış Soner Uşaklı
e36657d48c
add tpl path to error messages
7 years ago
Barış Soner Uşaklı
225af93b9e
closes #6329
7 years ago
Julian Lam
a86d91a552
wrapping up post history work
7 years ago
Julian Lam
c1fef4561b
showing history state in post tools load
7 years ago
Julian Lam
501fc3cee9
WIP post diffs
7 years ago
Julian Lam
55788382ea
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Julian Lam
2b95b13397
closes #6328
7 years ago
Barış Soner Uşaklı
b240ae89cd
#6289
7 years ago
Barış Soner Uşaklı
15e9bbac92
closes #6311
7 years ago
Barış Soner Uşaklı
a224c557c0
closes #6326
7 years ago
Barış Soner Uşaklı
575b70b5ab
add some checks to templatesOnDemand
7 years ago
Barış Soner Uşaklı
dcc896ee05
add tid to vote notifs
7 years ago
Barış Soner Uşaklı
fa0328fe35
fix my copy paste fail
7 years ago
Barış Soner Uşaklı
708fda9372
use old settings if available
7 years ago
Barış Soner Uşaklı
723f31a362
closes #6323
7 years ago
Barış Soner Uşaklı
379a156328
add status code to body
7 years ago
Barış Soner Uşaklı
651b1cc9f8
closes #6321
7 years ago
Barış Soner Uşaklı
7b6282f530
closes #6308
7 years ago
Julian Lam
f7c412882a
add reset routes to robots.txt disallow
7 years ago
Barış Soner Uşaklı
cf087b6070
#6272 strip all tags
7 years ago
Ben Lubar
00776bdd8e
Bookmark optimization ( #6315 )
...
* Set the user's bookmark if their current bookmark is past the end of the topic.
* Optimize forked topic bookmark updating.
Remove support for updating bookmarks for users who sort by votes.
Don't even consider updating bookmarks for users who have not read the posts being removed.
Only compute post indices once per fork operation instead of once per user that has ever read the topic.
7 years ago
Barış Soner Uşaklı
7f9d9b7654
closes #6316
7 years ago
Barış Soner Uşaklı
f2dcbcd710
closes #6318
7 years ago
Davis
9d171ca1e2
Add cid for filter:category.update hook ( #6319 )
7 years ago
Barış Soner Uşaklı
2983fc3e5e
get group names first
7 years ago
Barış Soner Uşaklı
bb9528b82e
closes #6314
7 years ago
Baris Usakli
e99d4a5c61
closes #6313
7 years ago
Baris Usakli
ecc2b9560d
parseInt data.hidden add tests
7 years ago
Barış Soner Uşaklı
58f5bb35fc
show error
7 years ago
Barış Soner Uşaklı
6c5e99171e
closes #6309
7 years ago
Barış Soner Uşaklı
3551a34138
up spam be gone
7 years ago
Barış Soner Uşaklı
d16667a5fb
closes #6304
7 years ago
Barış Soner Uşaklı
14b5722d74
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Barış Soner Uşaklı
f119ae3103
dont show same topic in suggested
7 years ago
Barış Soner Uşaklı
958350fa6f
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Barış Soner Uşaklı
c38edb1fd4
more changes to suggested topics
7 years ago
Barış Soner Uşaklı
7a2d6fe22d
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Barış Soner Uşaklı
9d3b00f778
shuffle suggested topics, search in same category
7 years ago
Barış Soner Uşaklı
b084a596fa
closes #6301
7 years ago
Barış Soner Uşaklı
42b447ce6a
closes #6297
7 years ago
Barış Soner Uşaklı
ac1f7eefe5
closes #2304
7 years ago
psychobunny
29be18ae5b
closes #6268
7 years ago
Barış Soner Uşaklı
b2cb3def98
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
psychobunny
d9ccd9c319
closes #6173
7 years ago
psychobunny
d8deb322ff
closes #6295
7 years ago
Barış Soner Uşaklı
8689ffe78f
closes #6291
7 years ago
Andrew Rodrigues
9e0189ab34
added notification obj to emailer.send
7 years ago
Andrew Rodrigues
a5bae451f2
strip html tags from email subject
7 years ago
Julian Lam
897a7d84f9
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Julian Lam
fad0c5f2d5
moved 1.8.0 upgrade scripts to 1.7.4 where they were actually released
7 years ago
Julian Lam
7581dd1174
Closes #6245
...
- Moved account info to within the profile menu hook, so it can be
better filtered and shown to mods
- Also serves as a nice template for plugins that wish to listen
to the profileMenu hook!
7 years ago
Julian Lam
fbf52407fd
Re: #6425
...
- Exposing IP addresses to moderators
7 years ago
psychobunny
212486d230
hide topic upvotes on category page when rep system is disabled
7 years ago
Barış Soner Uşaklı
b907f08bf7
closes #6272
7 years ago
Barış Soner Uşaklı
8427601b04
closes #6287
7 years ago
Barış Soner Uşaklı
18ba08183c
fix test
7 years ago
Barış Soner Uşaklı
08fa0683eb
check is file
7 years ago
Barış Soner Uşaklı
155e20d216
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Barış Soner Uşaklı
c7506d77b0
closes #6247
7 years ago
Julian Lam
5c3155f145
firing hook on chat message load and exposing upload_url to client-side
7 years ago
Barış Soner Uşaklı
2e2b97033e
closes #6248 , closes #6282
7 years ago
Baris Usakli
c37be3b58f
remove my stupid code
7 years ago
Baris Usakli
c090ec301b
fix lint
7 years ago
Julian Lam
a4939d78fe
Moved ping to its own controller
...
re: #6281
7 years ago
Barış Soner Uşaklı
f7aa32cd05
dont crash if res.session.meta is not set
7 years ago
Julian Lam
49c4a23e04
closes #6277
7 years ago
Julian Lam
b14e531cee
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Barış Soner Uşaklı
813fdaf6f6
fix pageCount calculation
7 years ago
Barış Soner Uşaklı
d70cdf1e28
show real emails sent number
7 years ago
Barış Soner Uşaklı
c0b7d4f5b5
fix redis export
7 years ago
Barış Soner Uşaklı
8a6345ded7
possible fix for pubsub
7 years ago
Barış Soner Uşaklı
33a8cb947e
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Barış Soner Uşaklı
08562ad9cc
closes #6276
7 years ago
Julian Lam
0cefa56a0b
Fixes #6269
...
Also fixed issue where if homePageRoute was not set (as in brand-
new install), then categories would also show up, in this revised
logic. Oops.
7 years ago
Julian Lam
593c5047cf
fixes #6269
7 years ago
Barış Soner Uşaklı
8ceb102ed3
closes #6274
7 years ago
Barış Soner Uşaklı
ae6a1b975d
#6255
...
fix editing OP was causing title change event to be logged eventhough
title didn't change
7 years ago
Julian Lam
598675d597
outputting friendly warning if build target contains commas
7 years ago
Julian Lam
ac2e185e34
Fixes #6261
...
If a connection to the parent process is not detected, disable
the restart and reload buttons (as they won't work anyway).
7 years ago
Julian Lam
947c81adf0
@pitaj wut
7 years ago
Julian Lam
f6ad344ac6
Fixes #6259
...
Fixed issue that would cause the upgrade script to completely
wipe your customJS. This was caused by meta.config not being
populated during upgrade scripts (but only when run with
./nodebb upgrade... odd.)
7 years ago
Barış Soner Uşaklı
d8b5d40668
closes #6242
7 years ago
Ben Lubar
e85aabbe74
Allow running as a cluster without Redis ( #6233 )
...
* [database/*] Allow databases other than Redis to provide pubsub for clustering if Redis is not present
* [pubsub] Delay messages sent before the database is ready until the database is ready.
* [pubsub] Restore old behavior of not using the database in non-clustered NodeBB instances.
See comment: https://github.com/NodeBB/NodeBB/pull/6233#issuecomment-357814968
7 years ago
Barış Soner Uşaklı
7f67528280
change parallel to series in flag creation
7 years ago
Baris Usakli
61e408b4a2
closes #6253
7 years ago
Julian Lam
457194b333
Merge branch 'master' into develop
7 years ago
Barış Soner Uşaklı
fdd51f43d8
fix dirname
7 years ago
Barış Soner Uşaklı
f3fda152bf
closes #6216
7 years ago
psychobunny
a048edb60b
Merge branch 'master' of https://github.com/NodeBB/NodeBB
7 years ago
psychobunny
c0cf9e64fd
remove lodash from built modules, use utils.debounce instead
7 years ago
Peter Jaszkowiak
c8a6caa842
Fix #6244 , dpendency auto-install fixed
...
Node caches the result of stat on module directories
7 years ago
Julian Lam
3df2ab7cb9
exposing lodash as a client-side module
7 years ago
Barış Soner Uşaklı
e092778ba6
closes #6200
7 years ago
Barış Soner Uşaklı
13850e3586
fix categories not showing up in ACP dropdown if they are links
7 years ago
Barış Soner Uşaklı
4b5c87e93f
send stack instead of message
7 years ago
Barış Soner Uşaklı
7b04b4876d
closes #6241
7 years ago
Peter Jaszkowiak
7d7c51f8e9
Fix `acp.min.js` ENOENT error on CI tests
...
Hopefully
7 years ago
Peter Jaszkowiak
ed9166b796
Refactor template compilation
...
Always use persona as a fallback for templates
7 years ago
Peter Jaszkowiak
9c1faa7643
Fix running `./nodebb` with no arguments doing nothing
7 years ago
Peter Jaszkowiak
0929fd2a11
Fix issue where outdated packages are never updated
7 years ago
Julian Lam
d5073a9a4f
better handle loading of flag details if getTarget returns null or undefined instead of {} for purged data
...
Not quite sure in what scenario it would be null or undefined...
7 years ago
Barış Soner Uşaklı
4dee5a6101
delete expireAt field
7 years ago
Barış Soner Uşaklı
72140e5338
closes #5991 , closes #5884
7 years ago
Ben Lubar
5b1ed21634
[database/mongo] Improve speed of sortedSetRank ( #6229 )
...
* [database/mongo] Improve speed of sortedSetRank
* [database/mongo] Fix sortedSetRank to filter by _key
7 years ago
Julian Lam
3de54a5488
Merge branch 'develop' into chat-rewrite
7 years ago
Julian Lam
f37b9d786d
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Barış Soner Uşaklı
735534c719
#6225
7 years ago
Barış Soner Uşaklı
1472bda9d2
closes #6225
7 years ago
Barış Soner Uşaklı
2f3b7279be
closes #6212
7 years ago
Julian Lam
2c8cef6e92
updated error code for missing package.json @pitaj
7 years ago
Peter Jaszkowiak
4c7a275034
Was checking existence of wrong package.json ( #6222 )
7 years ago
Baris Usakli
48cff9bfcb
fix chat message subject
7 years ago
Julian Lam
9bcd4928c7
Merge branch 'develop' into chat-rewrite
7 years ago
Julian Lam
ec07247854
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Julian Lam
19e53ab61b
Lots o' chat changes
...
- Added chat room management (instead of tagsinput)
- Chat leave button in chat options dropdown
- Refreshing participants when user is added
- Updated autocomplete module so that it can be shown above a modal
(z-index 100005 > 20000)
- Using cant-chat-with-yourself source string, which wasn't defined
before, but was still used
7 years ago
Baris Usakli
ecf6c0f3ec
closes #4652
7 years ago
Julian Lam
b1bc40359d
fixed incorrect flag in upgrade help text
7 years ago
Barış Soner Uşaklı
510e57d414
on new topic create add to votes sorted set
7 years ago
Barış Soner Uşaklı
ba56810790
upgrade script fixes
7 years ago
Barış Soner Uşaklı
9c59abefbf
style change
7 years ago
Barış Soner Uşaklı
9d7e0775aa
closes #6214
7 years ago
Barış Soner Uşaklı
b58387c822
closes #6214
7 years ago
Peter Jaszkowiak
4387d5d466
Ensure installed correct version of modules on startup, bump dependencies ( #6207 )
...
* Ensure installed correct version of modules
* Bump dependencies
* Bump promise-polyfill
* Fix emailer test
* Fix auto-install regression
introduced in 9b5e0f9e95
7 years ago
Julian Lam
970c8b6f64
Merge branch 'develop' into chat-rewrite
7 years ago
Julian Lam
d1ccd78ac2
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Julian Lam
b2b57d49bf
WIP add user modal
7 years ago
Barış Soner Uşaklı
8446a733e5
closes #5569
7 years ago
Barış Soner Uşaklı
d64b814acb
handle https://packages.nodebb.org failures
7 years ago
Barış Soner Uşaklı
6552ebbd8b
fix redis test for custom home page
7 years ago
Barış Soner Uşaklı
5146f43b33
remove console.log
7 years ago
Barış Soner Uşaklı
87d40e9e78
fix increment to use data
7 years ago
Barış Soner Uşaklı
baa868cf2b
fix lint
7 years ago
Barış Soner Uşaklı
d2ffdbda7d
closes #6203
7 years ago
Barış Soner Uşaklı
ff6c6a54c1
make upload permissions global
...
give upload image permission to registered users on install
add global privileges to app.user.privileges for client side use
7 years ago
Barış Soner Uşaklı
2b6410f201
Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission
7 years ago
Julian Lam
9b5e0f9e95
updated upgrade logic to not break ACP restart flow
7 years ago
Barış Soner Uşaklı
cbaa977233
fix type on mongodb if key has expireAt
7 years ago
Barış Soner Uşaklı
2661a31227
closes #6202
7 years ago
Julian Lam
dee18d8442
Merge branch 'develop' into chat-rewrite
7 years ago
Julian Lam
8588a54ff2
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Barış Soner Uşaklı
9628956a56
closes #6199
...
global widgets will appear after page widgets
7 years ago
Barış Soner Uşaklı
c3f56e2ab5
closes #6197
7 years ago
Barış Soner Uşaklı
23dbb42130
closes #6182
7 years ago
Barış Soner Uşaklı
fb97ff2265
canChat should be false if chat is globally disabled
7 years ago
Julian Lam
c9364291fb
Merge branch 'develop' into chat-rewrite
7 years ago
Julian Lam
f2c251e89c
Merge branch 'master' into develop
7 years ago
Peter Jaszkowiak
be00a1c013
Support for using yarn instead of npm, include unread counts on cold load ( #6179 )
...
* Close #6178
* Support for package managers besides npm
- Also fixes issue where upgrade-plugins wouldn't work
7 years ago
Baris Usakli
025709499c
more fixes
7 years ago
Baris Usakli
242dc41aca
move privileges to same page
7 years ago
Baris Usakli
63b9255fa1
Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission
7 years ago
Julian Lam
3d74fc8220
some changes to fix class names used, character countdown support, etc.
7 years ago
Baris Usakli
057e83cfac
Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission
7 years ago
Julian Lam
6d15861a55
removed pluralisation @pitaj
7 years ago
Barış Soner Uşaklı
50cc62e2aa
fix rss feed on topic #6184
7 years ago
Julian Lam
acc58d707c
Updated plugin checking logic
...
* Fixes #6183
* Also changed a bunch of console.logs to process.stdout.write,
so the command line output is cleaner
7 years ago
Barış Soner Uşaklı
3196311f15
closes #6184
7 years ago
Barış Soner Uşaklı
13e56ad5f3
make sure unfilled is not negative
7 years ago
Barış Soner Uşaklı
ea8cf6545c
change db.set/get to use data field instead of value
7 years ago
Baris Usakli
2053472ef3
closes #6180
7 years ago
Baris Usakli
4a73621dca
chat privilege
7 years ago
Julian Lam
82a95a03be
Chat message soft deletion -- closes #6181
...
Squashed commit of the following:
commit f84c06bdcc45f24ef7ffde6a8f33b48d8f97fc36
Author: Julian Lam <julian@nodebb.org>
Date: Mon Dec 18 14:42:47 2017 -0500
added restore handler for chat messages
commit 725cd370c6ea1e8f4a28298350f3dc024d4e668e
Author: Julian Lam <julian@nodebb.org>
Date: Mon Dec 18 14:23:52 2017 -0500
backend logic and testing complete for deletion and restoration of chat messages
commit 072da758319cc93fa4c6f8bc0d672a1b716dc06e
Author: Julian Lam <julian@nodebb.org>
Date: Mon Dec 18 13:52:35 2017 -0500
changing message delete logic to not remove mids, but to filter when retrieving
commit 68bf373305ab82737658a7c31dc5549af4d6d69f
Author: Julian Lam <julian@nodebb.org>
Date: Mon Dec 18 12:37:58 2017 -0500
logic to handle deletion of a deleted chat message -- added some failing tests
commit 6899d0d234fa752e227188aa69cfcabd0d0500cc
Author: Julian Lam <julian@nodebb.org>
Date: Mon Dec 18 11:35:36 2017 -0500
chat message deletion logic
7 years ago
Julian Lam
541aa7fbc6
closes #6177
7 years ago
Julian Lam
6bd8740342
removing hasImageUploadPlugin from config api
7 years ago
Julian Lam
88b47f357b
removed user.uploadFromUrl and associated logic as cropped image modal supercedes it @pichalite
7 years ago
Barış Soner Uşaklı
a9e15ae9d0
strip img tags on topic teaser
7 years ago
Barış Soner Uşaklı
108c3c980a
show invalid url error if request.head fails
7 years ago
Barış Soner Uşaklı
926b763f74
show hit ratio instead
7 years ago
Barış Soner Uşaklı
e453057acc
add settings-menu id
7 years ago
Barış Soner Uşaklı
2bb8227574
closes #6168
7 years ago
Julian Lam
1f10549cf5
added new user method isPrivilegedOrSelf
7 years ago
Barış Soner Uşaklı
691fc2c6fd
closes #5812
7 years ago
Barış Soner Uşaklı
b55087dab7
closes #6166
7 years ago
Barış Soner Uşaklı
53afa552d0
closes #6162
7 years ago
Barış Soner Uşaklı
ea83be50a1
closes #6161
7 years ago
Barış Soner Uşaklı
e3ce817ab9
show settings in digest email closes #6160
7 years ago
Barış Soner Uşaklı
99eb1d1785
closes #6163
7 years ago
Barış Soner Uşaklı
b84e132601
remove unused settings
7 years ago
Barış Soner Uşaklı
2bf275fe29
#6158
7 years ago
Barış Soner Uşaklı
2565b6e542
on pin remove from votes sorted set
7 years ago
Barış Soner Uşaklı
b9d4b02780
sort tags by score
7 years ago
Barış Soner Uşaklı
7c1f8891a1
use helper
7 years ago
Barış Soner Uşaklı
ee398d3979
don't crash if meta is undefined
7 years ago
Barış Soner Uşaklı
a166304dcb
#6158
...
remove from sorted sets on delete/purge
7 years ago
Barış Soner Uşaklı
f11fd566f9
add inf scroll method #6158
7 years ago
Barış Soner Uşaklı
43180d4b83
#6158
7 years ago
Barış Soner Uşaklı
27b65a439a
refactor of og:image code
7 years ago
Barış Soner Uşaklı
dace7d716f
get all images in post
7 years ago
Barış Soner Uşaklı
aa1d22ec79
handle relative images
7 years ago
Barış Soner Uşaklı
15a8ec2138
fix url
7 years ago
Barış Soner Uşaklı
ae5dc795c3
#5824
7 years ago
Barış Soner Uşaklı
e35d0624d3
closes #6091
7 years ago
Barış Soner Uşaklı
8e04e86e24
closes #5912
7 years ago
Barış Soner Uşaklı
19ae8dc7e7
closes #6154
7 years ago
Barış Soner Uşaklı
8353d8b9bb
closes #6155
7 years ago
Baris Usakli
32a8076f2a
add missing meta
7 years ago
Baris Usakli
f177b01022
closes #6147
7 years ago
Barış Soner Uşaklı
c406d26beb
if route is home display home as title
7 years ago
Barış Soner Uşaklı
fd78eb6d57
closes #5533
7 years ago
Peter Jaszkowiak
fc19f3af61
Misc fixes and improvements ( #6143 )
...
* `setup` command fixes and improvements
- Enable using the `./nodebb setup` command for auto-setup with a JSON argument
- Change CLI so package-install and dependency install are separate steps
- Fix #6142
* Prevent compiling templates multiple times
- Multiple requests for same template get pooled
- Hopefully fixes the "templateFunction is not a function" error which happens if site is restarted during high-traffic times
* More helpful upgrade template
7 years ago
Baris Usakli
3551d7d68e
closes #4804
7 years ago
Barış Soner Uşaklı
e6d31c8bd2
add referer check to /api/admin/users/csv
7 years ago
Barış Soner Uşaklı
e3fd402070
escape email in registration queue and invites
7 years ago
Barış Soner Uşaklı
2574dbc850
closes #6140
7 years ago
Julian Lam
e723f2ce10
close #6099
7 years ago
Julian Lam
f08627be17
minor whitespace fix
7 years ago
Julian Lam
8affaac8f0
tweaking source copy and removing a bit more commented out html. Moving some items around
7 years ago
Linda Badurina
5924713a3b
ACP > Posts
...
- Removed all commented out tpls but one because js file for it is in the works
- Removed unfinished js file
- Removed unfinished checkbox html
7 years ago
Linda Badurina
5ee098ab2b
Failed JS Attempt
...
(For Andrew to see)
7 years ago
Linda Badurina
8b354a26e0
"Post" Settings Fixes
7 years ago
Linda Badurina
c72864888d
ACP "Posts" Changes
...
- Seperate section for "Post Length" settings
- New section for settings that only apply to new users
- Changed order of some settings under "posting restrctions" and "new user restrictions"
- Uncapitalized words that shouldn't have been capitalized
7 years ago
Barış Soner Uşaklı
b7714179f6
removed unused dependency
7 years ago
Barış Soner Uşaklı
a7a3f3619b
dont allow login with invalid ip, escape ip display on user/info page
7 years ago
Barış Soner Uşaklı
4f2f84e47c
#4804
7 years ago
Julian Lam
17c52a515d
fix incorrect padding/margin values in images in digest
7 years ago
Julian Lam
e37c8003b9
replaced 40px padding with more sensible sizes, fixes #6138
7 years ago
Barış Soner Uşaklı
cb4930dac8
remove version and environment from config
7 years ago
Baris Usakli
a19537dc25
closes #6137
7 years ago
Baris Usakli
b19310049d
closes #6136
7 years ago
Baris Usakli
f036eb18a4
closes #5936
7 years ago
Baris Usakli
d9c38c7e4f
closes #6132
7 years ago
Baris Usakli
522198574c
closes #6090
7 years ago
Peter Jaszkowiak
a849a772bf
Use emoji v2 instead of emoji-extended ( #5800 )
7 years ago
Peter Jaszkowiak
dbdc05404d
Use console.log instead of process.stdout.write ( #6123 )
...
* Use console.log instead of process.stdout.write
* Don't break the installer
7 years ago
Julian Lam
b1cd68928b
updated digest header
7 years ago
Barış Soner Uşaklı
fe3a75812f
closes #6113 closes #6114
7 years ago
Barış Soner Uşaklı
3f2a1d3e8e
check error first #6116
7 years ago
Barış Soner Uşaklı
caaa72b752
closes #6124
7 years ago
Peter Jaszkowiak
9b11413d14
Bundle admin scripts, remove CDN scripts ( #6122 )
...
Close #6120
7 years ago
Barış Soner Uşaklı
d96674da64
add test for composer fix
7 years ago
Barış Soner Uşaklı
71895f3736
closes #6079
7 years ago
Peter Jaszkowiak
ae24bca16e
CLI refactor with commander ( #6058 )
...
* CLI refactor with commander
- Modularized the functionality
- All functionality done directly from `./nodebb` now
(still available from `app` for backwards compatibility)
- Moved all CLI code from `./nodebb` to `src/cli`
- Fixed `nodebb.bat` to work from any location, like `./nodebb`, and
also hides command output
- Overwrite some commander methods to add CLI color support
- Added `./nodebb info` for quick info including git hash, NodeBB
version, node version, and some database info
- Refactored `./nodebb reset` to allow multiple resets at once
- Changed `./nodebb restart` to essentially stop and start, as Windows
doesn't support signals
- Added `-l, --log` option which works on `./nodebb start` and `./nodebb
restart` to show logging, like `./nodebb slog`
- Expanded `-d, --dev` option which works on them as well, like
`./nodebb dev`
- Improvements to self-help. `./nodebb build -h` will output all
possible targets
- `./nodebb reset` explains usage better
* Fix some style inconsistencies
* Fix prestart being required before modules installed
* Fix travis failures
* Fix `help` command to output help for subcommands
* Pick steps of the upgrade process to run
* Fix formatting for upgrade help
* Fix web installer
7 years ago
Peter Jaszkowiak
c731661a39
Remove external sources from installer page ( #6101 )
...
* Remove external sources from installer page
* Remove bootstrap.min.css
* Make spinner display consistently cross-platform
* Change spinner to look better
7 years ago
Baris Usakli
aecbcd9e89
add verbose message for field whitelist
7 years ago
Julian Lam
2fa4b2918e
removing premature return 😆
7 years ago
Julian Lam
c3c22cfdcc
closes #6107
7 years ago
Baris Usakli
5ca3b535e7
closes #6105
7 years ago
Baris Usakli
dbf815ed47
closes #6103
7 years ago
Muhammad Osama Arshad
64895310a9
fix #5973
7 years ago
Barış Soner Uşaklı
eb47a81c46
remove package.default.json
7 years ago
Peter Jaszkowiak
74ceb78800
Upvote notification frequency selection ( #6087 )
...
Closes #5963
- Notify on every upvote
- Notify on every tenth upvote
- Notify logarithmically (on 10, 100, 1000...)
- Disable upvote notifications
7 years ago
Peter Jaszkowiak
4fcedc6f31
Enable imports in custom email templates ( #6052 )
...
* Enable imports in custom email templates
* Compile emails on config change
* Add error logging
* Add emailer tests
* Fix tests
* Only build when config changes
7 years ago
Barış Soner Uşaklı
12ca1c4e7a
closes #6093
7 years ago
Baris Usakli
2065f895d5
closes #6037
7 years ago
Baris Usakli
ea3fde332b
notification email fixes
...
add new notification image
fix url to user settings, no need for userslug to be passed in
7 years ago
Julian Lam
bc6364f4c0
fixed #6082
7 years ago
Peter Jaszkowiak
11b9cb7688
Fix #6076 , `action:home.get:*` returned to previous functionality ( #6077 )
...
Added tests to confirm `buildHeader` is used and `/api` works
7 years ago
Barış Soner Uşaklı
c839d1cbc0
closes #6080 closes #6078
7 years ago
aStonedPenguin
610a1c943f
Add unread-class to category children ( #6071 )
...
* Add unread-class to category children
* unused variables
* Move child unread-class to a better place
* comma?
¯\_(ツ)_/¯
* feedback
7 years ago
Peter Jaszkowiak
c47c47f7e3
Use less memory to build translation files ( #6070 )
...
* Change languages build to use less memory
Add graceful-fs so no ned to worry about fs limits
* Specify encoding for fs.readFile
Use eachLimit since graceful-fs handles that now
7 years ago
Peter Jaszkowiak
f5385e38bf
Add `/me*` route which redirects to `/user/[userslug]*` ( #6063 )
...
* Add `/me*` route which redirects to the current user's information
- `/me` -> `/user/[usertslug]`
- `/me/bookmarks` -> `/user/[userslug]/bookmarks`
- `/me/settings` -> `/user/[userslug]/settings`
etc
* Add tests for `/me/*`
7 years ago
Barış Soner Uşaklı
5da24b4120
https://github.com/NodeBB/NodeBB/issues/6073
7 years ago
Julian Lam
321998dd4f
Merge branch 'develop'
7 years ago
Barış Soner Uşaklı
dd176dd5f2
Notification delivery ( #6072 )
...
* ability for users to choose how they receive notifications
add type field to more notifications, the type field is used to
determine what to do based on user
setting(none,notification,email,notificationemail)
* change var name to types
* cleanup
* add event types for privileged users
* remove unused language keys
* fix uids check
* changed if statements
* upgrade script to preserver old settings
7 years ago
Baris Usakli
1eca1f1da9
add missing require
7 years ago
Baris Usakli
38e52a65be
fix breadcrumbs and home /api route not loading
7 years ago
Baris Usakli
9e5a8856d1
fix wrong sorting option in acp
7 years ago
Baris Usakli
30ae0a5499
another process.nextTick
7 years ago
Baris Usakli
e187a0def2
fix method name
7 years ago
Baris Usakli
12546cb9ad
break up sync operation
7 years ago
yariplus
7ac01b4c06
Fixes https://github.com/NodeBB/nodebb-rewards-essentials/issues/6 Fixes https://github.com/NodeBB/nodebb-rewards-essentials/issues/11
7 years ago
Barış Soner Uşaklı
67bc58f04c
wait for state to be updated
7 years ago
Barış Soner Uşaklı
b6211fdc04
closes #6053
7 years ago
Barış Soner Uşaklı
6c755869cd
add back missing onSettingsLoaded
7 years ago
Baris Usakli
5604c62776
use the first set for sorting
7 years ago
Baris Usakli
4fdc1b99c6
remove unnecessary variable
7 years ago
Baris Usakli
eeedba697b
closes #5804
7 years ago
Barış Soner Uşaklı
b1ea137292
closes #6046
7 years ago
acardinale
5ed6b5c414
Add User (uid) Welcome Notification ( #6045 )
7 years ago
acardinale
78e65ab8c8
Fix if cover URL is external URL ( #6026 )
...
* Fix if cover URL is external URL
Currently, when cover:url is an external URL, it's concat with relative path
* Fix if cover URL is external URL
Currently, when cover:url is an external URL, it's concat with relative path [fix barisusakli]
* Fix missing '
* Add User (uid) Welcome Notification
* Revert "Fix missing '"
This reverts commit 2da2d98ae295f1d7db63076587a3feae530dbe64.
* Revert "Revert "Fix missing '""
This reverts commit f4fca746e89d8c8b9515515bdbc42d449ebe0194.
* Revert "Add User (uid) Welcome Notification"
This reverts commit 831e291e78f27f2ac9382612772126c36490d36b.
* Fix eslint doesnt like nesting ternary operators
* fix space after if
7 years ago
Barış Soner Uşaklı
e4ea4d5134
move composer routes to its own file
7 years ago
Barış Soner Uşaklı
fae8ee83e8
closes #6039
7 years ago
Peter Jaszkowiak
bbdc55cb3a
Better fix for #5993 ( #6034 )
...
* Better fix for #5993
Also a nice newline so the line doesn't get overwritten when running `./nodebb upgrade`
* Optimizations for custom homepage
Move it into a separate module
7 years ago
Barış Soner Uşaklı
760c061b1d
closes #5993
7 years ago
Barış Soner Uşaklı
4551ee4768
some more tests
7 years ago
Julian Lam
766f94745f
updated bootstrap and bootswatch css on installer template, closes #6033
7 years ago
Barış Soner Uşaklı
845f01f297
dont set meta.config to null
7 years ago
Barış Soner Uşaklı
662f92a4a8
supply callback to req.session.destroy
7 years ago
Julian Lam
7e0d0e0eb5
Merge remote-tracking branch 'origin/develop'
7 years ago
Peter Jaszkowiak
dfad76120d
Support npm@5 and yarn ( #6010 )
...
* Support npm@5 and yarn
Use package.default.json
Partial #6008
- Overwrite package.json with package.default.json values
- `dependencies` field is merged with package.default.json version taking precidence
- `./nodebb upgrade` automatically does those things and runs `git pull`
- use `./nodebb upgrade --dev` to avoid the `git pull`
* added logic to preserve extraneous plugins installed in node_modules/
* Don't automatically git pull
* Simplify package-install, run it on upgrade just in case
7 years ago
Barış Soner Uşaklı
008f757a9b
closes #6030
7 years ago
Barış Soner Uşaklı
54a84bf130
cache fixes
7 years ago
Barış Soner Uşaklı
43f9c3224f
dont crash sortedSetIncryBy on redis if no callback is supplied
7 years ago
Peter Jaszkowiak
e609e497b3
Provide more error information to logs
...
Provides full stack instead of just message
7 years ago
Peter Jaszkowiak
ec38b18e34
Always compare password with a hash
...
Prevents quick response when user / email doesn't exist
7 years ago
Baris Usakli
e3a7649290
closes #6027
7 years ago
Peter Jaszkowiak
adc47fd053
Use relative linking ( #6011 )
...
* Use relative linking
* Add copyFile method and tests
Closes #5988
* Fix relative linking on Windows
Hard links and junctions don't work with relative paths
* Fix tests
* Revert ghange to gitignore
7 years ago
Barış Soner Uşaklı
18f4f27fe0
closes #6024
7 years ago
Barış Soner Uşaklı
5b2a674a4f
closes #6020
7 years ago
Barış Soner Uşaklı
25cd21fba8
closes #6019
7 years ago
Barış Soner Uşaklı
6b1af76f08
closes #6015
7 years ago
Barış Soner Uşaklı
3c45b3edb6
string is removed on develop
7 years ago
Barış Soner Uşaklı
d5d6748c71
closes #6013
7 years ago
Baris Usakli
43bec4cb45
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Baris Usakli
6778cce265
add new zset
7 years ago
Baris Usakli
47143a4a09
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Baris Usakli
a500e0019c
closes #6005
7 years ago
Julian Lam
103d9a91a9
Revert "sanitizing uploaded filename without using slugify, in composer, re comment in: #6011"
...
This reverts commit 9f670fe586
.
7 years ago
Julian Lam
cb80c7729b
linting
7 years ago
Julian Lam
39d67b5b69
Merge branch 'patch-2' of https://github.com/drlukeangel/NodeBB into drlukeangel-patch-2
7 years ago
Julian Lam
9f670fe586
sanitizing uploaded filename without using slugify, in composer, re comment in: #6011
7 years ago
Dr Luke Angel
999a7abc5d
updated equality operator
...
small update to equality operator
7 years ago
Dr Luke Angel
4854888fcf
update blacklist.js to strip ports from v4
...
Blacklist.test in blacklist.js to strip port from ipv4.
my site was passing in
24.18.192.75:52506
and nodebb was giving
28/10 04:34:41 [6680] - error: /login
Error: ipaddr: the address has neither IPv6 nor IPv4 format
So i updated the client Ip to strip the port number if its a v4 IP
7 years ago
Barış Soner Uşaklı
9a3a5192c4
add filter:post.shouldQueue
7 years ago
Barış Soner Uşaklı
c453fc7275
add widget reset test
7 years ago
psychobunny
2453ce3cb3
strip + validate before hook instead
7 years ago
Julian Lam
98eddc78cb
escaping message text in parse.raw
7 years ago
Barış Soner Uşaklı
a11058bce2
closes #6004
7 years ago
Barış Soner Uşaklı
41fbf7117d
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
7 years ago
Barış Soner Uşaklı
a73c2628c4
cache improvements, stats
7 years ago
Barış Soner Uşaklı
316fe2773c
remove console.log
7 years ago
Barış Soner Uşaklı
2aaf6900d1
closes #5998
7 years ago
Barış Soner Uşaklı
056e4f0601
#6004
7 years ago
Barış Soner Uşaklı
ce3e1f31ab
fix for #6004
7 years ago
Peter Jaszkowiak
62ae171432
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Barış Soner Uşaklı
6a2019c646
closes #6003
7 years ago
Barış Soner Uşaklı
e7318a1cea
Mongo cache ( #6002 )
...
* cache mongodb objects
remove user settings cache since it is cached at the object level
* removed indexOf from isMemberOfSets
* change has to get, change maxAge to 0
7 years ago
Barış Soner Uşaklı
7ad4420b6a
closes #6000
7 years ago
Peter Jaszkowiak
ab8465d7b6
Make deprecation warnings more clear ( #5996 )
...
* Add these as warnings
To be removed in next major version
* Make ACP search's purpose more clear
* Only warn once per deprecated path
7 years ago
Julian Lam
ec3bb1c727
allowing plugins to define upgrade scripts
7 years ago
Barış Soner Uşaklı
108f84fd19
add type to dbal
7 years ago
Baris Usakli
c4310395c9
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
...
# Conflicts:
# package.json
7 years ago
Baris Usakli
19dc7da42f
closes #5994
7 years ago
Baris Usakli
79598c32d3
remove unused function
7 years ago
Barış Soner Uşaklı
d8dc79e3c7
closes #5992
7 years ago
Baris Usakli
6a6dc7ef06
closes #5990
7 years ago
Baris Usakli
8a499e09ed
fix nconf lowercasing
7 years ago
Barış Soner Uşaklı
5e6d8ea566
handle 404 first
7 years ago
Peter Jaszkowiak
60a42aa651
Merge branch 'translator-optimization' into develop
7 years ago
Peter Jaszkowiak
cf289b9228
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Peter Jaszkowiak
46fafb20b9
Remove string.js dependency
7 years ago
Peter Jaszkowiak
1c5bdcb670
Enable running multiple upgrades at once ( #5984 )
7 years ago
Peter Jaszkowiak
f9a1951ec5
Enable running multiple upgrades at once
7 years ago
Julian Lam
6a93bc140b
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Julian Lam
b44cfacda1
resolve XSS vulnerability in flags pages
7 years ago
Baris Usakli
9101400264
closes #5961
7 years ago
Baris Usakli
c5f58f73a7
closes #5974
7 years ago
Julian Lam
9cbf1597cd
Merge remote-tracking branch 'origin/master' into develop
7 years ago
Baris Usakli
68bcfb2883
closes #5975
7 years ago
Julian Lam
cd6dcff38b
Split up customJS into customHTML and customJS for better organisation ( #5981 )
...
* WIP
* fixed customJS not actually working in footer
* Moving scripts to footer, #5980
* Added upgrade scripts for #5980
7 years ago
Baris Usakli
500c978a26
closes #5944
7 years ago