Skip to content

Commit

Permalink
Add Default configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Jump committed Jan 29, 2020
1 parent cf754fa commit 8c284c8
Show file tree
Hide file tree
Showing 4 changed files with 171 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# uSync.Complete.Issues
Public Issue tracker for uSync.Complete
This is the public Issue tracker for uSync.Complete

uSync.Complete consists of :

Expand All @@ -9,8 +9,8 @@ uSync.Complete consists of :
- uSync.Publisher
- uSync.Audit

**If you have a issue / feature request for one of these tools you are in the right place**
**If you have an issue/feature request for one of these tools you are in the right place**

[Go to the Issues tab to submit an issue or feature request](https://github.com/KevinJump/uSync.Complete.Issues/issues)

for issues for the core uSync 8 tools (uSync & uSync.ContentEdition) head over to the main [uSync Repo](https://github.com/KevinJump/uSync8)
For issues for the core uSync 8 tools (uSync & uSync.ContentEdition) head over to the main [uSync Repo](https://github.com/KevinJump/uSync8)
3 changes: 3 additions & 0 deletions configs/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Default uSync configs.

This directory contains a copy of the default configs - when uSync.Complete is installed. Should you need a reference.
102 changes: 102 additions & 0 deletions configs/uSync.Publish.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
<?xml version="1.0" encoding="utf-8" ?>
<uSyncPublisher
incomingEnabled="false"
outgoingEnabled="true" >

<!-- incomingEnabled - means this server can be pushed to -->
<!-- outgoingEnabled - means this server can push content out -->

<!-- optional - identify this server, It just allows you to
know what box you are on (and it removes it from the send to list)
can also be overridden with appSettings key
<add key="uSync:Server" value="[serverAlias] />
-->
<server>Live</server>

<!-- authentication keys for this server:
they must match what other servers send this server
Can also be overridden with appSettings key
<add key="uSyncPublish:AppId" value="AppId" />
<add key="uSyncPublish:AppKey" value="AppKey />
Id/Key generation will be generated first time you
look at the settings (and they are blank)
-->

<!-- Restart the Application after changing these values! -->
<appId></appId>
<appKey></appKey>

<!-- standard options for whats sent across to a server
- values are yes, no, user-yes, user-no
- user- values are shown at send time
- can be set per server too
-->

<!-- include the parents of the node -->
<includeAncestors>no</includeAncestors>

<!-- include any template files required -->
<includeFiles>no</includeFiles>

<!-- include the children of this node -->
<includeChildren>user-yes</includeChildren>

<!-- include any media items required for the content -->
<includeMedia>user-yes</includeMedia>

<!-- include content linked to from this content -->
<includeLinked>no</includeLinked>

<!-- include things like required doctypes, datatypes -->
<includeDependencies>no</includeDependencies>

<!-- include media files as part of any sync -->
<!-- this one is redundant at the moment, as media files are always checked
as part of a media sync -->
<!-- so its not in the UI -->
<includeMediaFiles>no</includeMediaFiles>

<!-- delete items from the server not send in the sync (only for folders of items)-->
<deleteMissing>user-yes</deleteMissing>

<!-- / end send settings -->

<!-- the groups you need to be in to send (this is all, can be per server) -->
<groups>admin,editor</groups>

<handlerSet>publisher</handlerSet>

<!-- extra folders to check when including files in a sync -->
<additionalFolders>~/views,~/css,~/scripts</additionalFolders>

<servers>

<!-- example site -->
<server alias="development" enabled="true" url="[https://my.devserver.url/umbraco]" showSelf="false" pullEnabled="true">
<name>Development</name>
<icon>icon-lab color-blue</icon>
<description>Development Server</description>
<includeDependencies>user-yes</includeDependencies>
<includeFiles>user-yes</includeFiles>
<includeLinked>no</includeLinked>
<includeAncestors>no</includeAncestors>
</server>
<!-- you can leave appId and appKey blank, and the global ones
will be used for all communications or you can have
a diffrent appId/Key for each server
-->
<!--
<server alias="Live"
url="http://localhost:56789/umbraco"
enabled="true">
<appId>ec62e1f9-b5e2-4b65-ad78-6ff58d6faee0</appId>
<appKey>Zaprs7hO0fjAOX+8LfS1UIoIDlwnSnKoNK/ItnpbFOc=</appKey>
</server>
-->
</servers>
</uSyncPublisher>
63 changes: 63 additions & 0 deletions configs/uSync8.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<uSync>
<BackOffice>
<Folder>~/uSync/v8/</Folder>
<FlatFolders>True</FlatFolders>
<ImportAtStartup>False</ImportAtStartup>
<ExportAtStartup>False</ExportAtStartup>
<ExportOnSave>True</ExportOnSave>
<UseGuidFilenames>True</UseGuidFilenames>
<BatchSave>False</BatchSave>
<ReportDebug>False</ReportDebug>
<!-- extensions -->
<Exporter>
<!-- by default we don't include Templates in our dependencies -->
<IncludeTemplates>false</IncludeTemplates>
<!-- by default we turn off the existing 'export' options -->
<DisableExistingMenuItems>true</DisableExistingMenuItems>
</Exporter>
<Snapshots>
<Snapshots>views,css,scripts</Snapshots>
</Snapshots>
<HandlerSets default="default">
<Handlers Name="default">
<Handler Alias="dataTypeHandler" Enabled="true" Actions="All" />
<Handler Alias="languageHandler" Enabled="true" Actions="All" />
<Handler Alias="macroHandler" Enabled="true" Actions="All" />
<Handler Alias="mediaTypeHandler" Enabled="true" Actions="All" />
<Handler Alias="memberTypeHandler" Enabled="true" Actions="All" />
<Handler Alias="templateHandler" Enabled="true" Actions="All" />
<Handler Alias="contentTypeHandler" Enabled="true" Actions="All" />
<Handler Alias="contentHandler" Enabled="true" Actions="All" />
<Handler Alias="contentTemplateHandler" Enabled="true" Actions="All" />
<Handler Alias="dictionaryHandler" Enabled="true" Actions="All" />
<Handler Alias="domainHandler" Enabled="true" Actions="All" />
<Handler Alias="mediaHandler" Enabled="true" Actions="All" />
<Handler Alias="memberHandler" Enabled="true" Actions="All" />
<Handler Alias="memberGroupHandler" Enabled="true" Actions="All" />
<Handler Alias="userHandler" Enabled="true" Actions="All" />
<Handler Alias="userGroupHandler" Enabled="true" Actions="All" />
</Handlers>

<Handlers Name="publisher">
<Handler Alias="dataTypeHandler" Enabled="true" Actions="All" />
<Handler Alias="languageHandler" Enabled="true" Actions="All" />
<Handler Alias="macroHandler" Enabled="true" Actions="All" />
<Handler Alias="mediaTypeHandler" Enabled="true" Actions="All" />
<Handler Alias="memberTypeHandler" Enabled="true" Actions="All" />
<Handler Alias="templateHandler" Enabled="true" Actions="All" />
<Handler Alias="contentTypeHandler" Enabled="true" Actions="All" />
<Handler Alias="publishedContentHandler" Enabled="true" Actions="All" />
<!-- <Handler Alias="contentHandler" Enabled="true" Actions="All" /> -->
<Handler Alias="contentTemplateHandler" Enabled="false" Actions="All" />
<Handler Alias="dictionaryHandler" Enabled="true" Actions="All" />
<Handler Alias="domainHandler" Enabled="true" Actions="All" />
<Handler Alias="mediaHandler" Enabled="true" Actions="All" />
<Handler Alias="memberHandler" Enabled="false" Actions="All" />
<Handler Alias="memberGroupHandler" Enabled="false" Actions="All" />
<Handler Alias="userHandler" Enabled="false" Actions="All" />
<Handler Alias="userGroupHandler" Enabled="false" Actions="All" />
</Handlers>
</HandlerSets>
</BackOffice>
</uSync>

0 comments on commit 8c284c8

Please sign in to comment.