170 Commits

Author SHA1 Message Date
zhangguoqing
da906b14a3 Do not use __builtin__ in python3
__builtin__ does not exist in Python 3, use
six.moves.builtins instead.

Change-Id: I1256f7df641af1085daca1d1ad2c34cb44cda265
closes-bug: #1290234
2016-01-06 01:55:04 +00:00
Ondřej Nový
832ca69468 Homepage changed to be more specific
Change-Id: Iaa4c83b97ee2896962b54a249ea2029da2eaaf74
2015-12-18 17:27:23 +01:00
Ondřej Nový
008237924b Release 1.1.0
Change-Id: Ie6dabbbf2a4c6efc51970aaec6e3c5223d0b2995
1.1.0
2015-12-16 09:50:57 +00:00
Jenkins
75a31c23e5 Merge "Automagic versioning" 2015-12-15 11:36:40 +00:00
Ondřej Nový
375b430fff Automagic versioning
Use pbr for versioning when developing but use
PKG-INFO file in production. This lets you build
swauth package that don't require pbr to be installed
at all. You would need pbr on machine building package
but not on machines that install the package.

Stolen from Swift:
https://github.com/openstack/swift/blob/master/swift/__init__.py

Change-Id: Ic3a8fe1d9fe8d7d1f84b63142049970295fbcaab
2015-12-15 12:06:29 +01:00
Jenkins
b259e4c1f2 Merge ".mailmap" 2015-12-14 19:59:27 +00:00
Jenkins
19a2603ee1 Merge "Support for Swift older than Juno dropped" 2015-12-14 13:03:09 +00:00
Jenkins
a19566417a Merge "Unit tests for swift_version" 2015-12-14 12:56:08 +00:00
Ondřej Nový
b7255c2b63 Support for Swift older than Juno dropped
Change-Id: Ia6540884430eba17b62018ba73fbde541bb0566b
2015-12-13 20:59:10 +01:00
Ondřej Nový
4e0785e4e5 .mailmap
Change-Id: Ie62bb7b84a04ceb007c7b825f9c929d515bc70c7
2015-12-13 19:13:14 +01:00
Ondřej Nový
9d96d14d83 Unit tests for swift_version
Return False if version can't be compared. It's safer.

Change-Id: I1af9f15712ae7c27979ab4a78f7dd8a6fc43057e
2015-12-13 18:10:17 +01:00
Ondřej Nový
866a61fa9f Rename of "test_swauth" to "test" fix
Change-Id: I3ab7cf9bd1128cc2bd7c22536bafcd60d5955cd6
2015-12-13 15:40:57 +01:00
OpenStack Proposal Bot
82efffb846 Updated from global requirements
Change-Id: Idfdff7671dd1e439491e14d42afe47b60d70f58d
2015-12-13 10:36:52 +00:00
Peter Lisák
9c3fedeceb Fix README.md
Change-Id: I87606238dec26b8f3f544a798b62306a89816f13
2015-11-25 14:36:08 +01:00
Peter Lisák
8af6767406 Add IRC link
Copied from openstack/swift

Change-Id: I9cbb6cd8f21dd51f62f34e54d40c3f422cf68a1c
2015-11-25 14:16:18 +01:00
Jenkins
e4f2c72207 Merge "Test min coverage not to drop down" 2015-11-23 21:18:38 +00:00
Jenkins
5f66adfff4 Merge ".tox directory added to .gitignore" 2015-11-23 20:27:00 +00:00
Peter Lisák
8df458bda3 Test min coverage not to drop down
Note:
Later min percentage should be raised up.

Must be added to
openstack-infra/project-config/blob/master/zuul/layout.yaml
check:
    - swauth-coverage
post:
    - swauth-coverage

Change-Id: I3cb9d52350ad5fe63faf7f332f0bb784d870ab46
2015-11-23 21:18:50 +01:00
Ondřej Nový
38fa81ee60 .tox directory added to .gitignore
Change-Id: Ia452048641afacf75980e0cb5d88f24523d42ba6
2015-11-23 20:55:32 +01:00
Peter Lisák
f5f3d7e72b use standard library json instead of simplejson
Based on https://review.openstack.org/#/c/240596/

Change-Id: I7f5be799ea7dcb49b7d9df830f1f15ee9a02b3ca
2015-11-23 12:13:07 +01:00
Jenkins
0b1cc3769e Merge "PEP8 for bin directory" 2015-11-20 13:41:39 +00:00
Ondřej Nový
b15e9637dc PEP8 for bin directory
Closes-Bug: #1516754
Change-Id: I548cf0e86aee57ede32eace505468026ca871fcd
2015-11-20 14:05:30 +01:00
Jenkins
8ed2434801 Merge "Change print statement to function" 2015-11-20 08:59:44 +00:00
Jenkins
760fe6017b Merge "Remove 60 secs subtraction from item_expires" 2015-11-20 08:16:41 +00:00
Ondřej Nový
911adf7299 Change print statement to function
Change-Id: I85948efa441aec13c0ab3cf50c66ac2cbc660d4b
2015-11-19 22:40:26 +01:00
Ondřej Nový
6b12edf213 Stop specifying requirements.txt in tox.ini
As PBR already injects the contents of requirements.txt into
setup_requires, there is no need for tox to explicitly install them.

http://lists.openstack.org/pipermail/openstack-dev/2015-July/069663.html

Change-Id: I8375179158e6b7392421556bcc010bf18576310d
2015-11-19 22:18:52 +01:00
Ondřej Nový
3e19273cc1 Change setup.py to OS one
Change-Id: Ia23c12de5f6448793aa3584e3041711d68b92953
2015-11-18 10:54:03 +01:00
Ondřej Nový
79c153f7b1 Remove 60 secs subtraction from item_expires
According to https://github.com/gholt/swauth/issues/73 nobody
knows why is this here. Let's try to remove it :).

Change-Id: I6de2c7eca5b7c4cbed61c966149055705efe8323
2015-11-17 12:38:20 +01:00
Ondřej Nový
9f0d04fdba Sha512 unit tests
Change-Id: Ic3c90beafdcf70330ad0b34abd0972cb9abf98b3
2015-11-16 22:26:05 +01:00
Jenkins
a69306fc0d Merge "Use ValueError instead of Exception when appropriate" 2015-11-16 06:43:23 +00:00
Ondřej Nový
29f2db55ce eventlet requirement added
Change-Id: I14348214e52745aaf5d2023f87d521a133e75f09
2015-11-15 23:02:19 +01:00
Ondřej Nový
fca1400e40 Use ValueError instead of Exception when appropriate
Change-Id: I7f9f72b4efcca01170b7e311057e4ed6bae73179
2015-11-15 22:34:27 +01:00
Jenkins
04f4000420 Merge "Docs moved to readthedocs.org" 2015-11-15 21:19:29 +00:00
Ondřej Nový
e1fc940311 Docs moved to readthedocs.org
Change-Id: Idd5de7c4d1d511f2e3083af9e06329ee388dbd57
2015-11-15 17:59:12 +01:00
Ondřej Nový
b7e965c99f PEP8 fixies
Change-Id: I651729a368a9a804ad4431938ff70ddf0303a7c8
2015-11-15 17:16:09 +01:00
Peter Lisák
69cadf8499 tox.ini and unittest fix
Change-Id: Ic6b2435159c63adc81b8881a7a0c1e65a14f7c1c
2015-11-13 09:57:19 +01:00
Peter Lisák
eeae4ac9fb Add .gitreview file
Change-Id: Id1850e4967828879a9dd5d0fe4f43f71491d62a9
2015-11-12 12:19:13 +01:00
Greg Holt
16b32c84ad Update README.md
Even though the github.com doc target works, github.io is what it should be these days.
2015-05-18 10:35:03 -05:00
Greg Holt
fb805858e7 Merge pull request #79 from onovy/master
Cleanup.
2015-04-28 09:45:48 -05:00
onovy
b31b308728 Cleanup. 2015-04-28 09:40:02 +02:00
Greg Holt
5043df5d31 Merge pull request #78 from onovy/webadmin-logout-fix
Webadmin logout fix.
2015-04-27 10:53:12 -05:00
Greg Holt
68072f8dd2 Merge pull request #77 from onovy/security-fixies
Security fixies.
2015-04-27 10:52:12 -05:00
onovy
8e07454f80 Webadmin logout fix.
Fixies: Account/users detail keeps open after logout.
2015-04-23 14:53:08 +02:00
onovy
e14a7b3df8 Security fixies.
Generate new salt for every password.
Support different salt for passwords.
Support SHA512 for hashing.
2015-04-21 11:26:09 +02:00
Greg Holt
e0941ddffd Merge pull request #74 from onovy/account-recreate-fix
When creating account create account in Swift first.
2015-04-20 08:21:20 -05:00
Greg Holt
723a6dd3de Update AUTHORS 2015-04-20 08:19:33 -05:00
Greg Holt
4bc8c1dec0 Merge pull request #76 from onovy/webadmin-fixies
Webadmin various fixies.
2015-04-20 08:18:13 -05:00
onovy
01d9570f44 Webadmin various fixies. 2015-04-17 14:15:08 +02:00
onovy
04e55d8ec3 When creating account create account in Swift first.
When you try to create account with same suffix as already existed
before, Swift raises error. But SwAuth already created container for
this account in .auth which creates inconsistency.
2015-04-17 13:09:13 +02:00
Greg Holt
7e8e1fed9d Merge pull request #72 from cbartz/master
Using keystone at same time.
2014-12-22 08:49:41 -06:00