Commit Graph

21328 Commits

Author SHA1 Message Date
Julian Lam
f1d79635ff bump slick for v1.7.0 compatibility 2017-11-23 13:57:25 -05:00
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
2017-11-23 10:55:03 -05:00
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
2017-11-23 10:50:10 -05:00
Barış Soner Uşaklı
b0488fec61 smaller notification image 2017-11-23 10:21:47 -05:00
Misty (Bot)
563fe0383c Latest translations and fallbacks 2017-11-23 09:25:35 +00:00
Julian Lam
cdc00cc0f2 added 'dissociate' translation string for #5955 2017-11-22 16:36:27 -05:00
Baris Usakli
aecbcd9e89 add verbose message for field whitelist 2017-11-22 16:26:35 -05:00
Baris Usakli
947fc739eb remove extra translator require 2017-11-22 16:04:36 -05:00
Julian Lam
2fa4b2918e removing premature return 😆 2017-11-22 15:03:07 -05:00
Julian Lam
c8395a9bfb Fixes #6056
Waiting for someone to qq my clever code in 3... 2...
2017-11-22 14:54:27 -05:00
Julian Lam
c3c22cfdcc closes #6107 2017-11-22 14:14:19 -05:00
Baris Usakli
5ca3b535e7 closes #6105 2017-11-22 12:19:08 -05:00
Baris Usakli
dbf815ed47 closes #6103 2017-11-22 12:10:40 -05:00
Julian Lam
d0c9c52f9b update persona for nodebb/nodebb-theme-persona#387 2017-11-22 12:03:40 -05:00
Julian Lam
252f611481 changed error text wording 2017-11-22 11:59:49 -05:00
Julian Lam
7d71aa4775 Merge branch 'issue-5973/upvote-own-post' of https://github.com/asamolion/NodeBB into asamolion-issue-5973/upvote-own-post 2017-11-22 11:59:04 -05:00
Julian Lam
f92efc509c bump mentions for https://nodesecurity.io/advisories/536 2017-11-22 10:56:15 -05:00
Julian Lam
c834d6134e bump persona, nodebb/nodebb-theme-persona#383 2017-11-22 10:26:13 -05:00
Muhammad Osama Arshad
64895310a9 fix #5973 2017-11-22 09:50:58 +05:00
Barış Soner Uşaklı
86a4fd6c92 add missing dep, my bad 2017-11-21 15:00:22 -05:00
Barış Soner Uşaklı
eb47a81c46 remove package.default.json 2017-11-21 14:43:59 -05:00
Barış Soner Uşaklı
e1ae0500af Update README.md 2017-11-21 14:40:01 -05:00
Barış Soner Uşaklı
6b5a0891cb add install\package.json for #6083 2017-11-21 14:38:29 -05:00
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
2017-11-21 14:14:14 -05:00
Julian Lam
3fd25257e0 v1.7.0 compatibility for slick theme 2017-11-21 11:31:10 -05:00
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
2017-11-21 10:51:20 -05:00
Misty (Bot)
415940af02 Latest translations and fallbacks 2017-11-21 09:25:22 +00:00
Barış Soner Uşaklı
12ca1c4e7a closes #6093 2017-11-20 19:58:56 -05:00
Barış Soner Uşaklı
3bf7faf5fc increase rate limit delay 2017-11-20 19:58:46 -05:00
Peter Jaszkowiak
41b026b4d6 Test Node 9 2017-11-20 15:16:19 -07:00
Baris Usakli
c934416544 up mentions 2017-11-20 10:49:43 -05:00
Misty (Bot)
018b054c42 Latest translations and fallbacks 2017-11-19 09:25:27 +00:00
Barış Soner Uşaklı
63388be44c closes #6084 2017-11-18 15:39:47 -05:00
Baris Usakli
2065f895d5 closes #6037 2017-11-17 15:26:36 -05:00
Baris Usakli
ea3fde332b notification email fixes
add new notification image
fix url to user settings, no need for userslug to be passed in
2017-11-17 14:13:55 -05:00
Baris Usakli
4e029556df closes #6081 2017-11-17 13:43:30 -05:00
Julian Lam
bc6364f4c0 fixed #6082 2017-11-17 12:00:43 -05:00
Peter Jaszkowiak
11b9cb7688 Fix #6076, action:home.get:* returned to previous functionality (#6077)
Added tests to confirm `buildHeader` is used and `/api` works
2017-11-17 08:11:33 -05:00
Barış Soner Uşaklı
c839d1cbc0 closes #6080 closes #6078 2017-11-17 08:10:25 -05:00
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
2017-11-16 18:40:39 -05:00
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
2017-11-16 17:43:52 -05:00
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/*`
2017-11-16 17:38:26 -05:00
Barış Soner Uşaklı
643008041c up composer default 2017-11-16 10:59:34 -05:00
Barış Soner Uşaklı
5da24b4120 https://github.com/NodeBB/NodeBB/issues/6073 2017-11-16 10:55:59 -05:00
Julian Lam
b6562325a4 up persona for #6069 2017-11-16 10:20:55 -05:00
Julian Lam
0f9c2f5a9a updated theme deps for #6069 2017-11-16 10:13:11 -05:00
Julian Lam
321998dd4f Merge branch 'develop' 2017-11-16 10:11:20 -05:00
Barış Soner Uşaklı
b62a7bf0ad up themes 2017-11-15 21:50:11 -05:00
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
2017-11-15 21:35:10 -05:00
Baris Usakli
e68e5122e2 add test to check breadcrumbs on home route 2017-11-15 14:57:26 -05:00