Commit Graph

397 Commits

Author SHA1 Message Date
Ciarán O'Mara
b29d98adc4 Fix comment count update.
Addresses the following error when using pqsql.

[PDOException]
  SQLSTATE[42703]: Undefined column: 7 ERROR:  column "comment" does not exist
  LINE 1: ...d) FROM posts WHERE user_id = users.id and type = "comment")
2015-03-28 05:38:56 +11:00
Toby Zerner
381c23894d Removed unneeded CSS 2015-03-27 11:53:01 +10:30
Toby Zerner
fe9889fbda Push user route history in a more appropriate place 2015-03-27 11:52:46 +10:30
Toby Zerner
48d84edff6 Add discussion author tooltip 2015-03-27 11:51:48 +10:30
Toby Zerner
1751f3fb82 Use blurred version of avatar as user card background 2015-03-27 11:50:38 +10:30
Toby Zerner
d501513257 Refresh avatar display after uploading 2015-03-27 11:49:26 +10:30
Toby Zerner
0fdbb75914 Merge pull request #50 from flarum/avatar-api
API for uploading avatars
2015-03-27 08:49:11 +10:30
Franz Liedke
67637d5c71 Fix order of arguments. 2015-03-26 22:03:55 +01:00
Franz Liedke
77b4e7694a Construct filesystem correctly. 2015-03-26 22:03:47 +01:00
Franz Liedke
9d416705f9 Pass newly configured filesystem disk to upload handler. 2015-03-26 22:01:58 +01:00
Franz Liedke
e5973aa161 Change name of avatar field in users table. 2015-03-26 20:59:06 +01:00
Toby Zerner
26146f1417 Implement rough UI for uploading avatars 2015-03-26 10:19:47 +10:30
Franz Liedke
27cbb7d305 Wire up instantiation of Flysystem adapter for avatar storage. 2015-03-25 14:26:38 +01:00
Franz Liedke
43e7564f1d Add route and action for uploading user avatars. 2015-03-25 14:26:17 +01:00
Franz Liedke
ab74452937 Add simple implementation (command handler) for avatar upload. 2015-03-25 14:23:31 +01:00
Franz Liedke
755461f56f Add avatar handling to user model. 2015-03-25 14:21:50 +01:00
Franz Liedke
1619f84bc8 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
35c9ab9f23 Merge pull request #49 from martindilling/patch-1
Always show vertical scrollbar
2015-03-24 21:04:43 +10:30
Martin Dilling-Hansen
83d1ed97ae 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
b0398b55a1 Fix user stats not updating when going from one profile to another 2015-03-24 19:55:18 +10:30
Toby Zerner
fa9f3a7f29 Fix DiscussionWasStarted event not being dispatched 2015-03-24 19:50:52 +10:30
Toby Zerner
f2cec9fead Don't show deleted posts in the activity feed 2015-03-24 19:41:30 +10:30
Toby Zerner
f7a932d0e8 Only include visible posts in post linkage 2015-03-24 19:29:47 +10:30
Toby Zerner
f92e1aba2e Trim hyphens from start/end of slug 2015-03-24 19:16:26 +10:30
Toby Zerner
4b2de4a047 Fix non-comment post content serialization 2015-03-24 17:03:59 +10:30
Toby Zerner
c8e1eddc3f 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
4bf469e881 Don't fingerprint assets 2015-03-24 16:19:48 +10:30
Toby Zerner
6635c52345 Remove sample avatars 2015-03-24 16:19:34 +10:30
Toby Zerner
75617c6ddc Fix user card style regressions 2015-03-24 16:12:21 +10:30
Toby Zerner
4a16b8ad32 Implement notifications 2015-03-24 15:07:38 +10:30
Toby Zerner
ce98e4155b Only show comment posts in activity feed 2015-03-24 15:07:11 +10:30
Toby Zerner
ecba7fb3d3 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
d850b0716a 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
e1fb1132da Prevent item-count-undefined 2015-03-24 14:23:55 +10:30
Toby Zerner
b667c87090 Fix discussion deletion/mark as read 2015-03-24 14:23:42 +10:30
Toby Zerner
115789093a Add link to administration section 2015-03-24 14:23:16 +10:30
Toby Zerner
4a7fb4b998 Add animation when showing deleted post content 2015-03-24 14:15:38 +10:30
Toby Zerner
9a90077c4d Make user background color slightly darker 2015-03-24 14:15:09 +10:30
Toby Zerner
f67c33b447 Darken drop shadows a bit 2015-03-23 12:07:10 +10:30
Toby Zerner
27c537bee4 Add a loading indicator before the Ember app boots 2015-03-23 12:06:55 +10:30
Toby Zerner
0c40dc7136 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
34c086d87b Tweak activity avatar position 2015-03-20 10:38:19 +10:30
Toby Zerner
9288708825 Fix scrubber count being styled incorrectly 2015-03-20 10:37:15 +10:30
Toby Zerner
0f682c8034 Fix composer not having any padding on the bottom (d/t header height miscalculation) 2015-03-20 10:36:55 +10:30
Toby Zerner
005880ba40 Stick footer to bottom 2015-03-18 09:12:45 +10:30
Toby Zerner
018eb7d062 Animate user card popovers 2015-03-18 09:12:38 +10:30
Toby Zerner
fe982aa587 Add user activity system 2015-03-17 17:06:12 +10:30
Toby Zerner
9ceee041a9 Make discussion-listing/index styles more modular 2015-03-17 17:04:35 +10:30
Toby Zerner
d3bb0c51eb Don't clip popups if they go off the bottom of the screen 2015-03-17 17:03:16 +10:30
Toby Zerner
c1d9f10ada Reorder functions 2015-03-17 17:02:47 +10:30