Ngô Quốc Đạt
734f4a150c
chore: use hex_color
rule for color validation ( #3936 )
2024-01-19 12:09:22 +01:00
IanM
e3350543af
feat: upgrade intervention/image
to 3.2 ( #3947 )
...
* chore: create standalone imageprovider
* chore: upgrade intervention to v3
* Apply fixes from StyleCI
* use new static instatiation
* Revert "Apply fixes from StyleCI"
This reverts commit 096b4d9a79fa41c948a7572cf65316ebc6b07d36.
* get avatar from remote
* Apply fixes from StyleCI
* fix: incorrect gid exception namespace
* fix test
* remove debug code
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
2024-01-19 11:49:00 +01:00
flarum-bot
f784f48906
Bundled output for commit 3a34136e36
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-09 21:54:15 +00:00
Sami Mazouz
3a34136e36
feat: search UI/UX revamp ( #3941 )
...
* feat: first iteration
* chore: tweak
* feat: second iteration
* chore: incorrect code organization
* feat: gambit input suggestions
* feat: gambit keyboard navigation
* chore: bugs
* feat: negative gambits
* feat: improve gambit highlighting
* refactor: localize gambits
* feat: negative and positive gambit buttons
* fix: permissions
* chore: wat
* per: lazy load search modal
* fix: extensibility and bug fixes
* fix: bugs
* feat: reusable autocomplete dropdown
* chore: format
* fix: tag filter
2024-01-09 21:51:01 +00:00
flarum-bot
fb1703cd9b
Bundled output for commit b58fec7ead
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-09 18:13:57 +00:00
Ngô Quốc Đạt
b58fec7ead
Fix width issue in edit user modal ( #3939 )
...
* Fix width input issue in EditUserModal
* update
2024-01-09 18:10:55 +00:00
flarum-bot
537f97a07a
Bundled output for commit c1be00e79a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-09 18:04:43 +00:00
Sami Mazouz
c1be00e79a
chore: improve debugging experience ( #3944 )
2024-01-09 18:01:29 +00:00
StyleCI Bot
5399c86a1b
Apply fixes from StyleCI
2024-01-09 15:06:12 +00:00
flarum-bot
e4abf93763
Bundled output for commit 9310ce13d8
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-23 17:19:53 +00:00
Sami Mazouz
9310ce13d8
chore: yarn format
2023-11-23 18:16:49 +01:00
flarum-bot
6cbdfb6aa1
Bundled output for commit 4b126d9f4c
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-11 18:46:13 +00:00
Sami Mazouz
4b126d9f4c
feat: revamp search ( #3893 )
...
* refactor: move gambits to frontend (#3885 )
* refactor: move gambits to frontend
* test: GambitManager
* refactor: merge filterer and searcher concepts (#3892 )
* chore: drop remaining backend regex gambits
* refactor: merge filterer & searcher concept
* refactor: adapt extenders
* refactor: no longer need to push gambits to `q`
* refactor: filters to gambits
* refactor: drop shred `Query` namespace
* chore: cleanup
* chore: leftover gambit references on the backend (#3894 )
* chore: leftover gambit references on the backend
* chore: namespace
* feat: search driver backend extension API (#3902 )
* feat: first iteration of search drivers
* feat: indexer API & tweaks
* feat: changes after POC driver
* fix: properly fire custom observables
* chore: remove debugging code
* fix: phpstan
* fix: custom eloquent events
* chore: drop POC usage
* test: indexer extender API
* fix: extension searcher fails without filters
* fix: phpstan
* fix: frontend created gambit
* feat: advanced page and localized driver settings (#3905 )
* feat: allow getting total search results and replacing filters (#3906 )
* feat: allow accessing total search results
* feat: allow replacing filters
* chore: phpstan
2023-11-11 19:43:09 +01:00
flarum-bot
60ffa78531
Bundled output for commit 294878291c
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-10 22:16:11 +00:00
IanM
294878291c
chore: format js
2023-11-10 22:09:50 +00:00
flarum-bot
05a7e24836
Bundled output for commit eaabeab8c9
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-10 22:04:30 +00:00
Sami Mazouz
eaabeab8c9
chore: extract FormModal
from Modal
( #3922 )
2023-11-10 21:59:34 +00:00
Sami Mazouz
5e3f8db095
fix: handled API errors break preloaded content ( #3920 )
...
* fix: handled API errors break preloaded content
* Apply fixes from StyleCI
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-11-10 21:39:08 +00:00
flarum-bot
deb99f0de4
Bundled output for commit 693bce912a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-10 21:38:19 +00:00
Sami Mazouz
693bce912a
fix(testing): use cookie for testing authentication ( #3924 )
2023-11-10 21:35:24 +00:00
Sami Mazouz
3107319812
fix: paginated list limit hard to change ( #3918 )
...
* fix: paginated list limit hard to change
* chore: use the default value
* chore: apply to other list states
* chore: remove debugging code
* fix: typings
2023-11-10 21:31:46 +00:00
Sami Mazouz
a9756cb5eb
fix: only set actor on events that have it ( #3914 )
2023-11-10 21:25:10 +00:00
flarum-bot
bbdf3b5aba
Bundled output for commit e2281a2123
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-10 21:23:23 +00:00
Sami Mazouz
e2281a2123
chore: handle deprecations from 1.x ( #3909 )
...
* chore: drop deprecated `post_number_index` column
* chore: remove deprecated `FlagsWillBeDeleted` event
* chore: `Migration::addSettings` can still be needed
* chore: `settings->get` default can still be needed
* chore: deprecated `$default` in `Settings::serializeToForum` extender
* chore: deprecated request `actor` attribute
* chore: already handled
* chore: remove `RecompileFrontendAssets::whenSettingsSaved`
* chore: remove `getReadIds`
* chore: `Model::dateAttribute` extender
* chore: `evented` js util
* chore: `WelcomeHero` js hidden prop
* chore: attributes pushData with relations
* chore: app request options `extract`
* chore: itemlist deprecations
* chore: `search` state
* chore: `getMentionText`
* chore: deprecated non-registered store type
* chore: `Button` title
* chore: `Modal` deprecations
* chore
* chore: deprecated `less` mixins
* Apply fixes from StyleCI
* fix
* fix: phpstan
* fix
* fix
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-11-10 21:20:18 +00:00
flarum-bot
d01c0e5210
Bundled output for commit bee50bec73
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-03 13:15:30 +00:00
Sami Mazouz
bee50bec73
fix: color input changes while typing ( #3919 )
2023-11-03 14:08:40 +01:00
flarum-bot
679d32729e
Bundled output for commit e978e29e00
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-03 08:10:35 +00:00
IanM
e978e29e00
fix: add history push ( #3916 )
2023-11-03 09:07:25 +01:00
flarum-bot
a3192d2934
Bundled output for commit 96ba2f5f2d
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-10-29 13:51:57 +00:00
Sami Mazouz
87a83d33b3
chore: avoid using .fa()
mixins and @fa-var
vars ( #3912 )
2023-10-29 14:45:50 +01:00
Ngô Quốc Đạt
015529ff1e
Use ::class
syntax to fetch class name instead of get_class()
function ( #3910 )
2023-10-29 14:43:58 +01:00
Gary Green
7c885c72fd
feat: frontend content flexible order priorities ( #3765 )
...
* Fix frontend factory so it includes controller content
* chore: more readable parameter passing
* feat: add priorities to frontend content
2023-10-29 12:59:48 +01:00
IanM
e4e0fbff73
chore: remove ExtenderInterface[] as a conditional option, only support callable or ::class invoke ( #3904 )
...
* chore: remove ExtenderInterface[] as a conditional option, only support callable or ::class invoke
* Apply fixes from StyleCI
* stan
* review
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-10-21 17:37:07 +01:00
IanM
94de8b42b4
fix: console extender does not accept ::class attribute for schedule ( #3903 )
2023-10-21 17:34:48 +01:00
flarum-bot
db0d9cb006
Bundled output for commit 5ab5257ff5
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-10-10 20:41:11 +00:00
Sami Mazouz
5ab5257ff5
feat: theming and extensibility improvements ( #3876 )
...
* feat: make page structure customizable across different pages (#3867 )
* feat: create `PageStructure` component
* feat: apply to `DiscussionPage`
* feat: apply to `UserPage`
* feat: apply to `TagsPage`
* fix: adapt subscriptions ext
* chore: cleanup
* chore: use grid & flexbox for the discussion list item (#3868 )
* chore: rename `DiscussionPage-list` to `DiscussionListPane`
* chore: itemlistify `DiscussionListItem`
* chore: use flex and grid for `DiscussionListItem`
* chore: use flexbox for `App-header` (#3869 )
* chore: use flex and grid for `App-header`
* chore: drop search floats
* fix: adapt admin styles
* chore: use flexbox in dropdowns and SplitDropdown for subscriptions (#3874 )
* chore: flexbox dropdown menu items
* chore: normalize subscriptions menu (use slit dropdown)
* chore: cleanup
* chore: misc flexbox/grid changes (#3875 )
* chore: `TagsPage` to tsx
* chore: `TagsPage` flexbox/grid
* chore: `IndexPage-toolbar` flexbox
* chore: `UserCard` flexbox & itemlists
* fix: `Post` improve spacing logic
* chore: `Post` grid and proper spacing
* fix: avatar editor hover layer layout
* chore: `Button` flex
* chore: normalize form semantics (#3877 )
* chore: normalize fieldsets
* fix: `LinkButton` spacing
* chore: consistent form semantics
* fix: styling regressions (#3878 )
* fix: post spacing goes off in other pages
* fix: regression
* feat: extract reusable components from `NotificationsDropdown` (#3879 )
* feat: extensible global notices (#3880 )
* fix: js error on null item list
* feat: extensible global notices
* chore: housekeeping (#3881 )
* chore: use CSS variables where still not using
* chore: cleanup suspension modal
* chore: cleanup post flag
* fix: badge vertical align
* chore: use CSS variables for custom coloring
* chore: `icon` helper to `Icon` component
* chore: `avatar` helper to `Avatar` component
* fix: chunk loading fails on admin frontend
* chore: format
* feat: reusable `UploadImageButton` component (#3882 )
* chore: convert `UploadImageButton` to tsx
* feat: reusable `UploadImageButton` component
* feat: add `image-upload` setting type
* feat: extensible default footer component (#3883 )
* chore: yarn format
2023-10-10 21:36:08 +01:00
flarum-bot
24d13e33bb
Bundled output for commit 412cfafb3a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-09-29 15:39:58 +00:00
IanM
412cfafb3a
feat: notification unsubscribe & email overhaul with HTML multipart ( #3872 )
2023-09-29 16:34:54 +01:00
Sami Mazouz
ec5cb98c77
chore: merge the app with the container & implement the ApplicationContract ( #3862 )
...
* chore: merge the app with the container & implement the ApplicationContract
Illuminate components always expect the app to be the container, but also expect the app to be implementing the laravel app contract. This means that very often between minor illuminate updates we get a call to a method on the app that doesn't exist in the Flarum app. This fixes the issue once and for all.
* chore: improve concern implementation readability
* chore: service provider no longer has to change app type
* chore: unimplement `terminat(e/ing)`
* Apply fixes from StyleCI
* chore: recover `container` prop
* chore: return types
* fix: phpstan errors
2023-09-15 09:30:24 +01:00
flarum-bot
e731fb6189
Bundled output for commit 229a7affa5
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-08-02 17:04:35 +00:00
Sami Mazouz
229a7affa5
feat: Code Splitting ( #3860 )
...
* feat: configure webpack to allow splitting chunks
* feat: `JsDirectoryCompiler` and expose js assets URL
* chore: support es2020 dynamic importing
* feat: control which URL to fetch chunks from
* feat: allow showing async modals & split 'LogInModal'
* feat: split `SignUpModal`
* feat: allow rendering async pages & split `UserSecurityPage`
* fix: module might not be listed in chunk
* feat: lazy load user pages
* feat: track the chunk containing each module
* chore: lightly warn
* chore: split `Composer`
* feat: add common frontend (for split common chunks)
* fix: jsDoc typing imports should be ignored
* feat: split `PostStream` `ForgotPasswordModal` and `EditUserModal`
* fix: multiple inline async imports not picked up
* chore: new `common` frontend assets only needs a jsdir compiler
* feat: add revision hash to chunk import URL
* fix: nothing to split for `admin` frontend yet
* chore: cleanup registry API
* chore: throw an error in debug mode if attempting to import a non-loaded module
* feat: defer `extend` & `override` until after module registration
* fix: plugin not picking up on all module sources
* fix: must override default chunk loader function from webpack plugin
* feat: split tags `TagDiscussionModal` and `TagSelectionModal`
* fix: wrong export name
* feat: import chunked modules from external packages
* feat: extensions compatibility
* feat: Router frontend extender async component
* chore: clean JS output path (removes stale chunks)
* fix: common chunks also need flushing
* chore: flush backend stale chunks
* Apply fixes from StyleCI
* feat: loading alert when async page component is loading
* chore: `yarn format`
* chore: typings
* chore: remove exception
* Apply fixes from StyleCI
* chore(infra): bundlewatch
* chore(infra): bundlewatch split chunks
* feat: split text editor
* chore: tag typings
* chore: bundlewatch
* fix: windows paths
* fix: wrong planned ext import format
2023-08-02 17:57:57 +01:00
Sami Mazouz
608e2a7e5a
fix(phpstan): code analysis
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-27 13:52:58 +01:00
Sami Mazouz
7467beb72f
fix(regression): avoid overriding laravel schedule command to store last run
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-27 13:47:56 +01:00
Sami Mazouz
6ec0911cd1
chore: yarn format
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-27 13:47:25 +01:00
flarum-bot
992d85e3b8
Bundled output for commit 59586e63e1
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-07-27 10:35:35 +00:00
Ngô Quốc Đạt
59586e63e1
chore: simplify if else conditions ( #3843 )
...
* chore: simplify if else conditions
* use nullsafe
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
---------
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-27 11:31:04 +01:00
IanM
76004ed844
feat: add whenExtensionDisabled
to Conditional
extender ( #3847 )
...
* feat: add to extender
* Apply fixes from StyleCI
---------
Co-authored-by: StyleCI Bot <bot@styleci.io >
2023-07-27 11:30:05 +01:00
IanM
e014aa0105
feat: make WelcomeHero extensible ( #3848 )
...
* chore: make WelcomeHero extensible
* undo import mithril change
* reduce to one itemlist
2023-07-27 11:27:00 +01:00
David Sevilla Martin
da1aa2aa92
fix: default labels with SettingDropdown
and SelectDropdown
( #3854 )
...
* Remove modification to label in SelectDropdown
* Only set 'defaultLabel' if falsy and translate "Custom" default
2023-07-27 11:24:19 +01:00
Sami Mazouz
07623afacd
fix: installation command config path can be null
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com >
2023-07-10 14:32:22 +01:00