Commit Graph

98 Commits

Author SHA1 Message Date
barisusakli
c4b083330c closes #1978 2014-08-11 18:07:56 -04:00
barisusakli
c8084e9b2e closes #1978 2014-08-11 16:26:20 -04:00
barisusakli
5b681678b1 could use async.apply here hm 2014-08-08 17:42:03 -04:00
barisusakli
f39d772a40 if notification is purged delete from user mapping as well 2014-08-07 00:17:26 -04:00
psychobunny
bb48bdb008 closes #1942 2014-08-05 15:12:23 -04:00
barisusakli
3163f70ef2 add tid to post notification so its marked read on entry 2014-08-01 14:07:01 -04:00
barisusakli
de6e74c50e #1914 2014-07-31 08:57:27 -04:00
barisusakli
fed8cc6d53 optimize privileges and assorted fixes.
* new methods
privileges.categories.filter
privileges.topics.filter
privileges.posts.filter

they take a list of ids and a privilege, and return the filtered list of
ids, faster than doing  async.filter and calling the db for each id.

* remove event listeners on recent page before adding
* group.exists works for both single group names and arrays
* helpers.allowedTo works for both a single cid and an array of cids
* moved filter:topic.post hook right before topic creation.
* moved filter:topic.reply hook right before topic reply.
2014-07-29 21:51:46 -04:00
barisusakli
96b0b449b9 closes #1911 2014-07-29 00:42:33 -04:00
barisusakli
f71bd41408 more fixes 2014-07-28 18:18:22 -04:00
barisusakli
dfb6606432 one more fix 2014-07-28 18:18:21 -04:00
barisusakli
08ba683c7d fix callback 2014-07-28 18:18:21 -04:00
barisusakli
d7520508e3 #1375 part1 2014-07-28 18:18:20 -04:00
barisusakli
d25300043c #1741 2014-07-24 16:44:45 -04:00
barisusakli
7454fd53b9 possible fix for #1741 2014-07-23 16:49:32 -04:00
barisusakli
c9fb5b3e11 changed user posted notification to include title
dont send 2 notifications if you are already following topic
2014-07-21 17:43:42 -04:00
barisusakli
6e66911ef7 delete unread chats on account delete 2014-07-19 11:01:54 -04:00
barisusakli
943f3814e5 closes #1813 2014-07-15 13:00:22 -04:00
barisusakli
ebaf8df0a9 #1824 2014-07-14 13:28:04 -04:00
barisusakli
fcd460438d closes #1824 2014-07-14 13:25:44 -04:00
barisusakli
d3312f1b8e fixer or in jobs and users redefinition 2014-07-13 16:25:54 -04:00
dhingey
9d45373b59 Change user.delete hook from action to filter
The user.delete hook is now a filter, giving plugins a chance to access
the user's data before it's deleted from Redis.
2014-07-09 22:20:49 -07:00
dhingey
f7372ba8d5 Added a hook: action:user.delete
Allows plugins to access the uid of the user being deleted.
2014-07-08 00:21:58 -07:00
barisusakli
dcbed4e935 closes #1763
show alert if email not confirmed, clicking alert will send confirmation
email
2014-07-03 09:36:46 -04:00
barisusakli
49a9601a04 closes #1752 2014-06-26 13:44:02 -04:00
barisusakli
1296cd58b9 closes #1723 2014-06-23 19:45:49 -04:00
barisusakli
dceeed22f7 closes #1724 2014-06-21 19:54:21 -04:00
Julian Lam
d229cd21b2 parsing the post content that's passed into bodyLong in notifs #1720 2014-06-21 01:16:08 -04:00
Julian Lam
c41bb05711 final pass #1720, closed #1720 2014-06-20 17:53:40 -04:00
Julian Lam
d257632878 first pass #1720, updating existing calls to notifications.create, backwards compatibility in case plugins create notifications too. 2014-06-20 16:54:34 -04:00
barisusakli
4c2765a79c closes #1679 2014-06-13 15:33:22 -04:00
barisusakli
311a7ad5b9 #1281 topic purge 2014-06-10 16:57:00 -04:00
barisusakli
a65d612907 #1281 post purge 2014-06-10 14:24:56 -04:00
psychobunny
e5d465392f closes #1639 2014-06-10 13:40:37 -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
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
barisusakli
d1c2c87510 fixed double index in post notification 2014-06-04 16:56:40 -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
b537666e5c closes #1592, closes #1634 2014-06-03 16:10:28 -04:00
barisusakli
e20920c536 closes #1630 2014-06-03 12:30:36 -04:00
Julian Lam
8efb930ec0 site title fallbacks for daily digest titles 2014-05-26 18:50:08 -04:00
barisusakli
66701afdaa closes #1559
fixes the notification image too, the property was called image not
picture
2014-05-22 21:31:52 -04:00
Julian Lam
8a510c340b limiting user and group creation so that their slugs can't intersect. 2014-05-22 10:21:27 -04:00
barisusakli
d8fd29581e deleting a user will delete topic tags too 2014-05-21 19:39:10 -04:00
barisusakli
c7744d7a64 closes #1483 2014-05-12 14:51:39 -04:00
Julian Lam
e64c1bfec3 closed #1453 2014-05-11 11:45:20 -04:00
Julian Lam
2dd2d7a269 defaulting daily digest frequency to null -- digests should be opt IN, not OUT. Bad idea on my part... re: #1499 2014-05-08 20:54:00 -04:00