Skip to content

Commit

Permalink
cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Nov 30, 2022
1 parent a58e0cd commit dd3d27a
Show file tree
Hide file tree
Showing 395 changed files with 19,631 additions and 1,271 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ Thumbs.db
# Project specific
**/launcher

# Reference files from WS
_reference
8 changes: 3 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# How to contribute
WebSight Starter is a sample open-source project built on top of the Websight CMS Community Edition administered by the [Dynamic Solution](https://www.ds.pl/). We appreciate your interest and efforts to contribute to Websight Starter. See the [LICENSE](./LICENSE) licensing information and the [contributing](#contributor-license-agreement-cla) (CLA) information.

We highly appreciate your effort to contribute, but we recommend you [discuss](https://github.com/websight-io/starter/discussions) to a maintainer before spending a lot of time making a pull request that may not align with the project roadmap.
Typerefinery WebSight CMS Project.

## Feature Requests
Feature Requests by the community are highly encouraged. Feel free to [submit a new one](https://github.com/websight-io/starter/issues/new?assignees=&labels=&template=feature_request.md&title=).
Feature Requests by the community are highly encouraged. Feel free to [submit a new one](https://github.com/innovolve-ai/typerefinery-websight/issues/new?assignees=&labels=&template=feature_request.md&title=).

## Bugs
WebSight Starter is using [GitHub issues](https://github.com/websight-io/starter/issues) to manage bugs. We keep a close eye on them. Before filing a new issue, try to ensure your problem does not already exist.
Typerefinery WebSight CMS Project is using [GitHub issues](https://github.com/innovolve-ai/typerefinery-websight/issues) to manage bugs. We keep a close eye on them. Before filing a new issue, try to ensure your problem does not already exist.

## Code of Conduct
This project, and everyone participating in it, are governed by the [WebSight Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold it. Make sure to read the [full text](CODE_OF_CONDUCT.md) to understand which type of actions may or may not be tolerated.
Expand Down
1 change: 0 additions & 1 deletion NOTICE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
Luna contains assets not created by Dynamic Solutions that may have different license.

The base level of the repository is licensed under Apache 2.0. There are separate license files (LICENSE) for each directory which is restricted by different license.
40 changes: 3 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
[![CI](https://github.com/websight-io/starter/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/websight-io/starter/actions/workflows/ci.yml)
[![CI](https://github.com/innovolve-ai/typerefinery-websight/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/innovolve-ai/typerefinery-websight/actions/workflows/ci.yml)

# WebSight Starter
# Typerefinery WebSight CMS Project

WebSight Starter is a sample project built on top of the [Websight CMS Community Edition](https://www.websight.io/). It contains a demo page called _Luna_ built with [Howlite](https://github.com/websight-io/howlite) components.

## Playground

Set up a local on-demand environment with the released WebSight CMS CE Docker images by running:

```bash
curl https://www.websight.io/scripts/get.sh | sh
```

and then see the results on [localhost:8080/apps/websight/index.html/content::spaces](http://localhost:8080/apps/websight/index.html/content::spaces) (credentials are `wsadmin`/`wsadmin`).

![Luna screenshot](/assets/luna-screenshot.png "Luna screenshot")

For more details see our [Authoring Quick Start Guide](https://www.websight.io/docs/quick-start/).
This project is adapted from WebSight Starter.

## Development

Expand Down Expand Up @@ -58,26 +44,6 @@ docker compose up
## Contributing
Please read our [Contributing Guide](./CONTRIBUTING.md) before submitting a Pull Request to the project.

## Community support

To support us, you may follow the project at:

* feel free to star this repository, open [issues](https://github.com/websight-io/starter/issues), and start [discussions](https://github.com/websight-io/starter/discussions)
* [linkedin.com/company/websight-io/](https://www.linkedin.com/company/websight-io/)
* [twitter.com/websight_io](https://twitter.com/websight_io)

## Documentation
See our dedicated repository for the [WebSight CMS documentation](https://github.com/websight-io/docs), or view our documentation live:

- [User guide](https://www.websight.io/docs/quick-start/)
- [Developer guide](https://www.websight.io/docs/developers/quick-start/)

## License

WebSight Starter and [Howlite components](https://github.com/websight-io/howlite) are `open-source` with `Apache License 2.0` license.

WebSight CMS Community Edition is free to use for everyone ([terms of use](https://www.websight.io/terms-of-use/)).

## Deploy

To install application code to your local instance:
Expand Down
4 changes: 1 addition & 3 deletions application/backend/bnd.bnd
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
Sling-Bundle-Resources:\
/apps/luna,\
/apps/typerefinery
Sling-Bundle-Resources: /apps/typerefinery
36 changes: 30 additions & 6 deletions application/backend/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2022 Dynamic Solutions
Copyright (C) 2022 Typerefinery.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -19,13 +19,15 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>pl.ds.luna</groupId>
<artifactId>luna-application</artifactId>
<version>2.0.1-SNAPSHOT</version>
<groupId>io.typerefinery.websight</groupId>
<artifactId>typerefinery-application</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>luna-backend</artifactId>
<name>Luna: Backend</name>
<artifactId>typerefinery-backend</artifactId>
<name>Typerefinery: Backend</name>
<description>Contains application backend.</description>

<build>
<plugins>
Expand Down Expand Up @@ -58,10 +60,30 @@
</build>

<dependencies>

<dependency>
<groupId>pl.ds.websight</groupId>
<artifactId>websight-assets-core-api</artifactId>
</dependency>
<dependency>
<groupId>pl.ds.websight</groupId>
<artifactId>websight-pages-core-api</artifactId>
</dependency>
<dependency>
<groupId>pl.ds.howlite</groupId>
<artifactId>howlite-core</artifactId>
</dependency>

<!-- Other -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>

<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
Expand All @@ -83,6 +105,8 @@
<artifactId>org.osgi.annotation.versioning</artifactId>
</dependency>



<!-- TEST -->
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,20 @@
* limitations under the License.
*/

package pl.ds.luna.components.models;
package io.typerefinery.websight.components;

import org.apache.sling.api.resource.Resource;
import org.apache.sling.models.annotations.Model;
import pl.ds.howlite.components.models.TitleComponent;
public interface Grid {

Integer getSmColSize();

Integer getMdColSize();

Integer getLgColSize();

Integer getSmOffset();

Integer getMdOffset();

Integer getLgOffset();

@Model(adaptables = Resource.class)
public class NewDemo{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/*
* Copyright (C) 2022 Dynamic Solutions
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.typerefinery.websight.components;

import lombok.Builder;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@Builder
@RequiredArgsConstructor
public class GridImpl implements Grid {

private final Integer smColSize;

private final Integer mdColSize;

private final Integer lgColSize;

private final Integer smOffset;

private final Integer mdOffset;

private final Integer lgOffset;

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* Copyright (C) 2022 Dynamic Solutions
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.typerefinery.websight.components;

public interface Styled {

String[] getClasses();

}
Loading

0 comments on commit dd3d27a

Please sign in to comment.