Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d0c67c0
fixed userform to show existed roles of the user
Jun 23, 2017
d11d2d3
Delete maven-wrapper.jar
igoz Jun 23, 2017
bb832fe
Delete maven-wrapper.properties
igoz Jun 23, 2017
68d6a10
rename, populated project's views, modified controllers and creators
Jun 23, 2017
08c7f7a
Merge branch 'Igor' of https://github.com/bremlin/3SProject into Igor
Jun 23, 2017
7b776b3
chanched saveOrUpdate user's mechanism
Jun 23, 2017
f16b1bd
unused imports
Jun 23, 2017
4d8af4f
activities and wbs entities
Jun 29, 2017
63eeede
project view
Jun 29, 2017
33ab7dc
first activities table
Jun 30, 2017
f8a9dea
fixed table grouping
Jul 3, 2017
e47595a
modified table, added ajax
Jul 5, 2017
6169293
Динамическое редактирование WBS
Jul 6, 2017
bf8e866
small fixes to user
Jul 7, 2017
bfc2b66
choosing js framework for datatables
Jul 19, 2017
ce288ed
test json
igoz Jul 20, 2017
cf812d5
new table
Jul 24, 2017
b28d58a
table fixes; smet's repositories and services
Jul 28, 2017
b258bf9
Merge remote-tracking branch 'origin/Igor' into Igor
Aug 1, 2017
3b3d7dc
smet json converter (not done)
Aug 1, 2017
ca5ea89
smet to json converter; smet grid populated
Aug 2, 2017
567f38c
project and smet loading
Aug 7, 2017
5404529
Загрузка смет в XML-формате
bremlin Aug 9, 2017
ba9f342
maintable fix
Aug 9, 2017
6ce742f
Merge branch 'sergey' into Igor
Aug 9, 2017
ddfe52a
upload xmlsmet from file and load in table
Aug 25, 2017
e1eb962
fixed header laoding from xml file
Aug 25, 2017
9ad301a
работа с link
Sep 11, 2017
1dc7cd2
работа с link
Sep 11, 2017
0f67fd8
save button and activityId + smrId in main table
Sep 11, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed .mvn/wrapper/maven-wrapper.jar
Empty file.
1 change: 0 additions & 1 deletion .mvn/wrapper/maven-wrapper.properties

This file was deleted.

1 change: 1 addition & 0 deletions json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"id":"7","projectObjectId":1,"name":"wbs2","code":"wbs_code2","parentId":0,"indexNumber":1,"cost":null,"w2ui":{"children":[{"id":"8","projectObjectId":1,"name":"wbs3","code":"wbs_code3","parentId":7,"indexNumber":1,"cost":null,"w2ui":{"children":[{"id":"9","projectObjectId":1,"name":"wbs4","code":"wbs_code4","parentId":8,"indexNumber":1,"cost":null,"w2ui":{"children":[{"id":"_14","projectObjectId":1,"name":"act_name4","code":null,"parentId":null,"indexNumber":null,"cost":5,"w2ui":null,"type":"act"}]},"type":"wbs"},{"id":"10","projectObjectId":1,"name":"wbs5","code":"wbs_code5","parentId":8,"indexNumber":1,"cost":null,"w2ui":{"children":[{"id":"_15","projectObjectId":1,"name":"act_name5","code":null,"parentId":null,"indexNumber":null,"cost":5,"w2ui":null,"type":"act"}]},"type":"wbs"},{"id":"_12","projectObjectId":1,"name":"act_name2","code":null,"parentId":null,"indexNumber":null,"cost":5,"w2ui":null,"type":"act"},{"id":"_13","projectObjectId":1,"name":"act_name3","code":null,"parentId":null,"indexNumber":null,"cost":5,"w2ui":null,"type":"act"}]},"type":"wbs"},{"id":"_11","projectObjectId":1,"name":"act_name1","code":null,"parentId":null,"indexNumber":null,"cost":5,"w2ui":null,"type":"act"}]},"type":"wbs"},{"id":"11","projectObjectId":1,"name":"wbs6","code":"wbs_code6","parentId":0,"indexNumber":1,"cost":null,"w2ui":null,"type":"wbs"}]
46 changes: 42 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<modelVersion>4.0.0</modelVersion>

<groupId>com.ibcon</groupId>
<artifactId>factage_web</artifactId>
<artifactId>sproject</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<packaging>war</packaging>

<name>factage_web</name>
<name>sproject</name>
<description></description>

<parent>
Expand All @@ -21,7 +21,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<start-class>com.ibcon.factage_web.FactageWebApplication</start-class>
<start-class>com.ibcon.sproject.SprojectWebApplication</start-class>
<java.version>1.8</java.version>
</properties>

Expand Down Expand Up @@ -109,6 +109,44 @@
<version>1.16.16</version>
<scope>provided</scope>
</dependency>

<!--XML-->
<dependency>
<groupId>org.jdom</groupId>
<artifactId>jdom2</artifactId>
<version>2.0.6</version>
</dependency>

<!--MathParser-->
<dependency>
<groupId>bsh</groupId>
<artifactId>bsh</artifactId>
<version>2.0b4</version>
</dependency>

<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.9.9</version>
</dependency>

<dependency>
<groupId>org.jadira.usertype</groupId>
<artifactId>usertype.core</artifactId>
<version>5.0.0.GA</version>
</dependency>


<dependency>
<groupId>com.fasterxml.jackson.jaxrs</groupId>
<artifactId>jackson-jaxrs-json-provider</artifactId>
<version>2.2.1</version>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId>
</dependency>
</dependencies>

<build>
Expand Down
148 changes: 0 additions & 148 deletions src/main/java/com/ibcon/factage_web/bootstrap/SpringJpaBootstrap.java

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.ibcon.factage_web;
package com.ibcon.sproject;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class FactageWebApplication {
public class SprojectWebApplication {

public static void main(String[] args) {
SpringApplication.run(FactageWebApplication.class, args);
SpringApplication.run(SprojectWebApplication.class, args);
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.ibcon.factage_web.configuration;
package com.ibcon.sproject.configuration;

import com.ibcon.factage_web.services.crud.role.RoleService;
import com.ibcon.factage_web.services.crud.role.RoleServiceImpl;
import com.ibcon.factage_web.services.crud.user.UserServiceCrud;
import com.ibcon.factage_web.services.crud.user.UserServiceCrudImp;
import com.ibcon.sproject.services.crud.role.RoleService;
import com.ibcon.sproject.services.crud.role.RoleServiceImpl;
import com.ibcon.sproject.services.crud.user.UserServiceCrud;
import com.ibcon.sproject.services.crud.user.UserServiceCrudImp;
import org.jasypt.util.password.StrongPasswordEncryptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand All @@ -21,8 +21,4 @@ public RoleService roleService() {
return new RoleServiceImpl();
}

@Bean
public UserServiceCrud userServiceCrud() {
return new UserServiceCrudImp();
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.ibcon.factage_web.configuration;
package com.ibcon.sproject.configuration;

import org.jasypt.springsecurity3.authentication.encoding.PasswordEncoder;
import org.jasypt.util.password.StrongPasswordEncryptor;
Expand All @@ -8,7 +8,6 @@
import org.springframework.context.annotation.Configuration;
import org.springframework.security.authentication.AuthenticationProvider;
import org.springframework.security.authentication.dao.DaoAuthenticationProvider;
import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;
import org.springframework.security.core.userdetails.UserDetailsService;
Expand Down Expand Up @@ -43,6 +42,7 @@ public DaoAuthenticationProvider daoAuthenticationProvider(PasswordEncoder passw

@Override
protected void configure(HttpSecurity http) throws Exception {
//TODO access to resources?
http.authorizeRequests().antMatchers("/").permitAll()
.antMatchers("/user*").hasAuthority("ADMIN")
.anyRequest().authenticated()
Expand All @@ -52,7 +52,7 @@ protected void configure(HttpSecurity http) throws Exception {
.logout().permitAll();
// http.authorizeRequests().antMatchers("/users/**").hasAuthority("ADMIN");

// http.csrf().disable();
http.csrf().disable();
http.headers().frameOptions().disable();
}

Expand Down
Loading