Commit Graph

18 Commits

Author SHA1 Message Date
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
Ian Morland
fc06dba1b3 feat: Display suspension to user (#41) 2021-12-13 00:48:10 +01:00
Alexander Skvortsov
06dfd8a603 Use ApiSerializer attributes method 2021-03-13 17:04:58 -05:00
Alexander Skvortsov
c01dc63c5d Apply fixes from StyleCI 2021-03-13 20:49:35 +00:00
Alexander Skvortsov
6eb2c9e574 Update for search/filter split 2021-03-13 15:49:23 -05:00
Alexander Skvortsov
2bb5482f03 Apply fixes from StyleCI 2020-12-08 19:03:47 +00:00
Alexander Skvortsov
7a48da291e Use new Policy and User Permission Groups permissions 2020-12-08 14:02:06 -05:00
Sami Mazouz
ab8a3e48b2 Use new extenders (#31) 2020-12-08 13:44:43 -05:00
Sami Mazouz
3dcd356edc Use the new Notification type extender (#29) 2020-10-31 18:42:01 -04:00
Alexander Skvortsov
061a8585c2 Add suspended gambit (#23)
* Add is:suspended gambit

* Wrap where clauses in function

* Added permission check for suspended gambit

* Apply fixes from StyleCI

Co-authored-by: luceos <daniel+github@klabbers.email>
2020-06-28 15:02:09 -04:00
luceos
c925f92f79 Apply fixes from StyleCI 2020-06-20 02:25:53 +00:00
Alexander Skvortsov
eb1e364424 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:25:40 -04:00
David Sevilla Martin
42d7968dfb Fix Model extender transition using camelCase instead of underscore notation 2020-05-03 08:39:35 -04:00
Franz Liedke
91d7b6730f Use new Model extender 2020-04-24 15:56:07 +02:00
Franz Liedke
5c7d2bb9f2 Apply fixes from StyleCI 2019-11-29 23:02:35 +00:00
Franz Liedke
de1ff99356 Get rid of event subscribers that resolve services too early
Refs flarum/core#1578.
2018-12-16 15:06:10 +01:00
Toby Zerner
6f5aca0476 Rename bootstrap.php 2018-09-21 11:48:00 +09:30