Skip to content

Conversation

@tomneedham
Copy link
Contributor

No description provided.

@tomneedham
Copy link
Contributor Author

Core now takes care of this, after check password the accounts is upserted

@tomneedham
Copy link
Contributor Author

Since we already retrieved the user from LDAP when core does the sync it can use the cached UserEntry

@tomneedham
Copy link
Contributor Author

tomneedham commented Nov 29, 2017

Note: this would target >10.0.8

@codecov-io
Copy link

codecov-io commented Nov 30, 2017

Codecov Report

Merging #156 into master will increase coverage by 0.27%.
The diff coverage is 75%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #156      +/-   ##
============================================
+ Coverage     34.61%   34.88%   +0.27%     
+ Complexity     1375     1358      -17     
============================================
  Files            32       32              
  Lines          3975     3927      -48     
============================================
- Hits           1376     1370       -6     
+ Misses         2599     2557      -42
Impacted Files Coverage Δ Complexity Δ
lib/User_LDAP.php 40.42% <ø> (-0.63%) 36 <0> (ø)
lib/User/Manager.php 50.27% <0%> (+9.38%) 63 <0> (-15) ⬇️
lib/User/UserEntry.php 98.41% <100%> (-0.07%) 54 <0> (-2)

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 65b7cb2...c744561. Read the comment docs.

@tomneedham tomneedham modified the milestones: backlog, planned Dec 6, 2017
@tomneedham
Copy link
Contributor Author

Should this kill setupAccount as well?

@butonic
Copy link
Member

butonic commented Jan 8, 2018

@tomneedham setupAccount is code in core

@butonic butonic changed the title [WIP] Sync should happen in core Sync should happen in core Feb 6, 2018
@tomneedham
Copy link
Contributor Author

This needs to target the version that https://github.com/owncloud/core/pull/30638/commits is released in (10.0.8)

@butonic
Copy link
Member

butonic commented Mar 15, 2018

faling stable10 tests until owncloud/core#30638 is merged

@tomneedham
Copy link
Contributor Author

@ownclouders rebase please

@tomneedham
Copy link
Contributor Author

Well, I rebased it

@tomneedham
Copy link
Contributor Author

Just testing this with current stable10 HEAD @ d0ee6a6a403e98a106a61b8f7dfcd06313e0b36c

@tomneedham tomneedham modified the milestones: planned, development Apr 12, 2018
@butonic
Copy link
Member

butonic commented Apr 12, 2018

during testing I was worried that we removed the updateGroups call ... turns out the cache for getMemberOf is never read anyway. also, the group backend queries memberof itself and resolves nested groups. Tracking caching of groups and primarygroupid in #226

@butonic
Copy link
Member

butonic commented Apr 12, 2018

also found owncloud-archive/user_management#19 during testing group membership stuff

@tomneedham tomneedham merged commit 69bc00a into master Apr 13, 2018
@tomneedham tomneedham deleted the sync-in-core branch April 13, 2018 11:09
@patrickjahns patrickjahns mentioned this pull request Apr 17, 2018
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants