-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[5.2] [GSoC 21] Core Enhancement 3 - Merge Featured into Articles #35228
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
Closed
Closed
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
275ca6b
Update signature
bembelimen 0f07418
add selector field dropdown
YatharthVyas be41955
change featured from filter to selector
YatharthVyas bcb124f
update articles model to incorporate featurred
YatharthVyas 73634bb
fix bug in dropdown value adaption
YatharthVyas f7f52a9
remove unneccesary ternary
YatharthVyas a5d723d
phpcs
YatharthVyas 7074ae6
merge tmpl
YatharthVyas 4a69c58
add default stage templates
YatharthVyas e732f6c
phpcs
YatharthVyas 9cf22b8
merge view
YatharthVyas be42ff8
add isFeatured method to get featured selector
YatharthVyas d3d51a9
merge featured controller
YatharthVyas bfe7ac0
update incoming links to featured
YatharthVyas 2ffc28d
update menu item install link
YatharthVyas d661187
sql update link to featured
YatharthVyas cbf71dd
fixes https://github.com/joomla-projects/gsoc21_core-enhancements/iss…
YatharthVyas 8c7ee8f
set default ordering for featured and articles
YatharthVyas 5481e3c
single help page
YatharthVyas babde74
delete the moved file
YatharthVyas 24b6a0a
replace the files
YatharthVyas 0e6cf7c
Change double quotes to single quotes
YatharthVyas cf8923c
correct typo
YatharthVyas dcd78a1
fix sorting by featured
YatharthVyas fcc9a50
delete featured template files
YatharthVyas 751d5c6
delete featured controller
YatharthVyas d0c0f5c
delete featured model
YatharthVyas c61f30c
delete featured view
YatharthVyas 1bac178
delete featurd filter form
YatharthVyas 293c6b9
Update administrator/components/com_content/src/View/Articles/HtmlVie…
bembelimen bf59c4d
use short syntax array
YatharthVyas 46e7778
revert changes to drone
YatharthVyas 076e3d4
correctly filter user supplied input
YatharthVyas 9974bfd
remove unused language constants
YatharthVyas caf27d4
revert removal of filtered_articles from script
YatharthVyas 481321a
fix invalid var for filtering user state input
YatharthVyas fb97fd4
Update administrator/components/com_content/src/Controller/ArticlesCo…
YatharthVyas eae1700
Apply suggestions from code review
YatharthVyas d47fb0f
rename sql update script
YatharthVyas 60fbda9
add client id filter in sql update script
YatharthVyas b0fea58
revert updation of links for client menu items
YatharthVyas ba8c231
remove feature from actions if workflow is enabled
YatharthVyas 13f3d02
Update .drone.yml
obuisard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
administrator/components/com_admin/sql/updates/mysql/4.2.0-2022-03-27.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| -- Update link to featured | ||
| UPDATE `#__menu` | ||
| SET `link` = 'index.php?option=com_content&view=articles&featured=1' | ||
| WHERE `link` = 'index.php?option=com_content&view=featured' | ||
| AND `client_id` = 1; |
5 changes: 5 additions & 0 deletions
5
administrator/components/com_admin/sql/updates/postgresql/4.2.0-2022-03-27.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| -- Update link to featured | ||
| UPDATE "#__menu" | ||
| SET "link" = 'index.php?option=com_content&view=articles&featured=1' | ||
| WHERE "link" = 'index.php?option=com_content&view=featured' | ||
| AND "client_id" = 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
150 changes: 0 additions & 150 deletions
150
administrator/components/com_content/forms/filter_featured.xml
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
97 changes: 0 additions & 97 deletions
97
administrator/components/com_content/src/Controller/FeaturedController.php
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not be moved to the filter fields group, so it is within the "Search Tools" panel?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I implemented it this way primarily because:
contextfield inContact->Field Groups. So I tried to replicate something similar (Ref: Context Field in Field Groups Form)