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

30 Commits

Author SHA1 Message Date
Toby Zerner
c6ebef3631 Webpack (#1367)
* Replace gulp with webpack and npm scripts for JS compilation
* Set up Travis CI to commit compiled JS
* Restructure `js` directory; only one instance of npm, forum/admin are "submodules"
* Refactor JS initializers into Application subclasses
* Maintain partial compatibility API (importing from absolute paths) for extensions
* Remove minification responsibility from PHP asset compiler
* Restructure `less` directory
2018-06-20 13:20:31 +09:30
Toby Zerner
0c1e90719c Extract admin dashboard statistics from core into an extension 2017-12-10 21:03:48 +10:30
Toby Zerner
d592322a61 Basic implementation of dashboard widgets, statistics
Currently not user-customizable. Just needed to display statistics for a
client, so figured I'd make a start at this. Nothing too fancy for now,
but I'm sure some people will be happy to have this information at their
fingertips.
2017-11-29 17:19:20 +10:30
Toby Zerner
1af83fad99 Only display "show language selector" toggle if there is more than one language 2017-07-22 11:47:50 +09:30
Toby Zerner
79fff37bce Add ability to upload a logo + favicon, and add custom header HTML
Closes #268. Not going to bother with a preview SVG or anything fancy for now – we can think about that as part of #746. Right now it's just good to finally get this functionality in!

Also need to think about apple-touch-icon, msTile stuff, and social sharing image. Not sure if this is all too much for core, but it's definitely too much for the current Appearance page layout. Again, something to think about as part of #746.

Code is a bit rough around the edges, but figured there's not much point in using the command bus properly since #870.
2016-06-04 18:05:46 +09:30
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
David Sevilla Martín
1934d51b8a Changed "Advanced" to "Mail"
+ Added labels above inputs
-  Removed Placeholders
2016-04-23 09:19:02 -04:00
David Sevilla Martín
25b3439d2e Added "Advanced" page on admin & SMTP settings
Refs #258
2016-04-17 09:54:41 -04:00
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
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
Toby Zerner
8a5a3a0624 Improve admin permissions page with icons, visual tweaks 2015-09-22 17:52:16 +09:30
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
2d090f9b3a Prevent admin pane shadow overlapping header on Safari 2015-08-17 14:56:21 +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
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
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
2aa9c2e746 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
Franz Liedke
53d2259f8e Remove obsolete include 2015-06-08 10:00:13 +02:00
Toby Zerner
e00bb42232 Add semibold weight 2015-05-07 06:37:41 +09:30
Toby Zerner
0398ae923e Fix FontAwesome path 2015-05-06 12:12:22 +09:30
Toby Zerner
cddd23bb33 Clean up LESS files 2015-04-25 22:31:30 +09:30
Toby Zerner
8e3186d41c Set up responsive admin layout 2015-03-30 12:46:55 +10:30
Toby Zerner
de10e4457f 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