Giter VIP home page Giter VIP logo

phpserver4odk's People

Contributors

jhulframework avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

phpserver4odk's Issues

Form validation

I don't see where the newly submitted forms are validated before they a stored.

The project is abandoned

I just discover this PHP implementation I was looking for and find out the latest commit on 1 oct 2018
=> Warning: This project is abandoned

Why?

Suggestion: turn into nextcloud plugin

Very nice to see an alternative aggregate server that should make it much easier and quicker to put up self hosted instances.

How about utilizing all the nice functionality a nextcloud installation would give you to run an php aggregate server as a plugin for it? That should also make multi-user support much easier to implement.

Fully implement OpenRosa Form Discovery API

Nice project!

I didn't check the code, but it seems that the OpenRosa Form Discovery API is not implemented. I only see a very old version that Aggregate supports for backwards compatibility (if I remember correctly) of ancient versions of ODK Collect. In ODK Aggregate the correct version is shown if you supply the special 'X-OpenRosa-Version: 1.0' header.

Ancient: curl https://opendatakit.appspot.com/formList
Correct: curl -H "X-OpenRosa-Version: 1.0" https://opendatakit.appspot.com/formList

I'd recommend doing the same as Ona and KoboToolbox and only implement the correct /formList, unless you need support for ancient ODK Collect versions, see e.g. https://kc.kobotoolbox.org/martijnr/formList. Note they show this listing even if the special header is not supplied - very helpful for data-collection-client developers such as myself.

Once this is implemented, I'd be happy to link your demo site with odk.enke.to, so you can view forms, and submit data, in the browser with Enketo. You'd just have to replace the demo forms with modern ones created with XLSForm/Pyxform (many of the ones currently hosted don't have the correct syntax, or have rather exotic syntax that is not supported (any longer) in Enketo).

Submitted form browsing on portal giving error

Hi,

I tested your code. The installation, download to collect, and upload a submission to server are all OK. However, when I try to view the submission on the portal, I am getting this error:

Jhul\Components\EX\Sys\Handlers\Debug
ERROR_NO_READ_ACCES to field "_modules\main\models\data\M::ik"
Error(Fatal) - 1
/var/www/required/odk/0.1/framework/jhul/Jhul/Components/Database/Store/Data/_Base.php:112

Can you help me out about what is going wrong?

Thanks,
Saad

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.