Commit Graph

326 Commits

Author SHA1 Message Date
Julian Lam
a6abde2a2b fixed upward infinite scrolling so that it is less jarring 2014-09-23 13:05:43 -04:00
barisusakli
01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
2014-09-10 21:44:19 -04:00
barisusakli
273db693e7 closes #2051 2014-09-06 23:57:51 -04:00
barisusakli
171f02101d closes #2035, closes #2036 2014-09-02 05:04:39 -04:00
barisusakli
ca90afd544 #1992
(drunk) not even done yet
2014-08-16 21:33:42 -04:00
barisusakli
1a97302d68 fix double anchors around images
if the image is already inside an anchor dont wrap again
2014-08-13 16:25:34 -04:00
barisusakli
1cf5c3145a doing it properly this time
mainPost always has index 0
2014-08-12 12:32:38 -04:00
barisusakli
5ce0ebb4ac single socket call on topic enter 2014-08-05 17:09:56 -04:00
psychobunny
39d6941603 remove chat/flag for new incoming posts 2014-08-05 16:25:02 -04:00
barisusakli
d3e57d0930 on entry to topic mark notifications read 2014-08-05 10:44:30 -04:00
barisusakli
214f6af324 parseInt 2014-08-02 19:46:28 -04:00
barisusakli
e420ee5fb6 privilege fix for single category check 2014-08-02 19:45:13 -04:00
barisusakli
aa4089e6d7 #1930
simple solution for now, wraps images with <a> that opens in new tab
2014-07-31 13:36:05 -04:00
barisusakli
8cfce1c91c dont select hidden br 2014-07-16 19:51:28 -04:00
barisusakli
1b31f5b2ca single arrows wont go all the way to bottom 2014-06-29 22:35:22 -04:00
barisusakli
7d3d9f5ae1 blockquote fix again 2014-06-28 17:04:09 -04:00
barisusakli
a9e5e82431 closes #1758 2014-06-27 15:35:58 -04:00
psychobunny
876cb878a9 added action:posts.loaded client-side hook 2014-06-25 21:28:03 -04:00
barisusakli
197300b347 moved populateOnline users out of app.js 2014-06-25 16:27:39 -04:00
barisusakli
aecd3b4653 handlebookmark func 2014-06-25 16:21:33 -04:00
barisusakli
d5b36518a2 moved out scrollTo 2014-06-25 16:17:14 -04:00
barisusakli
0cbb440629 fix blockquote toggle and use different icons 2014-06-24 12:52:04 -04:00
barisusakli
836540ff78 replaceSelfLinks on new posts and reload 2014-06-24 09:29:12 -04:00
barisusakli
ae72d8ab7e fixes block quote toggles on dynamic posts 2014-06-23 15:39:51 -04:00
barisusakli
4c2765a79c closes #1679 2014-06-13 15:33:22 -04:00
barisusakli
b9139ef263 some escaping and fixed uploads in progress 2014-06-12 13:58:21 -04:00
Charles
c7b308d65e Fix relative path on topic replaceState 2014-06-10 09:46:38 +07: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
barisusakli
0574022e02 fixes to infinitescroll 2014-06-02 20:41:08 -04:00
barisusakli
55dbc5c823 closes #1612
changed post links to "topic/<topic_id>/<topic_slug>/<post_id>"
2014-06-02 17:31:14 -04:00
psychobunny
f98a52013a Merge remote-tracking branch 'origin/master' into require.js 2014-05-29 17:25:16 -04:00
psychobunny
281aa0049c init, attempt to increase cold load speed 2014-05-29 17:24:38 -04:00
barisusakli
652e1ef574 closes #1597
turns out clicking back causes double script.init() calls and
ajaxify.variables.get('topic_id') can be undefined in one of those
calls.
2014-05-29 12:09:54 -04:00
psychobunny
d81351579d don't require passing in uid for topics.markAsRead 2014-05-28 18:21:15 -04:00
psychobunny
791fde7904 fixing #1587 properly for unread count 2014-05-28 18:20:02 -04:00
barisusakli
b8b482e287 closes #1555 2014-05-22 14:56:15 -04:00
barisusakli
ff2bad635c infinite scroll refactor 2014-05-17 17:55:55 -04:00
barisusakli
3e86bdb38f more work on #1518
still needs more work, category is next
2014-05-15 10:38:02 -04:00
barisusakli
66abd20647 moved add commas to process page 2014-05-08 19:17:35 -04:00
psychobunny
f697b5a2b8 addBlockquoteEllipses to newly created posts #1491 2014-05-06 15:09:35 -04:00
psychobunny
3b7d222ec3 prevent duplicate blockquotes #1491 2014-05-06 15:04:10 -04:00
psychobunny
3934f2ec88 collapsible blockquotes, closes #1359 2014-05-05 12:15:17 -04:00
barisusakli
d43d363a7a refactored topics.js
removed ajaxify.register_events using removeListener now
2014-05-03 20:56:26 -04:00
barisusakli
dea4b78cb9 fixes tooltip for users that go online/offline 2014-05-01 18:30:26 -04:00
barisusakli
e0a83728d6 closes #1458 2014-04-30 18:02:35 -04:00
barisusakli
7339cb5d61 closes #1434 2014-04-24 16:19:31 -04:00
barisusakli
2ad715ead3 closes #1412 2014-04-20 15:07:53 -04:00
barisusakli
e12beccc09 closes #1371
adds a dropdown to category view to move/pin/lock/delete multiple topics
2014-04-17 20:07:27 -04:00
barisusakli
63dfc38dea topic changes to match the new post-bar partial 2014-04-15 16:41:13 -04:00
psychobunny
e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
2014-04-14 17:36:10 -04:00