162 Commits (a05905f19677197a66abead23179afb5168440c7)

Author SHA1 Message Date
Julian Lam dea372a5c5 fixes #5932 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
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
Julian Lam f59f48c6e1 use setImmediate 8 years ago
Julian Lam c9c27b86c4 added back logic to strip leading slashes, but after the fix to app.all 8 years ago
Baris Usakli e9639833c5 add router.all 8 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 8 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)
8 years ago
Barış Soner Uşaklı 22131640fd closes #5749 8 years ago
Baris Usakli 062bced3dd cleanup and tests 8 years ago
Barış Soner Uşaklı 29135dfed3 timeago locale test 8 years ago
Barış Soner Uşaklı 01e2263c01 more tests 8 years ago
Barış Soner Uşaklı 608a7d120c error handler tests 8 years ago
Julian Lam af2d9fb85b Merge branch 'master' into develop 8 years ago
barisusakli 2188036148 controllers/users refactor 8 years ago
Julian Lam ddea9f534e running eslint again 8 years ago
Julian Lam 72e77772db Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 4bb49a7171 ESlint no-unused-vars 8 years ago
Peter Jaszkowiak 09e868ce5f ESlint no-useless-escape, no-else-return 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak a038c66549 ESlint quotes 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak 2ba46808a1 ESlint one-var, fix comma-dangle 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
Julian Lam 7f124a3ccf Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak aaacdb8413 Fix #5416, uploads path config setting
- Finish moving uploads route to `/assets/uploads`
- Remove `upload_url` config setting, it was broken
8 years ago
Julian Lam ae279fe57f casting some values as int, in ensureSelfOrPrivileged middleware 8 years ago
Julian Lam 73879b824c Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 2f07c18c5a All hail the glorious translation prebuilding 8 years ago
Julian Lam d29361f4c9 added additional visibility masks for profile menu hook, also added isPrivileged user method, closes #5306 8 years ago
Peter Jaszkowiak ffa2bd14f8 Fix reverse proxies breaking admin translations 8 years ago
Julian Lam 33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit 8 years ago
Julian Lam 23cdeeb344 linting :shipit: 8 years ago
Julian Lam a1b49a98e7 locking down session deletion route to admins and global mods only 8 years ago
Peter Jaszkowiak c5237443cd Standard language codes (#5218)
* Use standard language codes. Fallback for plugins.

* Fix transifex config

* Tab vs space here for some reason

* Remove redundancies

* config.relative_path instead of allcaps

* added upgrade script for existing users' accounts
8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
barisusakli 282ac56bf6 adde expose methods back
used by plugins
9 years ago
barisusakli aefba6e2b1 removed some methods
helpers.getBaseUser
exposeUid, exposeGroupName
9 years ago
barisusakli a0f2e8a8ec use req.uid 👍 9 years ago
barisusakli 8f408faf46 organize middlewares
removed app.locals.middleware
middlewares can be required anywhere, ie in controllers
9 years ago
akhoury 46a57f5d5c rm cls because it's not ready yet 9 years ago
Dravere 2fd6391081 Made the session cookie aware of the possible relative path (#4663) 9 years ago
akhoury 4245cb2739 adding cls support for ws 9 years ago
akhoury 61c76e4aba add continuation-local-storage support 9 years ago
Julian Lam 00a22e945d closes #3899 9 years ago
Julian Lam ad9a1d0f2c closes #3989
Squashed commit of the following:

commit 23de0708708ed190eafbcd6ea93d43333cb87aa3
Author: Julian Lam <[email protected]>
Date:   Wed Dec 23 10:48:16 2015 -0500

    wired up session revocation, #3989

commit 45a3f18321b74a9b6893d404b6c870f1ec4d95cd
Author: Julian Lam <[email protected]>
Date:   Wed Dec 23 09:49:27 2015 -0500

    session deletion via session uuid

commit 2bf87338cf9bfa2df0b299639421d8da7553c69a
Author: Julian Lam <[email protected]>
Date:   Tue Dec 22 13:53:35 2015 -0500

    WIP #3989

commit 623f45c3fa8b96f8b6eec0613eb7f9463348ab93
Author: Julian Lam <[email protected]>
Date:   Tue Dec 22 10:22:24 2015 -0500

    saving more metadata and displaying sessions in UCP #3989

commit d0567ed7cc33a1aea66e921b657f782038f32191
Author: Julian Lam <[email protected]>
Date:   Tue Dec 22 10:21:38 2015 -0500

    updated fontawesome to v4.5.0

commit 7131c97fe8ab42838eb2915a04e74f80f3d9a133
Author: Julian Lam <[email protected]>
Date:   Tue Dec 22 09:39:16 2015 -0500

    saving user-agent metadata into user session #3989

commit 661b7e6dba774b80b5dc6d04f89a79f809ff791e
Author: Julian Lam <[email protected]>
Date:   Tue Dec 22 09:23:24 2015 -0500

    New user auth methods to add/revoke sessions, #3989
9 years ago
barisusakli 33f07b82f9 closes #3893 10 years ago
barisusakli ca294fc6ec closes #3663 10 years ago
psychobunny 275769a801 closes #3435 10 years ago
Julian Lam 08fb30378a Closes #3302
- Fixes issue where the served path for the favicon was incorrect (included relative path when one was not needed)
- Also fixes issue where favicons were just plain not served for subfolder installations
- Fixed unsemantic HTML in ACP/General regarding Site Logo and Favicon fieldsets
10 years ago
barisusakli 05894d14c6 closes #2151 10 years ago
barisusakli 1abe35092b cluster socket.io fixes
close proxy server on loader.stop
changed handles to object
11 years ago
psychobunny 9eb8924bf2 cleanup 11 years ago
barisusakli 363057cf49 closes #2390 11 years ago
barisusakli 9a21e9646f only use multipart on upload routes,
delete temp files if there is an error in admin,
admin/mods should see topic reply
11 years ago
psychobunny 1eb1eb6844 #2278 11 years ago
psychobunny ded8de905d closes #2278 11 years ago
psychobunny f149fb0191 linting, TIL that obj.$key is valid syntax 11 years ago
barisusakli 2b115e75c6 fix login days value 11 years ago
Julian Lam 30b2f55ebc closed #2149 11 years ago
Julian Lam 632fb3a618 closed #2184 11 years ago
Julian Lam 7597c654a0 refactored plugin and auth init a bit, and fixed issue where successive reloads caused old login strategies to be inadvertently preserved 11 years ago
Julian Lam 8bac0bf361 Merge branch 'csrf-excision' into hashtalk 11 years ago
Julian Lam 4f6b3055ff Merge branch '0.5.1' into csrf-excision 11 years ago
barisusakli da86c46b4c Merge remote-tracking branch 'origin/0.5.1' into hashtalk 11 years ago
Julian Lam cca365432b closes #2084 11 years ago
Julian Lam 40e5ad075f started work on #2082 11 years ago
Julian Lam 08abbe19bc zero downtime and reload support with cluster module 11 years ago
Julian Lam de41896770 restart handling and crash detection 11 years ago
Julian Lam 58a73b52b5 work-in-progress commit to get cluster module working with loader.js 11 years ago
Julian Lam fcbdc5e271 added recompilation of templates to NodeBB Reloading - #2010 11 years ago
Julian Lam b48571ceb8 fixed #1988 11 years ago
Aure77 965d6a0d66 Allow cookie domain customization from meta config 11 years ago
Aure77 e28ed490ee Allow session cookie domain customization 11 years ago
barisusakli 119d13053d move static to end 11 years ago
barisusakli 9e8584eee7 uploads 11 years ago
barisusakli 24ebf20d7e first commit 11 years ago
psychobunny 0e92c7ed94 use templates.js module instead 11 years ago
Julian Lam 6f218857cb added connect-flash package. npm also alphabetically re-ordered the deps... thanks npm? 11 years ago
psychobunny aafbb55572 closes #1616 11 years ago
psychobunny 257491801d optimizing template compilation 11 years ago
psychobunny c97d6635fc plugin templates now have higher priority than theme templates 11 years ago
Julian Lam d74de798fc removing backwards compatibility fixed in preparation for 0.5.0. Prepare for stuff to break!!!!! 11 years ago
psychobunny b3940cd7cd enabling view cache, since we require server restart on theme changes it doesn't hurt 11 years ago
Julian Lam 970b259e06 fixed #907 11 years ago
psychobunny 3f22027007 avoid doing nconf.get over and over again on the same key 11 years ago
psychobunny e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
11 years ago
barisusakli 90540f64cf removed some unused translator requires 11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
Julian Lam 4498f6e410 removing less-middleware calls 11 years ago
psychobunny 488e31df64 added X-Powered-By header for builtwith.com 11 years ago
psychobunny eab0ca7463 allow custom themes to include templates that don't exist in the base theme 11 years ago
psychobunny 3bd93a40fc closes #1235 11 years ago
psychobunny f0a19b06c2 launch aesthetics 11 years ago
Julian Lam 43e0c726fa relaxed isClientScript regex, fixed #1198 11 years ago
psychobunny 941c3b2d7e added emitter class; express.listen only after background tasks complete; closes #1227 11 years ago
Julian Lam 7111adb3c2 fixed subfolder installs again (a bit), also stopped apple-touch-icon from clobbering /apple-touch-icon 11 years ago
Julian Lam ffa42ffea3 moving pluginRoutes to top of route stack (like others), put app.load hook behind plugins' ready callback 11 years ago
psychobunny 6acdc66470 fixed bug if default templates folder missing (in case you planned on building an entire theme from scratch) 11 years ago
psychobunny 1ef95bd09e Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	app.js
	public/templates/category.tpl
	public/templates/popular.tpl
	public/templates/recent.tpl
	public/templates/unread.tpl
	src/routes/plugins.js
	src/webserver.js
11 years ago