WebIssues/Web Client/Commands

From MiMec
Jump to: navigation, search

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