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

197 Commits

Author SHA1 Message Date
Toby Zerner
738e272675 Clean up Post CSS 2015-09-04 12:17:30 +09:30
Toby Zerner
4545673455 Make Dropdown and NotificationsDropdown components more extensible 2015-09-04 12:15:11 +09:30
Franz Liedke
588dc96685 Add a first empty state to the discussion list 2015-09-03 09:59:33 +02:00
Rody Molenaar
64033af4a6 Align select 2015-08-31 21:57:43 +02:00
Toby Zerner
41e7ee712b Properly style modal title bar on mobile
closes #286
2015-08-31 13:46:59 +09:30
Toby Zerner
a54c6376d8 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
b51add6708 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
4d715fb0df Fix text overlap in search result with long content 2015-08-28 15:18:17 -07:00
Huy Tran
8b5a346259 Make Google Web Font work on both HTTP and HTTPS 2015-08-27 20:17:42 -07:00
Toby Zerner
ccefb679ad Reorganise dashboard help text 2015-08-27 10:59:50 +09:30
Toby Zerner
430a8cd575 Polish admin dashboard 2015-08-27 10:50:15 +09:30
Toby Zerner
49bb9ef5e3 Make sure search input has a background when focused 2015-08-27 08:47:06 +09:30
Toby Zerner
3911139b17 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
455b00e234 Add header comment; PSR-2 fixes; remove seeders 2015-08-26 16:56:32 +09:30
Toby Zerner
447dcd760d Reduce contrast on post stream time gaps 2015-08-26 10:19:24 +09:30
Toby Zerner
08806a2689 Tweak notification excerpt styles 2015-08-21 10:00:09 +09:30
Toby Zerner
7664c0a94a Add notification excerpts to help distinguish posts 2015-08-21 09:54:41 +09:30
Toby Zerner
2d090f9b3a Prevent admin pane shadow overlapping header on Safari 2015-08-17 14:56:21 +09:30
Toby Zerner
1c89f62165 Prevent pane shadow overlapping header on Safari 2015-08-17 14:11:18 +09:30
Toby Zerner
81e4321154 Refactor side navigation CSS 2015-08-13 13:07:50 +09:30
Toby Zerner
8631eb5819 Overflow long discussion titles 2015-08-13 13:07:24 +09:30
Toby Zerner
f9c5d0f2d7 Reuse CommentPost component for PostsUserPage 2015-08-13 13:06:23 +09:30
Toby Zerner
0e1948cd3a Support running in subdirectory with base_path config 2015-08-13 12:58:59 +09:30
Toby Zerner
a34cebd94b 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
2340dcda3d Give the body some padding-bottom 2015-08-06 14:03:14 +09:30
Toby Zerner
dfdfae7b6d Remove footer and move language selection to header 2015-08-06 12:16:55 +09:30
Toby Zerner
15019fc0ab Tweak dropdown caret margins 2015-08-05 19:21:00 +09:30
Toby Zerner
4d2aac7645 Implement edit user modal
EditUserHandler is a bit rough
2015-08-05 11:49:37 +09:30
Toby Zerner
9a3e4ce4fe Rename user page components for consistency 2015-08-05 11:48:35 +09:30
Toby Zerner
69726844d7 Allow locale to be selected in footer 2015-08-05 09:50:57 +09:30
Toby Zerner
d5296e9aa5 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
a7903bac3a Pull discussion pane further off-screen so shadow is not visible 2015-08-04 17:19:01 +09:30
Toby Zerner
602d93db74 Make header slightly more compact 2015-08-04 17:15:05 +09:30
Toby Zerner
7154558239 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
421a705b75 Fix mark as read sliding icon 2015-08-04 11:00:51 +09:30
Toby Zerner
740d41166c Tweak some styles 2015-08-04 10:49:41 +09:30
Toby Zerner
a3e710b8a9 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
0657bf2d27 Rough implementation of appearance settings 2015-08-03 14:35:51 +09:30
Toby Zerner
299bfc0e0a Rough extension management implementation 2015-08-03 12:03:30 +09:30
Toby Zerner
30700734e8 Tweak permissions page styles 2015-08-02 17:27:18 +09:30
Toby Zerner
b22746cc2c Make badges smaller 2015-08-02 17:27:04 +09:30
Toby Zerner
52125ce84c Make sure the last form group doesn't have a bottom margin 2015-08-02 17:26:12 +09:30
Toby Zerner
14972a2b5b Overflow discussion list info on mobile/in the pane 2015-08-02 17:25:54 +09:30
Toby Zerner
c6deafde0e Remove modal responsibility for loading UI; using loading button state 2015-08-02 17:25:05 +09:30
Toby Zerner
50215cedfc Finish admin permissions page and clean up everything 2015-07-31 20:16:47 +09:30
Toby Zerner
6873f77012 Begin implementing permissions page 2015-07-29 21:00:27 +09:30
Toby Zerner
5f1db93e3d Implement basic settings page 2015-07-29 21:00:09 +09:30
Toby Zerner
f3ef5a123c Get admin area working again 2015-07-29 20:58:22 +09:30
Toby Zerner
b4973a75ba Not that prominent 2015-07-28 19:56:43 +09:30
Toby Zerner
98a5456a62 Darken composer when it's minimized 2015-07-28 19:50:35 +09:30