Julian Lam
f44213ea97
Merge pull request #2160 from EisFrei/master
...
added hooks `action:groups.join` and `action:groups.leave`
11 years ago
Martin Freisen
ab90d7b9d4
added hooks `action:groups.join` and `action:groups.leave`
11 years ago
psychobunny
1616b8d3dd
acp breadcrumbs
11 years ago
psychobunny
06b4e84fc1
acp - nanoscroller ftw
11 years ago
psychobunny
bc574b0e2b
removing unnecessary links on acp header
11 years ago
psychobunny
c60cbce14a
acp menu - theming completified
11 years ago
psychobunny
a621d4212e
acp main menu themed
11 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
11 years ago
Julian Lam
3554887f10
back to using redis.auth
11 years ago
barisusakli
ebfc6d9785
#2152 dont pass undefined into parser
11 years ago
barisusakli
5f55cc947c
watch unwatch
...
update on toggle, moved isFollowing to api return and template
11 years ago
barisusakli
97e4f13a4d
fix page count
11 years ago
barisusakli
1202322700
fix acp users page
11 years ago
psychobunny
3be951367f
removed prev editor
11 years ago
psychobunny
06fd0fa34b
ace editor
11 years ago
barisusakli
0eb4b93882
moved hasPassword to edit route
...
its only used there no need to display it everywhere user info is
retrieved
11 years ago
psychobunny
62312638ed
fixing pills
11 years ago
psychobunny
b468404506
refactored admin/themes.js
11 years ago
psychobunny
f98e3aaf64
segregated the "theme" route (now "appearance") into their own separate routes
11 years ago
psychobunny
cf35423a20
this panel is actually custom html not custom JS
11 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)
11 years ago
psychobunny
0340f699a0
redirect /categories to /active
11 years ago
psychobunny
4e7f22a674
cleanup
11 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.
11 years ago
psychobunny
1a18bf22aa
linting
11 years ago
psychobunny
467d486e58
closes #2145
11 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)
11 years ago
Julian Lam
b0323e4d3b
closed #2150
11 years ago
psychobunny
6f937c59fb
gitignore check for config.json too strict
11 years ago
barisusakli
1fe5a8788f
check err
11 years ago
psychobunny
af2b66f438
closes #2107
11 years ago
psychobunny
e336188ccc
admin/header.tpl use admin.css instead of stylesheet.css
11 years ago
psychobunny
81ce7f93ad
compile admin stylesheet separately
11 years ago
barisusakli
c000e852b5
closes #1935
11 years ago
psychobunny
027e8eb54c
acp searching, closes #2140
11 years ago
psychobunny
977bc014f9
index acp files
11 years ago
barisusakli
73faa79a69
fix edit page csrf, category slug optional
11 years ago
barisusakli
da64eb0873
closes #2117
11 years ago
psychobunny
5d344b3dac
linting
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
6abb0ff4c8
Merge branch 'master' of https://github.com/NodeBB/NodeBB
11 years ago
barisusakli
1a26cb0938
#2139
11 years ago
psychobunny
64b43d58ea
moved core templates into nodebb core (admin, status pages, emails)
11 years ago
barisusakli
4eabf41a21
dont allow invalid status to be set
11 years ago
barisusakli
bedadd8b5f
#2137
11 years ago
barisusakli
23197af725
closes #2114
11 years ago
Julian Lam
ecea917d11
closed #2097 -- NodeBB will prefer using Redis as session store if at all possible
11 years ago
Julian Lam
20819e3dfd
Revert "use redis session storage instead of connect-mongo"
...
This reverts commit 056f89d6cf
.
11 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
11 years ago
barisusakli
b1f492dec3
fix redis bulk zadd
11 years ago
Julian Lam
e1211527b0
Merge branch '0.5.1' into hashtalk
...
Conflicts:
src/controllers/topics.js
11 years ago
Julian Lam
528ee3ad05
Merge remote-tracking branch 'origin/hashtalk' into hashtalk
11 years ago
barisusakli
64c51d5cba
check nid before pusing and marking read
11 years ago
Julian Lam
50a7c42f15
Merge remote-tracking branch 'origin/hashtalk' into hashtalk
11 years ago
Julian Lam
05e147b440
Merge branch 'master' of github.com:chronize/NodeBB into chronize-master
11 years ago
psychobunny
a0da73dabd
don't pass back err if plugin.json is corrupted
11 years ago
psychobunny
180625ece3
forgot to return just posts array
11 years ago
psychobunny
77dfc7378b
filter:post.getPostSummaryByPids
11 years ago
psychobunny
0eb4fd89ef
don't blow up nodebb if plugin.json is broken
11 years ago
barisusakli
0767998022
closes #2124
11 years ago
psychobunny
99bacf910c
oops - #2126
11 years ago
psychobunny
7f2254c9da
closes https://github.com/NodeBB/NodeBB/issues/2126
11 years ago
barisusakli
2d5dc44ce5
closes #2123
11 years ago
barisusakli
515e663f85
getObjectsFix
...
return empty array if keys is empty or not an array
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
bfdc32a9c3
typo
11 years ago
psychobunny
0db93504ce
forgot comma
11 years ago
psychobunny
2b90add560
fix for topics without category data (?)
...
@barisusakli lemme know if this is legit, if not, see line 195 as well
11 years ago
barisusakli
8b64e65095
cleaned up admin routes
11 years ago
barisusakli
21f65cbb6a
crash fix
11 years ago
barisusakli
c640e01969
show stack
11 years ago
barisusakli
ba90b5d113
widget render change
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
5f2a66295c
check keys
11 years ago
barisusakli
0914004e12
crash fix
11 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)
11 years ago
barisusakli
7d9054c2cf
derp
11 years ago
barisusakli
7d93926ef7
removed async.map
11 years ago
barisusakli
5323934cc2
calculate page count in controller
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
barisusakli
e2707353e9
dont return unnecessary data
11 years ago
psychobunny
a52c69d2a1
only send noscript paginator data on cold loads
11 years ago
Julian Lam
f891f49339
removing console.logs
11 years ago
Julian Lam
dab3667773
re: #2108 , auth re-routing
11 years ago
barisusakli
ac301eaabe
changed default to 1
11 years ago
barisusakli
4de658e096
checks
11 years ago
barisusakli
3d4dad226e
crash fix
11 years ago
barisusakli
59120df71c
bulk fix
11 years ago
barisusakli
630977fb99
added parentCid 0 to new categories
11 years ago
barisusakli
89e56794e8
check cid
11 years ago
barisusakli
f3f4711a60
wait for callback
11 years ago
barisusakli
327d1c1bec
some cleanup and callbacks for post
11 years ago
Julian Lam
4393907ff6
closed #2112
11 years ago
Julian Lam
bae634e124
closed #2112
11 years ago
barisusakli
1bad2f79ee
show megabyte values
11 years ago
barisusakli
7652f2bf39
escape input tag
11 years ago
Julian Lam
c32fdabc43
minor refactor
11 years ago
barisusakli
803a2436de
wait for increment to complete before expire
11 years ago
barisusakli
1844250967
check err
11 years ago
barisusakli
93b83060be
fix expireAt using millis
11 years ago
psychobunny
251351e245
forgot to require plugins
11 years ago
psychobunny
efe11a63a3
woops, wrong property name
11 years ago
psychobunny
9e7f929029
updated filter:sockets.sendNewPostToUids and added type
11 years ago
barisusakli
55cbaf6a19
#2032
11 years ago
psychobunny
8f916ed066
filter:sockets.sendNewPostsToUids
11 years ago
psychobunny
6844c828ca
added a hook I didn't end up needing, but here it is anyway `filter:posts.modifyUserInfo`
11 years ago
barisusakli
926acd16b2
closes #2032
11 years ago
Julian Lam
309ac6fec5
adding semver lib to scripts
11 years ago
psychobunny
16accf6cd0
fixing groups.leave
11 years ago
psychobunny
2c1bab2b9a
filter:post.getPosts now passes in uid
11 years ago
psychobunny
45383ce21e
posts.getPostsByTid and posts.getPostsByPids now require a uid passed in
11 years ago
barisusakli
c1f3b94d67
closes #2073
11 years ago
barisusakli
a0cc2ee6a9
duh
11 years ago
barisusakli
3abbeb8795
show recent posts of child categories
11 years ago
barisusakli
4066607388
closes #2052
11 years ago
Julian Lam
cd135dda13
renamed middleware to applyCSRF, re: #2082
11 years ago
Julian Lam
0b7a21b8d1
Merge branch 'hashtalk' of github.com:NodeBB/NodeBB into hashtalk
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
1caf4806e8
closes https://github.com/NodeBB/NodeBB/issues/2103
11 years ago
Julian Lam
4f6b3055ff
Merge branch '0.5.1' into csrf-excision
11 years ago
psychobunny
d6e0be52ce
companion to 48c123592e
- prevent deleting your own account if you're admin
11 years ago
psychobunny
a6089ba4aa
closes https://github.com/NodeBB/NodeBB/issues/2096
11 years ago
barisusakli
40fff367d1
faster topic move
11 years ago
barisusakli
4b80bbb9c4
optimized user.delete
11 years ago
barisusakli
6a64a3ab92
check err
11 years ago
barisusakli
b48d81310c
#2095
11 years ago
barisusakli
aae7f2434d
closes #2088
11 years ago
Julian Lam
b80b0e1e99
re: #2098 , chat message emails are now opt-in
11 years ago
Julian Lam
b85ff61de6
refactored chat notification system to wait a bit before sending notif/email, closes #2098
11 years ago
barisusakli
451c5b40fd
removed debug
11 years ago
barisusakli
0a936e5dd1
unreadTids
11 years ago
psychobunny
48c123592e
prevent administrators from being deleted - first remove them from admin group
11 years ago
Julian Lam
101288c75c
Merge branch 'master' into 0.5.1
11 years ago
barisusakli
51eac70f67
fixed derp
11 years ago
barisusakli
32257c9b2f
updateUnreadCount
11 years ago
psychobunny
22577917da
closes https://github.com/NodeBB/NodeBB/issues/2093
11 years ago
psychobunny
ab1c231b84
re-enabling updateLastOnlineTime - calling that middleware for page loads only instead of every API call
11 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
11 years ago
psychobunny
0ecaa05c76
rearranging routers to prevent multiple hits on incrementPageViews
...
and potentially updateLastOnlineTime
11 years ago
psychobunny
76fb2c3378
daily + monthly pageview analytics middleware
11 years ago
barisusakli
31eccb8e7f
configurable post delay before first post
11 years ago
barisusakli
9a96458f79
closes #2053
11 years ago
barisusakli
da86c46b4c
Merge remote-tracking branch 'origin/0.5.1' into hashtalk
11 years ago
barisusakli
7c3dc4877a
closes #2089
11 years ago
Julian Lam
84d4035597
Child categories no longer show up on homepage, re: #2080
11 years ago
Julian Lam
6e21b7a830
disabled parents no longer show up as parents of a category, re: #2080
11 years ago
Julian Lam
d22fe4ad1e
removing disabled categories from being listed as children, #2080
11 years ago
Julian Lam
cca365432b
closes #2084
11 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
barisusakli
9b26b60082
fixed cron
11 years ago
barisusakli
61e1c51ef6
run notif prune every 30mins
...
disabled post edit log
11 years ago
barisusakli
242721c73f
using websockets
11 years ago
barisusakli
6cd84ebe81
removed parseInt from sorts
11 years ago
barisusakli
3c8ca63608
fixed getCidsByPids
11 years ago
barisusakli
ec32a3d243
mising reuqire
11 years ago
psychobunny
0727c2a0bf
forgot winston
11 years ago
barisusakli
2252ab7479
notifications.prune
...
run every hour
dont get more than 500 notifications
11 years ago
barisusakli
cc3786e22d
closes #2055
11 years ago
barisusakli
b7ee875b12
user.isOnline fix
...
wont hit db on every user socket connect or user disconnect
11 years ago
barisusakli
fe58ea55d4
moved debugs 1 level up increased key limit to 100
11 years ago
barisusakli
57e204df8e
removed most of the debug
...
dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
11 years ago
barisusakli
4b20e78de2
hopefully final fix
11 years ago
barisusakli
3f4ede0778
parseInt
11 years ago
barisusakli
518d731562
one more time
11 years ago
barisusakli
f9c9f58561
post_index fix
11 years ago
barisusakli
34a4a2103f
isNan check
11 years ago
barisusakli
edd73b5be2
again
11 years ago
barisusakli
5160a4f90f
getTopicwithposts
11 years ago
barisusakli
ef329c95df
fix
11 years ago
barisusakli
0b83657868
more trace
11 years ago
barisusakli
0d5605ab35
trace in addPostData
11 years ago
barisusakli
126b1c4f4c
only get 20 chats
11 years ago
barisusakli
0cfa430444
crash fix
11 years ago
barisusakli
017f6bde2c
50
11 years ago
barisusakli
7405051924
50
11 years ago
barisusakli
5fd199ae8a
check privs pids
11 years ago
barisusakli
51cafe075c
only get 25 posts
11 years ago
psychobunny
099a04c1c8
disabling pushUnreadCount for now, perhaps this might be good on redis too?
11 years ago
psychobunny
07376c9a4c
look for unread only for today
11 years ago
psychobunny
6aa47efc06
we don't trust user.isOnline, waiting on an optimization (disabling for now)
11 years ago
psychobunny
0de458141b
separated the sockets.emit to socket.emit + broadcast so OP gets action right away. moved callback sooner.
11 years ago
psychobunny
61895633b3
disabling updateLastOnlineTime until we can move this key to redis
11 years ago
psychobunny
056f89d6cf
use redis session storage instead of connect-mongo
11 years ago
psychobunny
071be4ae7f
cache popular route for anons
11 years ago
barisusakli
bf67424fd6
if there are no uids return
11 years ago
barisusakli
e2697030ec
removed reuqire
11 years ago
barisusakli
3f96532c3f
disabled 2 calls
11 years ago
barisusakli
a48e95b910
check keys
11 years ago
barisusakli
779b2a8d73
optimize queries
11 years ago
barisusakli
421d091828
optimizing browsing users
11 years ago
barisusakli
0dc780148a
removed global room
...
socket.io already puts everyone into a room named ''
11 years ago
barisusakli
8e86f4b787
crash fix
11 years ago
barisusakli
9fac18c4b6
derp
11 years ago
Julian Lam
9ee4c90548
test route back to 404
11 years ago
barisusakli
bc00d7d159
check just in case
11 years ago
barisusakli
ba32a4dc4f
crash fix
11 years ago
Julian Lam
7255ce3dbe
primary worker support, and added notif pruning to primary worker jobs
11 years ago
barisusakli
1075305444
crash fix
11 years ago
barisusakli
877cf1e15c
derp
11 years ago
barisusakli
95d1bd3058
crash fix
11 years ago
barisusakli
2008bf28ff
auto update user counts dont transmit all room data
11 years ago
barisusakli
190647a074
only update room text if its topic
...
will fix this in a better way
11 years ago
barisusakli
e28d778c0c
fixed my derp
11 years ago
barisusakli
31fb0efbd9
crash fix
11 years ago
barisusakli
707a062661
one more fix
11 years ago
Julian Lam
fae169697e
removing listener for templates compilation, in order to resolve race condition that was causing slow servers to not actually end up binding to the port as expected
11 years ago
barisusakli
94a3ecdbd1
cluster socket.io fixes
...
getUserRooms
getUidsInRoom
getAnonCountInRoom
11 years ago
Julian Lam
2d0877f80e
better handling of port in use errors with cluster
11 years ago
Julian Lam
fd0622a1a3
removed console.log
11 years ago
barisusakli
0b2df849bd
Merge remote-tracking branch 'origin/cluster' into cluster
...
Conflicts:
loader.js
11 years ago
barisusakli
98f338b41c
online count fixes for cluster
11 years ago
Julian Lam
e5a35ce378
js propagation for cluster module, so only 1 thread minifies the js
11 years ago
Julian Lam
08abbe19bc
zero downtime and reload support with cluster module
11 years ago
Julian Lam
3918b29233
removed /test route
11 years ago
barisusakli
c62f251afc
added index and fixed vote button in infinite scroll
11 years ago
barisusakli
e5795687bb
fix settings on mongo
11 years ago
barisusakli
45afe2e831
cast return to bool
11 years ago
barisusakli
c8692f0562
Merge remote-tracking branch 'origin/0.5.1' into cluster
11 years ago
barisusakli
f81acd37db
added indices on search key and id for mongo
11 years ago
Evan Lucas
3360752c5c
Added action:post.downvote hook
11 years ago
barisusakli
84d0e64361
fix topic move
11 years ago
barisusakli
10b30e303b
mongo posting fix
11 years ago
psychobunny
baaac66d77
Merge remote-tracking branch 'origin/0.5.1' into cluster
11 years ago
psychobunny
f609b1e45d
calololback
...
(how the hell was this working?)
11 years ago
barisusakli
05a9e8b1d6
chat typing notif use room
11 years ago
barisusakli
fdafb72c34
removed getUserSockets for chat
...
emit to users rooms directly
11 years ago
barisusakli
999da9183d
Merge remote-tracking branch 'origin/0.5.1' into cluster
11 years ago
Julian Lam
de41896770
restart handling and crash detection
11 years ago
barisusakli
4736a68534
dont create term object on each call
11 years ago
psychobunny
9f0fff4434
closes #2039
11 years ago
barisusakli
c40355b816
removed debug
11 years ago
Julian Lam
a5423aff16
getPidIndex callback if none specified
11 years ago
Julian Lam
baf72249b6
made uid parameter optional in getPidIndex
11 years ago
Julian Lam
063d270f1a
introducing "sort" querystring parameter in topic route, so that sorting can be overridden via query string.
11 years ago
barisusakli
298f14ad27
removed cluster from app.js
11 years ago
barisusakli
0f46051fcf
Merge remote-tracking branch 'origin/cluster-loader' into cluster
11 years ago
barisusakli
5362863588
debug
11 years ago
barisusakli
2073d994fc
limit topicsperpage postsPerPage to 20
11 years ago
barisusakli
6926552e66
load 50 topics in sitemap instead of all
11 years ago
barisusakli
1b58fb3104
Merge remote-tracking branch 'origin/0.5.1' into cluster
11 years ago
Julian Lam
58a73b52b5
work-in-progress commit to get cluster module working with loader.js
11 years ago
barisusakli
94d050fd4f
removed helpers.done
11 years ago
barisusakli
e00124007f
testing 2
11 years ago
barisusakli
cbe3b5b6dc
testing
11 years ago
Julian Lam
e6d0eede4f
pruning empy notifications for daily emailer
11 years ago
barisusakli
4f48f1865f
removed updateLastOnlineTime from every socket call
11 years ago
barisusakli
6b39e328f5
chat fix
11 years ago
barisusakli
e495db3065
dont make a copy of chat message
11 years ago
Julian Lam
c56a7bf475
Merge branch 'GAWMiners-feature/favourite-hook' into 0.5.1
11 years ago
Julian Lam
77475bb7a3
Merge branch 'feature/favourite-hook' of github.com:GAWMiners/NodeBB into GAWMiners-feature/favourite-hook
11 years ago
Evan Lucas
440c78c949
match `object.action` nomenclature
11 years ago
Evan Lucas
fb45aa92fd
Add upvote hook
...
adhere to similar project style
11 years ago
barisusakli
26c0b097cf
removed realtime update of anon count
11 years ago
barisusakli
74282ffeea
removed another unnecessary socket call
11 years ago
Julian Lam
a7736d1926
removed setTimeout when someone tries to log in with a non-existant username
11 years ago
barisusakli
171f02101d
closes #2035 , closes #2036
11 years ago
barisusakli
761d59f5ec
each limit on pushUnreadCount
11 years ago
barisusakli
b8dfbdaff2
small optimization to online users
11 years ago
barisusakli
8b4c61241f
query change
11 years ago
barisusakli
0c8c6632d9
create index on key value
11 years ago
barisusakli
487793e692
create index on score field
11 years ago
barisusakli
13bdd939e3
crash fix
11 years ago
barisusakli
619ca103c7
crash fix
11 years ago
barisusakli
1ed4c984bb
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
barisusakli
0b79a73732
crash fix
...
if composer is opened in a topic that was deleted/purged
11 years ago
barisusakli
ae6d5e72f4
closes #2015
11 years ago
Julian Lam
4edceb0f92
allowing /user to also work in addition to /users
11 years ago
Julian Lam
caa9c8c157
more stuff using new returnTo behaviour
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
barisusakli
14fcd36134
closes #2028
11 years ago
barisusakli
603cddc687
closes #1934
11 years ago
barisusakli
4f5c78d675
merge
11 years ago
barisusakli
537dea4e4b
crash fix
11 years ago
barisusakli
e6b3da18f2
merge
11 years ago
barisusakli
87c8cd2fb0
another crash fix
11 years ago
barisusakli
73bef8168f
another crash fix
11 years ago
barisusakli
0473e7f25b
crash fix
11 years ago
barisusakli
6ac8d9d349
check uid
11 years ago
barisusakli
576081e25f
delete user ignored cids on account delete
11 years ago
barisusakli
197226eea6
closes #1742
11 years ago
barisusakli
acef614147
removed 2 BS classes
11 years ago
barisusakli
5f2380fdcd
dont display all categories
11 years ago
Julian Lam
063a4e5628
finished up UX integration for in-topic searching, added mousetrap lib to capture ctrl-F only in topic view, closed #1800
11 years ago
Julian Lam
cc930e4042
Merge branch '0.5.1' into topic_searching
...
Conflicts:
src/socket.io/topics.js
11 years ago
Julian Lam
fa6daa37eb
updated regex to match admin route with no trailing slash
11 years ago
barisusakli
94c765fa25
closes #1996
11 years ago
barisusakli
ba4b98de0e
email and username checks on profile update
11 years ago
barisusakli
ed294dd414
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
Julian Lam
cd10248226
basic topic searching via search bar working
11 years ago
Julian Lam
df5283cbae
Merge remote-tracking branch 'origin/0.5.1' into topic_searching
11 years ago
barisusakli
347fc05376
getPidIndex socket call
11 years ago
Julian Lam
1d3aafc08f
adding sourceRoot to minified mapping
11 years ago
barisusakli
d67cd489cd
crash fix
11 years ago
Julian Lam
5d32073f2c
Merge branch '0.5.1' into topic_searching
11 years ago
barisusakli
42f87a1db7
closes #2017
11 years ago
Julian Lam
2d9ca83ae0
better error messaging when js fails to compile when reloading
11 years ago
Julian Lam
fcbdc5e271
added recompilation of templates to NodeBB Reloading - #2010
11 years ago
barisusakli
eef200be10
closes #1284
11 years ago
Julian Lam
5f96823f66
allowed the "forum updated" message to show up for reloads as well
11 years ago
psychobunny
1f6f2c13d5
apparently this was confusing
11 years ago
barisusakli
b856ddb98f
closes #2018
11 years ago
Julian Lam
2bfa7d5b97
closed #2012
11 years ago
Julian Lam
ab77e6767e
closed #2011
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
e751a0c0cf
closes #2003
11 years ago
barisusakli
7019618863
closes #2003
11 years ago
barisusakli
62dd056faa
tag search
11 years ago
barisusakli
95c839579e
closes #2007
11 years ago
barisusakli
5a42b6a7ea
closes #2009
11 years ago
Julian Lam
69b9e57daf
completing subcategory integration in backend, closed #1299
11 years ago
Julian Lam
b7c7dd98c3
ACP setting and API return for subcats
11 years ago
barisusakli
83de5ba5a4
added topic owner uid
11 years ago
barisusakli
06119510b7
merge
11 years ago
barisusakli
22fdf9f4ed
getMainPost uses getMainPosts
11 years ago
barisusakli
b858b120da
closes #1998
11 years ago
Julian Lam
74e5524492
fixing request to /api not returning api result
11 years ago
psychobunny
4dd32e1024
filter:category.get applies to all category-like API calls now
...
@a5mith
https://gist.github.com/psychobunny/572d867935469774c6e8#comment-1281883
11 years ago
barisusakli
77a7c5caef
eachLimit notifications.push
11 years ago
barisusakli
24ea74dc41
lol
...
O(log(n)) to O(1) and away
11 years ago
barisusakli
d411ed5c28
closes #1995
11 years ago
Barış Soner Uşaklı
02889f2e70
call callback on follow/unfollow
11 years ago
barisusakli
05fdc945f3
closes #1993
11 years ago
barisusakli
5ae7c92d55
notifications refactor
...
added getMultiple which works with an array of nids
11 years ago
barisusakli
dd9a383f46
removed unused functions
11 years ago
barisusakli
ca90afd544
#1992
...
(drunk) not even done yet
11 years ago
barisusakli
a9ca035e1e
gotto check read after each pass
11 years ago
barisusakli
b2f8a65bc8
removed slice
11 years ago
barisusakli
522fda2e58
closes #1936
11 years ago
barisusakli
d852f284da
closes #1948
11 years ago
barisusakli
cd096f8832
sortedSetScores for tag counts
11 years ago
barisusakli
e10eaf0d50
added tag counts to api return
11 years ago
barisusakli
931d46fe7e
merge
11 years ago
barisusakli
b50b5e4787
satifying my OCD
...
fire hook after successful follow/unfollow
11 years ago
psychobunny
0c17ee15f7
action:user.follow and action:user.unfollow
11 years ago
psychobunny
1036ba4636
removing timestamp from thread hooks... completely pointless
11 years ago
barisusakli
d91fa5747d
closes #1964
11 years ago
barisusakli
60624eedec
small tweak
11 years ago
barisusakli
5c91bc4335
optimized home
11 years ago
barisusakli
c58712e2a9
closes #1971
11 years ago
barisusakli
d0d1ebb28c
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
barisusakli
2d0637d7c6
fix user online status on profile page
11 years ago
barisusakli
c9c454825e
closes #1369
11 years ago
barisusakli
d12a526e82
check against 0 first
11 years ago
barisusakli
e909e46786
closes #1989
11 years ago
barisusakli
3ab2e70e07
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
barisusakli
dda0322968
getUsersInCategory
11 years ago
barisusakli
299d7bfee3
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
barisusakli
5c84a3adb5
closes #1974
11 years ago
barisusakli
f562caaa61
callback
11 years ago
Julian Lam
a2fb4a66b0
migrated ACP themes page from html rendered via js to template engine
11 years ago
barisusakli
37115ea3d6
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
Julian Lam
b48571ceb8
fixed #1988
11 years ago
barisusakli
464be4f7cc
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
barisusakli
0847eb2c3d
added uid to filter:header.build
11 years ago
barisusakli
dae3ef49be
show user names who upvoted a post on mouse over
11 years ago
barisusakli
005405b16c
closes #1976
11 years ago
barisusakli
9511e4a633
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
barisusakli
b16932a676
check mainPid
11 years ago
barisusakli
5dd90880d4
Merge remote-tracking branch 'origin/master' into 0.5.1
11 years ago
barisusakli
c358ff3d83
fix isSortedSetMembers on mongo
11 years ago
Julian Lam
4fa80263b0
fixed #1981
11 years ago
barisusakli
b50a6d8f34
Merge remote-tracking branch 'origin/master' into 0.5.1
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
ac43ff3c3d
closes #1970
11 years ago
barisusakli
ceaedf9e2f
closes #1941
11 years ago
barisusakli
1cf5c3145a
doing it properly this time
...
mainPost always has index 0
11 years ago
barisusakli
8584da75f2
reverted main post change, breaks indices
11 years ago
barisusakli
32d46f3889
crash fix
11 years ago
barisusakli
851d5c0f32
send uids to isOnline in messaging
11 years ago
barisusakli
c07d9121df
small optimizations
...
user.isOnline works with an array of uids
do not make 2 trips to db to get main post and first 10 posts
11 years ago
Julian Lam
0e28b6f2d5
fixed #1980 -- missing pass-through
11 years ago
barisusakli
c4b083330c
closes #1978
11 years ago
barisusakli
c8084e9b2e
closes #1978
11 years ago
barisusakli
5e68e0b009
same deal as previous commit
11 years ago
barisusakli
e137baccd9
fixed ip:recent weird
11 years ago
barisusakli
7642be3608
closes #1939
11 years ago
barisusakli
b5cc852551
do a single filter after getting all unread tids
11 years ago
barisusakli
b8279dc737
optimize getUserGroups to work with multiple user ids
11 years ago
barisusakli
5b681678b1
could use async.apply here hm
11 years ago
barisusakli
4e4a583d9d
took out the meta config check from image.js
11 years ago
barisusakli
ea2975cb3f
eachLimit on expire nids
11 years ago
barisusakli
a2bb8029fe
use utils.toISOString
11 years ago
barisusakli
5c6e26832e
removed console.logs
11 years ago
barisusakli
df0a5e780a
prevent edit to change title length above max
11 years ago
barisusakli
46398fa924
removed unused require
11 years ago
psychobunny
db2ef15a09
linting
11 years ago
psychobunny
e77491fcbb
closes #1956
11 years ago
barisusakli
049d7f766e
use getSetsMembers instead of async.map
11 years ago
barisusakli
7d179b68df
faster notif prune
11 years ago
barisusakli
f39d772a40
if notification is purged delete from user mapping as well
11 years ago
barisusakli
cb519d53a1
isArray check
11 years ago
barisusakli
8e8b678d40
small tweak
11 years ago
barisusakli
84aadc03fd
fix filter condition
11 years ago
psychobunny
90513be321
send callback directly
...
except this time I'm fixing my own derps instead of @barisusakli
11 years ago
barisusakli
7ffad7e0d1
send callback directly
11 years ago
barisusakli
528ee335d5
optimize getTopicsByTids and getTeasers
11 years ago
psychobunny
9a5ed0bf27
forgot err, thanks @barisusakli
11 years ago
psychobunny
b1ef42889d
updated site title for tags page to be more user friendly
11 years ago
psychobunny
38dc35f480
console.log
11 years ago
psychobunny
3a32058be1
closes #1958
11 years ago
psychobunny
4cda8207e2
adding uid to filter:category.get
11 years ago
psychobunny
c88327d075
added filter:category.get
11 years ago
barisusakli
76b257f7b8
optimized User.getUsers
11 years ago
barisusakli
59d4d2880f
fixed markAsUnreadForAll permissions
11 years ago
barisusakli
906e1a3846
removed unused meta
11 years ago
barisusakli
90ac399f6d
fix topics.loadMore so it checks read permission
11 years ago
barisusakli
805e6934b9
derp this function should only return err
11 years ago
barisusakli
f55d1897c8
fix categories.loadMore so it checks read permission
11 years ago
barisusakli
100328ef06
shorter markAsUnread
11 years ago
barisusakli
f49c95c16f
closes #1950
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
psychobunny
631edc92d3
extra var
11 years ago
barisusakli
5ce0ebb4ac
single socket call on topic enter
11 years ago
psychobunny
bb48bdb008
closes #1942
11 years ago
barisusakli
95979d9d97
closes #1947
11 years ago
barisusakli
473310d42d
use empty string if referer is undefined
11 years ago
barisusakli
b4182f57fe
simplified callback
11 years ago
barisusakli
b0b78c3092
minor fix to prevent err when trying to mark null nid
11 years ago
barisusakli
e420ee5fb6
privilege fix for single category check
11 years ago
barisusakli
e7700a3fde
minor refactor
11 years ago
barisusakli
c6c23aad5e
eachLimit on move all topics
11 years ago
barisusakli
115598f382
minor refactor
11 years ago
barisusakli
62681c36ef
if notif is deleted don't push, prevent crash
11 years ago
chronize
efe938b392
fix upgrade.js according to CodeClimate recommendation, remove BOM
11 years ago
barisusakli
97909a6cac
err checks
11 years ago
psychobunny
e14a1e90c3
linting emitter.js
11 years ago
psychobunny
533659e2fd
unnecessary property check
11 years ago
psychobunny
be21e11b69
cleanup / lint
11 years ago
barisusakli
3424288f0a
actually set url #1926
11 years ago
psychobunny
53ae0c586d
closes #1926
11 years ago
barisusakli
3163f70ef2
add tid to post notification so its marked read on entry
11 years ago
barisusakli
0773f51260
closes #1932
11 years ago
barisusakli
76ad2b8fb2
fixed to account header
11 years ago
barisusakli
c217834165
fixed typo
11 years ago
barisusakli
1398937dd8
early outs for privs
...
no need to check if empty array is passed in, happens if there are no
unread topics
remove dupe cids before checking for privileges
11 years ago
barisusakli
7bfec99df1
permission fix for popular page
11 years ago
barisusakli
de6e74c50e
#1914
11 years ago
barisusakli
3ff91b8c50
closes #1912
11 years ago
barisusakli
d9a0af712d
group null and err check
11 years ago
barisusakli
dc68dce27f
check err
11 years ago
root---
f2d07d3182
fix fatal error when renaming group with no users
11 years ago
barisusakli
38b6c4ce55
#1925
11 years ago
barisusakli
d97af5020a
small cleanup to postSummary
11 years ago
barisusakli
9312675a77
Merge branch 'master' of https://github.com/NodeBB/NodeBB
11 years ago
barisusakli
5a2b02e798
fix var name, #1925
11 years ago
Julian Lam
925cd99afb
Merge branch 'master' into topic_searching
11 years ago
Julian Lam
89a9d4b7f2
logic for #1837
11 years ago
barisusakli
cfc67d4e90
closes #1924
11 years ago
barisusakli
7e82d3d9a5
fix guest priv
11 years ago
barisusakli
efdd795084
closes #1922
11 years ago
barisusakli
8caedc935b
online users fix
...
and jshint cleanup
11 years ago
Julian Lam
bb7a71389e
using websocketAddress config if supplied
11 years ago
barisusakli
fed8cc6d53
optimize privileges and assorted fixes.
...
* new methods
privileges.categories.filter
privileges.topics.filter
privileges.posts.filter
they take a list of ids and a privilege, and return the filtered list of
ids, faster than doing async.filter and calling the db for each id.
* remove event listeners on recent page before adding
* group.exists works for both single group names and arrays
* helpers.allowedTo works for both a single cid and an array of cids
* moved filter:topic.post hook right before topic creation.
* moved filter:topic.reply hook right before topic reply.
11 years ago
barisusakli
eeb4c9f487
optimize getPostSummaryByPids
11 years ago
barisusakli
1a68fe5a26
possible fix for #1909
11 years ago
barisusakli
68cf064b1e
cleaned up a bit
11 years ago
barisusakli
d0a0d02d31
mongodb list fix
11 years ago
barisusakli
e8b767d0dd
get recent poster uids
11 years ago
barisusakli
783926687c
reduced active users
11 years ago
barisusakli
96b0b449b9
closes #1911
11 years ago
barisusakli
f31978aa2c
moved core notifications all the way to the end
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
08ba683c7d
fix callback
11 years ago
barisusakli
d7520508e3
#1375 part1
11 years ago
Julian Lam
4d73a563c5
closed #1850
11 years ago
Julian Lam
e5be1d2840
closed #1910
11 years ago
psychobunny
3f9e6e7d86
closes #1901
11 years ago
psychobunny
60e74cc2c3
LTRIM support for mongo
11 years ago
psychobunny
7327730252
LTRIM support for redis
11 years ago
psychobunny
cf031be904
better error handling for custom langauge files
11 years ago
barisusakli
2d94df93b8
isArray is enough
11 years ago
barisusakli
0792731873
new hook filter:topics.get
11 years ago
Julian Lam
0b01a780f8
registering static:app.load in core
11 years ago
Julian Lam
0bad6198d4
firing new third type of hook, static. New hook: static:app.load, closed #1812
11 years ago
barisusakli
eea987d8dd
removed console.log
11 years ago
barisusakli
5a0e99956e
some cleanup
11 years ago
Julian Lam
b7d27fe48b
god damnit @barisusakli :P
11 years ago
Julian Lam
91ce3634fc
fixed #1904
11 years ago
Julian Lam
086ebb7e5a
closed #1874
11 years ago
barisusakli
3829019bfa
removed optional params
11 years ago
barisusakli
c7de38f28e
closes #1902
...
messages:<uid>:<uid> list changed to messages:uid:<uid>:to:<uid>
sortedset
11 years ago
Julian Lam
a79bb29216
partial fix to #1874
11 years ago
barisusakli
3bfad766b3
closes #1900
11 years ago
Aure77
965d6a0d66
Allow cookie domain customization from meta config
11 years ago
barisusakli
d7bd35ab08
#1741
11 years ago
Julian Lam
8296dc5630
beginning topic searching + new hook
11 years ago
barisusakli
d25300043c
#1741
11 years ago
Aure77
e28ed490ee
Allow session cookie domain customization
11 years ago
psychobunny
b604a4961c
thanks @barisusakli
11 years ago
barisusakli
e459592ac9
closes #1893
11 years ago
psychobunny
47a86662de
adding timestamp to topic action hooks
11 years ago
psychobunny
788b16fa62
adding uid to the topic hooks, so plugins can know the user that did the action
11 years ago
psychobunny
2e7d1f33dc
action:topic.lock, action:topic.pin, action:topic.move
11 years ago
psychobunny
1a37176a9d
filter:topic.get, surprisingly never implemented till today
11 years ago
barisusakli
8dce99250b
final fix for #1884
...
fix mongo functions so they return correct data if duplicate keys are
passed. getObjects(['post:1', 'post:1'], callback) was only returning
one object.
11 years ago
barisusakli
fa8fcc00ec
fix tag counts
...
if a tag is removed from a topic, update number of topics in that tag
11 years ago
barisusakli
bc2f7339ee
getLatestUndeletedPid will return string #1884
11 years ago
psychobunny
685cd38162
calculate levenshtein distance between recent chat messages and temporarily ban if determined to be spam
11 years ago
psychobunny
e95bc35240
Merge branch 'master' of https://github.com/NodeBB/NodeBB
...
Conflicts:
src/upgrade.js
11 years ago
psychobunny
b209af1e32
info instead of error
11 years ago
Julian Lam
883cee31bc
added support for showSiteTitle in ACP, closes #1519
11 years ago
barisusakli
7454fd53b9
possible fix for #1741
11 years ago
barisusakli
dc30d94ff8
info
11 years ago
Julian Lam
440a19ed57
Merge branch 'sourcemap-windows'
11 years ago
Julian Lam
ce8bec5edb
fixed mapping in web inspector
11 years ago
barisusakli
fde8e9d90f
on group destroy, remove it from all groups
...
previously if a group was destroyed it was left behind in privilege
groups
11 years ago
barisusakli
5c57ed5ea0
install db dependencies in upgrade script
11 years ago
Julian Lam
7cdcb83a98
fixed #1640
11 years ago
barisusakli
238d6602a2
check for valid content, #1884
11 years ago
barisusakli
8113ed6a4d
closes #1883 , no upgrade script #successkid
11 years ago
barisusakli
054ceab0be
isMemberOfGroups fix
11 years ago
barisusakli
6c48cbe6ce
regFormEntry array
11 years ago
barisusakli
20df6fd5cd
small fix
11 years ago
barisusakli
2bf38ec84b
handle pinned topics
11 years ago
barisusakli
5292bdad5a
closes #1871
11 years ago
barisusakli
1e6d589080
show topics on home instead of replies
...
no template changes, instead of showing the latest x posts under
categories, we are now showing the latest x posts of the latest x
topics.
11 years ago
barisusakli
a3fecee781
removed console.log err check
11 years ago
barisusakli
89bb11a58c
closes #1880
11 years ago
barisusakli
0e241456e4
less code
11 years ago
Julian Lam
8e0bc0257d
fixed #1869
11 years ago
barisusakli
82ffaad939
parseint
11 years ago
barisusakli
c9fb5b3e11
changed user posted notification to include title
...
dont send 2 notifications if you are already following topic
11 years ago
barisusakli
81018d1305
closes #1863
11 years ago
psychobunny
cb08d4b04f
getting rid of this one for good
11 years ago
psychobunny
b5d3186120
plugins and themes can now define their own custom language strings. closes #1865
11 years ago
barisusakli
ab9af6202d
Merge branch 'master' of https://github.com/NodeBB/NodeBB
11 years ago
barisusakli
d00740703b
use the new $text query from mongo 2.6
11 years ago
psychobunny
423da904de
allow core to tap into NodeBB's hook system, closes #989
11 years ago
psychobunny
e10307426d
optional callback for registerHook
11 years ago
psychobunny
7e82393d9f
plugins:loaded - using emitter class instead
11 years ago
psychobunny
bab995626c
some unused vars
11 years ago
Julian Lam
be8e63cd50
special handling for filter:app.load
11 years ago
barisusakli
ef8bbdd359
closes #1864
...
doing andrew's //todo's since 1991
11 years ago
barisusakli
04c6ca2ebb
closes #1862
11 years ago
barisusakli
b1e93c4558
fix for wrapper
11 years ago
barisusakli
6e66911ef7
delete unread chats on account delete
11 years ago
barisusakli
a4975cab33
closes #1825 , closes #1674
11 years ago
barisusakli
a69973e7a7
topics.getPids will return mainPid as well
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
d78fdb1520
more confusing, works perfectably
11 years ago
psychobunny
a67e0ea3c2
less confusing
11 years ago
psychobunny
de5a564780
hinting
11 years ago
barisusakli
2c890ad609
moved pushUnreadCount
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
206acab1bf
added posted data back whoops
11 years ago
barisusakli
afb62c7484
optional timestamp to post.create
11 years ago
psychobunny
803b6f64b8
ability to disable sitemap.xml
11 years ago
psychobunny
704d81fe53
disable category RSS
11 years ago
psychobunny
b6a8845d52
disable topic RSS
11 years ago
psychobunny
dab44e0768
ability to disable rss feed
11 years ago
Julian Lam
021e31a03a
better comments
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
67d5307a8f
small change to tag search
11 years ago
psychobunny
08df29e4dd
random console.log
11 years ago
barisusakli
90392025e6
small fix to router
11 years ago
barisusakli
6d8cc5648c
some tag hooks/filters
11 years ago
psychobunny
9f6c05bb24
closes #1830
11 years ago
barisusakli
42ea8652f1
possible fix for #1830
11 years ago
Aziz Khoury
ed7631cab5
tab indent fix
11 years ago
Aziz Khoury
d1f97723e7
Group.join() callback made optional
11 years ago
barisusakli
943f3814e5
closes #1813
11 years ago
barisusakli
e036c20072
closes #1808
11 years ago
barisusakli
61f7f0f889
fixed file upload checks
11 years ago
barisusakli
ebaf8df0a9
#1824
11 years ago
barisusakli
fcd460438d
closes #1824
11 years ago
barisusakli
d3312f1b8e
fixer or in jobs and users redefinition
11 years ago
barisusakli
633980ce4b
active users cleanup
11 years ago
barisusakli
0362c1a3b0
show day/week/month/year popular topics
11 years ago
barisusakli
b2ece27263
topic post hook
11 years ago
psychobunny
1d8aeda9c2
closes #1814
11 years ago
Julian Lam
84832f57cc
firing action:settings.set hook AFTER the object is saved in the db. What was I thinking?!
11 years ago
dhingey
9d45373b59
Change user.delete hook from action to filter
...
The user.delete hook is now a filter, giving plugins a chance to access
the user's data before it's deleted from Redis.
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
barisusakli
9fbd535b79
fixes vote buttons on infinite scroll and new posts
11 years ago
psychobunny
b3819fd076
temporary fix for acp, need to reconsider how I'm doing this
11 years ago
psychobunny
4cbe97a466
don't need this file anymore
11 years ago
psychobunny
c6183f1a82
closes #1428
11 years ago
barisusakli
9d7a8fcc0b
getSortedSetRevRangeWithScores
11 years ago
barisusakli
b5df5c0a91
closes #1562 , level session
11 years ago
barisusakli
53d68be7c0
level sortedSetsRemove
11 years ago
barisusakli
0f5c1d1892
added messaging hook #1798
11 years ago
barisusakli
75bf9e62be
cleaned languages.js
11 years ago
Julian Lam
dae2e14aac
epic hax to make the chat message list resize #1788
11 years ago
Julian Lam
4404387218
Merge branch 'master' into chat-route
11 years ago
psychobunny
46d3e4a6eb
undo
11 years ago
psychobunny
0c55417df2
purge topic if it's the post is purged in that topic
11 years ago
Julian Lam
7b3159292f
added some utility functions for #1798 , fixed chat notifications bodyLong value
11 years ago
dhingey
f7372ba8d5
Added a hook: action:user.delete
...
Allows plugins to access the uid of the user being deleted.
11 years ago
Julian Lam
71916f0691
marathon bugfixing with @barisusakli re: #1788
11 years ago
barisusakli
5497b8c419
striptags
11 years ago
barisusakli
64d04f7aa6
closes #1803
11 years ago
Julian Lam
d9cdd2f165
limiting recent chats to 20
11 years ago
Julian Lam
13e4e8dad7
a couple final tweaks to contact list and such... #1788
11 years ago
Julian Lam
ac9f104b39
Merge remote-tracking branch 'origin/chat-route' into chat-route
...
How in the seven hells do I manage to conflict myself?
Conflicts:
public/src/forum/chats.js
public/src/modules/chat.js
src/middleware/middleware.js
11 years ago
Julian Lam
1db96dc627
typing notifcation socket implementation for chat page, #1788
11 years ago
Julian Lam
84e046185b
WIP
11 years ago
Julian Lam
4d85df5bae
issue #1788 - start
11 years ago
Julian Lam
404ab4878b
typing notifcation socket implementation for chat page, #1788
11 years ago
barisusakli
bc257c1c10
removed dupe version
11 years ago
Julian Lam
d18461c8eb
wtf. Merge remote-tracking branch 'origin/chat-route' into chat-route
...
Conflicts:
public/language/en_GB/modules.json
src/controllers/accounts.js
src/middleware/middleware.js
src/routes/index.js
11 years ago
Julian Lam
89dc8c490a
WIP
11 years ago
barisusakli
43c1787754
dont exist if cant parse css
11 years ago
barisusakli
37b73e1c02
cleaner mongo setRemoveRandom
11 years ago
Julian Lam
0dad7adb8d
issue #1788 - start
11 years ago
Julian Lam
b03bb3a32b
issue #1788 - start
11 years ago
barisusakli
5097526ae0
pass express app to plugins, closes #1789
11 years ago
barisusakli
f288f80da6
meta.js refactor
11 years ago
barisusakli
80cb0cf7e0
plugins.js jslint
11 years ago
psychobunny
ddcca28cf0
pass allowRegistration in login API for #1786
11 years ago
barisusakli
3e75a4397a
fixes guest post data in topics
11 years ago
barisusakli
dcbed4e935
closes #1763
...
show alert if email not confirmed, clicking alert will send confirmation
email
11 years ago
barisusakli
586aeaf53f
added error checking to install.js for categories
11 years ago
barisusakli
5ea74ae9e9
closes #1776
11 years ago
barisusakli
119d13053d
move static to end
11 years ago
barisusakli
ec1196d288
use router for relative path
11 years ago
barisusakli
38494a2af0
pass in session directly
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
4b005a4037
crash fix
11 years ago
barisusakli
e6c9647acf
display user post topic stats in admin index
11 years ago
barisusakli
9a4e6aa01c
closes #1774
11 years ago
barisusakli
6389bc762c
fire post edit after hook after post is saved
11 years ago
barisusakli
c29dcc0ec9
fire topic edit action after topic is saved
11 years ago
barisusakli
b8b6ae7b2f
moved upload route into API namespace
11 years ago
barisusakli
b41b311d94
another eachLimit
11 years ago
Julian Lam
ffd2ddc3e7
Revert "moved meta up"
...
This reverts commit 8c9feb85a4
.
11 years ago
Julian Lam
cda3f9376d
updated error text to show proper setup command
11 years ago
barisusakli
5ec289eee2
closes #1769
11 years ago
barisusakli
efcc42f170
added eachLimit to upgrade script
11 years ago
barisusakli
8c9feb85a4
moved meta up
11 years ago
barisusakli
82a1215128
setOnEmpty
11 years ago
barisusakli
9aacb5e259
remove dupe code
11 years ago
barisusakli
24aa166ed5
dont error when no teaser data
11 years ago
barisusakli
d57f183f42
privileges.posts.get takes an array of pids now
11 years ago
barisusakli
6cd29a31a4
removed timing
11 years ago
barisusakli
c3a9767bf6
late night optimizations
...
-isMemberOfSets returns true/false instead of 1/0
-when loading the posts of a topic only get the userdata for each user
once, before this commit if a topic had 10 posts from 2 different users
we were getting the user data for each user 5 times (drunk)
-getVoteStatusByPostIDs and getFavouritesByPostIDs no longer make
pids.length calls to the db, they use isMemberOfSets now
-getUserInfoForPost renamed to getUserInfoForPosts and doesnt make
uids.length calls to db, uses getMultipleUserFields instead
11 years ago
barisusakli
d3fc71529a
callback
11 years ago
barisusakli
a9e5e82431
closes #1758
11 years ago
Julian Lam
46f9a7860c
applying translator to messages.
11 years ago
psychobunny
92c0bd07c9
Ability to enable/disable the upvote/downvote system, closes #1672
11 years ago
psychobunny
b040201764
prevent hax voting via websockets if system disabled
11 years ago
psychobunny
a2f85648c5
allow voting system to be disabled
11 years ago
barisusakli
1cabf885a2
closes #1730
...
postCount != lastPostIndex unfortunately, that will need some rethinking
11 years ago
barisusakli
49a9601a04
closes #1752
11 years ago
psychobunny
b3c9323026
use admin setting for downvote privileges, closes #1757
11 years ago
psychobunny
8a03b42d62
prevent a user from downvoting if at negative rep
11 years ago
psychobunny
6685e140c3
pass err through
11 years ago
psychobunny
f4955ffb8d
closes #1729
11 years ago
psychobunny
0e92c7ed94
use templates.js module instead
11 years ago
barisusakli
f80b3c3b66
simpler union
11 years ago
barisusakli
7f534cc7b8
sorted set refactor
11 years ago
Barış Soner Uşaklı
2d734c1648
fixed move recent replies
11 years ago
barisusakli
eb9b4a62dc
fix topic move, fix moveAll
...
move topic wasnt moving mainPid, also fixed crash on move all
clicking permissions on admin/categories no longer goes to top of page
11 years ago
barisusakli
c191aa079f
closes #1735
11 years ago
barisusakli
c642493bce
guest post fix
11 years ago
barisusakli
e6d8e9c959
searchIndex callbacks
11 years ago
barisusakli
1296cd58b9
closes #1723
11 years ago
barisusakli
3c3ad7d115
closes #1728
11 years ago
barisusakli
bd4722665d
closes #1725
...
removed move button from main post, disable moving main post, fixed
moving posts.
11 years ago
barisusakli
9af12819e3
closes #1731
11 years ago
barisusakli
a9adfe9428
fix crash in topic move
11 years ago
barisusakli
0987aed0e6
callback undefined error
11 years ago
psychobunny
f6838ef51e
only use passport.authenticate if a strategy url is defined
11 years ago
barisusakli
b7e04239e9
use water in post edit
11 years ago
barisusakli
ab6429c578
closes #1734
11 years ago
barisusakli
78509b4ad0
use sortedSetsRemove to remove tid from tags
11 years ago
barisusakli
fd12ec763a
sortedSetsRemove
...
instead of calling sortedSetRemove() one at a time for each id remove
value from multiple sortedSets with one db call
11 years ago
barisusakli
a4d4e53f45
speed up category purge
...
using eachLimit
dont emit stats on every topic delete
11 years ago
barisusakli
dceeed22f7
closes #1724
11 years ago
Julian Lam
458e294293
switched validator library out in favour of String lib
11 years ago
Julian Lam
d229cd21b2
parsing the post content that's passed into bodyLong in notifs #1720
11 years ago
Julian Lam
c41bb05711
final pass #1720 , closed #1720
11 years ago
Julian Lam
d257632878
first pass #1720 , updating existing calls to notifications.create, backwards compatibility in case plugins create notifications too.
11 years ago
Julian Lam
a3d01aea58
added error handling if bad LESS is written in ACP. closes #1715
11 years ago
barisusakli
13854e8774
closes #1603
11 years ago
barisusakli
03ec1c3216
added group.hide back into groups.join
11 years ago
Julian Lam
b1faca3614
saving portless hostNAME into server config, not the host! Argh. closed #1713
11 years ago
Julian Lam
adc2fcc649
added deserialize library to frontend
11 years ago
barisusakli
f8afb8da3e
allow plugins to add new links to user profile menu
11 years ago
Julian Lam
6f218857cb
added connect-flash package. npm also alphabetically re-ordered the deps... thanks npm?
11 years ago
Julian Lam
dedc6d8154
added new hook for notification pushing
11 years ago
barisusakli
15c16c2502
closes #1311 , set category post counts to 0 before starting upgrade
11 years ago
barisusakli
7c84680b06
closes #1709
11 years ago
Charles
b811bef42c
Don't decrease postCount when purging post from a deleted topic
11 years ago
Charles
1448bed057
Remove console.log
11 years ago
Charles
31f1914ec8
Update global postCount when deleting/restoring topic
11 years ago
psychobunny
0c7a8b3908
no need to reset global widget areas, closes #1701
11 years ago
barisusakli
2479a34c56
closes #1710 , closes #1700
11 years ago
psychobunny
db3523b10b
#1701
11 years ago
barisusakli
3c44beb4bb
group userTitle default
11 years ago
psychobunny
d2e1cc3371
Merge pull request #1707 from char101/PR/dont-reset-widgets-on-changing-skins
...
Don't reset widgets when changing skin
11 years ago
Charles
0cba152516
Redirect to category after purging topic
11 years ago
Charles
51fb7786f5
Don't reset widgets when changing skin
11 years ago
barisusakli
39886c8545
removed unread total route
11 years ago
barisusakli
d1b4efeaa3
filter files before minify, removed unused ctime
11 years ago
barisusakli
ab80016910
fixed group hide for privilege groups
11 years ago
barisusakli
1908f7b57a
filter missing less and css files from plugins
11 years ago
barisusakli
3bd4d0e418
closes #1692
11 years ago
barisusakli
07275b5fc4
some checks to make last admin isnt removed
11 years ago
barisusakli
842a1f90cf
fix crash on push
11 years ago
barisusakli
42d03cc491
closes #1678
11 years ago
barisusakli
9d4f1e18e1
#1688 removed length check
11 years ago
barisusakli
cd5c24efe3
possible fix for #1688
11 years ago
barisusakli
4c2765a79c
closes #1679
11 years ago
barisusakli
ce1934e566
closes #1684
11 years ago
barisusakli
3b1e373e7b
group titles
11 years ago
barisusakli
e8b89513d4
some cleanup in addUserInfoToPost
11 years ago
barisusakli
b9139ef263
some escaping and fixed uploads in progress
11 years ago
psychobunny
b12ca5ab9f
closes #1673
11 years ago
barisusakli
870bf95e5b
deleted topic feed fix
11 years ago
psychobunny
eeabae5738
closes https://github.com/NodeBB/NodeBB/issues/1668
11 years ago
barisusakli
4fa79dc821
closes #1281
...
category purge, deletes all topics and posts in the category
11 years ago
barisusakli
311a7ad5b9
#1281 topic purge
11 years ago
psychobunny
2688ea9733
upgrading topics take a while, so let the user know
11 years ago
barisusakli
a65d612907
#1281 post purge
11 years ago
barisusakli
eb1b48092d
closes #1666
11 years ago
psychobunny
e5d465392f
closes #1639
11 years ago
psychobunny
8443ae58ff
users.getXbyEmail - lowercase before searching
11 years ago
Charles
90b2d766f7
Fix callback execution in redis search
...
`callback` should be passed to `reds.search` otherwise the execution will be overlapped.
For example in the plugin `nodebb-plugin-dbsearch':
```javascript
db.searchRemove('topic', tid, function() {
if (typeof title === 'string' && title.length) {
db.searchIndex('topic', title, tid);
}
if (typeof callback === 'function') {
callback();
}
});
```
The actual execution is like this
```
1402387863.625553 [0 127.0.0.1:16660] "zrevrangebyscore" "nodebbtopicsearch:object:6" "+inf" "0"
1402387863.625891 [0 127.0.0.1:16660] "MULTI"
1402387863.626043 [0 127.0.0.1:16660] "zadd" "nodebbtopicsearch:word:123" "1" "6"
1402387863.626052 [0 127.0.0.1:16660] "zadd" "nodebbtopicsearch:object:6" "1" "123"
1402387863.626060 [0 127.0.0.1:16660] "zadd" "nodebbtopicsearch:word:TST" "1" "6"
1402387863.626065 [0 127.0.0.1:16660] "zadd" "nodebbtopicsearch:object:6" "1" "TST"
1402387863.626071 [0 127.0.0.1:16660] "zadd" "nodebbtopicsearch:word:AN0" "1" "6"
1402387863.626076 [0 127.0.0.1:16660] "zadd" "nodebbtopicsearch:object:6" "1" "AN0"
1402387863.626083 [0 127.0.0.1:16660] "zadd" "nodebbtopicsearch:word:TPK" "1" "6"
1402387863.626092 [0 127.0.0.1:16660] "zadd" "nodebbtopicsearch:object:6" "1" "TPK"
1402387863.626104 [0 127.0.0.1:16660] "zadd" "nodebbtopicsearch:word:ETTT" "1" "6"
1402387863.626116 [0 127.0.0.1:16660] "zadd" "nodebbtopicsearch:object:6" "1" "ETTT"
1402387863.626130 [0 127.0.0.1:16660] "EXEC"
1402387863.626253 [0 127.0.0.1:16660] "del" "topic:6:tags"
1402387863.626281 [0 127.0.0.1:16660] "MULTI"
1402387863.626515 [0 127.0.0.1:16660] "del" "nodebbtopicsearch:object:6"
1402387863.626524 [0 127.0.0.1:16660] "EXEC"
```
The key nodebbtopicsearch:object is added and then just being deleted again.
11 years ago
barisusakli
833aa0f738
derp
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
ee88693448
callback
11 years ago
barisusakli
b7f71ca0b4
fixes removePostFromTopic
...
remove the pid from the votes set too
11 years ago
barisusakli
bf04749f5e
fixes posttools.ismain
11 years ago
barisusakli
d32dfd98b7
remove main post if page is greater than 1
...
this fixes pagination after the main post change
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
Julian Lam
b44cbc89ad
Merge branch 'master' of github.com:Fastinyoh/NodeBB into Fastinyoh-master
11 years ago
Julian Lam
8587dd11d8
closed #1653 -- removed that spinner thing npm uses now.
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
barisusakli
8d0c659f08
small fix to redirect
11 years ago
barisusakli
61b79de3e8
closes #1641
11 years ago
psychobunny
a0bdd06a6a
filter:user.custom_fields - ability to add custom fields into userData
11 years ago
psychobunny
013f62cd7d
action:user.verify & filter:user.verify.code - plugins can now override the verification system
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
d1c2c87510
fixed double index in post notification
11 years ago
psychobunny
5ac788565f
eventEmitter.any
11 years ago
barisusakli
e1491e4182
fixed wrong admin tags on admin/user/search
11 years ago
barisusakli
7d0eb9afaa
closes #1463
11 years ago
barisusakli
6b93095204
more link fixes
11 years ago
barisusakli
efe04c12d3
closes #1635
...
if email isnt confirmed, show a warning in account/edit and let users
resend confirm email
11 years ago
barisusakli
65e9f68d73
change requireEmail default to off
11 years ago
barisusakli
4aec62f3eb
#1636
...
👼
11 years ago
psychobunny
87a08c9528
closes #1636
11 years ago
barisusakli
b537666e5c
closes #1592 , closes #1634
11 years ago
psychobunny
d7eb89336d
add logo to windows live tile
11 years ago
psychobunny
cf3f33a23d
closes #1633
11 years ago
barisusakli
123d1e06f1
closes #1578
11 years ago
barisusakli
e20920c536
closes #1630
11 years ago
barisusakli
0574022e02
fixes to infinitescroll
11 years ago
psychobunny
c342e75f6e
Merge branch 'master' of https://github.com/NodeBB/NodeBB
11 years ago
psychobunny
94312cfda8
closes #1595
11 years ago
psychobunny
f6cf36ca29
emit nodebb:ready
11 years ago
psychobunny
646f0f00b3
move "NodeBB Ready" message to when it's actually ready
11 years ago
psychobunny
5891246700
emitter.all
11 years ago
barisusakli
55dbc5c823
closes #1612
...
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
11 years ago
psychobunny
aafbb55572
closes #1616
11 years ago
psychobunny
ee1e869ccb
add loggedIn state to template parsing
11 years ago
barisusakli
4570edb122
closes #1623
11 years ago
barisusakli
364d55938c
if no categories found return empty array
11 years ago
psychobunny
257491801d
optimizing template compilation
11 years ago
psychobunny
c97d6635fc
plugin templates now have higher priority than theme templates
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
psychobunny
bfcd13144e
Merge branch 'master' of https://github.com/NodeBB/NodeBB
11 years ago
barisusakli
e035d8f1de
closes #1497
...
fixes user images in subfolder installs, if user image has https dont
append relative_path,
also removes relative_path in ajaxify.loadData so it doesnt call
/forum/api/forum/category etc.
11 years ago
psychobunny
c7691a8cdc
Merge remote-tracking branch 'origin/master' into require.js
...
Conflicts:
src/meta.js
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
psychobunny
f0811f7a2f
added buzz; cleanup
11 years ago
psychobunny
f98a52013a
Merge remote-tracking branch 'origin/master' into require.js
11 years ago
psychobunny
281aa0049c
init, attempt to increase cold load speed
11 years ago
barisusakli
5ae29ef33a
fix sitemap
11 years ago
Julian Lam
584fe60284
fixed #1554 , redis error handling will go back to crashing the error (though the error will be logged at least)
11 years ago
psychobunny
b2b76f701d
woops, okay actually fixing it properly this time
11 years ago
psychobunny
d5e55d27ed
fix for previous commit
11 years ago
psychobunny
d81351579d
don't require passing in uid for topics.markAsRead
11 years ago
psychobunny
791fde7904
fixing #1587 properly for unread count
11 years ago
psychobunny
0334a487b5
fixing #1587 properly for profile views
11 years ago
psychobunny
74097be2e4
additional fix for #1587
11 years ago
psychobunny
fee591e551
fixes #1587
11 years ago
psychobunny
bfa3b0f22f
global header widgets
11 years ago
barisusakli
9c0446d416
closes #1593
11 years ago
barisusakli
0dce8647ba
closes #1476
11 years ago
barisusakli
eb0a06b777
closes #1577
11 years ago
barisusakli
48aba5fc64
category widget changes
11 years ago
Julian Lam
640500bc5f
closed #1437
11 years ago
Julian Lam
93e3eb4d28
fixed #1584
11 years ago
Julian Lam
eb2929f497
removing slufigication when checking for group existence
11 years ago
Julian Lam
3baf00208f
slugifying group name when checking for existence
11 years ago
Julian Lam
8efb930ec0
site title fallbacks for daily digest titles
11 years ago
barisusakli
e685e7c376
removed console.log
11 years ago
barisusakli
4e8a9fbe27
closes #1582
11 years ago
Julian Lam
753779296b
increased sitemap cache time -- #1578
11 years ago
Julian Lam
d948f2a29d
moved login via email detection into the internal login block
11 years ago
barisusakli
18810e7203
allow dots in tags
11 years ago
barisusakli
9079d7f26f
fix create tags crash if no callback is passed
11 years ago
Julian Lam
b1eb5b175c
Merge remote-tracking branch 'origin/master' into groups-pages
...
Conflicts:
src/topics/tags.js
11 years ago
barisusakli
1a753bf64d
fixes forking
...
if there are no tags just return
11 years ago
Julian Lam
d74de798fc
removing backwards compatibility fixed in preparation for 0.5.0. Prepare for stuff to break!!!!!
11 years ago
barisusakli
e505a9a6ac
changed order of cleanup
11 years ago
barisusakli
b7fcde446b
proper score aggregation #1562
11 years ago
barisusakli
5e51895982
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
11 years ago
barisusakli
7585b72644
remove duplicates
11 years ago
psychobunny
4cd86affae
update all files with new url
11 years ago
barisusakli
dbf07f786d
closes #1565
11 years ago
barisusakli
b32bb76429
#1562
11 years ago
Julian Lam
f20926f93d
finished up group list and group details pages - closed #1563
11 years ago
Julian Lam
7afe3bea59
added getSortedSetRevUnion... just because.
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
66701afdaa
closes #1559
...
fixes the notification image too, the property was called image not
picture
11 years ago
barisusakli
ee1495a44d
fixes reply/quote buttons on new posts
11 years ago
barisusakli
e003582289
fixes redirect loop for empty slugs
11 years ago
barisusakli
b8b482e287
closes #1555
11 years ago
barisusakli
fa1275c03a
closes #1557
11 years ago
barisusakli
746df87d89
upgrade tags to sorted set
11 years ago
barisusakli
853acaa6c7
closes #1558
11 years ago
Julian Lam
8a510c340b
limiting user and group creation so that their slugs can't intersect.
11 years ago
barisusakli
51e07e197b
added isSelf to account route
11 years ago
barisusakli
3f43db090b
return topics tags #1557
11 years ago
barisusakli
87fe5bf1bb
delete tag if it has no topics left
11 years ago
barisusakli
56f442f283
remove punctuation and limit tag length
11 years ago
barisusakli
d8fd29581e
deleting a user will delete topic tags too
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
Julian Lam
1d7c293197
added option to remove ephemeralGroups from groups listing
11 years ago
Julian Lam
3849b2d6b3
added pushGroup method to notifications object #1331
11 years ago
barisusakli
dfa1150709
fix missing category data
11 years ago
barisusakli
c7c54560bc
fixes going into deleted topics for admins
11 years ago
barisusakli
1e68974f50
small refactor
11 years ago
Julian Lam
9bb13a0d29
closed #1552
11 years ago
barisusakli
4397b7ab4b
removed meta.scripts.get warning #1544
11 years ago
barisusakli
05872ad458
closes #1545
11 years ago
barisusakli
cd08a16f77
return post count to with categories
11 years ago
Aziz Khoury
8d6a8dc928
filter:register.build now returns what it was passed, in order. fixes #1540 , we seriously need to consider standarizing the hooks arguments, maybe some ideas here #1527
11 years ago
barisusakli
5cf9b0a3bd
fix feed crash
11 years ago
Julian Lam
2e49fe9f50
fixed meta property to name, for keywords
11 years ago
barisusakli
472e6b5206
privilege cleanup
11 years ago
Julian Lam
e43ebb0423
Merge pull request #1533 from akhoury/master
...
captcha support
11 years ago
Julian Lam
5f89293301
upgrade script for #1282
11 years ago
Julian Lam
b1534b7798
removing allowGuestPosting logic in NodeBB
11 years ago
Julian Lam
3474cdc5ea
added new privilege "find", added guest meta group, closed #1282
11 years ago
Julian Lam
c297e2f2f8
ephemeral groups - guests
11 years ago
Aziz Khoury
0e0f66ba9e
minor cleanups.
11 years ago
Aziz Khoury
d3a11f7ad8
Merge remote-tracking branch 'upstream/master'
11 years ago
barisusakli
b1aae05a08
closes #1518
11 years ago
barisusakli
29420d6f82
fixed indents
11 years ago
barisusakli
3e86bdb38f
more work on #1518
...
still needs more work, category is next
11 years ago
barisusakli
822cf56af1
Merge branch 'master' of https://github.com/designcreateplay/NodeBB
11 years ago
barisusakli
292e4bbdd6
fixed post privilege privilege
11 years ago
Aziz Khoury
bab88893f1
changing 'filter:register.check' hook signature to provide req, res and data
11 years ago
Aziz Khoury
aff3c9558a
hook error print to console in dev env
11 years ago
Aziz Khoury
61a5d4768a
global var
11 years ago
Aziz Khoury
086013829b
added 'filter:register.build' hook to augment register template data
11 years ago
psychobunny
9040813b0d
closes #1530
11 years ago
psychobunny
a5a2e6f04e
update BS brand colors in ACP
11 years ago
barisusakli
4234057821
first pass for #1518
...
this only handles postTools privileges, topic and category will follow
11 years ago
psychobunny
ec5cdd178a
added function to update branding colors
11 years ago
psychobunny
70b5f9addc
some regex to scour the CSS and figure out the branding colors
11 years ago
barisusakli
f29dda4b92
fixed 1 more
11 years ago
barisusakli
3643fbc212
fixes 2 privilege issues
11 years ago
Julian Lam
66225237a0
view_deleted fix for privs
11 years ago
Julian Lam
34b522f36d
missed a bunch of "editable" checks
11 years ago
barisusakli
ac65655384
fixed missing return
11 years ago
Julian Lam
6604a29f74
upgrade script for new privilege system
11 years ago
Julian Lam
b5d4e62e70
fixed bug in privileges system, thanks TravisCI!
11 years ago
Julian Lam
759775ecbe
Merge remote-tracking branch 'origin/master'
11 years ago
Julian Lam
87f4566e06
more fixed to privs, and ACP modal
11 years ago
Julian Lam
d54ecea506
more privilege changes
11 years ago
Julian Lam
7c8b442dcd
more updates to privileges revamp
11 years ago
Julian Lam
72ca0d6d40
got privilege selection working for users and groups
11 years ago
barisusakli
4f11ac9664
fixed missing comma
11 years ago
barisusakli
da72924187
removed duplication
11 years ago
psychobunny
97d256c372
cleanup
11 years ago
barisusakli
c5d9a68b4b
closes #1445
11 years ago
barisusakli
fc00586f0e
0 disables flags for ban
11 years ago
barisusakli
c7744d7a64
closes #1483
11 years ago
psychobunny
3c7b433e3a
linting settings.js
11 years ago
frissdiegurke
b1257f6291
fix call of expandObjBy with undefined
11 years ago
barisusakli
1a9ab9d1d2
fixes default gravatar images if they are uploaded locally
11 years ago
barisusakli
78ccca4f63
removed comment
11 years ago
psychobunny
2b4da7ebcd
Merge pull request #1514 from frissdiegurke/master
...
added number-type to settings framework. persist expanded object on serv...
11 years ago
Julian Lam
e64c1bfec3
closed #1453
11 years ago
Julian Lam
bab140c396
added pexpire and pexpireAt methods for redis and mongo. Added emoticons for leveldb (as per existing implementation by @psychobunny LOL)
11 years ago
Julian Lam
4e0ccbf0c6
fixed #1515
11 years ago
Julian Lam
65dd79c84e
socket logic for #1149 -- handling of help tab in ACP
11 years ago
barisusakli
f65998f4c2
fixes guest name on home
11 years ago
FrissDieGurke
ab2c0cfa9f
added number-type to settings framework. persist expanded object on server-side sync if changed
11 years ago
barisusakli
43bbc00be8
closes #1512
...
spaces are required
11 years ago
barisusakli
d304bab4f1
dont change height if sizing horizontally #1508
11 years ago
Julian Lam
2dd2d7a269
defaulting daily digest frequency to null -- digests should be opt IN, not OUT. Bad idea on my part... re: #1499
11 years ago
psychobunny
10716c37d3
closes #1376
11 years ago
barisusakli
7280567d21
closes #1505
11 years ago
barisusakli
ed57edde3b
fixed undefined next
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
883978007d
closes #1482
...
removed updateHeader, the header is using template values in from the
api, update menu partial in vanilla theme as well
11 years ago
barisusakli
1f7fd51b40
some work for #1482
11 years ago
barisusakli
57f0ee8a38
removed whitespace
11 years ago
barisusakli
7a25f0bb36
fix for #1496
11 years ago
psychobunny
14db999684
closes #1494
11 years ago
barisusakli
f89afd92b9
fix for plugin page access issue closes #1493
11 years ago
barisusakli
89225c80ca
related to #1493
11 years ago
Julian Lam
08cf6bc5e6
fixed #1489 -- made checkReplace error-first, added missing callback, added missing object field to db query
11 years ago
psychobunny
b3940cd7cd
enabling view cache, since we require server restart on theme changes it doesn't hurt
11 years ago
barisusakli
967b486ce1
closes #1487
...
ban and delete user admin actions takes an array of uids now.
11 years ago
Julian Lam
590082709f
fixed #1488 - emails are processed 100 at a time
11 years ago
psychobunny
dfe010d97d
caps
11 years ago
psychobunny
14431f7913
closes #1486
11 years ago
psychobunny
8fc818e07c
closes https://github.com/designcreateplay/NodeBB/issues/1473
11 years ago
psychobunny
38a3ab6365
fixes routes for https://github.com/designcreateplay/NodeBB/issues/1485
11 years ago
psychobunny
a51b357e67
removed deprecated categories.background property
11 years ago
psychobunny
be16f0dae7
Merge pull request #1484 from frissdiegurke/master
...
Settings Framework docs + slight changes
11 years ago
barisusakli
d272a87c8a
cleanup toggleFollow
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
6f40393b99
added err check
11 years ago
FrissDieGurke
c4606e7009
minified settings-framework wrapper-length
11 years ago
FrissDieGurke
c23df60e1b
removed unnecessary method + doc within Settings Framework
11 years ago
barisusakli
d43d363a7a
refactored topics.js
...
removed ajaxify.register_events using removeListener now
11 years ago
psychobunny
6f0e749b60
Merge pull request #1462 from frissdiegurke/master
...
added new settings-system
11 years ago
Erik Schamper
849db3b858
Add a return statement to the callback
...
To prevent a "callback already called".
11 years ago
psychobunny
531ad4dec1
action:settings.set
11 years ago
Julian Lam
90269ad9b8
fixed bad example code
11 years ago
Julian Lam
a5410f7ae7
added stub plugins socket file for plugin usage (ping @schamper @frissdiegurke @akhoury @psychobunny @barisusakli)
11 years ago
Julian Lam
970b259e06
fixed #907
11 years ago
psychobunny
65565e187b
simplified the above to action.user.set instead
11 years ago
psychobunny
75baf28530
added action:user.decremented and action:user.incremented hooks
11 years ago
psychobunny
271843d417
closes #1385
11 years ago
barisusakli
3ecd523799
added jquery ui datepicker
11 years ago
Ole Reglitzki
d76ba519d4
added new settings-system
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
af6a40e23c
use thumb directly
11 years ago
barisusakli
75824c0d81
dont send notifications for guests
11 years ago
psychobunny
bb12ebac48
closes #1442
11 years ago
barisusakli
b88df6420d
check err
11 years ago
Julian Lam
b049bd466c
added 'config.version' to client-side
11 years ago
Julian Lam
e65896351a
checkReplace typo
11 years ago
barisusakli
3552678645
use id as name like others
11 years ago
barisusakli
dde872d6d5
log user ip register
11 years ago