Skip to content

Conversation

@maxme
Copy link
Contributor

@maxme maxme commented Jul 16, 2013

This branch adds:

  • conflict detection code on Posts
  • a RevisionSelector view to compare N post revisions (it's used here with the only 2 conflicted revisions)
  • switch calls to metaWeblog.editPost with wp.editPost and metaWeblog.newPost with wp.newPost
  • date_modified_gmt in BasePost data model

Known issues:

  • A user can edit tags/categories but he can't remove all tags (or categories) from a Post.
  • wp.getPage doesn't reply with date_modified_gmt so currently RevisionSelector is not plugged in PagesViewController.

koke and others added 30 commits June 18, 2013 10:24
- now display local date in revision view
- localization
…igationController, fix localization for 'by [author]', and better upload handling
… for a conflict instead of fetching the full post

cleaning
- call to layoutIfNeeded instead of layoutSubviews
- remove "Conflict Detected" AlertView
- remove author label from RevisionView
Conflicts:
	WordPress/Classes/AbstractPost.h
	WordPress/Classes/AbstractPost.m
	WordPress/Classes/Page.m
	WordPress/Classes/Post.m
	WordPress/Classes/WordPress.xcdatamodeld/WordPress 12.xcdatamodel/elements
	WordPress/Classes/WordPress.xcdatamodeld/WordPress 12.xcdatamodel/layout
	WordPress/WordPress.xcodeproj/project.pbxproj
Copy link
Member

Choose a reason for hiding this comment

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

This looks like it's going to break for existing installs: Local drafts will turn into conflicts and synced posts will turn into local drafts

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Migration is done in commit b5876bb

@autobott
Copy link

autobott commented Nov 7, 2013

Build triggered.

@sendhil
Copy link
Contributor

sendhil commented Dec 21, 2013

I'm going to close this for now, we can always re-visit this later.

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.

4 participants