vazexqi / CodingSpectator

Watches and analyzes code edits in the Eclipse IDE non-invasively
http://codingspectator.cs.illinois.edu
Other
20 stars 14 forks source link

Allow external users to upload data to the repository #159

Closed reprogrammer closed 13 years ago

reprogrammer commented 13 years ago

The repository of CodingSpectator has different URL's for internal and external users. We need to change CodingSpectator so that it allows external users to upload their data.

Since our users in the next round of our study are going to be external users, we can just change the URL of the repository to the one for external users. This can be done quickly done and is good enough.

We can also make CodingSpectator more flexible by trying to authenticate using both URLs. That is, CodingSpectator takes the user's authentication information. Then, it first tries to log into the internal repository. If it succeeds, it uploads data using the internal URL. And, it fails to log in using the internal repository, it will try to log in using the external URL. We can enhance this process even further by consulting the Subversion working copy if there are any. That is, if the user has successfully logged in and thus has a Subversion working copy, we can get the URL of the repository from the working copy in the same way that we infer the username. That is, we can avoid extra authentication attempts by consulting the Subversion working copy if there is any.

reprogrammer commented 13 years ago

Refer to issue #53 for a script for testing the authentication process of CodingSpectator.

reprogrammer commented 13 years ago

Changed the URL of the repository in 36756c765f63a8bc42ba595e6ae394be07f369f6.