Code Monkey home page Code Monkey logo

adhocracy-plus's Introduction

adhocracy+

adhocracy.plus is a free Open-Source participation platform maintained and primarily developed by Liquid Democracy e.V.. It is based on adhocracy 4 and Django.

Build Status Coverage Status

Getting started

adhocracy+ is designed to make online participation easy and accessible to everyone. It can be used on our SaaS-platform or installed on your own servers. How to get started on our platform is explained here.

Installation for development

Requirements

  • nodejs (+ npm)
  • python 3.x (+ venv + pip)
  • libpq (only if postgres should be used)
  • sqlite3 with JSON1 enabled
  • redis (in production, not needed for development)

Installation

git clone https://github.com/liqd/adhocracy-plus.git
cd adhocracy-plus
make install
make fixtures

Start virtual environment

source venv/bin/activate

Check if tests work

make test

Start a local server

make watch

Use postgresql database for testing

run the following command once:

make postgres-create

to start the test server with postgresql, run:

export DATABASE=postgresql
make postgres-start
make watch

Go to http://localhost:8004/ and login with [email protected] | password

Use Celery for task queues

For a celery worker to pick up tasks you need to make sure that:

  • the redis server is running
  • the celery config parameter "always eager" is disabled (add CELERY_TASK_ALWAYS_EAGER = False to your local.py)

To start a celery worker node in the foreground, call:

make celery-worker-start

To inspect all registered tasks, list the running worker nodes, call:

make celery-worker-status

To send a dummy task to the queue and report the result, call:

make celery-worker-dummy-task

Installation on a production system

You like adhocracy+ and want to run your own version? An installation guide for production systems can be found here.

Contributing or maintaining your own fork

If you found an issue, want to contribute, or would like to add your own features to your own version of adhocracy+, check out contributing.

Security

We care about security. So, if you find any issues concerning security, please send us an email at info [at] liqd [dot] net.

adhocracy-plus's People

Contributors

2e2a avatar dependabot[bot] avatar fuzzylogic2000 avatar goapunk avatar greenkeeper[bot] avatar hklarner avatar hmkay avatar hom3mad3 avatar ihucos avatar kleingeist avatar m4ra avatar mkind avatar navigator28 avatar p4rcev4l avatar philli-m avatar pyup-bot avatar renovate-bot avatar renovate[bot] avatar rmader avatar sabinammm avatar slomo avatar teajayyy avatar vellip avatar xi 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

Watchers

 avatar  avatar  avatar  avatar  avatar

adhocracy-plus's Issues

user profile: wording for followed projects

Currently, projects that a user follows are shown under the tab "participations" and if she doesn't follow any project it says "This user is not active in any projects yet." Should we change the wording to something that makes more sense here?
@rittermo

#2400: italics for image caption

Since the caption text looks very similar to the normal paragraphs, we should set it always in italics, so it has a bit of a visual differentiation. Sorry, this was not part of the original design.

Mail issues

  • link broken: https://hidden.adhocracy.plushttps://hidden.adhocracy.plus/info/nutzungsbedingungen/ <- only on productive!
  • adapt support email address

Error message of form not shown on top of form

When I edit project information in the dashboard and add a telephone number with less than 8 digits I will be redirected to the form again showing an error underneath the telephone number field. But as the error is not shown on top of the page I won't see the error and will think that I successfully updated the project information.

related to #41

Account issues

  • min username length is one
  • registration form does not check for unique username -> database error

Refactor partner header logo overlapping and content styling

Currently the partner logo is instructed to overlap the content by using a negative margin bottom.
This results in issues like liqd/a4-product#201 where content is hidden behind the partner logo
For now a quick fix has been introduced for the page types currently in use, but we need a general solution for that problem.

we could adapt the layout from meinberlin where the same problem is fixed by setting a margin-bottom on the header nav element (.main-header) and by explicitly move elements which should fill the space with a background image or color to the top by using both margin-top: -1.em and padding-top: 1em.
The padding ensures there is no overlapping.

There is also a problem with alerts, as they may occur on a page with a partner heading and on platform pages. So they should work in both cases.

Landing page / CMS: layout becomes smaller on/after widest breakpoint

There is a small oddity I noticed for viewports wider than 2000px. Rather than stop expanding, the layout reverts back to a more narrow layout. Ideally we should either choose a more narrow max-width for the breakpoint or make the max-with after the largest breakpoint smaller.
Bildschirmfoto 2019-11-12 um 10 23 17

#2399 timeline cuts off too early

The timeline inside the embedded iframe cuts off relatively far from the iframe boundaries. This might be an issue with the normal layout at around 600px screen width too.

Bildschirmfoto 2019-11-04 um 18 56 39

Class names - technical

Since update to bootstrap has mostly been done by extending existing class names with bootstrap class names, there should be a clean up of just straight replacing them

use case change

It would logically make more sense to change the following categories:

Change "Vereine und Genossenschaften" to "Vereine und NGOs"
Put "Unternehmen/Genossenschaften" together to one category

Vereine=Associations
Unternehmen=Companies
Genossenschaften=cooperatives

Bildschirmfoto 2019-10-24 um 11 50 59

Bildschirmfoto 2019-10-24 um 11 51 22

#2400: little adjustments to quote block

The quote block needs some small adjustments:

  • there should be more padding (3rem instead of 1 rem) on the top and bottom of the box so that the content can breathe a little more
  • the automatic quotation marks around the text and the hyphen before the source/author should be removed so that it can be used more flexibly
  • the button hover effect on the blue version makes the button dark and should be changed similar to the button on the blue box on the landing page

https://hidden.adhocracy.plus/info/support/

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.