Giter Site home page Giter Site logo

nstock's Introduction

nStock

A system for news item management, i mean the pictures, texts, translations, etc. those bits of info that glued together make the news as you can see on the newspaper site.

In nStock each user has a personal desk. Each new Item is stored on the user personal desktop.

Organizations consist of a set of desk, over which users will have some permissions, for example: view the contents of the desk, send items to the desk or edit the contents of the desk (Items). In this way, several workflows can be represented.

Install

This is a web2py application. Fallow the instructions on web2py book or for testing purposes download web2py and clone this repo in the applications folder in your local web2py instance.

Requirements.

  • PIL: you need to install python-pil for image handling.

First time.

The first time the system is used, the site admin will need to give permissions for some users to be able to create organizations. For that, go to appadmin:

http://YOUR.SITE.NAME/nstock/appadmin

And give the permission create_org to the user group.

nstock's People

Contributors

ybenitezf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zahedbri

nstock's Issues

Change the sharing model

The sharing model - permissive with is the current one - must be change to a copy based model.
The idea is that on share of item A:

  1. The system will do a copy of A - that will be item A.1
  2. Item A.1 will be to any extends a replacement of item A and any access to Item A will be translate to the corresponding Item A.1 access.
  3. The original author of item A will have only read access to item A.1.
  4. The target of the share will be the new owner of the Item.

Update the default item preview

The preview of the item should show this fields if they are different of None or not empty:

  • located
  • section_page
  • language
  • embargoed
    The values should appear before the content preview.

Other notifications apart from mails

Is required to have a direct notification mechanism to directly inform the user that new items have arrive to the CAST. So that the user can refresh the web page to see the new content.

Hide some fields from META

In the meta-data form of the item hide the fields:

  • All the copyright related fields.
  • status
  • Provider information fields.

change the label of "Create Items"

Change the label of the menu and side bar from "Create Items" to "Add Items".

Since the Items are create out side the system, they are added to the CAST and never are created as such in the system.

Error on new instalation when creating Items

On a new installation nstock trigger the error:

<class 'applications.nstock.modules.whoosh.index.EmptyIndexError'> Index 'MAIN' does not exist in FileStorage('/home/yoel/src/web2py-2.14.6/applications/nstock/whoosh')

When a new item is to be added to the CAST.

Change the text of 'Translate'

Change the text and the sense of the 'Translate' action from the meta-data form.

It should stated more clearly that the action does not automatically translate the content but creates a copy of the content to be replaced by the translator.

search support

Search support for the desks.

  • ¿global search or per desk search?
  • if per desk search ¿when to index ?
  • ¿can use scheduler for this ?

make the thumbnails more wide

In plugin_picture make the thumbnail a bit wider, so when the items preview in desks it take the full width of the column.

fix language support

  • Add code to upload the language file to the database on database initialization.
  • Change the item table definition to a relation to the new language table
  • Change the representation of the language tag of the items to match the translated name of the language

change create timestamp on share

When a item is share set the create timestamp to the request timestamp. In this way, recently shared items will be showup on top of the target user CAST

Add a section or page field

Add the field "section or page" to the Item basic fields. This field will not be required on creation and will be used to detonate the intension/purpose of the item on a publication.

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.