Commit Graph

315 Commits

Author SHA1 Message Date
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
barisusakli
a091e06fe3 more work for #1368 2014-04-11 17:01:27 -04:00
Micheil Smith
3e82cab398 Add missing new lines at end of files. 2014-04-10 20:56:53 +01:00
barisusakli
95972209f4 favourite changes
favourites.js no longer makes socket calls, moved that code into
socket.io/posts.js. it also makes a single socket call when you downvote
a post that you previously upvoted.
2014-04-09 20:55:53 -04:00
barisusakli
57dd44a871 removed console.log 2014-04-04 16:20:13 -04:00
barisusakli
0cd13b7b66 closes #1273 2014-04-04 12:42:41 -04:00
barisusakli
bdefebeea0 reverting some of my code and fixed #1322 properly 2014-04-02 13:58:10 -04:00
Julian Lam
339d0e5495 flag post translations 2014-04-02 08:18:28 -04:00
barisusakli
b1a6d394e3 moved format number functions to utils 2014-03-31 14:43:48 -04:00
psychobunny
7e11d29f06 got rid of all templates.prepare; pull blocks using templates.getBlock instead of parsing twice 2014-03-28 13:29:51 -04:00
psychobunny
7217954078 updating all templates.get to ajaxify.variables.get 2014-03-28 13:02:13 -04:00
barisusakli
4f88e9cf2c shortened the user postcount update code 2014-03-26 11:15:27 -04:00