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

Add Domain model to track project Domains #1575

Merged
merged 42 commits into from
Sep 17, 2015
Merged

Add Domain model to track project Domains #1575

merged 42 commits into from
Sep 17, 2015

Conversation

ericholscher
Copy link
Member

The goal here is to make our usage of domains more explicit. This includes CNAME's, and our tracking or domain usage of people on our site.

The main fiddly bit here is that if users change their CNAME to point at another project they will have to go into the previous project's admin and delete the Domain, since the URL's are unique.

Major work

  • Model Domain objects
  • Migrate Canonical URL on project to Domain object
  • Build admin panel
  • Create objects in middleware on domain usage
  • Allow creation of a single Canonical domain.
  • Support Domain objects in backend sync code
  • Port model methods

Migration Plan

  • Auto-create Domain objects from existing CNAME's ✔️
  • Convert "machine" domains to certified ones on User confirmation, or large amount of usage. ⌚
  • Force resolving of domains to existing Domain Objects ⌚
  • Disable Domain Object creation ⌚

@ericholscher ericholscher added the PR: work in progress Pull request is not ready for full review label Aug 19, 2015
@ericholscher ericholscher added PR: ready for review and removed PR: work in progress Pull request is not ready for full review labels Aug 19, 2015
@ericholscher ericholscher added PR: ready for review and removed PR: work in progress Pull request is not ready for full review labels Sep 15, 2015

This should be replaced with signals instead of calling trigger_build
explicitly.
"""
'''
Copy link
Contributor

Choose a reason for hiding this comment

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

This reverts some previous clean up to follow pep257. When we turn on pep257 with the next round of linting, triple single quotes will be invalid. Same goes for the rest of the single quote changes below.

ac_top = $('.ui-autocomplete').css('top');
$('.ui-autocomplete').css({'width': '233px', 'top': ac_top + 10 });
}
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this in use? And is it supposed to be using the search autocomplete endpoint? A better place for javascript is outside templates if so.

@agjohnson
Copy link
Contributor

Edits look good, +1 pending test return

agjohnson added a commit that referenced this pull request Sep 17, 2015
Add Domain model to track project Domains
@agjohnson agjohnson merged commit 25caabb into master Sep 17, 2015
@agjohnson agjohnson deleted the add-domain-model branch September 17, 2015 02:41
@Flavien
Copy link

Flavien commented Sep 18, 2015

What is the ETA for releasing this? I'm planning to use Cloudflare for my custom domain.

@agjohnson
Copy link
Contributor

We didn't get this deployed on thurs, so will be going out on monday or tues with some other changes.

@Flavien
Copy link

Flavien commented Sep 23, 2015

I see this got deployed, but it still doesn't work with Cloudflare: https://docs.openchain.org. I still get the error message.

@agjohnson
Copy link
Contributor

@Flavien this is already merged and your issue is separate from this feature, you should open a ticket with more details.

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