1067 Commits (520d6954c13205b767c7701c6f7c6f70c03f0a06)

Author SHA1 Message Date
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
barisusakli 1e6f5d822d setRemove tests 10 years ago
barisusakli d2e69884b5 closes #2556 10 years ago
barisusakli c4c8964f82 closes #2543 10 years ago
barisusakli 7cf3719c80 fix rename and increment 10 years ago
barisusakli d314b9cae2 closes #2538 10 years ago
barisusakli d28fb153c7 closes #2537 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
psychobunny 94efa6dd87 closes #2520 10 years ago
barisusakli 348d05d3d1 remove deprecated res.json usage 10 years ago
barisusakli 8e8375cbba validate email password on register 10 years ago
Julian Lam b278f27ffe partial fix to #2509 10 years ago
barisusakli e18ad61ff6 fix login maybe? 10 years ago
barisusakli 97d01de155 fix acp 10 years ago
barisusakli ddd6ed9e8c #2477 403 page 10 years ago
barisusakli be11577aa4 closes #2477 10 years ago
Julian Lam 420649d3bd no longer setting sourcemap header for minifiedjs 10 years ago
barisusakli 957800b2c3 Merge remote-tracking branch 'origin/master' into socket.io1.x 10 years ago
Julian Lam 1378e1155f fixed #2479 10 years ago
Julian Lam 78763834fe closed #2122 10 years ago
barisusakli 0a2d543186 removed getUserSockets 10 years ago
Julian Lam 8de2d1f58d closed #2459 10 years ago
barisusakli 916f1c7ce1 fix debug path on relative path install 10 years ago
Julian Lam fe7726d249 fixed #2431 10 years ago
barisusakli d177481f94 chop chop 10 years ago
Julian Lam deac12c540 closed #2424 10 years ago
barisusakli 9791dfb9ea closes #2420 10 years ago
barisusakli 653850661e topics.getTopics doesnt take set param 10 years ago
barisusakli 519b1b7e37 closes #2377 10 years ago
barisusakli a1624013f8 closes #2400 10 years ago
barisusakli 61863a69fe sendfile is deprecated 10 years ago
barisusakli 9a16a359a8 auth refactor 10 years ago
psychobunny 8de978fbcf lmao, wtf?
my brain just exploded trying to figure out what this is doing here
10 years ago
psychobunny d69054804e closes #2391 10 years ago
barisusakli af4cbfb20d closes #2368 10 years ago
barisusakli 220c82a8f2 filter:register.complete change #1527 10 years ago
barisusakli 76c16c0383 filter:register.check change #1527 10 years ago
Joseph Chen cd41df5677 Pass in req.user.uid into uploadFile 10 years ago
Joseph Chen a1e54fda23 Bug fix - File upload broken due to api changes in 0.6.x. 10 years ago
Julian Lam a12907512f refactored a bunch of methods so that you can pass in an author argument in querystring to see posts by just that author, #2355 10 years ago
barisusakli 39b679705b closes #2248 10 years ago
barisusakli b7dcc29638 log error path as well 10 years ago
barisusakli 18462c4190 derp 10 years ago
barisusakli 238fb0bd4b removed logout log 10 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
10 years ago
barisusakli 35e2e1462b closes #2295 10 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
10 years ago
Julian Lam b5481ceed2 property fixed #2087 10 years ago
Julian Lam 08d4d6b5bf changed indentation for continueLogin method in authentication.js 10 years ago
psychobunny 4268d424a3 fixes require.js error in ACP 10 years ago
barisusakli 1d1625f5c4 closes #2157 10 years ago
psychobunny b2866abf5c another fix for express deprecations 10 years ago
barisusakli f6f6ca7f76 closes #2132 10 years ago
Julian Lam b481a28b6e sendFile instead of sendfile 10 years ago
barisusakli e35dd60f8f closes #1940 10 years ago
psychobunny 89e4a67e95 linting 10 years ago
psychobunny 1b2ccda40b closes #2231; see #2218 10 years ago
psychobunny 39de76fa5c rearranging manage/users routes 10 years ago
barisusakli 5db24fbe68 closes #2175 10 years ago
barisusakli 33780e6fdb closes #2133 10 years ago
barisusakli 62084a012e closes #2179 11 years ago
Julian Lam 632fb3a618 closed #2184 11 years ago
barisusakli d303dea6c7 closes #1986 11 years ago
psychobunny ed35e4bcef switching /admin/index to /admin/dashboard 11 years ago
psychobunny 341959be82 ultimate acp route refactorizationing 11 years ago
psychobunny 385632e173 moved over admin/appearance/widgets into extend namespace
cleaning up my own todo's in record time, @barisusakli will be proud
11 years ago
psychobunny f98e3aaf64 segregated the "theme" route (now "appearance") into their own separate routes 11 years ago
psychobunny 0340f699a0 redirect /categories to /active 11 years ago
barisusakli 1fe5a8788f check err 11 years ago
psychobunny e336188ccc admin/header.tpl use admin.css instead of stylesheet.css 11 years ago
barisusakli 73faa79a69 fix edit page csrf, category slug optional 11 years ago
barisusakli da64eb0873 closes #2117 11 years ago
psychobunny 9f40cd03e8 on /admin/settings, render general 11 years ago
psychobunny 117b8dece4 settings acp refactor for dedicated routes 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
barisusakli 8b64e65095 cleaned up admin routes 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 f891f49339 removing console.logs 11 years ago
Julian Lam dab3667773 re: #2108, auth re-routing 11 years ago
Julian Lam bae634e124 closed #2112 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 9ee4c90548 test route back to 404 11 years ago
Julian Lam 7255ce3dbe primary worker support, and added notif pruning to primary worker jobs 11 years ago
Julian Lam 3918b29233 removed /test route 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 a7736d1926 removed setTimeout when someone tries to log in with a non-existant username 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 298d904d45 refactored login process to be a form submit instead of ajax-redirect, implemented error message parsing using req.flash 11 years ago
Julian Lam fa6daa37eb updated regex to match admin route with no trailing slash 11 years ago
Julian Lam 0c4a788698 added callbacks to css and js reloading, issue #2010 11 years ago
Julian Lam 3e033043f3 on-demand reloading of client-side assets 11 years ago
Julian Lam 5886ccc419 framework for reloading 11 years ago
Julian Lam ba91d7aba6 proof-of-concept for hot-swapping of routes 11 years ago
barisusakli 06119510b7 merge 11 years ago
Julian Lam 74e5524492 fixing request to /api not returning api result 11 years ago
barisusakli d411ed5c28 closes #1995 11 years ago
barisusakli 005405b16c closes #1976 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 c8084e9b2e closes #1978 11 years ago
psychobunny d4dc716acd filter:templates.get_config, allows you to modify template config
as found here
https://github.com/NodeBB/nodebb-theme-vanilla/blob/master/templates/config.json
@Schamper
11 years ago
psychobunny a880ac6e9f do one api call for template configs rather than two on cold load 11 years ago
barisusakli cfc67d4e90 closes #1924 11 years ago
barisusakli 6e335ff29a removed debug 11 years ago
barisusakli f71bd41408 more fixes 11 years ago
barisusakli dfb6606432 one more fix 11 years ago
barisusakli d7520508e3 #1375 part1 11 years ago
Julian Lam 4d73a563c5 closed #1850 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
Julian Lam 14d7461252 updated deprecation notice for social network sso icons 11 years ago
Julian Lam 2f9fd620d7 fixed #1849 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
psychobunny dab44e0768 ability to disable rss feed 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 61f7f0f889 fixed file upload checks 11 years ago
barisusakli 0362c1a3b0 show day/week/month/year popular topics 11 years ago
psychobunny 5b6acbad1e optimized widget call by bundling all queries into one for #1428; fixes active users widget crash
also fixes b3819fd076 properly
11 years ago
psychobunny b3819fd076 temporary fix for acp, need to reconsider how I'm doing this 11 years ago
psychobunny c6183f1a82 closes #1428 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 b8b6ae7b2f moved upload route into API namespace 11 years ago
barisusakli 1cabf885a2 closes #1730
postCount != lastPostIndex unfortunately, that will need some rethinking
11 years ago
psychobunny f6838ef51e only use passport.authenticate if a strategy url is defined 11 years ago
barisusakli ab6429c578 closes #1734 11 years ago
barisusakli dceeed22f7 closes #1724 11 years ago
Julian Lam c41bb05711 final pass #1720, closed #1720 11 years ago
barisusakli 15c16c2502 closes #1311, set category post counts to 0 before starting upgrade 11 years ago
barisusakli 39886c8545 removed unread total route 11 years ago
barisusakli 3bd4d0e418 closes #1692 11 years ago
barisusakli 870bf95e5b deleted topic feed fix 11 years ago
barisusakli b81f3552bb fixed typo 11 years ago
barisusakli b5071d504f removed timing #1654 11 years ago
barisusakli d4b48cd2ac closes #1654 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
psychobunny c5b8a7b163 filter:templates.get_virtual for ajaxifying to virtual templates 11 years ago
Julian Lam 57f40e1e1c Merge pull request #1648 from char101/patch-1
Add relative_path to authentication redirects
11 years ago
Charles 5f1b1ad2bf Also add relative_path to destination
Because the destination url does not include the relative_path
11 years ago
Charles ce083573a9 Fix typo 11 years ago
Charles f26a250b01 Add relative_path to authentication redirects 11 years ago
dhingey b57dbc37cd Fix relative path URL bugs in the plugin API.
Fixes plugin-related 404 URLs, as well as the plugin directory URL
for installations which use a relative path.
11 years ago
psychobunny 31adf7084d filter:register.complete - plugins can redirect the user elsewhere post-registration 11 years ago
psychobunny 4bb8762746 send in the entire registration form for userData 11 years ago
barisusakli 7d0eb9afaa closes #1463 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
psychobunny 28dcb9e33d pair programming ftw 11 years ago
psychobunny a1815b41c7 I still don't know what I'm fixing, I'm just doing as @barisusakli says 11 years ago
psychobunny 7197f9b621 fixes... something, whatever it is @barisusakli 11 years ago
psychobunny f2bf9f9383 fixes for windows (flex) @julianlam 11 years ago
Julian Lam b0464ff912 fixed another hardcoded prefix value 11 years ago
Julian Lam b553d44107 plugin source mapping fix -- closes #1609 11 years ago
Julian Lam f8061e23ec source map support, first pass 11 years ago
Julian Lam 93e3eb4d28 fixed #1584 11 years ago
Julian Lam d948f2a29d moved login via email detection into the internal login block 11 years ago
Julian Lam f20926f93d finished up group list and group details pages - closed #1563 11 years ago
Julian Lam 6e597a9cdb fixed tests, and added getSortedSetUnion method to redis db, added test for new redis method 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 05872ad458 closes #1545 11 years ago
barisusakli 5cf9b0a3bd fix feed crash 11 years ago
Aziz Khoury d3a11f7ad8 Merge remote-tracking branch 'upstream/master' 11 years ago
barisusakli b1aae05a08 closes #1518 11 years ago
barisusakli 3e86bdb38f more work on #1518
still needs more work, category is next
11 years ago
Aziz Khoury bab88893f1 changing 'filter:register.check' hook signature to provide req, res and data 11 years ago
Julian Lam 7c8b442dcd more updates to privileges revamp 11 years ago
barisusakli c5d9a68b4b closes #1445 11 years ago
barisusakli 78ccca4f63 removed comment 11 years ago
Julian Lam e64c1bfec3 closed #1453 11 years ago
barisusakli efaa1e62c1 added back ttl :) 11 years ago
barisusakli 672bde7066 removed ttl 11 years ago
barisusakli 62d487e0a8 use current user uid for feed generation 11 years ago
Julian Lam b56df975e0 fixed 1495 11 years ago
barisusakli 57f0ee8a38 removed whitespace 11 years ago
barisusakli f89afd92b9 fix for plugin page access issue closes #1493 11 years ago