Commit Graph

2931 Commits

Author SHA1 Message Date
Toby Zerner
4abdb2e3ca Fix bottom border on header 2015-03-05 12:04:10 +10:30
Toby Zerner
e45449ae37 Don't allow index pane to be pinned on small screens 2015-03-04 12:30:18 +10:30
Toby Zerner
b0802214ee Lay out index sidebar horizontally on tablets 2015-03-04 12:29:39 +10:30
Toby Zerner
bab695595d Show permalink as a link on touch devices 2015-03-04 12:27:43 +10:30
Toby Zerner
c3854074a7 Wrong way around 2015-03-04 10:24:27 +10:30
Toby Zerner
686815f4d9 Fix index pane/back-button regressions 2015-03-04 10:17:36 +10:30
Toby Zerner
27b5e453da Fix regression with scrubber mouse release 2015-03-04 09:59:14 +10:30
Toby Zerner
b369366ea3 Fix scrubber on mobile 2015-03-04 09:50:36 +10:30
Toby Zerner
e27d8968f7 Fix post meta popup on mobile 2015-03-04 09:50:23 +10:30
Toby Zerner
aa5b1ffc29 Improve mobile dropdown styling 2015-03-04 09:49:59 +10:30
Toby Zerner
5c00d836db Make drawer invisible when it's not showing 2015-03-04 09:49:43 +10:30
Toby Zerner
8d073f8206 Fix composer on mobile, scroll to new reply 2015-03-04 09:49:26 +10:30
Toby Zerner
7257799e98 Make mobile header smaller 2015-03-04 09:48:56 +10:30
Toby Zerner
cdd708deeb Fix another couple of regressions 2015-03-03 21:42:38 +10:30
Toby Zerner
7ceed5ff75 Fix regression with post styles 2015-03-03 20:54:37 +10:30
Toby Zerner
da023885b6 Import Open Sans 2015-03-03 20:54:26 +10:30
Toby Zerner
86c4a0dbb8 For some reason this didn't go in with the previous commit 2015-03-03 20:31:07 +10:30
Toby Zerner
595364f419 Responsive design baby!
Mobile responsive design with a very native feel, all in pure CSS (no
templating differences between versions — even though some things are
in very different positions.)

I’ve been working on this whole thing in my head for a while now,
planning out how certain components will be laid out on the mobile
version, and how to reason about them in the templates so that a
substantially different layout can still be achieved by only using CSS.
Today I finally wrote the CSS and it’s come together pretty damn
perfectly.

Still to come:
- Swiping left or right on discussions to reveal controls
- Tablet version
2015-03-03 20:30:52 +10:30
Toby Zerner
fb6080e488 Update readme with link to live demo 2015-02-26 16:03:20 +10:30
Toby Zerner
daf269b18a Fix welcome hero link for demo 2015-02-26 15:30:07 +10:30
Toby Zerner
cab95662db Use sender information from config 2015-02-26 15:23:09 +10:30
Toby Zerner
a07f896397 Prepare welcome hero for demo 2015-02-26 13:30:13 +10:30
Toby Zerner
171bc4691a Fix 1.11 deprecation error 2015-02-26 13:30:03 +10:30
Toby Zerner
ed706540bf Fix password hashing 2015-02-26 13:29:36 +10:30
Toby Zerner
f3021e9a85 Only reload results once when multiple params change 2015-02-26 13:29:26 +10:30
Toby Zerner
866200c2a2 Fix alerts not dismissing 2015-02-26 13:28:44 +10:30
Toby Zerner
a007f4c402 Have a go at some error handling
Still not happy with how this is all fitting together. But good enough
for now
2015-02-26 12:48:23 +10:30
Toby Zerner
b9c09dc37f Render deleted users better 2015-02-26 12:47:50 +10:30
Toby Zerner
6ad8050840 Missed some create→extend changes 2015-02-26 12:47:04 +10:30
Toby Zerner
701f27747a Temporary fix for read marking 2015-02-26 12:46:27 +10:30
Toby Zerner
0b6f143acc Remove Middleware suffix 2015-02-26 12:45:44 +10:30
Toby Zerner
0c4f280534 Fix setting user to null, for now
Still need to flesh out the exact purpose/use of the Actor class
2015-02-26 12:45:29 +10:30
Toby Zerner
5d9332fc7b Add model validation back in 2015-02-26 12:44:39 +10:30
Toby Zerner
7dd49cb445 Fix index result caching 2015-02-26 09:45:12 +10:30
Toby Zerner
05a4662a02 Tweak discussion controls dropdown split 2015-02-26 09:44:31 +10:30
Toby Zerner
b5beda019f Fix composer closing animation from minimised state 2015-02-26 09:44:12 +10:30
Toby Zerner
f5aa7bfefa Use component prototypes instead of instances
This means the component instance is created in the template, meaning
properties can be overridden in the view helper. It also just makes
more sense - a view instance doesn’t need to exist until it is rendered
in the template.
2015-02-26 09:43:53 +10:30
Toby Zerner
bde89cdc31 Upgrade to latest ember, cli, etc.
ember 1.11.0-beta.3 fixes a demo-blocking bug. ember-json-api 0.3.0
fixes a bug so we can remove custom serializer code.
2015-02-26 09:39:21 +10:30
Toby Zerner
7d3f1078ec I dun goofed 2015-02-25 15:44:09 +10:30
Toby Zerner
0a746d4a5f Fix logout action 2015-02-25 15:36:25 +10:30
Toby Zerner
d2d5883a88 Fix bug causing wrong index to be returned 2015-02-25 15:36:17 +10:30
Toby Zerner
13a4ced63d Finish signup process, including state restoration 2015-02-25 15:34:02 +10:30
Toby Zerner
327719c5a3 Remove unused template 2015-02-25 15:32:21 +10:30
Toby Zerner
5f588bc6e9 Update dependencies 2015-02-24 21:46:46 +10:30
Toby Zerner
b5ba8d1d4c Fix installation instructions 2015-02-24 21:43:08 +10:30
Toby Zerner
03c6b33a7d Fix dud composer autoloading 2015-02-24 21:24:13 +10:30
Toby Zerner
2733b5810d Upgrade to L5 + huge refactor + more. closes #2
New stuff:
- Signup + email confirmation.
- Updated authentication strategy with remember cookies. closes #5
- New search system with some example gambits! This is cool - check out
the source. Fulltext drivers will be implemented as decorators
overriding the EloquentPostRepository’s findByContent method.
- Lay down the foundation for bootstrapping the Ember app.
- Update Web layer’s asset manager to properly publish CSS/JS files.
- Console commands to run installation migrations and seeds.

Refactoring:
- New structure: move models, repositories, commands, and events into
their own namespaces, rather than grouping by entity.
- All events are classes.
- Use L5 middleware and command bus implementations.
- Clearer use of repositories and the Active Record pattern.
Repositories are used only for retrieval of ActiveRecord objects, and
then save/delete operations are called directly on those ActiveRecords.
This way, we don’t over-abstract at the cost of Eloquent magic, but
testing is still easy.
- Refactor of Web layer so that it uses the Actions routing
architecture.
- “Actor” concept instead of depending on Laravel’s Auth.
- General cleanup!
2015-02-24 20:33:18 +10:30
Toby Zerner
330bff0ec8 Preliminary email confirmation implementation
Whenever a user registers or changes their email, they are sent an
email containing a link which they must click to confirm it.

Upon registering, a user won’t be assigned to any groups and therefore
won’t have permission to do anything (but they can still log in!) Upon
confirming their email for the first time, their account will be
assigned to the Member group and thus “activated”.
2015-02-16 14:52:53 +10:30
Toby Zerner
9375e92c12 Cleanup 2015-02-16 14:50:38 +10:30
Toby Zerner
7ba59fc9a4 Better check for user property in command validators 2015-02-16 14:48:10 +10:30