1
0
mirror of https://github.com/flarum/core.git synced 2025-08-28 10:30:54 +02:00
Commit Graph

8781 Commits

Author SHA1 Message Date
Toby Zerner
b62e25218a Merge pull request #844 from Luceos/codecov
added integration with codecov to track coverage of tests
2016-03-21 20:19:15 +10:30
Franz Liedke
e3ddb8149d Make console command descriptions consistent 2016-03-20 23:16:08 +09:00
Franz Liedke
f2997322b0 Get rid of some repetition 2016-03-20 23:15:26 +09:00
Franz Liedke
fba4d982ba Add first, basic version of info command
This will hopefully help in debugging some problems.
2016-03-20 23:12:20 +09:00
Franz Liedke
a6ecba220a Do not use model classes in the migrations
See 28f43f805c
2016-03-20 22:48:18 +09:00
Franz Liedke
95ea40a7c4 Do not use model classes in the migrations
The model classes encapsulate knowledge about the database that
may change. That knowledge may be table names, or the value of
constants (such as `Group::MEMBER_ID` in this case).

Models may even disappear after a while due to refactorings.

In all these cases, this migration would break. Thus, we use
Laravel's query builder features which makes building queries
almost as easy as using the model - but correct in all cases. :-)
2016-03-20 22:40:42 +09:00
Franz Liedke
e15653de1c Composer: Sort dependencies alphabetically 2016-03-20 22:27:43 +09:00
Franz Liedke
efb0e7e2b1 Update to latest version of text-formatter 2016-03-20 22:25:45 +09:00
Toby Zerner
42e1bd9e43 Merge pull request #882 from flarum/analysis-8PxnZR
Applied fixes from StyleCI
2016-03-20 20:37:03 +10:30
Toby Zerner
2c27b5c6d7 Applied fixes from StyleCI 2016-03-20 06:06:43 -04:00
Franz Liedke
68759bbc4a AbstractOAuth2Controller: Store provider and token in class properties
This way, they are available for subclasses to access them in one of
the template methods.

Refs #673.
2016-03-18 22:22:35 +09:00
Franz Liedke
f13956d94b Fix JSON serialization error on PHP 7
Closes #685.

Thanks to @sijad.
2016-03-18 21:11:54 +09:00
Toby Zerner
3a8b11e389 Extract sortMap variable
Also revert previous uncommitted change in dist file
2016-03-18 10:06:58 +10:30
Toby Zerner
3d49fc1315 Prevent users from being incorrectly able to delete their own discussions 2016-03-18 09:39:41 +10:30
Toby Zerner
087ab3fa1f Lighten discussion list hover color
When the list is shown in the side-pane, the background of the currently-selected discussion is the @control-bg. The hover color shouldn't be quite as strong as that.
2016-03-18 09:38:37 +10:30
Toby Zerner
1a95764909 Fix "sort by" dropdown being empty
Must be something in the latest version of Chrome that caused this to start being a problem, because @franzliedke started experiencing it a few days ago, and I only just experienced it for the first time yesterday.
2016-03-18 09:37:25 +10:30
Toby Zerner
41f48deddc Fix regression with maintenance of scroll position when jumping between discussion list filters 2016-03-18 09:36:09 +10:30
Toby Zerner
0211e4539c Remove unmaintained changelog
We will look at reintroducing once out of beta.
2016-03-18 09:34:48 +10:30
Toby Zerner
eb975802ea Remove unmaintained changelog 2016-03-18 09:34:22 +10:30
Toby Zerner
19bf6667f0 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:34:13 +10:30
Toby Zerner
2dcab6f4e4 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:34:02 +10:30
Toby Zerner
700cc15e20 Remove unmaintained changelog 2016-03-18 09:33:55 +10:30
Toby Zerner
793bc3ca12 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:33:41 +10:30
Toby Zerner
fe90e5d6a5 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:33:31 +10:30
Toby Zerner
bc548a60a6 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:33:23 +10:30
Toby Zerner
febf4356c0 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:33:14 +10:30
Toby Zerner
06008cf2e1 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:33:05 +10:30
Toby Zerner
10e929f2dc Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:32:57 +10:30
Toby Zerner
dccbece380 Remove unmaintained changelog 2016-03-18 09:32:48 +10:30
Toby Zerner
a16dc26164 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:32:41 +10:30
Toby Zerner
2a21671b47 Remove unmaintained changelog 2016-03-18 09:32:29 +10:30
Toby Zerner
fe194a097e Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:32:03 +10:30
Toby Zerner
7e0c200444 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:31:50 +10:30
Toby Zerner
864b696f38 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:31:17 +10:30
Toby Zerner
8f0393fd24 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:31:06 +10:30
Toby Zerner
b45bd3a581 Upgrade to flarum-gulp 0.2.0 / Babel 6 2016-03-18 09:31:01 +10:30
Franz Liedke
f7e2e14909 Merge pull request #858 from sijad/update-mithril
Update Mithril
2016-03-16 10:11:05 +09:00
Sajjad Hasehmian
cba1868d9f Update Mithril 2016-03-16 00:48:01 +03:30
Franz Liedke
3965b3e3d0 Added cluster for ext-pusher
Missing translation from flarum/flarum-ext-pusher#6.

Thanks, @Luceos.
2016-03-14 20:05:57 +09:00
Toby Zerner
4037fb566c Increase avatar upload max file size 2016-03-14 09:25:02 +10:30
Toby Zerner
fafe478b45 Merge pull request #66 from maelsoucaze/patch-1
Add some new Laravel's validation rules.
2016-03-13 14:19:15 +10:30
Maël Soucaze
49ab64960f Add some new Laravel's validation rules.
Refers to:
- ef6b5a6343
- fa6c48d27c
- c36799ddde
- 789c75c24a
2016-03-13 02:28:48 +01:00
Toby Zerner
8888fb2586 Add missing super.init calls 2016-03-11 13:45:38 +10:30
Toby Zerner
cf6bab926d Merge pull request #18 from sijad/access-check
Check access before send Mention notification
2016-03-11 13:33:18 +10:30
Toby Zerner
94cfc5e535 Extend Page component to take advantage of performance boost in flarum/core@d1c436c 2016-03-11 13:21:53 +10:30
Toby Zerner
9e9ef6fe0f Dramatically improve performance when typing in a modal
Since Mithril doesn't really offer granular redraw control, typing in a text input on a modal would trigger a redraw for the whole page (including the page content behind the modal) on every keystroke. This commit allows components to be "paused" so that their vdom subtree will be retained instead of reconstructed on subsequent redraws. When a modal is opened, we pause the main page component, and when it's closed, we unpause it. This means that while a modal is visible, only the content inside of the modal will be redrawn, dramatically improving performance.
2016-03-11 13:18:16 +10:30
Toby Zerner
f567f7dd5b Update translations for sudo mode removal (flarum/core#674) 2016-03-11 12:45:29 +10:30
Toby Zerner
e46878902a Remove sudo mode and add password confirmation when changing email address
closes #674
2016-03-11 12:44:18 +10:30
Toby Zerner
a51f94deda Fixes to cluster setting
- Use the cluster setting when connecting to Pusher from the server-side
- Remove incorrect default value for the setting as it is serialized
2016-03-11 12:34:50 +10:30
Toby Zerner
c95dbc0cb4 Remove white border from badges, decrease overlap 2016-03-11 12:01:47 +10:30