Giter Site home page Giter Site logo

kohsah / bungeni-exist Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 20.91 MB

The eXist XML Db is used as a repository for AkomaNtoso documents by Bungeni. Bungeni is a suite of applications that provide a solution for drafting, managing, consolidating and publishing legislative and other parliamentary documents. It aims to increase the efficiency of parliamentary activities and make Parliaments more open and accessible to citizens -- virtually allowing them “inside the Parliament” or Bungeni, the Kiswahili word for “inside the Parliament”. Bungeni deals with the growing and challenging demands of increasing the efficiency of parliamentary activities and at the same time enabling Parliaments become more open to the citizens to foster accessibility, transparency and accountability of parliamentary activities.

XQuery 38.66% XSLT 30.73% Java 1.65% HTML 3.16% CSS 9.33% JavaScript 11.39% Shell 0.13% Python 4.95% Groovy 0.01%

bungeni-exist's People

Contributors

adamretter avatar kohsah avatar ooduor avatar sweru avatar toolzinho avatar

Watchers

 avatar

bungeni-exist's Issues

Add workflow button not working

What steps will reproduce the problem?
1.add a new type
2.add a form for the type
3.add a workflow for the type

What is the expected output? What do you see instead?

the add workflow screen must be shown, but nothing appears

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 8 Aug 2014 at 10:20

Bungeni message strings and message Ids

We the case of translating literal strings on the XML portal -- i.e. the field 
labels. 

We have different kinds of message strings in the XML UI -- 

 1- the ones coming in html templates (these could be translated in place - by having different templates for different languages ) - and could also be scripted out by having placeholders for literal strings. This is easy to implement.

 2- there are literal strings that could be "shared" with bungeni . e.g. a question is entered in the bungeni workspace and also displayed in the bungnei workspace. There are message strings shown there rendered from Zope .po files. These could be used in eXist by converting the PO to xml and using the message ids as placeholders.  This is relatively more dificult to implement.


Original issue reported on code.google.com by [email protected] on 28 Oct 2011 at 1:44

appcontroller.xqm - route mapping action factor into configuration

currently appcontroller.xqm maps route paths to xquery actions. 

however there is a duplication here of code - the router path is repeated in 
ui-config.xml 

e.g. 
 <route href="/higher_house/question-version/text">
            <title>Business | Question Version Text</title>
            <navigation>/higher_house/business</navigation>
            <subnavigation>questions</subnavigation>
        </route>

and in appcontroller.xqm :

    else if ($CHAMBER-REL-PATH eq "/question-version/text" )
             then 
                   (: execute action :)
         ....


TO DO : map action into route configuration via a specific action 
configuration, and deprecate appcontroller.xqm: 

e.g. 
 <route href="/higher_house/question-version/text">
            <title>Business | Question Version Text</title>
            <navigation>/higher_house/business</navigation>
            <subnavigation>questions</subnavigation>
            <action>rou:get-question-version-text</action>
        </route>

Original issue reported on code.google.com by [email protected] on 6 Apr 2013 at 8:50

Rich Text content fields need to be safely unescaped

There are some fields (e.g. body_text) whose content is escaped html.

For these fields to be safely transported over into eXist they need to be 
unescaped + "tidy"-ed -- since unescaping does not guarantee that the html is 
clean since its user entered content.

To do:

Add a post-processing step to the transformer to unescape and cleanup specified 
fields.

Original issue reported on code.google.com by [email protected] on 28 Oct 2011 at 1:39

Search Implementation

The search implementation is described below.

1) Search configuration -- 

 * The search configuration must describe what fields are searchable on a content type. e.g. for a motion we should be able to specify  e.g.

<searchins>
    <searchin value="title" field="bu:shortName">Title</searchin>
    <searchin value="body" field="bu:body">Body</searchin>
    <searchin value="docno" field="bu:registryNumber">Doc No.</searchin>
</searchins>

which states that the title, body and docno are searchable.

value - is a short-identifier 
field - is the specific element / or attribute that we want to search for
the text in the element is the literal shown to the user.

the information in field is used to build the search query on the document 
dynamically. This is then eval-ed into a full-text search query.

2) Search behavior -- 

 - Search results must look like listings
 - Search results must be ordered based on the order-by parameter.

Logically the ordering should also be included in the search query eval, but 
this can be implemented separately. 





Original issue reported on code.google.com by [email protected] on 30 Nov 2011 at 2:54

Paging implementation UI

The paging implementation currently displays ALL the individual pages as links.

However when the number of pages exceeds 15 pages, the UI becomes unmanageable 
i.e. too many links. 

TO DO :

 implement a scaled pager ,one that shows the first 6-7 pages and then shows links to access the next pages (or the previous 7 pages ) and also the first and last page.

Original issue reported on code.google.com by [email protected] on 14 Nov 2011 at 2:17

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.