initial commit

This commit is contained in:
2018-01-20 13:02:44 -03:00
commit 203138a969
650 changed files with 19523 additions and 0 deletions
+76
View File
@@ -0,0 +1,76 @@
dunlop
============
<!--[![Build Status](https://travis-ci.org/mozolutions/dunlop-core.svg?branch=master)](https://travis-ci.org/mozolutions/dunlop-core)-->
Installation
-----------------------
```
gem 'dunlop-core', github: 'mozolutions/dunlop-core', branch: :master
gem 'devise'
```
Then
```
bundle update
```
Then
```
bundle exec rails generate devise:install
bundle exec rails generate devise User
bundle exec rails generate dunlop:install # for only the basics: rails g dunlop:install:base
bundle exec rake db:migrate
bundle exec rake db:seed
```
ISSUES
----------------
* js-routes not updated after generator command `rake tmp:clear` needed
TODO
-----------------------
* ChangeEvent .. change_event
* Make it behaves like a workflow step specs pass if only one workflow
step is associated
* Workflow step filtering: q%5Bworkflow_instance_batch_id_eq%5D=1&q%5Bworkflow_step%5D%5Bowner_initialization%5D=overdue
* Add reverse overdue handling
* Implement whenever:install on base install and runner "SourceFile.load_scheduled!" for source_file install generator
* Separate Real (user) notes from log notes
* Franky: Workflow step precedence
* Workflow step generation tool
* Single sign on/user management combined for projects
* Reporting
* Mijlpalen functionaliteit:
* filters
* source file file size
* Alles in de batch behalve twee
* Test bundler semantic tag locking
### Generators
* WorkflowInstanceScrubber in dunlop:install:workflow
* spec/rails_helper.rb as complete drop in replacement
* replace parent workflow instance with first generated scenario if
defined:
* factory :workflow_instance_for_workflow_step_test, parent: :workflow_instance do
* with
* factory :workflow_instance_for_workflow_step_test, parent: :workflow_instance_#{scenario} do
* Also check for this by scenario_rename action/generator
## Presentatie
* visie
* Wat is er al
* waar willen we naartoe
* samenvoegen van projecten? One user
* Source file portal?
Application creation log
---------------------------------------
```
rails g dunlop:scenario scenario1 --workflow_steps=all
rails g dunlop:workflow_step owner_initialization \
--scenarios=all \
--attributes=checked:boolean plan_date:date my_identifier window_from:integer window_to:integer number_of_visits:integer my_fraction:float my_explanation:text
```