Commit Graph

3406 Commits

Author SHA1 Message Date
Toby Zerner
c3aecbceaa Extract config into database 2015-05-02 08:07:51 +09:30
Toby Zerner
a0ade68d65 Fix pin button active state 2015-04-25 23:26:43 +09:30
Toby Zerner
ac269683ed Merge remote-tracking branch 'upstream/master' 2015-04-25 22:45:27 +09:30
Toby Zerner
52b476dc6b Return more relations when a discussion is created 2015-04-25 22:37:25 +09:30
Toby Zerner
34d150b24b Fix read discussion command action 2015-04-25 22:37:04 +09:30
Toby Zerner
0548ebd54c Allow custom relation to be specified as string 2015-04-25 22:36:34 +09:30
Toby Zerner
8fdc1ba548 Add BootForum event so extensions can add assets 2015-04-25 22:35:41 +09:30
Toby Zerner
b6613dbdc2 Recompile assets every time a file changes 2015-04-25 22:34:56 +09:30
Toby Zerner
a57e3fc028 Use Less_Parser cache feature to speed up LESS generation 2015-04-25 22:34:46 +09:30
Toby Zerner
c6079c53c9 Fix email confirmation route 2015-04-25 22:34:33 +09:30
Toby Zerner
8491c4cbf8 Rename assets directory 2015-04-25 22:34:26 +09:30
Toby Zerner
31ec6f27ce Update some styles for the Mithril app 2015-04-25 22:31:37 +09:30
Toby Zerner
b61017efdc Clean up LESS files 2015-04-25 22:31:30 +09:30
Toby Zerner
b68a4711dc Replace Ember app with Mithril app 2015-04-25 22:28:39 +09:30
Franz Liedke
fe4983af21 Merge pull request #61 from rodrigoargumedo/email
Added a note where if users did not sign up with Flarum.
2015-04-20 23:00:41 +02:00
Rodrigo Argumedo
ccc03ddc93 Update wording of the confirmation email 2015-04-20 10:23:33 -06:00
Rodrigo Argumedo
8087edbc79 Added a note where if users..
did not sign up with Flarum.
2015-04-17 17:49:41 -06:00
Franz Liedke
a4ccc020e7 Fix class name conflict. 2015-04-15 13:44:35 +02:00
Toby Zerner
6f67b8c247 Fix attribute serialisation event mutability 2015-04-03 17:04:59 +10:30
Toby Zerner
0bcaaaa9b9 Add an event to modify search queries 2015-04-03 17:04:41 +10:30
Toby Zerner
3d9c99ef69 Call action with correct context 2015-04-03 17:00:18 +10:30
Toby Zerner
cf8e4b9913 Make badge icons not blurry by making sure they can centre accurately 2015-04-03 16:59:50 +10:30
Toby Zerner
eef16ec8cc Merge pull request #56 from Allineer/unneeded-gitkeeps-squashed
Remove unneeded .gitkeep's
2015-04-01 09:17:11 +10:30
Maksim Knyshov
1bd69f80c7 Remove unneeded .gitkeep's 2015-03-31 22:38:15 +03:00
Toby Zerner
6898e0acbb Refactor Flarum\Web and Flarum\Admin
- In order to be consistent with the Ember/LESS naming scheme, renamed
Flarum\Web to Flarum\Forum.
- Moved common classes into Flarum\Support so that Flarum\Admin doesn’t
depend on Flarum\Forum. Also moved Actor into Flarum\Support as it
doesn’t belong in the domain.
2015-03-30 16:17:04 +10:30
Toby Zerner
fc4da97b80 Don't ignore FontAwesome fonts 2015-03-30 15:50:36 +10:30
Toby Zerner
7beeddd991 Fix Ember test loaders 2015-03-30 15:50:05 +10:30
Toby Zerner
8e0a27de49 Oops 2015-03-30 12:56:41 +10:30
Toby Zerner
3b4beaa6ca "See" a user on the initial page load too 2015-03-30 12:55:39 +10:30
Toby Zerner
9ae5563947 Set up responsive admin layout 2015-03-30 12:46:55 +10:30
Toby Zerner
d64ca6bce3 Extract .side-nav into a common file 2015-03-30 12:45:48 +10:30
Toby Zerner
a43957e1e2 Don't allow guests into the admin area 2015-03-30 12:43:55 +10:30
Toby Zerner
1286a52e1d Document placeholder CSS files, remove LESS dependency 2015-03-30 10:47:40 +10:30
Toby Zerner
7051b608a0 Update administration page title 2015-03-30 10:42:13 +10:30
Toby Zerner
f0380153de Make sidepane pinned by default 2015-03-30 10:25:02 +10:30
Toby Zerner
09089ddbf8 Get ember-cli to watch the flarum-common addon for changes by linking it 2015-03-29 23:05:32 +10:30
Toby Zerner
edf530be67 Update current state, installation instructions 2015-03-29 22:36:05 +10:30
Toby Zerner
3886efffef Turns out putting a . there breaks Laravel 2015-03-29 22:27:37 +10:30
Toby Zerner
40a6d77e74 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
Toby Zerner
950d2f0eb9 Move forum ember app into a subdir, preparing for admin app to exist alongside 2015-03-28 19:10:52 +10:30
Toby Zerner
62d26e8e0a Upgrade dependencies, fix ember-data problems 2015-03-28 18:20:38 +10:30
Toby Zerner
502fd14b50 Precompile inline templates
Removing the in-browser compiler will save up to 30 kB (after
minification + gzipping) and boost startup performance. Win!
2015-03-28 17:37:41 +10:30
Toby Zerner
5028f6e877 Don't toggle a cell if it's disabled 2015-03-28 16:31:36 +10:30
Toby Zerner
52a7b536c4 Fix scope removal of bindings 2015-03-28 16:31:26 +10:30
Toby Zerner
4f93a626ea Fix row/column toggle background coloring 2015-03-28 15:47:36 +10:30
Toby Zerner
88f47e6017 Disable notification type/method combinations that are not available 2015-03-28 15:43:58 +10:30
Toby Zerner
bc9be30a02 More powerful/extensible notifications
- Notifications can be delivered in multiple ways (alert, email)
- Different notification types can implement interfaces to allow
themselves to be delivered in these various ways
- User preferences for each notification type/method combination are
automatically registered
2015-03-28 15:43:58 +10:30
Toby Zerner
49c3fa09e6 Change "renamed" post type to more descriptive "discussionRenamed" 2015-03-28 15:43:58 +10:30
Toby Zerner
89eca757e6 Give MappedMorphTo a more generic property name 2015-03-28 15:43:58 +10:30
Toby Zerner
f90a2b9271 Clean up user nav items 2015-03-28 15:43:58 +10:30