Commit Graph

34 Commits

Author SHA1 Message Date
OpenDev Sysadmins f297b6e58e OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:30:26 +00:00
Adrian Turjak 151714094a Get rid of iteritems in favor of items
Cherry-picked from: 64b7a8c58f

Change-Id: I16f1c13b3d04cd78c3bd09de9c80ce5272b9c8e5
2019-01-17 16:35:44 +13:00
Adrian Turjak 8759da7e6c Fix key error with unknown service in size
When Adjutant has sizes defined for a service that
only exists in certain regions, this can cause errors.

If we come across a region without that service, skip
the service.

Cherry-picked from: 4396ad3c87

Change-Id: Ic52ffb2bf0d918a49a79088a2e13e5ad1f9b6216
2019-01-17 16:34:50 +13:00
Adrian Turjak dfd461d3ad set correct default branch
Change-Id: Ie3a6f848cf9821282292dc6ae07a74d8b0b8fa43
2019-01-17 16:27:38 +13:00
Adrian Turjak 479618c775 rename project users internal column name
This column should have always been roles, this renames that
properly. No point having the data source be called roles
and the column be called role.

Change-Id: I6ce736bfa1449fccf8f9f96d504a236546d76e82
2018-03-27 16:41:43 +13:00
Andreas Jaeger 70a73acdec Set up .gitreview
Set up .gitreview for this project so that the usual OpenStack git
review process works.

Change-Id: I4da43556b07782439d51e217012caa869491f8e8
2018-03-23 08:52:02 +01:00
Adrian Turjak ad31c8c398 Remove useless manifest file
PBR by default gets most files in the repo itself
so a manifest file isn't needed.

"MANIFEST.in generation ensures almost all files
stored in Git, with the exception of .gitignore,
.gitreview and .pyc files, are automatically
included in your distribution."

Change-Id: I5a3dd88e92eee6d7f28d3578e412689fa1f729f4
2018-02-15 18:02:42 +13:00
Adrian Turjak d93485a8a3 Use include_usage param in adjutant quota get view
Adjutant-ui was requesting data for all regions when
it didn't need usage for all regions. This gives us a
way to avoid that.

Change-Id: Iecb474b86c6cd1454f4eb61f7b1326bd65b1dcfa
2018-02-14 12:29:34 +13:00
Adrian Turjak 379709c979 Clean up service and role translations
* add documentation for settings
* clean up documentation
* split role help into own template
* remove old debug print statements

Change-Id: Id764dca96e37627974c77181e73634f461ab10b1
2018-02-13 18:03:20 +13:00
Adrian Turjak 0c836b1cac rename request date for notifications correctly
Change-Id: I24e61408711434044aa69eebeaa27dd323c1509d
2018-02-13 15:41:51 +13:00
Amelia Cordwell 0f170a9a32 Add Notification Panel
- List view of all notifications (will be split into acknowleged and
  unacknowledged)
- Detail view of each notification
- Acknowledge notifications
- Error notifications show up in red

Change-Id: I0800201b42424bfdd3f27dd090502f28e4f54227
2018-02-13 13:21:57 +13:00
Adrian Turjak d6c7521925 fix a divide by zero bug
Change-Id: If6d8d545eedc284177cd995423453a9589dee46e
2018-01-24 17:59:28 +13:00
Jonathan Herlin 5d6427d44e "Management" had a spelling error, this commit adds the missing character.
Change-Id: Ie343adbae65389a6d802556ff86c9aff51d81943
2017-11-30 21:16:39 +01:00
Adrian Turjak 6620e0c8f0 quota panel fixes
* wrong policy in panel
* shift text to below current sizes
* add * for clarify preapproved quotas

Change-Id: I31f2ad99847236b327ec7d51d4feeca4e2de3569
2017-09-14 16:43:18 +12:00
Amelia Cordwell 519c30d185 Quota Update Panel
Allows viewing of current quota value, quota sizes and percentage
of use of current quota.
Allows changing of each region's quota.

Change-Id: Ia9f254ffb905b4e8971d84f85aefad164e8a3438
2017-09-12 20:42:16 +12:00
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