1
0
mirror of https://github.com/flarum/core.git synced 2025-08-26 01:34:16 +02:00
Commit Graph

8867 Commits

Author SHA1 Message Date
Toby Zerner
392200ef3b Clean up linting stuff 2016-03-10 17:22:11 +10:30
Toby Zerner
ad80f1bc1e Clean up linting stuff 2016-03-10 17:22:05 +10:30
Toby Zerner
8aa6f60994 Clean up linting stuff 2016-03-10 17:21:31 +10:30
Toby Zerner
4352b025d5 Clean up linting stuff 2016-03-10 17:21:10 +10:30
Toby Zerner
5ff97f53ff Clean up linting stuff 2016-03-10 17:21:02 +10:30
Toby Zerner
001c21c329 Clean up linting stuff. closes #852 2016-03-10 17:13:30 +10:30
Franz Liedke
7e872cc213 Whoopsie, fix syntax error 2016-03-08 00:05:53 +09:00
Franz Liedke
fdcf1f12ad Use new shortcut for default settings migration 2016-03-08 00:04:42 +09:00
Franz Liedke
a1f8651894 Add another migration shortcut for defining default settings 2016-03-08 00:02:33 +09:00
Toby Zerner
d8cbe8a440 Update subscriptions setting translation; remove unused translation 2016-03-07 23:05:59 +10:30
Peter Mein
689d139ca3 Add setting to automatically follow after reply. closes flarum/core#310 2016-03-07 23:01:34 +10:30
Toby Zerner
b2e21f1dfc Use new composer method 2016-03-07 22:22:06 +10:30
Toby Zerner
87c98b49e7 Remove old file 2016-03-07 22:21:36 +10:30
Sajjad Hasehmian
6f39123bad Check access before send Mention notification 2016-03-04 13:53:15 +03:30
Toby Zerner
c05f598dd0 Merge pull request #846 from sijad/extension-path
Remove 'extensions' path for writable check
2016-03-04 17:04:01 +10:30
Sajjad Hasehmian
979fef1163 Remove 'extensions' path for writable check 2016-03-04 09:55:40 +03:30
Franz Liedke
3a2699a7bf Use new shortcuts for migrations 2016-03-04 01:12:58 +09:00
Franz Liedke
bd6ef05bb1 Use new shortcuts for migrations 2016-03-04 01:12:47 +09:00
Franz Liedke
da664d1624 Use new shortcuts for migrations 2016-03-04 01:12:30 +09:00
Franz Liedke
ec3db146fc Use new shortcuts for migrations 2016-03-04 01:12:03 +09:00
Franz Liedke
f529f24aec Use new shortcuts for migrations 2016-03-04 01:11:49 +09:00
Franz Liedke
af76eff949 Use new shortcuts for migrations 2016-03-04 01:11:39 +09:00
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