1067 Commits (520d6954c13205b767c7701c6f7c6f70c03f0a06)

Author SHA1 Message Date
Julian Lam ba412f4a56 fully completed #4658 9 years ago
Julian Lam 149565169b closes #4658 9 years ago
Julian Lam 437770538c work-in-progress commit for #4655 9 years ago
barisusakli b3fa5583f8 closes #4650 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
Julian Lam f1deaa6fa5 Exposing middleware to app/req, organisation.
Organisation -- moved 404 and error controllers into the
controllers file instead of as local variables in routes/index
9 years ago
barisusakli 69e25fe4d5 closes #4612 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
barisusakli eb0aea6390 add /user/<uid> and /post/<pid> redirects
change notifications to use new redirects
9 years ago
Barış Soner Uşaklı 03b047bd59 fix another crash 9 years ago
barisusakli 09a03bbe10 fix validator crash 9 years ago
Julian Lam a500914143 Updated 404 for image handling
If an image or asset specified in static file handler is not
found (ENOENT), then the 404 handler is now invoked (as opposed to
prior, where a handled exception was thrown).

Also, when requesting images inline that do not exist, NodeBB
will now send back "404 Not Found" instead of the entire 404
page. If you access the broken link directly, you'll see the
404 page.
9 years ago
Julian Lam d0f08b4dd4 added prompt to passport input for Google SSO 9 years ago
Barış Soner Uşaklı 35ac64db7f Merge pull request #4504 from BenLubar/unread-topics
Add /unread/new, which is the same as /unread but does not show topics that were already partially read by the user.
9 years ago
Julian Lam 2ddcaa9ce1 added new hook for hotswap preparation 9 years ago
barisusakli 229326acd6 another tab 9 years ago
barisusakli f43be13f87 fix indent 9 years ago
barisusakli bec688cea0 relative path fix 9 years ago
barisusakli f7ac1d89ff fix undefined next 9 years ago
Ben Lubar 217f0c5652 Switch to a named filter for unread to allow future expansion.
Don't use the query string as it is not passed to infinite scroll.
9 years ago
Julian Lam 22f73a8f68 fixes #4463 9 years ago
barisusakli 78f4cbc9e4 fix indents 9 years ago
barisusakli 0f959c341b closes #4466 9 years ago
barisusakli f665a1e353 closes #4394 9 years ago
barisusakli b6e22b7723 closes #4367 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
psychobunny 9e832e006a closes #2920 9 years ago
psychobunny e069150625 closes #2165 9 years ago
barisusakli 3d4e058b6a closes #4192 9 years ago
barisusakli 5b6e8bd167 closes #4171 9 years ago
barisusakli e6cf8ec5cf more flagged posts shenanigans 9 years ago
barisusakli 086e99de5c wip flagged posts 9 years ago
barisusakli 1b9e18c6fc allow global mods to see banned users 9 years ago
Julian Lam b1d6d81992 ensuring that auth routes are loaded _after_ plugin routes,
just like in a reload.
9 years ago
barisusakli 1a87767c2c removed extra isAdminOrMod check 9 years ago
barisusakli dbc04cb4a2 getTopicWithPosts change, fix feeds 9 years ago
barisusakli cb8fcb80d1 closes #4083 9 years ago
barisusakli 32ca95319e closes #3436 9 years ago
psychobunny 42c0b973f1 closes #3134 9 years ago
barisusakli 92f0e2d86a closes #3586
added account/upvoted, account/downvoted, account/best
9 years ago
barisusakli ae9606f5ee closes #3738 9 years ago
barisusakli 96aa94ee10 refactor categories 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
barisusakli da5891bcf6 remove debug 9 years ago
barisusakli 5d1169e686 changed the chat route to /chats/:roomid? 9 years ago
barisusakli 58d05f7c79 recent chat list with rooms 9 years ago
Barış Soner Uşaklı cdca09a7b2 escape error message on 500 page 9 years ago
Dustin Falgout 0e5830d6f2 add api endpoints to get user by username and by email
Signed-off-by: Dustin Falgout <dustin@falgout.us>
9 years ago
barisusakli 9125e778a1 Merge remote-tracking branch 'refs/remotes/origin/master' into room-optimize 9 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
9 years ago
barisusakli 1ecf27417a removed commented out stuff removed topics.enter 9 years ago
psychobunny 8cf6fe3aa1 closes #3808 9 years ago
Julian Lam 526afc0910 Merge remote-tracking branch 'origin/master' into user-icons 9 years ago
psychobunny f19043d046 profile cover photos 9 years ago
psychobunny 61b1f5fe32 allow regular uploading (modal) of cover photo 9 years ago
Julian Lam 68c3f9d849 Squashed commit of the following:
commit 56582bc9eee5d81a01f42a28808b617b9c96873a
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Oct 27 05:21:11 2015 -0400

    added missing template

commit 6462a1626e7d8d77210b6e10eace5c9214335f33
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Oct 27 05:19:07 2015 -0400

    sitemap index

commit 3cfd56f1fbc8e03405dc394375bf5ff6eef21322
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Oct 27 04:47:52 2015 -0400

    sitemap routes, controllers, and library methods for pages, categories, and topics

commit e58e07c0881bdbe16d503b4679b85f761b02163c
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Oct 27 04:07:39 2015 -0400

    added groups to sitemap

commit 7ee584b632
Author: Julian Lam <julian@designcreateplay.com>
Date:   Tue Oct 27 01:43:06 2015 -0400

    If notification dropdown is double-clicked, all notifications are marked read

commit 488f147bef
Author: barisusakli <barisusakli@gmail.com>
Date:   Mon Oct 26 22:39:19 2015 -0400

    closes #3781

commit 5e1bd58a02
Author: barisusakli <barisusakli@gmail.com>
Date:   Mon Oct 26 22:28:30 2015 -0400

    closes #3782

commit 57d3980267
Author: barisusakli <barisusakli@gmail.com>
Date:   Mon Oct 26 22:16:08 2015 -0400

    closes #3790

commit 555c5b82da
Author: barisusakli <barisusakli@gmail.com>
Date:   Mon Oct 26 21:19:20 2015 -0400

    check user settings

commit 5454862c1c
Author: barisusakli <barisusakli@gmail.com>
Date:   Mon Oct 26 20:26:02 2015 -0400

    wait for all callbacks when creating tags

commit 051c5077eb
Merge: 839fd93 e0e04ef
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Mon Oct 26 09:54:12 2015 -0400

    Merge pull request #3792 from drlogout/master

    Fixed wrong method name in socket.io/groups.js from isAdmin to isAdmi…

commit e0e04ef892
Author: Christian Nolte <hello@noltech.net>
Date:   Mon Oct 26 14:50:32 2015 +0100

    Fixed wrong method name in socket.io/groups.js from isAdmin to isAdministrator

commit 839fd935ad
Author: barisusakli <barisusakli@gmail.com>
Date:   Sun Oct 25 21:54:35 2015 -0400

    add back thread tools filter

commit 37060bf1a3
Merge: 5820a19 bf918bd
Author: Barış Soner Uşaklı <barisusakli@gmail.com>
Date:   Sun Oct 25 18:13:06 2015 -0400

    Merge pull request #3787 from cubehouse/patch-1

    Upgrade script fails on some consoles

commit 5820a193f6
Author: barisusakli <barisusakli@gmail.com>
Date:   Sun Oct 25 17:04:46 2015 -0400

    closes #3789

commit 0d88d52557
Author: barisusakli <barisusakli@gmail.com>
Date:   Sun Oct 25 17:03:33 2015 -0400

    up theme

commit 9bc43ba5e1
Author: barisusakli <barisusakli@gmail.com>
Date:   Sun Oct 25 16:57:42 2015 -0400

    closes #3788

commit aafd4b6984
Author: barisusakli <barisusakli@gmail.com>
Date:   Sun Oct 25 15:56:17 2015 -0400

    closes #3786

commit bf918bd016
Author: James Holding <cubehouse@users.noreply.github.com>
Date:   Sun Oct 25 10:14:00 2015 +0000

    Upgrade script fails on some consoles

    The upgrade script errors/fails on some consoles if the stdout.columns isn't set (my console did this when upgrading a Docker instance of NodeBB).
    Checking for stdout.columns before using, falling back to a couple of spaces for slightly prettiness if we can't work out the console width.
9 years ago
barisusakli 9bc43ba5e1 closes #3788 9 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
9 years ago
barisusakli 0e057a3d92 dont render 404 page for favicon 9 years ago
barisusakli 36e89ae15a closes #3771 9 years ago
barisusakli e60c1d8736 added process info 9 years ago
barisusakli f5e7d1ce01 private uploads 9 years ago
barisusakli da4034a10a middleware refactor 9 years ago
barisusakli 7854e67b7b closes #1637 9 years ago
barisusakli 1dcdba9b2a moved api route to api.js 9 years ago
Julian Lam 4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
9 years ago
barisusakli 2d01fe78d0 removed privileges.posts.get from addPostData
privilege data is already available higher up
9 years ago
Julian Lam 896abb59d3 Update default gravatar admin option to defaultAvatar 9 years ago
barisusakli ca294fc6ec closes #3663 9 years ago
barisusakli e5e41e85f2 accounts refactor #2
and various 404 fixes
10 years ago
barisusakli 3bb5d2aa86 accounts refactor part #1 10 years ago
Julian Lam ebed9d641c Add new ACP option to upload Touch Icon, #3668
Also added a number of fixes for mobile enhancements, such
as serving a manifest.json file for Android devices, and
serving proper link tags for all uploaded touch icons.

This commit also creates a new template helper for link tags.
10 years ago
barisusakli f3b6a5fbb9 generic getObject 10 years ago
barisusakli c139dfa843 closes #3631 10 years ago
barisusakli 244c75f809 admin controllers 10 years ago
barisusakli ade9a44b11 closes #3590 10 years ago
psychobunny b660eec67f closes #3608
inb4 all admin routes are publically visible
10 years ago
barisusakli 734a45ae03 dont log error if its redirect 10 years ago
Julian Lam cf679f0c5e Fix julianlam/nodebb-plugin-2factor#6 10 years ago
barisusakli 25502f0687 closes #3508 10 years ago
barisusakli 9d4d904479 404 fix 10 years ago
barisusakli e171b544e9 fix 404 title on api calls 10 years ago
psychobunny 0eca875f6e add site title to 404, on cold load anyways 10 years ago
psychobunny 671f96f589 duplicate route removed: /users redirected to /users/online 10 years ago
psychobunny cd38f2da9c moved registration queue to its own page; styled 10 years ago
barisusakli fe5f1b8c1d moved recent popular 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
Julian Lam 7e6703c18e more line ending conversion #3343 10 years ago
Julian Lam c781e55ea9 line endings? #3343 10 years ago
Julian Lam 866b0ddaa6 Merge pull request #3283 from APXEOLOG/filter-extension
filter:auth.init strategy extension with custom urls
10 years ago
barisusakli daf1a388eb closes #3039 10 years ago
barisusakli 81eeab42ed category filter on /unread 10 years ago
Julian Lam 2d70733fa5 updated dependencies to use latest UglifyJS2, instead of my year-old fork 10 years ago
APXEOLOG 10bbbb8942 filter:auth.init strategy extension with custom urls 10 years ago
barisusakli 57c2418157 closes #1306 10 years ago
Barış Soner Uşaklı 981a7558f7 use group name, hidden groups are not in groupslug:groupname 10 years ago
barisusakli 38b838d462 closes #2754
moved group edit from modal to its own page
added hidden/private to group edit in acp, they were only in the client
groups page
moved add users above member list
10 years ago
barisusakli ed173e0a32 closes #3217 10 years ago
psychobunny 117bb407b0 /compose route 10 years ago
barisusakli 68ceaadad1 removed static 404/403/500 routes 10 years ago
barisusakli d946a2fcbd closes #3098
wait for templates to compile even if using clustering
fix emitter.all
upgrade.check error first
removed plugins.ready, using callback on plugins.init
removed webserver.init, using webserver.listen
10 years ago
barisusakli b9172358dd #3093 10 years ago
barisusakli 6dfb229c66 closes #2842 10 years ago
barisusakli 625a0dcbfa closes #3074 10 years ago
barisusakli 0c91391c75 display posts cache capacity/post count 10 years ago
barisusakli d146547b53 if topic doesnt have teaser use main post in rss feed 10 years ago
Barış Soner Uşaklı c9b5948034 closes #2927 10 years ago
Julian Lam 4fffe4da94 moved plugin route reloading outside of plugin initialisation, so plugins can add a hook listener before core routes have been added 10 years ago
barisusakli 835d4db481 dont add category/topic slug if user doesnt have read permission
or category is disabled etc.
10 years ago
barisusakli 1ade973e56 added missing radix :rage3: 10 years ago
Julian Lam 66422acea2 fixed #2934 10 years ago
Julian Lam 56fc958939 closes #2891 10 years ago
Barış Soner Uşaklı 925b12ca22 startsWith 10 years ago
barisusakli 2fd4bcde3f added req.uid user id for logged in users, 0 for guests 10 years ago
barisusakli 27bab3330a pass data to getCategoryTopics, renamed end to stop 10 years ago
Julian Lam a1621145d5 Merge branch 'master' into categories_revamp
Conflicts:
	public/less/admin/admin.less
	public/src/admin/manage/categories.js
	src/controllers/admin.js
	src/views/admin/manage/categories.tpl
	src/views/config.json
10 years ago
Barış Soner Uşaklı 29fd89407c closes #2872
show the last posts content and user in topic feeds
10 years ago
Barış Soner Uşaklı e45e204ba5 fix author field on topic feed #2872 10 years ago
Barış Soner Uşaklı 839dd72a05 been a while since we stopped using hashes 10 years ago
barisusakli 203e69aa42 derp 10 years ago
barisusakli 58169aa6d9 no need for return 10 years ago
barisusakli 6e25724cfb removed unused requires 10 years ago
barisusakli ddd4680ea7 added helpers.redirect 10 years ago
Barış Soner Uşaklı 33723f8b1b closes #2835 10 years ago
barisusakli dc94fe2b6c move admin upload routes to api namespace
move usrrs/csv to api namespace
10 years ago
barisusakli 2a8437f08f removed templates config and mapping 🐑 10 years ago
Julian Lam f14c5f7e1c added new hook 'action:meta.override404' so plugins can override the regular handling of pages that are not found 10 years ago
Barış Soner Uşaklı ac1e0513fc moved setupPageRoute to helpers 10 years ago
Julian Lam 3ef54c3c01 added new hook to allow plugins to override the local login strategy with their own, closes #2806 10 years ago
psychobunny 3cc3e2f306 moved homepage configuration to its own acp page 10 years ago
psychobunny fbc0a11c87 nav - basic ACP setup 10 years ago
Barış Soner Uşaklı c94c1430b7 api/post/pid route 10 years ago
Julian Lam d3ff6a9f47 hidden groups are invisible to non-members, #2758 10 years ago
psychobunny bdcf090aaa init rewards system 10 years ago
Barış Soner Uşaklı da305210e2 closes #2618 10 years ago
barisusakli b2fc4d5dc4 #2002 10 years ago
barisusakli 2c8e8a1f1c closes #2550, closes #2518 10 years ago
Julian Lam e4e9020e1f added groups page to user profile 10 years ago
barisusakli 57453f33ab new group members route
getMembers can take start end
ability to specify how many group members to return
10 years ago
Julian Lam c026a64e8e adding concept of group slugs, #2588. ping @barisusakli for downstream plugin changes 10 years ago
barisusakli 6ccdf187ea closes #2595 10 years ago
barisusakli f74383bba4 changed userPhoto to files[] 10 years ago
barisusakli 1caddb6182 uploads controller 10 years ago
psychobunny 5d43aa3212 ability to redirect the user from anywhere
just send

```
callback({
status: 302,
path: '/user/psychobunny'
});
```
10 years ago
barisusakli a77a761433 closes #1917 10 years ago
barisusakli 60f1b9679a search filters 10 years ago
Julian Lam ad723e2943 Merge branch 'master' into categories_revamp
Conflicts:
	src/views/admin/partials/menu.tpl
10 years ago
barisusakli 1511a0c3fe closes #2568 10 years ago
Julian Lam 6b95b28db7 drag/drop re-ordering fixed in ACP, #2463 10 years ago
Julian Lam c98331de82 revamping categories management page in ACP, #2463 10 years ago