1. 25 Jan, 2015 5 commits
    • Jörg Richter's avatar
      4.4.3 Release · cd18f4cb
      Jörg Richter authored
      cd18f4cb
    • Jörg Richter's avatar
      Fix: display user account details (#742). · d4c5bf7d
      Jörg Richter authored
      When a User Account topic is revealed by clicking in the login-status pane its detail info is displayed in the detail panel.
      
      REST Client:
      
      one method has an additional `include_childs` parameter, boolean, optional. Default is `false`.
      {{{
      dm4c.restc.get_topic_by_value(key, value, include_childs)
      }}}
      
      The bug was introduced with DM 4.4 in conjunction with changed child topic loading.
      
      Thanks to Malte for reporting!
      
      Close #742.
      d4c5bf7d
    • Jörg Richter's avatar
      Webclient: do not add max_result_size (#741). · c82f0a20
      Jörg Richter authored
      The requests sent by the Webclient do not contain a "max_result_size=100" query parameter as this parameter is not supported anymore by the core anyway.
      
      Thanks to Malte for reporting!
      
      See #741.
      c82f0a20
    • Jörg Richter's avatar
      Fix display workspace info (#739). · a72d483a
      Jörg Richter authored
      When a Workspace topic is revealed via Workspace menu its detail info is displayed in the detail panel.
      
      Fixed in master branch.
      
      See #739
      a72d483a
    • Jörg Richter's avatar
      Bump version number to 4.4.3-SNAPSHOT · 81a1cb40
      Jörg Richter authored
      81a1cb40
  2. 20 Jan, 2015 1 commit
  3. 13 Jan, 2015 2 commits
    • Jörg Richter's avatar
      Webclient: fix comboboxes (#750). · 52891f53
      Jörg Richter authored
      See #750.
      52891f53
    • Jörg Richter's avatar
      Webclient: fix number fields (#750). · c4185114
      Jörg Richter authored
      The Webclient reads out input in "Number" fields properly as numbers.
      As a consequence numbers are properly serialized (as JSON numbers) and stored/retrieved as numbers.
      (Number handling was broken in DM 4.2 in the course of supporting aggregated Number child types.)
      
      Note: numbers are also properly handled when choosen/entered from/in a combobox (when defined via aggregation).
      
      Thank you, Malte, for reporting!
      
      You can test it in the "number-fix" branch.
      If it works for you I can release it as 4.4.2
      
      Webclient API
      
      1 new method in `TopicType` and `AssociationType`:
      {{{
      function is_number()
      }}}
      Returns true if the type's data type is "Number".
      
      1 changed method:
      {{{
      dm4c.render.form_element(...)
      }}}
      It can also be used to render text areas.
      
      1 changed method:
      {{{
      dm4c.render.form_element_function(form_element, page_model)
      }}}
      It takes a `page_model` as the 2nd parameter.
      
      See #750.
      c4185114
  4. 22 Nov, 2014 1 commit
  5. 21 Nov, 2014 3 commits
  6. 20 Nov, 2014 2 commits
  7. 12 Nov, 2014 1 commit
    • Jörg Richter's avatar
      Adapt POMs for deploying at Maven Central (#713). · f0448504
      Jörg Richter authored
      For deploying (a snapshot) at Maven Central:
      {{{
      mvn clean deploy -P release
      }}}
      Executable from DM home.
      
      Changes:
      * The `release` profile defines all modules to be deployed.
      * Moved <distributionManagement> from Parent POM to Global POM.
      * Set Global POM as the parent for both
          * Parent POM
          * Plugin Parent POM
      
      See #713.
      f0448504
  8. 06 Nov, 2014 2 commits
  9. 05 Nov, 2014 1 commit
  10. 28 Oct, 2014 5 commits
  11. 27 Oct, 2014 4 commits
  12. 15 Oct, 2014 1 commit
  13. 14 Oct, 2014 1 commit
    • Jörg Richter's avatar
      Webclient: create custom role types (#680). · 0019046b
      Jörg Richter authored
      To create a custom role type use the Create menu's new item "New Role Type".
      Enter a human-readable name and an URI.
      Every role type needs an URI. A default URI is provided automatically.
      
      Core Service API:
      
      - `createRoleType()` is a new method
      
      Webclient API:
      
      - do_create_role_type() is a new controller method
      - create_role_type() is a new storage method
      
      REST Client:
      
      - create_role_type() is a new method
      
      See #680.
      0019046b
  14. 12 Oct, 2014 1 commit
    • Jörg Richter's avatar
      Webservice: getAssocRelatedAssociations() (#707). · ff1dc7f5
      Jörg Richter authored
      The `Association`'s `getRelatedAssociations()` method is RESTful:
      {{{
      GET /core/association/{id}/related_assocs
      }}}
      Result is a 2-property object:
      {{{
      {
          "items": [      # array of associations (may be empty).
              ...
          ],
          "total_count": ...
      }
      }}}
      
      To filter the result the usual 4 traversal query parameters can be
      applied (all optional):
      {{{
      assoc_type_uri
      my_role_type_uri
      others_role_type_uri
      others_assoc_type_uri
      }}}
      
      The `include_childs` query parameter is supported as well.
      
      The Core's traversal API including its REST API is now fully orthogonal.
      
      See #707.
      ff1dc7f5
  15. 09 Oct, 2014 1 commit
    • Jörg Richter's avatar
      Core API: orthogonal traversal methods (#707). · 0486761e
      Jörg Richter authored
      `DeepaMehtaObject` base interface has 2 new methods:
      {{{
      RelatedAssociation getRelatedAssociation(String assocTypeUri,
                                               String myRoleTypeUri,
                                               String othersRoleTypeUri,
                                               String othersAssocTypeUri)
      
      ResultList<RelatedAssociation> getRelatedAssociations(String assocTypeUri,
                                                            String myRoleTypeUri,
                                                            String othersRoleTypeUri,
                                                            String othersAssocTypeUri)
      }}}
      Corresponding/similar methods are removed from the `Topic` and `Association` sub interfaces (see BREAKING CHANGES).
      This make the tranversal API more orthogonal. In particular the 2nd method can now be called on `Association` objects as well.
      
      `ResultList` has a new method:
      {{{
      void add(T item)
      }}}
      
      BREAKING CHANGES
      
      - `Association`'s `getRelatedAssociation()` method has a 4th parameter: `othersAssocTypeUri` (analog to `Topic`'s `getRelatedAssociation()` method)
      
      - `Topic`'s `getRelatedAssociations()` method returns a `ResultList` instead a `List` (analog to the `getRelatedTopics()` counterpart).
      
      Core Service API:
      
      - `getAssociations(String assocTypeUri)` returns a `ResultList` instead a `List` (analog to the `getTopics()` counterpart).
      
      Core REST API:
      
      - The `GET /core/topic/{id}/related_assocs` request (introduced 5 days ago) returns a `ResultList` instead a `List` (analog to the `/related_topics` counterpart), that is
      {{{
      {
          "items": [
              ...
          ],
          "total_count": ...
      }
      }}}
      instead the plain array.
      
      See #707.
      0486761e
  16. 03 Oct, 2014 2 commits
    • Jörg Richter's avatar
      Core: include_childs for association lists (#699). · 29264e45
      Jörg Richter authored
      All REST APIs: the Core's `JerseyResponseFilter` processes the `fetch_composite` query parameter also for Iterable<Association> responses.
      
      In particular this works for the `GET /core/topic/{id}/related_assocs` request (see #672, see #707).
      
      See #699.
      29264e45
    • Jörg Richter's avatar
      Webservice: getRelatedAssociations() (#707). · e58427cb
      Jörg Richter authored
      The `Topic`'s `getRelatedAssociations()` method is RESTful:
      {{{
      GET /core/topic/{id}/related_assocs
      }}}
      Result is an array of associations (may be empty).
      
      To filter the result set the usual 4 traversal query parameters can be applied (all optional):
      {{{
      assoc_type_uri
      my_role_type_uri
      others_role_type_uri
      others_topic_type_uri
      }}}
      
      Note: the `include_childs` query parameter is not yet supported.
      
      See #707.
      e58427cb
  17. 27 Sep, 2014 4 commits
    • Jörg Richter's avatar
      Distribution: fix building standard distro (#706). · 38646b7e
      Jörg Richter authored
      Building the DM Standard Distro works again (was broken 3 days ago).
      
      The distribution build files and config files are adapted to Pax Web and Felix 4.4
      
      See #706.
      38646b7e
    • Jörg Richter's avatar
      Fix HTTPS default configuration values (#448). · 956554e5
      Jörg Richter authored
      See #448.
      956554e5
    • Jörg Richter's avatar
      HTTPS configuration for Pax Web (#448). · 23c337ff
      Jörg Richter authored
      New config properties in global POM:
      
          `org.osgi.service.http.port.secure` -- The HTTPS port. Default is 8443.
      
          `org.osgi.service.http.secure.enabled` -- To enable HTTPS set this to `true`. Default is false.
      
          `org.ops4j.pax.web.ssl.keystore -- The path to the .keystore file.
      
          `org.ops4j.pax.web.ssl.password` -- The **Key Password** (as entered in the `keytool`).
      
          `org.ops4j.pax.web.ssl.keypassword` -- The **Keystore Password** (as entered in the `keytool`).
      
      Note the confusing wording of the 2 Pax Web password properties.
      
      For `keytool` usage to create a keystore and a key pair and a self-signed certificate see #295.
      
      See #448.
      23c337ff
    • Jörg Richter's avatar
      Parent POM: bump version number to 6. · edee6e91
      Jörg Richter authored
      The DM 4.4 standard modules depend on parent POM version 6 due to updated OSGi 5 and Jetty 8 dependencies, besides other (see commit 82d04a36).
      edee6e91
  18. 26 Sep, 2014 3 commits