Giter VIP home page Giter VIP logo

gcloud-dns's Introduction

Google Cloud DNS Editor

####Overview The Google Cloud DNS Editor is a GUI for managing your DNS Zones using the Google Cloud Platform API.

See it in action: GCloud DNS Editor

####Requirements

  • NodeJS
  • Bower

####Installation

npm install
bower install

####Gulp Tasks

gulp dev  #Development - builds application, runs express server, watches for changes

gulp tdd  #TDD - Test Driven Development, automatically runs mocha units tests as you edit files.

gulp test #Test - Run mocha unit tests using PhantomJS and exits

Technologies Used

gcloud-dns's People

Contributors

mgnsharon avatar brainsail avatar

Watchers

 avatar James Cloos avatar

gcloud-dns's Issues

Defect: Edit Record View: Hit back button

Brings you back to the initial app page, all project data is gone. Start over Please.

Steps to re-create:

  1. Login, Input a Project, Select a Zone
  2. Click Edit button on one of the records of the selected zone.
  3. Hit be browser back button.
  4. Game Over.

Enhancement: Form Validation For "New Zone"

Validate user input for all of the fields with the following requirements:

"Create" button is disabled until requirements are met.

Zone Name:

  • not empty

Domain Name:

  • not empty
  • valid domain format
  • ends in period (make sure what ever is submited has a period on the end, regardless of what the user types)

Description:

  • not required.

Defect/Enhancement?: Initial Project Selection Input Messaging

On the initial page after login, add messaging to notify the user they must input a "Project" name to begin editing Zones.

After the Project is entered, then display the "No Zone Selected" message, indicating they must select a zone to begin viewing or editing.

Enhancement: Form Validation for Record Add Form

Validate user input for all of the fields with the following requirements:

"Save" button is disabled until requirements are met.

Type:

  • Not Empty
  • Needs to be a valid record type of A, AAAA, CNAME, MX, NS, PTR, SOA, SPF, SRV, or TXT
  • Capitalized

TTL:

  • not empty
  • integer with a with a minimum value of 0, and a maximum value of 2147483647 (RFC 2181 - TTL)

Name:

  • not empty
  • ends in period (make sure what ever is submited has a period on the end, regardless of what the user types)

Value (or RRData Values in the Form):

  • not empty
  • value has to match record type (i.e. A record is a valid IP, MX Records need a weight + hostname ending with a period (10 mail.example.com.) etc.)

Prevent user from adding a duplicate

Currently if you add a new record with the same type and name as another record.
Saving will fail.
Deleting the new record will remove both the existing and the duplicate. Bad.

Defect: Add/Edit Record Form - RRData Input Cleared on Save

After filling out the form to create a new A record (or pick record type for that matter), filing out the input for the first RRData value and clicking "Save" results in an empty "value" field.

You shouldn't have to add a new field to submit the contents of the first field.

To recreate this defect:

  1. Login, Input a Project, Select a Zone
  2. Click Add or Edit button on one of the records of the selected zone.
  3. Fill out the form.
  4. If you selected "edit" the record, remove the previous RRData Values to get to the first field only.
  5. Input data into the RRData Value field, and click "Save"

Input Field:

image

Result:

image

Feature: Zone Selector

zone-selector
The top panel will serve as a Zone Selector.

You input the project name, click load button.
This populates a ManagedZone dropdown selector.
Selecting a ManagedZone from the dropdown will populate a list of resource record sets and display Zone information: dnsName, name and nameservers.

Defect: Disable Zone "edit" and "delete" buttons in record edit mode.

While in record editing mode, disable the "edit" and "delete" buttons in the Zone Header:

Disable the Zone "edit" and "delete" buttons in the Zone Header while record add view.

Steps to recreate:

  1. Login, Input a Project, Select a Zone
  2. Click Add button on one of the records of the selected zone.

image

Feature: Change Request View

We need to create a change request view.
With Google Cloud DNS, you don't add/edit/remove individual zone records.
You submit Change requests:

{ additions: [...], deletions: [...] }
by default clicking make changes button should add the SOA record to both additions & deletions because you want to increment the serial number.

Fix deprecated server-side components...

express deprecated res.send(status): Use res.status(status).end() instead srv/lib/config/routes.js:21:13

body-parser deprecated bodyParser: use individual json/urlencoded middlewares srv/lib/config/express.js:14:11
body-parser deprecated undefined extended: provide extended option node_modules/body-parser/index.js:75:29
express-session deprecated undefined resave option; provide resave option srv/lib/config/express.js:17:11
express-session deprecated undefined saveUninitialized option; provide saveUninitialized option srv/lib/config/express.js:17:11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.