9214 Commits (211f00282c093c976a82c7d5c48da023fb0f6e9a)

Author SHA1 Message Date
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