4321 Commits (a6e498bb5d6ba8ce667d55de85d97eb7f415b995)

Author SHA1 Message Date
Julian Lam 4c70a0da4f removing postgres file from databases/ 10 years ago
barisusakli c12b159bb5 temp debug 10 years ago
psychobunny 9c8395808c use page visibility api instead of window.onblur
this lib supports most major browsers
10 years ago
Julian Lam 24ac7ba316 better templating and styling for #2099 10 years ago
barisusakli 2af077544b make sure postcount isnt NaN 10 years ago
barisusakli 32d0e0d7e5 dont update category post coint if topic post count is invalid 10 years ago
barisusakli 6aa53b8323 nextStart changes, fixed move topic notification text 10 years ago
Julian Lam 5ba88b7152 fixed #2208 10 years ago
psychobunny e5681097f4 added error to minification step 10 years ago
psychobunny 9d53de5f70 oops 10 years ago
psychobunny 42d3656ecc fixing 10 years ago
Julian Lam 85048a5f75 closed #2203 10 years ago
barisusakli de98df842d priv fix 10 years ago
psychobunny a67c501eb8 temporary solution for #2206 10 years ago
barisusakli 7b8656ef8b facebook share doesn't display & 10 years ago
barisusakli cf252a29a7 closes #2196 10 years ago
barisusakli 977cd98a79 dont crash if user doesn't have email 10 years ago
Julian Lam f082849126 removing console.log 10 years ago
Julian Lam 43db2289c2 moving db selection into db.connect, where it should be 10 years ago
barisusakli 5ff293109d fix getUnreadByField 10 years ago
barisusakli 31db0d78b1 return empty array instead of undefined 10 years ago
psychobunny 7cde61f4d6 logger styling first pass 10 years ago
psychobunny b31feac253 events page first pass 10 years ago
psychobunny ab915b6ed7 first pass advanced/database 10 years ago
psychobunny 05ff80b2e0 widgets page first pass 10 years ago
psychobunny 52229113b6 plugins page first pass, separated list of plugins 10 years ago
barisusakli 3865fd3ab9 fixes crash is sets is empty 10 years ago
psychobunny bfc9cae1b2 groups first pass 10 years ago
psychobunny 0aa08f8bd9 users page first pass 10 years ago
psychobunny 178aa473fc categories page first pass 10 years ago
psychobunny 3e7f0531b4 language page 10 years ago
Julian Lam 6b786012d8 removed console.log 10 years ago
Julian Lam 343ff18014 closed #2179 10 years ago
barisusakli 2b115e75c6 fix login days value 10 years ago
barisusakli 62084a012e closes #2179 10 years ago
Julian Lam 30b2f55ebc closed #2149 10 years ago
psychobunny 2b5d0e89a5 up'ing templates.js 10 years ago
barisusakli a505896185 forgot db require 10 years ago
barisusakli 18cfdd9dde possible fix to travis 10 years ago
barisusakli 653865a214 moved up trace 10 years ago
barisusakli e79e370e59 check undefined middleware 10 years ago
psychobunny d0452fb93f random attempt to fix traviscl 10 years ago
Julian Lam 632fb3a618 closed #2184 10 years ago
barisusakli 9c996e4b99 on config save update meta.config on all workers
also dont make 20 socket.emit calls for each setting field, everything
will be send in 1 socket call.
10 years ago
psychobunny 95740ae8f9 stop. hammer time! 10 years ago
barisusakli 2a1f9600e6 less event logs for notif pruning 10 years ago
psychobunny 6a8ccf1ad5 now getting topic names for topics presence chart; adjusted layout to make it more responsive 10 years ago
Julian Lam dedf7a6715 closed #2087 10 years ago
barisusakli d303dea6c7 closes #1986 10 years ago
psychobunny 8b0685754e push pie charts down if container is too compact 10 years ago
Julian Lam 625247611b closed #1959 10 years ago
psychobunny 2f9193c419 closes #2174 10 years ago
psychobunny 8d149cb2ee moved admin related partials from vanilla into core 10 years ago
psychobunny 3b48668385 mobile optimizations for acp header 10 years ago
psychobunny 587f805763 don't download the acp search index on mobile 10 years ago
psychobunny 51c3f0d77a topic presence graph, coolest one yet imo 10 years ago
psychobunny c18f4998fd legends for the pie charts 10 years ago
psychobunny b34ec8d732 user presence pie chart 10 years ago
psychobunny 744c55e776 piecharts ftw, also started re-arranging the dashboard 10 years ago
Julian Lam e012479ab5 adding socket.io client lib into the minfile 10 years ago
Julian Lam a59934fd65 only the cluster_setup thread will commit css to file 10 years ago
Julian Lam c2fd89e050 committing of compiled js and css to file on startup 10 years ago
barisusakli e8dc9fed3c remove unnecessary index
the _key:1 score:-1 index already handles reverse sorting on score
10 years ago
psychobunny 81bc481efc removing page views from the dashboard stats 10 years ago
psychobunny ca4047dc4a fixed tag modal styling 10 years ago
psychobunny ad47874bd3 cleanup 10 years ago
psychobunny ed35e4bcef switching /admin/index to /admin/dashboard 10 years ago
psychobunny 341959be82 ultimate acp route refactorizationing 10 years ago
psychobunny 2cebeeb1ca don't need appearance header/footer tpls anymore 10 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
10 years ago
psychobunny 0ebe4381b2 legend for graphs
(duh, apparently I'm the only person who would have known what this
graph represents)
10 years ago
psychobunny d4b5ea4e1a responsive graphs 10 years ago
barisusakli 4af54d48f6 closes #2169 10 years ago
psychobunny 2ec93ba911 some more styling to dashboard 10 years ago
psychobunny 0d01b0a734 styling active users modal to look like the other stats 10 years ago
psychobunny 348f1cdbc7 no need for plugins/themes link anymore 10 years ago
psychobunny d5dbc367fb rejigging dashboard layout 10 years ago
barisusakli 212e15b2c2 fixin redis zrevrangebyscore to return value score 10 years ago
barisusakli 2bc7007953 removed sendUnread function 10 years ago
barisusakli c2d97d8ea7 Merge remote-tracking branch 'origin/master' into unread-refactor 10 years ago
psychobunny d79b6b3803 forum traffic graph - unique visitors vs pageviews 10 years ago
barisusakli 6535a730fd upgrade script to delete tid:<tid>:read_by_uid 10 years ago
barisusakli 34106aa209 fix fields 10 years ago
barisusakli 5fc760c6c4 unread changes 10 years ago
psychobunny 2b329b8337 charts baby 10 years ago
psychobunny 144992426d converted pageviews tracking to sorted set, and using pre-built getStatsForSet function
thanks @barisusakli
10 years ago
barisusakli 80ca6bb0a2 Merge branch 'master' of https://github.com/NodeBB/NodeBB 10 years ago
barisusakli 9d25772b53 added sortedSetIncrBy 10 years ago
psychobunny 0b99244dfc forgot to remove while moving 10 years ago
psychobunny 077dcaf704 moved site logo and favicon uploading to its own panel 10 years ago
barisusakli 176023d712 read poolsize from config 10 years ago
psychobunny 1e016d1aff styling tags.tpl 10 years ago
psychobunny 34a2444f07 refactored admin/tags a bit, now inputs are hidden behind a modal so we can see moar tags 10 years ago
psychobunny 0fa04cf9a0 ux - tags 10 years ago
psychobunny d6757c1085 acp - sounds panel, completified 10 years ago
psychobunny 4b1afa8a8c ACP'ing the header title 10 years ago
psychobunny 3a34f508f1 email.tpl formatting 10 years ago
barisusakli c5f9a8a111 increase poolSize to 10 from default 5 10 years ago
barisusakli c5c97c784a optimize getPostIndices
only use 1 set when its in a topic
10 years ago
barisusakli 998ed24589 check topic cid 10 years ago
psychobunny 3635cd21aa adding back a settings header so I can put the save buttons on the right side 10 years ago
psychobunny 2b90180e01 themed skins/themes pages 10 years ago
psychobunny 104b1daf2d formatting 10 years ago
psychobunny 10a683f369 theming customize page 10 years ago
psychobunny 59dae5eac0 removing pills from appearance pages 10 years ago
psychobunny 070039f8b8 more formatting 10 years ago
psychobunny e4d51fbca0 formatting 10 years ago
psychobunny 1952149b4c settings pages done! 10 years ago
psychobunny a348eded57 removed settings/header.tpl 10 years ago
psychobunny eecf7b9dd5 put settings in its own category 10 years ago
psychobunny 89592618e3 deprecated {plugins.icon} and {authentication.icon}; moved icons to menu category 10 years ago
Barış Soner Uşaklı eb9b628a75 Merge pull request #2161 from EisFrei/master
require plugins for the hooks to work
10 years ago
Martin Freisen a258f2b20b include plugins for the hooks to work 10 years ago
psychobunny 362b57a88e languages done 10 years ago
psychobunny d201f0fd23 fixed padding 10 years ago
Julian Lam f44213ea97 Merge pull request #2160 from EisFrei/master
added hooks `action:groups.join` and `action:groups.leave`
10 years ago
Martin Freisen ab90d7b9d4 added hooks `action:groups.join` and `action:groups.leave` 10 years ago
psychobunny 1616b8d3dd acp breadcrumbs 10 years ago
psychobunny 06b4e84fc1 acp - nanoscroller ftw 10 years ago
psychobunny bc574b0e2b removing unnecessary links on acp header 10 years ago
psychobunny c60cbce14a acp menu - theming completified 10 years ago
psychobunny a621d4212e acp main menu themed 10 years ago
Julian Lam 958432ca4a closing julianlam/nodebb-plugin-sso-oauth#8 -- if a templates directory is defined without that directory being present, NodeBB will no longer crash 10 years ago
Julian Lam 3554887f10 back to using redis.auth 10 years ago
barisusakli ebfc6d9785 #2152 dont pass undefined into parser 10 years ago
barisusakli 5f55cc947c watch unwatch
update on toggle, moved isFollowing to api return and template
10 years ago
barisusakli 97e4f13a4d fix page count 10 years ago
barisusakli 1202322700 fix acp users page 10 years ago
psychobunny 3be951367f removed prev editor 10 years ago
psychobunny 06fd0fa34b ace editor 10 years ago
barisusakli 0eb4b93882 moved hasPassword to edit route
its only used there no need to display it everywhere user info is
retrieved
10 years ago
psychobunny 62312638ed fixing pills 10 years ago
psychobunny b468404506 refactored admin/themes.js 10 years ago
psychobunny f98e3aaf64 segregated the "theme" route (now "appearance") into their own separate routes 10 years ago
psychobunny cf35423a20 this panel is actually custom html not custom JS 10 years ago
psychobunny 6af1e4f6d0 removing "branding" until I can figure out how to do this properly
(tbh, even I don't know how it works anymore)
10 years ago
psychobunny 0340f699a0 redirect /categories to /active 10 years ago
psychobunny 4e7f22a674 cleanup 10 years ago
Julian Lam 5a36c33fac fixed #2142 -- passing in cached (pre-required) redis module into socket.io so it uses the same redis module... why? who bloody knows. 10 years ago
psychobunny 1a18bf22aa linting 10 years ago
psychobunny 467d486e58 closes #2145 10 years ago
psychobunny 99a56acab8 #1999 sending ajaxify-data to client on cold loads
commented out until we figure out what we're doing with the renamed
properties (see issue)
10 years ago
Julian Lam b0323e4d3b closed #2150 10 years ago
psychobunny 6f937c59fb gitignore check for config.json too strict 10 years ago
barisusakli 1fe5a8788f check err 10 years ago
psychobunny af2b66f438 closes #2107 10 years ago
psychobunny e336188ccc admin/header.tpl use admin.css instead of stylesheet.css 10 years ago
psychobunny 81ce7f93ad compile admin stylesheet separately 10 years ago
barisusakli c000e852b5 closes #1935 10 years ago
psychobunny 027e8eb54c acp searching, closes #2140 10 years ago
psychobunny 977bc014f9 index acp files 10 years ago
barisusakli 73faa79a69 fix edit page csrf, category slug optional 10 years ago
barisusakli da64eb0873 closes #2117 10 years ago
psychobunny 5d344b3dac linting 10 years ago
psychobunny 9f40cd03e8 on /admin/settings, render general 10 years ago
psychobunny 117b8dece4 settings acp refactor for dedicated routes 10 years ago
barisusakli 6abb0ff4c8 Merge branch 'master' of https://github.com/NodeBB/NodeBB 10 years ago
barisusakli 1a26cb0938 #2139 10 years ago
psychobunny 64b43d58ea moved core templates into nodebb core (admin, status pages, emails) 10 years ago
barisusakli 4eabf41a21 dont allow invalid status to be set 10 years ago
barisusakli bedadd8b5f #2137 10 years ago
barisusakli 23197af725 closes #2114 10 years ago
Julian Lam ecea917d11 closed #2097 -- NodeBB will prefer using Redis as session store if at all possible 10 years ago
Julian Lam 20819e3dfd Revert "use redis session storage instead of connect-mongo"
This reverts commit 056f89d6cf.
10 years ago
Julian Lam f41be4ae8b exposed redis' "connect" method, so socket.io can call it from outside database/redis.js, fixed NodeBB requiring Redis as a socket.io store. It will now go back to using in-memory store per process, if no redis config is found in the NodeBB configuration. re: #2097 10 years ago
barisusakli b1f492dec3 fix redis bulk zadd 10 years ago
Julian Lam e1211527b0 Merge branch '0.5.1' into hashtalk
Conflicts:
	src/controllers/topics.js
10 years ago
Julian Lam 528ee3ad05 Merge remote-tracking branch 'origin/hashtalk' into hashtalk 10 years ago
barisusakli 64c51d5cba check nid before pusing and marking read 10 years ago
Julian Lam 50a7c42f15 Merge remote-tracking branch 'origin/hashtalk' into hashtalk 10 years ago
Julian Lam 05e147b440 Merge branch 'master' of github.com:chronize/NodeBB into chronize-master 10 years ago
psychobunny a0da73dabd don't pass back err if plugin.json is corrupted 10 years ago
psychobunny 180625ece3 forgot to return just posts array 10 years ago
psychobunny 77dfc7378b filter:post.getPostSummaryByPids 10 years ago
psychobunny 0eb4fd89ef don't blow up nodebb if plugin.json is broken 10 years ago
barisusakli 0767998022 closes #2124 10 years ago
psychobunny 99bacf910c oops - #2126 10 years ago
psychobunny 7f2254c9da closes https://github.com/NodeBB/NodeBB/issues/2126 10 years ago
barisusakli 2d5dc44ce5 closes #2123 10 years ago
barisusakli 515e663f85 getObjectsFix
return empty array if keys is empty or not an array
10 years ago
barisusakli 39392672a2 moved static
removed pageRouter middleware into routes,
helper method to setup page routes
10 years ago
Julian Lam 9b9e79ef27 re: #2099 10 years ago
Julian Lam bfdc32a9c3 typo 10 years ago
psychobunny 0db93504ce forgot comma 10 years ago
psychobunny 2b90add560 fix for topics without category data (?)
@barisusakli lemme know if this is legit, if not, see line 195 as well
10 years ago
barisusakli 8b64e65095 cleaned up admin routes 10 years ago
barisusakli 21f65cbb6a crash fix 10 years ago
barisusakli c640e01969 show stack 10 years ago
barisusakli ba90b5d113 widget render change 10 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 10 years ago
barisusakli 5f2a66295c check keys 10 years ago
barisusakli 0914004e12 crash fix 10 years ago
Moritz Schmidt d1273516b5 default for missing post_index parameter
Avoid getting NaN if post_index param is not set (NaN is passed through to redis, redis complains, and the user ends up at /404)
10 years ago
barisusakli 7d9054c2cf derp 10 years ago
barisusakli 7d93926ef7 removed async.map 10 years ago
barisusakli 5323934cc2 calculate page count in controller 10 years ago
barisusakli b7fd4c22d4 removed checkPostIndex middleware
1 less call to get topic post count
10 years ago
barisusakli a19c306f49 guest fixes 10 years ago
barisusakli e2707353e9 dont return unnecessary data 10 years ago
psychobunny a52c69d2a1 only send noscript paginator data on cold loads 10 years ago
Julian Lam f891f49339 removing console.logs 10 years ago
Julian Lam dab3667773 re: #2108, auth re-routing 10 years ago
barisusakli ac301eaabe changed default to 1 10 years ago
barisusakli 4de658e096 checks 10 years ago
barisusakli 3d4dad226e crash fix 10 years ago
barisusakli 59120df71c bulk fix 10 years ago
barisusakli 630977fb99 added parentCid 0 to new categories 10 years ago
barisusakli 89e56794e8 check cid 10 years ago
barisusakli f3f4711a60 wait for callback 10 years ago
barisusakli 327d1c1bec some cleanup and callbacks for post 10 years ago
Julian Lam 4393907ff6 closed #2112 10 years ago
Julian Lam bae634e124 closed #2112 10 years ago
barisusakli 1bad2f79ee show megabyte values 10 years ago
barisusakli 7652f2bf39 escape input tag 10 years ago
Julian Lam c32fdabc43 minor refactor 10 years ago
barisusakli 803a2436de wait for increment to complete before expire 10 years ago
barisusakli 1844250967 check err 10 years ago
barisusakli 93b83060be fix expireAt using millis 10 years ago
psychobunny 251351e245 forgot to require plugins 10 years ago
psychobunny efe11a63a3 woops, wrong property name 10 years ago
psychobunny 9e7f929029 updated filter:sockets.sendNewPostToUids and added type 10 years ago
barisusakli 55cbaf6a19 #2032 10 years ago
psychobunny 8f916ed066 filter:sockets.sendNewPostsToUids 10 years ago
psychobunny 6844c828ca added a hook I didn't end up needing, but here it is anyway `filter:posts.modifyUserInfo` 10 years ago
barisusakli 926acd16b2 closes #2032 10 years ago
Julian Lam 309ac6fec5 adding semver lib to scripts 10 years ago
psychobunny 16accf6cd0 fixing groups.leave 10 years ago
psychobunny 2c1bab2b9a filter:post.getPosts now passes in uid 10 years ago
psychobunny 45383ce21e posts.getPostsByTid and posts.getPostsByPids now require a uid passed in 10 years ago
barisusakli c1f3b94d67 closes #2073 10 years ago
barisusakli a0cc2ee6a9 duh 10 years ago
barisusakli 3abbeb8795 show recent posts of child categories 10 years ago
barisusakli 4066607388 closes #2052 10 years ago
Julian Lam cd135dda13 renamed middleware to applyCSRF, re: #2082 10 years ago
Julian Lam 0b7a21b8d1 Merge branch 'hashtalk' of github.com:NodeBB/NodeBB into hashtalk 10 years ago
Julian Lam 8bac0bf361 Merge branch 'csrf-excision' into hashtalk 10 years ago
Julian Lam a061079995 fixed all POST routes to use new csrf middleware 10 years ago
psychobunny 1caf4806e8 closes https://github.com/NodeBB/NodeBB/issues/2103 10 years ago
Julian Lam 4f6b3055ff Merge branch '0.5.1' into csrf-excision 10 years ago
psychobunny d6e0be52ce companion to 48c123592e - prevent deleting your own account if you're admin 10 years ago
psychobunny a6089ba4aa closes https://github.com/NodeBB/NodeBB/issues/2096 10 years ago
barisusakli 40fff367d1 faster topic move 10 years ago
barisusakli 4b80bbb9c4 optimized user.delete 10 years ago
barisusakli 6a64a3ab92 check err 10 years ago
barisusakli b48d81310c #2095 10 years ago
barisusakli aae7f2434d closes #2088 10 years ago
Julian Lam b80b0e1e99 re: #2098, chat message emails are now opt-in 10 years ago
Julian Lam b85ff61de6 refactored chat notification system to wait a bit before sending notif/email, closes #2098 10 years ago
barisusakli 451c5b40fd removed debug 10 years ago
barisusakli 0a936e5dd1 unreadTids 10 years ago
psychobunny 48c123592e prevent administrators from being deleted - first remove them from admin group 10 years ago
Julian Lam 101288c75c Merge branch 'master' into 0.5.1 10 years ago
barisusakli 51eac70f67 fixed derp 10 years ago
barisusakli 32257c9b2f updateUnreadCount 10 years ago
psychobunny 22577917da closes https://github.com/NodeBB/NodeBB/issues/2093 10 years ago
psychobunny ab1c231b84 re-enabling updateLastOnlineTime - calling that middleware for page loads only instead of every API call 10 years ago
psychobunny ecd00bb679 refactored widgets api call to render all at once rather than one area at a time, closes https://github.com/NodeBB/NodeBB/issues/2062 10 years ago
psychobunny 0ecaa05c76 rearranging routers to prevent multiple hits on incrementPageViews
and potentially updateLastOnlineTime
10 years ago
psychobunny 76fb2c3378 daily + monthly pageview analytics middleware 10 years ago
barisusakli 31eccb8e7f configurable post delay before first post 10 years ago
barisusakli 9a96458f79 closes #2053 10 years ago
barisusakli da86c46b4c Merge remote-tracking branch 'origin/0.5.1' into hashtalk 10 years ago
barisusakli 7c3dc4877a closes #2089 10 years ago
Julian Lam 84d4035597 Child categories no longer show up on homepage, re: #2080 10 years ago
Julian Lam 6e21b7a830 disabled parents no longer show up as parents of a category, re: #2080 10 years ago
Julian Lam d22fe4ad1e removing disabled categories from being listed as children, #2080 10 years ago
Julian Lam cca365432b closes #2084 10 years ago
barisusakli 82e721e854 send new post/topic to users who can read it 11 years ago
barisusakli 655f5087d9 Merge remote-tracking branch 'origin/master' into hashtalk 11 years ago
barisusakli e10fbfa0d2 Merge remote-tracking branch 'origin/0.5.1' into hashtalk 11 years ago
barisusakli f1d5db6be0 pagination fix 11 years ago
barisusakli ddb02978c8 cleanup 11 years ago
barisusakli e56b18822b added topic titles to notifs
upvote, favourite and flag has topic titles now
11 years ago
barisusakli b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
11 years ago
barisusakli 9466d7ced4 faster notif prune
no need to loop tru and check datetime since notifications is a sorted
set now
11 years ago
barisusakli 35a903f9c8 closes #2074
when new notifications are pushed to uids clear their old notifications.
11 years ago
barisusakli 5204dc1e23 removed total count 11 years ago
barisusakli 523f245cd8 removed derp 11 years ago
barisusakli 7a61645256 less db calls 11 years ago
barisusakli dc441c2873 check err 11 years ago
barisusakli 4e6719e0aa added filterUids method to privileges
used to filter uids on a single category
11 years ago
barisusakli 493d0dea1e part 1 of notif refactor 11 years ago
Julian Lam f231b500d7 Merge branch '0.5.1' into csrf-excision 11 years ago
Julian Lam 40e5ad075f started work on #2082 11 years ago
barisusakli 6bde9a1656 prevent getTopicsByTids crash if a topic is null 11 years ago
barisusakli e34ef71acd fixed resetLockout 11 years ago
barisusakli 01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
11 years ago
barisusakli ae02c1a06c closes #2068 11 years ago
psychobunny 61871fae77 merging #2077 11 years ago
psychobunny e738d592dc fixed potential NaN issue https://github.com/NodeBB/NodeBB/issues/2077 11 years ago
psychobunny 52b58b441e closes https://github.com/NodeBB/NodeBB/issues/2077 11 years ago
barisusakli 25ed131b13 show stack trace of error 11 years ago
barisusakli e9798028de show error 11 years ago
barisusakli 5696ea2396 check errors on decodeURIComponent 11 years ago
barisusakli b7eddda8c8 one more fix 11 years ago
barisusakli 20eb4def1d possible fix to online guest count
using socket io rooms instead of syncing between workers.
11 years ago
barisusakli e79c980421 delete anything older than 1 week 11 years ago
barisusakli 5222edb624 sortedSetsAdd
using mullti/bulk for redis/mongo
lets you add a score/value pair to multiple sorted sets at once
11 years ago
Baris Usakli f16ced6bcc removed path from notif, its created on the fly when retrieveing the notifications 11 years ago
barisusakli aed9a9f76f removed console.log 11 years ago