Difference between revisions of "WebIssues/Web Client/Commands"

From MiMec
Jump to: navigation, search
(ADD USER)
m (User Management)
Line 26: Line 26:
 
Partially implemented in WI_Users
 
Partially implemented in WI_Users
  
=====ADD USER=====
+
===ADD USER===
 
   ADD USER 'login' 'name' 'password'
 
   ADD USER 'login' 'name' 'password'
  
Line 32: Line 32:
 
Partially implemented in WI_User
 
Partially implemented in WI_User
  
====SET PASSWORD====
+
===SET PASSWORD===
 
   SET PASSWORD userId 'password'
 
   SET PASSWORD userId 'password'
  
Line 38: Line 38:
 
Partially implemented in WI_User
 
Partially implemented in WI_User
  
 +
===RENAME USER===
 
   RENAME USER userId 'newName'
 
   RENAME USER userId 'newName'
 
Partially implemented in WI_Users
 
Partially implemented in WI_Users
Line 43: Line 44:
 
     OK
 
     OK
  
 +
===GRANT USER===
 
   GRANT USER userId access
 
   GRANT USER userId access
  
 
     OK
 
     OK
  
 +
===GRANT MEMBER===
 
   GRANT MEMBER userId projectId access
 
   GRANT MEMBER userId projectId access
  

Revision as of 02:21, 26 February 2008

This is a list from original PROTOCOL document of commands..

The idea is that our dictator will tick there off one approved and working.

This list is basically the to do list of whats been implemented server side.

Pedro is working on this atmo, more are encouraged.

System Commands

 HELLO
   SERVER 'name' 'uuid'

Not Done

 LOGIN 'login' 'password'
   USER userId access

Partially implemented in WI_Auth

User Management

LIST USERS

   U userId 'login' 'name' access
   M userId projectId access

Partially implemented in WI_Users

ADD USER

 ADD USER 'login' 'name' 'password'
   ID userId

Partially implemented in WI_User

SET PASSWORD

 SET PASSWORD userId 'password'
   OK

Partially implemented in WI_User

RENAME USER

 RENAME USER userId 'newName'

Partially implemented in WI_Users

   OK

GRANT USER

 GRANT USER userId access
   OK

GRANT MEMBER

 GRANT MEMBER userId projectId access
   OK

Type Management

 LIST TYPES
   T typeId 'name'
   A attributeId typeId 'name' 'definition'
 ADD TYPE 'name'
   ID typeId
 RENAME TYPE typeId 'newName'
   OK
 DELETE TYPE typeId
   OK
 ADD ATTRIBUTE typeId 'name' 'definition'
   ID attributeId
 RENAME ATTRIBUTE attributeId 'newName'
   OK
 MODIFY ATTRIBUTE attributeId 'definition'
   OK
 DELETE ATTRIBUTE attributeId
   OK

Project Management

 LIST PROJECTS
   P projectId 'name'
   F folderId projectId 'name' typeId stamp
 ADD PROJECT 'name'
   ID projectId
 RENAME PROJECT projectId 'newName'
   OK
 DELETE PROJECT projectId
   OK
 ADD FOLDER projectId typeId 'name'
   ID folderId
 RENAME FOLDER folderId 'newName'
   OK
 DELETE FOLDER folderId
   OK

Issue Operations

 LIST ISSUES folderId sinceStamp
   I issueId folderId 'name' stamp createdDate createdUser modifiedDate modifiedUser
   V attributeId issueId 'value'
 GET DETAILS issueId sinceStamp
   I issueId folderId 'name' stamp createdDate createdUser modifiedDate modifiedUser
   V attributeId issueId 'value'
   C commentId issueId createdDate createdUser 'text'
   A attachmentId issueId 'name' createdDate createdUser size 'description'
   H changeId issueId modifiedDate modifiedUser attributeId 'oldValue' 'newValue'
 ADD ISSUE folderId 'name'
   ID issueId
 RENAME ISSUE issueId 'newName'
   ID changeId
 SET VALUE issueId attributeId 'newValue'
   ID changeId
 ADD COMMENT issueId 'text'
   ID commentId
 ADD ATTACHMENT issueId 'name' 'description'
   ID attachmentId
 GET ATTACHMENT attachmentId
   <binary response>
 FIND ITEM itemId
   ID issueId