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
Sami Mazouz
da1bf8da21
chore(phpstan): enable phpstan in bundled extensions ( #3667 )
...
* feat(phpstan): pick up extended model relations typings
* feat(phpstan): pick up extended model date attributes
* feat(core): introduce `castAttribute` extender
Stops using `dates` as it's deprecated in laravel 8
* feat(phpstan): pick up extended model attributes through casts
* fix: extenders not resolved when declared namespace
* fix(phpstan): new model attributes are always nullable
* chore(phpstan): add helpful cache clearing command
* Apply fixes from StyleCI
* chore: improve extend files provider logic
* chore: rename `castAttribute` to just `cast`
* chore: update phpstan package to detect `cast` method
* chore: enable phpstan in bundled extensions
* chore: rebasing conflicts
* chore: rebasing conflicts
* chore: typings for latest 1.7 changes
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-01-19 21:49:38 +01:00
Sami Mazouz
e5f05166a0
fix(subscriptions): post notifications not getting access checked
...
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2023-01-10 15:04:02 +01:00
Sami Mazouz
62a396e434
feat: send notifications of a new reply when post is approved ( #3656 )
...
* test(subscriptions): approved reply sends out notifications to users
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
* feat: send notifications when a post is approved
The code in approval was extracted into a listener because no matter what listeners are always executed before subscribers even if the extension is set to load before.
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
2022-11-07 11:52:28 +00:00
David Wheatley
87aaaf6971
feat(subscriptions): add option to send notifications when not caught up ( #3503 )
2022-08-31 11:13:51 +02:00
sl-kr
e783a7603d
change value of subscribed from false to null in the JSON API ( #37 )
2021-03-18 12:38:21 -04:00
Alexander Skvortsov
2da4f8204e
Apply fixes from StyleCI
2021-03-13 21:33:02 +00:00
Alexander Skvortsov
58fa8d4b8c
Update for beta 16
2021-03-13 16:32:48 -05:00
Alexander Skvortsov
9614c9d5c1
Use User extender for preference registration, move search modifications back into callback style extender
2020-12-08 12:43:59 -05:00
Sami Mazouz
2ef3bf411f
Use new extenders ( #36 )
2020-12-08 12:37:40 -05:00
Sami Mazouz
249626c68d
Use the new Notification type extender ( #35 )
2020-10-31 18:42:30 -04:00
Alexander Skvortsov
39bf9af538
Don't typehint the view factory in the closure in extend.php
...
This causes the view factory to resolve early, breaking all future extensions that use the view extender
2020-07-27 19:31:13 -04:00
Franz Liedke
2648ee2031
Use new View extender
...
Refs flarum/core#2134 .
2020-07-17 12:11:25 +02:00
Alexander Skvortsov
2a4e8bf8ad
Add empty locale extender to clear cache properly on enable/disable.
...
See https://github.com/flarum/core/pull/2020#issuecomment-616149583
2020-06-19 22:22:54 -04:00
Franz Liedke
907cc2fbe7
Apply fixes from StyleCI
2019-11-29 23:02:31 +00:00
Franz Liedke
dfadc8f5fc
Get rid of event subscribers that resolve services too early
...
Refs flarum/core#1578 .
2018-12-16 15:00:02 +01:00
Toby Zerner
6c45f6c6f3
Rename bootstrap.php
2018-09-21 11:47:48 +09:30