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

8468 Commits

Author SHA1 Message Date
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
Toby Zerner
1fdac619ba Use valid date (according to Illuminate Validator) for indefinite suspension 2016-02-24 16:07:50 +10:30
Toby Zerner
a87b51f511 Only validate and check for suspend permission if suspendUntil attribute is present. fixes flarum/core#826 2016-02-24 16:07:05 +10:30
Franz Liedke
b656f6f54c Recompile JS 2016-02-23 10:15:43 +09:00
Franz Liedke
d97ad5f32c Use variable instead of closure 2016-02-23 10:11:43 +09:00
Toby Zerner
1314f6edf3 Merge pull request #16 from Luceos/newlines
unnecessary newlines with empty composer
2016-02-23 08:09:19 +10:30
Daniel Klabbers
da59430cb7 fixes flarum/core#781 adding unnecessary newlines with empty composer
fixing indentation
2016-02-22 22:22:51 +01:00
Toby Zerner
61a0523e12 Fix crash when displaying a discussion with no posts. closes #823 2016-02-22 22:22:49 +10:30
Toby Zerner
88bbd8ef3b Trigger autocomplete when : follows a newline too 2016-02-22 21:51:24 +10:30
Toby Zerner
6e414568db Merge pull request #4 from sijad/emoji-popup
Improve emoji popup
2016-02-22 21:46:03 +10:30
Toby Zerner
7b0c318dc9 Condense into value/oninput into bidi 2016-02-22 21:22:18 +10:30
Toby Zerner
a979338ccb Merge pull request #811 from sijad/firefox-fix
Fix login box autocomplete in firefox
2016-02-22 21:09:18 +10:30
Toby Zerner
f0f668938a Merge pull request #6 from Luceos/validation_fix
fixed validation the date instead of integers
2016-02-21 16:45:53 +10:30
Daniel Klabbers
5119dbca91 fixed validation the date instead of integers
satisfying nitpick
2016-02-19 10:52:32 +01:00
Franz Liedke
e376b74236 Merge pull request #817 from flarum/revert-813-typehint
Revert "typehint fix, opening for implementation"
2016-02-18 17:35:17 +01:00
Franz Liedke
44586ed4c2 Revert "typehint fix, opening for implementation" 2016-02-18 17:33:34 +01:00
Franz Liedke
fe6c3b9ea5 Merge pull request #813 from Luceos/typehint
typehint fix, opening for implementation
2016-02-17 16:12:15 +01:00
Daniel Klabbers
f9419926a5 typehint fix, opening for implementation 2016-02-17 13:34:13 +01:00
Sajjad Hasehmian
d49f8164f9 Fix login box autocomplete 2016-02-16 21:08:45 +03:30
Sajjad Hasehmian
37efc0c6a7 Update Autocomplete comments 2016-02-15 14:05:35 +03:30
Toby Zerner
28b5ab620b Merge pull request #787 from sijad/401-page
401 for unauthorised request to settings, notifications page
2016-02-15 21:04:39 +10:30
Daniël Klabbers
6e0715e822 Merge pull request #801 from Luceos/extension_fix
Extension fix
2016-02-14 22:18:08 +01:00
Daniel Klabbers
ef83a4681b fixes #800, forgot these controllers 2016-02-13 20:33:33 +01:00
Daniel Klabbers
5179d2eb52 fixes #799, now properly assigning a id 2016-02-13 20:32:46 +01:00
Sajjad Hasehmian
15a87c55eb improve emoji popup 2016-02-12 20:11:30 +03:30
Sajjad Hasehmian
28ed01ffcc 401 for unauthorised request to settings, notifications page fixes #714 2016-02-11 09:59:01 +03:30
Toby Zerner
fb67393f81 Use correct validation rules for description. closes flarum/core#793 2016-02-11 08:59:30 +10:30
Franz Liedke
ab920bab05 Fix typo 2016-02-10 15:20:52 +01:00