524 Commits (08fa0683eb7724f4109fdc5f15e487d065f86ebb)

Author SHA1 Message Date
Baris Usakli c090ec301b fix lint 8 years ago
Barış Soner Uşaklı f7aa32cd05 dont crash if res.session.meta is not set 8 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
8 years ago
Barış Soner Uşaklı 2b6410f201 Merge remote-tracking branch 'refs/remotes/origin/master' into chat-permission 8 years ago
Barış Soner Uşaklı fb97ff2265 canChat should be false if chat is globally disabled 8 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
8 years ago
Baris Usakli 4a73621dca chat privilege 8 years ago
Barış Soner Uşaklı 7c1f8891a1 use helper 8 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
8 years ago
Barış Soner Uşaklı 2574dbc850 closes #6140 8 years ago
Baris Usakli 2065f895d5 closes #6037 8 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
8 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/*`
8 years ago
Barış Soner Uşaklı b1ea137292 closes #6046 8 years ago
Peter Jaszkowiak e609e497b3 Provide more error information to logs
Provides full stack instead of just message
8 years ago
Baris Usakli 47143a4a09 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı a11058bce2 closes #6004 8 years ago
Barış Soner Uşaklı 41fbf7117d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 8 years ago
Barış Soner Uşaklı 056e4f0601 #6004 8 years ago
Barış Soner Uşaklı ce3e1f31ab fix for #6004 8 years ago
Julian Lam 9cbf1597cd Merge remote-tracking branch 'origin/master' into develop 8 years ago
Baris Usakli 68bcfb2883 closes #5975 8 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
8 years ago
Julian Lam 6852c92ed6 Merge remote-tracking branch 'origin/develop' 8 years ago
Peter Jaszkowiak dc87d7fc0f Use .js instead of .jst
Fix #5934
8 years ago
Julian Lam dea372a5c5 fixes #5932 8 years ago
Barış Soner Uşaklı 5cc39e8546 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	package.json
#	src/views/admin/manage/ip-blacklist.tpl
8 years ago
Peter Jaszkowiak abffc29128 Use Benchpress (#5901)
* Use Benchpress

* Use Benchpress.compileParse

* Error for template load failure

* Use benchpressjs package

* Compile templates on demand

* Fix user settings page

* Fix admin search to exclude `.jst` files

* Fix 500-embed

So ajaxify can still show an error if the server goes down
8 years ago
Barış Soner Uşaklı 0498832317 closes #5888 8 years ago
Julian Lam 6ec1bfd660 added artificial delay on reset route so that the heat death of the universe will arrive before you manage to identify a valid reset code 8 years ago
Baris Usakli 4ac8d29f06 closes #5847 8 years ago
Barış Soner Uşaklı 493cd16f39 closes #5848 9 years ago
Julian Lam f59f48c6e1 use setImmediate 9 years ago
Julian Lam c9c27b86c4 added back logic to strip leading slashes, but after the fix to app.all 9 years ago
Baris Usakli e9639833c5 add router.all 9 years ago
Julian Lam 233297367b strip leading slashes from path if double-slash is accidentally used, stripping trailing slash from relative path retrieved from config.json 9 years ago
Baris Usakli dc110e2e3f closes #5818 9 years ago
Baris Usakli 59aeee6516 remove addExpiresHeaders 9 years ago
Barış Soner Uşaklı 923bd86662 Widgets refactor (#5817)
* widgets refactor

render widgets server side
widgets can use all the data the template can use

* fix tests
9 years ago
Baris Usakli e0de922ede Revert "widgets refactor"
This reverts commit 9e94edb5aa.
9 years ago
Baris Usakli 9e94edb5aa widgets refactor
render widgets server side
widgets can use all the data the template can use
9 years ago
Baris Usakli 7538210b07 #5772
load correct timeago settings on cold load instead of after page load
9 years ago
Marc-Aurèle DARCHE 6248e5562f Fix /apple-touch-icon not sending uploaded file
This fixes the following error:

$ wget https://nodebb.yourdomain/apple-touch-icon

28/6 09:57:06 [28332] - error: /apple-touch-icon
 Error: ENOENT: no such file or directory, stat '/home/sweet/nodebb/public/assets/uploads/system/touchicon-orig.png'
    at Error (native)
9 years ago
Barış Soner Uşaklı b64ba40c67 closes #5772 9 years ago
Barış Soner Uşaklı 22131640fd closes #5749 9 years ago
psychobunny 50367a971e req should be req. 👍 9 years ago
Barış Soner Uşaklı 08aaabd33c closes #5642 9 years ago
Baris Usakli 062bced3dd cleanup and tests 9 years ago
Barış Soner Uşaklı f57b5f4e4c refactor 9 years ago
Barış Soner Uşaklı 29135dfed3 timeago locale test 9 years ago