868 Commits (60f9fc17ae904634787ade64c0a13a906cedd834)

Author SHA1 Message Date
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
barisusakli 8afcf44732 gravatars will be generated on demand
changing the setting in ACP will affect all default gravatars now.
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 dde872d6d5 log user ip register 11 years ago
barisusakli 1d1d677b56 closes #1422 11 years ago
barisusakli c9551abc5d closes #1432
ability to select a default gravatar image (default, identicon,
mystery-man, monsterid, wavatar, retro) or upload a custom image to use
as default gravatar image
11 years ago
Julian Lam dc051b9060 final pass #1249 11 years ago
Julian Lam c3a4bcb116 first pass #1249 -- this causes emails to be sent if you have not been to the site in over 24 hours. 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
Julian Lam df8728c785 allowing plugins to define new sounds -- woot.
Also moving the core sounds into a separate package, soundpack-default
11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
barisusakli 1f77df794a added lots of error keys 11 years ago
barisusakli 2195b20385 closes #1263 11 years ago
barisusakli 4bc3f54468 closes #1318 11 years ago
psychobunny f01cb88c57 deprecated: plugins/fireHook, filter:server.create_routes, filter:admin.create_routes 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
Julian Lam 6fb69e6c19 removing error output for incorrect pw on login 11 years ago
barisusakli 7f193041a8 removed admin topics 11 years ago
Julian Lam c893effcb9 WIP commit -- groups refactoring + upgrade scripts 11 years ago
barisusakli e49d445422 added err checking 11 years ago
psychobunny da7d6a3137 closes #1175 11 years ago
barisusakli 76d8f19e73 forgot to return #963 11 years ago
barisusakli cd4a204f99 closes #963 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
Julian Lam c1ccc81400 ACP integration for Sounds 11 years ago
barisusakli 46a475fdde controllers/admin/users cleanup 11 years ago
barisusakli 37e8856861 new middleware to add slug to topic and category 11 years ago
psychobunny e3df487173 cleanup 11 years ago
Julian Lam 67ef155c60 fixing image uploads 11 years ago
psychobunny 0bbff06cfa use middleware.authenticate instead of checking in each fn 11 years ago
psychobunny 01cda60704 moved admin upload functions into controllers/admin; re-organized routes/admin to look like routes/index; removed unused deps 11 years ago
psychobunny 8e4c23149c more re-organization of routes/index.js 11 years ago
Julian Lam caa9c17bc2 fixed login routes on subfolder installs 11 years ago
barisusakli 6e6c5688d9 more cleanup 11 years ago
barisusakli 92267de9d8 feeds 11 years ago
barisusakli 3a42200e24 refactored feeds 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
barisusakli 3d68c7c6b6 added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js 11 years ago
Julian Lam 8873963946 Merge branch 'master' of github.com:designcreateplay/NodeBB 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
barisusakli c41ef10572 removed routes/user.js 11 years ago
barisusakli 4e3819603b jshint fixed missing var 11 years ago
psychobunny 23983c4c80 cleanup - search routes 11 years ago
psychobunny 6ea4d89edc fixed search routes 11 years ago
psychobunny 1b3f089804 fixed /admin/index 404 11 years ago
psychobunny 37840d35f0 missing variable - numCSS 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
Julian Lam 5a8a3627d2 bringing subfolder installations to v0.4.0 - JUST FOR @PLANNER 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
Julian Lam 90b29031fe backwards compatibility with older plugins using css with staticDir 11 years ago
Julian Lam 5880590425 removing "pluginCSS", "css" in plugins is now included directly into stylesheet.css. This is a breaking change.
fixes #1168
11 years ago
psychobunny 23e4eb7cd9 deprecating filter:server.create_routes and filter:admin.create_routes; maintains limited functionality but recommended you migrate asap 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 90a80ad83d plugins can now define a templates directory which gets compiled onload without requiring any hooks 11 years ago
psychobunny 8a05eee1f5 Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	src/routes/user.js
11 years ago
Baris Soner Usakli 096f352c82 closes #1130 11 years ago
Baris Soner Usakli 58cb51bb02 removed unused imagemagick require 11 years ago
psychobunny 34552f7fb0 added middleware.guestSearchingAllowed to the actual search API call 11 years ago
psychobunny 542f937589 Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	src/routes/api.js
11 years ago
psychobunny b9e119241e moved get_custom_templates into plugins.js 11 years ago
psychobunny 8f7a7fec7d more cleanup; commenting out custom plugin routes until its fixed properly 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
Baris Soner Usakli c028761857 new route to get recent posts 11 years ago
psychobunny 552eb78db8 template compiling init; changing themes now finally works on this branch 11 years ago
psychobunny da331a1e6b clean up in routes/admin.js 11 years ago
Baris Soner Usakli 4b64b9dcdc closes #951 11 years ago
psychobunny c24c2a5422 search and reset routes, the very last of the views to be refactored :shipit: 11 years ago
psychobunny 7ef6f9bbf5 buckled down and refactored pretty much all of admin routes x_x 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 e588762aa0 yes, I've finally started on the dreaded admin refactor (not much else left to do :/) 11 years ago
psychobunny 209bcaba8c middleware.updateLastOnlineTime; middleware.prepareAPI (reinstated) 11 years ago
psychobunny f785f7f6e3 added deprecation notice to plugins/fireHook 11 years ago
psychobunny 94aeb3ab22 notifications route; added middleware.authenticate to user/uploadpicture api route 11 years ago
psychobunny 7bef58deb1 started moving out api functionality out of the route file into controllers/api.js 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 d20501b29d meta.js merge conflict 11 years ago
Julian Lam 4c2a6953f1 concatenating the client scripts, instead of compressing, in development mode 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 ee5596fad5 Merge remote-tracking branch 'origin/master' into webserver.js-refactor 11 years ago
Julian Lam 14d7453a23 bundling socket.io client library into minfile, minfile always used from this point forward, even in development mode.
Development mode will not compress the scripts, but will just concatenate.
11 years ago
psychobunny f46e563b8a moved all route definitions in webserver.js into routes/index.js 11 years ago
Baris Soner Usakli 87f337f2fb cleanup 11 years ago
psychobunny 26853d024e Merge remote-tracking branch 'origin/master' into webserver.js-refactor 11 years ago
Julian Lam 0fecbf7cbf entity decoding in filenames 11 years ago
Baris Soner Usakli 24b669bd39 some fixes for search plugin 11 years ago
Baris Soner Usakli e75c303b89 added unique visitor count to admin dashboard 11 years ago
Baris Soner Usakli 7081c7dcc4 moved ip log to api 11 years ago
psychobunny e73f8d6f37 Merge remote-tracking branch 'origin/master' into webserver.js-refactor 11 years ago
Julian Lam 561b42d0f9 new staticDirs format, @mrwaffle 11 years ago
psychobunny fa103b2d6e finally done with routes/user.js; accounts.getUserByUID; bug fixing and cleanup 11 years ago
psychobunny bfcb61f37d forgot to port getUserDataByUserSlug 11 years ago