Commit Graph

3672 Commits

Author SHA1 Message Date
Toby Zerner
256955ed28 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
df732bdc71 Fix up default permissions 2015-01-21 12:00:52 +10:30
Toby Zerner
510ea21f2a Update + add some deps for testing 2015-01-21 12:00:38 +10:30
Toby Zerner
ad95c92c06 Update todo list, add screenshot 2015-01-20 15:07:38 +10:30
Toby Zerner
237591690c Begin testing API (see #3) 2015-01-19 20:46:14 +10:30
Toby Zerner
1fa5c7ae35 Fix incorrect column name 2015-01-19 20:43:09 +10:30
Toby Zerner
263385555c 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
d9d216eb4f Update deps 2015-01-19 20:40:51 +10:30
Toby Zerner
796eb1f35d Credit for the CLA 2015-01-16 17:41:00 +10:30
Toby Zerner
4e9a6931e4 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
69be3b9929 20 results, regardless of what's included 2015-01-16 17:26:17 +10:30
Toby Zerner
2ba5dbfa75 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
1f54876705 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
67afcbf641 More descriptive comments 2015-01-16 17:26:17 +10:30
Toby Zerner
ce9230f5e2 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
bf46208f8b Add syntax highlighting to readme code samples 2015-01-12 09:32:34 -05:00
Toby Zerner
c4b449ad3c Clean up composer components 2015-01-07 17:25:41 +10:30
Toby Zerner
93f5ae5bfc Clean up discussion API 2015-01-07 17:25:40 +10:30
Toby Zerner
a1ef2e08c0 Fix last_post_number potentially being null 2015-01-07 17:25:40 +10:30
Toby Zerner
fedfc24f6b Update liquid-fire 2015-01-07 17:25:40 +10:30
Toby Zerner
d6c9a92408 Update to ember-data b14, comment out bug for now 2015-01-07 17:25:40 +10:30
Toby Zerner
c31c2256c1 Rename/fix post stream 2015-01-07 17:25:40 +10:30
Toby Zerner
c783148784 Rework discussion/post components 2015-01-07 17:25:40 +10:30
Toby Zerner
764d2f4318 Use layoutName instead of templateName 2015-01-07 17:25:40 +10:30
Toby Zerner
888ac35307 Merge pull request #32 from Allineer/patch-1
"Specified key was too long" fix.
2015-01-05 08:18:41 +10:30
Allineer
900a0487b4 "Specified key was too long" fix.
[Illuminate\Database\QueryException]
  SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `permissions` add primary key perm
  issions_grantee_entity_permission_primary(`grantee`, `entity`, `permission`))
2015-01-04 22:40:16 +03:00
Toby Zerner
b618c6d670 Merge branch 'redesign' 2015-01-03 22:04:58 +10:30
Toby Zerner
4d01a615a4 Big component restructure/overhaul 2015-01-03 21:51:47 +10:30
Toby Zerner
5107a06e06 Clean up routes 2015-01-03 12:26:22 +10:30
Toby Zerner
161f37e210 Working on interface components. 2015-01-03 12:26:14 +10:30
Toby Zerner
b6e594e0bd Update git URL 2015-01-03 08:19:31 +10:30
Toby Zerner
0031c5ae38 Update ember.js (fix view helper regression) 2015-01-02 17:17:19 +10:30
Toby Zerner
36d7414491 Working on responsive dropdown menu components. 2015-01-02 11:46:40 +10:30
Toby Zerner
2f9c1bdb38 Rejigging templates for redesign.
- Componentize more stuff, heading in the direction of Ember 2.0
- Start CSS from scratch
- Everything is broken atm!
2015-01-01 20:08:38 +10:30
Toby Zerner
2da39d27c5 Fix up bug in discussion seeder where number_index could be null. closes #27 2014-12-31 17:52:53 +10:30
Toby Zerner
cb49095599 Tweak installation instructions. 2014-12-31 17:52:20 +10:30
Toby Zerner
c2ac2fb3bc Change installation instructions to use vagrant. 2014-12-30 22:02:38 +10:30
Toby Zerner
a130c8f646 Merge pull request #21 from mikedugan/master
seeds updated, fixes #20
2014-12-30 21:36:15 +10:30
Toby Zerner
180803ca17 Merge pull request #23 from Ghosh/bugfix-partialDiscussionsPane
Fixed partially showing discussions pane
2014-12-25 07:23:18 +10:30
Indrashish
a4973995fa Fixed partially showing discussions pane
Referencing the discussions pane which slides out from the sidebar.

Fixed styles for pinned state of dicussions pane

Fixed padding in discussions pane
2014-12-24 23:31:01 +05:30
Mike Dugan
000aa23d2b rm vagrantfile, fix seed 2014-12-24 08:39:20 -05:00
Mike Dugan
1b255da7a0 added vagrant 2014-12-24 08:11:41 -05:00
Toby Zerner
dab9a6d7bc Fix up LESS compilation. 2014-12-24 09:36:47 +10:30
Toby Zerner
b37deb248c Missed some workbench changes. 2014-12-24 09:23:31 +10:30
Toby Zerner
69b732b894 Relocate to workbench so that dev dependencies are loaded properly. 2014-12-23 22:59:15 +10:30
Toby Zerner
a33fad0ba0 Add instructions to install dev dependencies. 2014-12-23 20:18:52 +10:30
Toby Zerner
23e7733d97 Update dependencies to latest versions. 2014-12-23 12:55:28 +10:30
Toby Zerner
63b918f741 Upgrade ember-cli to 0.1.4 and fix related breakage. closes #18 2014-12-23 12:45:07 +10:30
Toby Zerner
0d6b4a2732 Merge pull request #17 from mikedugan/master
add codeception, update gitignore
2014-12-23 09:22:41 +10:30
Mike Dugan
2d1e999dd9 add codeception, update gitignore 2014-12-22 08:28:01 -05:00