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