Toby Zerner
a0f8ef34f7
Temporarily remove some files
...
Git is playing up and won't let me push.
2015-07-17 15:04:55 +09:30
Toby Zerner
6c6cc111fd
Fix login action
2015-07-17 14:48:24 +09:30
Toby Zerner
1cde3d7242
Fix notifications
2015-07-17 14:48:20 +09:30
Toby Zerner
54ab536f96
Fix forgot password action
2015-07-17 14:48:06 +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
Toby Zerner
0b685b1036
Case-sensitive filename changes
2015-07-15 15:54:34 +09:30
Toby Zerner
4508813638
Don't include deleted notifications in the unread count
2015-07-15 14:01:11 +09:30
Toby Zerner
396a01cc32
Fix broken user activity syncer
2015-07-15 14:01:11 +09:30
Toby Zerner
1c7653e79e
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
e1ed1ec7e6
Update JSON-API lib
2015-07-09 21:47:36 +02:00
Toby Zerner
5aca956af7
Clean up discussion model
2015-07-08 10:51:30 +09:30
Toby Zerner
5cfb870202
Make admin open in a new window
2015-07-08 10:51:16 +09:30
Toby Zerner
5e982a39c5
Improve fulltext search API and interface
2015-07-07 20:35:18 +09:30
Toby Zerner
662a4dc54f
Finish client action refactoring. closes flarum/core#126
2015-07-07 19:23:13 +09:30
Toby Zerner
f17c3a2778
Add todos to document magic properties on models
2015-07-07 19:20:18 +09:30
Toby Zerner
e62093f4dd
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
85cd2663e3
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
d64e8746da
Allow user avatar hover over empty badge space
2015-07-07 15:31:15 +09:30
Toby Zerner
09d70c2264
Tweak discussion list styles some more
2015-07-07 15:30:48 +09:30
Toby Zerner
c6e297e849
CSRF protection on logout action
2015-07-07 15:30:13 +09:30
Toby Zerner
23eec806e6
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
c7383601e2
Tweak discussion list contextual controls
2015-07-07 09:21:43 +09:30
Toby Zerner
0f561921b2
This should've been with the last commit
...
I blame GitHub for Mac again :]
2015-07-07 09:21:27 +09:30
Toby Zerner
dfe1cd90c2
Tweak discussion list reply/unread count
2015-07-06 16:34:20 +09:30
Toby Zerner
eee5133d6e
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
a70fff881d
Allow some more globals in eslint
2015-07-06 15:50:39 +09:30
Toby Zerner
6fe1c73a49
PSR-2 fixes
2015-07-05 21:46:57 +09:30
Toby Zerner
9e58a30e16
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
a686283256
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
cadf979ed3
Fix read tracking not working
2015-07-05 13:58:07 +09:30
Toby Zerner
663c4b4837
Fix post scrubber unread indicator overflow
2015-07-05 13:53:06 +09:30
Toby Zerner
b72533d9a0
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
7cf0fefbbe
Remove Interface suffix from some classes
2015-07-05 12:30:23 +09:30
Toby Zerner
ebce765075
Remove todo
2015-07-05 12:25:51 +09:30
Toby Zerner
c55cc1bd1a
Extract model validation into a trait
...
Also use Laravel’s ValidationException rather than our own custom one
2015-07-05 12:25:08 +09:30
Toby Zerner
f3c4b24ad4
Move Group to its own namespace
...
We’ll need to add commands etc. for group management in the future
2015-07-04 19:30:58 +09:30
Toby Zerner
ab78546349
Don't error if trying to serialise a non-existent relationship
2015-07-04 18:39:43 +09:30
Toby Zerner
f134345be1
Get rid of Repository interfaces
2015-07-04 18:38:59 +09:30
Toby Zerner
59352dbbb7
Merge
2015-07-04 12:28:50 +09:30
Toby Zerner
ee424903f9
Give badges a bit of a shadow
2015-07-04 12:25:33 +09:30
Toby Zerner
f4ab018e2e
Clean up
...
Goddammit GitHub for Mac
2015-07-04 12:25:21 +09:30
Toby Zerner
41c5ed0acb
Massive refactor
...
- Use contextual namespaces within Flarum\Core
- Clean up and docblock everything
- Refactor Activity/Notification blueprint stuff
- Refactor Formatter stuff
- Refactor Search stuff
- Upgrade to JSON-API 1.0
- Removed “addedPosts” and “removedPosts” relationships from discussion
API. This was used for adding/removing event posts after renaming a
discussion etc. Instead we should make an additional request to get all
new posts
Todo:
- Fix Extenders and extensions
- Get rid of repository interfaces
- Fix other bugs I’ve inevitably introduced
2015-07-04 12:24:48 +09:30
Franz Liedke
db062e373b
Some things should not be run when Flarum is not installed yet
2015-07-02 23:14:25 +02:00
Franz Liedke
5b7dafa0af
Add settings repository interface and database implementation.
...
Almost done with flarum/core#121 now.
2015-07-01 23:08:26 +02:00
Franz Liedke
c7226d1543
Read debug mode from config
2015-07-01 22:49:38 +02:00
Franz Liedke
ba776bb20f
Fix login
...
We cannot write to an empty response.
2015-07-01 22:45:14 +02:00
Franz Liedke
1e640ba632
Get rid of JsonApiResponse class
...
With the JSON-API library being updated, we can just make use of
Diactoros' JSON response class.
2015-07-01 20:58:14 +02:00
Franz Liedke
ccfc176067
Update JSON-API dependency
2015-07-01 20:57:37 +02:00
Franz Liedke
fc55481768
Switch to stable version constraints where possible
2015-07-01 20:50:41 +02:00
Toby Zerner
2cd279176d
Not sure how these got in here...
2015-07-01 22:47:57 +09:30