<commit_before>Acryr
================

[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

This application was generated with the [rails_apps_composer](https://github.com/RailsApps/rails_apps_composer) gem
provided by the [RailsApps Project](http://railsapps.github.io/).

Rails Composer is open source and supported by subscribers. Please join RailsApps to support development of Rails Composer.

Problems? Issues?
-----------

Need help? Ask on Stack Overflow with the tag 'railsapps.'

Your application contains diagnostics in the README file. Please provide a copy of the README file when reporting any issues.

If the application doesn't work as expected, please [report an issue](https://github.com/RailsApps/rails_apps_composer/issues)
and include the diagnostics.

Ruby on Rails
-------------

This application requires:

- Ruby 2.2.2
- Rails 4.2.1

Learn more about [Installing Rails](http://railsapps.github.io/installing-rails.html).
Project status
---------------
 - Dev : Iteration 0
 - Prod  : Iteration 0

Features to do
---------------
 - Iteration 0
    - Carrierwave support
 - Iteration 1
    - At administrator level :
        - See all claims in Claims/Index
        - Can delete all claims
        - Can edit only his claims
    - Create link model users to claims to ensure many to many relationships for contributors
    - Add ability to user to join himself to claim(s)
 - Iteration 2
    - Add field state in claims model (enum  draft, published)
        - The default state of a claim is draft
        - Draft claims are visible only for the creator and administrators
        - Only creator and administrators can change the state of a claim

    - Create message_claim model that contain claim_id, type (0=Rejected; 1=Indication) and message_content
        - Messages are used by administrator when they reject a claim
        - Only administrator can add/edit/delete messages
        - The claim author see all his messages (but not the claim participants)

Changelog
---------------
 - Iteration 0
    - User login
    - User register
    - User roles
    - Userspace
    - Has zero to many issues
    - Integrate claims with users
    - Scaffold claims (CRUD)
        - Has one user
        - Has one description
        - Has one title
        - Has one client picture evidence
        - Has one or many issue picture evidence
        - Fix bug, user not displaying correctly in claims display
        - Claims tab show only current logged user claims unless he's admin


Documentation and Support
-------------------------
 - Specs : https://github.com/ranska/infres_2015<commit_msg>:lipstick: update readme/todo/changelog<commit_after>Acryr
================

[![Deploy to Heroku](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

This application was generated with the [rails_apps_composer](https://github.com/RailsApps/rails_apps_composer) gem
provided by the [RailsApps Project](http://railsapps.github.io/).

Rails Composer is open source and supported by subscribers. Please join RailsApps to support development of Rails Composer.

Problems? Issues?
-----------

Need help? Ask on Stack Overflow with the tag 'railsapps.'

Your application contains diagnostics in the README file. Please provide a copy of the README file when reporting any issues.

If the application doesn't work as expected, please [report an issue](https://github.com/RailsApps/rails_apps_composer/issues)
and include the diagnostics.

Ruby on Rails
-------------

This application requires:

- Ruby 2.2.2
- Rails 4.2.1

Learn more about [Installing Rails](http://railsapps.github.io/installing-rails.html).
Project status
---------------
 - Dev : Iteration 0
 - Prod  : Iteration 0

Features to do
---------------
 - Iteration 0
 - Iteration 1
    - At administrator level :
        - See all claims in Claims/Index
        - Can delete all claims
        - Can edit only his claims
    - Create link model users to claims to ensure many to many relationships for contributors
    - Add ability to user to join himself to claim(s)
 - Iteration 2
    - Add field state in claims model (enum  draft, published)
        - The default state of a claim is draft
        - Draft claims are visible only for the creator and administrators
        - Only creator and administrators can change the state of a claim

    - Create message_claim model that contain claim_id, type (0=Rejected; 1=Indication) and message_content
        - Messages are used by administrator when they reject a claim
        - Only administrator can add/edit/delete messages
        - The claim author see all his messages (but not the claim participants)

Changelog
---------------
 - Iteration 0
    - Carrierwave support
    - User login
    - User register
    - User roles
    - Userspace
    - Has zero to many issues
    - Integrate claims with users
    - Multipicture upload support
    - Created evidence model
    - Map one to many Claim => evidence
    - Evidence creation are handled in claim controller
    - Scaffold claims (CRUD)
        - Has one user
        - Has one description
        - Has one title
        - Has one client picture evidence
        - Has one or many issue picture evidence
        - Fix bug, user not displaying correctly in claims display
        - Claims tab show only current logged user claims unless he's admin


Documentation and Support
-------------------------
 - Specs : https://github.com/ranska/infres_2015
{'fraction_non_alphanumeric': 0.09838446178979851, 'fraction_numerical': 0.006534761299691414, 'mean_word_length': 2.6083824492468892, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 10, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '29886', 'n_tokens_mistral': 1504, 'n_tokens_neox': 1392, 'n_words': 620}