Commit Graph

2493 Commits

Author SHA1 Message Date
Toby Zerner
b96fd23842 Use blurred version of avatar as user card background 2015-03-27 11:50:38 +10:30
Toby Zerner
257a3fde1a Refresh avatar display after uploading 2015-03-27 11:49:26 +10:30
Toby Zerner
38bbfc78d0 Merge pull request #50 from flarum/avatar-api
API for uploading avatars
2015-03-27 08:49:11 +10:30
Franz Liedke
9621e72b9b Fix order of arguments. 2015-03-26 22:03:55 +01:00
Franz Liedke
a19f35e8c1 Construct filesystem correctly. 2015-03-26 22:03:47 +01:00
Franz Liedke
18ccec4190 Pass newly configured filesystem disk to upload handler. 2015-03-26 22:01:58 +01:00
Franz Liedke
cf8e02977f Change name of avatar field in users table. 2015-03-26 20:59:06 +01:00
Toby Zerner
ab9cf922db Implement rough UI for uploading avatars 2015-03-26 10:19:47 +10:30
Franz Liedke
e4ed057557 Wire up instantiation of Flysystem adapter for avatar storage. 2015-03-25 14:26:38 +01:00
Franz Liedke
100a5038bf Add route and action for uploading user avatars. 2015-03-25 14:26:17 +01:00
Franz Liedke
a1f723671d Add simple implementation (command handler) for avatar upload. 2015-03-25 14:23:31 +01:00
Franz Liedke
7f66a77ede Add avatar handling to user model. 2015-03-25 14:21:50 +01:00
Franz Liedke
901b6b0839 Provide empty run() method.
This allows me to override the handle() method in subclasses (where
I need access to the request object) without having to overwrite
run(), too.

The class is still abstract.
2015-03-25 13:00:23 +01:00
Toby Zerner
4928f1723d Merge pull request #49 from martindilling/patch-1
Always show vertical scrollbar
2015-03-24 21:04:43 +10:30
Martin Dilling-Hansen
612453d79a Always show vertical scrollbar
Show the vertical scrollbar as inactive when content of the site
don't require any scrolling, instead of not showing anything.
This avoids the annoying "jumps" when you switch between
pages that require scrolling vs don't require scrolling.
2015-03-24 11:05:16 +01:00
Toby Zerner
747226401c Fix user stats not updating when going from one profile to another 2015-03-24 19:55:18 +10:30
Toby Zerner
3081fe2aa4 Fix DiscussionWasStarted event not being dispatched 2015-03-24 19:50:52 +10:30
Toby Zerner
8be486a31d Don't show deleted posts in the activity feed 2015-03-24 19:41:30 +10:30
Toby Zerner
43842623aa Only include visible posts in post linkage 2015-03-24 19:29:47 +10:30
Toby Zerner
3362a8c092 Trim hyphens from start/end of slug 2015-03-24 19:16:26 +10:30
Toby Zerner
c35b472e66 Fix non-comment post content serialization 2015-03-24 17:03:59 +10:30
Toby Zerner
193bb0b085 Fix error if there is no included data with user
i.e. if the logged in user is unconfirmed (doesn’t have any groups
attached)
2015-03-24 16:55:22 +10:30
Toby Zerner
47262c2970 Don't fingerprint assets 2015-03-24 16:19:48 +10:30
Toby Zerner
14726e3093 Remove sample avatars 2015-03-24 16:19:34 +10:30
Toby Zerner
fe3b1a121b Fix user card style regressions 2015-03-24 16:12:21 +10:30
Toby Zerner
4a1550215c Implement notifications 2015-03-24 15:07:38 +10:30
Toby Zerner
1d1025dcd2 Only show comment posts in activity feed 2015-03-24 15:07:11 +10:30
Toby Zerner
e62119964b All post types get numbers
Decided this is necessary because some notifications will need to link
to posts which are not comments (e.g. a “renamed” post)
2015-03-24 15:06:57 +10:30
Toby Zerner
a62e04f956 Upgrade to JSON-API RC3 + latest version of tobscure/json-api
Note: npm source for ember-json-api changed to a fork, but I still had
to apply a custom change to get polymorphic relationships to work (see
https://github.com/kurko/ember-json-api/pull/71#issuecomment-85257281)
2015-03-24 15:04:24 +10:30
Toby Zerner
536281e273 Prevent item-count-undefined 2015-03-24 14:23:55 +10:30
Toby Zerner
8537ebee85 Fix discussion deletion/mark as read 2015-03-24 14:23:42 +10:30
Toby Zerner
ec3b1aefa0 Add link to administration section 2015-03-24 14:23:16 +10:30
Toby Zerner
1e3f5d48d5 Add animation when showing deleted post content 2015-03-24 14:15:38 +10:30
Toby Zerner
ababcb5c20 Make user background color slightly darker 2015-03-24 14:15:09 +10:30
Toby Zerner
963bf8ec88 Darken drop shadows a bit 2015-03-23 12:07:10 +10:30
Toby Zerner
42e6bb1d7f Add a loading indicator before the Ember app boots 2015-03-23 12:06:55 +10:30
Toby Zerner
976d97877b Improve global back button. Goes back to previous interface.
It’s not quite like the browser’s back button because it doesn’t
necessarily go back to the last URL; rather, it goes back to the last
interface. So if you go into a discussion, then go to a different
discussion via the side pane, the back button will still take you back
to the index (not the previous discussion).
2015-03-20 10:40:42 +10:30
Toby Zerner
98d1ce1a00 Tweak activity avatar position 2015-03-20 10:38:19 +10:30
Toby Zerner
d59698a0fc Fix scrubber count being styled incorrectly 2015-03-20 10:37:15 +10:30
Toby Zerner
3d6b6d9fd3 Fix composer not having any padding on the bottom (d/t header height miscalculation) 2015-03-20 10:36:55 +10:30
Toby Zerner
d1b15bf4ab Stick footer to bottom 2015-03-18 09:12:45 +10:30
Toby Zerner
f0c4478160 Animate user card popovers 2015-03-18 09:12:38 +10:30
Toby Zerner
3880ce70f0 Add user activity system 2015-03-17 17:06:12 +10:30
Toby Zerner
5055377eb1 Make discussion-listing/index styles more modular 2015-03-17 17:04:35 +10:30
Toby Zerner
2c28432ff0 Don't clip popups if they go off the bottom of the screen 2015-03-17 17:03:16 +10:30
Toby Zerner
c451f5f80c Reorder functions 2015-03-17 17:02:47 +10:30
Toby Zerner
c3fd7679d3 Fix error when hiding/restoring posts 2015-03-17 17:01:42 +10:30
Toby Zerner
066f9df18f Tweak user bio editing styles 2015-03-17 17:01:19 +10:30
Toby Zerner
cce21bb184 Brighten up avatar colors 2015-03-12 13:05:34 +10:30
Toby Zerner
edac830371 Add user profile side nav 2015-03-12 12:59:32 +10:30