plcapi.git
13 years agoSetting tag plcapi-5.0-24 plcapi-5.0-24
Thierry Parmentelat [Wed, 8 Dec 2010 15:39:20 +0000 (16:39 +0100)]
Setting tag plcapi-5.0-24
tweak doc extraction for fedora14

13 years agobuilding myplc-docs on f14
Thierry Parmentelat [Wed, 8 Dec 2010 09:12:34 +0000 (10:12 +0100)]
building myplc-docs on f14

13 years agoSetting tag plcapi-5.0-23 plcapi-5.0-23
Thierry Parmentelat [Tue, 7 Dec 2010 19:40:43 +0000 (20:40 +0100)]
Setting tag plcapi-5.0-23
builtin accessors for the myslice page
Get{Node,Interface}Tags allowed to techs
tweak in ratelimitaspect.py

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Tue, 7 Dec 2010 15:25:13 +0000 (16:25 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agoallow tech to Get node and interface tags
Thierry Parmentelat [Tue, 7 Dec 2010 15:25:03 +0000 (16:25 +0100)]
allow tech to Get node and interface tags

13 years agosvn kwds
Thierry Parmentelat [Tue, 7 Dec 2010 15:20:36 +0000 (16:20 +0100)]
svn kwds

13 years agomore info on person when missing roles
Thierry Parmentelat [Tue, 7 Dec 2010 14:53:19 +0000 (15:53 +0100)]
more info on person when missing roles

13 years agoMerge branch 'master' of ssh://git.planet-lab.org/git/plcapi
S.Çağlar Onur [Mon, 6 Dec 2010 20:30:51 +0000 (15:30 -0500)]
Merge branch 'master' of ssh://git.planet-lab.org/git/plcapi

13 years agore-introduce commit 1c92c333ad668b173ba5abba552464ffaf990fe7
S.Çağlar Onur [Mon, 6 Dec 2010 20:30:46 +0000 (15:30 -0500)]
re-introduce commit 1c92c333ad668b173ba5abba552464ffaf990fe7

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Mon, 6 Dec 2010 20:09:04 +0000 (21:09 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agoremove dups & old ref. to ilinks
Thierry Parmentelat [Mon, 6 Dec 2010 20:08:56 +0000 (21:08 +0100)]
remove dups & old ref. to ilinks

13 years agotwo accessors for use in myslice for storing user preferences
Thierry Parmentelat [Mon, 6 Dec 2010 20:07:24 +0000 (21:07 +0100)]
two accessors for use in myslice for storing user preferences

13 years agoSetting tag plcapi-5.0-22 plcapi-5.0-22
Thierry Parmentelat [Mon, 6 Dec 2010 15:59:19 +0000 (16:59 +0100)]
Setting tag plcapi-5.0-22
add admin role to accessor-related tags (arch, {fc,pl}distro)

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Mon, 6 Dec 2010 15:58:23 +0000 (16:58 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agoall accessor-defined tag-types should have 'admin' role,
Thierry Parmentelat [Mon, 6 Dec 2010 15:57:57 +0000 (16:57 +0100)]
all accessor-defined tag-types should have 'admin' role,
otherwise admin cannot call Set accessor

13 years agoSetting tag plcapi-5.0-21 plcapi-5.0-21
Thierry Parmentelat [Mon, 6 Dec 2010 15:48:48 +0000 (16:48 +0100)]
Setting tag plcapi-5.0-21
bugfix in {Update,Delete}PersonTag
updated xml doc for filters, accessors and tagtypes
more explicit msg in case of missing roles
improvements in ratelimitaspects.py

13 years agobug fix, tag_type was undefined
Thierry Parmentelat [Mon, 6 Dec 2010 15:44:12 +0000 (16:44 +0100)]
bug fix, tag_type was undefined

13 years agomore explicit messages in case of missing role
Thierry Parmentelat [Mon, 6 Dec 2010 15:43:49 +0000 (16:43 +0100)]
more explicit messages in case of missing role

13 years agomore doc update
Thierry Parmentelat [Mon, 6 Dec 2010 15:43:25 +0000 (16:43 +0100)]
more doc update

13 years agoupdated doc and comments
Thierry Parmentelat [Mon, 6 Dec 2010 15:43:07 +0000 (16:43 +0100)]
updated doc and comments

13 years agoMerge commit 'origin/master'
root [Fri, 3 Dec 2010 09:32:01 +0000 (04:32 -0500)]
Merge commit 'origin/master'

13 years agoSetting tag plcapi-5.0-20 plcapi-5.0-20
Thierry Parmentelat [Fri, 3 Dec 2010 09:29:29 +0000 (10:29 +0100)]
Setting tag plcapi-5.0-20
fix the roles for ssh_key and hmac tags

13 years agoMerge commit 'origin/master'
root [Thu, 2 Dec 2010 23:17:44 +0000 (18:17 -0500)]
Merge commit 'origin/master'

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Thu, 2 Dec 2010 23:11:00 +0000 (00:11 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agomove sliverauth-related tags from db-config.d to accessors - fixed roles
Thierry Parmentelat [Thu, 2 Dec 2010 23:10:48 +0000 (00:10 +0100)]
move sliverauth-related tags from db-config.d to accessors - fixed roles

13 years agoadd notification support
S.Çağlar Onur [Thu, 2 Dec 2010 20:00:28 +0000 (15:00 -0500)]
add notification support

13 years agoSetting tag plcapi-5.0-19 plcapi-5.0-19
Thierry Parmentelat [Wed, 1 Dec 2010 16:48:43 +0000 (17:48 +0100)]
Setting tag plcapi-5.0-19
tag permissions system based on roles and not min_role_ids
accessors simplified accordingly (no more min_role_id)
new methods AddRoleToTagType and DeleteRoleFromTagType
accessor-related tagtypes are created sooner, and enforced
cleaned up redundancy between db-config.d and accessors

13 years agocleanup accessors
Thierry Parmentelat [Wed, 1 Dec 2010 16:01:54 +0000 (17:01 +0100)]
cleanup accessors

13 years agodefine_accessors accepts a list of classes if needed
Thierry Parmentelat [Wed, 1 Dec 2010 14:44:49 +0000 (15:44 +0100)]
define_accessors accepts a list of classes if needed
service plc start accessors ensures consistency b/w the accessors
  definition and the tag_types in the db
revised std accessors accordingly

13 years agotweaked message
Thierry Parmentelat [Wed, 1 Dec 2010 14:42:38 +0000 (15:42 +0100)]
tweaked message

13 years agodel svn kwds
Thierry Parmentelat [Wed, 1 Dec 2010 14:42:23 +0000 (15:42 +0100)]
del svn kwds

13 years agopropagate caller in more places
Thierry Parmentelat [Tue, 30 Nov 2010 18:17:12 +0000 (19:17 +0100)]
propagate caller in more places
node can change its own tag
protect for when caller does not have 'roles'

13 years agopropagate caller when a method calls another method
Thierry Parmentelat [Tue, 30 Nov 2010 17:51:19 +0000 (18:51 +0100)]
propagate caller when a method calls another method

13 years agoignoring tags
Thierry Parmentelat [Tue, 30 Nov 2010 15:29:06 +0000 (16:29 +0100)]
ignoring tags

13 years agoadd node role to the 3 tags used (and possibly tweaked) by GetNodeFlavour
Thierry Parmentelat [Tue, 30 Nov 2010 15:26:20 +0000 (16:26 +0100)]
add node role to the 3 tags used (and possibly tweaked) by GetNodeFlavour

13 years agodel svn kwds
Thierry Parmentelat [Tue, 30 Nov 2010 15:25:54 +0000 (16:25 +0100)]
del svn kwds

13 years agoadded comment on how to modify accessors
Thierry Parmentelat [Tue, 30 Nov 2010 14:16:51 +0000 (15:16 +0100)]
added comment on how to modify accessors

13 years agomissing import
Thierry Parmentelat [Tue, 30 Nov 2010 14:16:23 +0000 (15:16 +0100)]
missing import

13 years agocleanup tag types definition b/w db-config.d and accessors
Thierry Parmentelat [Tue, 30 Nov 2010 13:48:08 +0000 (14:48 +0100)]
cleanup tag types definition b/w db-config.d and accessors

13 years agoplc.d/accessors now created the tagtype for all defined accessors
Thierry Parmentelat [Tue, 30 Nov 2010 13:38:40 +0000 (14:38 +0100)]
plc.d/accessors now created the tagtype for all defined accessors

13 years agoplc.d/accessors now created the tagtype for all defined accessors
Thierry Parmentelat [Tue, 30 Nov 2010 13:36:04 +0000 (14:36 +0100)]
plc.d/accessors now created the tagtype for all defined accessors

13 years agoagain
Thierry Parmentelat [Tue, 30 Nov 2010 10:14:53 +0000 (11:14 +0100)]
again

13 years agofix fix
Thierry Parmentelat [Tue, 30 Nov 2010 10:09:23 +0000 (11:09 +0100)]
fix fix

13 years agoretrieve tag_type needed for caller_may_write_tag
Thierry Parmentelat [Tue, 30 Nov 2010 10:07:27 +0000 (11:07 +0100)]
retrieve tag_type needed for caller_may_write_tag

13 years agosvn-keywords
Thierry Parmentelat [Mon, 29 Nov 2010 15:23:13 +0000 (16:23 +0100)]
svn-keywords

13 years agonew step 'accessors' in the 'service plc start'
Thierry Parmentelat [Mon, 29 Nov 2010 15:22:58 +0000 (16:22 +0100)]
new step 'accessors' in the 'service plc start'
this ensures all the tagtypes mentioned in accessors are created

13 years agosvn keywords
Thierry Parmentelat [Mon, 29 Nov 2010 14:53:35 +0000 (15:53 +0100)]
svn keywords

13 years agoforce import of AuthorizeHelpers
Thierry Parmentelat [Mon, 29 Nov 2010 10:02:37 +0000 (11:02 +0100)]
force import of AuthorizeHelpers

13 years agoremove svn keywords
Thierry Parmentelat [Mon, 29 Nov 2010 10:02:14 +0000 (11:02 +0100)]
remove svn keywords

13 years agoalways invoke caller_my_access_tag
Thierry Parmentelat [Sun, 28 Nov 2010 16:29:07 +0000 (17:29 +0100)]
always invoke caller_my_access_tag

13 years agoremoved svn keywords
Thierry Parmentelat [Sun, 28 Nov 2010 16:28:49 +0000 (17:28 +0100)]
removed svn keywords

13 years agoadd missing imports
Thierry Parmentelat [Fri, 26 Nov 2010 08:28:17 +0000 (09:28 +0100)]
add missing imports

13 years agooops - wrong identation
Thierry Parmentelat [Fri, 26 Nov 2010 06:57:18 +0000 (07:57 +0100)]
oops - wrong identation

13 years agoall tag types use permission helpers in AuthorizeHelpers
Thierry Parmentelat [Thu, 25 Nov 2010 17:41:04 +0000 (18:41 +0100)]
all tag types use permission helpers in AuthorizeHelpers
accessors properly checked as well

13 years agopermission checking on node tags factorized in Node.caller_may_write_tag
Thierry Parmentelat [Thu, 25 Nov 2010 15:06:28 +0000 (16:06 +0100)]
permission checking on node tags factorized in Node.caller_may_write_tag

13 years agolocate_or_create_tag returns tag_type, and not tag_type_id anymore
Thierry Parmentelat [Thu, 25 Nov 2010 15:05:34 +0000 (16:05 +0100)]
locate_or_create_tag returns tag_type, and not tag_type_id anymore
accessors are now fully type-checked
accessors to use the caller_may_write_tag method if exists

13 years agoauthentication exception a bit more verbose
Thierry Parmentelat [Thu, 25 Nov 2010 15:02:58 +0000 (16:02 +0100)]
authentication exception a bit more verbose

13 years agotweak Accessors_site template to mentino person_roles
Thierry Parmentelat [Thu, 25 Nov 2010 14:59:17 +0000 (15:59 +0100)]
tweak Accessors_site template to mentino person_roles

13 years agocosmetic
Thierry Parmentelat [Thu, 25 Nov 2010 14:58:41 +0000 (15:58 +0100)]
cosmetic

13 years agodon't sync remote site local accessors
Thierry Parmentelat [Wed, 24 Nov 2010 19:45:13 +0000 (20:45 +0100)]
don't sync remote site local accessors

13 years agoreview (and fix) the way we retrieve the subject object
Thierry Parmentelat [Wed, 24 Nov 2010 19:01:23 +0000 (20:01 +0100)]
review (and fix) the way we retrieve the subject object

13 years agoprotect GetPersonTags to avoid disclosing person emails
Thierry Parmentelat [Wed, 24 Nov 2010 09:55:54 +0000 (10:55 +0100)]
protect GetPersonTags to avoid disclosing person emails

13 years agocomment in GetPersons
Thierry Parmentelat [Tue, 23 Nov 2010 21:35:36 +0000 (22:35 +0100)]
comment in GetPersons

13 years agocomment on define_accessors
Thierry Parmentelat [Tue, 23 Nov 2010 21:24:23 +0000 (22:24 +0100)]
comment on define_accessors

13 years agoadd a note in GetPersons about a possible privacy leak
Thierry Parmentelat [Tue, 23 Nov 2010 18:20:30 +0000 (19:20 +0100)]
add a note in GetPersons about a possible privacy leak

13 years agoget the down migration right
Thierry Parmentelat [Tue, 23 Nov 2010 15:04:43 +0000 (16:04 +0100)]
get the down migration right

13 years agofix duplicate arg in helpers
Thierry Parmentelat [Tue, 23 Nov 2010 08:47:45 +0000 (09:47 +0100)]
fix duplicate arg in helpers

13 years agobugfix
Thierry Parmentelat [Tue, 23 Nov 2010 06:43:33 +0000 (07:43 +0100)]
bugfix

13 years agocommitted un unsaved file
Thierry Parmentelat [Mon, 22 Nov 2010 23:56:22 +0000 (00:56 +0100)]
committed un unsaved file

13 years agoadded doc on migration
Thierry Parmentelat [Mon, 22 Nov 2010 23:52:26 +0000 (00:52 +0100)]
added doc on migration

13 years agodefault for get_roles in the accessors factory is all_roles
Thierry Parmentelat [Mon, 22 Nov 2010 22:25:01 +0000 (23:25 +0100)]
default for get_roles in the accessors factory is all_roles

13 years agoadd/update/delete slice tags should be fine
Thierry Parmentelat [Mon, 22 Nov 2010 22:17:57 +0000 (23:17 +0100)]
add/update/delete slice tags should be fine

13 years agogive more details on permission denied
Thierry Parmentelat [Sun, 21 Nov 2010 21:24:17 +0000 (22:24 +0100)]
give more details on permission denied

13 years agobugfix, don't use methods...
Thierry Parmentelat [Sun, 21 Nov 2010 21:21:57 +0000 (22:21 +0100)]
bugfix, don't use methods...

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Fri, 19 Nov 2010 16:05:29 +0000 (17:05 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agoaccessors and db-config.d tags roughly OK
Thierry Parmentelat [Fri, 19 Nov 2010 16:05:23 +0000 (17:05 +0100)]
accessors and db-config.d tags roughly OK

13 years agofix indent error
Barış Metin [Fri, 19 Nov 2010 15:33:00 +0000 (16:33 +0100)]
fix indent error

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Fri, 19 Nov 2010 14:39:10 +0000 (15:39 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agofirst draft of slice tags authorization in AddSliceTag
Thierry Parmentelat [Fri, 19 Nov 2010 14:38:11 +0000 (15:38 +0100)]
first draft of slice tags authorization in AddSliceTag

13 years agoadd enable_hmac slice tag accessor
Barış Metin [Fri, 19 Nov 2010 14:37:20 +0000 (15:37 +0100)]
add enable_hmac slice tag accessor

13 years ago.gitignore
Thierry Parmentelat [Fri, 19 Nov 2010 13:27:54 +0000 (14:27 +0100)]
.gitignore

13 years agoshow tagname when permission is denied
Thierry Parmentelat [Fri, 19 Nov 2010 13:25:53 +0000 (14:25 +0100)]
show tagname when permission is denied

13 years agooops - missing file
Thierry Parmentelat [Fri, 19 Nov 2010 11:25:28 +0000 (12:25 +0100)]
oops - missing file

13 years agoreviewing the tags permission system
Thierry Parmentelat [Thu, 18 Nov 2010 19:16:19 +0000 (20:16 +0100)]
reviewing the tags permission system
tag_types don't have a min_role_id anymore but a set of roles
new methods AddRoleToTagType and DeleteRoleFromTagType to handle that
new file PLC/AuthorizeHelpers.py has helpers to implement authorizations
this is a checkpoint commit - remaining todo:
- slice tags methods are unchanged yet
- accessors and factory still use min_role_id

13 years agoMerge branch 'master' of ssh://git.onelab.eu/git/plcapi
Thierry Parmentelat [Thu, 18 Nov 2010 09:23:33 +0000 (10:23 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/plcapi

13 years agocleanup more svn keywords
Thierry Parmentelat [Thu, 18 Nov 2010 09:23:14 +0000 (10:23 +0100)]
cleanup more svn keywords

13 years agoMerge commit 'origin/master'
root [Wed, 17 Nov 2010 21:52:56 +0000 (22:52 +0100)]
Merge commit 'origin/master'

13 years agoAuthMethod is a must so return if it's missing
S.Çağlar Onur [Wed, 17 Nov 2010 21:49:50 +0000 (16:49 -0500)]
AuthMethod is a must so return if it's missing

13 years agoMerge commit 'origin/master'
root [Wed, 17 Nov 2010 21:43:54 +0000 (22:43 +0100)]
Merge commit 'origin/master'

13 years agosupport other Auth types
S.Çağlar Onur [Wed, 17 Nov 2010 21:43:45 +0000 (16:43 -0500)]
support other Auth types

13 years agoMerge commit 'origin/master'
root [Wed, 17 Nov 2010 21:25:53 +0000 (22:25 +0100)]
Merge commit 'origin/master'

13 years agouse the same log file with spec
S.Çağlar Onur [Wed, 17 Nov 2010 21:23:03 +0000 (16:23 -0500)]
use the same log file with spec

13 years agoMerge commit 'origin/master'
root [Wed, 17 Nov 2010 21:22:55 +0000 (22:22 +0100)]
Merge commit 'origin/master'

13 years agohandle KeyError exception for now
S.Çağlar Onur [Wed, 17 Nov 2010 21:21:01 +0000 (16:21 -0500)]
handle KeyError exception for now

13 years agoMerge commit 'origin/master'
root [Wed, 17 Nov 2010 20:58:52 +0000 (21:58 +0100)]
Merge commit 'origin/master'

13 years agofix typo
S.Çağlar Onur [Wed, 17 Nov 2010 20:57:41 +0000 (15:57 -0500)]
fix typo

13 years agoMerge commit 'origin/master'
root [Wed, 17 Nov 2010 20:55:55 +0000 (21:55 +0100)]
Merge commit 'origin/master'

13 years agouse Username while calculating the key
S.Çağlar Onur [Wed, 17 Nov 2010 20:55:14 +0000 (15:55 -0500)]
use Username while calculating the key

13 years agouse Username while calculating the key
S.Çağlar Onur [Wed, 17 Nov 2010 20:54:08 +0000 (15:54 -0500)]
use Username while calculating the key

13 years agoMerge commit 'origin/master'
root [Wed, 17 Nov 2010 18:32:09 +0000 (19:32 +0100)]
Merge commit 'origin/master'