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
Toby Zerner
bf0ea864e4
Don't need to generate html content
...
as it’s generated on demand by the PostSerializer (for now)
2015-01-21 12:03:30 +10:30
Toby Zerner
7f22498e6c
Change engine and make post content nullable
...
MyISAM doesn’t support transactions which is problematic for testing.
Will have to consider this more carefully when working on FULLTEXT
search, but for now I just wanna test!
2015-01-21 12:02:25 +10:30
Toby Zerner
3be47a3d4f
Fix up default permissions
2015-01-21 12:00:52 +10:30
Toby Zerner
6ceefa0f85
Update + add some deps for testing
2015-01-21 12:00:38 +10:30
Toby Zerner
586cb9b00d
Update todo list, add screenshot
2015-01-20 15:07:38 +10:30
Toby Zerner
2fcb1dc7c8
Begin testing API (see #3 )
2015-01-19 20:46:14 +10:30
Toby Zerner
49be8417a9
Fix incorrect column name
2015-01-19 20:43:09 +10:30
Toby Zerner
577d51358d
Fix incorrect column name
...
(Sorry about the retrograde migration changes, but I figure it isn’t
problematic at this stage because we can just reseed. It’s nice to keep
things clean as long as we can!)
2015-01-19 20:42:56 +10:30
Toby Zerner
f08ae1cceb
Update deps
2015-01-19 20:40:51 +10:30
Toby Zerner
cf179d20b0
Credit for the CLA
2015-01-16 17:41:00 +10:30
Toby Zerner
74e80ea2df
Implement redesign, refactor everything
...
- Write CSS for everything, update templates.
- Refactor discussion view. Stream is split into two components
(content and scrubber) which have their own responsibilities.
- Extract pane functionality into a mixin.
- Implement global “back button” system. You give a “paneable” target
to the application controller, the back button will modulate its
pane-related properties as necessary, and call an action when the
button is clicked.
- Extract welcome-hero into its own component.
- Lots of other general improvements/refactoring. The code is quite
well-commented so take a look!
2015-01-16 17:26:18 +10:30
Toby Zerner
d204ca87cf
20 results, regardless of what's included
2015-01-16 17:26:17 +10:30
Toby Zerner
abc794c966
Change the way we fetch multiple posts by ID
...
JSON-API specifies that multiple resources should be fetched with a
comma-separated list of IDs, i.e. discussions/1,2,3,4. But this is
problematic because if we do a findQuery with only one ID, then a
single object will come back from the API where the serializer is
expecting an array containing a single object.
Instead, I’ve just implemented an ids “filter” on the discussions index
API route (which is the default way that the adapter finds multiple
IDs.)
2015-01-16 17:26:17 +10:30
Toby Zerner
5e288f55f5
Change the way post count metadata is stored
...
We care about the number of “comment” posts, not the number of posts in
total.
2015-01-16 17:26:17 +10:30
Toby Zerner
cfdf01ec70
More descriptive comments
2015-01-16 17:26:17 +10:30
Toby Zerner
6848081edb
Merge pull request #36 from bronzehedwick/patch-1
...
Add syntax highlighting to readme code samples
2015-01-13 05:45:59 +10:30
Chris DeLuca
039acc4bfa
Add syntax highlighting to readme code samples
2015-01-12 09:32:34 -05:00
Toby Zerner
7334a58db1
Clean up composer components
2015-01-07 17:25:41 +10:30
Toby Zerner
c142965483
Clean up discussion API
2015-01-07 17:25:40 +10:30
Toby Zerner
569b9ab27e
Fix last_post_number potentially being null
2015-01-07 17:25:40 +10:30
Toby Zerner
7b06d38341
Update liquid-fire
2015-01-07 17:25:40 +10:30
Toby Zerner
087eb098ea
Update to ember-data b14, comment out bug for now
2015-01-07 17:25:40 +10:30
Toby Zerner
2800a7e0cc
Rename/fix post stream
2015-01-07 17:25:40 +10:30
Toby Zerner
ff6c7455f5
Rework discussion/post components
2015-01-07 17:25:40 +10:30
Toby Zerner
d4e573b629
Use layoutName instead of templateName
2015-01-07 17:25:40 +10:30