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

New Sharing #1087

Merged
merged 8 commits into from May 31, 2022
Merged

New Sharing #1087

merged 8 commits into from May 31, 2022

Conversation

jotoeri
Copy link
Member

@jotoeri jotoeri commented Dec 9, 2021

So - here it is! 🎉 Ready for Review.
I'm really sorry, it became that much code now in a single PR. Thus i moved fixing the API-versioning to #1126.

Looking forward for the first tests! ☺️

grafik
grafik
AppNavigation is now:
grafik

Fixes #425 😉

@jotoeri jotoeri added design Related to the design enhancement New feature or request feature: 👥 sharing settings labels Dec 9, 2021
@codecov
Copy link

codecov bot commented Dec 9, 2021

Codecov Report

Merging #1087 (6a6a036) into master (daf8282) will increase coverage by 2.90%.
The diff coverage is 47.64%.

❗ Current head 6a6a036 differs from pull request most recent head b3a4e1b. Consider uploading reports for the commit b3a4e1b to get more accurate results

@@             Coverage Diff              @@
##             master    #1087      +/-   ##
============================================
+ Coverage     29.14%   32.04%   +2.90%     
- Complexity      369      435      +66     
============================================
  Files            36       40       +4     
  Lines          1431     1676     +245     
============================================
+ Hits            417      537     +120     
- Misses         1014     1139     +125     

@jotoeri

This comment was marked as outdated.

@jotoeri jotoeri linked an issue Dec 11, 2021 that may be closed by this pull request
@jotoeri jotoeri force-pushed the enh/sharing branch 4 times, most recently from 35c6c69 to 4634cb2 Compare December 17, 2021 21:26
@skjnldsv skjnldsv added the 2. developing Work in progress label Dec 20, 2021
@RenataGegaj

This comment was marked as resolved.

@jotoeri

This comment was marked as resolved.

@jotoeri jotoeri force-pushed the enh/sharing branch 10 times, most recently from fdb5553 to 736c089 Compare February 8, 2022 21:10
@jotoeri jotoeri force-pushed the enh/sharing branch 6 times, most recently from 9957233 to 4e9673b Compare February 20, 2022 11:38
@jotoeri jotoeri force-pushed the enh/sharing branch 6 times, most recently from d887be0 to 6c1c20d Compare May 22, 2022 20:24
@jotoeri
Copy link
Member Author

jotoeri commented May 22, 2022

Properties are not strong typed, but I thought this may be on purpose if you plan to support older Nextcloud/PHP versions. (24 requires PHP>=7.4 so we can start using strong typed properties there.

Yes, we officially still support NC22 and just recently removed php 7.2. ^^ Thus i'd leave it for now. We'll have a separate PR to change all of our classes, when the time has come. 😉

@jotoeri jotoeri force-pushed the enh/sharing branch 2 times, most recently from a965002 to 20eae6a Compare May 22, 2022 21:40
@jotoeri
Copy link
Member Author

jotoeri commented May 22, 2022

Ok - So thank you, @artonge @CarlSchwan @come-nc for your reviews here! 🚀 Quite a few new things and ideas. I had a look onto all of it, partially just set a comment, but also implemented quite a few things.

So - i think if there's no more issues from your side, this should be good to go, then! ☺️ 🎉

Copy link

@come-nc come-nc left a comment

Choose a reason for hiding this comment

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

Good apart from nitpicking.

I did not test.

lib/Controller/ShareApiController.php Show resolved Hide resolved
lib/Migration/Version030000Date20211206213004.php Outdated Show resolved Hide resolved
@jotoeri
Copy link
Member Author

jotoeri commented May 31, 2022

@artonge Do you wanna check your requested changes? Or should i just dismiss the review as i looked into your comments?

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Also fixes #806

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
@jotoeri jotoeri merged commit e6231fa into master May 31, 2022
@jotoeri jotoeri deleted the enh/sharing branch May 31, 2022 19:58
@come-nc
Copy link

come-nc commented Jun 2, 2022

🚀 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews design Related to the design enhancement New feature or request feature: 👥 sharing settings high High priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature request] Share a form by more than one method. Show sharings as in Server
9 participants