upgrade gem madek_zhdk_integration

InstitutionalGroup: .to_s: DON'T remove suffix from inst. group name
ui: js: formHelpers: fix warnOnLeave
ci: increase auto_trials to 3
ui: preserve line breaks of multi-line string meta data

(it is multi-line if of input_type: text_area)
Update db/ldap.json
cider-ci: fix typos in Stderr sections
Release 2.5.0
Add full randomization for teaser set elements
meta_data: fix multiline string handling in show&edit, move detection logic into model
fix previous_id_redirect: remove binding.pry
controllers: set, entry: make sure `check_and_initialize_for_view` is done consistently

also fix an old-id-redirect
Clean migrations

Squashed commit of the following:

commit bef157594dc67722280aaa3e23c21cf6a7b788cc
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Oct 29 13:50:24 2014 +0100

    Fix factory

commit fcbbc9c2574c4a27cb581cefc6cfc920f48f00c6
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Oct 29 13:26:18 2014 +0100

    Remove not null constr. on media_entry_id from media_file

commit 132639620e1bd9ab853b5b32feda4d879c9c2bcd
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Oct 29 12:41:21 2014 +0100

    Fix migrations

commit 5361ef325a55b681d14e6042abf68475973a72d7
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Oct 29 12:09:44 2014 +0100

    ...

commit e8c17831c0aa0433ee18fd77f937b58f155a3886
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Oct 29 11:45:55 2014 +0100

    Migration cleanup (squashed)

    Squashed commit of the following:

    commit d1e55d55cec845991c4d69ab90fe3461d0cea93f
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Wed Oct 29 11:31:17 2014 +0100

        Fixes

    commit 486637525da17193c93f3530dda9739e175899aa
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Wed Oct 29 10:14:58 2014 +0100

        fixes

    commit 3d4692e12940cdc7d35799d9b6c5fc60de2f661e
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Wed Oct 29 10:11:47 2014 +0100

        done

    commit bacf2ace5eafe8f2e693f38f000a420988c2d864
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Wed Oct 29 10:09:56 2014 +0100

        35

    commit 52d6800b46bc82f38535c566d2e3b215a63fdba7
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Wed Oct 29 10:03:50 2014 +0100

        33 34

    commit d3ca800a52fbd432b80ee092689e01768bfd52da
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Wed Oct 29 10:01:03 2014 +0100

        ...

    commit 39f56cb7a3d6d06e26964d5cb40b3750cfc22bf5
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Wed Oct 29 09:56:18 2014 +0100

        32

    commit 57f3f0b92833f786ce661d0a135a291acc1fe851
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Wed Oct 29 09:54:18 2014 +0100

        031

    commit 6060e37ff5c70aae8f599288d8eaacda2725a098
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Wed Oct 29 09:51:08 2014 +0100

        030

    commit 4d04cc7f254fd29b6f6c1bb16727943968efe965
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 16:17:39 2014 +0100

        Structure.sql up to 29

    commit b018866e6dc416e2b180589ce260d63d32e7ddf6
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 16:15:36 2014 +0100

        029

    commit d8cfd01bc1237997d1f983cc6e26f62d798a400f
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 16:13:15 2014 +0100

        ...

    commit 9960c6c208d56ec1843020aaa39b6dcd8ab68212
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 16:07:54 2014 +0100

        ...

    commit 2a65b6ce5d355e69689ba67f9d07b6b938f03c78
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 16:06:39 2014 +0100

        027 028

    commit f85362c88540cbe9f04ad5fbead9346838a88eea
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 16:00:04 2014 +0100

        ...

    commit af7a50624d7ac9b7e01003b765b3e7759a70493c
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 15:55:34 2014 +0100

        ...

    commit 0d402e41aedba6e06fd05728383ee037a17edaf0
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 15:53:52 2014 +0100

        027

    commit 9df878e7f9e7698513fdde86c7ced1f0eb0b6505
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 15:49:26 2014 +0100

        026

    commit 30bafd1ed9d4151b61187398ef7923df993fcb8e
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 15:46:30 2014 +0100

        025 app_settings

    commit 4af2fafaa6d4fe81b2a56574fa8be41fe3c53fdb
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 15:35:25 2014 +0100

        024

    commit 4e471f357c6d712ecc9ae5e3872852d3a42a0411
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 15:32:44 2014 +0100

        023

    commit fbeb10715876bc1897617c8d99c901411865c650
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 15:28:50 2014 +0100

        022

    commit dd2a7bba79b3c59c3c5a5b2e2fa11e1101d1d5f1
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 15:25:51 2014 +0100

        021

    commit 8742a5848cd18179e28390709e5ad9ff4299ff41
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 15:11:31 2014 +0100

        020

    commit cf96e23e5a4d7772143aab9f7b95ebd3e6260c1d
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 15:03:20 2014 +0100

        019

    commit 1563e6b05d51944c510061ea0d683a610dcb2f17
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 14:54:57 2014 +0100

        018

    commit 77ed57ca228d948263a6c9f6aa123929133c8a52
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 14:50:36 2014 +0100

        017

    commit 105f11a91f8552e7a51c306b8663436bd2f73eff
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 14:46:42 2014 +0100

        016

    commit 6b437a03342f72fc01741cef170bb7bcf39ec90b
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 14:43:55 2014 +0100

        015

    commit e73e2a87b2075e87882389bb3e0977f8c0e0dc61
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 14:38:01 2014 +0100

        014

    commit e796b8c6938346abed79aa2eb5dc1decc5382f7f
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 14:33:48 2014 +0100

        013

    commit e07df13b07defb60c023c7ff4e783fd5111e1583
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 14:28:27 2014 +0100

        012

    commit aac770ccdafce1c03b0274e16f1607a1d25c634d
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 14:25:41 2014 +0100

        011

    commit 06f50c7e5973d866daba41b60b3c7e829393ae76
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 14:21:29 2014 +0100

        010

    commit a69c4486595b16c390c53a64e3bd95d1077d59d1
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 12:59:55 2014 +0100

        009 full texts

    commit a855a6d8eadabc4d31d5179198b8b771e0e487cf
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 12:56:20 2014 +0100

        008 previews

    commit 6b2aed441a98159e055f14f741749752e334e2b6
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 12:51:19 2014 +0100

        007 arcs

    commit fd372f4f1c06df8f706286576793add55123f6a8
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 10:53:10 2014 +0100

        006 MediaResources

    commit d4cf7cca63eade4a0adc80d8ba5821a6a7cd64ed
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 10:28:11 2014 +0100

        005 media_files

    commit c9d6ea3336d4d7695357d4808a4765c13978cc09
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 10:19:08 2014 +0100

        004 groups_users

    commit 1a1ad8d39494918d18c083ca8e7a6ed337d21b9f
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 10:00:32 2014 +0100

        Groups

    commit 99f18d6c79eeadebebb456265dab30b154583e38
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 09:42:24 2014 +0100

        ...

    commit 43f93a7a44ecbce6577118efbdf1a18974072d86
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 09:37:53 2014 +0100

        Cleanup

    commit 7d26e828a3630145bb5fe270f2dc97c13c23277f
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 09:35:08 2014 +0100

        Create users

    commit cef8ec84fed8d7a3cadbbc620fc078528d9506ad
    Author: Thomas Schank <DrTom@schank.ch>
    Date:   Tue Oct 28 09:19:10 2014 +0100

        Migration 001 People
Set migration start-point for refactoring
Split media_resources table

Squashed commit of the following:

commit 5171248be6dcc4eb142bb327200744555d6160e1
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 3 10:53:59 2014 +0100

    modified:   doc/diagrams/Schema_vision.graffle

commit e07f0f76fc2d936690f10f00893b9e4d7cd6738e
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 3 10:36:33 2014 +0100

    Remove settings from media_resources

commit ee18f8f553e660a6fa3eb154c96f8cc6ad272568
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 3 10:09:23 2014 +0100

    Migrate Arcs

commit 2940380adc6fa6f98cc6c5c2d1aa46c54a296f7d
Author: Thomas Schank <DrTom@schank.ch>
Date:   Mon Nov 3 08:35:39 2014 +0100

    Add and migrate filter_sets

commit 335894ca1067137940b3ec7316babd3343939b39
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Oct 31 09:36:21 2014 +0100

    Create media_entries table; create rows; repoint media_file fkey

commit 6392afa71d3065c46a50774a5f0feaf696ce2fe8
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Oct 31 07:45:20 2014 +0100

    Migrate Types of media_resources_table
Introduce models, factories, and specs for spitted tables

Starting with models and factories ...

...

Get some of the models working

Fix test

Rename stuff

Try up stuff with concern

check function ...

... add first trigger constraint ...

There is no point in running features for now

Extend trigger check to other tables

Extend trigger check to media_resources

Clean media_set model and add refactor factory

Fix media_set factory name

So, we can't raise a warning in factory ...

Rename things

Migrations pass ...

Migrations pass again ...

Fix migrations again ...

Add creator and updator

Fix running migration

...

Fix media_entry_spec

Lets run it again on ci

Add collection model and tests, delete some specs

Almost done with constraints

wtf

Consistentcy check done

Relate (and test) media_entries with collections

Disable a bunch of tests

Only test what we care about for now

Really clean tests

Clean and upgrade ... still two failures
Update vision diagram
Prepare to remove resource table entirely

Squashed commit of the following:

commit 0487b5a5e1512133732edb057c7e6e066c1afac2
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 09:21:24 2014 +0100

    Remove obsolete tests

commit b07f0cd68cc707c204a5c2c4ba34317b99574c8b
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 09:17:24 2014 +0100

    Remove fkeys to resources

commit 2902b75b17a3455dfcf0d9214a2229bf1aa83bca
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 09:12:43 2014 +0100

    Remove some models, factories and specs

commit cc9117302191111d1145f8c86fca509f7e726e5b
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 09:07:50 2014 +0100

    Run migration and reset personas

commit 5356d4a373d9d2e880f097914ff7433686ca0648
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 09:04:26 2014 +0100

    Disable triggers in migration
Relink meta_data from resources to new tables

Squashed commit of the following:

commit 0390cedfd212008f6e69bc0949c909b86bb40eb1
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 14 09:58:35 2014 +0100

    Fix factory

commit 1c3ad5ad78f1d0720c051f3f91c175a9bee3b541
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 14 09:11:59 2014 +0100

    Fix factories

commit 477ff8a85aa5e0919ecfdacd33c6f39ff5a3fb5a
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 14 08:26:00 2014 +0100

    Rerun migrations

commit 63d470a93c15483a4f151d2f4fc23ffb2068ad2d
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 19:46:29 2014 +0100

    Clean migrations and make the run again

commit 5cdc6fc2b45946997694f11b1a2450ebc2a85934
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 18:26:58 2014 +0100

    Reverting name changes up to migration 101 ...

commit ec36aed05450ecd7d1bef278feec76449c7ecb97
Author: Thomas Schank <DrTom@schank.ch>
Date:   Wed Nov 12 15:09:29 2014 +0100

    Linking meta_data to media_resources, etc, ....
Upgrade gems
Delete all unused factories

Squashed commit of the following:

commit dfe0e64b6abee3cca4496ffa988e22da65d26710
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 14 10:19:58 2014 +0100

    Add user and person factory

commit 1f1eb1013d5dcdbfcfeb8b1055b43b902577866f
Author: Thomas Schank <DrTom@schank.ch>
Date:   Fri Nov 14 10:16:23 2014 +0100

    Delete all old factories