Commit Graph

8476 Commits

Author SHA1 Message Date
flarum-bot
b28606b8ef Bundled output for commit 631b4c194c
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-08-08 13:53:39 +00:00
Sami Mazouz
631b4c194c
chore: unify JS actions into one (rewritten flarum/action-build) (#3573)
* chore: unify JS actions into one (rewritten `flarum/action-build)`
* chore: maintain backwards compatibility
* fix: wrong default format check script

Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-08-08 14:48:43 +01:00
flarum-bot
b20961cc9d Bundled output for commit 495462183b
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-08-08 13:04:48 +00:00
David Wheatley
495462183b
chore: format code 2022-08-08 14:00:22 +01:00
flarum-bot
40fa7a2c9b Bundled output for commit f69210b6d1
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-08-08 12:35:51 +00:00
Jasper Vriends
f69210b6d1
feat(modals): support stacking modals, remove bootstrap modals dependency (#3456)
* Feature: Stackable modals

* Processed feedback

* fix: use position in modal stack rather than key for modal number

* fix: use correct base z-index

* chore: simplify `className` to `class`

* chore: add `key` attribute to ModalManager element

* fix: backdrop flashing as modals are stacked/unstacked

* chore: simplify modal close process

* docs: add TS overload to indicate deprecated modal opening syntax

Require explicit values for `attrs` and `stackModal` from Flarum 2.0, beginning deprecation from now.

* feat: use stackable modal for forgot password modal above sign in

* chore: explicitly check if modal is open before trying to focus trap

* fix(a11y): add missing  `aria-hidden` on main content when modal open

* fix(a11y): add missing `aria-modal` on modal

* chore: remove test code

* chore: remove dead CSS

* chore: remove overload

* fix: lock page scrolling when modal is open

* fix: strange scrolling behaviour

* chore: convert to JSX

* fix: event listener memory leak

* chore: remove unneeded optional chaining

* fix: incorrect return types

* chore: rewrite backdrop system - use one backdrop for all modals

* docs: typos in comment block

* fix: show backdrop directly below top-most modal

Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>

* chore: format

* fix: use an invisible backdrop for each modal to exit

Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>

* chore: remove debugging code

Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>

* chore: remove forgotten debug code

Co-authored-by: David Wheatley <david@davwheat.dev>
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2022-08-08 13:29:14 +01:00
flarum-bot
bb5f7b87bc Bundled output for commit e2f568252b
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-08-08 10:37:13 +00:00
Robert Korulczyk
e2f568252b
perf: add loading="lazy" attribute for avatars (#3578)
Co-authored-by: David Wheatley <david@davwheat.dev>
2022-08-08 11:29:52 +01:00
flarum-bot
bca7d48d99 Bundled output for commit 3bdb0af993
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-08-05 19:27:47 +00:00
David Wheatley
3bdb0af993
fix: intellisense imports defaulting to absolute path from src folder (#3549)
* docs: remove baseUrl recommendation

Fixes https://github.com/flarum/flarum-tsconfig/issues/4

* chore: implement change within framework monorepo
2022-08-05 20:23:45 +01:00
flarum-bot
d345734a8e Bundled output for commit 4b25c2d425
Includes transpiled JS/TS.

[skip ci]
2022-08-05 18:28:35 +00:00
Sami Mazouz
4b25c2d425
test: relying on a third-party for avatar URL tests is unreliable (#3586) 2022-08-05 19:24:43 +01:00
flarum-bot
54e1966ec8 Bundled output for commit f073c22212
Includes transpiled JS/TS.

[skip ci]
2022-08-04 09:55:07 +00:00
Sami Mazouz
f073c22212
chore: remove debug line that slipped in while rebasing a PR (#3580)
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-08-04 10:43:26 +01:00
flarum-bot
71731819fb Bundled output for commit b01b75e367
Includes transpiled JS/TS.

[skip ci]
2022-08-04 08:11:58 +00:00
Daniël Klabbers
b01b75e367 fix: return type hint static is php 8+ 2022-08-04 10:07:48 +02:00
flarum-bot
71b444b6f6 Bundled output for commit bb641144b6
Includes transpiled JS/TS.

[skip ci]
2022-08-02 11:36:01 +00:00
StyleCI Bot
bb641144b6
Apply fixes from StyleCI 2022-08-02 11:28:25 +00:00
Daniël Klabbers
590639f5f3 fix: remove deprecation warning for decoding null values 2022-08-02 13:28:03 +02:00
flarum-bot
b06be43988 Bundled output for commit 237076e5b7
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-08-02 10:31:17 +00:00
Ian Morland
237076e5b7
chore(approval, likes): use subscribers (#3577)
* chore: use subscribers

* Apply fixes from StyleCI

* Un-static

Co-authored-by: StyleCI Bot <bot@styleci.io>
2022-08-02 11:27:26 +01:00
flarum-bot
737783a8a8 Bundled output for commit 7d3147d4e1
Includes transpiled JS/TS.

[skip ci]
2022-08-02 10:10:01 +00:00
Ian Morland
7d3147d4e1
feat: add createTableIfNotExists migration helper (#3576) 2022-08-02 10:43:31 +01:00
David Wheatley
61c4421bd2
fix: sticky nav content displays below post stream (#3575) 2022-08-02 10:40:51 +01:00
flarum-bot
85d4fb6ce2 Bundled output for commit da855c654e
Includes transpiled JS/TS.

[skip ci]
2022-08-01 22:53:45 +00:00
Ian Morland
da855c654e
feat: Restart the queue worker after cache clearing, ext enable/disable, save settings (#3565)
* Add queue restarter
* Update framework/core/src/Queue/QueueRestarter.php
2022-08-02 00:49:58 +02:00
flarum-bot
7147d39975 Bundled output for commit f4ace73a3c
Includes transpiled JS/TS.

[skip ci]
2022-08-01 11:03:26 +00:00
David Wheatley
f4ace73a3c
chore(statistics): add release notes for 1.4.1 2022-08-01 11:59:57 +01:00
flarum-bot
0b299d0003 Bundled output for commit 70e483d1b1
Includes transpiled JS/TS.

[skip ci]
2022-07-30 22:16:30 +00:00
Daniël Klabbers
70e483d1b1 fix: prepare release workflow has invalid layout 2022-07-31 00:09:14 +02:00
Daniël Klabbers
628c281c39 fix: update workflow name 2022-07-31 00:02:34 +02:00
Daniël Klabbers
0901e59a58 feat: add new workflow for generating release meta 2022-07-31 00:00:50 +02:00
Daniël Klabbers
5530400b09 chore: getting the release workflow in 2022-07-30 23:33:55 +02:00
flarum-bot
e7af009fbc Bundled output for commit 2b31b185e4
Includes transpiled JS/TS.

[skip ci]
2022-07-30 12:05:59 +00:00
Sami Mazouz
2b31b185e4
feat: clear password & email tokens when appropriate (#3567)
* test: password tokens are generated and deleted on password change
* chore: delete all password tokens when the password is changed
* test: email tokens are generated and deleted on email change
* test: email tokens are deleted after password reset
* chore: delete email tokens after password change
* test: password tokens are deleted after email change
* chore: delete password tokens after email change
* chore: syntactic sugar
* chore: unify event listening
2022-07-30 13:02:06 +01:00
flarum-bot
f96f914576 Bundled output for commit f610f8aa67
Includes transpiled JS/TS.

[skip ci]
2022-07-30 06:22:07 +00:00
Sami Mazouz
f610f8aa67
feat: throttle email change, email confirmation, and password reset endpoints. (#3555)
* chore: move post throttler to separate class
* feat: throttle email change requests
* feat: throttle email activation requests
* feat: throttle password resets for logged-in users
* docs: comment new throttlers
2022-07-30 08:18:51 +02:00
flarum-bot
021793fc52 Bundled output for commit 9ab1680b17
Includes transpiled JS/TS.

[skip ci]
2022-07-29 12:54:55 +00:00
dependabot[bot]
9ab1680b17
chore(deps): bump terser from 5.12.0 to 5.14.2 (#3551)
Bumps [terser](https://github.com/terser/terser) from 5.12.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 13:48:04 +01:00
Soobin Rho
8dde6a27bf
docs: link logo at the top with the official website (#3552)
When I was reading README.md, I clicked the logo and I expected to go to the official website https://flarum.org/ but it didn't. So, the image is being linked to the official website in this commit.

Signed-off-by: Soobin Rho <soobinrho@gmail.com>
2022-07-29 13:43:54 +01:00
Ian Morland
44f30ad51e
Replace event helper with event dispatcher (#3570) 2022-07-28 21:09:42 +01:00
David Wheatley
6911e3a71d
feat: expose assets base url to frontend forum model (#3566) 2022-07-28 19:37:10 +01:00
David Wheatley
cad6280a45
fix: potential static caching memory exhaustion (#3548)
* perf: get notification counts through relation, not model filtering

* chore: rename `queryUnreadNotifications` to `unreadNotifications`

* fix: null coalesce to 0 for notif read time
2022-07-28 19:14:32 +01:00
David Wheatley
7d67cfd1e7
fix: incorrect centring of deleted user avatars in notification list (#3569) 2022-07-28 17:15:29 +01:00
flarum-bot
e911b52b4c Bundled output for commit 2defb17cc2
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-07-26 12:53:14 +00:00
David Wheatley
2defb17cc2
feat: publish assets on admin dashboard cache clear (#3564)
Co-authored-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-26 13:48:04 +01:00
flarum-bot
fe20e2c212 Bundled output for commit 795a500adb
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2022-07-24 13:06:41 +00:00
Sami Mazouz
795a500adb
feat: Queue package manager commands (#3418)
* feat: Queue package manager commands
* adjust tests
* fix: force run whynot command synchronously
* chore: maximize command output box's height
* chore: more user instructions on background queue
* feat: track command peak memory usage
* feat: exit of CLI php version doesn't match web php version
* chore: install deps
* chore: format and typing workflow fix

Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
2022-07-24 14:02:13 +01:00
Daniël Klabbers
75aaef7d76 fix: MyISAM tables for extensions during installation 2022-07-23 23:53:14 +02:00
Daniël Klabbers
f128190f14 Revert "fix: MyISAM tables for extensions during installation"
This reverts commit f926c58e01.
2022-07-23 23:52:57 +02:00