Giter VIP home page Giter VIP logo

manager.assets.ubuntu.com's Introduction

Archived

The domain manager.assets.ubuntu.com is now redirected by the assets.ubuntu.com service to assets.ubuntu.com/manager and the manager is served entirely from that application.

This app is no longer used.


Assets manager

CircleCI build status Code coverage

An admin web frontend for managing the assets-server.

Local development

First, you need to know the URL of instance of the assets server you wish to connect to, and an authorisation key for connecting to it.

Running the server

The simplest way to run the site locally is to first install Docker (on Linux you may need to add your user to the docker group), and then use the ./run script.

The first time you run it, the script will ask you to choose a URL for the server, and an authorisation key. E.g.:

$ ./run

Set the following variables in your .env.local, you might need to ask around for a token.

ASSET_SERVER_URL=<url>
ASSET_SERVER_TOKEN=<token>

Once the containers are setup, you can visit http://127.0.0.1:8018 in your browser to see the web frontend for controlling the assets service.

Building CSS

For working on Sass files, you may want to dynamically watch for changes to rebuild the CSS whenever something changes.

To setup the watcher, open a new terminal window and run:

./run watch

Deploy

You can find the deployment config in the deploy folder.


manager.assets.ubuntu.com's People

Contributors

0atman avatar anthonydillon avatar barrymcgee avatar bartaz avatar bethcollins92 avatar clementchaumel avatar dependabot[bot] avatar goulinkh avatar jkfran avatar jpmartinspt avatar meltysnow avatar minkyngkm avatar mtruj013 avatar nottrobin avatar petesfrench avatar renovate-bot avatar renovate[bot] avatar sowasred2012 avatar steverydz avatar tbille avatar willmoggridge avatar

Stargazers

 avatar

Watchers

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

manager.assets.ubuntu.com's Issues

Remove UI icons

Please can we remove this set of icons.

These were added before we finished the new UI icons, the finished set is now ready to be uploaded.

I'd like to get off to a good start with these, so we should avoid a duplicate set which may be used by mistake.

Thanks.

Too small size for drag and drop area

The drop area for file drag-and-drop is too small which results in bad accessibility.

It should be increased according to a11y best practices (or even extended to entire page).

Screenshot 2022-11-24 at 13 36 52

Expand permissions to all of Canonical

Give the whole company permission to access the manager.

I think this isn't quite as simple as just changing the group from "canonical-content-people" to "canonical" in sso.py, because canonical is a private group so I think we need assistance from someone who manages the SSO.

Create entity page

The entity page would be a page with details about the file with analytics of downloads for example.

Command line tool

Investigate the usefulness of creating a command line tool to upload assets to the server.
Ideally this can act as a command line tool, or a python package to use in other scripts.

This could accept a secret auth key or have a command line login authentication system.

Possible functions:

  • Upload file
  • Download file
  • Check if a local file exists on asset server (via hash?)
  • Search tags? Maybe more useful for other scripts rather than directly on command line.

Allow the manager to display and modify redirects

We can already search for assets and copy links for them - that is nice

But a feature that might come handy would be to also manage redirects as in "managing redirects" there.

The web UI at https://assets.ubuntu.com/manager could allow to list not only assets but also redirects.
For them show where they currently point to (this would help to see what the server thinks they are, e.g. when debugging issues like this) and allow users to enter a new location to point to.

Run with both python2 and python3

Make this project run with both python2 and python3. E.g.:

virtualenv env2
python3 -m venv env3
env2/bin/pip install -r requirements.txt
env3/bin/pip install -r requirements.txt

# Run with python2
env2/bin/python manage.py runserver

# Run with python3
env3/bin/python manage.py runserver

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined

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.