12 | {
13 | public readonly Guid? UUID;
14 | public readonly string Title;
15 |
16 | public StandardFileTagRef(Guid? id, string title)
17 | {
18 | UUID = id;
19 | Title = title;
20 | }
21 |
22 | public XElement Serialize()
23 | {
24 | return new XElement("tag", new XAttribute("ID", UUID?.ToString("P") ?? "null"), new XAttribute("Title", Title));
25 | }
26 |
27 | public static StandardFileTagRef Deserialize(XElement e)
28 | {
29 | var id = XHelper.GetAttributeNGuid(e, "ID");
30 | var txt = XHelper.GetAttributeString(e, "Title");
31 |
32 | return new StandardFileTagRef(id, txt);
33 | }
34 |
35 | public override int GetHashCode()
36 | {
37 | return (UUID==null ? 0 : UUID.GetHashCode())*113 + Title.GetHashCode();
38 | }
39 |
40 | public override bool Equals(object obj)
41 | {
42 | return Equals(obj as StandardFileTagRef);
43 | }
44 |
45 | public bool Equals(StandardFileTagRef other)
46 | {
47 | if (other == null) return false;
48 | return UUID == other.UUID && Title == other.Title;
49 | }
50 |
51 | public static bool operator ==(StandardFileTagRef left, StandardFileTagRef right) => left?.Equals(right) ?? ReferenceEquals(right, null);
52 |
53 | public static bool operator !=(StandardFileTagRef left, StandardFileTagRef right) => !(left?.Equals(right) ?? ReferenceEquals(right, null));
54 | }
55 | }
56 |
--------------------------------------------------------------------------------
/Source/Plugins/StandardNotePlugin/StandardNotePlugin.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard2.1
5 |
6 | StandardNotePlugin
7 | StandardNotePlugin
8 |
9 | 1.7.9.0
10 | 1.7.9.0
11 | 1.7.9.0
12 |
13 | ..\..\..\Bin\$(Configuration)\Plugins\
14 |
15 | AlephNote.Plugins.StandardNote
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | false
27 |
28 |
29 |
30 | false
31 |
32 |
33 |
34 | false
35 |
36 |
37 |
38 |
39 |
40 | runtime
41 |
42 |
43 |
44 | runtime
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/Source/Plugins/StandardNotePlugin/Sync/StandardNoteAPIException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using AlephNote.PluginInterface.Exceptions;
3 |
4 | namespace AlephNote.Plugins.StandardNote
5 | {
6 | public class StandardNoteAPIException : RemoteException
7 | {
8 | public StandardNoteAPIException(string message) : base(message) { }
9 | public StandardNoteAPIException(string message, Exception inner) : base(message, inner) { }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Source/Tools/AutoUpdater/App.xaml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Source/Tools/AutoUpdater/App.xaml.cs:
--------------------------------------------------------------------------------
1 | namespace AlephNote.AutoUpdater
2 | {
3 | ///
4 | /// Interaction logic for App.xaml
5 | ///
6 | public partial class App
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/Source/Tools/AutoUpdater/MainWindow.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Source/Tools/AutoUpdater/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 | using System.Windows;
4 |
5 | [assembly: AssemblyTitle("AutoUpdater")]
6 | [assembly: AssemblyDescription("")]
7 | [assembly: AssemblyConfiguration("")]
8 | [assembly: AssemblyCompany("")]
9 | [assembly: AssemblyProduct("AutoUpdater")]
10 | [assembly: AssemblyCopyright("Copyright © 2017")]
11 | [assembly: AssemblyTrademark("")]
12 | [assembly: AssemblyCulture("")]
13 |
14 | [assembly: ComVisible(false)]
15 |
16 | [assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)]
17 |
18 | [assembly: AssemblyVersion("1.0.0.0")]
19 | [assembly: AssemblyFileVersion("1.0.0.0")]
20 | [assembly: AssemblyInformationalVersion("1.0.0.0")]
21 |
--------------------------------------------------------------------------------
/Source/Tools/AutoUpdater/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace AlephNote.AutoUpdater.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.7.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Source/Tools/AutoUpdater/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Source/Tools/AutoUpdater/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/nuget.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/appveyor.yml:
--------------------------------------------------------------------------------
1 | version: AV_{build}
2 | image: Visual Studio 2019
3 | configuration: Release
4 | platform: Any CPU
5 | clone_depth: 1
6 |
7 | before_build:
8 | - cmd: >-
9 | git submodule update --recursive --init
10 |
11 | git clean -fdx
12 |
13 | cd Source
14 |
15 | nuget restore
16 |
17 | cd ..
18 |
19 | build:
20 | project: Source\AlephNote.sln
21 | verbosity: minimal
22 |
23 | after_build:
24 | - cmd: >-
25 | DATA\PACKAGE_RELEASE.bat
26 |
27 | artifacts:
28 | - path: AlephNote.zip
29 | name: AlephNote.zip
30 |
31 | deploy:
32 | tag: $(APPVEYOR_REPO_TAG_NAME)
33 | release: 'Version $(APPVEYOR_REPO_TAG_NAME)'
34 | description: '## Features\n\n - \n\n## Bugfixes\n\n - \n\n## Tasks\n\n - \n\n## Plugins\n\nPlugins included by default:\n~~~\nFilesystemPlugin v\nHeadlessPlugin v\nNextcloudPlugin v\nSimpleNotePlugin v\nStandardNotePlugin v\n~~~'
35 | provider: GitHub
36 | auth_token:
37 | secure: 2/0Qj0uJ46O+KOsn2ZZh6/8fvxf0dXNV7R8Gx3Az0z9keyPmwJBF52hUMe8Tgchk
38 | artifact: AlephNote.zip
39 | draft: true
40 | prerelease: false
41 | on:
42 | branch: master
43 | APPVEYOR_REPO_TAG: true
44 |
--------------------------------------------------------------------------------
/docs/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # Created by https://www.gitignore.io/api/jekyll,ruby
3 |
4 | ### Jekyll ###
5 | _site/
6 | .sass-cache/
7 | .jekyll-metadata
8 |
9 | ### Ruby ###
10 | *.gem
11 | *.rbc
12 | /.config
13 | /coverage/
14 | /InstalledFiles
15 | /pkg/
16 | /spec/reports/
17 | /spec/examples.txt
18 | /test/tmp/
19 | /test/version_tmp/
20 | /tmp/
21 |
22 | # Used by dotenv library to load environment variables.
23 | # .env
24 |
25 | ## Specific to RubyMotion:
26 | .dat*
27 | .repl_history
28 | build/
29 | *.bridgesupport
30 | build-iPhoneOS/
31 | build-iPhoneSimulator/
32 |
33 | ## Specific to RubyMotion (use of CocoaPods):
34 | #
35 | # We recommend against adding the Pods directory to your .gitignore. However
36 | # you should judge for yourself, the pros and cons are mentioned at:
37 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
38 | #
39 | # vendor/Pods/
40 |
41 | ## Documentation cache and generated files:
42 | /.yardoc/
43 | /_yardoc/
44 | /doc/
45 | /rdoc/
46 |
47 | ## Environment normalization:
48 | /.bundle/
49 | /vendor/bundle
50 | /lib/bundler/man/
51 |
52 | # for a library or gem, you might want to ignore these files since the code is
53 | # intended to run in multiple environments; otherwise, check them in:
54 | # Gemfile.lock
55 | # .ruby-version
56 | # .ruby-gemset
57 |
58 | # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
59 | .rvmrc
60 |
61 | # End of https://www.gitignore.io/api/jekyll,ruby
62 |
63 | ##############################################################################################
64 |
65 | _site
66 | .bundle
67 | .sass-cache
68 | Gemfile.lock
69 | .DS_Store
--------------------------------------------------------------------------------
/docs/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 | gemspec
3 |
4 | gem 'jekyll'
5 | gem 'jekyll-paginate'
6 | gem 'kramdown'
7 | gem 'pygments.rb'
8 |
--------------------------------------------------------------------------------
/docs/_config.yml:
--------------------------------------------------------------------------------
1 | # Setup
2 | title: AlephNote
3 | tagline: An extensible, lightweight desktop note client for multiple backends
4 | baseurl: "/AlephNote"
5 | paginate: 1
6 |
7 | # About/contact
8 | author:
9 | name: Mike Schwörer
10 | url: http://mikescher.com
11 |
12 | # Gems
13 | gems:
14 | - jekyll-paginate
15 |
16 | #Others
17 | markdown: kramdown
18 |
19 | theme: jekyll-theme-cayman
--------------------------------------------------------------------------------
/docs/_includes/head.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ site.title }}
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/docs/_includes/page-footer.html:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/docs/_includes/page-header.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/docs/_layouts/default.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {% include head.html %}
5 |
6 |
7 | {% include page-header.html %}
8 |
9 |
10 |
11 | {{ content }}
12 |
13 | {% include page-footer.html %}
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/docs/_layouts/page.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: default
3 | ---
4 |
5 | {{ content }}
--------------------------------------------------------------------------------
/docs/_layouts/post.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: default
3 | ---
4 | {{ page.title }}
5 | {{ page.date | date_to_string }}
6 |
7 | {{ content }}
--------------------------------------------------------------------------------
/docs/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/favicon.ico
--------------------------------------------------------------------------------
/docs/hierachical_ui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/hierachical_ui.png
--------------------------------------------------------------------------------
/docs/highlight_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/highlight_list.png
--------------------------------------------------------------------------------
/docs/highlight_markdown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/highlight_markdown.png
--------------------------------------------------------------------------------
/docs/highlight_url.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/highlight_url.png
--------------------------------------------------------------------------------
/docs/hotkeys.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/hotkeys.png
--------------------------------------------------------------------------------
/docs/index.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: default
3 | title: {{ site.name }}
4 | ---
5 |
6 |
--------------------------------------------------------------------------------
/docs/jekyll-cayman-theme.gemspec:
--------------------------------------------------------------------------------
1 | # coding: utf-8
2 |
3 | Gem::Specification.new do |spec|
4 | spec.name = "jekyll-cayman-theme"
5 | spec.version = "0.1.0"
6 | spec.authors = ["Pietro F. Menna"]
7 | spec.email = ["pietromenna@yahoo.com"]
8 |
9 | spec.summary = %q{A Jekyll theme for the responsive theme for GitHub Pages http://jasonlong.github.io/cayman-theme/ }
10 | spec.homepage = "https://github.com/pietromenna/jekyll-cayman-theme"
11 | spec.license = "MIT"
12 |
13 | spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(_layouts|_includes|_sass|LICENSE|README)/i}) }
14 |
15 | spec.add_development_dependency "jekyll", "~> 3.2"
16 | spec.add_development_dependency "bundler", ">= 2.1.0"
17 | spec.add_development_dependency "rake", "~> 12.3"
18 | end
19 |
--------------------------------------------------------------------------------
/docs/preview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/preview.png
--------------------------------------------------------------------------------
/docs/startup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/startup.png
--------------------------------------------------------------------------------
/docs/theme_default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/theme_default.png
--------------------------------------------------------------------------------
/docs/theme_highcontrastblack.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/theme_highcontrastblack.png
--------------------------------------------------------------------------------
/docs/theme_highcontrastwhite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/theme_highcontrastwhite.png
--------------------------------------------------------------------------------
/docs/theme_monokaineo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/theme_monokaineo.png
--------------------------------------------------------------------------------
/docs/theme_solarizeddark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/theme_solarizeddark.png
--------------------------------------------------------------------------------
/docs/theme_solarizedlight.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/theme_solarizedlight.png
--------------------------------------------------------------------------------
/docs/themeeditor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Mikescher/AlephNote/a3cc13fda17b1e858e84e6eff1ced5cbcf23d820/docs/themeeditor.png
--------------------------------------------------------------------------------