Skip to content

Commit

Permalink
the first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
alegauss committed Jul 30, 2019
0 parents commit 1379f0a
Show file tree
Hide file tree
Showing 1,090 changed files with 235,581 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="bin/main" path="src/main/java">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/test" path="src/test/java">
<attributes>
<attribute name="gradle_scope" value="test"/>
<attribute name="gradle_used_by_scope" value="test"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/main" path="src/main/resources">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/main/resources/public/js/dist linguist-vendored
src/main/resources/public/css linguist-vendored
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
*.class

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.war
*.ear

/.vscode
/.settings
/.project
/volumes

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
/bin/
/target/
/store/
/.gradle/
/logs/
/build/
/backup/
src/main/resources/js/client-side/build
/nashorn_code_cache
.sts4-cache
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/main/resources/ui"]
path = src/main/resources/ui
url = https://github.com/ShioharaCMS/shiohara-ui.git
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: java
sudo: false
dist: trusty
jdk:
- oraclejdk8
addons:
sonarcloud:
organization: "alegauss-github"
token:
secure: ${SONAR_TOKEN}
script:
- ./gradlew check
- sonar-scanner
after_success:
- bash <(curl -s https://codecov.io/bash)
94 changes: 94 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
## 0.3.5

#### NEW FEATURES


#### IMPROVEMENTS


## 0.3.4 (March 04, 2019)

#### NEW FEATURES
* Multi Select Widget
* Export/Import MultiSelect (ArrayValue)
* Banner: App Version and Color
* Export Post Types from Post Type Page Layout as dependency
* Sortable for Relator
* Javascript: shObject.getRelation()
* Kubernetes: Deployments files

#### IMPROVEMENTS
* Reference JSON and it shows Javascript Code error into logs
* Delete old reference before update Post
* Turing Integration: Index using SNJob
* Reference Refactory
* Import Relator with postion
* FolderMap (JS)
* Unwrap sh-region
* Removed UI Local Files, using submodule shiohara-ui
* Removed MongoDB
* Spring Boot 2.1.3 and Gradle 5.2.1

## 0.3.3 (January 04, 2019)

#### NEW FEATURES
* Turing Semantic Navigation Settings into Post Type
* Turing Semantic Navigation Search
* Searchable Post Types
* Turing Integration: Deindexing Content
* Docker Compose

#### IMPROVEMENTS
* Sites Context: UTF-8 Encoding
* Download Site Button into Object List View
* Spring Boot 2.1.1 and Gradle 5.1

## 0.3.2 (August 27, 2018)

#### NEW FEATURES
* MongoDB
* Show content files from /sites URL: Response file with mime type
* E-Commerce: reCAPTCHA Field Type
* E-Commerce: Payment Field Type
* E-Commerce: Payment Types and Settings
* Viglet Turing Integration: Indexing Posts in Semantic Navigation
* InContext Editing using Float Menu to Regions
* Site Form: Create Forms into Site and save as Posts into Shiohara CMS
* Combo Box Field Type
* Hidden Field Type
* Form Configuration Field Type

#### IMPROVEMENTS
* Spring Boot 2.0.4 and Gradle 4.9

## 0.3.1 (July 06, 2018)

#### NEW FEATURES
* Site Template: Create a new site using template
* Clone Site: Clone a site with different Ids.
* In-Context Editing: New toolbar in Preview Site, that allows edit the content directly.
* Default Folder Page Layout: Create a empty Folder using default Page Layout.

#### IMPROVEMENTS
* Spring Boot 2.0.3 and Gradle 4.8.1

## 0.3.0 (June 23, 2018)

#### NEW FEATURES
* Relator: Create fields as children of parent field.
* Sort: Drag and Drop Folders and Posts to reorder into /content, this change will reflect Navigation and Query Component order.

#### IMPROVEMENTS
* New Post Type Editor: Edit Fields of Post Types in same window without pop up. Using accordion component encapsulate entire fields details.

## 0.2.0 (May 4, 2018)

#### NEW FEATURES
* Search: You can search for objects into /content
* Content Select Widget: Create a Post Type field that allows elect some post
* File Widget: Create a Post Type field that allows select some File

#### IMPROVEMENTS
* Unit Test
* Using H2 instead of HSQL
* Removed GlobalId because Posts, Folders and Sites Ids are unique
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at opensource@viglet.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
17 changes: 17 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
![banner_shiohara.jpg](https://openviglet.github.io/ocean/img/banner_shiohara.jpg)
# Contributing guidelines

## How to become a contributor and submit your own code

### Contributing code

If you have improvements to Viglet Shiohara, send us your pull requests! For those
just getting started, Github has a [howto](https://help.github.com/articles/using-pull-requests/).

If you want to contribute but you're not sure where to start, take a look at the
[issues with the "contributions welcome" label](https://github.com/openshio/shiohara/labels/stat%3Acontributions%20welcome).
These are issues that we believe are particularly well suited for outside
contributions, often because we probably won't get to them right now. If you
decide to start on an issue, leave a comment so that other people know that
you're working on it. If you want to help out, but not alone, use the issue
comment thread to coordinate.
27 changes: 27 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
FROM openjdk:8-jdk as shioharabuild
WORKDIR /app
COPY . .
RUN ./gradlew build

FROM openjdk:8-jre-alpine
WORKDIR /app
ENV JAVA_OPTS=${JAVA_OPTS:-'-Xmx512m'}
ENV DEBUG_OPTS=${DEBUG_OPTS}
ENV PORT=${PORT:-2710}

RUN adduser -D -g '' java

RUN sh -c 'mkdir -p /app/store'

COPY --from=shioharabuild /app/build/libs/viglet-shiohara.jar /app/app.jar
RUN sh -c 'touch /app/app.jar'
RUN sh -c 'chown -R java /app'

VOLUME /tmp
VOLUME /app/store

USER java

EXPOSE ${PORT:-2710}

CMD java ${JAVA_OPTS} ${DEBUG_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /app/app.jar
3 changes: 3 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Expected behavior and actual behavior.
### Steps to reproduce the problem.
### Specifications like the version of the project, operating system, or hardware.
Loading

0 comments on commit 1379f0a

Please sign in to comment.