Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vitormattos/agora

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agora

This app has been built on top of Nextcloud Polls 8.1.4.
A big thanks to the original Polls contributors for creating this wonderful application.

Agora is a Nextcloud app for participatory democracy, inquiries, and proposals, similar to Decidim, written in PHP and JS/Vue.

Dependabot status Software License REUSE status

Todo and next features

  • Create real debate.
  • Create Assembly, Consultation o votes them with polls application.
  • Management for small administration, debate on project law, etc.
  • Do a workflow to help moderator
  • Redefine to be more generic ?

Bug fix

  • CSR error in console.
  • Public share no tested

Installation / Update

This app is supposed to work on Nextcloud version 21+. If you wish to have category, location, moderation base, u can use agora:db:init-default ( see below )

Install latest release

You can download and install the latest release from the Nextcloud app store.

Available occ commands

Command Description
agora:db:clean-migrations Remove obsolete migrations, which are no more needed
agora:db:purge Drop Agora' tables and remove migration and settings records
agora:db:rebuild Rebuild Agora' database including indices
agora:db:init-default  Create default values, Moderation, Location, Category
agora:index:create Create all necessary indices and foreign key constraints
agora:index:remove Remove all indices
agora:inquiry:transfer-ownership <source-user> <target-user> Transfer inquiry ownership from to
agora:share:add [--user USER] [--group GROUP] [--email EMAIL] [--] <id> Add user/group/email with to shares
agora:share:remove [--user USER] [--group GROUP] [--email EMAIL] [--] <id> Remove user/group/email with from shares

Support

Screenshots

Edit you inquiry Many category Configure your moderation status View from not owner user Grid view of inquiries List view of inquiries
Edit Inquiry Manage Category Agora View Inquiry Grid View List View

Documentations

User Guide Api Guide
User Guide Api Guide

Install from git

If you want to run the latest development version from git source, you need to clone the repo to your apps folder:

git clone https://github.com/vinimoz/agora.git
  • Install dev environment with make setup-dev or
  • install runtime environment with make setup-build
  • Compile javascript with npm run build
  • Run a complete build with make appstore (Find the output in the build directory)
  • call occ app:enable agora to enable Agora
  • call `occ agora:db:init-default to install default value.
  • You can insert into your database some examples, who could be find, on examples directory. Five users need to be created, test, test2, test3, official, moderator

Installation variants

First time install

Nextcloud executes

  • unexecuted migration classes (not listed in the *_migrations table) and the
  • install repair step.

After a version update (changed version attribute in appinfo/info.xml)

Nextcloud executes

  • pre-migration repair steps,
  • unexecuted migration classes (not listed in the *_migrations table) and the
  • post-migration repair steps

Enabling already installed but disabled app without version change

Nextcloud executes

  • pre-migration repair steps,
  • unexecuted migration classes (not listed in the *_migrations table) and the
  • post-migration repair steps and the
  • install repair step

❗ As a compromise at the moment we allow the index creation to be ran twice when enabling the app via app store or occ, to ensure all indexes are created properly for every install/update/enabling path.

Removing Agora from instance

Call occ agora:db:purge to remove Agora completely.

  • removes all Agora related tables
  • removes all Agora related migration records
  • removes all Agora related app config records (this also disables Agora)

This does not remove Agora' files (call occ app:remove agora to remove it complete afterwards) but it resets Agora into an 'uninstalled' state. Enabling the app is then equivalent to a first time install and calls the migration and the install repair step (see above).

Contribution Guidelines

Please read the Code of Conduct. This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.

For more information please review the guidelines for contributing to this repository.

About

A decidim like application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 79.5%
  • PHP 11.1%
  • Vue 6.2%
  • TypeScript 3.1%
  • Other 0.1%