Coder Social home page Coder Social logo

foradian / fluxday Goto Github PK

View Code? Open in Web Editor NEW
478.0 478.0 175.0 573 KB

A user-friendly, free & opensource task & productivity management tool for growing startups

Home Page: http://fluxday.io/

License: Apache License 2.0

Ruby 25.54% JavaScript 32.24% CoffeeScript 0.52% CSS 16.01% HTML 25.69%

fluxday's People

Contributors

halissonvit avatar hersoncruz avatar ismudnx avatar navinnair avatar shyam1210 avatar stpnlr avatar tachyons avatar vijithmv499 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  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

fluxday's Issues

Sort by Priority Level

Great product but appears to be missing a basic functionality or option to "sort" or ability to move tasks up/down.

"My Tasks" screen shows all currently assigned tasks but what's the use of assigning a priority level to each task and not able to sort by it under the "My Tasks" screen - If I want to list and work on all the "high priority" tasks first there is no option to do so currently, unless i open each task item manually to view the current priority level assigned and decide what to work on first.

rake db:create issue

/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.0.3/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now rake aborted! Bundler::GemRequireError: There was an error while trying to load the gem 'devise'. Gem Load Error is: ActiveSupport::Duration can't be coerced into Integer Backtrace for gem load error is: /home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.0.3/lib/active_support/core_ext/numeric/time.rb:50:in *'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.0.3/lib/active_support/core_ext/numeric/time.rb:50:in days' /home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/activesupport-4.0.3/lib/active_support/core_ext/numeric/time.rb:55:in weeks'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/devise-3.2.4/lib/devise.rb:131:in <module:Devise>' /home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/devise-3.2.4/lib/devise.rb:8:in <top (required)>'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:82:in require' /home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:82:in block (2 levels) in require'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:77:in each' /home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:77:in block in require'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:66:in each' /home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler/runtime.rb:66:in require'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/bundler-1.15.4/lib/bundler.rb:108:in require' /home/priyo/apps/fluxday/config/application.rb:8:in <top (required)>'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require' /home/priyo/.rbenv/versions/2.4.1/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require'
/home/priyo/apps/fluxday/Rakefile:4:in <top (required)>' /home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in load'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/rake_module.rb:28:in load_rakefile' /home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:687:in raw_load_rakefile'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:96:in block in load_rakefile' /home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:178:in standard_exception_handling'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:95:in load_rakefile' /home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:79:in block in run'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:178:in standard_exception_handling' /home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/lib/rake/application.rb:77:in run'
/home/priyo/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/rake-12.0.0/exe/rake:27:in <top (required)>' /home/priyo/.rbenv/versions/2.4.1/bin/rake:22:in load'
/home/priyo/.rbenv/versions/2.4.1/bin/rake:22:in <main>' Bundler Error Backtrace: /home/priyo/apps/fluxday/config/application.rb:8:in <top (required)>'
/home/priyo/apps/fluxday/Rakefile:4:in <top (required)>' TypeError: ActiveSupport::Duration can't be coerced into Integer /home/priyo/apps/fluxday/config/application.rb:8:in <top (required)>'
/home/priyo/apps/fluxday/Rakefile:4:in <top (required)>' (See full trace by running task with --trace)

This happens with Ruby version 2.4.0. My server is Ubuntu 16.04 where older ruby installs fail because of newer openssl libraries.

Issue with Rake db:migrate

Caused by:
Mysql2::Error: All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in _query' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in block in query'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in handle_interrupt' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in query'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:287:in block in execute' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:435:in block in log'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activesupport-4.0.3/lib/active_support/notifications/instrumenter.rb:20:in instrument' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:430:in log'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:287:in execute' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/mysql2_adapter.rb:222:in execute'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract/schema_statements.rb:190:in create_table' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:471:in create_table'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:625:in block in method_missing' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:597:in block in say_with_time'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:597:in say_with_time' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:617:in method_missing'
/home/ec2-user/fluxday/db/migrate/20140313044626_create_projects.rb:3:in change' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:571:in exec_migration'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:555:in block (2 levels) in migrate' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:554:in block in migrate'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:294:in with_connection' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:553:in migrate'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:709:in migrate' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:959:in block in execute_migration_in_transaction'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:1007:in ddl_transaction' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:958:in execute_migration_in_transaction'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:920:in block in migrate' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:916:in each'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:916:in migrate' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:764:in up'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:742:in migrate' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/railties/databases.rake:42:in block (2 levels) in <top (required)>'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/gems/rake-12.3.2/exe/rake:27:in <top (required)>' /home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/bin/ruby_executable_hooks:24:in eval'
/home/ec2-user/.rvm/gems/ruby-2.1.0@fluxday/bin/ruby_executable_hooks:24:in `

'

Maybe you should specify the version of MySQL in docker-compose.yml:)

There should be many people facing the similar problem which wasting much time to those don't work with ruby.
When you enter fluxday-app container,and then execute "rake db:migrate",error occured like this: "Mysql2::Error: All parts of a PRIMARY KEY must be NOT NULL:".This is because the newr version of MySQL,
exact 5.7.3+,related link is here.
Well, and there is no explanation that we should to run the series command of rake with Docker,it is a bit confused.
Thanks for your work :)

Cannot assign tasks

When i go to assign a task, there is no box like the screenshots that show up. We see no errors on SQL or anything. Very confused.

Issue with adding tasks

  1. The user can't add a task to him self (giving me alert says: "You have no access to a team inorder to assign a task.") unless I set the user a team leader.
  2. The teams are not visible to the user if he is not in that team, but once I set the user a team leader, he can see all teams in the Add Task panel, and he can add task for any team too.

Same problem recurring in the live demo version.

Unable to run migrations

On running command rake db:migrate, I got the error ""Mysql2::Error: All parts of a PRIMARY KEY must be NOT NULL; in the first migration.

DB creation error

I am getting an error building out the DB. I think it has to do with the version of ruby and mysql. it looks like this problem has been fixed in the latest version but still persists in 2.1.0 will fluxday work with the current ruby?

rake db:migrate
(in /root/fluxday)
== CreateProjects: migrating =================================================
-- create_table(:projects)
rake aborted!
StandardError: An error has occurred, all later migrations canceled:

Mysql2::Error: All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead: CREATE TABLE projects (id int(11) DEFAULT NULL auto_increment PRIMARY KEY, name varchar(255), code varchar(255), description text, is_deleted tinyint(1) DEFAULT 0, created_at datetime, updated_at datetime) ENGINE=InnoDB

NoMethodError in Projects and Users

I have followed all the steps for mentioned in documentation.
I am getting ' undefinef method [] for nil:nilclass wherever project.image.icon or user.image.icon is defined.

Use .ruby-version and .ruby-gemset instead of rvmrc

Presently the project is using .rvmrc, but its now depreciated and encouraged to create .ruby-version file to specify the ruby version and .ruby-gemset file to set the gemset, so that its compatible with other ruby managers as well.

Since we are not using any extra shell scripting in the .rvmrc why not change to using .ruby-version and .ruby-gemset so that it plays nicely with the other version managers.

Few issues due to Ruby old version

Hi! I want to test your solution, I have been trying to follow the instructions on your website to install.
Here is where I got stucked.
I followed instructions to install Ruby (2.1.0) unsupported.

Changed in 20140313044626_create_projects.rb
from ActiveRecord::Migration
to
class CreateProjects < ActiveRecord::ConnectionAdapters::Mysql2Adapter
I do successfuly the rake::create

When I try: rake::migrate

ubuntu@ip-172-31-24-23:/fluxday-master/config$ rake db:migrate --trace
(in /home/ubuntu/fluxday-master)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:migrate
rake aborted!
ArgumentError: wrong number of arguments (0 for 4)
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/mysql2_adapter.rb:35:in initialize' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:719:in new'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:719:in load_migration' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:714:in migration'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:708:in disable_ddl_transaction' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:1012:in use_transaction?'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:922:in rescue in block in migrate' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:919:in block in migrate'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:916:in each' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:916:in migrate'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:764:in up' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:742:in migrate'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/railties/databases.rake:42:in block (2 levels) in <top (required)>' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in call'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in block in execute' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in each'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in execute' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:194:in block in invoke_with_call_chain'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:187:in invoke_with_call_chain'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:180:in invoke' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:152:in invoke_task'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in block (2 levels) in top_level' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in each'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in block in top_level' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:117:in run_with_threads'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:102:in top_level' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:80:in block in run'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:178:in standard_exception_handling' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:77:in run'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/exe/rake:27:in <top (required)>' /home/ubuntu/.rbenv/versions/2.1.0/bin/rake:23:in load'
/home/ubuntu/.rbenv/versions/2.1.0/bin/rake:23:in <main>' ArgumentError: wrong number of arguments (0 for 4) /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/mysql2_adapter.rb:35:in initialize'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:719:in new' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:719:in load_migration'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:714:in migration' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:708:in disable_ddl_transaction'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:1012:in use_transaction?' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:1004:in ddl_transaction'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:958:in execute_migration_in_transaction' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:920:in block in migrate'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:916:in each' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:916:in migrate'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:764:in up' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:742:in migrate'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/activerecord-4.0.3/lib/active_record/railties/databases.rake:42:in block (2 levels) in <top (required)>' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in call'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in block in execute' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in each'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:250:in execute' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:194:in block in invoke_with_call_chain'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:187:in invoke_with_call_chain'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/task.rb:180:in invoke' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:152:in invoke_task'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in block (2 levels) in top_level' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in each'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:108:in block in top_level' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:117:in run_with_threads'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:102:in top_level' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:80:in block in run'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:178:in standard_exception_handling' /home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/lib/rake/application.rb:77:in run'
/home/ubuntu/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/rake-12.0.0/exe/rake:27:in <top (required)>' /home/ubuntu/.rbenv/versions/2.1.0/bin/rake:23:in load'
/home/ubuntu/.rbenv/versions/2.1.0/bin/rake:23:in `

'
Tasks: TOP => db:migrate
ubuntu@ip-172-31-24-23:/fluxday-master/config$

Could you please let me know what am I missing?

Issue with Linux build & docker

Fetching gem metadata from https://rubygems.org/...........Fetching gem metadata from https://rubygems.org/..Resolving dependencies...
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
rails (= 4.0.3) was resolved to 4.0.3, which depends on
bundler (< 2.0, >= 1.3.0)

Current Bundler version:
bundler (2.0.1)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running gem install bundler?

Could not find gem 'bundler (< 2.0, >= 1.3.0)', which is required by gem 'rails
(= 4.0.3)', in any of the sources.

Bundler could not find compatible versions for gem "coffee-rails":
In Gemfile:
coffee-rails (~> 4.0.0)

turbolinks (= 2.2.1) was resolved to 2.2.1, which depends on
coffee-rails

Bundler could not find compatible versions for gem "turbolinks":
In Gemfile:
turbolinks (= 2.2.1)

jquery-turbolinks (= 2.0.2) was resolved to 2.0.2, which depends on
turbolinks
ERROR: Service 'fluxday-app' failed to build: The command '/bin/sh -c bundle install' returned a non-zero code: 6

Multilingual interface

Hi, I'm from Poland and I want to help, so if it's possible I can translate the interface.

rake db:create fails while installation

Hello,

Im trying to install fluxday on my server, but it interrupt while rake db:migrate (even bundle exec rake db:migrate fails)

Gems:

bundle update
Fetching https://github.com/stpnlr/omniauth-fluxapp.git
Fetching gem metadata from https://rubygems.org/.............
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...........
Using rake 12.3.0
Using concurrent-ruby 1.0.5
Using i18n 0.9.1
Using minitest 4.7.5
Using multi_json 1.13.1
Using thread_safe 0.3.6
Using tzinfo 0.3.53
Using activesupport 4.0.3
Using builder 3.1.4
Using erubis 2.7.0
Using rack 1.5.5
Using rack-test 0.6.3
Using actionpack 4.0.3
Using mime-types 1.25.1
Using polyglot 0.3.5
Using treetop 1.4.15
Using mail 2.5.5
Using actionmailer 4.0.3
Using activemodel 4.0.3
Using activerecord-deprecated_finders 1.0.4
Using arel 4.0.2
Using activerecord 4.0.3
Using bcrypt 3.1.11
Using bundler 1.16.1
Using cancancan 1.17.0
Using carrierwave 1.2.2
Using cocoon 1.2.11
Using coffee-script-source 1.12.2
Using execjs 2.7.0
Using coffee-script 2.4.1
Using thor 0.20.0
Using railties 4.0.3
Using coffee-rails 4.0.1
Using daemons 1.2.6
Using orm_adapter 0.5.0
Using warden 1.2.7
Using devise 3.2.4
Using doorkeeper 1.1.0
Using eventmachine 1.2.5
Using multipart-post 2.0.0
Using faraday 0.12.2
Using sass 3.2.19
Using foundation-rails 5.2.1.0
Using friendly_id 5.0.5
Using hashie 3.5.7
Using hike 1.2.3
Using hirb 0.7.3
Using jbuilder 1.5.3
Using jquery-rails 3.1.4
Using turbolinks 2.2.1
Using jquery-turbolinks 2.0.2
Using json 1.8.6
Using jwt 1.5.6
Using libv8 3.16.14.19 (x86_64-linux)
Using mini_magick 4.8.0
Using multi_xml 0.6.0
Using mysql2 0.3.21
Using oauth2 1.4.0
Using omniauth 1.4.2
Using omniauth-oauth2 1.5.0
Using omniauth-fluxapp 0.0.1 from https://github.com/stpnlr/omniauth-fluxapp.git (at master@687537d)
Using omniauth-google-oauth2 0.5.2
Using polyamorous 1.3.2
Using tilt 1.4.1
Using sprockets 2.12.4
Using sprockets-rails 2.0.1
Using rails 4.0.3
Using ransack 1.8.4
Using rdoc 4.3.0
Using ref 2.0.0
Using sass-rails 4.0.5
Using sdoc 0.4.2
Using select2-rails 3.5.4
Using therubyracer 0.12.3
Using thin 1.7.2
Using uglifier 4.1.3
Using wicked_pdf 1.1.0
Using will_paginate 3.1.6
Bundle updated!

Ruby Version:
$ ruby -v
ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]

This is the error message I get:
/vendor/bundle/gems/activesupport-4.0.3/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now
rake aborted!
Bundler::GemRequireError: There was an error while trying to load the gem 'devise'.
Gem Load Error is: ActiveSupport::Duration can't be coerced into Integer
Backtrace for gem load error is:
vendor/bundle/gems/activesupport-4.0.3/lib/active_support/core_ext/numeric/time.rb:50:in *' vendor/bundle/gems/activesupport-4.0.3/lib/active_support/core_ext/numeric/time.rb:50:in days'
vendor/bundle/gems/activesupport-4.0.3/lib/active_support/core_ext/numeric/time.rb:55:in weeks' vendor/bundle/gems/devise-3.2.4/lib/devise.rb:131:in module:Devise'
vendor/bundle/gems/devise-3.2.4/lib/devise.rb:8:in `<top (required)>'

I hope you can help
Im not able to use docker on my shared host Server

thanks

Error installing bundler

docker-compose up -d --build --remove-orphans
I run the above command and getting is error even though i have ruby
Error

Step 9/16 : RUN gem install bundler
---> Running in 0534f0f234fb
ERROR: Error installing bundler:
bundler requires Ruby version >= 2.3.0.
ERROR: Service 'fluxday-app' failed to build: The command '/bin/sh -c gem install bundler' returned a non-zero code: 1

Unable to install

Created a new droplet on digitalocean and tried to install as mentioned but stuck on rake db:migrate command, Below is the error:

root@aim1one:/home/admin/web/aim1one.com/public_html/fluxday# rake db:migrate
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - /home/admin/web/aim1one.com/public_html/fluxday/config/app_config.yml
/home/admin/web/aim1one.com/public_html/fluxday/config/environments/development.rb:1:in `<top (required)>'
/usr/share/rvm/gems/ruby-2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in `require'
/usr/share/rvm/gems/ruby-2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in `block in require'
/usr/share/rvm/gems/ruby-2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:214:in `load_dependency'
/usr/share/rvm/gems/ruby-2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in `require'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/engine.rb:591:in `block (2 levels) in <class:Engine>'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/engine.rb:590:in `each'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/engine.rb:590:in `block in <class:Engine>'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:30:in `instance_exec'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:30:in `run'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:55:in `block in run_initializers'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:44:in `each'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:44:in `tsort_each_child'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/initializable.rb:54:in `run_initializers'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/application.rb:215:in `initialize!'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/admin/web/aim1one.com/public_html/fluxday/config/environment.rb:6:in `<top (required)>'
/usr/share/rvm/gems/ruby-2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in `require'
/usr/share/rvm/gems/ruby-2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in `block in require'
/usr/share/rvm/gems/ruby-2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:214:in `load_dependency'
/usr/share/rvm/gems/ruby-2.1.0/gems/activesupport-4.0.3/lib/active_support/dependencies.rb:229:in `require'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/application.rb:189:in `require_environment!'
/usr/share/rvm/gems/ruby-2.1.0/gems/railties-4.0.3/lib/rails/application.rb:250:in `block in run_tasks_blocks'
/usr/share/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `eval'
/usr/share/rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

Username and Password for local installation

Hi all, I've cloned and installed fluxday. I'm having a problem accessing the application in a browser.

"Access denied for user 'admin'@'localhost' (using password: YES)"

I think I may have the wrong information in my database.yml file. What username and password is expected from the database?

Thank you!
Tony

compose came across issue.

$ docker-compose up -d --build --remove-orphans
Building fluxday-app
Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose/cli/main.py", line 68, in main
  File "compose/cli/main.py", line 118, in perform_command
  File "compose/cli/main.py", line 926, in up
  File "compose/project.py", line 401, in up
  File "compose/service.py", line 295, in ensure_image_exists
  File "compose/service.py", line 888, in build
  File "site-packages/docker/api/build.py", line 207, in build
  File "site-packages/docker/api/build.py", line 254, in _set_auth_headers
  File "site-packages/docker/auth.py", line 85, in resolve_authconfig
  File "site-packages/docker/auth.py", line 129, in _resolve_authconfig_credstore
docker.errors.DockerException: Credentials store error: StoreError('Credentials store docker-credential-osxkeychain exited with "parse 192.168.1.188:5000: first path segment in URL cannot contain colon".',)

build failed

When I run “docker-compose up -d --build --remove-orphans”,there was an error:

_Step 14 : RUN bundle install
 ---> Running in 0767e932eea3
########
there are maney code I didn't copy
#######

Gem::InstallError: rdoc requires Ruby version >= 2.2.2.
An error occurred while installing rdoc (6.0.1), and Bundler cannot continue.
Make sure that `gem install rdoc -v '6.0.1'` succeeds before bundling

In Gemfile:
  sdoc was resolved to 1.0.0, which depends on
    rdoc
ERROR: Service 'fluxday-app' failed to build: The command '/bin/sh -c bundle install' returned a non-zero code: 5_

So who can help me ?thanks

build failed

--curdir
--ruby=/usr/local/rvm/rubies/ruby-2.1.0/bin/ruby
--with-mysql-dir
--without-mysql-dir
--with-mysql-include
--without-mysql-include=${mysql-dir}/include
--with-mysql-lib
--without-mysql-lib=${mysql-dir}/lib
--with-mysql-config
--without-mysql-config
--with-mysql-dir
--without-mysql-dir
--with-mysql-include
--without-mysql-include=${mysql-dir}/include
--with-mysql-lib
--without-mysql-lib=${mysql-dir}/lib
--with-mysqlclientlib
--without-mysqlclientlib
--with-mlib
--without-mlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-zlib
--without-zlib
--with-mysqlclientlib
--without-mysqlclientlib
--with-socketlib
--without-socketlib
--with-nsllib
--without-nsllib
--with-mysqlclientlib
--without-mysqlclientlib
--with-mygcclib
--without-mygcclib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

/usr/local/rvm/gems/ruby-2.1.0@fluxday/extensions/x86_64-linux/2.1.0/mysql2-0.3.21/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/mysql2-0.3.21 for inspection.
Results logged to /usr/local/rvm/gems/ruby-2.1.0@fluxday/extensions/x86_64-linux/2.1.0/mysql2-0.3.21/gem_make.out
root@ubuntu-s-3vcpu-1gb-blr1-01:~/fluxday/config#

Ability to Unarchive Projects

So I noticed that when we delete a project, the project is archived. I would like to possibly have the ability for the project manager to unarchive the project. I can see this used if a project is placed on hold or if we are adding new tasks to an old project.

installation doesn't work with MariaDB

Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1

flux@kittybox:/opt/fluxday$ rake db:migrate
/var/lib/gems/2.3.0/gems/activesupport-4.0.3/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now
rake aborted!
ActiveRecord::StatementInvalid: Mysql2::Error: Specified key was too long; max key length is 767 bytes: CREATE UNIQUE INDEX `unique_schema_migrations`  ON `schema_migrations` (`version`) 
/var/lib/gems/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
/var/lib/gems/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
/var/lib/gems/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
/var/lib/gems/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:287:in `block in execute'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:435:in `block in log'
/var/lib/gems/2.3.0/gems/activesupport-4.0.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:430:in `log'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:287:in `execute'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/mysql2_adapter.rb:222:in `execute'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:524:in `add_index'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/schema_migration.rb:24:in `create_table'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:878:in `initialize'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:764:in `new'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:764:in `up'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:742:in `migrate'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/railties/databases.rake:42:in `block (2 levels) in <top (required)>'
/var/lib/gems/2.3.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
Mysql2::Error: Specified key was too long; max key length is 767 bytes
/var/lib/gems/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `_query'
/var/lib/gems/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in `block in query'
/var/lib/gems/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `handle_interrupt'
/var/lib/gems/2.3.0/gems/mysql2-0.3.21/lib/mysql2/client.rb:79:in `query'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:287:in `block in execute'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:435:in `block in log'
/var/lib/gems/2.3.0/gems/activesupport-4.0.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_adapter.rb:430:in `log'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:287:in `execute'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/mysql2_adapter.rb:222:in `execute'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:524:in `add_index'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/schema_migration.rb:24:in `create_table'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:878:in `initialize'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:764:in `new'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:764:in `up'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/migration.rb:742:in `migrate'
/var/lib/gems/2.3.0/gems/activerecord-4.0.3/lib/active_record/railties/databases.rake:42:in `block (2 levels) in <top (required)>'
/var/lib/gems/2.3.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'

Unable to Install , DB Creation Issue

when i run this command.

rake db:create

Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "database"=>"tracker_development", "pool"=>5, "username"=>"root", "password"=>"foradian", "socket"=>"/var/run/mysqld/mysqld.sock"}, {:charset=>"utf8", :collation=>"utf8_unicode_ci"}

I have created tracker_development, tracker_test, tracker_production with utf8_unicode_ci
and I have a root user with no password

my database.yml looks like this

MySQL. Versions 4.1 and 5.0 are recommended.

Install the MYSQL driver

gem install mysql2

Ensure the MySQL gem is defined in your Gemfile

gem 'mysql2'

And be sure to use new-style password hashing:

http://dev.mysql.com/doc/refman/5.0/en/old-client.html

development:
adapter: mysql2
encoding: utf8
database: tracker_development
pool: 5
username: root
password:
socket: /var/run/mysqld/mysqld.sock

Warning: The database defined as "test" will be erased and

re-generated from your development database when you run "rake".

Do not set this db to the same as development or production.

test:
adapter: mysql2
encoding: utf8
database: tracker_test
pool: 5
username: root
password:
socket: /var/run/mysqld/mysqld.sock

production:
adapter: mysql2
encoding: utf8
database: tracker_production
pool: 5
username: root
password:
socket: /var/run/mysqld/mysqld.sock

I am new to ruby.. let me know if I am doing anything wrong.

Thank You

New Design

I have been working a lot with the app and have worked on refactoring code and completing a new design. Here is what I have come up with so far.

screenshot

Unable to add user.

I have deployed this application ubuntu with latest rail + Mysql application (5.7). I did by passed primary key issue related to mysql. However, while creating user i am getting an issue.
I have attached screenshot as well full trace log.
full trace.txt
error

Unable to log into fluxday after installation

Goodmorning,
I'm trying to install fluxday from source.
I followed the guide and I arrived at the point in which the system serves the homepage at localhost:3000

Unforutnately, we trying to enter with the credentials ([email protected], password) does not get me into the portal.

Can you help me?

Thank you very much

Francesco

Add LDAP support for user authentication

This is a great tool for a lot of organizations. The UI is clean and simple.

Adding LDAP support covers both AD / LDAP will help many companies to deploy this software.

Department and Teams can also be populated by users by looking up LDAP parameters.

Incorrect Average hours calculation

In fluxday reports, the Average hours is calculated as Total working hours/Total no. of days. It should be Total working hours/Total no. of working days.

Issue starting Server

Started GET "/users/sign_in" for 209.118.52.57 at 2019-05-02 18:25:50 +0000
Processing by Devise::SessionsController#new as HTML
Completed 500 Internal Server Error in 38ms

SystemStackError (stack level too deep):
actionpack (4.0.3) lib/action_dispatch/middleware/reloader.rb:70

Can't create db in non local mysql server

Hi.

I have CentOS 7, with Ruby 2.1.0 via rvm
My db server is MariaDB 5.5.56

When I execute rake db:migrate I receive the following message:

rake aborted! Mysql2::Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/mysql2-0.3.21/lib/mysql2/client.rb:70:in 'connect' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/mysql2-0.3.21/lib/mysql2/client.rb:70:in 'initialize' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in 'new' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/mysql2_adapter.rb:18:in 'mysql2_connection' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in 'new_connection' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in 'checkout_new_connection' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in 'acquire_connection' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in 'block in checkout' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in 'checkout' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in 'block in connection' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in 'connection' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in 'retrieve_connection' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_handling.rb:79:in 'retrieve_connection' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/connection_handling.rb:53:in 'connection' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:863:in 'initialize' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:764:in 'new' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:764:in 'up' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/migration.rb:742:in 'migrate' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/activerecord-4.0.3/lib/active_record/railties/databases.rake:42:in 'block (2 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/rake-12.2.1/exe/rake:27:in '<top (required)>' /usr/local/rvm/gems/ruby-2.1.0@fluxday/bin/ruby_executable_hooks:15:in 'eval' /usr/local/rvm/gems/ruby-2.1.0@fluxday/bin/ruby_executable_hooks:15:in '<main>' Tasks: TOP => db:migrate (See full trace by running task with --trace)

It's because the db is in another server?

Cheers.

issue with instalacion

Hi,
Recently trying to install on a ubuntu 16.04 but im getting this error

`Bundler could not find compatible versions for gem "bundler":
In Gemfile:
rails (= 4.0.3) was resolved to 4.0.3, which depends on
bundler (< 2.0, >= 1.3.0)

  Current Bundler version:
    bundler (2.0.2)
   This Gemfile requires a different version of Bundler.
 Perhaps you need to update Bundler by running `gem install bundler`?

      Could not find gem 'bundler (< 2.0, >= 1.3.0)', which is required by gem 'rails (= 4.0.3)', in any of the sources.

     Bundler could not find compatible versions for gem "coffee-rails":
     In Gemfile:
     coffee-rails (~> 4.0.0)

       turbolinks (= 2.2.1) was resolved to 2.2.1, which depends on
      coffee-rails

      Bundler could not find compatible versions for gem "rails":
     In Gemfile:
       rails (= 4.0.3)

       wicked_pdf (= 0.9.10) was resolved to 0.9.10, which depends on
  rails

         Bundler could not find compatible versions for gem "turbolinks":
         In Gemfile:
        turbolinks (= 2.2.1)

        jquery-turbolinks (= 2.0.2) was resolved to 2.0.2, which depends on
        turbolinks

`

Can not create DB

Hello,
I'm stuck creating the DB: when I run rake db:create, I receive the following output:
/var/lib/gems/2.3.0/gems/activesupport-4.0.3/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "database"=>"tracker_development", "pool"=>5, "username"=>"root", "password"=>"xxxxxxx", "socket"=>"/var/run/mysqld/mysqld.sock"}, {:charset=>"utf8", :collation=>"utf8_unicode_ci"} (If you set the charset manually, make sure you have a matching collation) Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "database"=>"tracker_test", "pool"=>5, "username"=>"root", "password"=>"xxxxxxx", "socket"=>"/var/run/mysqld/mysqld.sock"}, {:charset=>"utf8", :collation=>"utf8_unicode_ci"} (If you set the charset manually, make sure you have a matching collation)

MySQL. Versions 4.1 and 5.0 are recommended.

Install the MYSQL driver

gem install mysql2

Ensure the MySQL gem is defined in your Gemfile

gem 'mysql2'

And be sure to use new-style password hashing:

http://dev.mysql.com/doc/refman/5.0/en/old-client.html

development:
adapter: mysql2
encoding: utf8
database: tracker_development
pool: 5
username: root
password: xxxxxx
socket: /var/run/mysqld/mysqld.sock

Warning: The database defined as "test" will be erased and

re-generated from your development database when you run "rake".

Do not set this db to the same as development or production.

test:
adapter: mysql2
encoding: utf8
database: tracker_test
pool: 5
username: root
password: xxxxxxx
socket: /var/run/mysqld/mysqld.sock

production:
adapter: mysql2
encoding: utf8
database: tracker_production
pool: 5
username: root
password: xxxxx
socket: /var/run/mysqld/mysqld.sock

Do you have any advice?

Thank you,
B regards

Francesco Lateano

undefined method `name' for nil:NilClass

Hello folks,

After quite some time figuring out how to install Fluxday properly I can finally get to be connected, I created some users but I cannot assign Managers to teams or anything it would give me this:

undefined method `name' for nil:NilClass

Would someone know a fix for that ? During the installation I tried to use ruby 2.1.0 but it woudnt let me bundle without being at 2.3.0, and I am afraid of the whole thing crumbling down if I dare downgrate it...

Thanks in advance !

rake db:migrate error

I am trying to setup fluxday on a centOS 7 server by following the steps provided at https://github.com/foradian/fluxday/ . All the dependencies are installed and I also downgraded MariaDB to 10.1, in order to fix the error related to mysql2 gem as suggested here, brianmario/mysql2#932 .

I already cloned Clone Fluxday from git and completed the first few steps including the 'bundle install'. Then I followed the "without docker" instructions and copied config/database.yml.example to config/database.yml . As outlined in the docs I have created the MySQL database and database user manually, then updated the database credentials in database.yml file with those values. I then executed "rake db:create" without any errors or outputs. But the next step "rake db:migrate" throws the following error,

rake db:migrate

rake aborted!
ActiveRecord::StatementInvalid: Mysql2::Error: No database selected: SHOW TABLES LIKE 'schema_migrations'
/usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in _query' /usr/local/rvm/gems/ruby-2.1.0@fluxday/gems/mysql2-0.3.21/lib/mysql2/client.rb:80:in block in query'

I am not sure why it is showing the above error, as the database is already created and credentials are already added in database.yml file. I am enclosing the contents of my database.yml file below,

MySQL. Versions 4.1 and 5.0 are recommended.

Install the MYSQL driver

gem install mysql2

Ensure the MySQL gem is defined in your Gemfile

gem 'mysql2'

And be sure to use new-style password hashing:

http://dev.mysql.com/doc/refman/5.0/en/old-client.html

default: &default
adapter: mysql2
encoding: utf8
pool: 5
database: <%= ENV['db_fluxday'] %>
username: <%= ENV['user_fluxday'] %>
password: <%= ENV['password'] %>
host: <%= ENV['localhost'] %>

development:
<<: *default

Warning: The database defined as "test" will be erased and

re-generated from your development database when you run "rake".

Do not set this db to the same as development or production.

test:
database: flux-tests
<<: *default

production:
<<: *default

I am able to connect to the above database via MySQL command line without any issues, but it doesn't show any tables in it currently. Could you check and advice why it is throwing the above error when running rake db:migrate ?

Connection immediately closes

I am trying to use the docker to deploy the fluxday.

I can see that the docker/ container is active/ running.

It seems to be also listening on 3000.

But, when I try to access via webpage, it doesn't work. Even if I telnet, the connection opens for sec and immediately closed. Any reason why?

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
225335c8b620 fluxday_fluxday-app "/sbin/my_init" 12 minutes ago Up 12 minutes 10.0.0.10:3000->3000/tcp fluxday-app
e0787e849334 c82b5c755c79 "/sbin/my_init" About an hour ago Created goofy_rosalind
bd644ffc0884 mysql "docker-entrypoint..." 4 hours ago Up 12 minutes 3306/tcp fluxday-db


telnet 10.0.0.10 3000
Trying 10.0.0.10...
Connected to 10.0.0.10.
Escape character is '^]'.
Connection closed by foreign host.


When I try to load the link via browser - I get

can't open the page, because the server unexpectedly dropped the connection. This sometime occurs when the server is busy. Wait for few min and then try again!

Please let me know if I am doing anything wrong. Thanks.

Getting "NoMethodError in UsersController#create"

Hi,
I've downloaded and installed fluxday in a VPS and I could able to login by using default credentials. But I can't able to create users, getting 'NoMethodError in UsersController#create' error.
Find the attached image for your reference.

Please help me with this.

Thanks.
Shankar
fluxday_error

Task View from Dashboard

Not sure how I can make it so non-team members (execs) can see all tasks. They should be able to view, from the dashboard, all of the tasks going on in the company.

Installation on docker

Hi,

Had some issues with installing this software on docker, succeeded eventually just wanted to share:

  1. git clone https://github.com/foradian/fluxday.git
  2. cp config/database.yml.example config/database.yml
  3. cp app.env.example app.env
  4. cp db.env.example db.env (had to do this also)
  5. container fluxday-db is created later so you have to edit app.env file and change
    DB_HOST=db to DB_HOST=fluxday-db
  6. edit docker-compose.yml and change
    image: mysql to image: mysql:5.6
    (works with 5.6 tag, doesnt work with the latest mysql version)
    7.docker-compose up -d --build --remove-orphans
  7. docker exec -it fluxday /bin/bash (to log in to the container)
    9.rake db:create
    10.rake db:migrate
    11.rake db:seed
  8. bundle install
  9. rails server &

I also created subdomain and set nginx as frontend and created a proxy to localhost:3000.
Hope this helps.

If you have any problems with these steps, Im here to help.
BTW this is a great software, worth of extra figuring out.

Best regards,

Provide REST APIs

API first architecture will help integrate many external applications such as dashboards, ticketing systems and reporting software.

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.