1
0
mirror of https://github.com/flarum/core.git synced 2025-07-24 10:11:43 +02:00
Commit Graph

292 Commits

Author SHA1 Message Date
Toby Zerner
8d26d2ee8f 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
3bfd5ee35d Give PostEdited default cursor; make info slightly more compact 2016-05-27 12:39:15 +09:30
Toby Zerner
7d448e81ff 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
e4a758dfdf Show post IP address in meta dropdown. closes #956 closes #657 2016-05-21 22:02:42 +09:30
Toby Zerner
cf1b71e76a Fix wonky avatar display when expanding a deleted post 2016-05-21 20:29:04 +09:30
Franz Liedke
b9a8e6e24e Fix post controls not being clickable in some circumstances
Closes #908.
2016-05-14 18:07:43 +09:00
Franz Liedke
8f0935b646 Merge branch 'pr/933'
Closes #258.
2016-05-13 00:25:27 +09:00
Franz Liedke
16ded627a1 Merge branch 'pr/936'
Closes #814.
2016-05-12 23:56:47 +09:00
Franz Liedke
0da8d86f64 Final tweaks to inline code styling
Refs #814.
2016-05-12 23:56:12 +09:00
Franz Liedke
226e5759a4 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
249cee3548 Added variables for code color & background; Dark mode & light mode 2016-05-08 17:08:32 -04:00
David Sevilla Martín
1934d51b8a Changed "Advanced" to "Mail"
+ Added labels above inputs
-  Removed Placeholders
2016-04-23 09:19:02 -04:00
Toby Zerner
2229e0678b Damn you chrome update 2016-04-20 20:53:15 +09:30
Toby Zerner
19d564d521 Fix more avatar positioning regressions 2016-04-20 20:44:57 +09:30
Toby Zerner
b63c13bd90 Fix incorrect avatar position if online indicator is present 2016-04-20 20:42:14 +09:30
Toby Zerner
6904243c96 oops 2016-04-20 20:25:11 +09:30
Toby Zerner
fcfab26421 Fix avatars not displaying in Chrome 50 2016-04-20 20:21:32 +09:30
David Sevilla Martín
ee6aee73b2 Updated code color from blue-ish to more grey-ish 2016-04-18 21:26:32 -04:00
David Sevilla Martín
ebef033bfd Updated code style to be same as Scotch.IO's 2016-04-17 19:01:19 -04:00
David Sevilla Martín
25b3439d2e Added "Advanced" page on admin & SMTP settings
Refs #258
2016-04-17 09:54:41 -04:00
David Sevilla Martín
dfb8ad312b 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
a580e5f9d4 Tweak post composer alignment with page content 2016-04-08 13:52:30 +09:30
Franz Liedke
a47a01d114 Remove old styling for DiscussionRenamedPost
New title should now appear as bold.

Refs #428.
2016-04-01 10:08:22 +09:00
Franz Liedke
1d67e239f7 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
15f177bdf7 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
b55983c09e Reconfigure z-index hierarchy: show dropdowns above post composer 2016-03-28 13:32:23 +10:30
Toby Zerner
5e207b1882 Tweak badge shadow radius 2016-03-28 10:25:47 +10:30
Toby Zerner
ed5baaf36d Prevent long forum title in mobile drawer from entering viewport 2016-03-28 10:23:58 +10:30
Toby Zerner
ee00920032 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
087ab3fa1f 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
c95dbc0cb4 Remove white border from badges, decrease overlap 2016-03-11 12:01:47 +10:30
Toby Zerner
66398d423e Add padding between items in fieldsets on the settings page 2016-03-10 17:56:18 +10:30
Toby Zerner
3148f175cf 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
c1236bc7ff 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
2ff8fc0126 Tweak padding on user dropdown button so avatar is flush with border radius 2016-01-19 19:19:16 +10:30
Toby Zerner
90437016ea 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
2e110b6ccb Added user online indicator to post 2015-12-16 13:43:46 +01:00
Toby Zerner
f81c489eee Improve LoginButton styles, make popup window smaller 2015-12-05 15:19:24 +10:30
Toby Zerner
d55ba2c483 Merge branch 'sudo-mode'
# Conflicts:
#	CHANGELOG.md
2015-12-03 15:12:51 +10:30
Toby Zerner
32e9c0587c 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
d4e52a6ad8 Various user interface tweaks 2015-12-03 15:02:52 +10:30
Toby Zerner
8664a5e0b0 Fix notifications icon/badge color for dark header 2015-12-03 15:02:29 +10:30
Toby Zerner
11ff30cfdc 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
d1d33cba44 Clean up 2015-12-03 14:51:35 +10:30
Toby Zerner
88f03f1d95 Truncate long title controls on mobile 2015-12-01 11:48:54 +10:30
Toby Zerner
ca83a5b9ea Truncate long dropdown menu items (e.g. tags in the sidebar)
ref #391
2015-11-21 14:01:07 +10:30
Toby Zerner
4752fa6785 Improve spacing of drawer elements 2015-11-21 13:21:27 +10:30
Toby Zerner
f14c238625 Tweak mobile drawer appearance 2015-11-21 13:16:46 +10:30
Toby Zerner
e8836bad46 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
b780111af5 Show "reply" action in discussion menu on mobile 2015-11-20 12:35:07 +10:30