Sami Mazouz
29ede5aa27
feat: JS Notification
extender ( #3974 )
...
* feat: JS `Notification` extender
* fix
2024-05-14 21:10:07 +01:00
Sami Mazouz
2b917372a7
feat: eloquent factories (primarily for tests) ( #3982 )
2024-05-03 09:20:27 +01:00
flarum-bot
24f3a6829f
Bundled output for commit bf523b2325
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-04-06 13:55:44 +00:00
Sami Mazouz
bf523b2325
chore: extract buildSettingComponent
method into a FormGroup
component ( #3927 )
...
* chore: extract `buildSettingComponent` method into a `FormGroup` component
* chore: typings
* feat: move to common
2024-04-06 14:52:13 +01:00
Daniël Klabbers
e771b908d5
Patch vulnerability advisory ( #3966 )
...
Seems composer has a vulnerability, see https://github.com/advisories/GHSA-7c6p-848j-wh5h
Affected versions
>= 2.0.0-alpha1, < 2.2.23 -- patched in 2.2.23
>= 2.3.0-rc1, < 2.7.0 -- patched in 2.7.0
---
Let's raise the minimum to enforce the latest.
Thank you @peopleinside for reporting this.
2024-02-22 11:40:56 +01:00
flarum-bot
721e2eae3d
Bundled output for commit 3fbe05fd18
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-22 18:01:17 +00:00
Sami Mazouz
3fbe05fd18
feat(em): port extension manager from 1.0 ( #3959 )
...
* feat(em): port extension manager from 1.0
* Apply fixes from StyleCI
* chore: phpstan
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
2024-01-22 18:58:08 +01:00
Ngô Quốc Đạt
734f4a150c
chore: use hex_color
rule for color validation ( #3936 )
2024-01-19 12:09:22 +01:00
flarum-bot
0186ca909e
Bundled output for commit 1aa7806244
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-19 11:07:33 +00:00
Ngô Quốc Đạt
1aa7806244
Fix notify for all posts switch field loading state ( #3938 )
2024-01-19 12:04:25 +01:00
Davide Iadeluca
430709bf5b
[2.x] fix(Mentions): allow renderer to be used without context ( #3954 )
...
* fix(Mentions): allow renderer to be used without context
* test(Mentions): implement test for rendering post without context
* Update UnparsePostMentions.php
* Update PostMentionsTest.php
---------
Co-authored-by: IanM <16573496+imorland@users.noreply.github.com>
2024-01-10 11:17:11 +00: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
278617a10d
Bundled output for commit f793e5b8f8
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2024-01-09 17:10:55 +00:00
IanM
f793e5b8f8
fix: ts error causing build to fail ( #3956 )
2024-01-09 17:07:38 +00:00
StyleCI Bot
5399c86a1b
Apply fixes from StyleCI
2024-01-09 15:06:12 +00:00
Ngô Quốc Đạt
b4a82e81fc
fix: overflowing forum stats ( #3940 )
2023-12-01 11:42:36 +01:00
Rafał Całka
471ce0ea2a
fix(approval): PostWasApproved
event triggered incorrectly
2023-11-23 18:50:47 +01:00
flarum-bot
d4c532c949
Bundled output for commit 46357ee9a9
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-23 17:14:53 +00:00
Tristian Kelly
46357ee9a9
perf(flags): add pagination to flags list ( #3931 )
2023-11-23 18:11:46 +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
9e04b010d8
Bundled output for commit 1c0e0933b0
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-11 18:38:17 +00:00
Sami Mazouz
1c0e0933b0
feat: improve emoji autocomplete ( #3923 )
...
* feat: improve emoji autocomplete
* chore: improve dropdown header
2023-11-11 19:31:53 +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
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
flarum-bot
9ef366493c
Bundled output for commit 208b94dc12
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-11-10 21:50:02 +00:00
Sami Mazouz
208b94dc12
chore(mentions,emoji): tie autocomplete to editor instance ( #3913 )
2023-11-10 21:44:00 +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
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
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
Sami Mazouz
5cdfa0f640
fix: load event mentioned tags on show discussion endpoint ( #3915 )
2023-11-01 13:43:00 +00: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
flarum-bot
2950290ad1
Bundled output for commit d154388468
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-10-29 12:32:28 +00:00
Sami Mazouz
d154388468
chore: function names
2023-10-29 13:27:34 +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
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
IanM
412cfafb3a
feat: notification unsubscribe & email overhaul with HTML multipart ( #3872 )
2023-09-29 16:34:54 +01:00
flarum-bot
23fdddf185
Bundled output for commit be9eb16d7d
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-09-14 20:09:52 +00:00
Ngô Quốc Đạt
be9eb16d7d
chore: use str_contains ( #3841 )
2023-09-14 21:05:15 +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
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
flarum-bot
f2f7f16c68
Bundled output for commit f3b5313557
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-07-05 13:19:45 +00:00
Sami Mazouz
0b128a5612
Merge branch '2.x' into 1.x
2023-07-05 10:29:03 +01:00
Sami Mazouz
5a4bb7ccf2
fix: missing slug from post mention links
2023-07-04 11:00:45 +01:00
Sami Mazouz
d2a6329689
fix(mentions): cannot use mentionables extender ( #3849 )
2023-07-04 10:56:52 +01:00
Rafael Horvat
2bc2899a1d
fix(mentions): missed post mentions UI changes ( #3832 )
...
Co-authored-by: Ian Morland <ian@morland.me>
2023-07-01 17:44:59 +01:00
flarum-bot
9feb9dd4eb
Bundled output for commit 016503d8c3
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-06-29 18:24:31 +00:00
Sami Mazouz
016503d8c3
feat: export registry ( #3842 )
...
* feat: registry first iteration
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* feat: improve webpack auto export loader
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: remove `compat` API
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: cleanup
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-06-29 18:57:53 +01:00
Ngô Quốc Đạt
b003736d75
chore: Remove unused vars in catch ( #3839 )
2023-06-21 16:38:24 +01:00
Sami Mazouz
5820a16a96
chore: increase phpstan level to 6 ( #3836 )
...
* chore: increase phpstan level to 6
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-06-21 14:31:24 +01:00
flarum-bot
7799c2fcd5
Bundled output for commit 11b4a810b7
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-06-15 17:09:20 +00:00
Sami Mazouz
11b4a810b7
chore: upgrade to mithril 2.2 ( #3831 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-06-15 18:04:41 +01:00
Sami Mazouz
493ffa0538
chore(phpstan): upgrade to be compatible with latest dependency updates ( #3835 )
2023-06-15 17:49:39 +01:00
Sami Mazouz
64b25b26c3
chore: improve test suite ( #3814 )
...
Allows running tests without constantly running `composer install` on each extension.
2023-06-15 13:26:39 +01:00
IanM
6bc19e2e52
chore: Upgrade dependencies ( #3830 )
...
* wip: laraval and symfony upgrades
* Apply fixes from StyleCI
* Apply fixes from StyleCI
* bump var dumper to 6.3
* require guzzle 7.7
* remove docbloc
* lock symfony/translation-contracts to 2.5
* fix: require mailgun package
* remove docblock
* fix: flysystem tests
* fix: instance flarum assets for testing
* Apply fixes from StyleCI
* downgrade intervention/image back to 2.x
* Apply fixes from StyleCI
* provide ImageManager to AvatarUploader
* fix larastan
* revert back some other intervention/image changes
* fix image resize
* Update framework/core/src/Http/Middleware/AuthenticateWithHeader.php
Co-authored-by: Daniël Klabbers <luceos@users.noreply.github.com>
* Apply fixes from StyleCI
* Update framework/core/src/Mail/SmtpDriver.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
* Update framework/core/src/User/LoginProvider.php
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
* use named attrs
* revert imagemanager in constructor
* revert to using Contract mailer
* reinstate and update FlarumLogTransport
* correct var typo, use one less temp var
* names attrs
* uncomment test
* mailer contract
* Apply fixes from StyleCI
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Daniël Klabbers <luceos@users.noreply.github.com>
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2023-06-14 14:46:15 +01:00
flarum-bot
3757bde4fc
Bundled output for commit f67ca5782a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-06-07 10:45:14 +00:00
Sami Mazouz
951f58e567
fix(regression): require flarum/testing:2.0
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-05-31 09:53:59 +01:00
Sami Mazouz
082f04d3c3
fix(regression): caught errors
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-05-31 09:50:39 +01:00
Sami Mazouz
04fe2616a4
Revert "fix(regression): caught errors"
...
This reverts commit c94c140484
.
2023-05-31 09:47:30 +01:00
Sami Mazouz
c94c140484
fix(regression): caught errors
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-05-31 09:45:50 +01:00
Sami Mazouz
6f11e044a7
chore: update codebase to php8.1 ( #3827 )
...
* chore: set minimum php version to 8.1
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: update codebase to php8.1
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* chore: update workflow php version
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: more caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: phpstan caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: introduce `Flarum\Locale\TranslatorInterface`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* chore: remove mixin
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: test-caught errors
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: one last error
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-05-30 11:36:12 +01:00
Sami Mazouz
e5abffc75b
chore: v1.8 preparations
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-05-20 16:08:42 +01:00
Sami Mazouz
65390a4fc0
test: patch phpstan error
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-05-16 19:57:57 +01:00
Sami Mazouz
f1f6051deb
fix(regression): lost spacing between tag label icon and text
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-05-16 19:21:04 +01:00
Sami Mazouz
bded3da42d
fix(regression): queryVisibleTo
accepts nullable actor
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-05-16 19:17:07 +01:00
Sami Mazouz
231cee1f78
fix(regression): newCollection
accepts collections
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-05-15 17:31:23 +01:00
flarum-bot
f6c9bbb427
Bundled output for commit feb968780a
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-14 20:41:53 +00:00
Sami Mazouz
feb968780a
fix(regression): missing TagsLabel
class
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-05-14 21:34:34 +01:00
Sami Mazouz
5b89d3e91a
chore(regression): use correct imports from core js
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-05-14 21:34:17 +01:00
flarum-bot
4247e54c64
Bundled output for commit ef35faaded
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-07 21:37:58 +00:00
Sami Mazouz
ef35faaded
fix(regression): wrong app import in forum JS
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-05-07 22:31:07 +01:00
flarum-bot
96e1411b7d
Bundled output for commit 21b483625e
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-07 17:49:29 +00:00
Sami Mazouz
9363682e1c
fix: filter values are not validated ( #3795 )
2023-05-07 18:37:53 +01:00
flarum-bot
c766881e1f
Bundled output for commit e63e161be6
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-05-07 16:49:15 +00:00
David Wheatley
e63e161be6
chore: major frontend JS cleanup ( #3609 )
2023-05-07 17:40:18 +01:00
Sami Mazouz
d7fcd8a9e5
fix(bbcode): highlight.js does not work after changing post content ( #3817 )
...
* fix(bbcode): highlight.js does not work after changing post content
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore(bbcode): organize bbcode code
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-05-02 09:39:43 +01:00
Sami Mazouz
919c3bb770
perf: speed up post creation time ( #3808 )
...
* chore: drop unused visibility checking in notif syncer
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* perf: eager load parsed mentions
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* perf: eager load some relations needed for visibility checking
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* perf: trigger mentions notifications in a queueable job
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* fix: broken tag mentions
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-04-30 10:10:31 +01:00
Sami Mazouz
af3f91ca5b
fix(tags): DiscussionTaggedPost
shows tags as deleted
( #3812 )
...
* fix(tags): `DiscussionTaggedPost` shows tags as `deleted`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-04-29 09:48:01 +02:00
Sami Mazouz
4784307e26
fix(bbcode): localize quote wrote
string ( #3809 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-04-27 20:26:28 +01:00
flarum-bot
105b22976e
Bundled output for commit fea31a8290
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-24 17:10:43 +00:00
Sami Mazouz
accdfde6e1
fix(mentions): mentions XHR fired even after mentioning is done ( #3806 )
...
* fix(mentions): mentions XHR fired even after mentioning is done
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: simplify diff
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-04-24 17:57:41 +01:00
flarum-bot
e55844f3db
Bundled output for commit 1d20f4d4aa
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-21 06:52:38 +00:00
Rafael Horvat
1d20f4d4aa
Change some methods from private to protected, to be able to extend the affected classes ( #3802 )
2023-04-21 07:42:42 +01:00
Sami Mazouz
803f0cd0f4
fix(tags): not all tags are loaded in the permission grid ( #3804 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-04-21 07:38:09 +01:00
flarum-bot
1792e22639
Bundled output for commit 5e281136f6
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-19 12:05:15 +00:00
Sami Mazouz
5e281136f6
feat(mentions,tags): tag mentions ( #3769 )
...
* feat: add tag search
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* feat(mentions): tag mentions backend
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* feat: tag mention design
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* refactor: revamp mentions autocomplete
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: unauthorized mention of hidden groups
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* feat(mentions,tags): use hash format for tag mentions
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* refactor: frontend mention format API with mentionable models
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* feat: implement tag search on the frontend
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: tag color contrast
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: tag suggestions styling
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* test: works with disabled tags extension
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: move `MentionFormats` to `formats`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: mentions preview bad styling
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* docs: further migration location clarification
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* fix: bad test namespace
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: phpstan
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: conditionally add tag related extenders
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* feat(phpstan): evaluate conditional extenders
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* feat: use mithril routing for tag mentions
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-04-19 12:58:11 +01:00
flarum-bot
c0af41c305
Bundled output for commit d0669b08aa
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-19 08:32:02 +00:00
Sami Mazouz
d0669b08aa
perf(likes): limit likes
relationship results ( #3781 )
...
* perf(core,mentions): limit `mentionedBy` post relation results
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* chore: use a static property to allow customization
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: use a static property to allow customization
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: include count in show post endpoint
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: consistent locale key format
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: forgot to delete `FilterVisiblePosts`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* test: `mentionedByCount` must not include invisible posts to actor
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: visibility scoping on `mentionedByCount`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: `loadAggregates` conflicts with visibility scopers
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* chore: phpstan
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* perf(likes): limit `likes` relationship results
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* chore: simplify
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* test: `likesCount` is as expected
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: IanM <16573496+imorland@users.noreply.github.com>
2023-04-19 09:22:41 +01:00
flarum-bot
6b8e9ce1db
Bundled output for commit fbbece4bda
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-19 07:30:05 +00:00
Sami Mazouz
fbbece4bda
perf(core,mentions): limit mentionedBy
post relation results ( #3780 )
...
* perf(core,mentions): limit `mentionedBy` post relation results
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* chore: use a static property to allow customization
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: use a static property to allow customization
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: include count in show post endpoint
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: consistent locale key format
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* chore: forgot to delete `FilterVisiblePosts`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* test: `mentionedByCount` must not include invisible posts to actor
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: visibility scoping on `mentionedByCount`
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* fix: `loadAggregates` conflicts with visibility scopers
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* Apply fixes from StyleCI
* chore: phpstan
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
---------
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-04-19 08:23:08 +01:00
dependabot[bot]
13e655aca5
chore(deps): bump webpack from 5.75.0 to 5.76.0 ( #3761 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 07:45:00 +01:00
flarum-bot
176b5540d8
Bundled output for commit 2e76a8ecb5
...
Includes transpiled JS/TS, and Typescript declaration files (typings).
[skip ci]
2023-04-16 20:54:45 +00:00
Sami Mazouz
94e92cf24e
fix: approving a post does not bump user comment_count
( #3790 )
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-04-16 21:13:57 +01:00