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

From MiMec
Jump to: navigation, search
m (User Management)
 
(5 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
==System Commands==
 
==System Commands==
  
 +
====HELLO====
 
   HELLO
 
   HELLO
 +
SERVER 'name' 'uuid'
 +
Not Done. indeed looking into Ext.proxy later todo
  
    SERVER 'name' 'uuid'
+
====LOGIN====
Not Done
 
 
 
 
   LOGIN 'login' 'password'
 
   LOGIN 'login' 'password'
 +
Partially inplemented in WI_Auth()
  
 
     USER userId access
 
     USER userId access
Line 20: Line 22:
  
 
==User Management==
 
==User Management==
 
+
php5 implementation with
 +
* Wi_Users();
 +
* Wi_User();
 
===LIST USERS===
 
===LIST USERS===
 
     U userId 'login' 'name' access
 
     U userId 'login' 'name' access
 
     M userId projectId access
 
     M userId projectId access
 
Partially implemented in WI_Users
 
Partially implemented in WI_Users
 +
 +
===+LIST USER===
 +
U user_id
 +
++Implemented for web client in WI_user
  
 
===ADD USER===
 
===ADD USER===
Line 56: Line 64:
 
==Type Management==
 
==Type Management==
  
 +
==== LIST TYPES====
 
   LIST TYPES
 
   LIST TYPES
 
 
     T typeId 'name'
 
     T typeId 'name'
 
     A attributeId typeId 'name' 'definition'
 
     A attributeId typeId 'name' 'definition'
  
 +
====ADD TYPE====
 
   ADD TYPE 'name'
 
   ADD TYPE 'name'
 
 
     ID typeId
 
     ID typeId
  
  RENAME TYPE typeId 'newName'
+
====RENAME TYPE====
 
+
  RENAME TYPE typeId 'newName'
 
     OK
 
     OK
 
+
====DELETE TYPE====
 
   DELETE TYPE typeId
 
   DELETE TYPE typeId
 
 
     OK
 
     OK
  
 +
====ADD ATTRIBUTE====
 
   ADD ATTRIBUTE typeId 'name' 'definition'
 
   ADD ATTRIBUTE typeId 'name' 'definition'
 
 
     ID attributeId
 
     ID attributeId
  
 +
====RENAME ATTRIBUTE====
 
   RENAME ATTRIBUTE attributeId 'newName'
 
   RENAME ATTRIBUTE attributeId 'newName'
 
 
     OK
 
     OK
  
 +
====MODIFY ATTRIBUTE====
 
   MODIFY ATTRIBUTE attributeId 'definition'
 
   MODIFY ATTRIBUTE attributeId 'definition'
 
 
     OK
 
     OK
  
 +
====DELETE ATTRIBUTE====
 
   DELETE ATTRIBUTE attributeId
 
   DELETE ATTRIBUTE attributeId
 
 
     OK
 
     OK
  

Latest revision as of 15:01, 3 November 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

 HELLO
SERVER 'name' 'uuid'

Not Done. indeed looking into Ext.proxy later todo

LOGIN

 LOGIN 'login' 'password'

Partially inplemented in WI_Auth()

   USER userId access

Partially implemented in WI_Auth

User Management

php5 implementation with

  • Wi_Users();
  • Wi_User();

LIST USERS

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

Partially implemented in WI_Users

+LIST USER

U user_id

++Implemented for web client in WI_user

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

 LIST TYPES
   T typeId 'name'
   A attributeId typeId 'name' 'definition'

ADD TYPE

 ADD TYPE 'name'
   ID typeId

RENAME TYPE

  RENAME TYPE typeId 'newName'
   OK

DELETE TYPE

 DELETE TYPE typeId
   OK

ADD ATTRIBUTE

 ADD ATTRIBUTE typeId 'name' 'definition'
   ID attributeId

RENAME ATTRIBUTE

 RENAME ATTRIBUTE attributeId 'newName'
   OK

MODIFY ATTRIBUTE

 MODIFY ATTRIBUTE attributeId 'definition'
   OK

DELETE ATTRIBUTE

 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