Toby Zerner
240aa9e83b
Improve permissions page
...
- Introduce the concept of "required permissions" - basically a permission dependency tree. In order for a group to be granted one permission, they must also have another.
- Improve redraw performance by not building dropdown menu contents until dropdown is opened
ref #904
2016-05-27 12:42:19 +09:30
Toby Zerner
1177880483
Give PostEdited default cursor; make info slightly more compact
2016-05-27 12:39:15 +09:30
Toby Zerner
b322cf669a
Bring post controls dropdown in front of the composer again
...
The underlying problem is fixed in flarum-ext-mentions.
2016-05-26 22:25:39 +09:30
Davis
909f52522b
Show post IP address in meta dropdown. closes #956 closes #657
2016-05-21 22:02:42 +09:30
Toby Zerner
9f69b7b846
Fix wonky avatar display when expanding a deleted post
2016-05-21 20:29:04 +09:30
Franz Liedke
3866e518fa
Fix post controls not being clickable in some circumstances
...
Closes #908 .
2016-05-14 18:07:43 +09:00
Franz Liedke
dd0dc44dd8
Merge branch 'pr/933'
...
Closes #258 .
2016-05-13 00:25:27 +09:00
Franz Liedke
696f562b0e
Merge branch 'pr/936'
...
Closes #814 .
2016-05-12 23:56:47 +09:00
Franz Liedke
aca497e7be
Final tweaks to inline code styling
...
Refs #814 .
2016-05-12 23:56:12 +09:00
Franz Liedke
619561cf56
Install FontAwesome via Composer.
...
This also updates the asset publishing and LESS paths accordingly.
Refs #891 .
2016-05-09 21:28:38 +09:00
David Sevilla Martín
805f86b249
Added variables for code color & background; Dark mode & light mode
2016-05-08 17:08:32 -04:00
David Sevilla Martín
6b108d99cb
Changed "Advanced" to "Mail"
...
+ Added labels above inputs
- Removed Placeholders
2016-04-23 09:19:02 -04:00
Toby Zerner
d8b043dacb
Damn you chrome update
2016-04-20 20:53:15 +09:30
Toby Zerner
645a908dff
Fix more avatar positioning regressions
2016-04-20 20:44:57 +09:30
Toby Zerner
bf79383204
Fix incorrect avatar position if online indicator is present
2016-04-20 20:42:14 +09:30
Toby Zerner
db53103396
oops
2016-04-20 20:25:11 +09:30
Toby Zerner
b5a9d0183e
Fix avatars not displaying in Chrome 50
2016-04-20 20:21:32 +09:30
David Sevilla Martín
8065dc1806
Updated code color from blue-ish to more grey-ish
2016-04-18 21:26:32 -04:00
David Sevilla Martín
821bce38be
Updated code style to be same as Scotch.IO's
2016-04-17 19:01:19 -04:00
David Sevilla Martín
45045a2ac1
Added "Advanced" page on admin & SMTP settings
...
Refs #258
2016-04-17 09:54:41 -04:00
David Sevilla Martín
af5f47bb90
If no avatar uploaded user will see the upload button directly on "avatar" without full opacity
...
Refs #249
2016-04-16 13:09:09 -04:00
Toby Zerner
c9112624c0
Tweak post composer alignment with page content
2016-04-08 13:52:30 +09:30
Franz Liedke
b74ca9979f
Remove old styling for DiscussionRenamedPost
...
New title should now appear as bold.
Refs #428 .
2016-04-01 10:08:22 +09:00
Franz Liedke
d6c6e78193
Make DiscussionRenamedPost spread across three lines
...
This also adds a little button for expanding / collapsing this additional information.
It is expanded by default right now because I could not get the toggling to work yet.
Refs #428 .
2016-03-30 22:13:08 +09:00
Toby Zerner
d1c25a4bad
Fix regression with full-screen composer being obscured by header/side pane
...
This is not ideal as dropdowns appear above the header, but it will probably be resolved when we redo the composer's full screen mode soon enough.
2016-03-29 18:24:23 +10:30
Toby Zerner
ff77912dc6
Reconfigure z-index hierarchy: show dropdowns above post composer
2016-03-28 13:32:23 +10:30
Toby Zerner
53b32eda12
Tweak badge shadow radius
2016-03-28 10:25:47 +10:30
Toby Zerner
6d69e90662
Prevent long forum title in mobile drawer from entering viewport
2016-03-28 10:23:58 +10:30
Toby Zerner
589e903c71
Fix search box overlapping forum title in some cases. closes #697
...
- Fix jank in shrinking animation when search box loses focus after overlapping forum title.
- Use solid colors instead of transparent whites/blacks for colored header controls so that search box isn't transparent when it does overlap forum title.
- This also simplifies colored header variables, making them more analogous to the non-colored header variables, and allowing for the removal of some conditional CSS in the notifications dropdown button.
Some more radical changes to header layout (flexbox?) may be made when we implement the new mobile design (#867 ), but for now this is an acceptable fix.
2016-03-28 10:23:49 +10:30
Toby Zerner
3b19fe3a33
Lighten discussion list hover color
...
When the list is shown in the side-pane, the background of the currently-selected discussion is the @control-bg. The hover color shouldn't be quite as strong as that.
2016-03-18 09:38:37 +10:30
Toby Zerner
dc757fae5f
Remove white border from badges, decrease overlap
2016-03-11 12:01:47 +10:30
Toby Zerner
3b236dd66e
Add padding between items in fieldsets on the settings page
2016-03-10 17:56:18 +10:30
Toby Zerner
82fc4dd483
Refactor Composer rendering for smoother animations
...
Also fixes a couple of miscellaneous bugs:
- Minimise the Composer when clicking the preview button in full-screen mode on desktop.
- Minimise the Composer when clicking the link to the discussion/post in the header on mobile/full-screen mode.
2016-02-26 12:49:49 +10:30
Toby Zerner
dfef3c1ff1
Slightly widen index sidebar, overflow buttons properly
...
First half of #349 fix. Supersedes #734 (190px wide instead of 200px, correctly modify margin-left of .sideNavOffset, more descriptive commit message)
2016-02-07 12:10:02 +10:30
Toby Zerner
ad2bbdd115
Tweak padding on user dropdown button so avatar is flush with border radius
2016-01-19 19:19:16 +10:30
Toby Zerner
94a62293eb
Extract Google font import to a head string, make overideable
...
Allowing headStrings to be named is a bit of a stopgap solution. Really ClientView needs to be given much more power with headStrings and footStrings as separate objects, similar to the ItemList in the JS app.
2016-01-12 18:29:21 +10:30
Peter Mein
e55b7a14e5
Added user online indicator to post
2015-12-16 13:43:46 +01:00
Toby Zerner
b0b3af0305
Improve LoginButton styles, make popup window smaller
2015-12-05 15:19:24 +10:30
Toby Zerner
1cfae4ad14
Merge branch 'sudo-mode'
...
# Conflicts:
# CHANGELOG.md
2015-12-03 15:12:51 +10:30
Toby Zerner
9896378b59
Overhaul sessions, tokens, and authentication
...
- Use cookies + CSRF token for API authentication in the default client. This mitigates potential XSS attacks by making the token unavailable to JavaScript. The Authorization header is still supported, but not used by default.
- Make sensitive/destructive actions (editing a user, permanently deleting anything, visiting the admin CP) require the user to re-enter their password if they haven't entered it in the last 30 minutes.
- Refactor and clean up the authentication middleware.
- Add an `onhide` hook to the Modal component. (+1 squashed commit)
2015-12-03 15:11:57 +10:30
Toby Zerner
b9148364fa
Various user interface tweaks
2015-12-03 15:02:52 +10:30
Toby Zerner
2ba890c239
Fix notifications icon/badge color for dark header
2015-12-03 15:02:29 +10:30
Toby Zerner
55e80f135d
Tweak admin side-pane styles
...
Position the side-pane absolutely when scrolled to the top so that it does not disjoin from the header in Safari.
2015-12-03 15:02:07 +10:30
Toby Zerner
05386b1259
Clean up
2015-12-03 14:51:35 +10:30
Toby Zerner
d96e57eabb
Truncate long title controls on mobile
2015-12-01 11:48:54 +10:30
Toby Zerner
2088fceb8b
Truncate long dropdown menu items (e.g. tags in the sidebar)
...
ref #391
2015-11-21 14:01:07 +10:30
Toby Zerner
5b25a77e82
Improve spacing of drawer elements
2015-11-21 13:21:27 +10:30
Toby Zerner
59c534a882
Tweak mobile drawer appearance
2015-11-21 13:16:46 +10:30
Toby Zerner
6374f92676
Improve composer appearance/usability on mobile
...
On mobile:
- Move submit button to right side of toolbar
- Move first header item to toolbar
- Size textarea correctly
2015-11-21 13:16:05 +10:30
Toby Zerner
bd750ca154
Show "reply" action in discussion menu on mobile
2015-11-20 12:35:07 +10:30
Toby Zerner
3518fb2299
Align checkboxes and textareas to the left in centered forms
2015-11-04 12:54:17 +10:30
Toby Zerner
30856a8e2b
Merge branch 'loading-indicator'
2015-11-03 18:13:11 +10:30
Toby Zerner
3d3be6983a
Apply split dropdown styles on mobiles too
...
Normal split dropdowns, not in the context of the app's primary control (top-right toolbar button), may be used by extensions (e.g. embed)
2015-11-03 18:09:49 +10:30
Toby Zerner
96b85f1330
Use icon instead of "Discussions" text, fix bugs
...
- Fix admin page crash
- Only show invisible pin button on desktop; hide it completely on ≤ tablet
2015-11-03 15:54:06 +10:30
Toby Zerner
25932cf7c4
Add label to back button, change behaviour
...
The back button longer shows if the user hasn't actually navigated anywhere. e.g. if they come in directly to a discussion, it will be hidden.
2015-11-03 15:54:05 +10:30
Toby Zerner
7dcb99621d
Display "Loading..." text while JS is loading
2015-11-02 16:47:36 +10:30
Toby Zerner
e145873d59
Fix appearance of event posts on mobile
2015-10-14 16:35:06 +10:30
Toby Zerner
6f7cce5adf
Further refinements to admin extensions page
2015-10-13 12:27:10 +10:30
Toby Zerner
4c2ff6e82d
Revamp admin extensions page
...
- New look
- Groups extensions by keywords
2015-10-12 15:02:59 +10:30
Franz Liedke
f5b5d9ca5c
Use correct method for notification drawer on mobile
...
Refs #500 .
2015-09-29 01:28:47 +02:00
Franz Liedke
1f7afb3e4a
Implement third state for notification list dropdown
...
Related to #500 .
2015-09-29 00:50:28 +02:00
Toby Zerner
26143272bd
Condense discussion list last reply icons
2015-09-25 13:55:32 +09:30
Toby Zerner
858feb5ac0
Vendor prefix badge shadow
2015-09-23 10:52:26 +09:30
Toby Zerner
0b0f1bc142
Reduce font size/padding on discussion list
2015-09-22 19:29:40 +09:30
Toby Zerner
5598e885b7
Improve admin permissions page with icons, visual tweaks
2015-09-22 17:52:16 +09:30
Toby Zerner
264725d872
Allow discussions to be hidden and restored
2015-09-22 17:48:21 +09:30
Toby Zerner
bd02e4307a
Tweak alignment/width of reply composer
2015-09-22 17:12:50 +09:30
Toby Zerner
3eafed0ae3
Update to FontAwesome 4.4.0
2015-09-22 17:11:51 +09:30
Toby Zerner
d610ea663f
Keep post actions visible when controls dropdown is open
...
Also show without hover on touch devices
2015-09-22 17:05:14 +09:30
Toby Zerner
efca923d30
Add "Debug" button to inspect the response of a failed AJAX request
...
Related to #118
2015-09-18 16:46:46 +09:30
Toby Zerner
80665450fc
Distinguish links in alerts
2015-09-18 14:39:20 +09:30
Toby Zerner
4041c18014
Further tweaks to post layout
...
Move footer after actions so that we'll be able to have larger things
in the footer (e.g. Answers) without pushing down the controls.
2015-09-18 14:38:57 +09:30
Toby Zerner
66510d6887
Use LESS variable
2015-09-16 17:04:35 +09:30
Toby Zerner
c019ed6fb0
Make composer full-width by default
...
closes #398
2015-09-16 16:04:15 +09:30
Toby Zerner
92437edd1b
Revert "Revert "Scroll overflowing post content""
...
This reverts commit b695f4d063
.
2015-09-16 14:10:30 +09:30
Toby Zerner
b695f4d063
Revert "Scroll overflowing post content"
...
This reverts commit 64207a53c6
.
2015-09-16 14:08:59 +09:30
Toby Zerner
64207a53c6
Scroll overflowing post content
...
closes #143
2015-09-16 08:39:30 +09:30
Franz Liedke
3221e80014
Give more padding to discussion list controls
...
Closes #218 .
2015-09-15 09:01:41 +02:00
Toby Zerner
d9062ced96
Remove margin when no login buttons are present
2015-09-15 13:04:28 +09:30
Toby Zerner
90a3bff638
Tweak notifications indicator appearance
2015-09-15 12:54:49 +09:30
Toby Zerner
fa265152c7
Clean up new post layout
2015-09-15 12:42:03 +09:30
Toby Zerner
5c98a08e0f
Merge branch 'master' into compact-posts
2015-09-15 11:27:49 +09:30
Toby Zerner
6beb4fe898
Add external authenticator (social login) API
...
Allows registrations to be completed with a pre-confirmed email address
and no password.
2015-09-15 11:27:31 +09:30
Toby Zerner
ff8ec59310
Increase text contrast
...
closes #390
2015-09-14 15:16:19 +09:30
Toby Zerner
8eda6c7d36
Style disabled fields properly
2015-09-14 14:49:28 +09:30
Malay Ladu
b05f83d25a
Add green color for online indicator on user cards
...
Closes #452 .
2015-09-11 08:49:07 +02:00
Toby Zerner
c0e7ff5ea1
Give iframes in posts a max width
2015-09-08 11:51:36 +09:30
Toby Zerner
e54944d6c3
Reduce event post font size
2015-09-08 11:13:35 +09:30
Toby Zerner
d39bca192e
Add more breathing room between posts and sidebar
2015-09-08 11:13:28 +09:30
Toby Zerner
efff485d6c
Restyle posts to be more compact, relocate controls
2015-09-08 10:29:00 +09:30
Toby Zerner
6a5427b600
Make unread discussion titles less overwhelming
2015-09-08 10:27:50 +09:30
Toby Zerner
1aaff46f8e
Increase text contrast slightly
2015-09-08 10:24:20 +09:30
Toby Zerner
a5d3aa9b36
Correctly style hidden post username
2015-09-04 13:50:43 +09:30
Toby Zerner
b18909f1af
Fix notifications dropdown appearance on mobile
2015-09-04 13:50:33 +09:30
Toby Zerner
9277fca0ec
Slightly darken light grey text
2015-09-04 12:19:20 +09:30
Toby Zerner
9bf6862c6d
Clean up Post CSS
2015-09-04 12:17:30 +09:30
Toby Zerner
70815b024a
Make Dropdown and NotificationsDropdown components more extensible
2015-09-04 12:15:11 +09:30
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