Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactored search module to 2.0 style #2853

Merged
merged 22 commits into from Apr 25, 2016
Merged

refactored search module to 2.0 style #2853

merged 22 commits into from Apr 25, 2016

Conversation

Guite
Copy link
Member

@Guite Guite commented Apr 22, 2016

Q A
Bug fix? no
New feature? yes (pager for recent searches page)
BC breaks? no
Deprecations? no
Fixed tickets -
Refs tickets #1753
License MIT
Changelog updated yes

Description

This PR updates the search module to new controller, Twig, Symfony Forms, etc.

Todos

The search block's form type must be able to handle checkboxes for the module plugins. Tracked in #2861

@Guite Guite added this to the 1.4.3 milestone Apr 22, 2016
@craigh craigh mentioned this pull request Apr 22, 2016
25 tasks
$args['sortorder'] = 'count';
}

$items = array();
$items = [];

// Security check
if (!SecurityUtil::checkPermission('ZikulaSearchModule::', '::', ACCESS_OVERVIEW)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, all security checks should be done at the Controller level (and use shortcut to new service).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't refactor the api yet on purpose for two reasons: 1st it is quite difficult to incorporate old search plugins and 2nd #1753 is about Twig migration. So my primary focus is on getting things converted to Twig and Sf Forms.

@Guite Guite mentioned this pull request Apr 24, 2016
@Guite Guite changed the title refactored search module to 2.0 style [DO NOT MERGE YET] refactored search module to 2.0 style Apr 24, 2016
@Guite Guite changed the title [DO NOT MERGE YET] refactored search module to 2.0 style refactored search module to 2.0 style Apr 25, 2016
@Guite Guite merged commit 9baca15 into zikula:1.4 Apr 25, 2016
@Guite Guite deleted the search branch April 25, 2016 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants