Commit Graph

3290 Commits

Author SHA1 Message Date
barisusakli
e6c9647acf display user post topic stats in admin index 2014-07-01 16:30:06 -04:00
barisusakli
9a4e6aa01c closes #1774 2014-07-01 14:49:51 -04:00
barisusakli
6389bc762c fire post edit after hook after post is saved 2014-06-30 17:33:31 -04:00
barisusakli
c29dcc0ec9 fire topic edit action after topic is saved 2014-06-30 16:59:36 -04:00
barisusakli
b8b6ae7b2f moved upload route into API namespace 2014-06-30 16:33:10 -04:00
barisusakli
b41b311d94 another eachLimit 2014-06-30 15:45:39 -04:00
Julian Lam
ffd2ddc3e7 Revert "moved meta up"
This reverts commit 8c9feb85a4.
2014-06-30 14:55:23 -04:00
Julian Lam
cda3f9376d updated error text to show proper setup command 2014-06-30 14:55:21 -04:00
barisusakli
5ec289eee2 closes #1769 2014-06-30 14:19:06 -04:00
barisusakli
efcc42f170 added eachLimit to upgrade script 2014-06-30 14:07:30 -04:00
barisusakli
8c9feb85a4 moved meta up 2014-06-29 14:30:51 -04:00
barisusakli
82a1215128 setOnEmpty 2014-06-29 14:29:32 -04:00
barisusakli
9aacb5e259 remove dupe code 2014-06-29 14:10:20 -04:00
barisusakli
24aa166ed5 dont error when no teaser data 2014-06-28 16:18:29 -04:00
barisusakli
d57f183f42 privileges.posts.get takes an array of pids now 2014-06-28 14:59:01 -04:00
barisusakli
6cd29a31a4 removed timing 2014-06-28 01:14:24 -04:00
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
2014-06-28 01:03:26 -04:00
barisusakli
d3fc71529a callback 2014-06-27 23:23:27 -04:00
barisusakli
a9e5e82431 closes #1758 2014-06-27 15:35:58 -04:00
Julian Lam
46f9a7860c applying translator to messages. 2014-06-27 14:52:30 -04:00
psychobunny
92c0bd07c9 Ability to enable/disable the upvote/downvote system, closes #1672 2014-06-27 13:05:05 -04:00
psychobunny
b040201764 prevent hax voting via websockets if system disabled 2014-06-27 13:05:04 -04:00
psychobunny
a2f85648c5 allow voting system to be disabled 2014-06-27 13:05:03 -04:00
barisusakli
1cabf885a2 closes #1730
postCount != lastPostIndex unfortunately, that will need some rethinking
2014-06-26 22:11:16 -04:00
barisusakli
49a9601a04 closes #1752 2014-06-26 13:44:02 -04:00
psychobunny
b3c9323026 use admin setting for downvote privileges, closes #1757 2014-06-26 13:37:34 -04:00
psychobunny
8a03b42d62 prevent a user from downvoting if at negative rep 2014-06-26 13:28:58 -04:00
psychobunny
6685e140c3 pass err through 2014-06-26 12:53:40 -04:00
psychobunny
f4955ffb8d closes #1729 2014-06-26 12:51:47 -04:00
psychobunny
0e92c7ed94 use templates.js module instead 2014-06-25 18:55:42 -04:00
barisusakli
f80b3c3b66 simpler union 2014-06-25 18:27:22 -04:00
barisusakli
7f534cc7b8 sorted set refactor 2014-06-25 18:16:42 -04:00
Barış Soner Uşaklı
2d734c1648 fixed move recent replies 2014-06-24 21:57:33 -04:00
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
2014-06-24 17:40:41 -04:00
barisusakli
c191aa079f closes #1735 2014-06-24 13:27:37 -04:00
barisusakli
c642493bce guest post fix 2014-06-24 09:53:19 -04:00
barisusakli
e6d8e9c959 searchIndex callbacks 2014-06-24 09:15:44 -04:00
barisusakli
1296cd58b9 closes #1723 2014-06-23 19:45:49 -04:00
barisusakli
3c3ad7d115 closes #1728 2014-06-23 19:10:59 -04:00
barisusakli
bd4722665d closes #1725
removed move button from main post, disable moving main post, fixed
moving posts.
2014-06-23 18:06:59 -04:00
barisusakli
9af12819e3 closes #1731 2014-06-23 17:26:02 -04:00
barisusakli
a9adfe9428 fix crash in topic move 2014-06-23 16:22:05 -04:00
barisusakli
0987aed0e6 callback undefined error 2014-06-23 14:46:47 -04:00
psychobunny
f6838ef51e only use passport.authenticate if a strategy url is defined 2014-06-23 10:20:29 -04:00
barisusakli
b7e04239e9 use water in post edit 2014-06-22 18:14:48 -04:00
barisusakli
ab6429c578 closes #1734 2014-06-22 17:08:55 -04:00
barisusakli
78509b4ad0 use sortedSetsRemove to remove tid from tags 2014-06-21 22:43:02 -04:00
barisusakli
fd12ec763a sortedSetsRemove
instead of calling sortedSetRemove() one at a time for each id remove
value from multiple sortedSets with one db call
2014-06-21 22:37:46 -04:00
barisusakli
a4d4e53f45 speed up category purge
using eachLimit
dont emit stats on every topic delete
2014-06-21 22:11:44 -04:00
barisusakli
dceeed22f7 closes #1724 2014-06-21 19:54:21 -04:00