AspireCloud/app/Exceptions
Chuck Adams 123803ec83
update plugin_information, implement hot_tags for /plugins/info (#87)
* fix: mv grumphp.yml grumphp.yml.dist and use explicit phpcsfixer config

* refactor: move NotFoundException to App\Exceptions

* refactor: move plugin services to App\Services\Plugins

* feat: implement hot_tags action for /plugins/info endpoint

* fix: make plugin_information fields match upstream (order still differs)

* fix: give nullable columns in Plugin nullable types

* fix(tests): rm 'downloaded' key from assertWpPluginAPIStructure

* refactor: break out QueryPluginsService from PluginInformationService

* refactor: break queryPlugins into apply* methods

* fix: change orderBy to reorder in applyBrowse()

* feat: add slug to plugin search criteria

* fix: variable naming in Plugin::fillFromMetadata

* fix: use tags table for tag query

* feat: add PluginTagFactory (not used yet)

* feat: implement /core/importers

* fix: tags fields removed and refactor plugin tests (#89)

- On #87, a many-to-many relationship for tags was introduced; keeping the tags field on the Plugin table is unnecessary
- Refactor the Plugin tests to use the new many-to-many relationshipt
- Refactor the PluginFactory to allow create plugins with the tags relationship

* style: make fix

* style: take out some redundant ::query() calls

* fix: add cascade delete to tag join tables

---------

Co-authored-by: Enrique Chavez <noone@tmeister.net>
2024-11-02 17:42:15 -06:00
..
NotFoundException.php update plugin_information, implement hot_tags for /plugins/info (#87) 2024-11-02 17:42:15 -06:00