Franz Liedke
badd2abff4
Use new shortcuts for migrations
2016-03-04 01:11:25 +09:00
Franz Liedke
69ab036bb8
Use new shortcuts for migrations
2016-03-04 01:10:42 +09:00
Franz Liedke
bba105748b
Use new shortcuts for migrations
2016-03-04 01:10:25 +09:00
Toby Zerner
b1e6437148
Merge pull request #3 from wackyMole/moreTags
...
Add [DEL], [COLOR], [SIZE], and [CENTER] tags.
2016-03-03 21:38:18 +10:30
Daniel Klabbers
f1236a90b1
added integration with codecov to track coverage of tests
2016-03-03 11:50:09 +01:00
Toby Zerner
0671c676b4
Merge pull request #843 from Luceos/add-tests
...
adding new tests to cover api handlers
2016-03-03 20:53:15 +10:30
Daniel Klabbers
7e65a7fd5b
adding new tests to cover api handlers, part 1 of #245 and #74
2016-03-03 11:00:11 +01:00
wackyMole
2e96249a66
Add more BBCode tags
2016-03-02 23:22:09 -05:00
Toby Zerner
d5f3987cf7
Fix warning when deleting discussion forever
...
Related to flarum/core#842
2016-03-03 12:53:31 +10:30
Toby Zerner
f1fb33cc55
Fix fatal error when deleting a discussion forever. closes #842
2016-03-03 12:52:53 +10:30
Toby Zerner
4fa89dbb13
Merge pull request #841 from Luceos/drop-ext-dir
...
Refactoring to drop extensions dir, see #774
2016-03-02 18:46:08 +10:30
Daniel Klabbers
c151bc700a
Refactoring to drop extensions dir, see #774
...
satisfy nitpick
2016-03-02 09:04:10 +01:00
Toby Zerner
287bdf10dd
Allow child tags in tile to wrap. fixes flarum/core#613
2016-03-01 16:46:14 +10:30
Toby Zerner
bc12114273
Merge pull request #840 from flarum/analysis-z4xEVE
...
Applied fixes from StyleCI
2016-03-01 14:21:22 +10:30
Toby Zerner
03051f376e
Applied fixes from StyleCI
2016-02-29 22:51:13 -05:00
Franz Liedke
d240d4c0ff
Use new shortcuts for migrations
2016-02-29 23:43:24 +09:00
Toby Zerner
ec0054cace
Prevent tags from overlapping discussion titles
...
This gives the tag labels a max-width in the discussion list, and overflows them with a gradient to transparency. (Unfortunately this only works in WebKit for now.) When hovering over them, they slide out to show more.
Fixes flarum/core#702
2016-02-29 19:00:38 +10:30
Toby Zerner
3b6fc53f91
Update MergeableInterface method arguments
2016-02-29 18:54:25 +10:30
Toby Zerner
8d75ab308c
Update MergeableInterface method arguments
2016-02-29 18:54:11 +10:30
Toby Zerner
c6f0fc0985
Update MergeableInterface method arguments
2016-02-29 18:50:54 +10:30
Toby Zerner
720b960515
Don't require a previous Post when saving event posts
...
A bit of an edge-case since it shouldn't really be possible to have a discussion with zero posts anymore, but when renaming an empty discussion (or taking any action that will create an "event post"), Flarum would crash. This is due to the MergeableInterface requiring these posts to be saved after a previous post.
2016-02-29 18:50:27 +10:30
Toby Zerner
0f3b942c97
Fix crash when sending notification to non-existent user
...
When renaming a discussion, an attempt is made to send a notification to the discussion's author. However, there is no check to see if the user account still exists - this can lead to a crash. While the check should technically be in the initiating code, it will probably slip through the cracks in other scenarios/extensions, so it's probably best that we safe-guard against this in the NotificationSyncer itself.
2016-02-29 18:48:02 +10:30
Toby Zerner
b0b388052a
Fix regressions related to deleting posts
...
- On the front-end, correct the check to see if the discussion has no more posts
- On the back-end, run a query to count the posts instead of using the comments_count, because the comments_count does not include other deleted posts
2016-02-29 18:41:59 +10:30
Toby Zerner
577e51f7ad
Only grant a permission for a sub-tag if that permission is granted for its parent too
...
Previously if a parent tag was restricted but none of its sub-tags were, the sub-tags would be visible and the parent tag would be loaded in the tag list as a result. This adds permission logic so that sub-tags automatically assume the permissions of their parent as a minimum.
Fixes flarum/core#833
2016-02-27 18:06:59 +10:30
Franz Liedke
730a46d885
More indentation cleanup
2016-02-26 13:10:32 +09:00
Toby Zerner
1d697a6318
Merge pull request #27 from flarum/analysis-8wjM79
...
Applied fixes from StyleCI
2016-02-26 14:28:19 +10:30
Toby Zerner
746ecac10a
Applied fixes from StyleCI
2016-02-25 22:58:13 -05:00
Toby Zerner
5d3b0f6f10
Merge pull request #7 from flarum/analysis-zYj0bd
...
Applied fixes from StyleCI
2016-02-26 14:27:49 +10:30
Toby Zerner
9455ca16d1
Applied fixes from StyleCI
2016-02-25 22:57:42 -05:00
Toby Zerner
2582174bae
Merge pull request #8 from flarum/analysis-XlKy2k
...
Applied fixes from StyleCI
2016-02-26 14:27:28 +10:30
Toby Zerner
d9013ae1da
Applied fixes from StyleCI
2016-02-25 22:57:22 -05:00
Toby Zerner
3f1140db13
Merge pull request #3 from flarum/analysis-zOMd7B
...
Applied fixes from StyleCI
2016-02-26 14:27:07 +10:30
Toby Zerner
6a9391d02e
Merge pull request #17 from flarum/analysis-8646ko
...
Applied fixes from StyleCI
2016-02-26 14:27:02 +10:30
Toby Zerner
b59268b856
Applied fixes from StyleCI
2016-02-25 22:56:55 -05:00
Toby Zerner
affe640f03
Merge pull request #5 from flarum/analysis-8QMdZm
...
Applied fixes from StyleCI
2016-02-26 14:26:41 +10:30
Toby Zerner
478450b2ea
Applied fixes from StyleCI
2016-02-25 22:56:35 -05:00
Toby Zerner
47ec802166
Applied fixes from StyleCI
2016-02-25 22:56:19 -05:00
Toby Zerner
e5b64f3ea7
Merge pull request #3 from flarum/analysis-q1bn7v
...
Applied fixes from StyleCI
2016-02-26 14:25:56 +10:30
Toby Zerner
24998653ff
Applied fixes from StyleCI
2016-02-25 22:55:49 -05:00
Toby Zerner
e0aecfce1e
Merge pull request #6 from flarum/analysis-qBMxag
...
Applied fixes from StyleCI
2016-02-26 14:25:43 +10:30
Toby Zerner
861ff6e910
Merge pull request #5 from flarum/analysis-zD2xnl
...
Applied fixes from StyleCI
2016-02-26 14:25:13 +10:30
Toby Zerner
751afe218c
Merge pull request #5 from flarum/analysis-qx0M6M
...
Applied fixes from StyleCI
2016-02-26 14:24:52 +10:30
Toby Zerner
a0af1c842b
Merge pull request #6 from flarum/analysis-z9mlBw
...
Applied fixes from StyleCI
2016-02-26 14:24:37 +10:30
Toby Zerner
869277cb10
Applied fixes from StyleCI
2016-02-25 22:54:28 -05:00
Toby Zerner
f26b1a56da
Merge pull request #3 from flarum/analysis-8bQjba
...
Applied fixes from StyleCI
2016-02-26 14:24:05 +10:30
Toby Zerner
514c0a2221
Merge pull request #2 from flarum/analysis-qor2bK
...
Applied fixes from StyleCI
2016-02-26 14:23:50 +10:30
Toby Zerner
7038737236
Applied fixes from StyleCI
2016-02-25 22:51:15 -05:00
Toby Zerner
3e01c2fee9
Applied fixes from StyleCI
2016-02-25 22:51:14 -05:00
Toby Zerner
bc1d5f9a7a
Applied fixes from StyleCI
2016-02-25 22:51:10 -05:00
Toby Zerner
41952d54fd
Applied fixes from StyleCI
2016-02-25 22:51:09 -05:00