Commit Graph

1233 Commits

Author SHA1 Message Date
Toby Zerner
7b9c65b5bc Fix up API default sort order 2015-02-06 12:20:58 +10:30
Toby Zerner
3644b99bf6 Update bootstrap 2015-02-06 10:36:38 +10:30
Toby Zerner
cf2361bda9 Remember scroll position when returning to index 2015-02-06 10:36:30 +10:30
Toby Zerner
8d95e21d6e Make sure selected discussion is visible in pane 2015-02-06 10:36:16 +10:30
Toby Zerner
a5be161d61 Cleanup, remove some old code 2015-02-06 10:35:46 +10:30
Toby Zerner
fc788756d2 Better live timestamp performance 2015-02-06 10:35:27 +10:30
Toby Zerner
b6efee1f1e Clean up application controller 2015-02-06 10:34:59 +10:30
Toby Zerner
bb5ec3929b Fix up z-indexes 2015-02-06 10:34:41 +10:30
Toby Zerner
1c1381ae82 These are with the last commit 2015-02-06 10:34:12 +10:30
Toby Zerner
8bf34eebd0 Refactor index pane
So that it only loads when needed, and caches results so things are
nice and snappy
2015-02-06 10:32:45 +10:30
Toby Zerner
a318bb4952 Load discussion and posts with one request
Speeds things up a heap.
Also fix a whole bunch of bugs with the post stream.
2015-02-06 10:30:38 +10:30
Toby Zerner
b03740f363 Make discussion count jump to last when read 2015-02-03 19:06:50 +10:30
Toby Zerner
06d976adba Fix broken tooltip in index pane 2015-02-03 18:41:54 +10:30
Toby Zerner
420eb9782e Tweak composer styles
Make it appear above the sidepane
2015-02-03 18:41:39 +10:30
Toby Zerner
f847fce76a Mark discussion as read upon reply 2015-02-03 18:41:15 +10:30
Toby Zerner
2f6fd26363 Update discussion details upon reply 2015-02-03 18:41:03 +10:30
Toby Zerner
aa665cfd79 Better handling of AJAX errors 2015-02-03 18:40:34 +10:30
Toby Zerner
815fa2b025 Fix login CSS 2015-02-03 17:03:04 +10:30
Toby Zerner
4bc8a4bec6 Add alert messages 2015-02-03 17:02:46 +10:30
Toby Zerner
ed0c9992c7 Some tweaks 2015-02-03 17:00:41 +10:30
Toby Zerner
967efe8005 Clean up/refactor composer, add escape hotkey 2015-02-03 16:59:53 +10:30
Toby Zerner
4edfaf0146 Tighten up loading indicator 2015-02-02 16:58:49 +10:30
Toby Zerner
b8fe32f0a6 Remove remember me for now 2015-02-02 16:58:34 +10:30
Toby Zerner
d559bfd0cf Make human-time live update 2015-02-02 16:58:23 +10:30
Toby Zerner
8630e8b42b Improve post composer + replying
- Make it modular so that different entry points can show different
things and respond differently (reply, new discussion, edit post)
- Resizable
- Fullscreen
- Confirm on close
2015-02-02 16:57:59 +10:30
Toby Zerner
4edd1819b9 Clean up post stream 2015-02-02 16:55:22 +10:30
Toby Zerner
f4d13d2463 Tweaks to composer and discussion styles 2015-01-30 13:35:54 +10:30
Toby Zerner
44af0a242e Improve "jump to last" scrolling behaviour 2015-01-30 13:05:42 +10:30
Toby Zerner
320ebf1341 Work on composer, early implementation of replying 2015-01-30 12:22:19 +10:30
Toby Zerner
02f5577c6f Fix bugs with post creation API 2015-01-30 12:21:33 +10:30
Toby Zerner
5cd87db5cf Add ember-simple-auth, setup login
- Allow dropdown-buttons to render a partial
2015-01-30 12:21:18 +10:30
Toby Zerner
befb3d1929 Tweak some styles
- Rename btn-blend to btn-naked
- Tweak input focus style
- Other stuff
2015-01-30 12:17:55 +10:30
Toby Zerner
3649de2ccb Get rid of old properties 2015-01-30 12:15:38 +10:30
Toby Zerner
c1c6a27dc5 Fix bug when loading a single post at the start
When loading a single post at the start of a discussion, start=0 and
end=0. But end would be set to start+limit, which was incorrect.
2015-01-30 12:15:01 +10:30
Toby Zerner
37fa92e868 Stop loading spinner from appearing at the top 2015-01-30 12:13:44 +10:30
Toby Zerner
04937646fb Make welcome-hero close into an action 2015-01-30 12:13:06 +10:30
Toby Zerner
9de06497a9 Only load posts once when entering a discussion 2015-01-30 12:12:30 +10:30
Toby Zerner
effa414a01 Use our own token instead of Laravel's
Laravel’s remember_token is tied to the session/cookies, which we don’t
need as the API is stateless. It makes much more sense to use our own
token mechanism.
2015-01-30 12:08:02 +10:30
Toby Zerner
61b0dfaa81 JsonApiAdapter fix to make index "load more" work 2015-01-30 12:05:57 +10:30
Toby Zerner
9885a69eba Change another instance of forum title 2015-01-26 12:07:24 +10:30
Toby Zerner
575940698e Change forum title for demo 2015-01-26 12:06:54 +10:30
Toby Zerner
43574f82e9 Fix bug when dragging the scrubber 2015-01-26 11:58:49 +10:30
Toby Zerner
3fba2bd5d8 Convert to int before checking start 2015-01-26 11:45:21 +10:30
Toby Zerner
f2ac56cb9c Improve auth API tests 2015-01-23 15:24:38 +10:30
Toby Zerner
526b7c588e Allow custom icon HTML in dropdown-button
Also rename title to label
2015-01-23 15:22:58 +10:30
Toby Zerner
912e6477bb Working on tests for index 2015-01-23 12:48:33 +10:30
Toby Zerner
a9b19f62e0 More flexible API URL (necessary for testing) 2015-01-23 12:48:21 +10:30
Toby Zerner
cd0b6300d8 Clean up load more 2015-01-23 12:47:19 +10:30
Toby Zerner
215bdb672a Implement token-based auth API 2015-01-22 14:44:33 +10:30
Toby Zerner
28d8718e27 Merge pull request #42 from Allineer/patch-1
[proposal] cameCase in the test names
2015-01-22 09:14:15 +10:30