Commit Graph

5868 Commits (dceeed22f7de417622fb022b06290f1a93a4422b)
 

Author SHA1 Message Date
barisusakli 07275b5fc4 some checks to make last admin isnt removed
barisusakli 842a1f90cf fix crash on push
barisusakli 42d03cc491 closes
barisusakli 9d4f1e18e1 removed length check
barisusakli cd5c24efe3 possible fix for
barisusakli 4c2765a79c closes
barisusakli ce1934e566 closes
psychobunny 8402c3edc3 closes
barisusakli 3b1e373e7b group titles
barisusakli e8b89513d4 some cleanup in addUserInfoToPost
barisusakli b9139ef263 some escaping and fixed uploads in progress
psychobunny 3198275209 use "undo" icon instead of comment for restoring posts
psychobunny b12ca5ab9f closes
barisusakli 870bf95e5b deleted topic feed fix
psychobunny eeabae5738 closes https://github.com/NodeBB/NodeBB/issues/1668
psychobunny b5a06e58fd Merge pull request from a5mith/patch-1
Few changes to the Ubuntu Installation Guide
barisusakli 3f9fa0137c taskbar text incase <script> is title
barisusakli 4fa79dc821 closes
category purge, deletes all topics and posts in the category
barisusakli 311a7ad5b9 topic purge
Aaron Smith 72f9605414 Few changes to the Ubuntu Installation Guide
Changes: 

Removed `cd/path/to/nodebb/install` as we haven't instructed how to create the directory before changing to it. The git pull will create the nodebb directory in their root/profile folder anyway, which is fine for most installs. 

Added sudo to the base stack install.

Added command for checking Node.js version. 

The guide at the minute might seem a bit daunting for newer users, so if psychobunny doesn't mind, I could create a post over on the community for an up to date noobs guide on how to install using digital ocean as an example. Then if it helps, add it to the docs. (Also, changes in this github aren't showing up in docs.nodebb, the update to sudo apt-get update && sudo apt-get dist-upgrade aren't displayed.

Hope this helps.
psychobunny b43602f5b6 closes https://github.com/NodeBB/NodeBB/issues/1631
psychobunny 2688ea9733 upgrading topics take a while, so let the user know
psychobunny 35e72dbb37 load composer-mobile.tpl if in xs/sm environment, for https://github.com/NodeBB/NodeBB/issues/1657
barisusakli a65d612907 post purge
barisusakli eb1b48092d closes
psychobunny e5d465392f closes
psychobunny 8443ae58ff users.getXbyEmail - lowercase before searching
Barış Soner Uşaklı 3b55e65714 Merge pull request from char101/patch-6
Fix callback execution in redis search
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.
Barış Soner Uşaklı a7bd83a549 Merge pull request from char101/patch-5
Fix relative path on topic replaceState
Charles c7b308d65e Fix relative path on topic replaceState
barisusakli b9c30aa42d possible fix to
modified the tagsinput source to use keypress instead of keydown for the
confirmKeys
Julian Lam a40b06c304 latest translations
Julian Lam d66bead245 Merge remote-tracking branch 'origin/master'
Julian Lam b655474150 fixed
barisusakli 833aa0f738 derp
barisusakli b81f3552bb fixed typo
barisusakli b5071d504f removed timing
barisusakli d4b48cd2ac closes
barisusakli aadca3a675 fix calls to removeRelativePath in ajaxify.js
barisusakli db84ced78f removeRelativePath public
barisusakli 4bdbce9cd8 use removeRelativePath in app.js too
Barış Soner Uşaklı 26309b5d65 Merge pull request from char101/patch-4
Fix removeRelativePath
Charles 9734403114 Fix removeRelativePath
Instead of checking the existence of relative_path (without /) anywhere on the url, it really should check that the url only starts with the relative_path.

Example

```
relative_path = /forum
without / = forum
url = /category/forum/5
removeRelativePath = ory/forum/5
```
barisusakli 974e0823d8 copyright
barisusakli ee88693448 callback
barisusakli 178f567659 closes
barisusakli b7f71ca0b4 fixes removePostFromTopic
remove the pid from the votes set too
barisusakli bf04749f5e fixes posttools.ismain
barisusakli d32dfd98b7 remove main post if page is greater than 1
this fixes pagination after the main post change