Commit Graph

258 Commits

Author SHA1 Message Date
Jeffrey Forman 7fdcfab8a0 add support to add CNAME in zone, loosen restrictions on record data input 2016-11-12 07:44:03 -05:00
Jeffrey Forman 54c3bc18cc Merge pull request #47 from Dunedan/django-1.9
Adds support for Django 1.9 while dropping support for unsupported versions.
2016-02-12 20:34:54 -05:00
Jeffrey Forman 1331d02e1d Merge pull request #45 from goetzk/documentation-update
Attempted to clarify install documentation
2016-02-12 06:24:38 -05:00
Daniel Roschka 74cc4efca4 Adds support for Django 1.9 while dropping support for unsupported versions.
This commit adds support for Django 1.9. As the template configuration options
changed with Django 1.8 and versions earlier than 1.8 aren't supported anymore
anyway by upstream, support for them is removed.

To have the Dockerfile still working, this commit also changes its logic so the
dependencies get directly installed via the requirements.txt from PyPI, which
will ensure that always matching versions of all dependencies are present (e.g.
the Django version).
2016-02-06 19:21:52 +01:00
Karl Goetz 49b7559e86 Attempted to clarify install documentation
I've just worked my way through the install process and tried to
clarify/explain anything that wasn't obvious or that I thought might not be
obvious to someone new trying to use this software.

Having encountered all the same problems as @vchoi in issue #5 I've attempted
to update the documentation to clarify the requirements.

Other than that its 'misc' really: some confusion with things like
local_settings.py being missing, changed the headings and shuffled things
around for clarity, expanded on the required django commands etc.
2016-01-02 10:58:28 +11:00
Jeffrey Forman 8b34e7e4ae Merge branch 'Dunedan-refactored-views' 2015-12-26 15:15:56 -05:00
Jeffrey Forman 2bb8f5d9cb resurrect the ability to add a PTR record on its own, not as part of a pair of forward records 2015-12-26 15:14:29 -05:00
Jeffrey Forman e9d65179ab on the cname add result, we need the cname name, not the originating record name 2015-12-26 14:32:07 -05:00
Jeffrey Forman ab9b28d525 Merge branch 'refactored-views' of https://github.com/Dunedan/binder into Dunedan-refactored-views 2015-12-26 14:10:11 -05:00
jeffrey forman 1e126e7874 Add initial dockerfile for binder. runs/exposes port 8000 2015-11-20 10:08:16 -05:00
jeffrey forman f5b557384a Merge branch 'master' of github.com:jforman/binder 2015-11-20 09:44:42 -05:00
jeffrey forman 6210dd3854 add initial data fixture to make automated deploys possible 2015-11-20 09:43:06 -05:00
jeffrey forman a3c5eab978 fix missing div tags 2015-11-20 09:42:56 -05:00
Jeffrey Forman 534863aebe Merge pull request #41 from Dunedan/404-template
Provide a template for not existing resources.
2015-09-06 01:54:36 -04:00
Daniel Roschka 99f1284d43 Simplies the test code a bit. 2015-09-05 19:20:44 +02:00
Daniel Roschka 3ca4cac89a Fix the tests, after the recent changes. 2015-09-05 19:18:59 +02:00
Daniel Roschka e13b42cd13 Refactors the views used to add and delete records.
Notable changes are:
* Refactored views, utilizing more of Djangos features, resulting in simpler
  code.
* URLs are now the same when initially filling out a form and when editing a
  submitted form which contained errors.
* Instead of a result page showing the response from the DNS server (which is
  now logged using Djangos "logging" functionality) the user is now redirected
  back to the record listing of the current zone when the action was successful
  or stays on the form page when an error occured. Proper success/error
  messages are shown in both cases by utilizing Djangos "messages"
  functionality.
2015-09-05 19:03:21 +02:00
Daniel Roschka 7492febf08 Provide a template for not existing resources.
Will be of course only used if debugging is disabled.
2015-08-23 20:35:30 +02:00
jeffrey forman 7b3a24364c Merge branch 'Dunedan-improved-form-errors' 2015-08-12 22:06:05 -04:00
Daniel Roschka ecea7964a1 Improves the rendering of forms and refactors some of their logic.
Changes are:
* Display invalid input in editable input fields instead of adding it to the
  end of the error message. This should improve user experience in case of
  typos etc. where they now can simply edit there previously entered value.
* Use a single variable for form data and form errors, instead of using two.
  Makes the code a bit cleaner.
2015-08-04 20:27:02 +02:00
jeffrey forman 17ecba686e Merge branch 'Dunedan-responsive-layout' 2015-07-28 06:17:09 -04:00
jeffrey forman 9e5991df2c Merge branch 'responsive-layout' of https://github.com/Dunedan/binder into Dunedan-responsive-layout
Conflicts:
	binder/templates/base.html
2015-07-28 06:16:56 -04:00
Jeffrey Forman acb558b61c Merge pull request #33 from Dunedan/add-global-authentication
Add global authentication
2015-07-27 06:25:03 -04:00
Daniel Roschka 52ebb1e1b1 Merge branch 'master' into add-global-authentication 2015-07-24 12:14:21 +02:00
Jeffrey Forman c6484e1412 Merge pull request #39 from Dunedan/style-fixes
Fixes some python style issues.
2015-06-18 21:46:47 -04:00
Daniel Roschka 20d785840b Fixes some python style issues.
No changes in binders functionality are included in this commit, just improved
python style
2015-06-13 12:05:42 +02:00
Jeffrey Forman ec85c465d8 Merge pull request #38 from Dunedan/landscape.io-support
Adds a configuration file for static code analysis using Landscape.io.
2015-06-12 20:23:01 -04:00
Daniel Roschka 0d6af27cef Adds a configuration file for static code analysis using Landscape.io. 2015-06-12 14:50:20 +02:00
Daniel Roschka 515876a2a5 Merge branch 'master' into add-global-authentication 2015-06-08 19:24:36 +02:00
Daniel Roschka a16abc4042 Fixes tests broken by previous commit. 2015-06-08 19:20:53 +02:00
Daniel Roschka f41133d733 Responsive layout for better experience on mobile devices
This commit changes the layout of binder to provide a better experience on
mobile devices and for form validation errors. It's outcome might not be
perfect yet, but I believe it's a really nice step forward.

The changes consist of:
* moving the menu from the left side to the top, so it doesn't consume
  additional screen space when scrolling down
* changed the width of the content to depend on the screen size. For larger
  screens the forms won't consume the whole width, but validation errors will
  be shown beside the form field containing the error
* showing field independent error messages on top of each form
* highlighting of form fields which contain errors
2015-06-05 16:50:48 +02:00
jeffrey forman cbbc5f08c0 Merge branch 'Dunedan-static-template-tag' 2015-06-03 21:38:15 -04:00
jeffrey forman a92553e6d8 Merge branch 'static-template-tag' of https://github.com/Dunedan/binder into Dunedan-static-template-tag 2015-06-03 20:13:16 -04:00
jeffrey forman 15f6b6a924 Merge branch 'Dunedan-remove-hardcoded-links' 2015-06-03 20:04:59 -04:00
jeffrey forman 4fd1670e58 Merge branch 'remove-hardcoded-links' of https://github.com/Dunedan/binder into Dunedan-remove-hardcoded-links 2015-06-03 20:02:27 -04:00
Jeffrey Forman 6c048eed77 Merge pull request #34 from Dunedan/remove-dns-resolv-test
Remove tests for checking DNS resolution
2015-06-03 19:59:12 -04:00
Daniel Roschka 9ed2be3b66 Use the static template tag when refering to static files. 2015-05-31 08:10:19 +02:00
Daniel Roschka 5476314232 Replaces hardcoded links in templates with Djangos url tag. 2015-05-30 22:27:25 +02:00
Daniel Roschka 2ffd7c4b39 Resolve merge conflict introduced with recent changes to master. 2015-05-30 18:17:29 +02:00
Daniel Roschka ff2f5abcb1 Remove tests for checking DNS resolution
The tests checking the DNS resolution aren't reliable as they rely on specific
behavior of the DNS resolution on the local system. As they are reliable it
makes no sense to keep them as they are currently.
2015-05-30 16:42:59 +02:00
Jeffrey Forman 1137b97239 Merge pull request #27 from Dunedan/travisci-support
Add Travis CI support
2015-05-27 20:25:05 -04:00
jeffrey forman 05dc9bcf79 Merge branch 'Dunedan-revised-local-settings' 2015-05-27 20:15:19 -04:00
jeffrey forman d625e0245b Merge branch 'revised-local-settings' of https://github.com/Dunedan/binder into Dunedan-revised-local-settings
fixed import of get_object_or_404 which was erroneously removed

Conflicts:
	binder/views.py
2015-05-27 20:14:50 -04:00
jeffrey forman fc946c3fa0 Merge branch 'Dunedan-template-cleanup' 2015-05-27 20:04:14 -04:00
jeffrey forman 5effaf8c45 Merge branch 'template-cleanup' of https://github.com/Dunedan/binder into Dunedan-template-cleanup
resolve some conflicts with templates

Conflicts:
	binder/templates/bcommon/add_cname_record_form.html
	binder/templates/bcommon/delete_record_initial.html
2015-05-27 20:03:33 -04:00
Daniel Roschka 7882ee9121 Add global authentication
This commit adds global authentication to binder to ensure that only valid
users are able to use it. This should enable binder to be used in
environemts where it's webfrontend is reachable for unauthenticated users as
well.

For setups where such a global authentication isn't desired it can be disabled
by simply removing the LoginRequiredMiddleware from the list of active
middlewares.
2015-04-05 21:06:01 +02:00
Jeffrey Forman dc15440a98 Merge pull request #32 from Dunedan/fix-missing-cancel-buttons
Fixes missing cancel buttons
2015-04-05 14:09:07 -04:00
jeffrey forman f38f96660f Merge branch 'Dunedan-ship-jquery' 2015-04-05 07:23:09 -04:00
jeffrey forman 796cb06055 Merge branch 'ship-jquery' of https://github.com/Dunedan/binder into Dunedan-ship-jquery 2015-04-05 07:22:23 -04:00
Jeffrey Forman fb7fab8306 Merge pull request #29 from Dunedan/fix-requirements
Fix contents of requirements.txt
2015-04-04 22:09:24 -04:00