Daniël Klabbers
7dcbbf29ab
feat(permission): add the no one permission
...
One thing that has been very frustrating while developing extensions is
that you cannot easily create a feature that you would like to allow
disabling through the permission grid.
This Proof of Concept PR is a question, whether I'm the only one running
into this limitation for Flarum.
It does:
- introduce a fake permission, similar to Guest
- removes the whole permission entry from the db when selected
- restores the permission visually on the frontend
It has to:
- confirm admins also cannot use the permission if selected
- not break v1.x functionality or be moved to v2.0
- appeal to core and community
2023-03-26 10:03:09 +02:00
flarum-bot
bddc9d96f2
Bundled output for commit d684248492
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-23 08:10:20 +00:00
IanM
d684248492
fix: empty string displayed as SelectDropdown title ( #3773 )
...
* fix: empty string displayed as SelectDropdown title
* chore: remove import
* chore: ts-ignore
* Update framework/core/js/src/common/components/SelectDropdown.tsx
Co-authored-by: David Wheatley <david@davwheat.dev>
---------
Co-authored-by: David Wheatley <david@davwheat.dev>
2023-03-23 08:02:59 +00:00
Rafael Horvat
85b63681ae
Fix: Integrity constraint violation: 1052 Column 'id' in where clause is ambiguous ( #3772 )
2023-03-21 10:32:23 +00:00
Sami Mazouz
8372363cc2
feat: conditional extenders ( #3759 )
2023-03-14 21:53:16 +01:00
Ngô Quốc Đạt
a6a067ad48
chore: update to PHP 8.2 in frontend workflow ( #3755 )
2023-03-12 13:58:06 +01:00
Sami Mazouz
241eba4d0c
chore: mark start of 1.8.0
development
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-12 13:56:39 +01:00
Sami Mazouz
a6b12826c3
chore: 1.7.1 preparations
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-12 13:28:04 +01:00
Sami Mazouz
dd868ab44e
fix: improve sessions user UI on mobile
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-12 13:21:21 +01:00
flarum-bot
5f3e0d6a09
Bundled output for commit 661b9d7d9a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-12 11:45:23 +00:00
Robert Korulczyk
661b9d7d9a
chore: hide developer tokens section in if there is nothing to display or create ( #3753 )
2023-03-12 12:37:49 +01:00
flarum-bot
b7498d6cb1
Bundled output for commit e7c55532a0
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-12 09:46:12 +00:00
Robert Korulczyk
e7c55532a0
fix: hardcoded language strings in StatusWidget
( #3754 )
2023-03-12 10:37:57 +01:00
Robert Korulczyk
cce6b74fce
fix: missing parameter names in token title translation. ( #3752 )
2023-03-12 10:33:19 +01:00
flarum-bot
da651c722b
Bundled output for commit abc9670659
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-11 08:14:06 +00:00
Sami Mazouz
abc9670659
fix(tags): incorrect max and min primary tags used
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-11 09:05:12 +01:00
Sami Mazouz
b66fe5dd5f
chore(release): preparations
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-09 19:00:32 +01:00
flarum-bot
7d79895ae0
Bundled output for commit 3ab4529232
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-09 15:35:22 +00:00
Sami Mazouz
3ab4529232
fix(qa): apply color contrast fix when colored only
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-09 16:28:32 +01:00
flarum-bot
360a2ba1d8
Bundled output for commit eaa4063fef
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-08 19:21:16 +00:00
Sami Mazouz
eaa4063fef
fix(qa): attempt to fix akismet error
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-08 20:14:09 +01:00
flarum-bot
72d277bd45
Bundled output for commit 28e3ccfde6
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-03-08 17:34:35 +00:00
Sami Mazouz
28e3ccfde6
fix(qa): increase YIQ and fix menu item title
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-08 18:25:04 +01:00
Sami Mazouz
3f864bafc8
fix(regression): custom less validation check
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-06 15:24:03 +01:00
Sami Mazouz
3af0481f30
test: remove use of deprecated phpunit assertion
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-06 15:03:33 +01:00
Sami Mazouz
1761660c98
fix: disallow certain dangerous LESS features
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-04 20:38:19 +01:00
Sami Mazouz
8ddb0feb09
chore: yarn audit-fix
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-03-01 12:35:59 +01:00
Sami Mazouz
fa30f4f250
fix(regression): cannot delete users ( #3746 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-02-24 18:22:12 +01:00
Robert Korulczyk
79a9b23096
fix: normal logout affects all sessions ( #3571 )
...
Previously all user tokens were deleted, which logouts from all sessions.
2023-02-21 17:23:20 +01:00
Tristian Kelly
33e2bd1a77
fix(mentions): post reply mention missing notification on approval ( #3738 )
...
* Add PostWasApproved event
* Apply fixes from StyleCI
* fix: phpstan error
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-02-21 15:04:03 +00:00
flarum-bot
a3a39caa44
Bundled output for commit bbf873442a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-21 14:37:00 +00:00
Sami Mazouz
bbf873442a
feat: global logout to clear all sessions, access tokens, email tokens and password tokens ( #3605 )
...
* chore: re-organize security locale keys alphabetically
* test: can globally logout
* feat: add global logout controller
* feat: add global logout UI to user security page
* test: re-adapt tests to changes
* feat: add boolean to indicate if logout even is global
* chore(review): split loading property
* chore: follow-up branch update
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-02-21 15:28:55 +01:00
David Wheatley
d35bb873a8
chore: make go-to-page input number-like ( #3743 )
2023-02-21 15:23:59 +01:00
flarum-bot
598ff21d7d
Bundled output for commit 9342903d68
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-21 13:29:36 +00:00
Sami Mazouz
9342903d68
feat: access tokens user management UI ( #3587 )
...
Signed-off-by: Sami Mazouz <ilyasmazouz@gmail.com>
Co-authored-by: David <hi@davwheat.dev>
2023-02-21 14:14:53 +01:00
Robert Korulczyk
ea7b270f47
fix(tags): clickable tag labels have underline ( #3737 )
2023-02-21 14:09:37 +01:00
David Wheatley
906b0fb633
feat: add display name column to admin users list ( #3740 )
2023-02-21 13:04:53 +00:00
David Wheatley
408a92b4ea
feat: improved page navigation for users list ( #3741 )
...
* feat: add first and last page buttons
* feat: add textbox-based page navigation
* feat: add query parameter page navigation
2023-02-21 13:04:30 +00:00
Robert Korulczyk
0da069ba9f
Fix translation key for scheduler dashboard. ( #3736 )
2023-02-16 17:33:37 +01:00
flarum-bot
d8fa791d9c
Bundled output for commit fee6ffe396
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-15 17:50:20 +00:00
Robert Korulczyk
fee6ffe396
feat(seo): Do not use h3 header for poster author in posts stream ( #3732 )
...
* Do not use h3 header for poster author in posts stream.
* Change back `.PostUser-name` tag to h3.
2023-02-15 18:44:58 +01:00
flarum-bot
7a60a529da
Bundled output for commit 37fd218723
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-15 16:33:15 +00:00
Robert Korulczyk
37fd218723
feat(seo): Use h2 header for discussions on discussions list ( #3731 )
...
* Use H2 header for discussions on discussions list.
* Put `DiscussionListPane` in `aside` tag to indicate that its content should not be treated as part of discussion content.
* Update markup for views generated by PHP.
2023-02-15 17:26:43 +01:00
IanM
1ee5cf6ba9
feat(core): PHP 8.2 Support ( #3709 )
...
* chore: test with php 8.2
* chore: bump httphandlerunnder
* chore: bump httphandlerunner
* chore: address php8.2 deprecation
* chore: php 8.2
* chore: bump less.php version
* avoid dynamic properties
* avoid another dynamic property
* Apply fixes from StyleCI
* tags php82
* php82
* fix: check for property existence
* Rerun checks after s9e/text-formatter update
* chore: disable deprecation warnings for php 8.2
* chore: PHP8.2 does not accept dynamic properties
* chore: temporarily disable package manager tests workflow
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2023-02-14 19:09:56 +01:00
flarum-bot
ced1c2d94f
Bundled output for commit f8d856028d
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-13 20:20:57 +00:00
Sami Mazouz
f8d856028d
fix(regression): admin header styling messed up
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-02-13 21:14:52 +01:00
Sami Mazouz
748cca6d12
chore: prepare @flarum/jest-config
for release
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-02-12 17:45:00 +01:00
flarum-bot
f4f8369dc0
Bundled output for commit aa0b3288d5
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-02-11 12:36:30 +00:00
Daniël Klabbers
aa0b3288d5
feat(seo): shift h1 tag from logo to discussion title ( #3724 )
...
* feat(seo): shift h1 tag from logo to discussion title
Many times have we seen opponents of using h2 as the discussion title. Although
my own SEO knowledge is limited, I have seen the importance of structuring pages
according to the content you wish to prioritize. If we only take that into consideration
there is zero reason for the app-wide identical logo to take precedence over any
other heading.
This change makes the logo a standard (visually identical) element, and
makes the discussion hero title a h1.
* feat(seo): rewrite remainder of hero titles and subtitles
2023-02-11 13:27:46 +01:00
Sami Mazouz
153bb1a53c
feat(actions): allow running JS tests in GH actions ( #3730 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-02-11 13:19:57 +01:00