Update log

This document logs changes to files and data outside of the ullXXXPlugins.

These changes have to be executed manually for each customer installation of ullright.

r2102

  • added the ullBooking plugin
    • Follow the guide on how to install new plugins

r1993

  • added to: apps/frontend/i18n/messages.de.xml
    <trans-unit id="13">
      <source>The date must be before %max%.</source>
      <target>Das Datum muss vor dem %max% liegen.</target>
    </trans-unit>

r1981

r1931

  • Renamed ullMetaWidgetFullPhoneNumber to ullMetaWidgetPhoneNumber
    • Option default_country_code adds a default country code (e.g. '+43') to allow a number without the country code
  • Deleted ullMetaWidgetMobileNumber. Use ullMetaWidgetPhoneNumber

r1930

  • Renamed PhoneNumber widget and meta-widget to PhoneExtension

r1882

r1768

  • Rebuild models

    • php symfony doctrine:build --model --forms --filters

  • Add "web" symlinks

    • cd web
    • ln -s ../plugins/ullCmsPlugin/web ullCmsPlugin
    • ln -s ../plugins/ullCmsThemeNGPlugin/web ullCmsThemeNGPlugin
    • svn add ullCms*
    • cd ..
  • Run migrations
    • php symfony doctrine:migrate 

r1730

  • Recreate foreign keys using
    • php symfony ullright:recreate-foreign-keys

r1688

  • ullFlow -> ullTime integration. Follow these steps to track effort for workflows
    • Admin -> ullFlow columns -> add a "ullProject"  to your workflow
      • Type: "UllProject"
      • Options: "add_empty=true model=UllProject"
      • Mandatory: true
      • Is project column: true
    • Admin -> ullFlow app
      • Enter effort: true

r1679

  • Admin -> UllUserStatus: rename Separated to "Inactive" with slug "inactive"

r1660

  • added to: apps/frontend/i18n/messages.de.xml
    <trans-unit id="12">
      <source>Contains invalid characters.</source>
      <target>Enthält ungültige Zeichen.</target>
    </trans-unit>

r1613

  • Removed ParentUllEntity model
    • Remove generated files:
      • php symfony ullright:delete_model_classes UllParentEntity ullCorePlugin
  • Removed support for custom UllEntity schema
    UllEntity is now provided in ullCorePlugin instead of ParentUllEntity
    • Remove UllEntity schema in config/doctrine/schema.yml
    • Remove old generated files:
      • php symfony ullright:delete_model_classes UllEntity
    • Clear cache
      • php symfony cache:clear
    • Rebuild models
      • php symfony doctrine:build --model --forms --filters

r1599

  • php symfony doctrine:migrate
    • Migration clean up taggable

r1554

Removed publish and database dump batch scripts + config options.

  • Transfer the settings from the *.txt files in config/ to apps/frontend/config/app.yml:
    • all:
        publish:
          # Set the following options if you want to use the ullright:publish task
          server_name:    my-server.example.com
          user_name:      my_username
          target_dir:     /var/www/ullright_my_company 
  • Run the following task to delete the old files
    • php symfony ullright:r1554

r1537

Upgrade to symfony 1.3

Attention: If you haven't upgraded to the latest ullright revision with symfony 1.2 (r1530) you have to change you svn locations to branches/ullright_with_sf12, update, run migrations, and than switch back to trunk.

  • Update the plugins/ svn:externals:

    • Remove dkGeshiPlugin and also delete the directory (Preferable at the command line)

      • rm plugins/dkGeshiPlugin/ -rf

  • config/databases.yml

    • Replace "doctrine:" with real database name e.g. "ullright_myCompany:"

  • The location of the symfony libs has changed. Set the svn:external property of lib/vendor to

  • Update

    • svn update

  • Update the symfony lib path in config/ProjectConfiguration.class.php

    • $sf_symfony_lib_dir = realpath(dirname(__FILE__) . '/../lib/vendor/symfony/lib');
      
  • Remove some old model files

    • svn rm lib/model/doctrine/ullCorePlugin/UllTableConfig.class.php lib/model/doctrine/ullCorePlugin/UllTableConfigTable.class.php lib/model/doctrine/ullCorePlugin/UllColumnConfig.class.php lib/model/doctrine/ullCorePlugin/UllColumnConfigTable.class.php

  • php symfony cache:clear

  • Rebuild model classes

    • php symfony doctrine:build --model --forms --filters

  • Run the upgrade1.3 task

    • php symfony project:upgrade1.3

    • Answer the following question with no:

      • Would you like to force YAML to be parsed with the 1.1 specification? (Y/n)

  • Reset the migration version because symfony 1.3 has a new system

    • php symfony ullright:fake-migration-version 0

  • Run migrations

    • php symfony doctrine:migrate

      • ullWiki deleted_at migration

  • php symfony cache:clear

  • Don't forget to commit the changes into your repository

r1499

  • app.yml: "supported_languages" is now under the sub-key "i18n" and must be given as array
    Example:
    • all:
        i18n:
          supported_languages: [ 'en', 'de' ]

r1473

Changed a config option name in app.yml:

  • "phone_book_columns" is now "phone_book_show_columns"

r1400

Error pages (404 and 500)

  • Add link to 500-page:
    • cd apps/frontend/config
    • ln -s ../../../plugins/ullCoreThemeNGPlugin/config/error error
  • edit apps/frontend/config/app.yml - add to all: section (customize as needed):
  • apps/frontend/i18n/messages.de.xml - add translations

 

r1376

  • php symfony doctrine:migrate
    • Migration 062 - add UllUserStatus->is_absent

  • Check your UllUserStatus table. Set "is_absent" to true for stati like 'maternity leave', 'military service', etc.

 

r1370

  • Enable ullOrgchart module in apps/frontend/config/settings.yml under the key "enabled_modules":
    • enabled_modules:        [default, ullAdmin, ullCloneUser, ullCore, ullFlow, ullOrgChart, ullTableTool, ullText, ullTime, ullPhone, ullUser, ullVentory, ullWiki]
    • php symfony cache:clear
  • Add ullOrgchart to the main navigation
  • php symfony doctrine:migrate
    • Migration 060 - ullOrgchart access check

r1318

  • php symfony doctrine:migrate
    • Migration 053 - add mobile number to UllUser

    • Migration 054 - change contact data

    • Migration 055 - add ullPhone access checks

    • Migration 056 - add ullUser popup access checks

    • Migration 057 - add additional columns to UllUser

    • Migration 058 - add limited access to ullAdmin for UserAdmin group

    • Migration 059 - add last_name_first column to UllUser

    • Migration 060 - populate last_name_first column

 

r1222

  • Enable ullCloneUser module in apps/frontend/config/settings.yml under the key "enabled_modules":
    • enabled_modules:        [default, ullAdmin, ullCloneUser, ullCore, ullFlow, ullTableTool, ullText, ullTime, ullPhone, ullUser, ullVentory, ullWiki]
    • php symfony cache:clear

r1200

  • Rebuild models

    • php symfony doctrine:build-model

  • Add "web" symlinks

    • cd web
    • ln -s ../plugins/ullPhonePlugin/web ullPhonePlugin
    • ln -s ../plugins/ullPhoneThemeNGPlugin/web ullPhoneThemeNGPlugin
    • svn add ullPhone*
    • cd ..

r1203

  • If you're using custom ullNamedQueries you have to change the signature of the method modifyQuery().
    This is necessary as we use ullNamedQueries both with Doctrine_Querys and ullQueries at the moment.
    • currently:
      • public function modifyQuery(Doctrine_Query $q)
    • change it to:
      • public function modifyQuery($q)

 

r1186

r1175

  • php symfony doctrine:migrate
    • Migration 049 remove is_in_list column from ullFlowColumnConfig

  • svn rm lib/model/doctrine/ullCorePlugin/UllTableConfigTable.class.php

  • svn rm lib/model/doctrine/ullCorePlugin/base/BaseUllTableConfig.class.php

r1165, 1167

Added ullPhoto module to handle user photos

  • Add sfImageTransformPlugin to your plugins/ svn:externals:
  • Install php5-gd
    • sudo aptitude install php5-imagick
    • sudo apache2ctl restart
  • Enable ullPhoto module in apps/frontend/config/settings.yml under the key "enabled_modules":
    • enabled_modules:        [default, ullAdmin, ullCore, ullFlow, ullPhoto, ullTableTool, ullText, ullTime, ullUser, ullVentory, ullWiki]
    • php symfony cache:clear
  • Rebuild models

    • php symfony doctrine:build-model

  • Migration 047: add ullUser->photo column
    • php symfony doctrine:migrate

 

r1143, r1156

 

r1103

  • php symfony doctrine:migrate
    • Migration 043 remove old column config

r1099

  • Provide and migrate the custom "named" queries on the ullFlow index action.
    Reference: Changeset http://trac.ullright.org/changeset/1099
    • Remove apps/frontend/modules/ullFlow/lib/UllFlowCustomQueries.class.php
    • Add apps/frontend/modules/ullFlow/lib/ullNamedQueriesUllFlowCustom.class.php
    • Add apps/frontend/modules/ullFlow/lib/ullNamedQueryUllFlowXXX.class.php classes foreach named query

r1098

  • php symfony doctrine:migrate
    • Migration 041,042 ullflow sluggify

 

r1069

  • php symfony doctrine:migrate
    • Migration 040 re-added string metawidget

r1053

  • php symfony doctrine:migrate
    • Migration 038,039 -sluggify UllSelect and ullVentory

 

r1049

  • php symfony doctrine:migrate
    • Migration 037 - add item attribute options column

 

r1044, r1045

  • php symfony doctrine:migrate
    • Migration 035,036 - recreate foreign keys + register float widget

 

r1043

  • added to: apps/frontend/i18n/messages.de.xml
    "%value%" has too many decimal places (%max_decimals% max). "%value%" besitzt zuviele Nachkommastellen (max. %max_decimals%).

r1030

Add "web" symlinks

  • cd web
  • ln -s ../plugins/ullVentoryPlugin/web ullVentoryPlugin
  • svn add ullVentoryPlugin

Fix ullFlow documents (last action)

  • php symfony ullright:fix-ullflowdoc-action

 

 

r1016

  • php symfony doctrine:migrate
    • Migration 033,034 - added UllVentory dummy user and access check

 

r1003

  • php symfony doctrine:migrate
    • Migration 031,032 - add UllVentorySoftwareLicense columns supplier, comment and delivery_date

r996

To enable the new ullVentory module:

r821

  • Enable a performance improvment introduced in symfony 1.2.7
    Add to apps/frontend/config/settings.yml under the section all / .settings:
    •     # Cache settings 
          lazy_cache_key:         on        # Delays creation of a cache key until after checking whether an action or partial is cacheable 

r808

  • php symfony doctrine:migrate
    • Migration 020-025 - Wiki access levels

 

r781

  • added to: apps/frontend/i18n/messages.de.xml
    An object with the same "%column%" already exist. Dieser Wert muss eindeutig sein, ist aber bereits vergeben.

r771

  • added to: apps/frontend/i18n/messages.de.xml
    The date must be after %min%. Das Datum muss nach dem %min% liegen.

r770

  • php symfony doctrine:migrate
    • Migration 019 - Add percentage widget

 

r761

  • php symfony doctrine:migrate
    • Migration 017 - Drop Versionable tables (will delete scheduled updates and version history!)

    • Migration 018 - Add SuperVersionable tables, initial super-versions

r753

  • remove useless web/css/main.css
  • Provide a custom override css in web/css/custom_override.css.

r745

  • php symfony doctrine:migrate
    • Migration 016 - Add is_public flag to ullFlow

r740

  • added to: apps/frontend/i18n/messages.de.xml
    "%value%" is not an integer. "%value%" ist keine Ganzzahl.

r725

  • php symfony doctrine:migrate
    • Migration 015 - Made user superior field not mandatory

r720

  • php symfony doctrine:migrate
    • Migration 013 - add versioning (tables, columns)

    • Migration 014 - fake initial version for versioning objects

r709

  • apps/frontend/config/filter.yml
    • remove "refererFilter"

r706

  • apps/frontend/config/filter.yml: add new filter between security: ~ and i18n:
    • inactive_users:
        class: inactiveUserFilter

 

r705

  • php symfony doctrine:migrate
    • Migration 012 - add ullgroup cc

r700

  • php symfony doctrine:migrate
    • Migration 009 - add slug column to user status

    • Migration 010 - adjust user status id column, create status slugs, set default status to active

    • Migration 011 - add add_empty fields to some fk widgets

r696

  • php symfony doctrine:migrate
    • Migration 008 - add mass superior change permission

r695

  • php symfony doctrine:migrate
    • Migration 007 - add country widget, cc

 

r691

  • php symfony doctrine:migrate
    • Migration 006 - ullWiki Permissions

 

r690

  • php symfony doctrine:migrate

    • Migration 004 - add user status table, cc, ...

    • Migration 005 - add user status content (active, maternity leave, ...)

 

r687

  • php symfony doctrine:migrate

    • Migration 002 - adjust column config db_column_name length

    • Migration 003 - add user fields

      • add tables and keys

      • add user columns

      • add column configs

 

 

r683

  • php symfony doctrine:migrate

    • Migration 001 - add sex widget

      • add 'sex' column to ull_entity

      • add ullMetaWidgetSex to column types
      • add new column 'sex' for ullUser with type ullMetaWiget

 

r681

Since revision 681 ullright uses migrations.

Symfony expects the migration classes to live in lib/migration/doctrine, but since we store them in the ullCorePlugin, a symbolic link needs to be created.

 

  • cd lib/migration
  • rm doctrine -r
  • ln -s ../../plugins/ullCorePlugin/lib/migrations doctrine

 

r676

  • fix target of web/sf softlink:
    • ln -s ../plugins/ullCorePlugin/lib/vendor/symfony/data/web/sf/ sf
  • remove invalid softlinks in web/

r671

  • deleted web/js (old jquery + jquery ui)
  • (current versions are now in ullCore plugin and ullCore theme folders)

r670

  • rm config/doctrine/schema.yml.dist
  • Use (and customize) http://trac.ullright.org/browser/trunk/config/doctrine/schema.yml instead.
  • php symfony doctrine:build-model
  • Remove old model files
    • rm lib/model/doctrine/ullCorePlugin/UllEntity.class.php
    • rm lib/model/doctrine/ullCorePlugin/UllEntityTable.class.php
    • rm lib/model/doctrine/ullCorePlugin/base/BaseUllEntity.class.php

r669

  • added to: apps/frontend/i18n/messages.de.xml
    additional fix: the above trans-unit has a typo in the id, should be 3, not 2.
    
    Required. PflichtfeldInvalid. Ungültig

r659

  • remove svn:external property from "lib/vendor" directory
  • delete "lib/vendor/symfony"
  • change path to symfony libs in config/ProjectConfiguration.class.php
    • $sf_symfony_lib_dir = realpath(dirname(__FILE__) . '/../plugins/ullCorePlugin/lib/vendor/symfony/lib');

r653

  • ALTER TABLE `ullright_kfv_test`.`ull_entity` DROP FOREIGN KEY `ull_entity_ibfk_1`,
    DROP FOREIGN KEY `ull_entity_ibfk_2`;

r630

  • INSERT INTO ull_column_type (namespace,class,label,created_at,updated_at,creator_user_id,updator_user_id) VALUES ('ullCore', 'ullMetaWidgetDate', 'Date', now(), now(), 1, 1);

 

r628

  • ALTER TABLE `ull_flow_app` ADD `list_columns` VARCHAR(255) AFTER `slug`;

 

r609

ullCoreFixtures.yml

  • UllColumnType: add
    • string:
        class:     ullMetaWidgetLink
        label:     Link
        namespace: ullCore

 

ullFlowFixtures.yml

  • UllFlowColumnConfig: for ull_flow_column_config_helpdesk_subject: AND ull_flow_column_config_todo_subject added:
    • is_in_list: false