Ember front-end for the Open Science Framework
Clone or download
jamescdavis Merge pull request #435 from aaxelb/emb-302--email-modals
[EMB-302][EMB-227] Modal to verify "add email"/"merge user" requests
Latest commit ce58d02 Nov 12, 2018
Permalink
Failed to load latest commit information.
.github PR template improvements Aug 14, 2018
.vscode Merge branch 'develop' of github.com:centerforopenscience/ember-osf-w… Sep 12, 2018
app Respond to review Nov 12, 2018
bin Add custom component blueprint May 15, 2018
blueprints Remove styles.scss from component blueprint Oct 30, 2018
config Add `ember_verify_email_modals` feature flag Nov 1, 2018
lib Merge branch 'develop' into emb-302--email-modals Nov 12, 2018
mirage Merge branch 'develop' into emb-302--email-modals Nov 12, 2018
node-tests Remove styles.scss from component blueprint Oct 30, 2018
public Merge branch 'develop' of github.com:centerforopenscience/ember-osf-w… Oct 2, 2018
tests Merge branch 'develop' into emb-302--email-modals Nov 12, 2018
types Merge branch 'develop' into emb-302--email-modals Nov 12, 2018
vendor Add developer handbook May 24, 2018
.dockerignore Search collections Aug 20, 2018
.editorconfig ember-component-css --> ember-css-modules May 11, 2018
.ember-cli Has one page: quickfiles for user Sep 20, 2017
.eslintignore More precise .eslintignore May 31, 2018
.eslintrc.js [REG-19] Registries Navbar and styles Nov 6, 2018
.gitattributes Clean up registries assets Nov 6, 2018
.gitignore Ember engines for Collections May 8, 2018
.gitmodules WIP Aug 20, 2018
.mergify.yml Update .mergify.yml Nov 7, 2018
.nvmrc Add headless firefox and some other updates Oct 29, 2017
.stylelintrc.yml [REG-19] Registries Navbar and styles Nov 6, 2018
.template-lintrc.js Downgrade to ember-cli-template_lint 0.7.6 Oct 3, 2018
.travis.yml Don't build handbook on forks Sep 14, 2018
.watchmanconfig tidy up development settings Jul 9, 2018
.yarnrc Mutli-stage docker build Nov 1, 2017
CHANGELOG.md Merge branch 'develop' into emb-302--email-modals Nov 12, 2018
Dockerfile Search collections Aug 20, 2018
LICENSE Initial commit Sep 14, 2017
README.md add watchman documentation link Jul 10, 2018
ember-cli-build.js Use faker for guids instead of seedrandom Oct 11, 2018
package.json [REG-19] Registries Navbar and styles Nov 6, 2018
testem.js WIP Aug 20, 2018
tsconfig.json Merge branch 'develop' of github.com:centerforopenscience/ember-osf-w… Sep 12, 2018
tslint.json Feature/guid routing (#408) Nov 1, 2018
yarn.lock [REG-19] Registries Navbar and styles Nov 6, 2018

README.md

ember-osf-web

Greenkeeper badge

master Build Status: Build Status Coverage Status

develop Build Status: Build Status Coverage Status

A front end for osf.io.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone https://github.com/CenterForOpenScience/ember-osf-web.git
  • cd ember-osf-web
  • yarn --frozen-lockfile

Running / Development

Mac OS File Descriptor Limits

Watchman states "Only applicable on OS X 10.6 and earlier". Though it's been observed this setting can remain incorrect on systems where the operation system was upgraded from a legacy version.

Putting the following into a file named /etc/sysctl.conf on OS X will cause these values to persist across reboots:

kern.maxfiles=10485760
kern.maxfilesperproc=1048576

Development

Configure the application for local development, add the following to your config/local.js:

module.exports = {
    // an ally audit can use 100% of your browsers cpu, so use it wisely
    A11Y_AUDIT: false,
    // toggle on/off the engine applications you will be working on
    COLLECTIONS_ENABLED: false,
    // sourcemaps are useful if you need to step through typescript code in the browser
    SOURCEMAPS_ENABLED: true,
};

To integrate with the legacy front end at localhost:5000, you have two options:

  • Enable the waffle flags for each page in your local OSF Admin
  • Add routes to your osf.io/website/settings/local.py:
    EXTERNAL_EMBER_APPS = {
        'ember_osf_web': {
            # ...
            'routes': [
                'handbook',
                'dashboard',
                # ...
            ],
        },
        # ...

Developer Handbook

To enable the developer handbook locally, add the following to your config/local.js:

module.exports = {
    HANDBOOK_ENABLED: true,
};

The handbook will be available at http://localhost:4200/handbook.

To enable (experimental) auto-generated docs in the handbook, you can also set HANDBOOK_DOC_GENERATION_ENABLED: true in your local config.

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Further Reading / Useful Links