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
9 years ago
Julian Lam
23cdeeb344
linting :shipit:
9 years ago
Julian Lam
a1b49a98e7
locking down session deletion route to admins and global mods only
9 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
9 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
psychobunny
a9046b926d
clean templates directory before beginning compilation
11 years ago
psychobunny
90a80ad83d
plugins can now define a templates directory which gets compiled onload without requiring any hooks
11 years ago
psychobunny
c0cd6148f4
one final push, cleanup + organize + lint; made feeds/meta/plugins routes follow same pattern as other route files
11 years ago
psychobunny
3efca794fd
regex cleanup; fixed indenting on partials
11 years ago
psychobunny
67517c58e3
added warning if partial template was not found
11 years ago
psychobunny
d442e10037
template compilation + partials support
11 years ago
psychobunny
552eb78db8
template compiling init; changing themes now finally works on this branch
11 years ago
psychobunny
1dc63caf77
using views_dir config
11 years ago
psychobunny
dbbbe21883
re-implementing meta and link tags part 1
11 years ago
psychobunny
6820e9e662
random jshinting expedition
11 years ago
psychobunny
6c3c669e31
moved middleware out of webserver.js and into middleware.js
11 years ago
psychobunny
08a9ce4950
moved all app.configure() code into middleware/index.js + organization/cleanup
11 years ago