GithubHelp home page GithubHelp logo

Comments (5)

racke avatar racke commented on July 28, 2024 2

I'll take a look where the information is kept and how it can be relayed to the new frontend.

from sympa.

racke avatar racke commented on July 28, 2024

The data sources information is kept in the configuration only as it seems. I will examined it further and check if there is a way to expose it from the 6.2. UI.

from sympa.

ikedas avatar ikedas commented on July 28, 2024

There are two types of parameters for inclusion: include_* (e.g. include_sql_query) and *_include (e.g. member_include).

The former allows setting of datasource in detail[1], like presented here. The latter allows restricted setting referring predefined templates[2].

On 6.2, the two above share code and configuration schema, however, settings for the former is stored in list config file while the latter is stored in separate *.incl files without UI access.

As an idea, I suggest they would be unified into single framework: separate *.incl files editable by UI.

from sympa.

dverdin avatar dverdin commented on July 28, 2024

I strongly agree with Soji. These two mechanisms are in fine the very same, though they provide different way to create inclusions.

Having separate *.incl files have many advantages which all amount to referential integrity:

  • simplicity for mass updates when not using list families (if the SQL host changes for example),
  • Smaller set of queries to maintain,
  • ability to transfer queries from to site level to virtual hosts, to families (in possible future), to list.

It also extends the delegation properties: you can easily delegate data source management to other users when using *.incl, as all the see are the parameters of a query without seeing the actual query or database host or password, etc.

We should simply improve the current *.incl edition (by giving proper form fields to setup the query parameters) and add an "edit" button that would switch to the actual query parameter edition, such as the the one Sandhose presented.

from sympa.

ikedas avatar ikedas commented on July 28, 2024

Code for data source was renewed on #693. What would be added to realize this FR?

from sympa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.