Skip to content
This repository was archived by the owner on Jan 9, 2019. It is now read-only.

Commit 530624f

Browse files
committed
Initial commit
0 parents  commit 530624f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+6566
-0
lines changed

.gitattributes

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.gitignore

+175
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.sln.docstates
8+
9+
# Build results
10+
[Dd]ebug/
11+
[Dd]ebugPublic/
12+
[Rr]elease/
13+
x64/
14+
build/
15+
bld/
16+
[Bb]in/
17+
[Oo]bj/
18+
19+
# MSTest test Results
20+
[Tt]est[Rr]esult*/
21+
[Bb]uild[Ll]og.*
22+
23+
#NUNIT
24+
*.VisualState.xml
25+
TestResult.xml
26+
27+
# Build Results of an ATL Project
28+
[Dd]ebugPS/
29+
[Rr]eleasePS/
30+
dlldata.c
31+
32+
*_i.c
33+
*_p.c
34+
*_i.h
35+
*.ilk
36+
*.meta
37+
*.obj
38+
*.pch
39+
*.pdb
40+
*.pgc
41+
*.pgd
42+
*.rsp
43+
*.sbr
44+
*.tlb
45+
*.tli
46+
*.tlh
47+
*.tmp
48+
*.tmp_proj
49+
*.log
50+
*.vspscc
51+
*.vssscc
52+
.builds
53+
*.pidb
54+
*.svclog
55+
*.scc
56+
57+
# Chutzpah Test files
58+
_Chutzpah*
59+
60+
# Visual C++ cache files
61+
ipch/
62+
*.aps
63+
*.ncb
64+
*.opensdf
65+
*.sdf
66+
*.cachefile
67+
68+
# Visual Studio profiler
69+
*.psess
70+
*.vsp
71+
*.vspx
72+
73+
# TFS 2012 Local Workspace
74+
$tf/
75+
76+
# Guidance Automation Toolkit
77+
*.gpState
78+
79+
# ReSharper is a .NET coding add-in
80+
_ReSharper*/
81+
*.[Rr]e[Ss]harper
82+
*.DotSettings.user
83+
84+
# JustCode is a .NET coding addin-in
85+
.JustCode
86+
87+
# TeamCity is a build add-in
88+
_TeamCity*
89+
90+
# DotCover is a Code Coverage Tool
91+
*.dotCover
92+
93+
# NCrunch
94+
*.ncrunch*
95+
_NCrunch_*
96+
.*crunch*.local.xml
97+
98+
# MightyMoose
99+
*.mm.*
100+
AutoTest.Net/
101+
102+
# Web workbench (sass)
103+
.sass-cache/
104+
105+
# Installshield output folder
106+
[Ee]xpress/
107+
108+
# DocProject is a documentation generator add-in
109+
DocProject/buildhelp/
110+
DocProject/Help/*.HxT
111+
DocProject/Help/*.HxC
112+
DocProject/Help/*.hhc
113+
DocProject/Help/*.hhk
114+
DocProject/Help/*.hhp
115+
DocProject/Help/Html2
116+
DocProject/Help/html
117+
118+
# Click-Once directory
119+
publish/
120+
121+
# Publish Web Output
122+
*.[Pp]ublish.xml
123+
*.azurePubxml
124+
125+
# NuGet Packages Directory
126+
packages/
127+
## TODO: If the tool you use requires repositories.config uncomment the next line
128+
#!packages/repositories.config
129+
130+
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
131+
# This line needs to be after the ignore of the build folder (and the packages folder if the line above has been uncommented)
132+
!packages/build/
133+
134+
# Windows Azure Build Output
135+
csx/
136+
*.build.csdef
137+
138+
# Windows Store app package directory
139+
AppPackages/
140+
141+
# Others
142+
sql/
143+
*.Cache
144+
ClientBin/
145+
[Ss]tyle[Cc]op.*
146+
~$*
147+
*~
148+
*.dbmdl
149+
*.dbproj.schemaview
150+
*.pfx
151+
*.publishsettings
152+
node_modules/
153+
154+
# RIA/Silverlight projects
155+
Generated_Code/
156+
157+
# Backup & report files from converting an old project file to a newer
158+
# Visual Studio version. Backup files are not needed, because we have git ;-)
159+
_UpgradeReport_Files/
160+
Backup*/
161+
UpgradeLog*.XML
162+
UpgradeLog*.htm
163+
164+
# SQL Server files
165+
*.mdf
166+
*.ldf
167+
168+
# Business Intelligence projects
169+
*.rdl.data
170+
*.bim.layout
171+
*.bim_*.settings
172+
173+
# Microsoft Fakes
174+
FakesAssemblies/
175+
/SPDeployer.sln.ide

LICENSE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2016 Marco Wiedemeyer
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# SPSync
2+
3+
This is the source for [SPSync](http://spsync.net), the alternative SharePoint/OneDrive for Business sync tool.
4+
5+
You may find some strange code snippets in here, but that's
6+
because a sync engine is not trivial as we all know from the original official OneDrive for Business aka Groove tool. Also most of the code is already a few years old, so today I would do some things different than they are now.
7+
8+
If you want to try to make it better, feel free and send a pull request.
9+
10+
**NOTE:** With the release of the source for SPSync, I will stop supporting it by mail. If you have a question or found an bug please open an issue here.
11+
12+
## Development
13+
You just need Visual Studio (Community edition is fine). Open the solution and build it. Now you can use
14+
SPSync.exe to run it.
15+
16+
## Structure
17+
The solution contains 4 projects.
18+
19+
- SPSync.Core: The sync engine, SharePoint communication, metadata store, etc
20+
- SPSync: The taskbar icon and UI. Also contains FileWatcher to monitor local changes
21+
- (Optional) SPSyncCli: The command line interface, which uses SPSync.Core
22+
- (Optional) SPSyncTest: Just a small command line to test some things fast during development.
23+
- SquirrelSetup: A folder containing the nuspec file to create a [Squirrel](https://github.com/Squirrel/Squirrel.Windows) setup
24+
25+
## Known Issues
26+
- Sync not working when you change a local file while you're offline
27+
- Sometimes SPSync is deleting files (remote and/or local) unexpectedly
28+
- Moving or cut/paste files is not working as expected all the time
29+
- Sometimes a file/folder is not sync'ed
30+
31+
## Donate
32+
If you like SPSync and want to pay me a beer:
33+
34+
**[Donate via PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=58DQTSK6JXBJE)**

0 commit comments

Comments
 (0)