[dokuwiki] advice for developpment

  • From: Lorenzo Bernardi <lorenzo.bernardi@xxxxxxxxxxx>
  • To: "dokuwiki@xxxxxxxxxxxxx" <dokuwiki@xxxxxxxxxxxxx>
  • Date: Tue, 3 Jan 2017 21:27:32 +0100

Hello and happy new year to all,

   we are using dokuwiki as a logbook for experimental setup. That is
user after doing an experiment on a machine should record what they
have done to keep a trace and for some analysis and accounting. We have
different machines and so different form that were created using the
bureaucracy plugin and store in a sqlite3 database using the data
plugin. We are thinking of some improvements and we don't know what
would be the best choice. We don't have a lot of php knowledge but
depending on the response we might take time to gain some knowledge.

One of the field that is needed for all experiment is the user and this
thanks to the authentication module and the bureaucracy plugin is
already available.

One other field is the project for which the experiment was made. The
project depends on the user. For now we have a list but it has to be
modified by hand for all the form that are in the dokuwiki. Can we store
a list of all the projects in a variable that can be used for all the
forms? or better can we set a variable per user?

One of the feature we have implemented with a workaround is to pre fill
the form by parsing a file. Some experiments use a recipe file or
produce a log that we can parse and upload to the form. For now it is
down by calling a url which is a django app that parses the file and
produce a url with POST variables that fill the forms (may be I'm not
clear here so if you need more explanation I can answer). This feature
is a key feature because it simplifies the input and so we have less
errors than if filled by hand. So the questions are is there a way to
make it already? Should we extend the bureaucracy plugin or rethink a
new plugin? I don't know if this would be easier but I was wondering if
you couldn't use a javascript code to parse the file and preload the
data. But here I'm not sure it would be simpler. One of our problem is
that some experiments are performed on several samples and we would like
to get a form for each sample. So any idea here would be welcome.

A third point is that we would like user to perform queries in the
database by themselves is it possible to do this already?

Thank you for your attention

Sincerely,

L.


PS sorry if I submitted twice this email since I don know if my first try 
succeeded or not

--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: