285 Commits (92d1ee31e4951528446fb1376f1b1e84d5a67f5c)

Author SHA1 Message Date
barisusakli 36e89ae15a closes #3771 10 years ago
barisusakli f5e7d1ce01 private uploads 10 years ago
barisusakli da4034a10a middleware refactor 10 years ago
barisusakli 1dcdba9b2a moved api route to api.js 10 years ago
barisusakli 3bb5d2aa86 accounts refactor part #1 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
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
barisusakli fe5f1b8c1d moved recent popular 10 years ago
barisusakli daf1a388eb closes #3039 10 years ago
barisusakli 81eeab42ed category filter on /unread 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 6dfb229c66 closes #2842 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
Barış Soner Uşaklı 925b12ca22 startsWith 10 years ago
barisusakli 203e69aa42 derp 10 years ago
barisusakli ddd4680ea7 added helpers.redirect 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 d3ff6a9f47 hidden groups are invisible to non-members, #2758 10 years ago
barisusakli b2fc4d5dc4 #2002 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
psychobunny 5d43aa3212 ability to redirect the user from anywhere
just send

```
callback({
status: 302,
path: '/user/psychobunny'
});
```
10 years ago
barisusakli 60f1b9679a search filters 10 years ago
barisusakli c4c8964f82 closes #2543 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
Julian Lam b278f27ffe partial fix to #2509 10 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 78763834fe closed #2122 11 years ago
Julian Lam fe7726d249 fixed #2431 11 years ago
Julian Lam deac12c540 closed #2424 11 years ago
barisusakli a1624013f8 closes #2400 11 years ago
barisusakli af4cbfb20d closes #2368 11 years ago
barisusakli b7dcc29638 log error path as well 11 years ago
barisusakli c74370bfb1 removed recent/day week month
it starts with most recent 20 topics now and goes back instead of
showing empty if there are no new replies in the past 24 hours
11 years ago
barisusakli 35e2e1462b closes #2295 11 years ago
psychobunny 4268d424a3 fixes require.js error in ACP 11 years ago
psychobunny b2866abf5c another fix for express deprecations 11 years ago
psychobunny 89e4a67e95 linting 11 years ago
psychobunny 1b2ccda40b closes #2231; see #2218 11 years ago
barisusakli 73faa79a69 fix edit page csrf, category slug optional 11 years ago
barisusakli da64eb0873 closes #2117 11 years ago
barisusakli 39392672a2 moved static
removed pageRouter middleware into routes,
helper method to setup page routes
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 a19c306f49 guest fixes 11 years ago
Julian Lam dab3667773 re: #2108, auth re-routing 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 a061079995 fixed all POST routes to use new csrf middleware 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 0ecaa05c76 rearranging routers to prevent multiple hits on incrementPageViews
and potentially updateLastOnlineTime
11 years ago
Julian Lam 40e5ad075f started work on #2082 11 years ago
Julian Lam 58a73b52b5 work-in-progress commit to get cluster module working with loader.js 11 years ago
Julian Lam 4edceb0f92 allowing /user to also work in addition to /users 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 fa6daa37eb updated regex to match admin route with no trailing slash 11 years ago
Julian Lam ba91d7aba6 proof-of-concept for hot-swapping of routes 11 years ago
Julian Lam 74e5524492 fixing request to /api not returning api result 11 years ago
Julian Lam cf6acf6b41 sacrificing a goat to ensure this doesn't come back to bite me 11 years ago
Julian Lam 5936c72f96 further fix to #1957 11 years ago
barisusakli cfc67d4e90 closes #1924 11 years ago
Julian Lam 0bad6198d4 firing new third type of hook, static. New hook: static:app.load, closed #1812 11 years ago
barisusakli 81018d1305 closes #1863 11 years ago
barisusakli ef8bbdd359 closes #1864
doing andrew's //todo's since 1991
11 years ago
barisusakli b1e93c4558 fix for wrapper 11 years ago
psychobunny de5a564780 hinting 11 years ago
barisusakli e6a5199174 pass router to app.load closes #1845
add a render method to router that forwards it to app
11 years ago
barisusakli 7212f95582 small fix to routes 11 years ago
Julian Lam 645eb051ec added new hook filter:app.load, and deprecated action:app.load, hopefully fixes #1822 11 years ago
barisusakli 90392025e6 small fix to router 11 years ago
barisusakli 0362c1a3b0 show day/week/month/year popular topics 11 years ago
Julian Lam 13e4e8dad7 a couple final tweaks to contact list and such... #1788 11 years ago
Julian Lam 84e046185b WIP 11 years ago
Julian Lam 4d85df5bae issue #1788 - start 11 years ago
barisusakli 5097526ae0 pass express app to plugins, closes #1789 11 years ago
barisusakli 119d13053d move static to end 11 years ago
barisusakli ec1196d288 use router for relative path 11 years ago
barisusakli 78c977e8f6 removed trailing slash 11 years ago
barisusakli 9e8584eee7 uploads 11 years ago
barisusakli 24ebf20d7e first commit 11 years ago
barisusakli 1cabf885a2 closes #1730
postCount != lastPostIndex unfortunately, that will need some rethinking
11 years ago
barisusakli 39886c8545 removed unread total route 11 years ago
barisusakli 3bd4d0e418 closes #1692 11 years ago
barisusakli 0574022e02 fixes to infinitescroll 11 years ago
barisusakli 55dbc5c823 closes #1612
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
11 years ago
Julian Lam 7425b72245 most of the work for #1563 11 years ago
Julian Lam 7bdbb966aa groups pages WIP 11 years ago
barisusakli df73ceaeb7 closes #1556
added tag input box to composer when creating a topic
added new routes for viewing tags 'tags' and 'tags/:tagname'
respectively
post_bar.tpl shows the tags of the topic
can edit the main post to remove or add new tags
added a new menu item to header to go to the tags page
11 years ago
barisusakli c5d9a68b4b closes #1445 11 years ago
barisusakli f89afd92b9 fix for plugin page access issue closes #1493 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
barisusakli 1d1d677b56 closes #1422 11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
barisusakli 4bc3f54468 closes #1318 11 years ago
psychobunny 197b34461f potentially fixes #1228 11 years ago
psychobunny 6e64712fd3 fixed bug in api/search causing it to crash if term is not passed in via ajaxify, see #1195 11 years ago
barisusakli 37e8856861 new middleware to add slug to topic and category 11 years ago
psychobunny 8e4c23149c more re-organization of routes/index.js 11 years ago
Julian Lam 82a3415ab1 fixing admin routes on subfolder installs 11 years ago
psychobunny 5dc5eb41df fixed ajaxify bug introduced in last commit 11 years ago
psychobunny c8bf617f4b allow plugins to override any route (except for admin routes) 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 23983c4c80 cleanup - search routes 11 years ago
psychobunny 6ea4d89edc fixed search routes 11 years ago
psychobunny 178edd150a moved action:app.load out of webserver; passing in app, mdw, and controllers into action:app.load. now we can create routes dynamically ;) 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 552eb78db8 template compiling init; changing themes now finally works on this branch 11 years ago
psychobunny c24c2a5422 search and reset routes, the very last of the views to be refactored :shipit: 11 years ago
psychobunny e588762aa0 yes, I've finally started on the dreaded admin refactor (not much else left to do :/) 11 years ago
psychobunny 94aeb3ab22 notifications route; added middleware.authenticate to user/uploadpicture api route 11 years ago
psychobunny 31d576e9ed deprecation notice 11 years ago
psychobunny fe9d4efa98 moved api-only routes into routes/api.js, cleanup & linting 11 years ago
psychobunny d75bc9578b deprecating middleware.prepareAPI in favour of using app.all('*') in /api namespace 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 f46e563b8a moved all route definitions in webserver.js into routes/index.js 11 years ago