Skip to content

Sync should happen in core - #156

Merged
tomneedham merged 5 commits into
masterfrom
sync-in-core
Apr 13, 2018
Merged

tomneedham merged 5 commits into
masterfrom
sync-in-core

Conversation

@tomneedham

Copy link
Copy Markdown
Contributor

No description provided.

@tomneedham

Copy link
Copy Markdown
Contributor Author

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

@tomneedham

Copy link
Copy Markdown
Contributor Author

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

@tomneedham

tomneedham commented Nov 29, 2017 •

Copy link
Copy Markdown
Contributor Author

Note: this would target >10.0.8

@codecov-io

codecov-io commented Nov 30, 2017 •

Copy link
Copy Markdown

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
Copy Markdown
Contributor Author

Should this kill setupAccount as well?

@butonic

butonic commented Jan 8, 2018

Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor Author

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

@butonic

butonic commented Mar 15, 2018

Copy link
Copy Markdown
Contributor

faling stable10 tests until owncloud/core#30638 is merged

@tomneedham

Copy link
Copy Markdown
Contributor Author

@ownclouders rebase please

@tomneedham

Copy link
Copy Markdown
Contributor Author

Well, I rebased it

@tomneedham

Copy link
Copy Markdown
Contributor Author

Just testing this with current stable10 HEAD @ d0ee6a6a403e98a106a61b8f7dfcd06313e0b36c

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

butonic commented Apr 12, 2018 •

Copy link
Copy Markdown
Contributor

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

butonic commented Apr 12, 2018

Copy link
Copy Markdown
Contributor

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
10 of 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.

3 participants