Commit Graph

19 Commits

Author SHA1 Message Date
Amelia Cordwell 502e6db24d Logout_status instead of logout_reason_class
* Ensures that on logouts indicating success (eg after a password
  change) the reason message is highlighted in green rather than
  red

Change-Id: I0af763975338733ded792755ffac48614aa6f8c1
Closes-Bug: #1708475
2017-09-07 05:46:34 +00:00
Amelia Cordwell b752f12121 Fixes for Django 1.10 compatabililty
* Removed {% load url from future %}, deprecated in 1.7 removed
in 1.9. See [1]
* Removed urlpatterns() from url file. Deprecated 1.8 removed
1.10. See [2]
* django 1.9+ overextends builtins need adding to settings,
  but 1.10+ we can use native django features. Will remove
  overextends when we drop support for anything less than django 1.11

[1] https://docs.djangoproject.com/en/1.9/releases/1.7/#loading-ssi-and-url-template-tags-from-future-library
[2] https://docs.djangoproject.com/en/1.10/releases/1.8/#django-conf-urls-patterns

Change-Id: Ief7dc4d5025284b0fc26a6386c1c41e0d701fe23
2017-09-07 17:04:39 +12:00
adrian-turjak 8ef5ca240a Fix a template rename issue with signup templates
Change-Id: Ieaf1ac3c5f0716222cc2565f42d6cb6a77f28e11
2017-05-31 22:38:19 +12:00
adrian-turjak d7a8631176 Remove Catalyst specific line from templates.
* Leftovers from the split into a plugin.

Change-Id: I834b686f9c280a95380378ea49e703a884866d64
2017-05-31 17:38:24 +12:00
adrian-turjak 6a327f47f7 Adding comment to readme about USERNAME_IS_EMAIL
Change-Id: I58e17e0505196e8c22efbc7558e35ca92f68179b
2017-05-30 12:00:36 +12:00
Amelia Cordwell dfa0388152 Signup Panel
* Accessible at /signup/
* Link placed on bottom of login page.
* Submits a simple signup request to Adjutant.
* Added overextends to based Adjutant enabled file.
* Added back button to match login form to forgot password.
* Change forgot password to match signup autofocus logic.

Change-Id: I1628495a3c35186a45061d07d5e392dc63121ee9
2017-05-25 20:06:40 +12:00
adrian-turjak 490a16c08b Rename panel to Admin Tasks
* This is mainly to match other places such as the cli tool
  where we will refer to these as 'admin tasks' to differentiate
  from Mistral tasks.

Change-Id: I23b65e82d640d6a26e3b44a1d5bcce7e49321071
2017-05-24 20:49:17 +12:00
adrian-turjak 3321bf3fb4 Approval should warn with a pop-up
* Making it so that approving a task requires a confirmation.

Change-Id: Ic82a9be97c167dc5d33ae6630381a5c9af27b215
2017-05-24 20:40:06 +12:00
Amelia Cordwell 901a0d7a2e Added Reissue token and Rerun Validation action
Reissue token is an option for approved tasks, and rerun validation
is an option for active tasks that have not yet been approved and
invalid.

Change-Id: I0147c31ffbc1a003dfb143adf09b75949eba7c58
2017-05-24 20:17:29 +12:00
adrian-turjak 0d8384a5f2 Actions in detail view not working when approved
* Due to the batch actions looking in the table for the actions
  the action would fail because tasks in the approved state
  would not be present in the default active table.
* Adding a condition to get the correct table actions.

Change-Id: Iac75ecc5ce91952e0f26746045113024aad6cbb2
2017-05-24 15:49:22 +12:00
Amelia Cordwell 588a15bdbd Panel and Token Handler for update email
Adds a panel in the settings dashboard to allow the user to change
their email address, and a token handler for that page.

Change-Id: I4991fa599f6cfbf65f143e5b2227867df6fb86c3
2017-05-24 12:57:11 +12:00
adrian-turjak 4a5bc88ccd Fixing gitreview repo location
* This was changed in the renamed and shouldn't have been yet.
* This will be changed again once we move the repo to OpenStack's
  Gerrit.

Change-Id: I4be55905e8b8c7e21a2435b1abc3a1b81ad920cb
2017-05-22 15:03:14 +12:00
adrian-turjak f8d53b3a12 Renaming StackTask to Adjutant
* This is just a search and replace.
* No functional changes.

Change-Id: Id03ae0cb572df127a590e2631c3fb4888b34ac84
2017-05-17 15:07:34 +12:00
Jonathan Herlin a0d821da47 Update paths and add keystone_policy.json location
* copy command path was incorrect for enabled files.
* json policy file location added for ease of updating.

Change-Id: I945716f095c3d281f0e480a6e02821c28090a891
2017-05-16 18:48:15 +12:00
Amelia Cordwell 113124e14b Task List Panel
Main page allows viewing of all active, approved, completed and
canceled tasks can click through to view full task details.

Un-approved tasks can be resubmitted with new data, or approved,
tasks can be cancelled.

Change-Id: I35306fdf8e774d39b34c8c6fa50af5c70e010420
2017-05-16 15:22:51 +12:00
adrian-turjak 4feb401f9b Add support for USERNAME_IS_EMAIL
* Updated all the user forms to show 'name' field
  by default, and remove it if setting is set.
* Rewrite the login form based on the setting.

Change-Id: Ifea7695554860dadeb43ceb4bddf1961300f3adc
2017-04-28 11:29:47 +12:00
adrian-turjak 93f658d988 Reorganising enabled files
* mainly so that we aren't needlessly using up as
  large a chunk of the enabled number space. Hopefully
  sets a better pattern for new panels in future.

Change-Id: I91e90af783062419b8829fe72c466d748a123dd6
2017-04-12 00:04:35 +13:00
adrian-turjak 2e042e4c45 Initial code base for StackTask UI
* Ported over from the Catalyst repos into its own
  plugin for better maintainability and ease of sharing
  with upstream.

Change-Id: I4e7e1787330d549c59ede6f024e1216f5a073ecd
2017-04-06 18:28:26 +12:00
Michael Richardson 163f49e658 Initial empty repository 2017-02-20 15:52:25 +13:00