Commit Graph

2623 Commits

Author SHA1 Message Date
Toby Zerner
0365ae6c71 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
bc3aa449e7 Make discussion count jump to last when read 2015-02-03 19:06:50 +10:30
Toby Zerner
d2ef15455e Fix broken tooltip in index pane 2015-02-03 18:41:54 +10:30
Toby Zerner
03320976c3 Tweak composer styles
Make it appear above the sidepane
2015-02-03 18:41:39 +10:30
Toby Zerner
5b0c775ab4 Mark discussion as read upon reply 2015-02-03 18:41:15 +10:30
Toby Zerner
9ae0e9d470 Update discussion details upon reply 2015-02-03 18:41:03 +10:30
Toby Zerner
46c538c157 Better handling of AJAX errors 2015-02-03 18:40:34 +10:30
Toby Zerner
8c15420f95 Fix login CSS 2015-02-03 17:03:04 +10:30
Toby Zerner
0552cae1ab Add alert messages 2015-02-03 17:02:46 +10:30
Toby Zerner
b18534882b Some tweaks 2015-02-03 17:00:41 +10:30
Toby Zerner
6544052da6 Clean up/refactor composer, add escape hotkey 2015-02-03 16:59:53 +10:30
Toby Zerner
74d8b0e377 Tighten up loading indicator 2015-02-02 16:58:49 +10:30
Toby Zerner
4c07c959ef Remove remember me for now 2015-02-02 16:58:34 +10:30
Toby Zerner
6d8374f730 Make human-time live update 2015-02-02 16:58:23 +10:30
Toby Zerner
12b0418eb7 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
6568d7d269 Clean up post stream 2015-02-02 16:55:22 +10:30
Toby Zerner
f7575cd694 Tweaks to composer and discussion styles 2015-01-30 13:35:54 +10:30
Toby Zerner
5edc3eba83 Improve "jump to last" scrolling behaviour 2015-01-30 13:05:42 +10:30
Toby Zerner
12622e6c28 Work on composer, early implementation of replying 2015-01-30 12:22:19 +10:30
Toby Zerner
edce73d6e9 Fix bugs with post creation API 2015-01-30 12:21:33 +10:30
Toby Zerner
c2feae406d Add ember-simple-auth, setup login
- Allow dropdown-buttons to render a partial
2015-01-30 12:21:18 +10:30
Toby Zerner
9886fb1f7a 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
cc8e889e7a Get rid of old properties 2015-01-30 12:15:38 +10:30
Toby Zerner
01f3a7dc01 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
5385c79a2b Stop loading spinner from appearing at the top 2015-01-30 12:13:44 +10:30
Toby Zerner
d43db32698 Make welcome-hero close into an action 2015-01-30 12:13:06 +10:30
Toby Zerner
9938c346a1 Only load posts once when entering a discussion 2015-01-30 12:12:30 +10:30
Toby Zerner
e37d3743ed 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
fea84e5ed1 JsonApiAdapter fix to make index "load more" work 2015-01-30 12:05:57 +10:30
Toby Zerner
23a7f22f0b Change another instance of forum title 2015-01-26 12:07:24 +10:30
Toby Zerner
49a28eca14 Change forum title for demo 2015-01-26 12:06:54 +10:30
Toby Zerner
9c02ad518b Fix bug when dragging the scrubber 2015-01-26 11:58:49 +10:30
Toby Zerner
774b74dd0f Convert to int before checking start 2015-01-26 11:45:21 +10:30
Toby Zerner
b57a8d3bc2 Improve auth API tests 2015-01-23 15:24:38 +10:30
Toby Zerner
1f23cbaf20 Allow custom icon HTML in dropdown-button
Also rename title to label
2015-01-23 15:22:58 +10:30
Toby Zerner
bbf2c971e4 Working on tests for index 2015-01-23 12:48:33 +10:30
Toby Zerner
d13ef6f1fc More flexible API URL (necessary for testing) 2015-01-23 12:48:21 +10:30
Toby Zerner
ea1b01e6b3 Clean up load more 2015-01-23 12:47:19 +10:30
Toby Zerner
ad269fdb5a Implement token-based auth API 2015-01-22 14:44:33 +10:30
Toby Zerner
74c9b48870 Merge pull request #42 from Allineer/patch-1
[proposal] cameCase in the test names
2015-01-22 09:14:15 +10:30
Allineer
823a3f0e82 [proposal] cameCase in the test names
Sorry :)
2015-01-22 01:42:47 +03:00
Toby Zerner
8c0a1760dd Merge pull request #41 from Allineer/Allineer-codestyle
First step to follow the PHP Coding Style Guide (PSR-1, PSR-2)
2015-01-22 09:02:18 +10:30
Allineer
d9a55a2192 Create .editorconfig 2015-01-22 01:25:20 +03:00
Allineer
c00b68f6e4 Delete .editorconfig 2015-01-22 01:24:08 +03:00
Toby Zerner
d30b178f06 Start ember testing 2015-01-21 15:18:15 +10:30
Toby Zerner
df7da9338d Fix JSHint errors 2015-01-21 14:29:00 +10:30
Toby Zerner
bc91f61f17 Upgrade ember-cli to 0.1.7 2015-01-21 14:28:28 +10:30
Toby Zerner
21863759e6 Improve discussions API tests 2015-01-21 12:23:10 +10:30
Toby Zerner
c91c1518d5 Integration tests for DiscussionRepository
Also add some TestDummy factories (needs more work)
2015-01-21 12:22:20 +10:30
Toby Zerner
9cec5b8f41 Make default user a guest
The way it should be. Now maybe I’ll be forced to get a move-on with
auth :D
2015-01-21 12:16:54 +10:30