barisusakli
3b1e373e7b
group titles
2014-06-12 18:53:58 -04:00
barisusakli
e8b89513d4
some cleanup in addUserInfoToPost
2014-06-12 16:45:00 -04:00
barisusakli
b9139ef263
some escaping and fixed uploads in progress
2014-06-12 13:58:21 -04:00
psychobunny
b12ca5ab9f
closes #1673
2014-06-11 16:42:13 -04:00
barisusakli
870bf95e5b
deleted topic feed fix
2014-06-11 13:04:24 -04:00
psychobunny
eeabae5738
closes https://github.com/NodeBB/NodeBB/issues/1668
2014-06-11 12:04:22 -04:00
barisusakli
4fa79dc821
closes #1281
...
category purge, deletes all topics and posts in the category
2014-06-10 17:48:48 -04:00
barisusakli
311a7ad5b9
#1281 topic purge
2014-06-10 16:57:00 -04:00
psychobunny
2688ea9733
upgrading topics take a while, so let the user know
2014-06-10 15:14:25 -04:00
barisusakli
a65d612907
#1281 post purge
2014-06-10 14:24:56 -04:00
barisusakli
eb1b48092d
closes #1666
2014-06-10 14:24:56 -04:00
psychobunny
e5d465392f
closes #1639
2014-06-10 13:40:37 -04:00
psychobunny
8443ae58ff
users.getXbyEmail - lowercase before searching
2014-06-10 13:35:31 -04:00
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.
2014-06-10 15:30:53 +07:00
barisusakli
833aa0f738
derp
2014-06-09 12:51:49 -04:00
barisusakli
b81f3552bb
fixed typo
2014-06-09 02:34:21 -04:00
barisusakli
b5071d504f
removed timing #1654
2014-06-09 02:33:07 -04:00
barisusakli
d4b48cd2ac
closes #1654
2014-06-09 02:32:32 -04:00
barisusakli
ee88693448
callback
2014-06-08 16:06:42 -04:00
barisusakli
b7f71ca0b4
fixes removePostFromTopic
...
remove the pid from the votes set too
2014-06-07 13:04:30 -04:00
barisusakli
bf04749f5e
fixes posttools.ismain
2014-06-07 11:38:43 -04:00
barisusakli
d32dfd98b7
remove main post if page is greater than 1
...
this fixes pagination after the main post change
2014-06-06 23:09:05 -04:00
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.
2014-06-06 22:12:19 -04:00
psychobunny
c5b8a7b163
filter:templates.get_virtual for ajaxifying to virtual templates
2014-06-06 17:30:23 -04:00
Julian Lam
57f40e1e1c
Merge pull request #1648 from char101/patch-1
...
Add relative_path to authentication redirects
2014-06-06 16:27:33 -04:00
Julian Lam
b44cbc89ad
Merge branch 'master' of github.com:Fastinyoh/NodeBB into Fastinyoh-master
2014-06-06 15:47:03 -04:00
Julian Lam
8587dd11d8
closed #1653 -- removed that spinner thing npm uses now.
2014-06-06 15:44:14 -04:00
Charles
5f1b1ad2bf
Also add relative_path to destination
...
Because the destination url does not include the relative_path
2014-06-06 18:36:02 +07:00
Charles
ce083573a9
Fix typo
2014-06-06 18:06:42 +07:00
Charles
f26a250b01
Add relative_path to authentication redirects
2014-06-06 18:05:26 +07:00
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.
2014-06-05 23:12:46 -07:00
barisusakli
8d0c659f08
small fix to redirect
2014-06-04 19:54:29 -04:00
barisusakli
61b79de3e8
closes #1641
2014-06-04 19:35:08 -04:00
psychobunny
a0bdd06a6a
filter:user.custom_fields - ability to add custom fields into userData
2014-06-04 18:55:37 -04:00
psychobunny
013f62cd7d
action:user.verify & filter:user.verify.code - plugins can now override the verification system
2014-06-04 18:55:35 -04:00
psychobunny
31adf7084d
filter:register.complete - plugins can redirect the user elsewhere post-registration
2014-06-04 18:55:34 -04:00
psychobunny
4bb8762746
send in the entire registration form for userData
2014-06-04 18:55:33 -04:00
barisusakli
d1c2c87510
fixed double index in post notification
2014-06-04 16:56:40 -04:00
psychobunny
5ac788565f
eventEmitter.any
2014-06-04 15:57:08 -04:00
barisusakli
e1491e4182
fixed wrong admin tags on admin/user/search
2014-06-04 11:58:05 -04:00
barisusakli
7d0eb9afaa
closes #1463
2014-06-04 11:14:36 -04:00
barisusakli
6b93095204
more link fixes
2014-06-03 18:55:58 -04:00
barisusakli
efe04c12d3
closes #1635
...
if email isnt confirmed, show a warning in account/edit and let users
resend confirm email
2014-06-03 18:39:54 -04:00
barisusakli
65e9f68d73
change requireEmail default to off
2014-06-03 17:23:36 -04:00
barisusakli
4aec62f3eb
#1636
...
👼
2014-06-03 16:42:45 -04:00
psychobunny
87a08c9528
closes #1636
2014-06-03 16:34:50 -04:00
barisusakli
b537666e5c
closes #1592 , closes #1634
2014-06-03 16:10:28 -04:00
psychobunny
d7eb89336d
add logo to windows live tile
2014-06-03 15:38:51 -04:00
psychobunny
cf3f33a23d
closes #1633
2014-06-03 15:27:08 -04:00
barisusakli
123d1e06f1
closes #1578
2014-06-03 13:02:44 -04:00