3233 Commits (b1faca361481c4246af01dd3645b5372c7549e86)

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