From db29fcee3e0b8e0d6b6db4e98e1cd79e089f3210 Mon Sep 17 00:00:00 2001 From: jw255 Date: Fri, 20 Apr 2018 19:41:43 +0100 Subject: added section completed-work --- report/deliverable-3/texts/work.tex | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 report/deliverable-3/texts/work.tex (limited to 'report/deliverable-3/texts/work.tex') diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex new file mode 100644 index 0000000..41bd13b --- /dev/null +++ b/report/deliverable-3/texts/work.tex @@ -0,0 +1,9 @@ +\section{Completed Work} +Looking back on the tasks set out from the initial specifications we are very satisfied with the amount of work completed and the percentage of the user stories covered in our final submission. +\begin{description} +\item[Web-based application] We used NodeJS and typescript to deploy our server to the school host servers, where it is accessible both from within and outside the university network. +\item[Conceptual structures for file, project and user management] The data models for these items developed into very sophisticated objects - containing hierarchies, permission groups, project contributors and much more. +\item[Files may be uploaded to specific projects] Files can only be associated to a specific project. Folder hierarchies are stored on the database, while data is stored in the file-system. +\item[Allow conversion of images and tabular data] Our current system allows fluent transition between czi input files and tiled png output *todo*. Tabular data is handled in csv format, giving the server a good understanding of the data. +\item[Robustness to user input] A reasonable attempt was made to catch out invalid input and close collaboration with the HCI groups ensured a distribution of responsibility for the preservation of dependencies and cleaning of user input. +\end{description} \ No newline at end of file -- cgit v1.2.1 From 2bcb7fb53ec34718e7d75d215009f112c62ffa66 Mon Sep 17 00:00:00 2001 From: jw255 Date: Fri, 20 Apr 2018 21:56:18 +0100 Subject: added section completed-work --- report/deliverable-3/texts/work.tex | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'report/deliverable-3/texts/work.tex') diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index 41bd13b..6d8d9af 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -1,9 +1,12 @@ \section{Completed Work} -Looking back on the tasks set out from the initial specifications we are very satisfied with the amount of work completed and the percentage of the user stories covered in our final submission. +Looking back on the tasks set out from the initial specifications we are very satisfied with the amount of work completed and the percentage of the user stories covered in our final submission. The following points are summaries from the specifications supplied by the school and the specifications decided by the student body. + \begin{description} \item[Web-based application] We used NodeJS and typescript to deploy our server to the school host servers, where it is accessible both from within and outside the university network. -\item[Conceptual structures for file, project and user management] The data models for these items developed into very sophisticated objects - containing hierarchies, permission groups, project contributors and much more. +\item[Conceptual structures for file, project and user management] The data models for these items developed into very sophisticated objects - containing hierarchies, permission groups, project contributors and much more. A mode of user authentication is provided using oauth tokens. \item[Files may be uploaded to specific projects] Files can only be associated to a specific project. Folder hierarchies are stored on the database, while data is stored in the file-system. +\item[Files upload should be agnostic of file type] The server does not discriminate files based on type. All files have associated meta-data stored in a database, which contains information like file-type. \item[Allow conversion of images and tabular data] Our current system allows fluent transition between czi input files and tiled png output *todo*. Tabular data is handled in csv format, giving the server a good understanding of the data. \item[Robustness to user input] A reasonable attempt was made to catch out invalid input and close collaboration with the HCI groups ensured a distribution of responsibility for the preservation of dependencies and cleaning of user input. +\item[Ensure compatibility between groups] A common api was decided by the student body to ensure seamless communication between systems. As part of our testing we integrated with several other HCI and ML groups. \end{description} \ No newline at end of file -- cgit v1.2.1 From b4c0ef25c63ef097b5f24d138896fc7aafbed702 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sat, 21 Apr 2018 16:29:42 +0100 Subject: files + conclusion --- report/deliverable-3/texts/work.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'report/deliverable-3/texts/work.tex') diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index 6d8d9af..77b6dba 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -5,7 +5,7 @@ Looking back on the tasks set out from the initial specifications we are very sa \item[Web-based application] We used NodeJS and typescript to deploy our server to the school host servers, where it is accessible both from within and outside the university network. \item[Conceptual structures for file, project and user management] The data models for these items developed into very sophisticated objects - containing hierarchies, permission groups, project contributors and much more. A mode of user authentication is provided using oauth tokens. \item[Files may be uploaded to specific projects] Files can only be associated to a specific project. Folder hierarchies are stored on the database, while data is stored in the file-system. -\item[Files upload should be agnostic of file type] The server does not discriminate files based on type. All files have associated meta-data stored in a database, which contains information like file-type. +\item[Files upload should be agnostic of file type] The server does not discriminate files based on type. All files have associated meta-data stored in a database, which contains information like file-type. On the server, files and directories are identified by their uuid and filestypes are divided into the categories `tabular', `image' and `generic'. \item[Allow conversion of images and tabular data] Our current system allows fluent transition between czi input files and tiled png output *todo*. Tabular data is handled in csv format, giving the server a good understanding of the data. \item[Robustness to user input] A reasonable attempt was made to catch out invalid input and close collaboration with the HCI groups ensured a distribution of responsibility for the preservation of dependencies and cleaning of user input. \item[Ensure compatibility between groups] A common api was decided by the student body to ensure seamless communication between systems. As part of our testing we integrated with several other HCI and ML groups. -- cgit v1.2.1 From e6dc8785599d624d7be44e30d45291e696762832 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sat, 21 Apr 2018 23:55:26 +0100 Subject: various items --- report/deliverable-3/texts/work.tex | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'report/deliverable-3/texts/work.tex') diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index 77b6dba..b06aebc 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -9,4 +9,30 @@ Looking back on the tasks set out from the initial specifications we are very sa \item[Allow conversion of images and tabular data] Our current system allows fluent transition between czi input files and tiled png output *todo*. Tabular data is handled in csv format, giving the server a good understanding of the data. \item[Robustness to user input] A reasonable attempt was made to catch out invalid input and close collaboration with the HCI groups ensured a distribution of responsibility for the preservation of dependencies and cleaning of user input. \item[Ensure compatibility between groups] A common api was decided by the student body to ensure seamless communication between systems. As part of our testing we integrated with several other HCI and ML groups. +\item[Follow an agreed protocol for intergroup communication] We implemented the entire protocol \url{https://github.com/CS3099JH2017/cs3099jh/blob/master/protocols/BE01.md} +\end{description} + +\subsection{Endpoints} +\begin{description} +\item[get '/_supported_protocols_'] Returns the supported protocols +\item[get '/log'] Allows retreiving of logs (requires admin privileges) +\item[post '/log'] Allows viewing of logs (requires logging permission) +\item[get '/properties'] Returns the server configuration +\item[post '/properties'] Allows changing of the server configuration +\item[get '/user_privileges'] Returns all available privileges +\item[get '/users'] Returns all users +\item[get '/users/:username'] Returns information on a specific user +\item[post '/users/:username'] Allows adding of users and changing of user information +\item[get '/users/:username/properties'] Returns additional configuration options on a specific user +\item[get '/current_user'] Returns information of the authenticated user +\item[post '/current_user'] Allows changing of information for the authenticated user +\item[get '/project_roles'] Returns all project roles +\item[get '/projects'] Returns all projects +\item[get '/projects/:project_name'] Returns information of a specific project +\item[post '/projects/:project_name'] Allows changing of information of a specific project +\item[get '/projects/:project_name/properties'] Returns additional configuration options of a specific project +\item[get '/projects/:project_name/files/'] Returns all files and folders at the base level of the project (non-recursive) +\item[get '/projects/:project_name/files/:path'] Returns a file +\item[post '/projects/:project_name/files/:path'] Uploads a file +\item[get '/projects/:project_name/files_by_id/:id'] Returns a file \end{description} \ No newline at end of file -- cgit v1.2.1 From 41cc7768116e8e471f5a303534c2f55a617a655e Mon Sep 17 00:00:00 2001 From: jw255 Date: Sun, 22 Apr 2018 14:07:00 +0100 Subject: fixed latex compile issue --- report/deliverable-3/texts/work.tex | 42 ++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'report/deliverable-3/texts/work.tex') diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index b06aebc..789b58a 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -14,25 +14,25 @@ Looking back on the tasks set out from the initial specifications we are very sa \subsection{Endpoints} \begin{description} -\item[get '/_supported_protocols_'] Returns the supported protocols -\item[get '/log'] Allows retreiving of logs (requires admin privileges) -\item[post '/log'] Allows viewing of logs (requires logging permission) -\item[get '/properties'] Returns the server configuration -\item[post '/properties'] Allows changing of the server configuration -\item[get '/user_privileges'] Returns all available privileges -\item[get '/users'] Returns all users -\item[get '/users/:username'] Returns information on a specific user -\item[post '/users/:username'] Allows adding of users and changing of user information -\item[get '/users/:username/properties'] Returns additional configuration options on a specific user -\item[get '/current_user'] Returns information of the authenticated user -\item[post '/current_user'] Allows changing of information for the authenticated user -\item[get '/project_roles'] Returns all project roles -\item[get '/projects'] Returns all projects -\item[get '/projects/:project_name'] Returns information of a specific project -\item[post '/projects/:project_name'] Allows changing of information of a specific project -\item[get '/projects/:project_name/properties'] Returns additional configuration options of a specific project -\item[get '/projects/:project_name/files/'] Returns all files and folders at the base level of the project (non-recursive) -\item[get '/projects/:project_name/files/:path'] Returns a file -\item[post '/projects/:project_name/files/:path'] Uploads a file -\item[get '/projects/:project_name/files_by_id/:id'] Returns a file +\item[get /\_supported\_protocols\_] Returns the supported protocols +\item[get /log] Allows retreiving of logs (requires admin privileges) +\item[post /log] Allows viewing of logs (requires logging permission) +\item[get /properties] Returns the server configuration +\item[post /properties] Allows changing of the server configuration +\item[get /user\_privileges] Returns all available privileges +\item[get /users] Returns all users +\item[get /users/:username] Returns information on a specific user +\item[post /users/:username] Allows adding of users and changing of user information +\item[get /users/:username/properties] Returns additional configuration options on a specific user +\item[get /current\_user] Returns information of the authenticated user +\item[post /current\_user] Allows changing of information for the authenticated user +\item[get /project\_roles] Returns all project roles +\item[get /projects] Returns all projects +\item[get /projects/:project\_name] Returns information of a specific project +\item[post /projects/:project\_name] Allows changing of information of a specific project +\item[get /projects/:project\_name/properties] Returns additional configuration options of a specific project +\item[get /projects/:project\_name/files/] Returns all files and folders at the base level of the project (non-recursive) +\item[get /projects/:project\_name/files/:path] Returns a file +\item[post /projects/:project\_name/files/:path] Uploads a file +\item[get /projects/:project\_name/files\_by\_id/:id] Returns a file \end{description} \ No newline at end of file -- cgit v1.2.1 From cd183262ea0b9a5af6d0eb36e5774f0e6de9c9b3 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sun, 22 Apr 2018 15:43:30 +0100 Subject: somw work --- report/deliverable-3/texts/work.tex | 47 ++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 21 deletions(-) (limited to 'report/deliverable-3/texts/work.tex') diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index 789b58a..08cc786 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -13,26 +13,31 @@ Looking back on the tasks set out from the initial specifications we are very sa \end{description} \subsection{Endpoints} +as specified by the agreed protocol \begin{description} -\item[get /\_supported\_protocols\_] Returns the supported protocols -\item[get /log] Allows retreiving of logs (requires admin privileges) -\item[post /log] Allows viewing of logs (requires logging permission) -\item[get /properties] Returns the server configuration -\item[post /properties] Allows changing of the server configuration -\item[get /user\_privileges] Returns all available privileges -\item[get /users] Returns all users -\item[get /users/:username] Returns information on a specific user -\item[post /users/:username] Allows adding of users and changing of user information -\item[get /users/:username/properties] Returns additional configuration options on a specific user -\item[get /current\_user] Returns information of the authenticated user -\item[post /current\_user] Allows changing of information for the authenticated user -\item[get /project\_roles] Returns all project roles -\item[get /projects] Returns all projects -\item[get /projects/:project\_name] Returns information of a specific project -\item[post /projects/:project\_name] Allows changing of information of a specific project -\item[get /projects/:project\_name/properties] Returns additional configuration options of a specific project -\item[get /projects/:project\_name/files/] Returns all files and folders at the base level of the project (non-recursive) -\item[get /projects/:project\_name/files/:path] Returns a file -\item[post /projects/:project\_name/files/:path] Uploads a file -\item[get /projects/:project\_name/files\_by\_id/:id] Returns a file +\item[post /oauth/token] Allows authentication, issuing a token. +\item[get /\_supported\_protocols\_] Returns the supported protocols +\item[get /log] Allows retreiving of logs (requires admin privileges)\\ +optional url parameters: \texttt{before=\&after=\&level=} +\item[post /log] Allows viewing of logs (requires logging permission) +\item[get /properties] Returns the server configuration +\item[post /properties] Allows changing of the server configuration +\item[get /user\_privileges] Returns all available privileges +\item[get /users] Returns all users +\item[get /users/:username] Returns information on a specific user +\item[post /users/:username] Allows adding, deleting and changing of user (information)\\ +url parameters: \texttt{action=create} or \texttt{action=update} or \texttt{action=delete} +\item[get /users/:username/properties] Returns additional configuration options on a specific user +\item[get /current\_user] Returns information of the authenticated user +\item[post /current\_user] Allows changing of information for the authenticated user +\item[get /project\_roles] Returns all project roles +\item[get /projects] Returns all projects +\item[get /projects/:project\_name] Returns information of a specific project +\item[post /projects/:project\_name] Allows changing of information of a specific project\\ +url parameters: \texttt{action=create} or \texttt{action=update} or \texttt{action=delete} +\item[get /projects/:project\_name/properties] Returns additional configuration options of a specific project +\item[get /projects/:project\_name/files/] Returns all files and folders at the base level of the project (non-recursive) +\item[get /projects/:project\_name/files/:path] Returns a file +\item[post /projects/:project\_name/files/:path] Uploads a file +\item[get /projects/:project\_name/files\_by\_id/:id] Returns a file \end{description} \ No newline at end of file -- cgit v1.2.1 From 84e6f221419b0fb56ae4bfb0eddf46777ff271a3 Mon Sep 17 00:00:00 2001 From: jw255 Date: Sun, 22 Apr 2018 16:54:08 +0100 Subject: conclusion + ind. contr. reworked --- report/deliverable-3/texts/work.tex | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'report/deliverable-3/texts/work.tex') diff --git a/report/deliverable-3/texts/work.tex b/report/deliverable-3/texts/work.tex index 08cc786..92b9058 100644 --- a/report/deliverable-3/texts/work.tex +++ b/report/deliverable-3/texts/work.tex @@ -37,7 +37,9 @@ url parameters: \texttt{action=create} or \texttt{action=update} or \texttt{acti url parameters: \texttt{action=create} or \texttt{action=update} or \texttt{action=delete} \item[get /projects/:project\_name/properties] Returns additional configuration options of a specific project \item[get /projects/:project\_name/files/] Returns all files and folders at the base level of the project (non-recursive) -\item[get /projects/:project\_name/files/:path] Returns a file -\item[post /projects/:project\_name/files/:path] Uploads a file +\item[get /projects/:project\_name/files/:path] Returns a file\\ +optional url parameters: (default) \texttt{view=meta} or \texttt{raw} or other views depending on the file type +\item[post /projects/:project\_name/files/:path] Uploads a file\\ +optional url parameters: \texttt{action=set\_metadata, mkdir, delete, move, copy}, \texttt{overwrite=true, false}, \texttt{offset=int}, \texttt{truncate= true, false} and \texttt{final=true, false} \item[get /projects/:project\_name/files\_by\_id/:id] Returns a file \end{description} \ No newline at end of file -- cgit v1.2.1