807 Commits (1d1639d46f15c5a9c84d3ccfc7a334244c28039a)

Author SHA1 Message Date
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
barisusakli 6beacdb80c fix headers for new installs
encodeURI(undefined) === "undefined"
8 years ago
Julian Lam b7fa8c1db1 fixes #5230 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
barisusakli 17f8afd0dc closes #5230 8 years ago
barisusakli 38bc8ad5ae maintenance tests 8 years ago
barisusakli 2476ab3684 closes #5202 9 years ago
barisusakli ce9be7e694 closes #5132 9 years ago
Julian Lam 663f05b972 adding back banReason to header rendering, as it regressed in 1f10e0b 9 years ago
Julian Lam 1f10e0b287 fixed #5166 9 years ago
Julian Lam f97f45a138 logic to show a modal to banned users when they try to log in via SSO 9 years ago
Sergii Paryzhskyi e515b791da Fix eslint rules (#5117)
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
9 years ago
barisusakli a995afbfe0 fix style 9 years ago
Julian Lam 2463e85c0d allowing moderators access to the account info page 9 years ago
Barış Soner Uşaklı 041022db63 #5145
dont crash if res.locals.config is undefined
9 years ago
barisusakli c972a339e6 fix value 9 years ago
barisusakli 862678eefe encodeURIComponent header values 9 years ago
Julian Lam ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 9 years ago
Julian Lam eb16eb318e exposing links to moderator tools pages in user logged-in dropdown, closes #5113 9 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
HeeL 3fa1c1f927 Fix space-infix-ops linter rule 9 years ago
barisusakli 98fff29869 closes #5082 9 years ago
barisusakli 15409f92cd escape history data, hide moderation note in api 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 478da29423 closes #5020 9 years ago
barisusakli 07fe5057e1 make sure validator.escape() receives strings only 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
barisusakli f7540a7edc closes #4811 9 years ago
barisusakli 409621c661 closes #4843 9 years ago
Mathias Schreck ce9ee62fa0 Handle callback errors 9 years ago
barisusakli 2103880d61 only extend 5mins if less than 5mins left 9 years ago
barisusakli 514c12aa68 closes #4885 9 years ago
barisusakli 2606844d98 closes #4868 9 years ago
Julian Lam 71a5e4a8a1 better error handling for session revocation if no login session is present, #4214 9 years ago
Ben Lubar 40b57d6cbe add "Admin Approval for IPs", which works like Normal for new users and Admin Approval for sockpuppet accounts (#4882) 9 years ago
barisusakli fcf145fc81 403 if not logged in, show error 9 years ago
psychobunny f3c48eb14a oops, #4832 9 years ago
psychobunny 6df3157748 closes #4832 9 years ago
barisusakli 8ea5752b50 added url property to all routes 9 years ago
akhoury 46a57f5d5c rm cls because it's not ready yet 9 years ago
Julian Lam f03018b7cc updated middlewares so if you have not completed registration, you will be required to do so 9 years ago
barisusakli bdc23b4a8d add reputation to app.user 9 years ago
Julian Lam 149565169b closes #4658 9 years ago
Nate Lee 07c59ae174 changed cls.getItem to equal cls.get from cls.set
based off of naming schema
9 years ago
Dravere 2fd6391081 Made the session cookie aware of the possible relative path (#4663) 9 years ago
Julian Lam ef4a94857d fixed admin lockout timer for subfolder installs @barisusakli :trollface: 9 years ago
Julian Lam 437770538c work-in-progress commit for #4655 9 years ago
barisusakli 16ba7ee840 fix #1972 9 years ago
barisusakli 2e0763b0a8 closes #1972 9 years ago
Julian Lam 621e0d145e closes #4617
Serving english timeago strings from server instead of round-trip
re-request on failure.
9 years ago
Barış Soner Uşaklı f0685468f8 Merge pull request #4162 from akhoury/master
add continuation-local-storage (CLS) support
9 years ago
barisusakli 702597d759 change /user/uid to /uid/:uid
so it doesn't conflict with actual user routes
was causing incorrect redirects if a user had a numeric userslug
@julianlam
9 years ago
psychobunny 4cdeae33e5 don't add "page-xxx-" class if trailing slash exists 9 years ago
barisusakli eb0aea6390 add /user/<uid> and /post/<pid> redirects
change notifications to use new redirects
9 years ago
barisusakli cef7fb545b closes #1972 9 years ago
barisusakli 25f3a31ff1 closes #4587 9 years ago
Julian Lam 2e2c8b8e77 fixes #4584 9 years ago
Aziz Khoury 01ee020750 bring back disconnect only for CLS purposes 9 years ago
Aziz Khoury 53e9627001 unify request as a store key for both http and websockets calls 9 years ago
pichalite c5e62f9a58 fixes #4454 9 years ago
barisusakli 86106971c4 closes #4382 9 years ago
Ben Lubar 3c607f2612 fix two crashes 9 years ago
barisusakli c71ffed69c closes #4362 9 years ago
barisusakli b1284f900d up toobusy default 9 years ago
Julian Lam 184a2c4540 IP blacklist functionality -- re: #4367
Squashed commit of the following:

commit 5c42fd732d091fa66cf5b45a2af5e1697cc1efcd
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Mar 14 17:29:45 2016 -0400

    allowing blacklist.test to be called synchronously

commit 979faf2dba5e6f6e2ae1bd07341e63678438daf1
Author: Julian Lam <julian@nodebb.org>
Date:   Mon Mar 14 17:01:14 2016 -0400

    added plain ipv6 support and finished middleware logic

commit d4b72fc1aadff34df3ed7dec52ca8d3c3728a078
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 16:05:31 2016 -0500

    WIP IP Banning logic middleware

commit f08b2553890c5522b6a1eaf521fe4e94df40574a
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 15:26:27 2016 -0500

    tweaks to ACP, rule validator

commit 868abacaa494e6b8a88bd4ea429b1b066a9ecb2e
Author: Julian Lam <julian@designcreateplay.com>
Date:   Fri Mar 11 13:50:05 2016 -0500

    IP Banning ACP page, styling, save&load functionality
9 years ago
barisusakli c156d1cb34 closes #4344 9 years ago
akhoury 07586c9023 merge 9 years ago
Julian Lam 088940d4c7 Squashed commit of the following:
commit 49e6c0040cc82c1e2684933a8e167ef14854aff8
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 16:12:15 2016 -0500

    added recording and charts for topic and post counts globally and by cid

commit e02ff70757f778aa016fbc42ef10a5da2d07a9d9
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 15:35:49 2016 -0500

    added labels to charts

commit e75d83bf3886e5183bcf5fcd848d71c513761e01
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 13:30:47 2016 -0500

    added per category graphs to ACP management page

commit e3f543200950925cc9e8bf33cccb592f949a100e
Author: Julian Lam <julian@designcreateplay.com>
Date:   Thu Feb 25 12:36:11 2016 -0500

    updated analytics to move helper methods to analytics lib and sending per category analytics to ACP page

commit 01891d8f7c408925fcdad18dcaa941e5ebbeb9b2
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Feb 24 16:48:55 2016 -0500

    saving per-category analytics, and updated the writeData method to use async for "clarity"
9 years ago
akhoury bdc8e6f04f Merge remote-tracking branch 'upstream/master' 9 years ago
Barış Soner Uşaklı 88e4591f88 closes #4194 9 years ago
akhoury 496e5ae8bf comment 9 years ago
akhoury 7f0c46b3a7 Merge remote-tracking branch 'upstream/master' 9 years ago
akhoury 4245cb2739 adding cls support for ws 9 years ago
barisusakli d7df6c0b06 remove more from config 9 years ago
akhoury 852a1a178e oops 9 years ago
akhoury 61c76e4aba add continuation-local-storage support 9 years ago
psychobunny f94cd21f83 #3875 filter:scripts.get now acts like filter:admin.scripts.get; does not get minified 9 years ago
psychobunny 9430a626f4 #3875 9 years ago
Julian Lam 00a22e945d closes #3899 9 years ago
barisusakli 7ad90b4ef6 closes #2659 9 years ago
Julian Lam ad9a1d0f2c closes #3989
Squashed commit of the following:

commit 23de0708708ed190eafbcd6ea93d43333cb87aa3
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Dec 23 10:48:16 2015 -0500

    wired up session revocation, #3989

commit 45a3f18321b74a9b6893d404b6c870f1ec4d95cd
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Dec 23 09:49:27 2015 -0500

    session deletion via session uuid

commit 2bf87338cf9bfa2df0b299639421d8da7553c69a
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 22 13:53:35 2015 -0500

    WIP #3989

commit 623f45c3fa8b96f8b6eec0613eb7f9463348ab93
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 22 10:22:24 2015 -0500

    saving more metadata and displaying sessions in UCP #3989

commit d0567ed7cc33a1aea66e921b657f782038f32191
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 22 10:21:38 2015 -0500

    updated fontawesome to v4.5.0

commit 7131c97fe8ab42838eb2915a04e74f80f3d9a133
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 22 09:39:16 2015 -0500

    saving user-agent metadata into user session #3989

commit 661b7e6dba774b80b5dc6d04f89a79f809ff791e
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Dec 22 09:23:24 2015 -0500

    New user auth methods to add/revoke sessions, #3989
9 years ago
Julian Lam cc4997aeca fixes #3940 9 years ago
Julian Lam 3a520cdfbf Successful web installer now doesn't show 503 9 years ago
Julian Lam 9589de551e added toggler to disable toobusy if necessary 10 years ago
barisusakli 33f07b82f9 closes #3893 10 years ago
barisusakli ecd777b659 closes https://github.com/NodeBB/nodebb-theme-persona/issues/206 10 years ago
barisusakli 5a9edf5973 closes #3881 10 years ago
Barış Soner Uşaklı c55abdd095 closes #3815 10 years ago
barisusakli 016aef1716 too busy check on prod 10 years ago
Julian Lam b8b9da2c30 Squashed commit of the following:
commit 62d59620d26bc97c7d689e9af57cd8bff654c79e
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 11:04:27 2015 -0500

    tweaked 503 template

commit 15a61cbc239c9d654691d91cdadce59e13d97586
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 10:58:19 2015 -0500

    added text about reloading being required if threshold values are changed

commit 3fe87699332ef0628b4db31f4afef245802a7bc0
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 10:53:35 2015 -0500

    added ACP settings for toobusy

commit f6a9964baff051072052e6ef99da9e1ffba014df
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 08:53:53 2015 -0500

    removed unused 503a template

commit e6d444736baf4c676f8461d30a5504c6e45df163
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 02:01:11 2015 -0500

    updated code to send static 503 instead of maintenance-style page

commit 11089ae2bb833e068b01ee77ee745d9fd5344805
Author: Julian Lam <julian@designcreateplay.com>
Date:   Wed Nov 4 01:18:45 2015 -0500

    added toobusy support so the Node process doesn't fall over at high load
10 years ago
barisusakli ca4440b8af closes #3799 10 years ago
barisusakli f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
10 years ago
Julian Lam 8d4209d42c Merge remote-tracking branch 'origin/master' into user-icons 10 years ago
psychobunny 9bef54b5ed fix title for dashboard 10 years ago
Julian Lam 526afc0910 Merge remote-tracking branch 'origin/master' into user-icons 10 years ago
psychobunny 07c50cba7d titles for ACP routes 10 years ago
Julian Lam b52475c270 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/client/account/edit.js
	src/middleware/middleware.js
	src/socket.io/meta.js
	src/socket.io/user/picture.js
	src/user.js
	src/views/admin/manage/group.tpl
10 years ago
barisusakli 751a6c6839 got rid of extra call to user.getSettings 10 years ago
barisusakli f2d6f931af closes #3505 10 years ago
barisusakli f5e7d1ce01 private uploads 10 years ago
barisusakli 3a3c5486b7 expose method 10 years ago
barisusakli 94129287d0 moved non-async code 10 years ago
barisusakli 17dd1ff485 fix next 10 years ago
barisusakli da4034a10a middleware refactor 10 years ago
Julian Lam 896abb59d3 Update default gravatar admin option to defaultAvatar 10 years ago
Julian Lam 97dd5500a1 Merge remote-tracking branch 'origin/master' into user-icons 10 years ago
barisusakli ca294fc6ec closes #3663 10 years ago
Julian Lam a4c2626bdc mobile menu header 10 years ago
Julian Lam f6d5b52a8b WIP user-icons 10 years ago
barisusakli 4e2318fa1e fix title in acp removed extra | 10 years ago
barisusakli 13508ca7f9 closes #3547 10 years ago
barisusakli 75af978145 closes #3646 10 years ago
barisusakli 1dd706d0b2 crash fix, res.locals.config can be undefined 10 years ago
barisusakli dd5a8e8a88 closes #3568 10 years ago
barisusakli 7c319c9b20 fix browser title on home page 10 years ago
barisusakli c3719ea5b5 closes #3519 10 years ago
barisusakli 93e6916fe6 moved maintenace mode middleware 10 years ago
barisusakli 25502f0687 closes #3508 10 years ago
barisusakli 48512bff6b get rid of app.exposeConfigToTemplates 10 years ago
psychobunny dbc9c07b55 403 browser title 10 years ago
psychobunny 4b91d7ec3d req.route is not defined if you go to some bogus url 10 years ago
psychobunny 4b5f67eb4d use [[pages:home]] instead 10 years ago
psychobunny 5dae60faff closes #3502 10 years ago
psychobunny 8cc91ea6e7 fix crash in middleware.renderHeader 10 years ago
barisusakli eaefd9d24c remove meta/title.js and meta.title.build #3481 10 years ago
Barış Soner Uşaklı 1a6e576483 async 10 years ago
barisusakli fee08cd665 closes https://github.com/NodeBB/NodeBB/pull/3250 10 years ago
Barış Soner Uşaklı 5e9a123e70 Merge pull request #3360 from jsdream/renderHeaderHook
Add 'filter:middleware.renderHeader' hook
10 years ago
jsdream 103055b262 Add error check in 'filter:middleware.renderHeader' hook callback 10 years ago
barisusakli aec4ee5392 crash fix 10 years ago
psychobunny 0150e0e063 closes #3069 10 years ago
psychobunny 275769a801 closes #3435 10 years ago
psychobunny b3639f3c71 closes #3429 10 years ago
psychobunny 842815e5e9 closes #3445 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 0534da0ed1 closes #3389 10 years ago
Julian Lam 03b6b1e15c Fixed crash on launch if no hooks listen to filter:router.page
A previous commit added a new hook, although it executed async.each on a var without a null check, so if no hooks were registered, it was null, and not an empty array, causing async to crash.
10 years ago
Julian Lam 5a50a098d8 added a new middleware and plugin hook
- Middleware added: requireUser, redirects to login if there is no user session.
- Hook added: filter:router.page
10 years ago
jsdream 29fcbf6750 Add 'filter:middleware.renderHeader' hook 10 years ago
Julian Lam df055ce7ea if buildHeader middleware is called, isAPI is now set to false 10 years ago
barisusakli 954c25823e closes #3352 10 years ago
barisusakli 9e63aaebb8 added new hook action:middleware.pageView 10 years ago
barisusakli 65ab5733ef added categories navigation item, ability to change logo url 10 years ago
Julian Lam da1c347fc2 closes #3297 10 years ago
barisusakli ffd22f50ff closes #1999 10 years ago
barisusakli 57c2418157 closes #1306 10 years ago
psychobunny ff234bccfe redirectToLogin() 10 years ago
psychobunny deda4a4ed6 fixes for 503's in maintenance mode 10 years ago
psychobunny e3ee3de95d lint 10 years ago
Julian Lam 170126680b #3213 10 years ago
Julian Lam 54277e62fc fixed #3213 10 years ago
Julian Lam aae3ac6b98 updated title parsing methods to call a new hook: filter:parse.title 10 years ago
Barış Soner Uşaklı f44e850fa0 revert last change, breaks ajaxify 10 years ago
Barış Soner Uşaklı 5d5346c4f9 allow overriding template name 10 years ago
barisusakli 6dfb229c66 closes #2842 10 years ago
Julian Lam 610d687a96 moved favicon into default link tags, and fixed bug that caused link tags to not show up 10 years ago
Julian Lam c26f274392 moved meta and link tag parsing out to a new module, meta/tags 10 years ago
Julian Lam cc4e626f5f updated middleware.renderHeader so that navbar config is retrieved in parallel like everything else, instead of retrieved first. (ping @psychobunny) 10 years ago
Barış Soner Uşaklı c9b5948034 closes #2927 10 years ago
barisusakli 835d4db481 dont add category/topic slug if user doesnt have read permission
or category is disabled etc.
10 years ago
Barış Soner Uşaklı 641c8991f9 closes #2944
if going to users page wait for updateOnlineUsers to complete
10 years ago
Julian Lam 40834cc010 updated checkAccountPermissions to call requireUser, and added new hook for plugins to handle auth login 10 years ago
barisusakli b3f66faa37 default is private 10 years ago
barisusakli 2fd4bcde3f added req.uid user id for logged in users, 0 for guests 10 years ago
Julian Lam 47a7ab15be refactored translator system to be a require.js module, and not a global 10 years ago
Julian Lam f0f31e077f added exposeUid middleware to core 10 years ago
Barış Soner Uşaklı e4199179f7 Merge remote-tracking branch 'origin/master' into mongodb-3.0-driver-2.0 10 years ago
Julian Lam 8e2483b2e6 fixed #2849 10 years ago
barisusakli 724df69561 fix redirects 10 years ago
barisusakli ddd4680ea7 added helpers.redirect 10 years ago
barisusakli 3809b331bc acp shenans 10 years ago
barisusakli 2a8437f08f removed templates config and mapping 🐑 10 years ago
barisusakli 5821a0758f return template name as well 10 years ago
Barış Soner Uşaklı d9e0a495b0 updated install.js to install mongodb native 2 10 years ago
Barış Soner Uşaklı 8b21f1c8ab dont reload settings page on every save
only show an alert if reload is required
renamed settings.language to settings.userLang to match the config
10 years ago
psychobunny 58411a4764 deprecated filter:header.build, the equivalent hook (same output data) will be filter:navigation.available 10 years ago
psychobunny 738c27bf04 started dynamic sortable menu 10 years ago
psychobunny ecad9d54ed tjs 0.1.19 for undefined key cleanups 10 years ago
Julian Lam 4984f2f449 Merge branch 'master' of github.com:nodebb/NodeBB 10 years ago
Julian Lam d3ff6a9f47 hidden groups are invisible to non-members, #2758 10 years ago
Barış Soner Uşaklı e6e755dd46 #2560 10 years ago
Barış Soner Uşaklı 1d5e15eab4 closes #2560 10 years ago
psychobunny e60ef6c9d1 Merge pull request #2716 from pitaj/master
Translate ACP pages
10 years ago
Peter Jaszkowiak 2b9d1ee3dd Translate ACP pages
I fixed it
10 years ago
barisusakli 7f6518e4a6 private plugin link fix 10 years ago
barisusakli 0fab6c243c increase rate limit timeframe from 1 second to 10 seconds 10 years ago
Julian Lam 22a619d9c7 fixed #2631 10 years ago
Julian Lam 491e0060d4 more files that should be loaded for maintenanceMode to work 10 years ago
Julian Lam fe45fc967d updating maintenance mode middleware so js doesn't crash until login client-side js is ready 10 years ago
barisusakli 02dbce57fb relative path fix missing ; 10 years ago
barisusakli 05894d14c6 closes #2151 10 years ago
barisusakli 2974f1ba8a closes #2602 10 years ago
barisusakli f74383bba4 changed userPhoto to files[] 10 years ago
Oleksandr Pidlisnyi f9887de478 footer.tpl loggedIn variable support 10 years ago
barisusakli 87435c1a9e return email:confirmed on admin header 10 years ago
barisusakli b1edc59987 fix undefined next 10 years ago
barisusakli 2ea5f85d9b closes #2481 10 years ago
barisusakli 4ce6341d85 fix acp for header changes 10 years ago
barisusakli 8ed06eb773 closes #2528 10 years ago
barisusakli 04084807c2 removed app.loadConfig 10 years ago
barisusakli 6a8a5a9de0 use validator.escape 10 years ago
barisusakli 0cb0dafae3 another relative_path fix 10 years ago
barisusakli 03de918f10 fix more relative path redirects 10 years ago
barisusakli 011c42bde3 updated analytics
accumulate pageviews, uniquevisitors and uniqueIps locally and update db
every 10 mins instead of on every page view
10 years ago
barisusakli 8965855218 made breadcrumbs regular function
less db calls as well
10 years ago
Barış Soner Uşaklı 5f47f2226a escape topic title and category name 10 years ago
barisusakli 9f7196f5b0 dont crash if config is undefined, added error to plugins 10 years ago
Julian Lam b278f27ffe partial fix to #2509 10 years ago
barisusakli 9d78a204df missing return 10 years ago
barisusakli 356f577a74 redirect to correct login 10 years ago
barisusakli 09a5d92dba correct method name 11 years ago
barisusakli 9075a8d4c9 added back isAdmin into admin middleware with a warning 11 years ago
barisusakli 97d01de155 fix acp 11 years ago
barisusakli ddd6ed9e8c #2477 403 page 11 years ago
barisusakli be11577aa4 closes #2477 11 years ago
Julian Lam aa44894db2 fixing home breadcrumb, #1984 11 years ago
barisusakli 957800b2c3 Merge remote-tracking branch 'origin/master' into socket.io1.x 11 years ago
Julian Lam 604f883ac2 closed #2478 11 years ago
Julian Lam 110fd863e4 fixing breadcrumbs for subfolder installs, #2122 11 years ago
Julian Lam 78763834fe closed #2122 11 years ago
barisusakli 0c5881b51f update online users regardless of status 11 years ago
barisusakli 1abe35092b cluster socket.io fixes
close proxy server on loader.stop
changed handles to object
11 years ago
barisusakli 80d7ae597b closes #2451 11 years ago
Julian Lam ba9a5ad7d7 fixed #2448 11 years ago
Barış Soner Uşaklı bea1d053b4 closes #2443, closes #2445 11 years ago
Julian Lam 3ad509b93a fixed #2434 11 years ago
Julian Lam fe7726d249 fixed #2431 11 years ago
barisusakli 6012223b81 show message name, fix template name overwrite 11 years ago
psychobunny 9eb8924bf2 cleanup 11 years ago
barisusakli 9c1216eb63 closes #2432 11 years ago
barisusakli d5453efdac added current template name to return 11 years ago
barisusakli b919d2ee77 shorther 11 years ago
Julian Lam 5292a47a96 fixed maintenance mode page not working with new CSRF implementation, #2424 11 years ago
Julian Lam deac12c540 closed #2424 11 years ago
Julian Lam 23485fcbf3 missed one invocation of old LESS library, #2419 11 years ago
barisusakli 363057cf49 closes #2390 11 years ago
barisusakli 61863a69fe sendfile is deprecated 11 years ago
barisusakli af4cbfb20d closes #2368 11 years ago
barisusakli 698d113857 error checks in middleware/admin 11 years ago
barisusakli d2cc4b8516 possibly fixes 2301 11 years ago
Julian Lam 9215930cfc fixed #2292 11 years ago
Julian Lam ffdc4b5d24 fixed places where site_title was being referenced in config, instead of the correct "title" 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
Julian Lam a28b4bb8b9 fixed maintenance mode assets not being loaded properly 11 years ago
barisusakli b5fe2c7b91 closes #2255
if user is banned log them out on header render
11 years ago
barisusakli b23373c265 parseInt maintenance mode 11 years ago
psychobunny 1eb1eb6844 #2278 11 years ago
psychobunny ded8de905d closes #2278 11 years ago
barisusakli 761f56aeb1 removed most of the db.sortedSetCards 11 years ago
barisusakli fced152e41 read total from global object 11 years ago
barisusakli 5d79d2a75a closes #2191
added unique visitors analytics
only update it every hour
11 years ago
psychobunny f149fb0191 linting, TIL that obj.$key is valid syntax 11 years ago
psychobunny eb4baf62b5 closes #2235 11 years ago
psychobunny 84b9b86dd1 no better way to spend your saturday
inb4 linting bonanza
11 years ago
psychobunny 1b2ccda40b closes #2231; see #2218 11 years ago
Julian Lam 60c45d8b9b fixed issue where non-admins would get maintenance mode header if maintenance mode was NOT enabled (logic errors, grrr..) 11 years ago
Julian Lam 24ac7ba316 better templating and styling for #2099 11 years ago
barisusakli cf252a29a7 closes #2196 11 years ago
barisusakli 2b115e75c6 fix login days value 11 years ago
Julian Lam 30b2f55ebc closed #2149 11 years ago
psychobunny d0452fb93f random attempt to fix traviscl 11 years ago
Julian Lam 632fb3a618 closed #2184 11 years ago
psychobunny d79b6b3803 forum traffic graph - unique visitors vs pageviews 11 years ago
psychobunny 144992426d converted pageviews tracking to sorted set, and using pre-built getStatsForSet function
thanks @barisusakli
11 years ago
barisusakli ebfc6d9785 #2152 dont pass undefined into parser 11 years ago
psychobunny 1a18bf22aa linting 11 years ago
psychobunny 99a56acab8 #1999 sending ajaxify-data to client on cold loads
commented out until we figure out what we're doing with the renamed
properties (see issue)
11 years ago
Julian Lam 9b9e79ef27 re: #2099 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
barisusakli b7fd4c22d4 removed checkPostIndex middleware
1 less call to get topic post count
11 years ago
barisusakli 803a2436de wait for increment to complete before expire 11 years ago
barisusakli 1844250967 check err 11 years ago
barisusakli 93b83060be fix expireAt using millis 11 years ago
Julian Lam cd135dda13 renamed middleware to applyCSRF, re: #2082 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
psychobunny a6089ba4aa closes https://github.com/NodeBB/NodeBB/issues/2096 11 years ago
psychobunny ab1c231b84 re-enabling updateLastOnlineTime - calling that middleware for page loads only instead of every API call 11 years ago
psychobunny 76fb2c3378 daily + monthly pageview analytics middleware 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
psychobunny 61895633b3 disabling updateLastOnlineTime until we can move this key to redis 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
barisusakli ae6d5e72f4 closes #2015 11 years ago
Julian Lam caa9c8c157 more stuff using new returnTo behaviour 11 years ago
Julian Lam 08c9cbdf70 changing admin API calls to return 404 if unauthenticated, and redirect user to login for regular URL. closes #1885 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
barisusakli 0847eb2c3d added uid to filter:header.build 11 years ago
Julian Lam 4fa80263b0 fixed #1981 11 years ago
psychobunny 631edc92d3 extra var 11 years ago
barisusakli cfc67d4e90 closes #1924 11 years ago
Julian Lam 4d73a563c5 closed #1850 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 81018d1305 closes #1863 11 years ago
psychobunny 08df29e4dd random console.log 11 years ago
Julian Lam 71916f0691 marathon bugfixing with @barisusakli re: #1788 11 years ago
Julian Lam d18461c8eb wtf. Merge remote-tracking branch 'origin/chat-route' into chat-route
Conflicts:
	public/language/en_GB/modules.json
	src/controllers/accounts.js
	src/middleware/middleware.js
	src/routes/index.js
11 years ago
Julian Lam 89dc8c490a WIP 11 years ago
Julian Lam 0dad7adb8d issue #1788 - start 11 years ago
Julian Lam b03bb3a32b issue #1788 - start 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
barisusakli b8b6ae7b2f moved upload route into API namespace 11 years ago
barisusakli a9e5e82431 closes #1758 11 years ago
barisusakli 1cabf885a2 closes #1730
postCount != lastPostIndex unfortunately, that will need some rethinking
11 years ago
psychobunny 0e92c7ed94 use templates.js module instead 11 years ago
Julian Lam a3d01aea58 added error handling if bad LESS is written in ACP. closes #1715 11 years ago
barisusakli 13854e8774 closes #1603 11 years ago
Julian Lam 6f218857cb added connect-flash package. npm also alphabetically re-ordered the deps... thanks npm? 11 years ago
barisusakli 3bd4d0e418 closes #1692 11 years ago
barisusakli 4c2765a79c closes #1679 11 years ago
barisusakli 7610c11cd1 closes #450
backup database before upgrade!
upgrade script will take the first post of each topic and set the
`mainPid` property on the topic. then it will remove that pid from the
sorted sets for that topic, this was done to make alternative sorting
work.

added a new sorted set called `tid:<id>:posts:votes` that is used to
sort topic posts by vote count, the original sorted set `tid:<id>:posts`
is used to sort by oldest first or newest first.

the main post is added to the returned posts array on topic load and is
always at the top.
theme changes are minimal just a few new data properties on the posts
and the sorting dropdown.
hopefully didn't miss anything too critical.
11 years ago
barisusakli 8d0c659f08 small fix to redirect 11 years ago
barisusakli 61b79de3e8 closes #1641 11 years ago
psychobunny d7eb89336d add logo to windows live tile 11 years ago
psychobunny cf3f33a23d closes #1633 11 years ago
barisusakli 0574022e02 fixes to infinitescroll 11 years ago
psychobunny aafbb55572 closes #1616 11 years ago
psychobunny ee1e869ccb add loggedIn state to template parsing 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
barisusakli 0dce8647ba closes #1476 11 years ago
Julian Lam 93e3eb4d28 fixed #1584 11 years ago
Julian Lam d74de798fc removing backwards compatibility fixed in preparation for 0.5.0. Prepare for stuff to break!!!!! 11 years ago
barisusakli e003582289 fixes redirect loop for empty slugs 11 years ago
Julian Lam 2e49fe9f50 fixed meta property to name, for keywords 11 years ago
barisusakli ed57edde3b fixed undefined next 11 years ago
Julian Lam b56df975e0 fixed 1495 11 years ago
barisusakli 883978007d closes #1482
removed updateHeader, the header is using template values in from the
api, update menu partial in vanilla theme as well
11 years ago
psychobunny 14db999684 closes #1494 11 years ago
barisusakli 89225c80ca related to #1493 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
barisusakli 63d88957a8 replace self links client side 11 years ago
barisusakli c8efeb7d7c closes #1400, bunch of other fixes to 404, 403 in accounts 11 years ago
psychobunny 2627ed0fcd fixed filter:admin.scripts.get 11 years ago
psychobunny da4113e1f1 Revert "last commit doesn't play well with ajaxify, need a rethink."
This reverts commit f85678e938.
11 years ago
psychobunny f85678e938 last commit doesn't play well with ajaxify, need a rethink. 11 years ago
psychobunny 1f9bdd840f allow for the possibility of custom post-header or pre-footer templating 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 3e60451ce4 closes #1013
lets user change languages,
11 years ago
barisusakli beb7313138 added err to next 11 years ago
barisusakli 8aa4f053e8 converted translator.get to translator.translate 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
psychobunny f16d98fcab linting 11 years ago
psychobunny 3840a9e67e translating the footer... and sending the original 'doh 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 0f20352fbb closes #1289 11 years ago
barisusakli 219c0d75c4 fix for #1290 11 years ago
psychobunny eab0ca7463 allow custom themes to include templates that don't exist in the base theme 11 years ago
Julian Lam 31606578f5 putting cache buster back in header template arguments 11 years ago
Julian Lam c2f6717e88 adding cache-buster to template globals 11 years ago
Julian Lam 8c7b474e8b moved fontawesome CSS into stylesheet.css, and updating the js and css middlewares to compile at app start, not on first load 11 years ago
barisusakli 0cfd05d839 closes #1254 11 years ago
psychobunny 3bd93a40fc closes #1235 11 years ago
psychobunny f0a19b06c2 launch aesthetics 11 years ago
psychobunny c6a89b504f Merge branch 'master' of https://github.com/designcreateplay/NodeBB 11 years ago
psychobunny 6262312747 closes #1153 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
barisusakli 37e8856861 new middleware to add slug to topic and category 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
barisusakli 9564b6fda2 closes #1165 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 6ea4d89edc fixed search routes 11 years ago
psychobunny 4793b6b4f9 fixed invalid path for apple-touch-icon 11 years ago
psychobunny faf3de7e27 added a check for res.locals.isAPI inside res.render, instead of doing it all over the place in code 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 e84dd4fd94 Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	public/templates/accountedit.tpl
	public/templates/header.tpl
	src/routes/meta.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 a3a0aabd22 return error if template doesn't exist 11 years ago
psychobunny c24c2a5422 search and reset routes, the very last of the views to be refactored :shipit: 11 years ago
psychobunny 8802fc5a33 fixing link tags; misc bug fixes 11 years ago
psychobunny d3aead7c13 changing renderHeader function signature to req, res, next 11 years ago
psychobunny 48b9289002 use the proper footer for admin 11 years ago
psychobunny d360320441 finally got admin header and footer working 👍 11 years ago
psychobunny eed97648b1 started moving admin mdw into middleware/admin.js; res.render post-processing to append admin footer/header 11 years ago
psychobunny 209bcaba8c middleware.updateLastOnlineTime; middleware.prepareAPI (reinstated) 11 years ago
psychobunny 94aeb3ab22 notifications route; added middleware.authenticate to user/uploadpicture api route 11 years ago
psychobunny 5b8e8e4b67 deprecating use of templates.setGlobal on server side in favour of passing in api.config into res.locals (still needs work) 11 years ago
psychobunny 138b12e815 re-added linkTags into header; clean up 11 years ago
psychobunny d75bc9578b deprecating middleware.prepareAPI in favour of using app.all('*') in /api namespace 11 years ago
psychobunny 8df33e65ac fixing bug in topics causing meta tags to revert on subsequent refresh 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