Alexander Skvortsov
c0aa73f01a
Update mdarea to v1.0.1 ( #20 )
...
* Update mdarea to v1.0.1
2020-08-16 20:43:45 -04:00
Qiaeru
47233ba7a8
Strings containing specific characters must be quoted ( #169 )
...
Please see: https://symfony.com/doc/current/components/yaml/yaml_format.html#strings
2020-08-16 19:12:42 -04:00
flarum-bot
f6f92f9713
Bundled output for commit e0bc3e9ce4
[skip ci]
2020-08-16 20:36:13 +00:00
Matteo Contrini
e0bc3e9ce4
Fix number abbreviation when the number is n-thousand ( #2261 )
...
This commit fixes the method `abbreviateNumber` so that it behaves as stated in the JSDoc.
Previously, an input of `1234` would have produced `1K`. With this change, the output will be `1.2K`.
2020-08-16 16:35:05 -04:00
flarum-bot
37ae209ba6
Bundled output for commit 22e813c742
[skip ci]
2020-08-16 20:34:13 +00:00
Clark Winkelmann
bf223071f2
Fixes flarum/core#2168 negated tags not working ( #88 )
...
orWhereIn doesn't have the $not parameter and the argument was ignored by PHP
2020-08-16 16:33:41 -04:00
flarum-bot
6d06fcf731
Bundled output for commit a232d8bcfc
[skip ci]
2020-08-16 20:33:20 +00:00
Franz Liedke
22e813c742
Extract a few changes from the Mithril 2 upgrade ( #2262 )
...
* Fix closing the composer with ESC key
Regression from #2161 .
* Remove obsolete method
Regression from #2162 .
* Mark method as protected
* Fade in posts in post stream using CSS
This also avoids a double-fade from the JavaScript code, which was
probably introduced in #2160 .
* Fix fadeIn for post stream items
Co-authored-by: Alexander Skvortsov <sasha.skvortsov109@gmail.com >
2020-08-16 16:32:59 -04:00
Alexander Skvortsov
a232d8bcfc
Remove polyfills: we don't support IE anymore ( #18 )
...
* Remove polyfills: we don't support IE anymore
2020-08-16 16:32:19 -04:00
Alexander Skvortsov
988c9fca05
update for mithril 2
2020-08-16 01:34:11 -04:00
flarum-bot
35edaf602e
Bundled output for commit b891ef3426
[skip ci]
2020-08-16 04:46:46 +00:00
Alexander Skvortsov
b891ef3426
Revert "update for mithril 2"
...
This reverts commit 1d4c935c16
.
2020-08-16 00:45:41 -04:00
flarum-bot
fe5732e3af
Bundled output for commit 1d4c935c16
[skip ci]
2020-08-16 04:44:33 +00:00
Alexander Skvortsov
1d4c935c16
update for mithril 2
2020-08-16 00:43:31 -04:00
一枚小猿
776af72c22
Fix less build error. ( #2252 )
2020-08-15 20:21:06 -04:00
Qiaeru
fda5e626f7
Add new password rule language line ( #151 )
...
See: 050c1d880e
Co-authored-by: Miles Cellar <milescellar@users.noreply.github.com >
2020-08-14 11:09:05 +02:00
Qiaeru
4888bedbfe
Add missing full stop for some validation messages ( #170 )
...
See: f121af8985
2020-08-14 11:08:10 +02:00
flarum-bot
2790a34cf2
Bundled output for commit 81e6964053
[skip ci]
2020-08-08 18:47:16 +00:00
Alexander Skvortsov
81e6964053
Extract PostStream state ( #2160 )
...
Co-authored-by: Franz Liedke <franz@develophp.org >
2020-08-08 14:45:54 -04:00
dependabot[bot]
483f4ff1df
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #20 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:09:22 +02:00
dependabot[bot]
7bf581d635
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #18 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:09:19 +02:00
dependabot[bot]
6da004c7ae
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #51 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:09:16 +02:00
dependabot[bot]
44f5c7e1fe
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #22 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:09:12 +02:00
dependabot[bot]
ff5c0edce7
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #11 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:09:09 +02:00
dependabot[bot]
63700111a0
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #14 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:09:06 +02:00
dependabot[bot]
73579883f6
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #31 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:57 +02:00
dependabot[bot]
2e1c8d79d4
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #22 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:52 +02:00
dependabot[bot]
d105879392
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #91 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:42 +02:00
dependabot[bot]
695e7bb766
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #2251 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:39 +02:00
dependabot[bot]
61c99013ab
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #28 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:32 +02:00
dependabot[bot]
e415e5ebc2
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #27 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:28 +02:00
dependabot[bot]
fb01d767c7
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #26 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:17 +02:00
dependabot[bot]
b663d9b199
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #21 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:08:11 +02:00
dependabot[bot]
f390676f2f
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #17 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:07:59 +02:00
dependabot[bot]
300015927f
Bump elliptic from 6.5.2 to 6.5.3 in /js ( #9 )
...
Bumps [elliptic](https://github.com/indutny/elliptic ) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases )
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 01:07:53 +02:00
Alexander Skvortsov
a215fc9ed5
Fix optional parameters in url generator ( #2246 )
...
* Fix route collection getting wrong path when optional parameters present, add unit tests
2020-07-28 20:51:14 -04:00
Alexander Skvortsov
39bf9af538
Don't typehint the view factory in the closure in extend.php
...
This causes the view factory to resolve early, breaking all future extensions that use the view extender
2020-07-27 19:31:13 -04:00
Alexander Skvortsov
5d7f1d87d5
Don't typehint the view factory in the closure in extend.php
...
This causes the view factory to resolve early, breaking all future extensions that use the view extender
2020-07-27 19:30:24 -04:00
Franz Liedke
52394776ff
Apply fixes from StyleCI
...
[ci skip] [skip ci]
2020-07-27 19:42:23 +00:00
Franz Liedke
352f537c9d
Merge pull request #2243 from flarum/fl/2055-l6-translator
...
Upgrade to Laravel 6, finally!
2020-07-27 21:42:01 +02:00
Alexander Skvortsov
1ee33de48f
Added translations for Send Test Mail feature ( #156 )
...
* Added translations for Send Test Mail feature
2020-07-26 16:59:02 -04:00
Matthew Kilgore
bd46db8741
Replace depreciated functions with classfull verions
2020-07-25 21:17:43 -04:00
Matthew Kilgore
4c88d093f1
Replace depreciated helper functions with classfull ones
2020-07-25 21:16:39 -04:00
Matthew Kilgore
e6734ab62a
Replace depreciated helper function with classfull one
2020-07-25 21:10:33 -04:00
Matthew Kilgore
d1cf21dcd2
Replaced depreciated helper function with classfull function
2020-07-25 21:08:49 -04:00
Matthew Kilgore
e9022d5710
Replace depreciated helpers with class variant
2020-07-25 18:41:01 -04:00
flarum-bot
b96d8dba50
Bundled output for commit 505068de95
[skip ci]
2020-07-24 22:34:32 +00:00
Franz Liedke
505068de95
Fix extension to work with Composer state changes
...
Refs flarum/core#2162 .
2020-07-25 00:28:06 +02:00
flarum-bot
cb95c136df
Bundled output for commit ba0e2db8a7
[skip ci]
2020-07-24 22:18:35 +00:00
Alexander Skvortsov
ba0e2db8a7
Extract Composer state ( #2161 )
...
Like previous "state PRs", this moves app-wide logic relating to
our "composer" widget to its own "state" class, which can be
referenced and called from all parts of the app. This lets us
avoid storing component instances, which we cannot do any longer
once we update to Mithril v2.
This was not as trivial as some of the other state changes, as we
tried to separate DOM effects (e.g. animations) from actual state
changes (e.g. minimizing or opening the composer).
New features:
- A new `app.screen()` method returns the current responsive screen
mode. This lets us check what breakpoint we're on in JS land
without hardcoding / duplicating the actual breakpoints from CSS.
- A new `SuperTextarea` util exposes useful methods for directly
interacting with and manipulating the text contents of e.g. our
post editor.
- A new `ConfirmDocumentUnload` wrapper component encapsulates the
logic for asking the user for confirmation when trying to close
the browser window or navigating to another page. This is used in
the composer to prevent accidentally losing unsaved post content.
There is still potential for future cleanups, but we finally want
to unblock the Mithril update, so these will have to wait:
- Composer height change logic is very DOM-based, so should maybe
not sit in the state.
- I would love to experiment with using composition rather than
inheritance for the `ComposerBody` subclasses.
2020-07-25 00:17:25 +02:00