Skip to content

Commit

Permalink
Add basic button action
Browse files Browse the repository at this point in the history
- Create new structure
- Track active tracker if matched
- Start/stop tracker up on button press
- Add documentation and demo video
- Add license
  • Loading branch information
eXpl0it3r committed Sep 9, 2021
1 parent 245d42f commit af2d6c9
Show file tree
Hide file tree
Showing 45 changed files with 2,364 additions and 178 deletions.
File renamed without changes.
41 changes: 39 additions & 2 deletions Clockify/Clockify.csproj → Clockify.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
<OutputPath>bin\Release\dev.duerrenberger.clockify.sdPlugin\</OutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Clockify.Net" Version="1.11.0" />
<PackageReference Include="CommandLineParser" Version="2.8.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NLog" Version="4.7.9" />
<PackageReference Include="NLog" Version="4.7.11" />
<PackageReference Include="streamdeck-client-csharp" Version="4.3.0" />
<PackageReference Include="StreamDeck-Tools" Version="3.2.0" />
</ItemGroup>
Expand All @@ -47,7 +48,7 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Images\pluginIcon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="manifest.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand All @@ -58,5 +59,41 @@
<None Update="PropertyInspector\PluginActionPI.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="PropertyInspector\sdpi.css">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="PropertyInspector\sdtools.common.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="Images\toggleActionActiveIcon.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Images\[email protected]">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Images\toggleActionInactiveIcon.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Images\[email protected]">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Images\categoryTimerIcon.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Images\[email protected]">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Images\[email protected]">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Images\clockifyIcon.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Images\[email protected]">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Images\[email protected]">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion Clockify.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31112.23
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Clockify", "Clockify\Clockify.csproj", "{2AC1BAC4-4EB0-48DA-B5E8-BD88E901D101}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Clockify", "Clockify.csproj", "{2AC1BAC4-4EB0-48DA-B5E8-BD88E901D101}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
Binary file removed Clockify/Images/Clockify-big.png
Binary file not shown.
Binary file removed Clockify/Images/Clockify.png
Binary file not shown.
Binary file removed Clockify/Images/categoryIcon.png
Binary file not shown.
Binary file removed Clockify/Images/[email protected]
Binary file not shown.
Binary file removed Clockify/Images/clockify-logo-dark.png
Binary file not shown.
Binary file removed Clockify/Images/clockify-logo.png
Binary file not shown.
Binary file removed Clockify/Images/icon.png
Binary file not shown.
Binary file removed Clockify/Images/[email protected]
Binary file not shown.
Binary file removed Clockify/Images/pluginAction.png
Binary file not shown.
Binary file removed Clockify/Images/[email protected]
Binary file not shown.
Binary file removed Clockify/Images/pluginIcon.png
Binary file not shown.
Binary file removed Clockify/Images/[email protected]
Binary file not shown.
51 changes: 0 additions & 51 deletions Clockify/PluginAction.cs

This file was deleted.

18 changes: 0 additions & 18 deletions Clockify/PluginSettings.cs

This file was deleted.

34 changes: 0 additions & 34 deletions Clockify/PropertyInspector/PluginActionPI.html

This file was deleted.

5 changes: 0 additions & 5 deletions Clockify/PropertyInspector/PluginActionPI.js

This file was deleted.

29 changes: 0 additions & 29 deletions Clockify/install.ps1

This file was deleted.

38 changes: 0 additions & 38 deletions Clockify/manifest.json

This file was deleted.

Binary file added Docs/Clockify-GitHub-Banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Docs/StreamDeck - Clockify Demo.mp4
Binary file not shown.
File renamed without changes
50 changes: 50 additions & 0 deletions Images/Timer Icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/categoryTimerIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/clockifyIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/toggleActionActiveIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/toggleActionInactiveIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
MIT License

Copyright (c) 2021 Lukas Dürrenberger

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File renamed without changes.
33 changes: 33 additions & 0 deletions PropertyInspector/PluginActionPI.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,minimal-ui,viewport-fit=cover">
<meta name=apple-mobile-web-app-capable content=yes>
<meta name=apple-mobile-web-app-status-bar-style content=black>
<title>Clockify Settings</title>
<link rel="stylesheet" href="sdpi.css">
<script src="sdtools.common.js"></script>
<script src="PluginActionPI.js"></script>
</head>
<body>
<div class="sdpi-wrapper">
<div class="sdpi-item">
<div class="sdpi-item-label">API Key</div>
<input class="sdpi-item-value sdProperty" id="apiKey" value="" pattern="[a-z0-9]+" placeholder="Enter your Private API Key" oninput="setSettings()" required>
</div>
<div class="sdpi-item">
<div class="sdpi-item-label">Workspace Name</div>
<input class="sdpi-item-value sdProperty" id="workspaceName" value="" pattern="[a-z0-9]+" placeholder="Enter the name of the Workspace" oninput="setSettings()" required>
</div>
<div class="sdpi-item">
<div class="sdpi-item-label">Project Name</div>
<input class="sdpi-item-value sdProperty" id="projectName" value="" pattern="[a-z0-9]+" placeholder="Enter the name of the Project" oninput="setSettings()">
</div>
<div class="sdpi-item">
<div class="sdpi-item-label">Timer Name</div>
<input class="sdpi-item-value sdProperty" id="timerName" value="" pattern="[a-z0-9]+" placeholder="Enter the name of the Timer" oninput="setSettings()">
</div>
</div>
</body>
</html>
1 change: 1 addition & 0 deletions PropertyInspector/PluginActionPI.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Loading

0 comments on commit af2d6c9

Please sign in to comment.