Commit Graph

8565 Commits

Author SHA1 Message Date
Pierre Schmitz
92c28c0d14 Limit height of code blocks (#3012)
* Limit height of code blocks

Users often post lengthy code or configuration listings which makes following the actual discussion difficult. Therefore we limit a code block by half a screen while still being able to scroll through the code listing itself.

* Define a minimal code block height for small screens

* Add max-height compatibility for browsers that don't support `max()`

See https://caniuse.com/css-math-functions

* Less has a built-in `max` function, so we need to escape this value

Co-authored-by: David Wheatley <hi@davwheat.dev>
2021-08-11 20:28:02 +01:00
flarum-bot
1237e6e55e Bundled output for commit 46d1c8e922
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-08-10 13:54:32 +00:00
Ornanovitch
46d1c8e922 make user.editGroups depending on viewHiddenGroups (#2880)
should resolve #2610
2021-08-10 14:52:34 +01:00
flarum-bot
46fa1a1bd8 Bundled output for commit fa2cb91182
Includes transpiled JS/TS.

[skip ci]
2021-08-07 10:24:47 +00:00
Rafał Całka
fa2cb91182 Fixing posts not appearing automatically (#32) 2021-08-07 11:24:00 +01:00
flarum-bot
738db107b1 Bundled output for commit 05a2ded71a
Includes transpiled JS/TS.

[skip ci]
2021-08-05 07:42:52 +00:00
David Wheatley
05a2ded71a Fix issue with Twemoji frontend rendering (#40) 2021-08-05 08:41:41 +01:00
flarum-bot
e4efd94add Bundled output for commit 0cb36b90c3
Includes transpiled JS/TS.

[skip ci]
2021-07-31 11:51:35 +00:00
David Wheatley
0cb36b90c3 Perform general repo maintenance (#37)
* Perform general repo maintenance

- Bump deps
- Add Prettier
- Add `flarum-tsconfig` for typings support

* Move webpack config to devDeps

* Use organisation Prettier

* Add setup for https://github.com/flarum/flarum-tsconfig/pull/2
2021-07-31 12:50:35 +01:00
luceos
50eea40edf Apply fixes from StyleCI
[ci skip] [skip ci]
2021-07-31 12:34:23 +02:00
Daniel Klabbers
ecd20fa0c1 use construct binding for ioc dependencies 2021-07-31 12:34:23 +02:00
luceos
a8f0e9f240 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-07-31 12:34:23 +02:00
Daniel Klabbers
fcb3a72611 added mysql version, queue and mail driver 2021-07-31 12:34:23 +02:00
David Wheatley
6040aa0da9 Add support for .finally in promises (#3)
See: https://stackoverflow.com/a/54746036/11091039

We use `Promise.finally` in core, but the `tsconfig.json` doesn't list it as supported.
2021-07-30 20:26:13 +01:00
David Wheatley
dc8958440e Use organization Prettier config (#2967)
* Use organization Prettier config

* Bump version to 1.0.0

* Update workflow

* Use npm ci and package.json script
2021-07-30 12:18:20 +01:00
flarum-bot
0603ee872a Bundled output for commit c227bcfbe2
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-07-26 11:04:48 +00:00
SychO9
c227bcfbe2 npm run format 2021-07-26 13:03:09 +02:00
David Wheatley
8e1599a684 Remove class from text input 2021-07-26 13:03:09 +02:00
David Wheatley
f0e07b0011 Remove class from Mail Select setting component 2021-07-26 13:03:09 +02:00
David Wheatley
559a93d379 Prevent class attrs overriding default Select classes 2021-07-26 13:03:09 +02:00
David
ba08eb0039 Fix Select-based setting breaking admin pages 2021-07-26 13:03:09 +02:00
Daniël Klabbers
c7613af913 Update composer.json 2021-07-26 13:02:33 +02:00
Sami Mazouz
0cee2dd4d6 Avoid intervention/image 2.6.0 2021-07-26 13:02:33 +02:00
Sami Mazouz
2cb33f7396 Revert "Avoid using intervention/image 2.6.0"
This reverts commit 045c362e6f.
2021-07-26 13:02:33 +02:00
Sami Mazouz
df2d684a25 Revert "Use wildcard for constraint instead"
This reverts commit a44166dd56.
2021-07-26 13:02:33 +02:00
Sami Mazouz
a44166dd56 Use wildcard for constraint instead
Co-authored-by: Daniël Klabbers <luceos@users.noreply.github.com>
2021-07-21 10:41:53 +02:00
SychO9
045c362e6f Avoid using intervention/image 2.6.0 2021-07-21 10:41:53 +02:00
David
8fdfc2e4b6 Bump version to 1.0.0 2021-07-18 22:31:59 +01:00
David Wheatley
d2bc73b766 Update README.md 2021-07-18 22:25:28 +01:00
flarum-bot
fd14cb2472 Bundled output for commit 8353f087e5
Includes transpiled JS/TS.

[skip ci]
2021-07-18 20:48:36 +00:00
Hasan Özbey
8353f087e5 suspend anonymously (#39)
* suspend anonymously

closes https://github.com/flarum/core/issues/2614

* format less file

* empty methods should return null
2021-07-18 22:47:34 +02:00
David
ecf016c348 Set package publishConfig 2021-07-18 21:40:30 +01:00
David
2f8cff03e7 Make version beta 2021-07-18 21:37:39 +01:00
David
53172af77d Add note about installing as dev dep 2021-07-18 21:32:48 +01:00
David
f6b4f2fbfb Add documentation 2021-07-18 21:31:11 +01:00
David
848dbc9ae8 Initial commit 2021-07-18 21:26:28 +01:00
flarum-bot
ee0cbf9d85 Bundled output for commit 81187fe5fe
Includes transpiled JS/TS.

[skip ci]
2021-07-18 20:22:50 +00:00
David Wheatley
81187fe5fe Repo maintenance: add Prettier config, update deps (#41)
* Bump deps; add prettier dep

* Add Prettier config
2021-07-18 21:21:44 +01:00
Sami Mazouz
fb365c98e5 Load parent relation for proper tag listing (#137) 2021-07-15 13:18:17 +01:00
flarum-bot
ecbb506ecd Bundled output for commit 065a3a9799
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-07-14 14:15:44 +00:00
David Wheatley
065a3a9799 Add fix for broken type hinting on class components (#2962) 2021-07-14 15:13:57 +01:00
flarum-bot
ea9c109b65 Bundled output for commit a0fe969262
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-07-13 12:44:21 +00:00
David Wheatley
a0fe969262 Allow extra attrs provided to <Select> to be passed through to the DOM element (#2959)
* Allow extra attrs provided to `<Select>` to be passed through to the DOM element

* Allow direct passing attrs to the Select wrapper

* Format
2021-07-13 13:42:46 +01:00
David Wheatley
7283254b4a Hide post footer when empty (#2926)
* Add `Post-footer--empty` class if the post footer contains no items

* Hide post footer when it has class `Post-footer--empty`

* Swap to `:empty` pseudoselector

* Prefer ternary operator

* Fix typo
2021-07-13 13:42:19 +01:00
Daniel Klabbers
7562878325 prevent a couple of cycles by not resolving the excluded middleware on each middleware items 2021-07-13 00:44:27 +02:00
Daniel Klabbers
274dac123f fixes internal clients use of session
With remember from cookie, in certain edge cases, the middleware would
try to load a session which hasn't been instantiated as this middleware
is excluded for the client. Excluding the remember from cookie
middleware will resolve this as authentication is done using the
RequestUtil and ActorReference regardlessly.
2021-07-13 00:32:13 +02:00
flarum-bot
6f925c1229 Bundled output for commit e681d3eb00
Includes transpiled JS/TS.

[skip ci]
2021-07-10 20:40:18 +00:00
David Wheatley
e681d3eb00 Format with prettier, bump deps (#37)
General repo maintenance
2021-07-10 21:39:20 +01:00
David Wheatley
b11b6ec456 Update code block styling to match HLJS 11's new styles (#2909) 2021-07-09 10:04:12 +01:00
David Wheatley
91d4c63090 Various grammatical changes 2021-07-09 08:56:10 +01:00