Git Product home page Git Product logo

sleede / fab-manager Goto Github PK

View Code? Open in Web Editor NEW
226.0 17.0 114.0 82.57 MB

Fab-Manager is the FabLab management solution. It provides a comprehensive, web-based, open-source tool to simplify your administrative tasks and your marker's projects.

Home Page: http://www.fab-manager.com

License: Other

Ruby 38.22% HTML 12.08% JavaScript 15.45% Shell 1.73% Dockerfile 0.05% SCSS 4.61% TypeScript 23.34% Procfile 0.01% PLpgSQL 4.51%
fablab third-place reservation-system invoicing documentation fab-managers

fab-manager's Introduction

Fab-manager

Fab-manager is the Fab Lab management solution. It provides a comprehensive, web-based, open-source tool to simplify your administrative tasks, and document your marker's projects.

Coverage Status Docker pulls Docker Build Status Crowdin

Please visit fab-manager.com for more information about this software and its features.

Contributing

Contributions are welcome. Please read the contribution guidelines for more information about the contribution process.

Documentation

The full documentation is available at doc.fab.mn.

Copyright

This free software is available under the terms of the GNU Affero General Public License. Fab-manager is developed by sleede and the open-open contributors of the community.

fab-manager's People

Contributors

alexcvcoelho avatar alexgiroud avatar awflwafl avatar bmohamet avatar clemclemmm avatar david-guenault avatar dependabot[bot] avatar enomarin avatar erilys avatar gnepud avatar guichaguri avatar jarod022 avatar jeremyvignelles avatar jmrodriguesgoncalves avatar jshprentz avatar juanptm avatar kennethlimcp avatar matbgn avatar nflorentin avatar pavelsr avatar phd0 avatar rojo avatar siteswapjuggler avatar sleede-dev avatar sylvainbx avatar trombik avatar vincent14 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fab-manager's Issues

Export des réservations, variable non valide

A partir de l'onglet "gérer les utilisateur" et en faisant un export "réservations" le contenu de la colonne "Nombre de créneaux (heures/places)", n'est pas le bon. Dans notre cas, toutes les valeurs sont à 1 alors que certaines réservations sur des évènements sont à 2 ou 3 lorsque que l'on consulte les réservations à partir de l'onglet "gérer les évènements".

Mac OSX: "Elasticsearch::Transport::Transport::Errors::ServiceUnavailable"

This new problem appear only on my Mac, not on Ubuntu. Not sure it's a bug, but I followed the documentation so I guess it could be one.

With ElasticSearch server started, I can reach http://localhost:9200/ and here is the result:

{
"status" : 200,
"name" : "Citizen V",
"cluster_name" : "elasticsearch_MacUser",
"version" : {
"number" : "1.7.5",
"build_hash" : "00f95f4ffca6de89d68b7ccaf80d148f1f70e4d4",
"build_timestamp" : "2016-02-02T09:55:30Z",
"build_snapshot" : false,
"lucene_version" : "4.10.4"
},
"tagline" : "You Know, for Search"
}

Okai. Let's try StatisticService.new.generate_statistic({start_date: 0.day.ago.beginning_of_day,end_date: 0.day.ago.end_of_day}) in a Rails console:

2016-09-05 15:41:07 +0200: GET http://localhost:9200/stats/account/_search [status:503, request:0.017s, query:N/A]
2016-09-05 15:41:07 +0200: > {"query":{"match":{"date":"2016-09-04"}}}
2016-09-05 15:41:07 +0200: < <HTML><TITLE>503 Service Unavailable</TITLE>
<H1>503 Service Unavailable</H1>
Failed to connect to server <B>localhost</B></HTML>

2016-09-05 15:41:07 +0200: [503] <HTML><TITLE>503 Service Unavailable</TITLE>
<H1>503 Service Unavailable</H1>
Failed to connect to server <B>localhost</B></HTML>

/Users/MacUser/.rvm/gems/ruby-2.3.0@fab-manager/gems/elasticsearch-transport-1.0.12/lib/elasticsearch/transport/transport/base.rb:135:in `__raise_transport (Elasticsearch::Transport::Transport::Errors::ServiceUnavailable)
<H1>503 Service Unavailable</H1>
Failed to connect to server <B>localhost</B></HTML>
[...]

However, rake fablab:es_build_stats results in a succeed:

DELETE stats
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21 100 21 0 0 206 0 --:--:-- --:--:-- --:--:-- 207

AngularJS error Module 'angular-google-analytics' is not available!

Hi,
I just installed fab-manager, and when I go to the index page, I get this error.

Error: [$injector:modulerr] Failed to instantiate module application due to:
[$injector:modulerr] Failed to instantiate module angular-google-analytics due to:
[$injector:nomod] Module 'angular-google-analytics' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.3.20/$injector/nomod?p0=angular-google-analytics
minErr/<@http://localhost:9292/assets/angular/angular.js?body=1:64:12
module/<@http://localhost:9292/assets/angular/angular.js?body=1:1779:1
ensure@http://localhost:9292/assets/angular/angular.js?body=1:1703:38
module@http://localhost:9292/assets/angular/angular.js?body=1:1777:1
loadModules/<@http://localhost:9292/assets/angular/angular.js?body=1:4132:22
forEach@http://localhost:9292/assets/angular/angular.js?body=1:327:11
loadModules@http://localhost:9292/assets/angular/angular.js?body=1:4116:5
loadModules/<@http://localhost:9292/asset

Does someone know how to correct it ?

Projects not appearing on the Gallery page

I followed the documentation and just created two "test" projects:
1

Then, when I open the galery, nothing appear, even after a long time:
2

By the way, there isn't any button to select if I want to display projects from my fablab or from the whole community:
3

pas de user dans la base de données

Bonjour,

l'admin de notre asso à essayer d'installer le logiciel sur un serveur dédié à cet usage.
il a bien galéré (pourtant c'est son taff), au final, il me dit que c'est inutilisable car il n'y a pas d'utilisateur par defaut dans la base de données, qui permettrais de se connecter en admin.
genre :
login : admin
pass : admin

est ce que l'on peux mettre un peu de contenu dans la base par defaut pour que ca soit utilisable des l'installation finie ?
merci.

Incohérence des critères d'exports

Dans l'onglet statistiques, les dates de référence qui bordent les résultats d'exports sont celles des inscriptions et non celles des évènements, formations, heures machines, ...

Ceci est incohérent par rapport aux résultats attendus. La date d'inscription est une donnée importante mais pas en critère de tri. Je suggère vivement de relier la question des dates à la donnée "date évènement, date formation, etc".

Devise.secret_key was not set

Bonjours
j'ai suivie les instrustions dans https://github.com/LaCasemate/fab-manager/blob/master/docker/README.md
mais quand je execute la command dans 'DB MIGRATE', je recois l'erreur suivant:
[WARN] table 'Role' doesn't exist. Did you run the migration ? Ignoring rolify config.
rake aborted!
Devise.secret_key was not set. Please add the following to your Devise initializer:

config.secret_key = 'xxxxxxxxxx'

j'utilise d'une virtual machine Ubuntu 16.04 sur azure
merci

image size in the documentation tool

hello,

when i upload a big picture in a project, (in edit mode)
it upload a "medium" image in the preview of the page, (in view mode)
(and it generate a generic file name not usable for remembering which one has been upload, ...)
but when you clic on it (in view mode), in the project page,
it only show this same medium image, in a new tab,
https://fablab.lacasemate.fr/uploads/project_step_image/1010/medium_project_step_image.jpg
not the big one i upload,
so it's not usable as a documentation picture
(for exemple a schematics, or something else you need to see in big size)

setup script

Hello,
modern tools (in PHP) that want to be massive set up by user use a script for the setup process.
like owncloud / Wordpress / others.
first, the script will check the dependencies requiered, if not, ask to download and set up them, then will ask config option.
in this script, there would be the possibility to set the admin login and password (not using the default in the database), and other config option like set up the name of the lab, and other stuff.
at the end of the setup process, it will ask if you want to have a stripe account / access key (delivered by sleeve/lacasemate), and an open lab project, and by giving your email adress in the config part, will send a mail to both sleeve to generate the key, and the user to confirm that it's work in progress
and in the script, it wll be possible to run "update" that check the github if there is an update, download it, and upload it on the server.

because we have all the setup procedure, and line of code, it whould be possible, now, no ?
is it possible in ROR to do that ?

ergonomic : edit button and remove

1/ edit button
when i document a project,
i save the project each 5 minutes
(because we don't know if the system save it each seconds, or not),
and i must go back on the top of the page to clic on the edit button, to add new steps

for the ergonomic use, it would be better if the "edit" button is at the top AND at the end of the last step (so at the bottom of the page too)

2/ delete button
when we are logged in,
the delete button is just next to the edit button,
and it's very dangerous
(more other because there is yet no confirmation message to delete a project).
it would be less dangerous, and more logical to allow user to delete their own project only in edit mode, not just in "logged in" mode.

Logout

Connecté en version mobile sur mon smartphone,
Il n'y a pas de bouton pour se deconnecter, et donc changer d'utilisateur,
Idem version non mobile ?

Powered by witch version

hello,
when you go on a fabmanager website,
it's not possible to know witch version is setup on the server we are going to use. (the last or not)
for exemple, on the one at la casemate, at the bottom right hand corner, it's just written "Powered by Fab Manager"
it would be great to add the version number here : "Powered by Fab Manager 2.3.0"
thanks

Etat du projet ?

Bonjour, quel est l'état d'activité du projet à l'heure actuelle ? En veille, abandonné, actif ? Cela fait 5 mois qu'il n'y a pas eu de commit sur le dépôt. On peut donc légitimement se poser la question. On aurait bien envie de contribuer, mais si le projet est mort ....

boot fab-manager in a openstack instance

Thanks a lot for your nice job :)
I wish to contribute but i don't have skill over angular.js . However, i think i could do a simple docker-compose file and some post-install script to boot one coreOs instance in a openstack cloud like ovh.
How do you think about?

ouverture port serveur dédie

Bonjour,
Comment faire pour ouvrir un port sur mon serveur dédie car lorsque je tape http://localhost:3000 (localhost : adresse IP du serveur) dans un navigateur internet pour finir d'installer mon application FabManager (https://www.fab-manager.com) avec les caractéristiques suivantes (https://github.com/LaCasemate/fab-manager#software-stack) il me dit ouverture de la page impossible
Pouvez-vous m'aider à trouver la solution d'ouverture des port sur mon serveur dedié ?
Cordialement,

add more than only one picture per step

in the documentation tool,
we can add only one picture per step.
but depending on how we document,
and how much information we give,
we need to add more than one.
thanks.

Devise.secret_key was not set

Hi
I made a stable CoreOs virtual machine on azure
and went on to execute commands in
https://github.com/LaCasemate/fab-manager/tree/master/docker
i am using docker (no composer)
when i get to the DB MIGRATE step
and i run the command
docker run --rm \ --link=fabmanager-postgres:postgres \ --link=fabmanager-redis:redis \ --link=fabmanager-elastic:elasticsearch \ -e RAILS_ENV=production \ --env-file /home/core/fabmanager/config/env \ sleede/fab-manager \ bundle exec rake db:migrate

i get this error

[WARN] table 'Role' doesn't exist. Did you run the migration ? Ignoring rolify config.
rake aborted!
Devise.secret_key was not set. Please add the following to your Devise initializer:

config.secret_key = 'e0d147938ae81b79d220f530ea084385bbe14d1801b116e428053c1302000f6bcfa2dcab68cd5cce5a4dcbf56e90830f07f79729aa9fedba1f53f286ce2b6bbc'

Please ensure you restarted your application after installing Devise or setting the key.

any help??
thanks

db:migrate failure on "insert_custom_aggregations"

Hi,

I am trying to install Fab Manager on a local computer.
It all works fine until the "db:migrate" command ; it fails there. I have retried several times and it fails at the same place and with the same error message on each tentative.

Here is the command :

bundle exec rake db:migrate

Here is the error message :

== 20160906145713 InsertCustomAggregations: migrating =========================
  StatisticIndex Load (0.4ms)  SELECT  "statistic_indices".* FROM "statistic_indices" WHERE "statistic_indices"."es_type_key" = $1 LIMIT 1  [["es_type_key", "machine"]]
   (0.4ms)  ROLLBACK
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:

undefined method `id' for nil:NilClass
/usr/src/app/db/migrate/20160906145713_insert_custom_aggregations.rb:5:in `up'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:611:in `exec_migration'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:591:in `block in migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:590:in `migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:768:in `migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:1044:in `block in ddl_transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/transactions.rb:220:in `transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:1044:in `ddl_transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:959:in `block in migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `each'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:823:in `up'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:801:in `migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
NoMethodError: undefined method `id' for nil:NilClass
/usr/src/app/db/migrate/20160906145713_insert_custom_aggregations.rb:5:in `up'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:611:in `exec_migration'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:592:in `block (2 levels) in migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:591:in `block in migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:292:in `with_connection'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:590:in `migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:768:in `migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:998:in `block in execute_migration_in_transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:1044:in `block in ddl_transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/transactions.rb:220:in `transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:1044:in `ddl_transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:997:in `execute_migration_in_transaction'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:959:in `block in migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `each'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:955:in `migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:823:in `up'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/migration.rb:801:in `migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/tasks/database_tasks.rb:137:in `migrate'
/usr/local/bundle/gems/activerecord-4.2.5/lib/active_record/railties/databases.rake:44:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rake-11.3.0/exe/rake:27:in `<top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

Can you please help me fixing this so that I can finalize my installation ?
Thank you :-)

Calendar ICS CalDAV

Hello,

most of fablab use open protocol calendars, mostly the .ICS and CalDAV
(self host (owncloud), or google calendar, or whatever)
to manage a lot of things
(daily open times, machines availability, benevoles avaibility, training session, events, and so on),
sometimes on differents calendars, to don't make a big mess,
and the ability to write and see these calendar on multiple support
(own website with plugins, other website, smartphone, heavy mail client, cross posting calendar, different page for different calendars, ... )
(for example, wordpress plugin which doesn't support this protocol, for us, are banned for integration in our website/workflow),
an it's not an annecdotic use of a calendar, it's the main tool of the management of the lab, and of our daily life (with other calendars for work...).
for us, it's a major function, a big need for fab-manager.
i understand that's it's easy to code with "php calendars" from reading a database,
but it's not a efficient solution for time managing, if it's not crossplatform, or if you need to connect to the fab-manager website to see this calendar, and on the other hands, to deal with all your real calendars.

how it's possible to implement it ?
thanks.

promo du projet open source

bonjour,

sur le site, une fois installé, il n'y a aucune mention de promo du projet, genre un lien a quelque part, ou dire que cest un projet libre, avec la source, la licence de distribution, ou quoi que ce soit.

english version

We are studing you project as we need a managing system for our fablab.
We have your project up on our subdomain but we weren't able to make the english vesion work.
http://fabmanager.xinfab.com/ (in french now)

Is it only on config\application.rb that we need to change?
from: config.i18n.default_locale = :fr
to: config.i18n.default_locale = :en
what are we missing?

Thanks a lot

Modification d'un Stages et ateliers

lors de la modification d'un stage ou atelier par un admin, la vue oublie quel "Type d'évènement" c'est. On est obligé de le re sélectionner pour pouvoir enregistrer.

Add RSS feed to allow visitors to follow the project gallery

Hello, I'm a Ruby on Rails developer and user at Caen, in the Relais d'Science fablab.

I would like to be alerted for each new post in the project gallery. Last week I've wrote a tutorial to add RSS feed in a RoR action (REALLY easy) in only three steps: http://www.sois-net.fr/les-3-etapes-pour-creer-un-flux-rss-en-rails/

I've no idea how to contribute, and I'm not familiar with your frontend framework. However, if someone can guide me I'm ready to implement my request. If you've read my tutorial above and think it's doable quickly, I'll be very pleased :)

This feature could also allow us to publish on social networks, until connexions would be available.

site web

ne serait il pas interessant de mettre en démo
1/ la version "libre" (celle actuellement dispo), pour ce rendre compte des fonctionalités de base et dire que cest la version libre, de base.
2/ mettre en démo la version "complete" (car cest celle la qui interesse plus les fabmanageur) pour pouvoir se faire une idée des differences entre les versions, et "vendre" plus facilement cette version. (inciter plus facilement les gens a basculer sur cette version)

[2.4.0+] Excel repair warning

Opening this as an information notice for users who encounter the following problem:

When opening an Excel export with Excel 2016 (Windows) or Excel Mac 2011 (OSX), a warning dialog appears, asking to repair the file before opening.

This does not affect the export content: data integrity is guaranteed but this can be boring if you export frequently.

This issue is very probably due to a bug in a third party library (axlsx) and was already reported there
(see randym/axlsx#489).

No fixes are expected until axlsx fixes the issue.

As a workaround, you can use LibreOffice Calc (here in french) to open your exports files without any warning.

vue Calendrier - navigation mois/mois

Sur la vue Calendrier, et en affichage mois la navigation :

  • le bouton < fait reculer de 6 mois au lieu de un
  • le bouton > ne fait rien (régénération du calendrier au même mois)

Docker README missing a step

Hi,

While first setting up nginx configuration file, it is needed to comment out the ssl part.
(https://github.com/LaCasemate/fab-manager/tree/master/docker#setup-folders-and-env-file)

You mention it on the last step :

If the certificate was successfully generated then update the nginx configuration file and activate the ssl port and certificate
(https://github.com/LaCasemate/fab-manager/tree/master/docker#generate-ssl-certificate-by-letsencrypt-app-must-be-run-before-start-letsencrypt)

To ease the process it could be nice that the example filenginx_with_ssl.conf.example has the SSL parts commented so the newcomers don't feel lost as nginx crashes.

I could try to do a PR with an updated conf file and README if needed, as I'm part of the newcomers I don't feel that confident to do so.

Thanks anyway for the docker installation procedure, it works great and feel really easy I learned a great deal about docker and let's encrypt while setting it up.

Cheers,
Plou

Mac OSX: "sudo: unknown user: postgres"

In this documentation section, I had to do:

$ brew install postgres
$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
$ sudo -i -u postgres

And got this:

sudo: unknown user: postgres

I found the solution here:

sudo psql -U my_macosx_username postgres

Bootstrap import issue

I get this:
ActionView::Template::Error (Undefined variable: "$dl-horizontal-breakpoint". 15:52:10 web.1 | (in /Users/JMM/Documents/web/fabmanager/fab-manager/app/assets/stylesheets/application.scss:210)): 15:52:10 web.1 | 50: Fablab.d3DateFormat = "<%= Rails.application.secrets.d3_date_format %>"; 15:52:10 web.1 | 51: </script> 15:52:10 web.1 | 52: 15:52:10 web.1 | 53: <%= stylesheet_link_tag 'application', media: 'all' %> 15:52:10 web.1 | 54: <%= stylesheet_link_tag 'app.printer', media: 'print' %> 15:52:10 web.1 | 55: <% if !Stylesheet.first.nil? %> 15:52:10 web.1 | 56: <link rel="stylesheet" media="all" href="<%= stylesheet_path(Stylesheet.first.id) %>-<%=Stylesheet.first.updated_at.to_i.to_s%>.css" /> 15:52:10 web.1 | app/assets/stylesheets/bootstrap_and_overrides.scss:941 15:52:10 web.1 | app/assets/stylesheets/application.scss:23 15:52:10 web.1 | app/views/application/index.html.erb:53:in_app_views_application_index_html_erb___1104466589295152000_70211720105620'`

When I do a setup of the system without altering any files.

A working solution is to add
@import "bootstrap";
to the top of /app/assets/stylesheets/application.scss

But I don't think that should be necessary.

Guessing it's either not loading the correct bootstrap assets, or it's loading them too late..

login et mot de passe admin par defaut

Bonjour,

il y a une erreur dans le fichier de creation de la base (le seeds comme vous l'appellez),
le login de base est une faute de frappe :
[email protected] au lieu de fab-manager.com

afin de faciliter la prise en main,
le login : admin
et
le mot de passe : adminadmin
serait plus approprié pour un usage standard, ne neccessitant pas un acces au mail "[email protected]" et ainsi eviter de recevoir des demandes d'oubli de mot de passe de la version de démo.

supprimer une etape

Bonjour,
je suis en train de documenter un projet, avec un lonnnng texte, et je clic par erreur sur "supprimer cette étape" : il n'y a aucun message de confirmation,
et aucune possibilité de revenir en arrière sur cette fausse manipulation.

je confirme que c'est un problème très handicapant ...

dev (docker) install

installation from scratck avec docker sur machine Debian 8 "bac a sable" dans le but de jouer au béta testeur. (version avec nginx en conteneur séparé)
installation OK mais page principale presque vide :
bug01

sur la log app-stdout :

ActionController::RoutingError (No route matches [GET] "/stylesheets/app.printer.css")
ActionController::RoutingError (No route matches [GET] "/javascripts/application.js")
ActionController::RoutingError (No route matches [GET] "/angular-i18n/angular-locale_fr-fr.js")
ActionController::RoutingError (No route matches [GET] "/fullcalendar/dist/lang/fr.js")

et ainsi de suite ... j'ai pourtant bien exécuté la commande rake assets:precompile
si je restart le conteneur : pareil.
si je tue le conteneur et le recréé : pareil.

contenu de mon docker ps

CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS                                      NAMES
1ec2ce2b2f5b        sleede/fab-manager:dev   "/usr/bin/supervisord"   21 minutes ago      Up 21 minutes       3000/tcp                                   fabmanager
5e8898f65d57        nginx:1.9                "nginx -g 'daemon off"   2 hours ago         Up 2 hours          0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp   nginx
69e5dd1b62c0        elasticsearch:1.7        "/docker-entrypoint.s"   2 hours ago         Up 2 hours          9200/tcp, 9300/tcp                         fabmanager-elastic
fbf9bde538e0        redis:3.0                "docker-entrypoint.sh"   2 hours ago         Up 2 hours          6379/tcp                                   fabmanager-redis
c559e47d3323        postgres:9.4             "/docker-entrypoint.s"   2 hours ago         Up 2 hours          5432/tcp                                   fabmanager-postgres

[docker install] [WARN] table 'Role' doesn't exist. Did you run the migration ? Ignoring rolify config.

Lors de la mise en place d'une installation "façon docker"
sur une base Debian 8 neuve, avec Docker version 1.11.2
la création des 3 image de base est correcte

CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                NAMES
1e9e0745b495        elasticsearch:1.7   "/docker-entrypoint.s"   58 minutes ago      Up 29 minutes       9200/tcp, 9300/tcp   fabmanager-elastic
fe182718b8ab        postgres:9.4        "/docker-entrypoint.s"   58 minutes ago      Up 29 minutes       5432/tcp             fabmanager-postgres
92a8a09aeead        redis:3.0           "docker-entrypoint.sh"   58 minutes ago      Up 29 minutes       6379/tcp             fabmanager-redis

la création de la table se passe bien avec un rake db:create. le drop aussi avec un rake db:drop. le pb est sur le migrate avec un message [WARN] table 'Role' doesn't exist. Did you run the migration ? Ignoring rolify config.

est t'il possible de mettre a jour les sources des conteneur Docker pour permettre une installation sans soucis ?
Cordialement

The upload limit for pictures is not suitable for common use

I don't know any modern photo camera able to take pictures less than 2MB, why is there this limitation? I can't imagine writing tutorial by resizing each picture before posting in a software able to do so much difficult other things! And the WYSIWYG toolbar offer a 4KB upload (kind of favicon?! For what?!).

Please, free the power of the server by creating thumbnails!

Mac OSX & Ubuntu 16.04: ERROR: permission denied to create extension "unaccent"

In this documentation section, at step 8:

$ rake db:setup
fablab_development already exists
-- enable_extension("plpgsql")
-> 0.0568s
-- enable_extension("unaccent")
rake aborted!
ActiveRecord::StatementInvalid: PG::InsufficientPrivilege: ERROR: permission denied to create extension "unaccent"
HINT: Must be superuser to create this extension.
: CREATE EXTENSION IF NOT EXISTS "unaccent"

But I get the same error even if I do it:

postgres=# CREATE EXTENSION IF NOT EXISTS "unaccent";
CREATE EXTENSION
postgres=#

Do you have any idea?

install from Docker (prod)

suite à l'installation toute fraiche sur Debian 8 réalisé façon Docker (sans docker-compose) avec :

  • compte Stripe : OK (confirmé avec un test curl https://api.stripe.com/v1/charges -u sk_test_Y3uxxxxxxxxxxxx qui me répond un
    { "object": "list", "data": [], "has_more": false, "url": "/v1/charges" }
  • paramétrage DNS et fichier ~/fabmanager/config/env (sauf SMTP et compte Twitter) : OK
  • 1er connexion sur http://adherent.fablab-lyon.fr : OK
  • dans la foulée, création de deux comptes supplémentaire admin : OK
    les comptes créés apparaissent bien dans Stripe/Customers

mais :

  • vue Abonnements non accéssible

depuis :

  • pas d'accès à la vue admin Gérer les utilisateurs
  • pas d'accès à la vue Inscription formations
  • pas d'accès à la vue Mes paramètres de mon profil (admin d'origine, non modifié), mais les autres onglets : oui
  • aucun accès à la vue Abonnements et tarifs
  • parfois multiplication des liens 'admin' dans la frame gauche

gestion des admins

Bonjour,

il y a un admin par defaut, mais il est imposssible de definir dans la gestion des utilisateurs d'autres admin (genre creer un compte admin pour l'asso, avec les bons contacts, se connecter en admin par defaut, attribuer le compte precedement crée en admin, et supprimer le compte par defaut via le nouvel admin).

notamment aussi dans le but de deleguer la gestion du lab par d'autre personne que le fabmanager, ou de dispatcher entre les multiples fabmanageur, ou une gestion collaborative avec des collaborateurs de confiance

tout ca, sans passer en dur dans la base de données, bien sure.

locale files for english not avaiable

I tried to find on the directory and github. I couldn't find a english version of summernote, and select2_locale_en

Should I translate those as well?

  • summernote/lang/summernote-en-US
  • select2/select2_locale_en
  • moment/locale/en

Mac OSX: FATAL: database "fabmanager_development" does not exist

In this documentation section, at step 8:

$ rake db:setup
WARNING: Use strings for Figaro configuration. 587 was converted to "587".
/Users/user/.rvm/gems/ruby-2.3.0@fab-manager/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql_adapter.rb:661:in `rescue in connect': FATAL: database "fabmanager_development" does not exist

It's because your specific postgres documentation don't use the same database. In this section we have:

CREATE DATABASE fablab_development OWNER sleede;

By modifying config/database.yml with "fablab_development" instead of "fabmanager_development", it works!

Deploy issue to Heroku

Thank you for the great material, first.
I have installed this open source on my local and it works fine.
But when I tried to deploy to the heroku, I have got the issue during pushing the code to the heroku.
The log is like the below:

-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.3.0
-----> Installing dependencies using bundler 1.11.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler.
Fetching gem metadata from https://rubygems.org/........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Installing aasm 4.1.0
Installing i18n 0.7.0
Installing rake 11.1.2
Using json 1.8.3
Installing thread_safe 0.3.5
Installing minitest 5.9.0
Installing builder 3.2.2
Installing mini_portile2 2.0.0
Installing erubis 2.7.0
Installing rack 1.6.4
Installing mime-types 2.99
Installing arel 6.0.3
Installing addressable 2.3.8
Installing api-pagination 4.3.0
Installing execjs 2.4.0
Installing ice_nine 0.11.1
Installing bcrypt 3.1.10 with native extensions
Installing sass 3.4.13
Installing buftok 0.2.0
Installing camertron-eprun 1.1.0
Installing hitimes 1.2.2 with native extensions
Installing chroma 0.0.1
Installing chunky_png 1.3.4
Installing cldr-plurals-runtime-rb 1.0.1
Installing coffee-script-source 1.9.1
Installing thor 0.19.1
Installing multi_json 1.12.1
Installing rb-fsevent 0.9.4
Installing ffi 1.9.8 with native extensions
Installing hike 1.2.3
Installing tilt 1.4.1
Installing connection_pool 2.2.0
Installing orm_adapter 0.5.0
Installing unf_ext 0.0.6 with native extensions
Installing multipart-post 2.0.0
Installing hashie 3.4.2
Installing equalizer 0.0.11
Installing elasticsearch-rails 0.1.7
Installing forgery 0.6.0
Installing http_parser.rb 0.6.0 with native extensions
Installing multi_xml 0.5.5
Installing jwt 1.5.1
Installing kgio 2.9.3 with native extensions
Installing libv8 3.16.14.11
Installing mini_magick 4.2.0
Installing naught 1.0.0
Using bundler 1.11.2
Installing netrc 0.10.3
Installing oj 2.12.8 with native extensions
Installing pdf-core 0.5.1
Installing pg 0.18.1 with native extensions
Installing ttfunk 1.4.0
Installing prawn-table 0.2.1
Installing rails_serve_static_assets 0.0.4
Installing rails_stdout_logging 0.0.3
Installing raindrops 0.13.0 with native extensions
Installing redis 3.2.1
Installing ref 2.0.0
Installing rolify 4.0.0
Installing simple_oauth 0.3.1
Installing apipie-rails 0.3.6
Installing rdoc 4.2.0
Installing tzinfo 1.2.2
Installing descendants_tracker 0.0.4
Installing memoizable 0.4.2
Installing nokogiri 1.6.7.2 with native extensions
Installing rack-test 0.6.3
Installing warden 1.2.3
Installing rack-protection 1.5.3
Installing mail 2.6.3
Installing autoprefixer-rails 5.1.8
Installing uglifier 2.7.1
Installing compass-import-once 1.0.5
Installing coffee-script 2.3.0
Installing timers 4.0.1
Installing figaro 1.1.0
Installing compass-core 1.0.3
Installing elasticsearch-api 1.0.12
Installing sprockets 2.12.4
Installing faraday 0.9.1
Installing omniauth 1.2.2
Installing rb-inotify 0.9.5
Installing httparty 0.13.7
Installing unf 0.1.4
Installing http 0.6.4
Installing prawn 2.0.1
Installing rails_12factor 0.0.3
Installing redis-namespace 1.5.2
Installing therubyracer 0.12.0 with native extensions
Installing sdoc 0.4.1
Installing activesupport 4.2.5
Installing twitter_cldr 3.2.1
Installing rufus-scheduler 3.0.9
Installing axiom-types 0.1.1
Installing coercible 1.0.0
Installing sinatra 1.4.6
Installing bootstrap-sass 3.3.4.1
Installing unicorn 4.8.3 with native extensions
Installing celluloid 0.16.0
Installing elasticsearch-transport 1.0.12
Installing oauth2 1.0.0
Installing compass 1.0.3
Installing domain_name 0.5.25
Installing twitter-text 1.11.0
Installing openlab_ruby 0.0.4
Installing twitter 5.14.0
Installing rails-deprecated_sanitizer 1.0.3
Installing globalid 0.3.6
Installing activemodel 4.2.5
Installing jbuilder 2.5.0
Installing pundit 1.0.0
Installing recurrence 1.3.0
Installing message_format 0.0.3
Installing loofah 2.0.3
Installing virtus 1.0.5
Installing sidekiq 3.3.4
Installing elasticsearch 1.0.12
Installing omniauth-oauth2 1.3.1
Installing http-cookie 1.0.2
Installing rails-dom-testing 1.0.7
Installing activejob 4.2.5
Installing activerecord 4.2.5
Installing carrierwave 0.10.0
Installing protected_attributes 1.1.3
Installing rails-observers 0.1.2
Installing jbuilder_cache_multi 0.0.3
Installing rails-html-sanitizer 1.0.3
Installing sidekiq-cron 0.2.0
Installing elasticsearch-model 0.1.7
Installing rest-client 1.8.0
Installing friendly_id 5.1.0
Installing has_secure_token 1.0.0
Installing seed_dump 3.2.2
Installing actionview 4.2.5
Installing elasticsearch-persistence 0.1.7
Installing stripe 1.30.2
Installing actionpack 4.2.5
Installing actionmailer 4.2.5
Installing actionpack-page_caching 1.0.2
Installing sprockets-rails 2.3.3
Installing railties 4.2.5
Installing coffee-rails 4.1.0
Installing kaminari 0.16.3
Installing sass-rails 5.0.1
Installing responders 2.1.0
Installing font-awesome-rails 4.6.3.0
Installing jquery-rails 4.0.3
Installing rails 4.2.5
Installing compass-rails 2.0.4
Installing devise 3.4.1
Installing devise-async 0.9.0
Installing notify_with 0.0.2
Bundle complete! 72 Gemfile dependencies, 152 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Post-install message from httparty:
When you HTTParty, you must party hard!
Post-install message from rufus-scheduler:
***
Thanks for installing rufus-scheduler 3.0.9
It might not be 100% compatible with rufus-scheduler 2.x.
If you encounter issues with this new rufus-scheduler, especially
if your app worked fine with previous versions of it, you can
A) Forget it and peg your Gemfile to rufus-scheduler 2.0.24
and / or
B) Take some time to carefully report the issue at
https://github.com/jmettraux/rufus-scheduler/issues
For general help about rufus-scheduler, ask via:
http://stackoverflow.com/questions/ask?tags=rufus-scheduler+ruby
Cheers.
***
Post-install message from compass:
Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!
Bundle completed (85.57s)
Cleaning up the bundler cache.
Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running gem install bundler.

sh: 2: Syntax error: Unterminated quoted string

sh: 2: Syntax error: Unterminated quoted string
!
! Could not detect rake tasks
! ensure you can run $ bundle exec rake -P against your app
! and using the production group of your Gemfile.
! rake aborted!
! NoMethodError: undefined method dump' for nil:NilClass ! (erb):22:in

'
! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/ruby-2.3.0/lib/ruby/2.3.0/erb.rb:864:in eval' ! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/ruby-2.3.0/lib/ruby/2.3.0/erb.rb:864:inresult'
! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/bundle/ruby/2.3.0/gems/railties-4.2.5/lib/rails/application.rb:391:in secrets' ! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/config/application.rb:30:inclass:Application'
! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/config/application.rb:22:in <module:Fablab>' ! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/config/application.rb:21:in<top (required)>'
! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/Rakefile:4:in require' ! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/Rakefile:4:in<top (required)>'
! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/bundle/ruby/2.3.0/gems/rake-11.1.2/lib/rake/rake_module.rb:28:in load' ! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/bundle/ruby/2.3.0/gems/rake-11.1.2/lib/rake/rake_module.rb:28:inload_rakefile'
! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/bundle/ruby/2.3.0/gems/rake-11.1.2/lib/rake/application.rb:689:in raw_load_rakefile' ! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/bundle/ruby/2.3.0/gems/rake-11.1.2/lib/rake/application.rb:94:inblock in load_rakefile'
! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/bundle/ruby/2.3.0/gems/rake-11.1.2/lib/rake/application.rb:176:in standard_exception_handling' ! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/bundle/ruby/2.3.0/gems/rake-11.1.2/lib/rake/application.rb:93:inload_rakefile'
! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/bundle/ruby/2.3.0/gems/rake-11.1.2/lib/rake/application.rb:77:in block in run' ! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/bundle/ruby/2.3.0/gems/rake-11.1.2/lib/rake/application.rb:176:instandard_exception_handling'
! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/bundle/ruby/2.3.0/gems/rake-11.1.2/lib/rake/application.rb:75:in run' ! /tmp/build_4d435dc90c7cdce66b51fccdf7ffd6c0/vendor/bundle/ruby/2.3.0/gems/rake-11.1.2/bin/rake:33:in<top (required)>'
! vendor/bundle/bin/rake:16:in load' ! vendor/bundle/bin/rake:16:in'
!
/app/tmp/buildpacks/f6d48d8a14fccbb19c0c0402fca224929d18e9ee042b3e204bc5992612e990d3b3a0fb1f9627b1a3bae11e9fa20dffc96e136bd734a2f3cf92a0d05bedd42cfe/lib/language_pack/helpers/rake_runner.rb:102:in `load_rake_tasks!': Could not detect rake tasks (LanguagePack::Helpers::RakeRunner::CannotLoadRakefileError)
....

I tried to find the issue, but I am not sure about the reason.
So please let me know how to deploy to the heroku.

Many thanks

Bug Formulaire d'inscription

Sous "Ubuntu" avec le navigateur "Chromium" le menu déroulant "Votre profil utilisateur" ne propose aucun choix et la case à cocher "J'ai lu et j'accepte la charte d'utilisation du Fab Lab" est inexistante.
donc pas de bouton "Valider" actif.

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.