Commit Graph

345 Commits

Author SHA1 Message Date
Franz Liedke
f0c240f863 Add a first empty state to the discussion list 2015-09-03 09:59:33 +02:00
Rody Molenaar
6f13a246db Align select 2015-08-31 21:57:43 +02:00
Toby Zerner
5af5f1fc77 Properly style modal title bar on mobile
closes #286
2015-08-31 13:46:59 +09:30
Toby Zerner
f9d724738c Add syntax highlighting for code blocks
We might consider extracting this into an extension, but TextFormatter
does syntax highlighting for code blocks by default in live previews
anyway.

closes #248
2015-08-31 13:17:16 +09:30
Toby Zerner
a41e3e66ce Merge pull request #299 from huytd/fix-wordwrap
Fix text overlap in search result with long content
2015-08-29 08:31:37 +09:30
Huy Tran
874c023f8a Fix text overlap in search result with long content 2015-08-28 15:18:17 -07:00
Huy Tran
cf68c95fb8 Make Google Web Font work on both HTTP and HTTPS 2015-08-27 20:17:42 -07:00
Toby Zerner
d352c49e29 Reorganise dashboard help text 2015-08-27 10:59:50 +09:30
Toby Zerner
b0db7bf751 Polish admin dashboard 2015-08-27 10:50:15 +09:30
Toby Zerner
690df87ad0 Make sure search input has a background when focused 2015-08-27 08:47:06 +09:30
Toby Zerner
3e4a8fe769 Collapse search input on tablets. closes flarum/core#162
While this solution isn't perfect (perhaps a search icon which opens a
dropdown would be better, like Discourse does) - it'll do for now :)
2015-08-27 08:34:19 +09:30
Toby Zerner
0b8aa5c124 Add header comment; PSR-2 fixes; remove seeders 2015-08-26 16:56:32 +09:30
Toby Zerner
e123ad52a9 Reduce contrast on post stream time gaps 2015-08-26 10:19:24 +09:30
Toby Zerner
f43557f172 Tweak notification excerpt styles 2015-08-21 10:00:09 +09:30
Toby Zerner
52bf8b3c1c Add notification excerpts to help distinguish posts 2015-08-21 09:54:41 +09:30
Toby Zerner
35d3a74872 Prevent admin pane shadow overlapping header on Safari 2015-08-17 14:56:21 +09:30
Toby Zerner
e8b23e9ec0 Prevent pane shadow overlapping header on Safari 2015-08-17 14:11:18 +09:30
Toby Zerner
4ed379794a Refactor side navigation CSS 2015-08-13 13:07:50 +09:30
Toby Zerner
ee460e7149 Overflow long discussion titles 2015-08-13 13:07:24 +09:30
Toby Zerner
c4992407aa Reuse CommentPost component for PostsUserPage 2015-08-13 13:06:23 +09:30
Toby Zerner
9c7fab5d8c Support running in subdirectory with base_path config 2015-08-13 12:58:59 +09:30
Toby Zerner
3f809761d3 Improve extensions page
- Allow extensions to define an icon in their flarum.json
- Show a "please wait" modal when enabling/disabling an extension
- Styling tweaks
2015-08-07 08:51:03 +09:30
Toby Zerner
7a883b5563 Give the body some padding-bottom 2015-08-06 14:03:14 +09:30
Toby Zerner
c8084c3925 Remove footer and move language selection to header 2015-08-06 12:16:55 +09:30
Toby Zerner
0d968536bc Tweak dropdown caret margins 2015-08-05 19:21:00 +09:30
Toby Zerner
1679f1e27b Implement edit user modal
EditUserHandler is a bit rough
2015-08-05 11:49:37 +09:30
Toby Zerner
fff2ffe847 Rename user page components for consistency 2015-08-05 11:48:35 +09:30
Toby Zerner
f49d0e5341 Allow locale to be selected in footer 2015-08-05 09:50:57 +09:30
Toby Zerner
e091b037f3 Radically simplify user activity system
The activity system we were using was built around a separate table.
Whenever the user posted something, or deleted a post, we would sync
the table. The advantage of this was that we could aggregate activity
of all different types very efficiently.

It turns out that it came with a huge disadvantage: there was no
efficient way to enforce permissions on activity. If a user posted
something in a private tag, everyone could still see it on their
activity feed. My stopgap solution was to only sync activity for posts
that are viewable by guests, but that was way too limited.

It also turns out that aggregating activity of different types is
really not that useful, especially considering most of it is the user
making posts. So I've gotten rid of that whole overly-complicated
system, and just made the user profile display separate lists of posts
and discussions, retrieved from those respective APIs. The discussions
page is an actual discussion list too, which is pretty cool.

It's still technically possible to aggregate different activity types
(basically just aggregate API responses together), but we can do that
later if there's a need for it.

This is probably my favourite commit of the day :)
2015-08-04 18:44:22 +09:30
Toby Zerner
854e131ef1 Pull discussion pane further off-screen so shadow is not visible 2015-08-04 17:19:01 +09:30
Toby Zerner
17a863efc7 Make header slightly more compact 2015-08-04 17:15:05 +09:30
Toby Zerner
e6e2cdd3e9 Responsive fixes
- Make composer absolutely positioned on mobile to work around iOS 8/9
bug
- Make search results dropdown appear on mobile

closes flarum/core#137
2015-08-04 11:27:51 +09:30
Toby Zerner
f37fb9662e Fix mark as read sliding icon 2015-08-04 11:00:51 +09:30
Toby Zerner
06a246f5cf Tweak some styles 2015-08-04 10:49:41 +09:30
Toby Zerner
00e5f94bce Change the way composer is aligned
Also ensure that the correct body class is applied on the user page
2015-08-04 10:49:33 +09:30
Toby Zerner
83e8503df1 Rough implementation of appearance settings 2015-08-03 14:35:51 +09:30
Toby Zerner
70901b1420 Rough extension management implementation 2015-08-03 12:03:30 +09:30
Toby Zerner
338aa3eb73 Tweak permissions page styles 2015-08-02 17:27:18 +09:30
Toby Zerner
5e84c789e3 Make badges smaller 2015-08-02 17:27:04 +09:30
Toby Zerner
e13bc1ac62 Make sure the last form group doesn't have a bottom margin 2015-08-02 17:26:12 +09:30
Toby Zerner
51c647d134 Overflow discussion list info on mobile/in the pane 2015-08-02 17:25:54 +09:30
Toby Zerner
d44ffd1866 Remove modal responsibility for loading UI; using loading button state 2015-08-02 17:25:05 +09:30
Toby Zerner
fde7afd3e2 Finish admin permissions page and clean up everything 2015-07-31 20:16:47 +09:30
Toby Zerner
42fd8e26c1 Begin implementing permissions page 2015-07-29 21:00:27 +09:30
Toby Zerner
f96cac6057 Implement basic settings page 2015-07-29 21:00:09 +09:30
Toby Zerner
e863bd53d3 Get admin area working again 2015-07-29 20:58:22 +09:30
Toby Zerner
f0b48c08aa Not that prominent 2015-07-28 19:56:43 +09:30
Toby Zerner
6725fd1e21 Darken composer when it's minimized 2015-07-28 19:50:35 +09:30
Toby Zerner
d097e8fda8 Only style mobile dropdown menus differently if they're within a dropdown 2015-07-28 17:58:43 +09:30
Toby Zerner
0f1fb2de17 Fix mobile unread notifications indicator 2015-07-28 17:41:36 +09:30
Toby Zerner
242f5b67a6 Fix discussion list item unread style on mobile 2015-07-28 17:38:36 +09:30
Toby Zerner
79ea5d833a Slightly less padding on blockquotes 2015-07-28 16:42:03 +09:30
Toby Zerner
609e0416d0 Fix LESS syntax error 2015-07-28 16:09:57 +09:30
Toby Zerner
d445b49d7a Add vendor prefixes to composer outline 2015-07-28 15:49:49 +09:30
Toby Zerner
e2a4cf5ccb Add preview button to composer 2015-07-28 13:34:42 +09:30
Toby Zerner
c789d0aef2 Only make controls slidable on phones. Fixed flarum/core#178 2015-07-28 12:15:32 +09:30
Toby Zerner
283dcad848 Fix Safari header redraw problem. closes flarum/core#187 2015-07-28 10:13:58 +09:30
Toby Zerner
9631e7b759 Ensure that the sidepane positions correctly with custom layout 2015-07-27 16:03:56 +09:30
Toby Zerner
8d1ff8e6ae Update alert colors 2015-07-27 12:49:22 +09:30
Toby Zerner
2422643de6 Fix notifications icon alignment 2015-07-24 13:15:03 +09:30
Toby Zerner
b01b4b04d3 Fix user page display on mobile 2015-07-23 20:24:05 +09:30
Toby Zerner
52c9539be3 Appearance tweaks 2015-07-23 16:39:20 +09:30
Toby Zerner
61e4763c68 Componentize welcome hero close button 2015-07-23 14:47:27 +09:30
Toby Zerner
9b12548a4b Make title input wider 2015-07-23 14:35:05 +09:30
Toby Zerner
1e74d57526 Fix notification list appearance 2015-07-23 14:32:21 +09:30
Toby Zerner
497b65289e Fix sign up modal 2015-07-23 14:30:55 +09:30
Toby Zerner
a30f591c15 Fix activity page load more button appearance 2015-07-22 16:05:38 +09:30
Toby Zerner
017c258e46 Live preview of post editing/replying thanks to TextFormatter 👏 2015-07-22 16:05:00 +09:30
Toby Zerner
314846d9a2 Centre title button on mobile 2015-07-22 10:00:30 +09:30
Toby Zerner
1c4456260a Apply modal width on the correct class 2015-07-22 10:00:20 +09:30
Toby Zerner
5e91401f13 Add Button--text class to create buttons that look like muted text
e.g. post actions
2015-07-22 10:00:02 +09:30
Toby Zerner
ff6d3114d7 Tweak padding on discussion list items
Remove overflow to facilitate new tags appearance
2015-07-22 09:59:29 +09:30
Toby Zerner
d40c28a370 Tweak display of badges in the discussion hero 2015-07-22 09:58:14 +09:30
Toby Zerner
0cb3378658 Merge branch 'evented-api' 2015-07-21 10:40:38 +09:30
Toby Zerner
96bae40d4b Make "on" switches always green instead of theme-based 2015-07-20 18:13:15 +09:30
Toby Zerner
0d8f09df78 Migrate old style 2015-07-20 18:13:01 +09:30
Toby Zerner
d04910b6da Tweak badge appearances 2015-07-20 18:12:48 +09:30
Toby Zerner
440e30760e Reset dropdown menu line spacing
Was causing issues in the avatar editor dropdown
2015-07-18 22:58:51 +09:30
Toby Zerner
5085c09c30 Slightly darken buttons when clicked 2015-07-18 13:06:53 +09:30
Toby Zerner
fc3e9c353d Fix notifications appearance on dark header 2015-07-18 10:07:22 +09:30
Toby Zerner
0b702d8b73 Make sure responsive controls appear where they're supposed to 2015-07-17 17:53:03 +09:30
Toby Zerner
7e75eb16ff Add them back 2015-07-17 15:05:34 +09:30
Toby Zerner
12caded0c9 Temporarily remove some files
Git is playing up and won't let me push.
2015-07-17 15:04:55 +09:30
Toby Zerner
a9ded36b57 Major CSS revamp
- Get rid of Bootstrap (except we still rely on some JS)
- Use BEM class names
- Rework variables/theme config
- Fix various bugs, including some on mobile

The CSS is still not ideal – it needs to be cleaned up some more. But
that can be a focus for after beta.
2015-07-17 14:47:49 +09:30
Toby Zerner
42f1fa1272 Improve fulltext search API and interface 2015-07-07 20:35:18 +09:30
Toby Zerner
013d11554d Add discussion list refresh button
Closes flarum/core#139. Haven’t done pull to refresh yet though, but
that can come later.
2015-07-07 15:32:08 +09:30
Toby Zerner
ef213cd8b2 Allow user avatar hover over empty badge space 2015-07-07 15:31:15 +09:30
Toby Zerner
e1a65380ef Tweak discussion list styles some more 2015-07-07 15:30:48 +09:30
Toby Zerner
fcc5aa17ea Tweak discussion list contextual controls 2015-07-07 09:21:43 +09:30
Toby Zerner
0887834256 Tweak discussion list reply/unread count 2015-07-06 16:34:20 +09:30
Toby Zerner
1d21670663 New look for discussion reply/unread count
Also decrease the max page width by 100px
2015-07-05 13:52:46 +09:30
Toby Zerner
3d429d9af3 Give badges a bit of a shadow 2015-07-04 12:25:33 +09:30
Toby Zerner
4dbe87da77 Bit of padding on the ol' composer textarea 2015-06-26 17:43:48 +09:30
Toby Zerner
fe82631f95 Tweak user bio editing UI 2015-06-26 13:57:21 +09:30
Toby Zerner
c1ebc1c626 Make sure discussion sidebar appears above posts 2015-06-26 12:18:32 +09:30
Toby Zerner
0526e223e4 Always show composer header. closes flarum/core#112 2015-06-26 12:18:13 +09:30
Toby Zerner
e887d75b8b Show badges in notifications 2015-06-26 12:09:28 +09:30
Toby Zerner
9e6ad1f244 Only show search suggestion excerpt if we have it
We won’t have it if we didn’t do a fulltext search
2015-06-26 12:08:23 +09:30
Toby Zerner
bf5019ed0f Use mixins for vendor prefixes 2015-06-25 15:38:40 +09:30
Toby Zerner
f2f23138b2 Tweak how discussion sidebar displays on mobile
Give all items in an item list a class on their <li>. Super helpful for
styling
2015-06-25 15:38:29 +09:30
Toby Zerner
d81fe3ac36 Animate header between normal and full-width (pinned pane) 2015-06-25 15:05:46 +09:30
Toby Zerner
4046644e13 Fix responsive controls 2015-06-25 15:05:22 +09:30
Toby Zerner
ae8729250b Give notifications dropdown a responsive max height 2015-06-25 10:32:13 +09:30
Toby Zerner
6d72fd16a3 Tweak notification grid icon appearance 2015-06-25 09:57:46 +09:30
Toby Zerner
7de842c1d8 Nitpicking 2015-06-25 09:48:01 +09:30
Toby Zerner
df3e732d4b Make relevant posts span full width on mobile 2015-06-25 08:12:12 +09:30
Toby Zerner
aae40472cf Tweak post controls on mobile 2015-06-24 17:56:52 +09:30
Toby Zerner
e8bb044701 Discussion list refactor, gestures
Also make base Component class automatically assign this.element :)
2015-06-24 17:56:39 +09:30
Toby Zerner
e466dcc626 Significantly improve mobile UX
Most of #137 done.

- Use FastClick to make everything feel more responsive
- Use transforms for animations to make them silky smooth
- Style the drawer the same as the header to keep things simple
- Revert to fixed composer, but allow it to be minimised
- Add a separate notifications page for mobile so it’s easy to go back
- Add indicator to the menu button when there are unread notifications
- Close the drawer when navigating away
- Make dropdowns/modals scrollable
- Many other mobile tweaks and bug fixes

Didn’t take much care to keep CSS clean, due to #103
2015-06-24 11:44:53 +09:30
Toby Zerner
3a8fc1592c Extend hover area for post control visibility 2015-06-23 10:57:09 +09:30
Toby Zerner
6e5329047c Add light horizontal rule between posts. closes flarum/core#133
Also remove time information from event posts (it’s not useful)
2015-06-23 10:36:36 +09:30
Toby Zerner
0a4af568d1 Tweak avatar/count alignment 2015-06-20 10:28:58 +09:30
Toby Zerner
ec059f496f Make discussion list more compact 2015-06-19 20:57:36 +09:30
Toby Zerner
c75e4f5a74 Tweak hero appearance 2015-06-19 13:55:20 +09:30
Toby Zerner
46347023cc Implement time gap indicators
Get rid of short human times (1m, 1h, 1d) for now
2015-06-19 10:00:19 +09:30
Toby Zerner
c2da4a946f Remove unused CSS 2015-06-18 13:01:04 +09:30
Franz Liedke
1cbc60ca41 Merge branch 'master' into psr-7
Conflicts:
	src/Api/Actions/Discussions/IndexAction.php
	src/Api/Actions/SerializeAction.php
	src/Core/Formatter/FormatterManager.php
	src/Extend/ForumAssets.php
	src/Forum/Actions/IndexAction.php
	src/Forum/ForumServiceProvider.php
2015-06-17 00:52:50 +02:00
Toby Zerner
42fe2a28dd Increase text contrast
I think you will like this change @franzliedke :)
2015-06-11 18:42:05 +09:30
Franz Liedke
285a92212e Remove obsolete include 2015-06-08 10:00:13 +02:00
Toby Zerner
0f08a4378c Style tweaks 2015-06-03 18:11:43 +09:30
Toby Zerner
5d89618bbd Implement search on front end 2015-06-03 18:10:56 +09:30
Toby Zerner
c7a6f8650e Make user activity posts more compact 2015-06-01 17:55:13 +09:30
Toby Zerner
8638e9c9ca Tweak reply placeholder appearance 2015-06-01 17:54:37 +09:30
Toby Zerner
bfc4201338 Add icon to post edit composer 2015-06-01 10:29:11 +09:30
Toby Zerner
56981c1297 Add reply placeholder to bottom of post stream 2015-06-01 10:28:24 +09:30
Toby Zerner
d33bac533d Tweak composer full screen styles. closes flarum/core#102 2015-06-01 08:48:50 +09:30
Toby Zerner
acb6a8d8c5 Add some missing post content styles 2015-06-01 08:48:10 +09:30
Toby Zerner
a1da95962d Move theme config to database 2015-05-31 11:18:19 +09:30
Toby Zerner
1603c10ae9 Padding tweak 2015-05-30 14:58:47 +09:30
Toby Zerner
2e82fb4015 Refactor discussion list styles, fix loading indicator height in pane 2015-05-29 18:31:17 +09:30
Toby Zerner
cafa6c7b5d New and improved post stream. 2015-05-29 18:17:50 +09:30
Toby Zerner
8f0989fb80 Various appearance tweaks 2015-05-27 16:22:02 +09:30
Toby Zerner
6fed357605 Allow ActionButtons to be disabled 2015-05-27 16:21:15 +09:30
Toby Zerner
796c2590a2 Add unread indicator to scrubber. closes #94 2015-05-27 16:18:21 +09:30
Toby Zerner
dee9bb1c6d Tweak post-signup welcome appearance 2015-05-26 18:05:20 +09:30
Toby Zerner
85ba97ed5c Improve appearance/behaviour of login/signup/forgot modals 2015-05-26 16:25:25 +09:30
Toby Zerner
7a1ae67192 Make loading indicators stand out less when using a custom primary color 2015-05-21 15:58:56 +09:30
Toby Zerner
d69e481037 Make hero light 2015-05-21 13:10:25 +09:30
Toby Zerner
ca343edf00 Bump up discussion list title size again 2015-05-21 13:09:26 +09:30
Toby Zerner
80c0900388 Just being picky 2015-05-20 11:12:48 +09:30
Toby Zerner
0102f31e06 Tweak notifications appearance 2015-05-18 18:56:11 +09:30
Toby Zerner
9135749bb4 Rename JS sub-components so that descriptors are before the noun, not after
To be consistent with the naming in PHP world.

e.g. ReplyComposer instead of ComposerReply
2015-05-18 18:50:24 +09:30
Toby Zerner
9f42fbe450 Make sure links never have an underline 2015-05-18 16:46:44 +09:30
Toby Zerner
4233723ff6 Tweak codeblock styles 2015-05-18 16:46:13 +09:30
Toby Zerner
10acb839cf Correct composer position when pane is pinned but screen is too small to actually show it 2015-05-18 15:17:33 +09:30
Toby Zerner
921a75135f Fix select-input appearance on Firefox 35+. Closes #43 2015-05-18 15:11:31 +09:30
Toby Zerner
e605860e89 Fade out post when it is being edited 2015-05-18 14:24:18 +09:30
Toby Zerner
561645b0b4 Tweak discussion list badges positioning 2015-05-18 13:49:39 +09:30
Toby Zerner
aa2bc23039 Drastically improve how the composer looks and behaves
- New, cleaner, more prominent look
- Make it statically positioned down the bottom on mobile, so you can
still scroll up to look at posts
- Fix some bugs with animation, jumping between views
2015-05-18 10:40:14 +09:30
Toby Zerner
35b46288b0 Slightly increase contrast between primary/muted text 2015-05-18 10:36:04 +09:30
Toby Zerner
8390baa4c8 Make discussion list titles smaller again 2015-05-18 10:35:42 +09:30
Toby Zerner
281f475d28 More compact discussion list styling 2015-05-18 08:00:33 +09:30
Toby Zerner
15d35fa5db Fix author tooltip wrapping 2015-05-14 23:10:22 +09:30
Toby Zerner
d96da61b1b New look for notifications 2015-05-14 22:41:08 +09:30
Toby Zerner
e78951ca39 Add styling for quotes 2015-05-14 22:41:07 +09:30
Toby Zerner
78c6637940 Tweak gap loading indicator appearance 2015-05-14 22:41:07 +09:30
Toby Zerner
f1769c2d54 Tweak post footer/actions appearance 2015-05-14 22:41:07 +09:30
Toby Zerner
3aab626b22 Add pulsate/flash animations for drawing attention to posts 2015-05-14 22:41:07 +09:30
Toby Zerner
7d5921ca5e New look for highlighted posts 2015-05-14 22:41:07 +09:30
Toby Zerner
0befac4082 Make controls buttons slightly bigger 2015-05-14 22:41:07 +09:30
Toby Zerner
ed3648702c Formatting 2015-05-14 22:41:06 +09:30
Toby Zerner
a06a973d89 Only give dropdown menu items padding if they have an icon 2015-05-14 22:41:06 +09:30
Toby Zerner
781dc2ef0c New component for post excerpts, which will be shown in search results
Perhaps also in user activity stream. They are used in the mentions
extension.

In order to generate the excerpt, each formatter can implement a
“strip” method which basically converts block formatting into inline
formatting.
2015-05-14 22:41:05 +09:30
Toby Zerner
e19190ca68 Make link styles more obvious 2015-05-11 12:11:38 +09:30
Toby Zerner
4d17e172a7 Close the drawer when page content is touched. Fixes #69 2015-05-11 11:03:40 +09:30
Toby Zerner
a89803c957 Tweak user activity item appearance 2015-05-07 10:27:42 +09:30
Toby Zerner
c9f3ac9d66 Hide badges on deleted posts 2015-05-07 08:58:20 +09:30
Toby Zerner
515e61b77f Tweak discussion list spacing 2015-05-07 06:38:09 +09:30
Toby Zerner
719080ff1f Tweak heading line height 2015-05-07 06:38:01 +09:30
Toby Zerner
9fe334b4f8 Add semibold weight 2015-05-07 06:37:41 +09:30
Toby Zerner
bde9bf9378 Fix FontAwesome path 2015-05-06 12:12:22 +09:30
Toby Zerner
c6f368f045 Don't obstruct author tooltip 2015-05-06 11:40:35 +09:30
Toby Zerner
7d2cdd20d3 Don't wrap long author tooltips 2015-05-06 11:35:30 +09:30
Toby Zerner
54f731942e Add user group badges 2015-05-06 11:25:19 +09:30
Toby Zerner
707c60d3ab Tweak user card UI 2015-05-06 11:24:42 +09:30
Toby Zerner
45033d7d59 Fix up hidden post styles; don't show user card 2015-05-06 08:33:00 +09:30
Toby Zerner
ae2930dc35 Show login modal if replying as guest; disable button if no permission
Also hide the first item in dropdown-split menus
2015-05-04 11:08:45 +09:30
Toby Zerner
538784744c Show login modal when starting a discussion as a guest 2015-05-04 10:44:03 +09:30
Toby Zerner
4cb9ed851d Slightly thicken the post highlight border again 2015-05-03 11:53:37 +09:30
Toby Zerner
5ea864ba89 Make post highlight more subtle 2015-05-02 08:48:35 +09:30
Toby Zerner
8bc9552e83 Tweak composer styles
- Make minimised content look nicer, non-interactive
- Fix margins on tablet
2015-05-02 08:48:18 +09:30
Toby Zerner
fbdd730ce3 Make discussion hero extensible 2015-05-02 08:36:04 +09:30
Toby Zerner
80e8630c1c Don't let discussion details in list wrap 2015-05-02 08:34:09 +09:30
Toby Zerner
066a379f43 Tweak header/footer control layout 2015-05-02 08:33:05 +09:30
Toby Zerner
4d04d801d1 Unify icon class name, change the way icons are floated in menus 2015-05-02 08:32:45 +09:30
Toby Zerner
ee40acd5c2 Show modal close button above content 2015-05-02 08:30:35 +09:30
Toby Zerner
e4a880c4f4 Skin colour tweaks 2015-05-02 08:29:43 +09:30
Toby Zerner
ac269683ed Merge remote-tracking branch 'upstream/master' 2015-04-25 22:45:27 +09:30
Toby Zerner
31ec6f27ce Update some styles for the Mithril app 2015-04-25 22:31:37 +09:30
Toby Zerner
b61017efdc Clean up LESS files 2015-04-25 22:31:30 +09:30
Toby Zerner
cf8e4b9913 Make badge icons not blurry by making sure they can centre accurately 2015-04-03 16:59:50 +10:30
Maksim Knyshov
1bd69f80c7 Remove unneeded .gitkeep's 2015-03-31 22:38:15 +03:00
Toby Zerner
9ae5563947 Set up responsive admin layout 2015-03-30 12:46:55 +10:30
Toby Zerner
d64ca6bce3 Extract .side-nav into a common file 2015-03-30 12:45:48 +10:30
Toby Zerner
40a6d77e74 Big front-end asset/filestructure refactor
- Extract shared Ember components into a “flarum-common” ember-cli
addon. This can be used by both the forum + admin Ember apps, keeping
things DRY
- Move LESS styles into their own top-level directory and do a similar
thing (extract common styles)
- Add LESS/JS compilation and versioning to PHP (AssetManager)
- Set up admin entry point

(Theoretical) upgrade instructions:
- Delete everything in [app_root]/public
- Set up tooling in forum/admin Ember apps (npm install/update, bower
install/update) and then build them (ember build)
- php artisan vendor:publish
- Upgrade flarum/flarum repo (slight change in a config file)
- If you need to trigger a LESS/JS recompile, delete the .css/.js files
in [app_root]/public/flarum. I set up LiveReload to do this for me when
I change files in less/ or ember/

Todo:
- Start writing admin app!
- Remove bootstrap/font-awesome from repo and instead depend on their
composer packages? Maybe? (Bower is not an option here)
2015-03-29 22:13:26 +10:30