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

Fix item lists in CLI #1180

Merged
merged 2 commits into from
Feb 20, 2021
Merged

Conversation

SMillerDev
Copy link
Contributor

Hopefully resolves the item list issues.

Fixes #1172

Copy link
Contributor

@anoymouserver anoymouserver left a comment

Choose a reason for hiding this comment

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

First test worked well, except for the ''offset'' loading (as discussed here #1172 (comment))

.github/workflows/api-integration-tests.yml Outdated Show resolved Hide resolved
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
@codecov-io
Copy link

codecov-io commented Feb 20, 2021

Codecov Report

Merging #1180 (2761845) into master (78bf824) will decrease coverage by 3.87%.
The diff coverage is 5.40%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1180      +/-   ##
============================================
- Coverage     90.88%   87.01%   -3.88%     
- Complexity      665      687      +22     
============================================
  Files            57       60       +3     
  Lines          2371     2473     +102     
============================================
- Hits           2155     2152       -3     
- Misses          216      321     +105     
Impacted Files Coverage Δ Complexity Δ
lib/Command/Debug/FeedItemList.php 0.00% <0.00%> (ø) 6.00 <6.00> (?)
lib/Command/Debug/FolderItemList.php 0.00% <0.00%> (ø) 8.00 <8.00> (?)
lib/Command/Debug/ItemList.php 0.00% <0.00%> (ø) 6.00 <6.00> (?)
lib/Controller/ItemApiController.php 100.00% <ø> (ø) 29.00 <0.00> (ø)
lib/Controller/ItemController.php 100.00% <ø> (ø) 23.00 <0.00> (ø)
lib/Db/ItemMapperV2.php 99.15% <33.33%> (-0.85%) 48.00 <0.00> (+2.00) ⬇️
lib/Controller/FeedController.php 100.00% <100.00%> (ø) 32.00 <0.00> (ø)
lib/Controller/PageController.php 100.00% <100.00%> (ø) 10.00 <0.00> (ø)
lib/Service/ItemServiceV2.php 100.00% <100.00%> (ø) 27.00 <0.00> (ø)
lib/Fetcher/FeedFetcher.php 88.23% <0.00%> (-0.18%) 36.00% <0.00%> (ø%)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78bf824...2761845. Read the comment docs.

@SMillerDev SMillerDev force-pushed the fix/cli/item_lists branch 3 times, most recently from 2761845 to df49f37 Compare February 20, 2021 12:26
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
@SMillerDev SMillerDev merged commit 4a107b3 into nextcloud:master Feb 20, 2021
@SMillerDev SMillerDev deleted the fix/cli/item_lists branch February 20, 2021 12:57
Grotax added a commit that referenced this pull request Feb 23, 2021
Changed
- Remove outdated item DB code. ( #1056)
- Stop returning all feeds after marking folder as read. (#1056)
- Always fetch favicon (#1164)
- Use feed logo instead of favicon if it exists and is square (#1164)
- Add CI for item lists (#1180)

Fixed
- Item list throwing error for folder and "all items" (#1180)
- Articles with high IDs can be placed lower than articles with low IDs (#1147)
- Feeds are accidentally moved on rename (#1189)
- Item list not using ID for offset (#1188)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
@Grotax Grotax mentioned this pull request Feb 23, 2021
Grotax added a commit that referenced this pull request Feb 23, 2021
Changed
- Remove outdated item DB code. ( #1056)
- Stop returning all feeds after marking folder as read. (#1056)
- Always fetch favicon (#1164)
- Use feed logo instead of favicon if it exists and is square (#1164)
- Add CI for item lists (#1180)

Fixed
- Item list throwing error for folder and "all items" (#1180)
- Articles with high IDs can be placed lower than articles with low IDs (#1147)
- Feeds are accidentally moved on rename (#1189)
- Item list not using ID for offset (#1188)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
mnassabain pushed a commit to Team-Forward/news that referenced this pull request Mar 1, 2021
Changed
- Remove outdated item DB code. ( nextcloud#1056)
- Stop returning all feeds after marking folder as read. (nextcloud#1056)
- Always fetch favicon (nextcloud#1164)
- Use feed logo instead of favicon if it exists and is square (nextcloud#1164)
- Add CI for item lists (nextcloud#1180)

Fixed
- Item list throwing error for folder and "all items" (nextcloud#1180)
- Articles with high IDs can be placed lower than articles with low IDs (nextcloud#1147)
- Feeds are accidentally moved on rename (nextcloud#1189)
- Item list not using ID for offset (nextcloud#1188)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
mnassabain pushed a commit to Team-Forward/news that referenced this pull request Mar 1, 2021
Changed
- Remove outdated item DB code. ( nextcloud#1056)
- Stop returning all feeds after marking folder as read. (nextcloud#1056)
- Always fetch favicon (nextcloud#1164)
- Use feed logo instead of favicon if it exists and is square (nextcloud#1164)
- Add CI for item lists (nextcloud#1180)

Fixed
- Item list throwing error for folder and "all items" (nextcloud#1180)
- Articles with high IDs can be placed lower than articles with low IDs (nextcloud#1147)
- Feeds are accidentally moved on rename (nextcloud#1189)
- Item list not using ID for offset (nextcloud#1188)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
mnassabain pushed a commit to Team-Forward/news that referenced this pull request Mar 1, 2021
Changed
- Remove outdated item DB code. ( nextcloud#1056)
- Stop returning all feeds after marking folder as read. (nextcloud#1056)
- Always fetch favicon (nextcloud#1164)
- Use feed logo instead of favicon if it exists and is square (nextcloud#1164)
- Add CI for item lists (nextcloud#1180)

Fixed
- Item list throwing error for folder and "all items" (nextcloud#1180)
- Articles with high IDs can be placed lower than articles with low IDs (nextcloud#1147)
- Feeds are accidentally moved on rename (nextcloud#1189)
- Item list not using ID for offset (nextcloud#1188)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Neo11 pushed a commit to Neo11/news that referenced this pull request May 28, 2022
Changed
- Remove outdated item DB code. ( nextcloud#1056)
- Stop returning all feeds after marking folder as read. (nextcloud#1056)
- Always fetch favicon (nextcloud#1164)
- Use feed logo instead of favicon if it exists and is square (nextcloud#1164)
- Add CI for item lists (nextcloud#1180)

Fixed
- Item list throwing error for folder and "all items" (nextcloud#1180)
- Articles with high IDs can be placed lower than articles with low IDs (nextcloud#1147)
- Feeds are accidentally moved on rename (nextcloud#1189)
- Item list not using ID for offset (nextcloud#1188)

Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
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.

No feeds returned for folder
4 participants