Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Normalize Acts As Journalized schema #312

Merged
merged 86 commits into from
Aug 21, 2013

Commits on Aug 8, 2013

  1. Created normalized journal schema

    Includes renaming of the former journals table and creation of specific
    journal tables for each type that acts as journalized.
    Hagen Schink committed Aug 8, 2013
    Configuration menu
    Copy the full SHA
    a512b82 View commit details
    Browse the repository at this point in the history
  2. Disables journalization for certain models

    Hagen Schink committed Aug 8, 2013
    Configuration menu
    Copy the full SHA
    32e85a6 View commit details
    Browse the repository at this point in the history
  3. Changes journal model implementation

    Hagen Schink committed Aug 8, 2013
    Configuration menu
    Copy the full SHA
    353d2af View commit details
    Browse the repository at this point in the history
  4. Adapts AAJ to changed model implementation

    Hagen Schink committed Aug 8, 2013
    Configuration menu
    Copy the full SHA
    18fc91e View commit details
    Browse the repository at this point in the history
  5. Adapts AAJ specs to changed model implementation

    Hagen Schink committed Aug 8, 2013
    Configuration menu
    Copy the full SHA
    de88233 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2013

  1. Re-activates AAJ models

    Hagen Schink committed Aug 9, 2013
    Configuration menu
    Copy the full SHA
    e2c5fb0 View commit details
    Browse the repository at this point in the history
  2. Improves journal implementation and adds formatter

    Hagen Schink committed Aug 9, 2013
    Configuration menu
    Copy the full SHA
    f06a1cc View commit details
    Browse the repository at this point in the history
  3. Leaves journales uncreated until save

    Hagen Schink committed Aug 9, 2013
    Configuration menu
    Copy the full SHA
    26ae83a View commit details
    Browse the repository at this point in the history
  4. Moves user update to journal manager

    Hagen Schink committed Aug 9, 2013
    Configuration menu
    Copy the full SHA
    a3551ec View commit details
    Browse the repository at this point in the history
  5. Prevents mailer to access non-journals as journals

    Journales and the journaled objects are separated and, thus, cannot be
    accessed without distinction.
    Hagen Schink committed Aug 9, 2013
    Configuration menu
    Copy the full SHA
    9ac933f View commit details
    Browse the repository at this point in the history
  6. Fixes specs

    Hagen Schink committed Aug 9, 2013
    Configuration menu
    Copy the full SHA
    da823f4 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2013

  1. Adds document journalization

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    614cc63 View commit details
    Browse the repository at this point in the history
  2. Stores current data and not every change

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    cc88e29 View commit details
    Browse the repository at this point in the history
  3. Corrects reference to 'created' timestamp column

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    0e79c7d View commit details
    Browse the repository at this point in the history
  4. Adapts changes to journalization API

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    9d67cff View commit details
    Browse the repository at this point in the history
  5. Removes superfluous code

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    a4d554c View commit details
    Browse the repository at this point in the history
  6. Adapts formatter to AAJ API modifications

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    95faef0 View commit details
    Browse the repository at this point in the history
  7. Caches journaled object

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    b03e78c View commit details
    Browse the repository at this point in the history
  8. Selects only changing association elements

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    a974d72 View commit details
    Browse the repository at this point in the history
  9. Adds journal entry only on change and if empty

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    36a4c80 View commit details
    Browse the repository at this point in the history
  10. Fixes spec

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    ab62781 View commit details
    Browse the repository at this point in the history
  11. Merge branch 'feature/rails3' into feature/normalize_acts_as_journalized

    Conflicts:
    	spec/models/planning_element_spec.rb
    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    c7c51c5 View commit details
    Browse the repository at this point in the history
  12. Adapts modified AAJ interface

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    41f50d4 View commit details
    Browse the repository at this point in the history
  13. Order journals by version

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    4daa1c6 View commit details
    Browse the repository at this point in the history
  14. Fixes typo

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    0c76343 View commit details
    Browse the repository at this point in the history
  15. Commits only changed states to journal

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    e04c882 View commit details
    Browse the repository at this point in the history
  16. Removes special numeral handling

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    b9715a5 View commit details
    Browse the repository at this point in the history
  17. Considers done ratio in change list

    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    b05b4f0 View commit details
    Browse the repository at this point in the history
  18. Writes notes to instance variable

    Expected by preview
    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    8002048 View commit details
    Browse the repository at this point in the history
  19. Adapts AAJ modifications

    [skip ci]
    Hagen Schink committed Aug 12, 2013
    Configuration menu
    Copy the full SHA
    27429ab View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2013

  1. AAJ considers attachments and custom fields, again

    Hagen Schink committed Aug 13, 2013
    Configuration menu
    Copy the full SHA
    965c7e3 View commit details
    Browse the repository at this point in the history
  2. Saves attachment container after save

    Hagen Schink committed Aug 13, 2013
    Configuration menu
    Copy the full SHA
    98df85e View commit details
    Browse the repository at this point in the history
  3. Adds initial work package journal tests

    Hagen Schink committed Aug 13, 2013
    Configuration menu
    Copy the full SHA
    fdefa31 View commit details
    Browse the repository at this point in the history
  4. Resolves attachment changes

    Hagen Schink committed Aug 13, 2013
    Configuration menu
    Copy the full SHA
    ec6660c View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2013

  1. Extends WP journal specs for custom fields

    Hagen Schink committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    0a5071b View commit details
    Browse the repository at this point in the history
  2. Handles custom fields as well

    Hagen Schink committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    ecaa922 View commit details
    Browse the repository at this point in the history
  3. Correct relation to journal and custom field

    Hagen Schink committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    bb0984f View commit details
    Browse the repository at this point in the history
  4. Saves journals after attachment removal

    Hagen Schink committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    e0b4ed5 View commit details
    Browse the repository at this point in the history
  5. Prevents writing a journal without changes

    Hagen Schink committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    ccb20c3 View commit details
    Browse the repository at this point in the history
  6. Saves container only if it changed

    Hagen Schink committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    8d87c56 View commit details
    Browse the repository at this point in the history
  7. Disables failing alternative date specs on pending

    Hagen Schink committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    524ae79 View commit details
    Browse the repository at this point in the history
  8. Treats 'key' as symbol

    Hagen Schink committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    23ed88d View commit details
    Browse the repository at this point in the history
  9. Disables scenario cuke

    Hagen Schink committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    8fcf0f8 View commit details
    Browse the repository at this point in the history
  10. Adapts modified AAJ interface

    Hagen Schink committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    541cb54 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2013

  1. Adds default primary key to journals

    Hagen Schink committed Aug 15, 2013
    Configuration menu
    Copy the full SHA
    f6b8c3c View commit details
    Browse the repository at this point in the history
  2. Corrects journal value access methods

    [skip ci]
    Hagen Schink committed Aug 15, 2013
    Configuration menu
    Copy the full SHA
    eed8c6b View commit details
    Browse the repository at this point in the history
  3. Adds missing author to message fixture

    Hagen Schink committed Aug 15, 2013
    Configuration menu
    Copy the full SHA
    2e7aa45 View commit details
    Browse the repository at this point in the history
  4. Touches journaled object after save

    Hagen Schink committed Aug 15, 2013
    Configuration menu
    Copy the full SHA
    d6a89de View commit details
    Browse the repository at this point in the history
  5. Uses JournalManger interface

    Hagen Schink committed Aug 15, 2013
    Configuration menu
    Copy the full SHA
    eb703d6 View commit details
    Browse the repository at this point in the history
  6. Does not add journal entry immediately

    Hagen Schink committed Aug 15, 2013
    Configuration menu
    Copy the full SHA
    cfe415d View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2013

  1. Adapts new AAJ interface for changeset

    Hagen Schink committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    a2b15e9 View commit details
    Browse the repository at this point in the history
  2. Stops adding journal to container on change

    Hagen Schink committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    8d71a5c View commit details
    Browse the repository at this point in the history
  3. Fixes test unit tests

    Hagen Schink committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    a7aee64 View commit details
    Browse the repository at this point in the history
  4. Fixes icons in activity view.

    Adds work_package icons for generic, edit, note and closed. This also
    fixes some indentations.
    apfelfabrik committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    b9ae3f0 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'feature/normalize_acts_as_journalized' of github.com:op…

    …f/openproject into feature/normalize_acts_as_journalized
    Hagen Schink committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    cf80962 View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'opf/feature/rails3' into feature/normal…

    …ize_acts_as_journalized
    
    Conflicts:
    	app/models/planning_element.rb
    	features/planning_elements/planning_element_management.feature
    apfelfabrik committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    2d34159 View commit details
    Browse the repository at this point in the history
  7. Merge commit 'cf80962' into feature/normalize_acts_as_journalized

    Conflicts:
    	test/fixtures/journals.yml
    apfelfabrik committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    3f02f37 View commit details
    Browse the repository at this point in the history
  8. Adapts changed AAJ interface

    Hagen Schink committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    9196b86 View commit details
    Browse the repository at this point in the history
  9. Adds association to Journal

    Hagen Schink committed Aug 16, 2013
    Configuration menu
    Copy the full SHA
    d608d95 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2013

  1. Introduces journable

    Journable introduces a connection between a journal and the journalized
    object.
    Hagen Schink committed Aug 20, 2013
    Configuration menu
    Copy the full SHA
    d0ca65d View commit details
    Browse the repository at this point in the history
  2. Fixes functionals

    [skip ci]
    Hagen Schink committed Aug 20, 2013
    Configuration menu
    Copy the full SHA
    c25bbee View commit details
    Browse the repository at this point in the history
  3. Merge branch 'feature/normalize_acts_as_journalized' of github.com:op…

    …f/openproject into feature/normalize_acts_as_journalized
    
    Conflicts:
    	app/models/planning_element.rb
    	app/models/work_package.rb
    	lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb
    
    [skip ci]
    Hagen Schink committed Aug 20, 2013
    Configuration menu
    Copy the full SHA
    9b2b448 View commit details
    Browse the repository at this point in the history
  4. Removes debug statement

    Hagen Schink committed Aug 20, 2013
    Configuration menu
    Copy the full SHA
    7650f53 View commit details
    Browse the repository at this point in the history
  5. Fixes integration tests

    [skip ci]
    Hagen Schink committed Aug 20, 2013
    Configuration menu
    Copy the full SHA
    ad50efc View commit details
    Browse the repository at this point in the history
  6. Fixes test unit tests

    Hagen Schink committed Aug 20, 2013
    Configuration menu
    Copy the full SHA
    853aca2 View commit details
    Browse the repository at this point in the history
  7. Fixes test unit tests

    Hagen Schink committed Aug 20, 2013
    Configuration menu
    Copy the full SHA
    ab60afd View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2013

  1. Fixes specs

    [skip ci]
    Hagen Schink committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    24c48b7 View commit details
    Browse the repository at this point in the history
  2. Corrects project deletion test

    Ensures that all journals are removed
    
    [skip ci]
    Hagen Schink committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    15dc5ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe974fd View commit details
    Browse the repository at this point in the history
  4. Prepares WikiContent for new journalization.

    This fixes event_title as well as event_url to work with the new
    journalization by using '.journal.journable.*'
    apfelfabrik committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    6405feb View commit details
    Browse the repository at this point in the history
  5. Renames journal metadata variables

    Hagen Schink committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    35097cd View commit details
    Browse the repository at this point in the history
  6. Removes creation methods

    Hagen Schink committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    2494a40 View commit details
    Browse the repository at this point in the history
  7. Adapts PE cuke to work package activity title

    Hagen Schink committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    084a038 View commit details
    Browse the repository at this point in the history
  8. Adapts user mailer to event fetcher interface

    Hagen Schink committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    1d5819b View commit details
    Browse the repository at this point in the history
  9. Removes superfluous statement

    Hagen Schink committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    eca826b View commit details
    Browse the repository at this point in the history
  10. Revert file deletion from previous commit

    Hagen Schink committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    17d2adb View commit details
    Browse the repository at this point in the history
  11. References correct user in test journal

    Hagen Schink committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    20054fd View commit details
    Browse the repository at this point in the history
  12. Corrects project reference call

    Hagen Schink committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    94c41db View commit details
    Browse the repository at this point in the history
  13. Removes double key index

    Hagen Schink authored and apfelfabrik committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    6e75340 View commit details
    Browse the repository at this point in the history
  14. Adapts event fetcher interface

    Hagen Schink authored and apfelfabrik committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    0fd3c64 View commit details
    Browse the repository at this point in the history
  15. Respects existence of other generated data

    Hagen Schink authored and apfelfabrik committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    71d6c0d View commit details
    Browse the repository at this point in the history
  16. Cleans journals before certains tests

    Hagen Schink authored and apfelfabrik committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    7c6473b View commit details
    Browse the repository at this point in the history
  17. Corrects Journal call

    Hagen Schink authored and apfelfabrik committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    aba7cba View commit details
    Browse the repository at this point in the history
  18. Removes all journals

    Prevents checking data created by other tests
    
    [skip ci]
    Hagen Schink authored and apfelfabrik committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    a3e854d View commit details
    Browse the repository at this point in the history
  19. Adds changelog entries

    Hagen Schink committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    896f4e5 View commit details
    Browse the repository at this point in the history
  20. Merge remote-tracking branch 'opf/feature/rails3' into feature/normal…

    …ize_acts_as_journalized
    
    Conflicts:
    	app/assets/stylesheets/default/application.css.erb
    apfelfabrik committed Aug 21, 2013
    Configuration menu
    Copy the full SHA
    9c9f800 View commit details
    Browse the repository at this point in the history