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