830 Commits (da305210e2ef487e853f2db2df9b97669cfce380)

Author SHA1 Message Date
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
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