1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 15:51:16 +02:00
Commit Graph

259 Commits

Author SHA1 Message Date
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
Toby Zerner
6a4023bbe7 Align checkboxes and textareas to the left in centered forms 2015-11-04 12:54:17 +10:30
Toby Zerner
5c0b6d68f5 Merge branch 'loading-indicator' 2015-11-03 18:13:11 +10:30
Toby Zerner
80094ae413 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
eef5101238 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
e69d277c87 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
eed3755aa9 Display "Loading..." text while JS is loading 2015-11-02 16:47:36 +10:30
Toby Zerner
9e9b45cf70 Fix appearance of event posts on mobile 2015-10-14 16:35:06 +10:30
Toby Zerner
3974235455 Further refinements to admin extensions page 2015-10-13 12:27:10 +10:30
Toby Zerner
b3e52c0474 Revamp admin extensions page
- New look
- Groups extensions by keywords
2015-10-12 15:02:59 +10:30
Franz Liedke
66d4e51a18 Use correct method for notification drawer on mobile
Refs #500.
2015-09-29 01:28:47 +02:00
Franz Liedke
a436bef93c Implement third state for notification list dropdown
Related to #500.
2015-09-29 00:50:28 +02:00
Toby Zerner
575ff76002 Condense discussion list last reply icons 2015-09-25 13:55:32 +09:30
Toby Zerner
3888f16893 Vendor prefix badge shadow 2015-09-23 10:52:26 +09:30
Toby Zerner
7c37320891 Reduce font size/padding on discussion list 2015-09-22 19:29:40 +09:30
Toby Zerner
8a5a3a0624 Improve admin permissions page with icons, visual tweaks 2015-09-22 17:52:16 +09:30
Toby Zerner
3ac9efde3e Allow discussions to be hidden and restored 2015-09-22 17:48:21 +09:30
Toby Zerner
46f26bc237 Tweak alignment/width of reply composer 2015-09-22 17:12:50 +09:30
Toby Zerner
2c1283af42 Update to FontAwesome 4.4.0 2015-09-22 17:11:51 +09:30
Toby Zerner
a184577877 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
2976541d5c 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
a2a0d8ee83 Distinguish links in alerts 2015-09-18 14:39:20 +09:30
Toby Zerner
8d5cbd6802 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
55df6ce6df Use LESS variable 2015-09-16 17:04:35 +09:30
Toby Zerner
63911efbcc Make composer full-width by default
closes #398
2015-09-16 16:04:15 +09:30
Toby Zerner
8ce71af1bd Revert "Revert "Scroll overflowing post content""
This reverts commit c7af228868.
2015-09-16 14:10:30 +09:30
Toby Zerner
c7af228868 Revert "Scroll overflowing post content"
This reverts commit ebf2888057.
2015-09-16 14:08:59 +09:30
Toby Zerner
ebf2888057 Scroll overflowing post content
closes #143
2015-09-16 08:39:30 +09:30
Franz Liedke
d68cbda900 Give more padding to discussion list controls
Closes #218.
2015-09-15 09:01:41 +02:00
Toby Zerner
23062c6d0a Remove margin when no login buttons are present 2015-09-15 13:04:28 +09:30
Toby Zerner
9a10daaaf9 Tweak notifications indicator appearance 2015-09-15 12:54:49 +09:30
Toby Zerner
054159c27c Clean up new post layout 2015-09-15 12:42:03 +09:30
Toby Zerner
1ea991c930 Merge branch 'master' into compact-posts 2015-09-15 11:27:49 +09:30
Toby Zerner
1059147e6c 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