Code Monkey home page Code Monkey logo

osf.io's Introduction

OSF

The code for https://osf.io.

Running the OSF For Development

To run the OSF for local development, see README-docker-compose.md.

Optional, but recommended: To set up pre-commit hooks (will run formatters and linters on staged files):

pip install pre-commit

pre-commit install --allow-missing-config

More Resources

The COS Development Docs provide detailed information about all aspects of OSF development. This includes style guides, process docs, troubleshooting, and more.

osf.io's People

Contributors

abought avatar alexschiller avatar atelic avatar billyhunt avatar binoculars avatar brianjgeiger avatar caneruguz avatar caseyrollins avatar chennan47 avatar chrisseto avatar cslzchen avatar erinspace avatar fabianvf avatar fabmiz avatar felliott avatar ghalko avatar harryrybacki avatar huangginny avatar icereval avatar jmcarp avatar johnetordoff avatar kushg avatar laurenbarker avatar lyndsysimon avatar mfraezz avatar pattisdr avatar rliebz avatar samanehsan avatar samchrisinger avatar sloria avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osf.io's Issues

Cannot delete file

Steps:

  1. Upload a file
  2. Select checkbox beside red Delete button and click Delete

Expected:
-File is deleted

Actual
-File is not deleted (also I think a checkbox needs to appear besides each individual file, so that specific files can be deleted)

dashboard: project sorting

Now

projects are sorted by when they were made

Better

user should have option to sort by project name and last modified, with default sorting by last modified

It's difficult to find active public projects

Within the Open Source software development world, there is an axiom known as Linus' Law:

Given enough eyeballs, all bugs are shallow.

The idea is that the more people who work on given code, the higher quality it will become over time - because each developer brings a different perspective and skillset, and bugs that are overlooked by one may be obvious to another.

The same concept applies for Open Science. Publishing projects on the Framework is a great first step, but we're not leveraging it to its full potential unless we provide an easy way for users to see what's out there. In other words, we need to attract eyeballs to our public projects.

Our first step here will be a revamp of the Explore page. Information to include on this page will include:

  • Popular public projects (by hits)
  • New public projects (by creation date)
  • Popular public registrations (by hits)
  • New public registrations (by creation date)

Input on what you'd like to see would be greatly appreciated.

account creation with duplicate email

Trying to create an account with an email address already in the system should show an error message ("account already exists") but instead redirects to the account creation / login page silently.

Need a confirmation dialog when deleting a project

STEPS:

  1. Login to an account
  2. Navigate to a project page
  3. Click "settings" tab
  4. Select delete project

EXPECTED:

  1. Confirmation dialog informing user of seriousness of the action
  2. Confirm/cancel choice

ACTUAL:

  1. Deletes the project

Downloaded files have wrong name / extension

When downloading files from the individual file pages, downloaded files are named according to their version ("1", "2", etc.) and have no extension.

Steps

  • Browse to project page
  • Click on Files
  • Click on an uploaded file
  • Click on the download icon

Expected

  • Downloads a file with the same name and extension as displayed on the file page

Actual

  • Downloads a file named by version, with no extension

Users should be able to delete their accounts

Once a user account is created, there is no apparent way to delete the account. A "delete" and/or a "deactivate" option should be made available on a logged-in user's profile page.

Unnecessary versions created for unchanged files

Steps to Reproduce

  1. Upload a text file to a project
  2. Without modifying said file, upload it again, to the same project.
  3. Visit the file's page

Result

Two versions of the file are available.

Result

Since the file is unchanged, a new version should not be created, and only one version should be present in the history.

nesting projects

Now

Nesting of projects is not possible

Better

Projects should be able to move within a hierarchy vertically and laterally, and to be removed from that hierarchy as well.

Should the main page for a project with some public nodes also be public?

This issue was manually moved from OpenScienceFramework/openscienceframework.org#9

@octern said:

Currently if a node is public but the project isn't public, guests can visit the nodes via a direct link but can't view the project. I think that people who are using this to make some of their project's materials public would probably want visitors to be able to see a list of available nodes, similar to what a project contributor sees when the log in to a project. This is especially important if we want to suggest OSF as both a way to plan / create studies and to publicly share materials and data. People may not want all of their planning conversations and specific documents to become public.

Users cannot easily rename a file

Currently, users may upload, download or delete individual files. To rename a file, a user currently can:

  1. Download the file
  2. Rename the file locally
  3. Upload the file with the new name
  4. Delete the old version on the Framework

While this will work, it's a lot of work for what should be a simple operation. It also does not retain the version history of the file.

Ideally, a user should be able to rename a file through the web interface, thereby eliminating the complex process described above and maintaining the change history of the file for future reference.

forking registrations returns an error

Trying to fork a registration generates a 502 error.

Steps

  • Browse to a registration page
  • Click the Fork icon

Expected

  • A non-registered fork of the project is created

Actual

  • 502 Bad Gateway

add files link displayed on a public project, even if I am not a contributor

If you are not a contributor to a public project, you can still go to the project page and the add file link is still visible. However, if you follow that link and upload a file, an error message is produced:

SyntaxError: JSON.parse: unexpected character

I would expect that the link to add a file would not even show up.

Credentials should not be stored in the codebase

We need to remove usernames, passwords, API keys and the like from configuration before release.

I'm a fan of 12 Factor - and while we won't be using a PaaS or managing our infrastructure in quite the same way as @adamwiggins, storing configuration in the environment makes a lot of sense for our use case.

non-admin error for editing component title

Double-clicking a component header gives a pop-up to edit the title. Non-admin users for a project can attempt to use this, but it fails and the error message isn't handled gracefully.

Users should be able to add/change their location.

STEPS:

  1. Go to OSF page and login
  2. Access public profile
  3. Click "my public profile"
  4. Click location field

ACTUAL:

  1. A form pops up allowing users to edit their location
    -- similar to clicking on the username

EXPECTED:

  1. Nothing happens

"Fork" icon is ambiguous/incorrect

This issue has been manually brought over from openscienceframework/openscienceframework.org#1

The "fork" icon on projects is the Bootstrap default for "shuffle" - it should be customized or replaced to accurately represent the action.

link to parent project for components

Now

Possible to click on title to reach parent project

Better

From Brian's card: "immediately below 'date created' line could be 'Parent project: XXXX' and the XXXX says the name and is linkable back"

components dissociated between files and components list

Steps to reproduce

Unclear how this happened, but I've included a screenshot of what my project page looks like now. I may have created and then deleted the component "study materials."

study materials

Result

a folder representing the component exists in the file hierarchy even if that component does not exist

Expected result

a one-to-one correspondence between components listed in components list and components under file list and folder hierarchy therein

trying to rename a registered project generates a confusing error message

Registered projects can't be renamed, which is good. But attempting to rename a registered project injects escaped HTML into the rename dialogue box. A clearer error message might be good, or the rename function could be disabled for registrations.

Steps

  • Browse to a project
  • Click on Registrations
  • Click on a registration (or create one)
  • Click on the title of the project
  • Enter a different title and click the check mark icon

Expected

  • Error message ("You can't rename a registered project")

Actual

  • Escaped HTML is added to the dialog

Views of image files count as downloads

Steps to Reproduce

  1. Create a new project
  2. Add an image file (e.g., my_image.jpg)
  3. Click the image's filename to view the file's page
  4. Go back to the file list
  5. Refresh the page

Result

The file download counter shows "1".

Expected Result

The file download counter should show "0".

Allow nodes to inherit permissions upon creation

Submitted via email:

It would be great to given an option to propagate permission down
from the top level to sub-levels of a project. I understand why that
doesn't happen by default, but it's a major pain to have to add the
same people over and over again for every node.

Allow ordering of contributors

We have recieved several suggestion asking that project pages be more customizable. These include:

  • Allow specific ordering of contributors
  • Allow specific ordering of child projects

Ugly HTTP error handling

Steps to Reproduce

  1. Attempt to visit a page that does not exist: /not-a-real-page/.

Current State

A default, ugly error page is displayed.

Expected

A beautiful, informative page should be displayed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.