Code Monkey home page Code Monkey logo

jdesurvey's People

Contributors

dependabot[bot] avatar dhurlbut avatar jvasquez-github avatar loubala avatar mmakroume avatar mpoussard-github avatar seytar avatar soufianerafik-jd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jdesurvey's Issues

Issue in public survey

I'm a newbie and I followed exactly to the video to create a public survey.
I successfully created a URL but when another PC wants to filled up the survey, access denied error page always occur.
I think it was my lack in configuration setting and therefore please guide me how should i do?

compilation error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project jdsurvey-core: Compilation failure: Compilation failure:
[ERROR] /home/user/projects/JDeSurvey/jdsurvey-core/src/main/java/com/jd/survey/service/security/UserService.java:[34,60] package org.springframework.security.authentication.encoding does not exist
[ERROR] /home/user/projects/JDeSurvey/jdsurvey-core/src/main/java/com/jd/survey/service/security/UserService.java:[35,60] package org.springframework.security.authentication.encoding does not exist
[ERROR] /home/user/projects/JDeSurvey/jdsurvey-core/src/main/java/com/jd/survey/service/security/UserService.java:[71,25] cannot find symbol
[ERROR] symbol: class PasswordEncoder
[ERROR] location: class com.jd.survey.service.security.UserService
[ERROR] /home/user/projects/JDeSurvey/jdsurvey-core/src/main/java/com/jd/survey/service/security/UserService.java:[71,55] cannot find symbol
[ERROR] symbol: class ShaPasswordEncoder
[ERROR] location: class com.jd.survey.service.security.UserService
[ERROR] /home/user/projects/JDeSurvey/jdsurvey-core/src/main/java/com/jd/survey/service/security/UserService.java:[225,25] cannot find symbol
[ERROR] symbol: class PasswordEncoder
[ERROR] location: class com.jd.survey.service.security.UserService
[ERROR] /home/user/projects/JDeSurvey/jdsurvey-core/src/main/java/com/jd/survey/service/security/UserService.java:[225,55] cannot find symbol
[ERROR] symbol: class ShaPasswordEncoder
[ERROR] location: class com.jd.survey.service.security.User

SQL Populate Scripts no longer include table create statements

I tried to create the demo_survey schema as described in the video (after failing to find anyplace that described the schema to begin with, as I had tried to run the populate scripts and had it fail), and noticed in the video that the version of the populate script used for the video is distinctly different than what is currently on the site. The site only contains an update version - assuming the tables are already there and defined. It does not have the initial table create instructions. While I could reverse engineer it, I would greatly appreciate not having to. I recognize this has been dormant for some time, but am hoping someone can still provide the full SQL script.

Multilingual support

JD survey says it provide support for multilingualism but there is no way to create surveys with multilingual.

Create crosstabs or pivot tables?

Using this library, is it possible to create crosstabs or pivot tables?

I saw the statistics area but I could not see if its possible to examine one variable against another.

Does it work in Java 8 + Tomcat 8.5?

When building from sources and deploying to Tomcat 8.5 I get the following errors

15-Nov-2018 05:09:30.455 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: 
 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
	... and more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@d64cd8a]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
	... and more
Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@697b57ea]
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
	... and more
Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: error in opening zip file
	at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:142)
	... and more
Caused by: java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	... and more

15-Nov-2018 05:09:30.467 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method manageApp
 java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]]
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:756)
	... and more
15-Nov-2018 05:09:30.470 SEVERE [RMI TCP Connection(2)-127.0.0.1] org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method createStandardContext
 javax.management.RuntimeOperationsException: Exception invoking method manageApp
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:308)
	... and more
Caused by: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/admin]]
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:756)
	... and more

I updated pom.xml files to target Java 8 and I still get the same error.

<artifactId>maven-compiler-plugin</artifactId>
<configuration>
    <source>1.8</source>
    <target>1.8</target>
</configuration>

Little mistake

Hello, i was reading the source code for educational purposes, and I think there is a little mistake in the second if
class : JDeSurvey/jdsurvey-core/src/main/java/com/jd/survey/domain/security/User.java
method : public String getFullName()
well yeah, i dont have a life xD

Please consider adjusting license type

The current license type is not allowed by many companies. I think this project would get more traction if it was switched over to something like Apache 2. Modifications are usually necessary within enterprises and hence will prohibit license types like AGPLv3.

Thank you

PostgreSQL usage

After connection of JDeSurvey to the PostgreSQL database I still have issues with two tables. It's global_settings and velocity_templates. After I imported data, seeing the such errors in log:

For global_settings:
DEBUG 2018-10-16 13:42:04,834 [http-bio-8080-exec-3] (org.apache.tiles.impl.BasicTilesContainer:615) [render] - Render request recieved for definition 'settings/globalSettings/show' DEBUG 2018-10-16 13:42:04,843 [http-bio-8080-exec-3] (com.atomikos.diagnostics.Slf4jConsole:88) [println] - getCompositeTransaction() returning NULL! DEBUG 2018-10-16 13:42:04,843 [http-bio-8080-exec-3] (com.atomikos.diagnostics.Slf4jConsole:88) [println] - getCompositeTransaction() returning NULL! DEBUG 2018-10-16 13:42:04,852 [http-bio-8080-exec-3] (org.apache.tiles.impl.BasicTilesContainer:615) [render] - Render request recieved for definition 'uncaughtException'

For velocity_template:

Caused by: org.postgresql.util.PSQLException: Bad value for type long : <html><body><h2>Invitation</h2><p>Hi ${full_name};</p><p>You have been invited to participate in the folllowing survey:<br />Survey: ${survey_name}<br /><br />To participate please click on the following link:</p><p>${survey_link}</p></body></html> at org.postgresql.jdbc.PgResultSet.toLong(PgResultSet.java:2869) at org.postgresql.jdbc.PgResultSet.getLong(PgResultSet.java:2093) at org.postgresql.jdbc.PgResultSet.getClob(PgResultSet.java:459) at org.postgresql.jdbc.PgResultSet.getClob(PgResultSet.java:445) at org.apache.commons.dbcp.DelegatingResultSet.getClob(DelegatingResultSet.java:568) at org.apache.commons.dbcp.DelegatingResultSet.getClob(DelegatingResultSet.java:568) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.hibernate.engine.jdbc.internal.proxy.AbstractResultSetProxyHandler.continueInvocation(AbstractResultSetProxyHandler.java:104) ... 122 more ERROR 2018-10-16 13:35:30,559 [http-bio-8080-exec-10] (com.jd.survey.web.settings.SurveyDefinitionController:1198) [handleRuntimeException] - java.lang.RuntimeException: javax.persistence.PersistenceException: org.hibernate.exception.DataException: Bad value for type long : <html><body><h2>Invitation</h2><p>Hi ${full_name};</p><p>You have been invited to participate in the folllowing survey:<br />Survey: ${survey_name}<br /><br />To participate please click on the following link:</p><p>${survey_link}</p></body></html>
Does somebody faced with this issue? Trying to resolve it.

Issue while running web-app

org.springframework.beans.factory.BeanDefinitionStoreException:
IOException parsing XML document from URL [file:/JDESURVEY/xml/external/service-context.xml];

nested exception is java.io.FileNotFoundException: \JDESURVEY\xml\external\service-context.xml (The system cannot find the path specified)

getting this issue for all xml configuration with file:/ prefix
I already tried giving my local computer's path and I am getting error that "System can not open specified xml file"

Impossible to generate a war

Hi,
I just downloaded the ZIP of code source from the git repo but impossible on Eclipse to generate a WAR. Do you have tips or can you help ?

Thank you,

PostgreSQL integration

We're using JDeSurvey and have desire to migrate database from MySQL to PostgreSQL, but there is no settings for such database source in options file. Is this migration possible at all?

Can't access the webapp

So I can't seem to access the webapp from localhost. I changed tomcat's port when i first configured it to 8181. I didn't change the config file. I followed the video instructions but when I tried to access it using http://localhost:8080 it said localhost refused to connect. Tomcat and MySQL both seem to be working by the way. I also checked JDE survey and i found no logs created if it helps.

no menu show

To create a new survey or finish a previously created survey please click on the on the icon on the right for the survey of interest. If the survey of interest is not in the list below please contact the system administrator and request access.
Your account was not granted access to any surveys, please contact the system administrator to request access.

Don't know how to install

I've tried following the video tutorial (even though my server is Linux Redhat) but I have several issues. First of all, https://github.com/JD-Software/JDeSurvey/wiki/Download-and-Installation claims to go to https://www.jdsoft.com/jdesurvey and download JDeSurvey-1.0.0.zip, but the site is down (404).

I've tried cloning the git project, but I can't make heads or tails as the contents of the package doesn't match the contents of the package shown in the video.

Any pointers? any updated docs in text form?

Thank you.

LDAP integration

Also would be very cool if authorization could be sourced from LDAP server

Error generating statistics

I want several people to complete a single survey, after registering the searches when I try to generate the statistic generates an error : Sorry, we encountered an internal error.

17-Jan-2019 09:57:18.195 SEVERE [http-nio-8084-exec-204] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet jsp threw exception
java.lang.NumberFormatException: For input string:

Tried to create survey definition from admin

javax.servlet.jsp.JspTagException: No message found under code 'isAutoReminderEnabled_tip' for locale 'en_US'.
at org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:184)
at org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:79)
at org.apache.jsp.WEB_002dINF.views.settings.surveyDefinitions.create_jspx._jspx_meth_spring_005fmessage_005f29(create_jspx.java:1862)

Spring Secrity

Where are the spring authentication methods written in source code. i need to integrate it with another application and bypass it's own spring security features.

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.