Permalink
Switch branches/tags
Nothing to show
Commits on Nov 16, 2018
  1. Fix failing email sending FOSS test

    CydeWeys authored and jianglai committed Nov 15, 2018
    This is surprisingly difficult to fix correctly, so for now, just don't
    worry about the content type.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=221694745
  2. Clean up some areas in preparation for externalized codebase

    CydeWeys authored and jianglai committed Nov 14, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=221454055
Commits on Nov 2, 2018
  1. Fix sender email address for invoicing alerts

    CydeWeys authored and mindhog committed Nov 2, 2018
    It was failing to send alert emails because the email address it was
    constructing did not have permission through GAE to send emails. This switches
    it over to using the send from email address already in use elsewhere in the app
    that does successfully send emails.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=219812019
Commits on Oct 22, 2018
  1. Default to REAL TLDs in nomulus list_domains command

    CydeWeys authored and jianglai committed Oct 17, 2018
    This is what you want most of the time when you're running the command to
    see recent domains, as this will list all the real billable domains and
    exclude the prober ones.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=217603275
  2. Switch Random to SecureRandom

    CydeWeys authored and jianglai committed Oct 17, 2018
    Someone may @Inject a Random at some point in the future where security matters,
    so always provide a secure one.
    
    Also, this shouldn't be in ConfigModule (it's not configuration) -- but that can
    be changed separately. We might want a larger refactor that has a utils module
    or similar to provide extremely generic things like random number generators.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=217602486
  3. Add a RESERVED billing event flag for creates of reserved domains

    CydeWeys authored and jianglai committed Oct 17, 2018
    This is an additional signal we can use for the billing/invoicing pipeline that
    will be helfpul in targeting invoice rows that may need adjustment.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=217524250
Commits on Oct 17, 2018
  1. Allow choice of Keyring to be configured in YAML

    CydeWeys committed Oct 12, 2018
    This uses a Dagger-provided map of Keyring implementations, with two currently available,
    "KMS" and "Dummy". The active keyring is configured in the YAML file, so we no longer
    require MOE directives to choose which one to use for internal/external builds.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=216898058
Commits on Oct 8, 2018
  1. Stop exporting EPP flow metrics to BigQuery

    CydeWeys committed Oct 5, 2018
    These are simply too costly in their current form now that we are handling double-digit QPS, so at a minimum we'd want to refactor these for batched exports using a background thread (like how Stackdriver metrics work). However, upon further review, that work isn't worth doing if this BigQuery table isn't actually being used for anything, and it seems that we aren't using it anymore given that ICANN transaction reporting no longer requires it.
    
    So the simplest thing to do is simply to get rid of this entirely, and just use a combination of Stackdriver metrics and App Engine logs. The eppMetrics BigQuery table is ~1.2 billion rows and takes up 223 GB, so that's not an insignificant GCP billings saving if we can delete it.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=215905466
  2. [CL 2 of 3] Update apache mina library from v1_6_0 to v2_1_0

    CydeWeys committed Oct 4, 2018
    Adapts all code for backwards incompatible API changes in one go and sets global default version to v2_1_0
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=215769488
  3. Bypass EAP fees for anchor tenants

    CydeWeys committed Oct 3, 2018
    Note that the check flow does not yet handle any kind of allocation token
    handling at all. Step 2 will be to add allocation token handling there, so a
    RESERVED_FOR_ANCHOR_TENANT or RESERVED_FOR_SPECIFIC_USE domain will show as
    available instead of reserved if the right token is specified using the
    extension. Then once that's done, we can use that information to adjust the
    price accordingly as well.
    
    Right now the behavior with a domain check is that reserved domains always show
    as reserved, even if they're anchor tenants.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=215599350
  4. Add MOE equivalences for 2018-09-20 sync

    CydeWeys committed Sep 20, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213817394
Commits on Oct 3, 2018
  1. Delete unused default registrar referral URL

    CydeWeys authored and jianglai committed Sep 27, 2018
    We now require the URL to be filled out by all registrars and so there is no
    default needed.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=214774054
  2. Use correct disclaimer for premium terms export

    CydeWeys authored and jianglai committed Sep 27, 2018
    Looks like a copy-paste error from the reserved list export disclaimer.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=214773560
  3. Move RDAP Terms of Service into YAML config file

    CydeWeys authored and jianglai committed Sep 26, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=214642487
  4. Add nomulus command for deleting AllocationTokens

    CydeWeys authored and jianglai committed Sep 25, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=214459480
  5. Index the allocation token's redemption history entry field

    CydeWeys authored and jianglai committed Sep 25, 2018
    We need this to efficiently query which tokens have and have not been redeemed.
    
    I'm also marking it as nullable for consistency with the domain name field (it's
    already null for unredeemed tokens).
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=214366534
Commits on Sep 20, 2018
  1. Change from ES6 Map to old-fashioned object

    CydeWeys committed Sep 20, 2018
    This fixes the Kokoro tests broken by []
    
    Unfortunately this means that the return type changes from a Map to an Object as well,
    so all of the .get() lines need to turn into [].  Yay weakly typed languages. And
    apparently in some error conditions this method could already return the Object type
    anyway, even if you passed in a Map, so it's just poorly designed.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213808477
  2. Add a command-line tool suitable for tech support usage

    CydeWeys committed Sep 19, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213634869
  3. Handle Purchase Order numbers explicitly in billing pipeline

    CydeWeys committed Sep 19, 2018
    Note that these aren't used for most registrars.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213631863
  4. Fix deprecated suppresses and Map type in JS

    CydeWeys committed Sep 18, 2018
    This properly fixes the issue that was suppressed in [] and
    just started breaking today thanks to []
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213510500
  5. Use shorter includes on DNS writer packages

    CydeWeys committed Sep 17, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213320963
  6. Get rid of Providers class

    CydeWeys committed Sep 17, 2018
    inject_common isn't going to be open-sourced anytime soon, so replace it with a
    lambda, which wasn't an option when this was originally written we were still
    on Java 7 back then.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213318557
  7. Remove [] handling in AppEngineRule

    CydeWeys committed Sep 17, 2018
    It's not in use by anything anymore.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213293960
  8. Delete the verify entity integrity mapreduce

    CydeWeys committed Sep 17, 2018
    We never really used it and it'll be obsolete come Registry 3.0 anyway.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=213274520
  9. Add MOE equivalence for 2018-09-14 sync

    CydeWeys committed Sep 14, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212996616
Commits on Sep 15, 2018
  1. Remove the deprecated MISTAKEN_PREMIUM reservation type

    CydeWeys authored and jianglai committed Sep 14, 2018
    It doesn't do anything that ALLOWED_IN_SUNRISE doesn't do, and there's no point
    in having two separate types when we can simply keep track of the semantic
    difference between the two by using different lists (as we have for .soy).
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212997752
Commits on Sep 14, 2018
  1. Remove deprecated DNS subsystem

    CydeWeys committed Sep 14, 2018
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212987308
  2. Delete mapreduce entity cleanup util

    CydeWeys committed Sep 13, 2018
    This is obsoleted by the upcoming Registry 3.0 migration, after which we will be
    using neither the App Engine Mapreduce library nor Cloud Datastore.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212864845
Commits on Sep 11, 2018
  1. Allow creation of reserved domains using allocation tokens

    CydeWeys committed Sep 10, 2018
    Unlike anchor tenants, these domains can be registered for any number of years,
    but only during GA, as third parties cannot register domains pre-GA except
    through the anchor tenant program.
    
    Since this is new functionality, unlike creation of anchor tenants, there is no
    fallback provided to send codes through the domain authcode; they must be sent
    using the allocation token extension.
    
    And note that, like with anchor tenants, providing the domain-specific
    allocation token overrides any other reserved types that might apply to that
    domain.
    
    No changes are necessary to the domain application create flow because of the
    above restriction to GA.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=212310701
Commits on Sep 8, 2018
  1. Default to admin registrar in check_domain commands

    CydeWeys authored and jianglai committed Sep 6, 2018
    The vast majority of the time this is the registrar client ID you want, so
    there's no reason to require specifying it everything each time. These are
    read-only commands anyway, so the potential negative effects are minimal.
    
    See the existing lock/unlock_domain commands for existing occurrences of this
    behavior.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=211857712
  2. Add octothorpes to disclaimer in exported reserved list

    CydeWeys authored and jianglai committed Sep 6, 2018
    There's no real standard for commented lines in a CSV, but this seems to be the
    most well-supported option, so may as well use it.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=211847395
Commits on Aug 20, 2018
  1. Delete all Limited Release Program (LRP) code

    CydeWeys authored and jianglai committed Aug 20, 2018
    We never used it and don't have any plans to use it going forward. All
    conceivable parts of its functionality that we might use going forward have
    already been subsumed into allocation tokens, which are a simpler way of
    handling the same use case that are also standards-compliant.
    
    Also gets rid of the hideous ANCHOR_ prefix on anchor tenant EPP authcodes
    that was only ever necessary because of overloading the authcode for
    anchor tenant creation. Going forward it'll be based on allocation tokens,
    so there's no risk of conflicts.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=209418194
  2. Add new reserved domain creation from allocation tokens mechanism

    CydeWeys authored and jianglai committed Aug 16, 2018
    Note that this gets rid of anchor tenant codes in reserved lists (yay!), which
    are no longer valid.  They have to come from allocation tokens now.
    
    This removes support for LRP from domain application create flow (that's fine,
    we never used it and I'm going to delete all of LRP later).  It also uses
    allocation tokens from EPP authcodes as a fallback, for now, but that will be
    removed later once we switch fully to the allocation token mechanism.
    
    This doesn't yet allow registration of RESERVED_FOR_SPECIFIC_USE domains using
    the allocation token extension; that will come in the next CL.  Ditto for
    showing these reserved domains as available on domain checks when the allocation
    token is specified.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=209019617
Commits on Aug 10, 2018
  1. Increase default allocation token length to 16

    CydeWeys authored and jianglai committed Aug 9, 2018
    16 is consistent with how we've generated codes for anchor tenants in the past.
    
    Also gets rid of a space in the output so that it's a fully valid CSV.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=208106631
  2. Add domain name support to AllocationToken entities

    CydeWeys authored and jianglai committed Aug 8, 2018
    The design doc is at []
    The next step will be to tie this into the domain create flow, and if the domain
    name is on a reserved list, allow it to be created if the token is specified that
    has the given domain name on it.
    
    -------------
    Created by MOE: https://github.com/google/moe
    MOE_MIGRATED_REVID=207884521