Toby Zerner
6ae270db95
Remove duplicates; replace missing commas
2015-07-17 17:47:53 +09:30
Toby Zerner
51946a069f
Throw error to console if app fails to boot
2015-07-17 17:43:51 +09:30
Toby Zerner
f93ff7cb3f
Make front-end localizable
2015-07-17 17:43:28 +09:30
Toby Zerner
7e75eb16ff
Add them back
2015-07-17 15:05:34 +09:30
Toby Zerner
ea29bd42d8
Merge remote-tracking branch 'origin/master'
2015-07-17 15:05:03 +09:30
Toby Zerner
12caded0c9
Temporarily remove some files
...
Git is playing up and won't let me push.
2015-07-17 15:04:55 +09:30
Toby Zerner
bc750c8694
Fix login action
2015-07-17 14:48:24 +09:30
Toby Zerner
e3bfa8e404
Fix notifications
2015-07-17 14:48:20 +09:30
Toby Zerner
6fa4d25a5b
Fix forgot password action
2015-07-17 14:48:06 +09:30
Toby Zerner
a9ded36b57
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
fab9bdb0ef
Remove unused import
2015-07-16 00:44:02 +02:00
Franz Liedke
48c5574c66
Try to fix some namespace imports
2015-07-16 00:43:49 +02:00
Franz Liedke
9af1519864
Rename import command
2015-07-16 00:38:27 +02:00
Franz Liedke
6b3a86dd87
Move extension loading to boot method
...
This will likely have to be reverted, to make things like $this->app->extend() work
reasonably well in extensions' service providers.
For now, since we fetch the enabled extensions from the config, there is no other way
for us to guarantee that the config is already available.
2015-07-16 00:36:14 +02:00
Franz Liedke
c2bf0b6b3a
Inject SettingsRepository where possible
2015-07-16 00:32:50 +02:00
Franz Liedke
31e9f44dfb
Rename caching setting repository implementation
...
I'm foreseeing another implementation that uses real caching (across requests).
2015-07-16 00:10:52 +02:00
Franz Liedke
6a7889934c
Register database and cache implementations as binding for the settings repository
2015-07-15 23:54:56 +02:00
Franz Liedke
1675d26723
Run PhpSpec on TravisCI
2015-07-15 23:52:03 +02:00
Franz Liedke
1b39d85a7b
Write some specs for settings cache repository
2015-07-15 23:51:02 +02:00
Franz Liedke
8a1b2fcede
Install PhpSpec
2015-07-15 23:47:30 +02:00
Franz Liedke
ba3fa73f16
Build a caching repository decorator for settings
2015-07-15 23:22:25 +02:00
Franz Liedke
8e9cf4fd2e
Move settings repositories to own namespace
...
Also add a third method to the contract. This will help with building a caching decorator.
2015-07-15 23:16:57 +02:00
Toby Zerner
76678f72f2
Case-sensitive filename changes
2015-07-15 15:54:34 +09:30
Toby Zerner
88b754ee8d
Don't include deleted notifications in the unread count
2015-07-15 14:01:11 +09:30
Toby Zerner
0bb00e4eb2
Fix broken user activity syncer
2015-07-15 14:01:11 +09:30
Toby Zerner
ab6c03c0cc
Massive JavaScript cleanup
...
- Use JSX for templates
- Docblock/comment everything
- Mostly passes ESLint (still some work to do)
- Lots of renaming, refactoring, etc.
CSS hasn't been updated yet.
2015-07-15 14:01:11 +09:30
Franz Liedke
4480e0a83f
Update JSON-API lib
2015-07-09 21:47:36 +02:00
Toby Zerner
9fa3492c0e
Clean up discussion model
2015-07-08 10:51:30 +09:30
Toby Zerner
a74623c718
Make admin open in a new window
2015-07-08 10:51:16 +09:30
Toby Zerner
42f1fa1272
Improve fulltext search API and interface
2015-07-07 20:35:18 +09:30
Toby Zerner
38c2ff0306
Finish client action refactoring. closes flarum/core#126
2015-07-07 19:23:13 +09:30
Toby Zerner
8a54b362c7
Add todos to document magic properties on models
2015-07-07 19:20:18 +09:30
Toby Zerner
4c5cf96b95
Fix discussion search result suggestion excerpts
...
So that they show the relevant part of the post
2015-07-07 16:16:20 +09:30
Toby Zerner
013d11554d
Add discussion list refresh button
...
Closes flarum/core#139 . Haven’t done pull to refresh yet though, but
that can come later.
2015-07-07 15:32:08 +09:30
Toby Zerner
ef213cd8b2
Allow user avatar hover over empty badge space
2015-07-07 15:31:15 +09:30
Toby Zerner
e1a65380ef
Tweak discussion list styles some more
2015-07-07 15:30:48 +09:30
Toby Zerner
54daad6e7d
CSRF protection on logout action
2015-07-07 15:30:13 +09:30
Toby Zerner
99876e9e36
Initial refactor of client actions, data preloading, SEO
...
An initial stab at flarum/core#126 . Still WIP. Preliminary
implementation of flarum/core#128 and flarum/core#13 .
2015-07-07 15:29:21 +09:30
Toby Zerner
fcc5aa17ea
Tweak discussion list contextual controls
2015-07-07 09:21:43 +09:30
Toby Zerner
c06639fdc8
This should've been with the last commit
...
I blame GitHub for Mac again :]
2015-07-07 09:21:27 +09:30
Toby Zerner
0887834256
Tweak discussion list reply/unread count
2015-07-06 16:34:20 +09:30
Toby Zerner
5fe88e448e
Improve post stream
...
- Return all discussion post IDs from API requests which add/remove
posts, so the post stream updates appropriately. Related to #146
- Always unload posts that are two pages away, no matter how fast
you’re scrolling
- Retrieve posts from cache instead of reloading them
- Fix various bugs. Maybe #152 , needs confirmation
2015-07-06 16:26:27 +09:30
Toby Zerner
746df7e3ad
Allow some more globals in eslint
2015-07-06 15:50:39 +09:30
Toby Zerner
01ec661c3f
PSR-2 fixes
2015-07-05 21:46:57 +09:30
Toby Zerner
b792fd2efd
Add JavaScript eslint config
...
Forked from Airbnb (https://github.com/airbnb/javascript )
To run:
npm install -g eslint babel-eslint
eslint .
2015-07-05 21:25:09 +09:30
Toby Zerner
85049feb26
Speed up Travis builds
...
http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-
infrastructure/
2015-07-05 21:22:51 +09:30
Toby Zerner
330e60871a
Fix read tracking not working
2015-07-05 13:58:07 +09:30
Toby Zerner
31474764ee
Fix post scrubber unread indicator overflow
2015-07-05 13:53:06 +09:30
Toby Zerner
1d21670663
New look for discussion reply/unread count
...
Also decrease the max page width by 100px
2015-07-05 13:52:46 +09:30
Toby Zerner
873088750f
Remove Interface suffix from some classes
2015-07-05 12:30:23 +09:30