Giter Site home page Giter Site logo

yunohost-apps / framaforms_ynh Goto Github PK

View Code? Open in Web Editor NEW
9.0 7.0 6.0 481 KB

Create online webforms and surveys with Framaforms on YunoHost

Home Page: https://framaforms.org/

License: GNU Affero General Public License v3.0

Shell 35.42% PHP 64.58%
yunohost-apps yunohost framaforms

framaforms_ynh's Introduction

Framaforms for YunoHost

Integration level Working status Maintenance status

Install Framaforms with YunoHost

Read this README in other languages.

This package allows you to install Framaforms quickly and simply on a YunoHost server.
If you don't have YunoHost, please consult the guide to learn how to install it.

Overview

Framaforms is an online forms and surveys service. Registered users are allowed to create forms, share them, collect and visualize results through a simple interface. See this article and this interview (in French) for further informations.

Shipped version: 1.0.3~ynh4

Documentation and resources

Developer info

Please send your pull request to the testing branch.

To try the testing branch, please proceed like that:

sudo yunohost app install https://github.com/YunoHost-Apps/framaforms_ynh/tree/testing --debug
or
sudo yunohost app upgrade framaforms -u https://github.com/YunoHost-Apps/framaforms_ynh/tree/testing --debug

More info regarding app packaging: https://yunohost.org/packaging_apps

framaforms_ynh's People

Contributors

ericgaspar avatar zamentur avatar yalh76 avatar salamandar avatar alexaubin avatar yunohost-bot avatar jibec avatar tagadda avatar lapineige avatar

Stargazers

 avatar Serhii Shyran avatar GravityMan avatar darcy qc morgan avatar  avatar Tommi avatar  avatar Herminien avatar  avatar

Watchers

Neustradamus avatar  avatar James Cloos avatar  avatar frju365 avatar  avatar  avatar

framaforms_ynh's Issues

"/" is missing at the beggining of links in the navigation bar

This makes navigating the interface very difficult.

Example: if I click three times on my username, I get to the page https://my.domain/installation_path/user/user/user/77553
I installed the app at the root of a subdomain if it makes any difference (I then moved it elsewhere, but it didn't fix the issue).

Redirection to welcome page get error for users

Framaforms: 1.0.1
YunoHost: 4.0.8.2

When a user log in, he get this error :
Sorry, URLs like https://formulaires.mydomain.fr/bienvenue-sur-framaforms?destination=node/1 are not allowed around here ...

Captcha framaforms

La création d'un compte utilisateur dans l'interface de Framaforms demande de compléter un captcha :

CAPTCHA
Vérifions que vous n'êtes pas un robot spammeur :)
Nom de ce site web (sans "www" ni ".org" Ex: "framapouet") - Name of this website (without "www" nor ".org", e.g. "framapouet")? *

En fait il ne s'agit pas de l'adresse du site (si on est sur un domaine, ex : mondomain.tld/framaforms), mais jute du mot "framaforms", ce qui peut prêter à confusion.

Impossible to connect & create a form, just after the installation

Describe the bug
I installed Framaforms, but each time I try to connect, I'm sent back to my YunoHost user interface (XXX.ynh.fr/yunohost/sso/)

Versions

  • Hardware: Recycled laptop,

    • Lenovo Thinkpad x240
    • CPU : Intel i7-4600U @ 2.1GHz
  • YunoHost version: 4.0.8.2 (stable)

  • I have access to my server : through SSH & through the webadmin & direct access via keyboard / screen

  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? No

To Reproduce
Install Framaforms

  • FR / No expiration date / No suppression / visitors cannot join nor create a form

Go to XXX.ynh.fr/poll/ while being loged in YunoHost SSO

Click on "m'identifier" or "se connecter"

Be rederected on the same page or the XXX.ynh.fr/yunohost/sso/

Expected behavior
I expect to access the "create a form" page

Impossible to create a formulaire on yunohost

Hello. I install framaforms on yunohost. I create my account no problem but after I can't create a new formuailre "page introuvable". I can do nothing, deconection, nouveau formulaire, ... I already use framaforms on framasoft.

Est-ce que ce paquet est toujours maintenu ?

Bonjour à vous !

Je remercie déjà tous ceux qui participent aux packages Yunhost et je me rends bien compte que c'est une bonne quantité de travail !

Au vu de certaines issues, de la date de dernier commit, de l'état du dernier pull request et de ma tentative infructueuse d'installation sur une instance à jour je me pose la simple question :
Est-ce que le package de l'app Framaforms (Yakform) pour Yunohost est-il toujours maintenu ?

Si jamais certains veulent regarder, voici les logs de l'installation échouée https://paste.yunohost.org/raw/sidisabeyu

Avec cette ligne qui me fait penser que l'app n'est pas prête pour debian 11
libzip-dev : Depends: libzip4 (= 1.7.3-1) but 1.7.3-1+0~20210114.10+debian10~1.gbp4c125d is to be installed

Rapides infos :

  • VPS
  • Debian 11
  • Tous les paquets sont à jour
  • Yunohost 11.0.10.2

Error DRUPAL PDOException

Yunohost version : 3.8.4.4 (stable).

My instance is down, I have this message on the startpage :

PDOException: could not find driver in lock_may_be_available() (line 167 of /var/www/framaforms/includes/lock.inc).

Impossible to create a poll

When I create a new user with the admin interface of framaforms, the user can't create a new empty poll or a new poll from a template :

Page not found / Page introuvable
La page que vous demandez n'a pas été trouvée. Désolé !

Si vous veniez pour remplir un formulaire, et que vous arrivez sur cette page, il est possible que la personne qui vous ait envoyé le lien vous ait communiqué une mauvaise adresse par erreur. N'hésitez pas à prendre contact avec elle.

I think that the user don't have the good role. There are just 3 roles :

  • auth user
  • administrator
  • translator

If I put my user in administrator role, he can't yet create a poll.

FIles/Folders with 0777 filem permission

/var/www/framaforms/.composer/vendor/drush/drush/drush.php
/var/www/framaforms/.composer/vendor/drush/drush/drush
/var/www/framaforms/.composer/vendor/drush/drush/drush.complete.sh
/var/www/framaforms/.composer/vendor/drush/drush/drush.launcher
/var/www/framaforms/.composer/vendor/nikic/php-parser/bin/php-parse
/var/www/framaforms/.composer/vendor/bin/drush.php
/var/www/framaforms/.composer/vendor/bin/drush
/var/www/framaforms/.composer/vendor/bin/php-parse
/var/www/framaforms/.composer/vendor/bin/drush.complete.sh
/var/www/framaforms/.composer/vendor/bin/drush.launcher
/var/www/framaforms/.composer/vendor/bin/psysh
/var/www/framaforms/.composer/vendor/bin/var-dump-server
/var/www/framaforms/.composer/vendor/symfony/var-dumper/Resources/bin/var-dump-server
/var/www/framaforms/.composer/vendor/psy/psysh/bin/psysh

Should these be changed?

[buster] Adapt the PHP 7.x custom install / requirement

Following the discussion started here, this app needs to be adapted both to :

  • be installable on a fresh Buster system
  • make the transition smooth for people upgrading from Stretch to Buster

Currently the app relies on a custom install of PHP 7.1 / 7.2 / 7.3 which should be adapted. Imho (to be discussed and see with other app packagers after we gain more XP with this) :

  • the scripts should be adapted to use PHP 7.3 instead of 7.2
  • the upgrade script should take care of the move from 7.2 to 7.3 (which for users could and should therefore happen prior to the upgrade to buster)
  • we should have an if/else to install PHP 7.3 only if we're on stretch (and not on buster) like drafted here for mastodon but also need to be propagated on restore script (and maybe upgrade script)

Overall this treatment should be pretty much the same for all apps in that situation, so once we solve this for one app it should be easily applicable to other similar apps.

Upgrade fail - Framaforms from 1.0.3~ynh1 to 1.0.3~ynh2

Unable to upgrade
Framaforms from 1.0.3 ynh1 to 1.0.3 ynh2

  • Hardware: *VPS OVH / 4Go RAM / 40 Go hard drive
  • YunoHost version: 4.2.6.1
  • I have access to my server: *Through SSH | through the webadmin |
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: *no *
  • If upgrading, current package version: 1.0.3~ynh1

Expected behavior

Upgrade failed
App was removed (and not restored automaticaly)

Logs

https://paste.yunohost.org/raw/poyukerowe

Consider adding the app to the community list

Hello !

This is a friendly notice from the Yunohost Apps team : our tool noticed that your app is pretty interesting but is not listed in the community list !

Please consider making a pull request to add it, such that people can easily learn about its existence from this page. If you declare your app as working, you might also benefit from automatic tests on the app C.I..

It is relevant to add your app to the list even if it's not working or unmaintained since it might still help people who might want to continue packaging the app. Just be sure to correctly flag it as notworking/unmaintained.

Checkout the README to learn how to add your app to the list (should take only a few minutes).

Datalove <3,

The YunoHost team

Captcha requires writing "framaforms" for registration

Nom de ce site web (sans "www" ni ".org" Ex: "framapouet") - Name of this website (without "www" nor ".org", e.g. "framapouet")? *

The answer seems to be hardcoded. I would like to see it become a setting at least, as this really isn't obvious when you host it elsewhere.

404 error in the script.

2019-11-24 16:33:45,598: DEBUG - Ign:25 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu eoan/main Translation-en
2019-11-24 16:33:45,899: DEBUG - Err:26 http://ppa.launchpad.net/jonathonf/python-3.7/ubuntu eoan/main amd64 Packages
2019-11-24 16:33:45,899: DEBUG -   404  Not Found [IP: 2001:67c:1560:8008::15 80]
2019-11-24 16:33:46,099: DEBUG - Ign:27 http://ppa.launchpad.net/jonathonf/python-3.7/ubuntu eoan/main all Packages
2019-11-24 16:33:46,300: DEBUG - Ign:28 http://ppa.launchpad.net/jonathonf/python-3.7/ubuntu eoan/main i386 Packages
2019-11-24 16:33:46,601: DEBUG - Ign:29 http://ppa.launchpad.net/jonathonf/python-3.7/ubuntu eoan/main Translation-en
2019-11-24 16:33:46,801: DEBUG - Ign:30 http://ppa.launchpad.net/jonathonf/python-3.7/ubuntu eoan/main Translation-en_US
2019-11-24 16:33:52,610: DEBUG - Reading package lists...
2019-11-24 16:33:52,610: WARNING - W: The repository 'http://ppa.launchpad.net/deadsnakes/ppa/ubuntu eoan Release' does not have a Release file.
2019-11-24 16:33:52,610: DEBUG - + ynh_exit_properly
2019-11-24 16:33:52,610: WARNING - W: The repository 'http://ppa.launchpad.net/jonathonf/python-3.7/ubuntu eoan Release' does not have a Release file.
2019-11-24 16:33:52,610: DEBUG - + local exit_code=100
2019-11-24 16:33:52,611: WARNING - E: Failed to fetch http://ppa.launchpad.net/deadsnakes/ppa/ubuntu/dists/eoan/main/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8008::15 80]
2019-11-24 16:33:52,611: DEBUG - + '[' 100 -eq 0 ']'
2019-11-24 16:33:52,611: WARNING - E: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.7/ubuntu/dists/eoan/main/binary-amd64/Packages  404  Not Found [IP: 2001:67c:1560:8008::15 80]
2019-11-24 16:33:52,611: DEBUG - + trap '' EXIT
2019-11-24 16:33:52,611: WARNING - E: Some index files failed to download. They have been ignored, or old ones used instead.

Guests cannot access forms

I was expecting guests to be able to answer a form without logging in:

If no, only person with an account on your server will be able to create forms. In all cases, visitors will be able to reply to form

However, users are greeted with a yunohost sso page when I share the form link with them.

manifest/doc : clarify domain limitation

Hello,
according to the forum several people (including me) can get this app work only if installed at the root of the domain; could you mention it in the limitations and/or take it into account in the manifest ?
Thanks

Can't access to admin interface

Framaforms: 1.0.1
YunoHost: 4.0.8.2

I can't access to admin interface on my subdomain formulaires.mydomain.fr/admin

It's show me
Accès refusé

La page que vous demandez n'est pas accessible parce que vous ne semblez pas avoir les droits suffisants pour y accéder.
Commencez d'abord par vous identifier, ou vous créer un compte, puis rééssayez.
You can't reach this page because you don't seem to have appropriate rights to access it.
Please register or login first, then try again

So i can't activate new accounts

admin page tells drupal needs an update

hello,

# yunohost -v
yunohost: 
  repo: stable
  version: 4.3.6.3
yunohost-admin: 
  repo: testing
  version: 4.3.4.1
moulinette: 
  repo: stable
  version: 4.3.3.1
ssowat: 
  repo: stable
  version: 4.3.3.1

when on the admin page, a warning message pop up on the top telling drupal need a security upgrade

Une mise à jour de sécurité est disponible pour votre version de Drupal. Afin de garantir la sécurité de votre serveur, effectuez immédiatement la mise à jour ! Consultez la page des [mises à jour disponibles](https://mcpletsch.org/poll/admin/reports/updates/update) pour plus d'informations et pour installer les mises à jour manquantes.
    Des mises à jour de sécurité sont disponibles pour un ou plusieurs de vos modules ou thèmes. Afin de garantir la sécurité de votre serveur, effectuez immédiatement la mise à jour ! Consultez la page des [mises à jour disponibles](https://mcpletsch.org/poll/admin/reports/updates/update) pour plus d'informations et pour installer les mises à jour manquantes.

Installation fail

Describe the bug
Can't install.

Versions

  • Hardware: Desktop PC
  • YunoHost version: 4.1.6
  • I have access to my server: full
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: master

To Reproduce
Steps to reproduce the behavior.
sudo yunohost app install framaforms

Expected behavior
Installation succeed

Logs
https://paste.yunohost.org/raw/bavebaloso

captcha for creating a user from ".noho.st" address site is not working

Hi,
I'm trying to use framaform on my server. My server is registered on a xxxx.noho.st domain.
The captcha
Nom de ce site web (sans "www" ni ".org" Ex: "framapouet") - Name of this website (without "www" nor ".org", e.g. "framapouet")? *
don't recognize this domain, and an error happens each time I try to register.
How can I fix it?
Thank you

Install fails because "Call to undefined function json_encode()" ...

Naively trying to install this app in a 3.8 LXC to test upgrade to buster ... But install fails and I don't understand why

Fatal error: Uncaught Error: Call to undefined function json_encode() in /var/www/framaforms/.composer/vendor/drush/drush/includes/output.inc:740

Even though php-json is installed right before ...

Earlier there was a warning regarding curl, which is solved by installing php7.3-curl, but still the error about json makes the install crash.

Full log: https://paste.yunohost.org/raw/ecuvajiton

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.