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

Remove V1 item API #1056

Merged
merged 1 commit into from
Feb 13, 2021
Merged

Conversation

SMillerDev
Copy link
Contributor

This completes the migration to QBMappers

Signed-off-by: Sean Molenaar sean@seanmolenaar.eu

@SMillerDev SMillerDev force-pushed the chore/disable_v1_item branch 2 times, most recently from 72d2863 to ba0e04d Compare January 17, 2021 19:07
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.

I would recommend implementing the read functions (folder and feed) and purge before we release a new (beta) version. Otherwise there will be issues for not working UI elements or growing databases.
(But you probably already planned to do this. If you need help message me ..)

CHANGELOG.md Outdated Show resolved Hide resolved
lib/Command/Config/FolderDelete.php Outdated Show resolved Hide resolved
tests/Unit/Controller/FeedApiControllerTest.php Outdated Show resolved Hide resolved
lib/Controller/FeedApiController.php Show resolved Hide resolved
lib/Service/ItemServiceV2.php Show resolved Hide resolved
lib/Controller/FolderController.php Show resolved Hide resolved
lib/Controller/FolderController.php Outdated Show resolved Hide resolved
tests/Unit/Controller/FeedControllerTest.php Outdated Show resolved Hide resolved
lib/Db/ItemMapperV2.php Outdated Show resolved Hide resolved
tests/Unit/Controller/ItemControllerTest.php Outdated Show resolved Hide resolved
lib/Db/ItemMapperV2.php Show resolved Hide resolved
lib/Db/ItemMapperV2.php Show resolved Hide resolved
@Grotax Grotax added 4. to release API Impact API/Backend code minor labels Jan 20, 2021
@SMillerDev SMillerDev added this to the 15.3.0 milestone Jan 20, 2021
@SMillerDev SMillerDev force-pushed the chore/disable_v1_item branch 2 times, most recently from 5258f00 to bb3abe2 Compare February 5, 2021 11:48
@SMillerDev SMillerDev force-pushed the chore/disable_v1_item branch 2 times, most recently from 815b566 to 1b4940e Compare February 6, 2021 16:43
@SMillerDev
Copy link
Contributor Author

Psalm issue would never happen in real life. Not sure how to make it go away though.

@Grotax
Copy link
Member

Grotax commented Feb 8, 2021

Weird that psalm crashes completely with stable20

The unknown classes errors can probably be removed by running vendor/bin/psalm --update-baseline

@codecov-io
Copy link

codecov-io commented Feb 13, 2021

Codecov Report

Merging #1056 (633262c) into master (ceba810) will increase coverage by 22.15%.
The diff coverage is 99.71%.

Impacted file tree graph

@@              Coverage Diff              @@
##             master    #1056       +/-   ##
=============================================
+ Coverage     69.18%   91.33%   +22.15%     
+ Complexity      742      662       -80     
=============================================
  Files            74       57       -17     
  Lines          2703     2355      -348     
=============================================
+ Hits           1870     2151      +281     
+ Misses          833      204      -629     
Impacted Files Coverage Δ Complexity Δ
lib/Controller/ApiController.php 72.72% <0.00%> (ø) 5.00 <1.00> (ø)
lib/Controller/PageController.php 100.00% <ø> (+2.85%) 10.00 <0.00> (ø)
lib/Explore/RecommendedSites.php 0.00% <ø> (ø) 3.00 <0.00> (ø)
lib/Command/Config/FolderDelete.php 100.00% <100.00%> (ø) 4.00 <0.00> (ø)
lib/Controller/FeedApiController.php 100.00% <100.00%> (+3.27%) 20.00 <0.00> (ø)
lib/Controller/FeedController.php 100.00% <100.00%> (+0.94%) 32.00 <0.00> (ø)
lib/Controller/FolderApiController.php 100.00% <100.00%> (+8.10%) 15.00 <3.00> (ø)
lib/Controller/FolderController.php 100.00% <100.00%> (+11.76%) 20.00 <6.00> (ø)
lib/Controller/ItemApiController.php 100.00% <100.00%> (+1.61%) 29.00 <15.00> (+6.00)
lib/Controller/ItemController.php 100.00% <100.00%> (ø) 23.00 <13.00> (+6.00)
... and 23 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 ceba810...633262c. Read the comment docs.

Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
@SMillerDev SMillerDev merged commit b4fa772 into nextcloud:master Feb 13, 2021
@SMillerDev SMillerDev deleted the chore/disable_v1_item branch February 13, 2021 12:23
anoymouserver added a commit to anoymouserver/news that referenced this pull request Feb 13, 2021
anoymouserver added a commit to anoymouserver/news that referenced this pull request Feb 13, 2021
follow-up for b4fa772 (nextcloud#1056)

Signed-off-by: anoy <anoymouserver+github@mailbox.org>
anoymouserver added a commit that referenced this pull request Feb 14, 2021
follow-up for b4fa772 (#1056)

Signed-off-by: anoy <anoymouserver+github@mailbox.org>
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
follow-up for b4fa772 (nextcloud#1056)

Signed-off-by: anoy <anoymouserver+github@mailbox.org>
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
follow-up for b4fa772 (nextcloud#1056)

Signed-off-by: anoy <anoymouserver+github@mailbox.org>
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
follow-up for b4fa772 (nextcloud#1056)

Signed-off-by: anoy <anoymouserver+github@mailbox.org>
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
follow-up for b4fa772 (nextcloud#1056)

Signed-off-by: anoy <anoymouserver+github@mailbox.org>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants