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
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
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