1
0
mirror of https://github.com/flarum/core.git synced 2025-08-25 09:22:52 +02:00
Commit Graph

8745 Commits

Author SHA1 Message Date
Toby Zerner
a70e9621aa Applied fixes from StyleCI 2016-02-25 22:51:02 -05:00
Toby Zerner
5039e30d99 Add StyleCI config 2016-02-26 14:03:08 +10:30
Toby Zerner
a16b531fbc Add StyleCI config 2016-02-26 14:03:03 +10:30
Toby Zerner
155474d275 Add StyleCI config 2016-02-26 14:02:57 +10:30
Toby Zerner
648cad1a38 Add StyleCI config 2016-02-26 14:02:50 +10:30
Toby Zerner
8dcb680576 Add StyleCI config 2016-02-26 14:02:44 +10:30
Toby Zerner
331a48be66 Add StyleCI config 2016-02-26 14:02:36 +10:30
Toby Zerner
21c4fff41c Add StyleCI config 2016-02-26 14:02:29 +10:30
Toby Zerner
aab6d5bda7 Add StyleCI config 2016-02-26 14:02:21 +10:30
Toby Zerner
048bc884ff Add StyleCI config 2016-02-26 14:02:14 +10:30
Toby Zerner
b54d8713b4 Add StyleCI config 2016-02-26 14:02:07 +10:30
Toby Zerner
d3018a1fc3 Add StyleCI config 2016-02-26 14:01:58 +10:30
Toby Zerner
98e7878539 Add StyleCI config 2016-02-26 14:01:52 +10:30
Toby Zerner
c86ac304b4 Add StyleCI config 2016-02-26 14:01:42 +10:30
Toby Zerner
601169e6e9 Add StyleCI config 2016-02-26 14:01:11 +10:30
Toby Zerner
bac0b84b88 Add validation message for username regex rule
See flarum/core@445517ee84
2016-02-26 14:00:03 +10:30
Toby Zerner
b461f157ca Use regex for username validation
Laravel's alpha_dash rule allows unicode letters including those with inflections, leading to issues like #832. As per discussion in #557, we are sticking with ASCII-only usernames for now.
2016-02-26 13:59:05 +10:30
Franz Liedke
bc95ab8ae1 Improve alignment of string 2016-02-26 12:20:37 +09:00
Toby Zerner
32519c47de Merge pull request #3 from flarum/analysis-zGDx6r
Applied fixes from StyleCI
2016-02-26 13:49:24 +10:30
Toby Zerner
32625c258f Applied fixes from StyleCI 2016-02-25 22:19:12 -05:00
Toby Zerner
29d443eabc Add StyleCI config 2016-02-26 13:47:54 +10:30
Toby Zerner
49ea5d7923 Simplify StyleCI config 2016-02-26 13:47:17 +10:30
Toby Zerner
556755ee8c Merge pull request #831 from flarum/analysis-qvQMPx
Applied fixes from StyleCI
2016-02-26 13:40:39 +10:30
Toby Zerner
63c355c20d Applied fixes from StyleCI 2016-02-25 22:09:39 -05:00
Toby Zerner
5fe8e6cd9a Fix StyleCI misconfiguration error
> The provided fixer 'unalign_double_arrow' cannot be disabled unless it was already enabled by your preset.
2016-02-26 13:36:19 +10:30
Toby Zerner
9e882d8023 Add StyleCI config 2016-02-26 13:35:09 +10:30
Toby Zerner
2f187dfd65 Delete a discussion when its last post is deleted. fixes #823 2016-02-26 13:26:09 +10:30
Toby Zerner
f375fd9241 Revert #687 + #197. fixes #785
Unfortunately we have no way to calculate the number of comment posts that are previous to the current viewing position of the discussion, without loading all of the posts which is going to be too expensive (even if we do it selectively somehow).
2016-02-26 13:11:52 +10:30
Toby Zerner
f6c3834b32 Recompile admin JS 2016-02-26 12:50:03 +10:30
Toby Zerner
3148f175cf Refactor Composer rendering for smoother animations
Also fixes a couple of miscellaneous bugs:
- Minimise the Composer when clicking the preview button in full-screen mode on desktop.
- Minimise the Composer when clicking the link to the discussion/post in the header on mobile/full-screen mode.
2016-02-26 12:49:49 +10:30
Toby Zerner
f494b8369d Fix color validation regex. closes flarum/core#827 2016-02-26 10:41:19 +10:30
Franz Liedke
1cbab36fda Just a tad of cleanup 2016-02-25 23:29:55 +09:00
Daniel Klabbers
3f4b880e77 refactoring to support array closures migrations and fixed issues with previous pr for extension rewriting 2016-02-25 23:26:10 +09:00
Franz Liedke
9c7523e3b1 Use the new migration shortcuts in most of core's migrations 2016-02-25 00:50:54 +09:00
Franz Liedke
14042bedaf Add some handy shortcuts for typical migration tasks
This will make it much easier for extension developers (and also less
error-prone) to create migrations for things like creating tables,
renaming columns and so on...
2016-02-25 00:50:03 +09:00
Franz Liedke
ceda88d701 Add another missing copyright header 2016-02-24 23:31:04 +09:00
Franz Liedke
b2b3e8ff89 Remove obsolete AbstractMigration class 2016-02-24 23:22:52 +09:00
Franz Liedke
0411cc5137 Update generate:migration command to deal with new migration structure 2016-02-24 23:20:33 +09:00
Franz Liedke
dd92088b5c Use new migration format 2016-02-24 23:14:20 +09:00
Franz Liedke
3bfd9b7fea Use new migration format 2016-02-24 23:14:03 +09:00
Franz Liedke
45b11ece68 Use new migration format 2016-02-24 23:13:53 +09:00
Franz Liedke
ead84c29c5 Use new migration format 2016-02-24 23:13:39 +09:00
Franz Liedke
f270a609cb Use new migration format 2016-02-24 23:13:28 +09:00
Franz Liedke
01a1140057 Use new migration format 2016-02-24 23:12:58 +09:00
Franz Liedke
5102a0d97b Use new migration format 2016-02-24 23:12:49 +09:00
Franz Liedke
e62dd6a3a1 Use new migration format 2016-02-24 23:12:36 +09:00
Franz Liedke
272d59c6d4 Use new migration format 2016-02-24 23:11:26 +09:00
Franz Liedke
3188e2119e Use new migration format 2016-02-24 23:11:07 +09:00
Franz Liedke
14ecd325e1 Add two missing copyright headers 2016-02-24 22:25:09 +09:00
Franz Liedke
98546801bc Revamp migration structure
They are now simply files that return an array of closures, for
running the named "up" and "down" actions, respectively.

Related to #732.
2016-02-24 22:23:49 +09:00