Commit Graph

31 Commits

Author SHA1 Message Date
Adrian Turjak b35fdcc6ab Reformat with updated version of black formatter
Change-Id: I74aea5668c3027cff4d2f3ecb6de456e60bb6129
2020-09-17 12:56:00 +12:00
Adrian Turjak 2c62daf542 Reformat code using the Black style linter
Change-Id: I55cf016fe073e92fe4466f38b95ebdcd9ec58e84
2020-02-21 14:43:31 +13:00
Simon Merrick 472f3c60c4 Convert setup to use pbr
Remove redundant Manifest file
Move configuration to setup.cfg
Upadate atuhor and contact informaion
Change python 3.5 classifier to python 3.6
Grab package version programtically from pbr
gitignore venv and vscode directories.

Change-Id: Iff11f5ca9ddc40e98849c384441db73e5b034ac7
2019-05-17 11:56:30 +12:00
adrian-turjak c17320c069 Update test files for openstack-infra
* also update the gitreview file
* add base doc folder for future use (and to make
  CI happy)

Change-Id: Ifd854682c8121720e940c0a7d8ac3656cbf97af0
2017-06-21 16:18:37 +12:00
Amelia Cordwell f7c62e5a87 Python3 Compatibility
Slight changes to ensure python3 compatibility, and tox running
with python3.

Change-Id: Ibe017a0f68e3779f199a56165d401cda876f710a
2017-06-15 16:23:01 +12:00
adrian-turjak 0a8e94d065 Version 0.2.2
Change-Id: I5dd48b43b66d5cc5f7bd53a66a0abb8e61a9d3d8
2017-05-29 16:49:21 +12:00
adrian-turjak 5fa7a4e57e update version and package name
* 'adjutant' is taken, so renaming the package to
  'python-adjutant'.
* This pypi package is needed for ease of testing plugins
  as they need to import core stacktask features to run tests.

Change-Id: I08f87ee2ab2ab7ae624cf24eae5801a857681737
2017-05-23 12:00:42 +12:00
adrian-turjak eb4bc2c870 Adjutant version to 0.2.0
Change-Id: Iee9dec317473fc4f36e41416201b28fd80c9a4ae
2017-05-22 15:35:02 +12:00
adrian-turjak af986c28fc Renaming StackTask to Adjutant
* This patch is just a search and replace with minor tweaks.
* No functional changes, just renaming.

Change-Id: I103790be7c0cd9234545e25e21ab1768cb5eb131
2017-05-17 12:25:45 +12:00
Dale Smith 020dd616ea Incrementing package version to 0.1.4
Change-Id: I93e4dc3c981356842e724ca8dadf2fb9251b0ce0
2016-03-22 15:23:03 +00:00
Dale Smith a4b02b2ae8 Updating package version to 0.1.3
Change-Id: I0ec5a96d4c8b18f2b540468f2e6bf17bda4a5c94
2016-03-10 10:54:24 +00:00
adriant ff89e2e960 rename stacktask cmd to stacktask-api
* Done so that the client tool and the server
  can both be installed to the same environment.

Change-Id: Ic188c87600730b51b3dbf97b244b979d205e7eb9
2016-03-09 15:04:10 +13:00
adriant 1850bec8eb Updating package details, version to 0.1.2
* Changing development status to Production/Stable
* Version set to 0.1.2
* Adding package description
* Adding conf dir to package

Change-Id: Ia41714ac9bafa726af62a69a1565a97d62b4e48d
2016-02-29 12:48:23 +00:00
adriant b76c3af1f6 Renamed role project_owner to project_admin
* This change brings the role name in line with the upstream (unapproved) spec:
    https://review.openstack.org/#/c/245629/5/specs/common-default-policy.rst
  * Renamed mod_or_owner decorator to mod_or_admin
  * Debian package version bumped to 0.1.1a4

Change-Id: I312c2a6baec22959f83ab1e09370de868076730b
2016-02-18 12:14:56 +00:00
Dale Smith 6c8a4da2df Adding debian packaging with dh-virtualenv.
* Only installs code+virtualenv, not uwsgi etc
 * Build with: dpkg-buildpackage -us -uc

Change-Id: I18be6107592c065085c6a2cf49cf9bc061a8313f
2016-02-10 16:14:22 +13:00
adriant 3eae01cd3b Adding /status endpoint
Change-Id: I520e2c90a6f580d9c664fbcf8a212b4ee5689af5
2016-02-03 02:46:47 +13:00
adriant 9ac6b16f9b minor change to unify requirements
Change-Id: Iec13a040a22deacfa5e7a132decf99eee7676a2c
2015-12-15 12:12:41 +00:00
adriant 95e9eb4ba3 notification changes
Mostly done, but does need proper tests.

* shift actions into their own sub folder structure for clarity
* create new sub folder for notications
* update other code to reflect those changes
* add first basic notification engine
* add RT notification engine
* minor django url and context changes to avoid future deprecation
* getting rid of secondary migration for column rename (as not in prod)

Change-Id: I46932b6d78b93e86580506c887548fd24c0750f5
2015-11-10 14:04:04 +13:00
Dale Smith 142e41568e Adding support for user role editing
* mod_or_owner_or_admin is now just mod_or_owner
 * user_list GET now returns status 'active' and 'unconfirmed' users
 * project_id no longer needs to be specified for user-role-add
 * user role editing now takes user_id's for key, not username/email
 * refactored base classes for serialisers and actions for id vs usernames.
 * added to list of editable roles
 * implemented revoking of pending users.

Change-Id: I5106e188c8190f29426bab9f86a1305fc91143de
2015-10-01 11:55:14 +01:00
adriant 348e3053cb Setting up more indexable values for Tasks
And adding the project_id field

Change-Id: I9532a1561a0edd4c257f4933ed8d82eb8e7cc552
2015-09-18 18:26:54 +01:00
adriant af54cdf650 Renaming Registration model to Task
Change-Id: I83801c7bf40360d36d4e6ddcd17238cf39792c58
2015-09-18 18:26:45 +01:00
adriant 12d6eb0e44 adding debug settings
also hiding the rest framework browsable api and
docs based on if DEBUG is true.

Change-Id: I80037de8587a85cdeb119ecd57b33e7067b279ed
2015-08-06 17:23:26 +12:00
adriant 6c8a6c7175 Adding edit user Action and Endpoint
Edit user allows for adding and removing roles from a project
for the given user. The Action endpoint GET now also returns a
list of users so the owner knows what users they can edit.

Change-Id: I05a0ef0124759e8a4aa658269e76a523f3836b3f
2015-08-06 16:10:42 +12:00
adriant f6c49c20d9 adding django rest swagger docs
also removing pointless admin views and models

Change-Id: If1dd178cac9d54f1a81f816b77708482e4d909b1
2015-08-05 14:53:04 +12:00
adriant 36683546e6 refactor of api structure
To make versioning of the api clearer, I've broken up the
api into subfolders and kept the models at the top api layer.

Should make things easier to understand and update.

Change-Id: I357582d6fcc2eaf59ebe721cc4fef3a3e98da492
2015-07-30 15:21:11 +12:00
adriant 93c9806990 reworking of email sending
Emails now send at 3 different stages.
Now we have two different types of email templates, one html,
one plaintext.
The templates, and reply email can be set actionview, per stage.

Change-Id: I3a37959c547232c8f0df60a69953cc4ac7441d8e
2015-07-28 15:28:52 +12:00
adriant 5b4d0c17d3 Unified error responses a bit and using default region
Change-Id: Iced1527879bd790a41b29eee457732234cbf5c5c
2015-07-10 15:26:04 +12:00
adriant 09ff47bb75 fixing tests, and a bug with default roles for adding a user
Now won't create a user unless all default roles are present,
and default roles is now a set so we don't accidentally
add duplicates.
also added a new version number

Change-Id: I3d78735eedeb071d89074091b6acae757a872895
2015-07-06 15:34:02 +12:00
adriant 4807da221b python packaging
Major reshuffle to allow proper packaging for pip.

Change-Id: I1c0d264eb437027fd9b6e40a2b6dc29e46199a51
2015-05-01 15:40:15 +12:00
adriant 8d8efeeb3c renaming to Stack Task
slightly more friendly temporary name.

Change-Id: Ieeb0f61c8d95d0bb0d33bf50eeae2f51ec8b18f8
2015-03-26 12:03:49 +13:00
adriant a8ec7f8c02 renaming for packaging, adding setup file
packaging still not done, but this will help
with it later.

Change-Id: Iec976ae732e8943cff52a76655c4ba1e35ebb833
2015-02-26 15:20:27 +13:00