Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump terser from 5.14.1 to 5.14.2 #58

Open
wants to merge 359 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
359 commits
Select commit Hold shift + click to select a range
c28a7b4
Streamline preferences markup and styles to rely more on Bulma
jamieweavis Jan 7, 2019
77404c1
Focus preferences window on click if it already exists
jamieweavis Jan 7, 2019
77931eb
Remove html editor config rules
jamieweavis Jan 7, 2019
2f0cfb7
Rename fmt script to format
jamieweavis Jan 7, 2019
5492c9e
Remove redundant eslint ignore file
jamieweavis Jan 7, 2019
20bc57c
Adding missing commas & semicolons
jamieweavis Jan 7, 2019
9a9e460
Remove logging
jamieweavis Jan 7, 2019
501a2e3
Upgrade dependencies
jamieweavis Jan 7, 2019
013337f
Format preferences HTML with Prettier
jamieweavis Jan 7, 2019
2f7f95b
Convert if to switch statement
jamieweavis Jan 7, 2019
b7fc7c1
Run fixpack
jamieweavis Jan 7, 2019
220baf2
Add dark mode support for macOS
jamieweavis Jan 7, 2019
5466de4
Add off-white background colour to preferences window
jamieweavis Jan 7, 2019
a9363c4
Order electron imports alphabetically
jamieweavis Jan 7, 2019
b28fa98
Move initial preferences window popup to app ready
jamieweavis Jan 7, 2019
aeeac87
Allow username to be set back to empty
jamieweavis Jan 7, 2019
c64d90f
Simplify auto launcher syntax
jamieweavis Jan 7, 2019
683ec5b
Rename userExist to userExists
jamieweavis Jan 7, 2019
3c0e9b9
Reorder requires
jamieweavis Jan 7, 2019
7ba18b4
Simplify notification time field & logic
jamieweavis Jan 7, 2019
7f3468d
Use eslint recommended rules
jamieweavis Jan 7, 2019
a5f6b55
Remove unused parameters
jamieweavis Jan 7, 2019
5dd3371
Add preferences window screenshot & update README
jamieweavis Jan 7, 2019
ab82934
v1.2.0
jamieweavis Jan 7, 2019
ee1dec4
Upgrade to latest version of contribution and add best day menu item
jamieweavis Jan 9, 2019
665d070
v1.3.0
jamieweavis Jan 9, 2019
aa692cb
initial WIP version
marckohlbrugge Jan 14, 2019
ec78462
fix port number for production
marckohlbrugge Jan 14, 2019
03564d0
replace screenshots
marckohlbrugge Jan 14, 2019
66d1c3e
update version number
marckohlbrugge Jan 14, 2019
070993e
replace github icon with smiley
marckohlbrugge Jan 14, 2019
8f4526d
icons for linux
zodman Jan 15, 2019
4e285ba
Merge pull request #1 from zodman/linux_working
marckohlbrugge Jan 15, 2019
70fdc03
add linux to supported platforms
marckohlbrugge Jan 16, 2019
75fcde9
increase icon size to 256x256
marckohlbrugge Jan 16, 2019
3a34962
build for all platforms by default
marckohlbrugge Jan 16, 2019
5468087
fix time left
marckohlbrugge Jan 16, 2019
7f70337
add ability to create todos
marckohlbrugge Jan 14, 2019
4f5b3af
update version to 0.2.0
marckohlbrugge Jan 16, 2019
4b2c95e
add new v0.2.0 features
marckohlbrugge Jan 16, 2019
ea20037
update screenshots
marckohlbrugge Jan 16, 2019
5f6ca8e
replace github tray icons with wip
Akamaozu Jan 17, 2019
6b90c39
Replace Win32 Github tray icons with WIP
marckohlbrugge Jan 21, 2019
bd316e4
add development mode toggle
marckohlbrugge Jan 26, 2019
e5b8dd1
show "you shipped today" if already shipped something
marckohlbrugge Jan 26, 2019
7ae48f2
hide scrollbar on linux
marckohlbrugge Jan 26, 2019
381a5d6
make shortcut customizable
marckohlbrugge Jan 26, 2019
13d63bc
fix formatting
marckohlbrugge Jan 26, 2019
bdf57b8
use packaged Electron binary
marckohlbrugge Jan 26, 2019
f70105f
hide compose modal when it loses focus
marckohlbrugge Jan 26, 2019
d52ab4c
extract wip module
marckohlbrugge Jan 30, 2019
a2a9719
remove npm generated package-lock.json (use yarn.lock)
marckohlbrugge Jan 31, 2019
f54f2ef
add electron-debug
marckohlbrugge Jan 31, 2019
d4cffe5
autocomplete pending todos
marckohlbrugge Jan 24, 2019
83092eb
replace electron-promise-ipc with electron-better-ipc
marckohlbrugge Jan 31, 2019
7717c99
add electron-timber for better logging
marckohlbrugge Jan 31, 2019
45c7e07
dont log api key
marckohlbrugge Jan 31, 2019
ce5b319
explicitly enable node integration
marckohlbrugge Jan 31, 2019
cd58212
move electron to dev dependencies
marckohlbrugge Feb 1, 2019
cae6869
improve dropdown design
marckohlbrugge Feb 1, 2019
041f1c3
prettify
marckohlbrugge Feb 1, 2019
b9502a9
add file uploads
marckohlbrugge Feb 3, 2019
8d0786e
rename file_name to filename
marckohlbrugge Feb 3, 2019
20c6521
specify CSP (needs unsafe-eval for vue)
marckohlbrugge Feb 4, 2019
180e269
use oauth for sign in
marckohlbrugge Feb 6, 2019
0de718a
switch to graphql-request
marckohlbrugge Feb 6, 2019
3175941
handle incorrect oauth tokens
marckohlbrugge Feb 26, 2019
c8e2b67
make client id configurable
marckohlbrugge Feb 26, 2019
db53fc3
create initMode function for easy mode switching
marckohlbrugge Feb 26, 2019
47bf6df
remove syncInterval configuration
marckohlbrugge Feb 26, 2019
9860b03
speed up compose window
marckohlbrugge Feb 26, 2019
fbc33ea
use port 5000 in development
marckohlbrugge Mar 8, 2019
adeddd4
update version
marckohlbrugge Mar 8, 2019
453811b
make keyboard shortcut prettier
marckohlbrugge Mar 8, 2019
9af8686
remove parentheses
marckohlbrugge Mar 8, 2019
8fee750
switch to new license
marckohlbrugge Feb 3, 2019
e0afb99
Remove license badge
marckohlbrugge Mar 8, 2019
a9a822a
update credits
marckohlbrugge Mar 8, 2019
7548b3b
prepapre for Mac App Store release
marckohlbrugge Mar 15, 2019
ad0acde
set version to 1.0.0
marckohlbrugge Mar 16, 2019
7cfb52d
handle invalid oauth
marckohlbrugge Mar 16, 2019
8cfaa95
prepare for MAS
marckohlbrugge Mar 21, 2019
70259b5
add auto updater
marckohlbrugge Mar 21, 2019
e46a6d7
fix style violations
marckohlbrugge Mar 21, 2019
3c1c865
Update README.md
marckohlbrugge Mar 21, 2019
78149b9
fix auto updating
marckohlbrugge Mar 21, 2019
9968fef
remove chat link as it prevented MAS submission
marckohlbrugge Mar 26, 2019
b46090c
ignore .env file
marckohlbrugge Mar 26, 2019
c169271
refresh streak after creating todo
marckohlbrugge Mar 26, 2019
a3c8b0a
add linux category
marckohlbrugge Mar 26, 2019
7bda3ed
hide finish screen until activated
marckohlbrugge Mar 31, 2019
51b8755
use port 5000 for development
marckohlbrugge Mar 31, 2019
5e0c675
fix name
marckohlbrugge Apr 1, 2019
2bc0de9
show Preference menu item also if there is an error
marckohlbrugge Apr 1, 2019
bf55006
extract getOAuthURL method
marckohlbrugge Apr 1, 2019
1b1135f
prevent multiple oauth windows from opening
marckohlbrugge Apr 1, 2019
9ed2534
make links clickable
marckohlbrugge Apr 1, 2019
ee25e35
fix oauth window UI bugs
marckohlbrugge Apr 3, 2019
13ae209
version 1.0.9
marckohlbrugge Apr 3, 2019
1f24d61
trim whitespace
marckohlbrugge Apr 3, 2019
715f58e
hide window when it loses focus
marckohlbrugge Apr 26, 2019
9854d18
add /help command
marckohlbrugge Apr 26, 2019
9233a47
release version 1.1.0
marckohlbrugge Apr 26, 2019
9f9f25a
add missing semilcolons
marckohlbrugge Apr 26, 2019
0eb26fc
hide window instead of closing, on blur
marckohlbrugge Apr 26, 2019
df743b9
show all pending todos when pressing down
marckohlbrugge May 24, 2019
5f78843
add nodejs version
marckohlbrugge May 24, 2019
16efe6e
version 1.2.1
marckohlbrugge May 24, 2019
ef8d346
Bump js-yaml from 3.12.2 to 3.13.1
dependabot[bot] Jun 6, 2019
08712f4
Merge pull request #9 from marckohlbrugge/dependabot/npm_and_yarn/js-…
dependabot[bot] Jun 6, 2019
064aeb0
use new logo as app icon
marckohlbrugge Jun 25, 2019
4d52759
use user time zone when calculating time left
marckohlbrugge Jun 28, 2019
90cd04c
add support for pasting images into compose window
marckohlbrugge Jun 30, 2019
62e3047
v1.3.0
marckohlbrugge Jun 30, 2019
def52ba
allow attachments to be removed + redesign them
marckohlbrugge Jul 1, 2019
fcab461
v1.3.1
marckohlbrugge Jul 1, 2019
fab50cb
use 3D icon
marckohlbrugge Jul 1, 2019
5bef057
v1.3.2
marckohlbrugge Jul 1, 2019
aea1ed7
upgrade yarn packages
marckohlbrugge Jul 1, 2019
df6a031
upgrade to electron@5 and upgrade all other packages
marckohlbrugge Jul 1, 2019
c1ecae8
v1.3.3
marckohlbrugge Jul 1, 2019
d79f7a7
Bump eslint-utils from 1.3.1 to 1.4.3
dependabot[bot] Oct 21, 2019
ae3acc1
Merge pull request #12 from marckohlbrugge/dependabot/npm_and_yarn/es…
marckohlbrugge Oct 21, 2019
9684e03
Bump lodash from 4.17.11 to 4.17.15
dependabot[bot] Oct 21, 2019
4ad7826
Merge pull request #13 from marckohlbrugge/dependabot/npm_and_yarn/lo…
marckohlbrugge Jan 28, 2020
04260ca
Bump acorn from 6.1.1 to 6.4.1
dependabot[bot] Mar 14, 2020
6b43611
Upgrade to electron 5.0.13
marckohlbrugge Apr 30, 2020
2d4299f
Upgrade to electron 6.1.10
marckohlbrugge Apr 30, 2020
88b99b4
Upgrade to electron 7
marckohlbrugge Apr 30, 2020
dc547a6
Upgrade to electron 8
marckohlbrugge Apr 30, 2020
0e35540
Upgrade cron
marckohlbrugge Apr 30, 2020
b881876
Upgrade eslint-plugin-prettier
marckohlbrugge Apr 30, 2020
49d2ad9
Upgrade eslint-config-prettier
marckohlbrugge Apr 30, 2020
eb9a133
Set valid default cron time
marckohlbrugge Apr 30, 2020
f4bc07d
Upgrade electron-reloader
marckohlbrugge Apr 30, 2020
67ac921
Upgrade electron-better-ipc
marckohlbrugge Apr 30, 2020
14296f9
Upgrade electron-store
marckohlbrugge Apr 30, 2020
df2fdbf
Upgrade electron-builder
marckohlbrugge Apr 30, 2020
aa02a42
Use new electron-builder scripts
marckohlbrugge Apr 30, 2020
69d7534
Configure electron-builder for notarization
marckohlbrugge Apr 30, 2020
8c29a7a
Release version 1.3.4
marckohlbrugge Apr 30, 2020
1622dfb
Reconfigure electron-builder and add entitlements
marckohlbrugge Apr 30, 2020
fb98227
Update buefy
marckohlbrugge May 2, 2020
3823be5
Update icons to use logo
marckohlbrugge May 2, 2020
796cdb5
Make sure onlinestatus.html worksa gain
marckohlbrugge May 3, 2020
9bcd107
Use clarifying placeholder
marckohlbrugge May 3, 2020
d0239a1
Fix icon for MAS build
marckohlbrugge May 3, 2020
7bd8a59
Replace icons and make it a toggle
marckohlbrugge May 23, 2020
f712d22
Version 1.4.0
marckohlbrugge May 23, 2020
0f3982f
Merge pull request #14 from marckohlbrugge/dependabot/npm_and_yarn/ac…
marckohlbrugge May 23, 2020
a78c6b3
Fix notarization for macOS
marckohlbrugge May 23, 2020
30e5347
Use relative path for icons
marckohlbrugge May 31, 2020
3984c5f
Fix auto updating
marckohlbrugge May 31, 2020
c15878a
Add name for linux dist
marckohlbrugge May 31, 2020
8365e49
Fixed auto-updating
marckohlbrugge May 31, 2020
314fd31
Disable auto-launch
marckohlbrugge May 31, 2020
45a7a78
Don't mark pending todos as completed
marckohlbrugge Jun 2, 2020
dc918ea
Use new wip.co domain name
marckohlbrugge Oct 20, 2020
97086d4
Update version number to 1.4.6
marckohlbrugge Oct 20, 2020
a065248
Update dependencies
marckohlbrugge Oct 27, 2020
04f1b1e
Resize composeWindow when contents change (#18)
marckohlbrugge Oct 27, 2020
c07d7d8
Add frame to OAuth window
marckohlbrugge Oct 27, 2020
6f7fb69
Bump version to 1.5.0
marckohlbrugge Oct 27, 2020
72a87a2
Don't hide link on :hover. Fixes #10
marckohlbrugge Oct 27, 2020
0e1a8a0
Updated Electron to 12, added webpack support and context isolation (…
a-liashenko May 11, 2021
bf41954
Bump hosted-git-info from 2.8.8 to 2.8.9 (#23)
dependabot[bot] May 11, 2021
5bd6b6b
Bump lodash from 4.17.15 to 4.17.21 (#22)
dependabot[bot] May 11, 2021
f13255b
Bump ini from 1.3.5 to 1.3.8 (#25)
dependabot[bot] May 11, 2021
a359653
Increase version number to 1.6.0
marckohlbrugge May 11, 2021
474b1bc
Update dependencies
marckohlbrugge May 11, 2021
6f0dfb8
Use nodejs 16
marckohlbrugge May 11, 2021
e204309
Move electron builder config to separate file
marckohlbrugge May 13, 2021
aed1fe4
Make Mac builds universal
marckohlbrugge May 13, 2021
bce3cbd
Fix release workflow
marckohlbrugge May 13, 2021
8f89790
Upgrade dependencies
marckohlbrugge May 13, 2021
1f40a20
Add sample electron-builder.env
marckohlbrugge May 13, 2021
8f90d0c
Add GitHub Action for building
marckohlbrugge May 14, 2021
b4d86db
Add steps for signing and notarizing macOS builds
marckohlbrugge May 14, 2021
89df493
Fix indentation
marckohlbrugge May 14, 2021
33d71b3
Fix build workflow
marckohlbrugge May 14, 2021
3a4a8c7
Add missing dependencies
marckohlbrugge May 14, 2021
3f531d0
Build only app for its own environment
marckohlbrugge May 14, 2021
1e6d865
Add hashtag autocomplete (#26)
a-liashenko May 20, 2021
6e1ea9d
Bump version number
marckohlbrugge May 14, 2021
256b29f
Remove explicit dependencies now that their versions are in yarn.lock
marckohlbrugge May 20, 2021
177d860
Update packages
marckohlbrugge May 20, 2021
709d93d
Don't create folders because it breaks Windows build
marckohlbrugge May 20, 2021
2d11689
Add notarization ENV variables
marckohlbrugge May 20, 2021
8983341
Use uppercase secret names
marckohlbrugge May 20, 2021
180f0b4
Add CSC_LINK with certificates
marckohlbrugge May 20, 2021
5a1e6d0
Hide hashtag if fully typed (#29)
a-liashenko Jun 8, 2021
c1a80ac
Extend logging (#32)
a-liashenko Sep 23, 2021
4746963
Update README (#36)
a-liashenko Sep 24, 2021
c7d20ae
Broadcast option (#33)
a-liashenko Sep 27, 2021
fa79909
Integrate bugsnag (#37)
a-liashenko Sep 27, 2021
5aa7df5
Remove main bugsnag (#38)
a-liashenko Oct 14, 2021
b4caa11
Update all deps (#41)
a-liashenko Oct 14, 2021
94b70cc
Instant push hastag by Enter (#40)
a-liashenko Oct 14, 2021
08e373c
Bump postcss from 7.0.35 to 7.0.39 (#43)
dependabot[bot] Oct 14, 2021
9de5a11
Bump ws from 7.4.5 to 7.5.5 (#42)
dependabot[bot] Oct 14, 2021
f717f3c
Bump path-parse from 1.0.6 to 1.0.7 (#31)
dependabot[bot] Oct 14, 2021
626d25b
Bump normalize-url from 4.5.0 to 4.5.1 (#30)
dependabot[bot] Oct 14, 2021
a545301
Bump dns-packet from 1.3.1 to 1.3.4 (#27)
dependabot[bot] Oct 14, 2021
2a306cb
update electron-builder and use electron-notarize
praneetrohida May 22, 2022
85e628d
ignore IDE files
praneetrohida May 22, 2022
05814b0
rewrite build workflow
praneetrohida May 22, 2022
4b02bae
add an after-sign hook for notarization
praneetrohida May 22, 2022
0bbc7f6
add a script to update version based on the latest release and curren…
praneetrohida May 22, 2022
e36e7b7
add a script to tag and push the release
praneetrohida May 22, 2022
ddb950e
Merge pull request #52 from marckohlbrugge/update-build-pipeline
marckohlbrugge Jun 2, 2022
2b8bec3
Bump follow-redirects from 1.14.0 to 1.15.1
dependabot[bot] Jun 2, 2022
d12f302
Merge pull request #54 from marckohlbrugge/dependabot/npm_and_yarn/fo…
marckohlbrugge Jun 2, 2022
33c6e4e
Fix duplicate keychain issue during build
praneetrohida Jun 3, 2022
32eca7b
Fix action workflow trigger
praneetrohida Jun 3, 2022
cd7836d
Pass on keychain password to the next step
praneetrohida Jun 3, 2022
4a29a73
Fix the electron build command in the workflow
praneetrohida Jun 3, 2022
c7992e9
downgrade p-retry
praneetrohida Jun 3, 2022
73f43d1
Merge branch 'master' of github.com:marckohlbrugge/wip-menubar
praneetrohida Jun 3, 2022
fc82b55
do not pass the full path key path to the notarization comamnd
praneetrohida Jun 3, 2022
e7c625e
add publish flag when building the app on CI
praneetrohida Jun 3, 2022
1e215fb
Add mac app distribution certificate
praneetrohida Jun 6, 2022
4b9e270
Add missing env variable
praneetrohida Jun 6, 2022
fe09560
Copy provision profile
marckohlbrugge Jun 7, 2022
7992fa5
Add embedded provision profile after checkout
marckohlbrugge Jun 7, 2022
f04cc4f
import 3rd party developer installer certificate in the keychain
praneetrohida Jun 8, 2022
d10616b
log params for debugging during notarization
praneetrohida Jun 8, 2022
4016f48
log targets
praneetrohida Jun 8, 2022
6bd9a23
add notarization for mas build
praneetrohida Jun 8, 2022
a5d37de
enable hardenedRuntime
praneetrohida Jun 8, 2022
4575e55
Revert "add notarization for mas build"
praneetrohida Jun 10, 2022
6118e17
Don't increment versions to quickly
marckohlbrugge Jun 10, 2022
d5d97f4
Merge branch 'master' of https://github.com/marckohlbrugge/wip-menubar
marckohlbrugge Jun 10, 2022
758429d
Force new version for MAS submission
marckohlbrugge Jun 10, 2022
7de71ed
Fix bug where adding attachments would crash app
marckohlbrugge Jun 10, 2022
0dfc415
Remove rotation from app icon
marckohlbrugge Jun 10, 2022
36b7fa9
Add DMG background image
marckohlbrugge Jun 10, 2022
c93bb5c
Disable hardened runtime for MAS
marckohlbrugge Jun 10, 2022
c00fb77
Redo MAS entitlements
marckohlbrugge Jun 10, 2022
2672da1
Merge branch 'hotfix'
marckohlbrugge Jun 10, 2022
fc4f3e7
Don't automatically manage version number
marckohlbrugge Jun 12, 2022
c3c3a56
Update dependencies
marckohlbrugge Jun 12, 2022
0e4f627
Try to fix MAS signing again
marckohlbrugge Jun 12, 2022
b4ddc2e
Bump version to 2.2.1
marckohlbrugge Jun 12, 2022
f80cbc3
Only build releases when triggered manually
marckohlbrugge Jun 12, 2022
22e0f51
Update dependencies
marckohlbrugge Jun 12, 2022
12919b2
Import from moment-timezone
marckohlbrugge Jun 12, 2022
7634ffe
Bump version to 2.2.2
marckohlbrugge Jun 12, 2022
95911e9
Simplify entitlements
marckohlbrugge Jun 14, 2022
1a1fd5a
Rely on inheriting mac settings
marckohlbrugge Jun 14, 2022
1c3ae4b
Bump terser from 5.14.1 to 5.14.2
dependabot[bot] Jul 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://editorconfig.org/
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"extends": ["airbnb-base", "prettier"],
"plugins": ["prettier"],
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"root": true,
"env": {
"browser": true,
"node": true,
"es6": true
},
Expand Down
95 changes: 95 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Build

on:
workflow_dispatch:
branches:
- master

env:
APPLE_CERTIFICATE_PASS: ${{ secrets.APPLE_CERTIFICATE_PASS }}
APPLE_ISSUER_ID: ${{ secrets.APPLE_ISSUER_ID }}
AuthKey_B64: ${{ secrets.AuthKey_B64 }}
API_KEY_ID: ${{ secrets.API_KEY_ID }}
macinstaller_B64: ${{ secrets.macinstaller_B64 }}
developerid_B64: ${{ secrets.developerid_B64 }}
thirdpartydeveloperinstaller_B64: ${{ secrets.thirdpartydeveloperinstaller_B64 }}
macdistribution_B64: ${{ secrets.macdistribution_B64 }}
provisionprofile_B64: ${{ secrets.provisionprofile_B64 }}

jobs:
release:
runs-on: macos-11

steps:
- name: Import macinstaller Code-Signing Certificate
uses: Apple-Actions/import-codesign-certs@v1
id: import-installer-cert
with:
# The certificates in a PKCS12 file encoded as a base64 string.
p12-file-base64: ${{ env.macinstaller_B64 }}
# The password used to import the PKCS12 file.
p12-password: ${{ env.APPLE_CERTIFICATE_PASS }}

- name: Import developerid Code-Signing Certificate 2
uses: Apple-Actions/import-codesign-certs@v1
with:
# do not create keychain as it is already created in the first step
create-keychain: false
keychain-password: ${{steps.import-installer-cert.outputs.keychain-password}}
# The certificates in a PKCS12 file encoded as a base64 string.
p12-file-base64: ${{ env.developerid_B64 }}
# The password used to import the PKCS12 file.
p12-password: ${{ env.APPLE_CERTIFICATE_PASS }}

- name: Import mac app distribution certificate
uses: Apple-Actions/import-codesign-certs@v1
with:
# do not create keychain as it is already created in the first step
create-keychain: false
keychain-password: ${{steps.import-installer-cert.outputs.keychain-password}}
# The certificates in a PKCS12 file encoded as a base64 string.
p12-file-base64: ${{ env.macdistribution_B64 }}
# The password used to import the PKCS12 file.
p12-password: ${{ env.APPLE_CERTIFICATE_PASS }}

- name: Import 3rd party developer installer certificate
uses: Apple-Actions/import-codesign-certs@v1
with:
# do not create keychain as it is already created in the first step
create-keychain: false
keychain-password: ${{steps.import-installer-cert.outputs.keychain-password}}
# The certificates in a PKCS12 file encoded as a base64 string.
p12-file-base64: ${{ env.thirdpartydeveloperinstaller_B64 }}
# The password used to import the PKCS12 file.
p12-password: ${{ env.APPLE_CERTIFICATE_PASS }}

- name: Creating private_keys dir
run: mkdir ~/private_keys

- name: Copying auth key
run: echo $AuthKey_B64 | base64 --decode > ~/private_keys/AuthKey_${{ env.API_KEY_ID }}.p8

- name: Check out Git repository
uses: actions/checkout@v2

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 16

- name: Installing Modules
run: yarn --frozen-lockfile --network-timeout 1000000

- name: Compiling the main and renderer code
run: yarn build:release

- name: Copying provision profile
run: echo $provisionprofile_B64 | base64 --decode > ./embedded.provisionprofile

- name: Building and packaging the app
run: yarn dist --publish=always
env:
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Tagging the release
run: yarn ci:tag-release
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
node_modules/
dist/
embedded.provisionprofile
release/
.env
.idea
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"singleQuote": true
"singleQuote": true,
"trailingComma": "all"
}
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 16.1.0
29 changes: 9 additions & 20 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
# The MIT License (MIT)
# “Commons Clause” License Condition v1.0

Copyright © `2018` `Jamie Weavis`
The Software is provided to you by the Licensor under the License, as defined below, subject to the following condition.

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:
Without limiting other conditions in the License, the grant of rights under the License will not include, and the License does not grant to you, the right to Sell the Software.

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
For purposes of the foregoing, “Sell” means practicing any or all of the rights granted to you under the License to provide to third parties, for a fee or other consideration (including without limitation fees for hosting or consulting/ support services related to the Software), a product or service whose value derives, entirely or substantially, from the functionality of the Software. Any license notice or attribution required by the License must also include this Commons Cause License Condition notice.

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.
Software: Menubar for WIP

License: Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)

Licensor: Marc Köhlbrugge
73 changes: 53 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,70 @@
<p align="center"><img src="./build/icon.png" height="64" alt="Project Logo"></p>
<h3 align="center">Streaker</h3>
<p align="center">🐙 GitHub contribution streak tracking menubar app<p>
<p align="center"><img src="./build/icon1024.png" height="64" alt="WIP Logo"></p>
<h3 align="center">WIP</h3>
<p align="center">🚧 WIP menubar app<p>
<p align="center">
<a href="https://github.com/jamieweavis/streaker/releases"><img src="https://img.shields.io/github/downloads/jamieweavis/streaker/total.svg" alt="GitHub Downloads"></a>
<a href="https://github.com/jamieweavis/streaker/releases"><img src="https://img.shields.io/github/release/jamieweavis/streaker.svg" alt="Release Version"></a>
<a href="https://github.com/jamieweavis/readme-template/blob/master/LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT License"></a>
<a href="https://github.com/airbnb/javascript"><img src="https://img.shields.io/badge/codestyle-airbnb-fd5c63.svg" alt="airbnb Code Style"></a>
<a href="https://github.com/marckohlbrugge/wip-menubar/releases"><img src="https://img.shields.io/github/downloads/marckohlbrugge/wip-menubar/total.svg" alt="GitHub Downloads"></a>
<a href="https://github.com/marckohlbrugge/wip-menubar/releases"><img src="https://img.shields.io/github/release/marckohlbrugge/wip-menubar.svg" alt="Current Release Version"></a>
<a href="https://github.com/prettier/prettier"><img src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg" alt="Prettier Code Style"></a>
</p>

## Installation

Download the latest version of Streaker from the the **[GitHub releases](https://github.com/jamieweavis/streaker/releases)** page. (currently macOS only)
Download the latest version of WIP from the **[GitHub releases](https://github.com/marckohlbrugge/wip-menubar/releases)** page. (macOS, Windows, and Linux)

## Screenshot
## Features

<img src="./screenshot.png" width="280" alt="Screenshot">
- Quickly create a todo with a system-wide shortcut: <kbd>control</kbd> + <kbd>space</kbd>
- See your current streak & best streak
- Notification when you haven't shipped today
- See time left to keep your streak
- Launch at login
- Jump to your product pages

## Screenshots

### Menubar

<img src="./screenshots/menubar.png" width="325" alt="Menubar Screenshot">

### Add a Completed Todo

<img src="./screenshots/done.png" width="713" alt="Completed Todo Screenshot">

### Add a Pending Todo

<img src="./screenshots/todo.png" width="713" alt="Pending Todo Screenshot">

### Preferences

<img src="./screenshots/preferences.png" width="399" alt="Preferences Screenshot">

## Menu Bar Icons

Streaker's menu bar icon is updated depending on your current contribution status:
WIP's menu bar icon is updated depending on your current streak status:

| | Status | Description |
| ------------------------------------------------------------ | ------- | ----------------------------------------------------- |
| <img src="./src/icons/macos/doneTemplate@2x.png" width="16"> | Done | You've contributed today |
| <img src="./src/icons/macos/todoTemplate@2x.png" width="16"> | Todo | You haven't contributed today |
| <img src="./src/icons/macos/loadTemplate@2x.png" width="16"> | Loading | Your contribution data is being requested from GitHub |
| <img src="./src/icons/macos/failTemplate@2x.png" width="16"> | Failed | Your contribution data request failed |
| <img src="./src/icons/macos/doneTemplate@2x.png" width="16"> | Done | You've shipped today |
| <img src="./src/icons/macos/todoTemplate@2x.png" width="16"> | Todo | You haven't shipped today |
| <img src="./src/icons/macos/loadTemplate@2x.png" width="16"> | Loading | Your streak data is being requested from WIP |
| <img src="./src/icons/macos/failTemplate@2x.png" width="16"> | Failed | Your streak data request failed |


## Development
During development two processes should be running:
- `yarn render:start` start the development renderer server with hotreload.
- `yarn main:start` start the development main process.

Electron main process doesn't have hot reload functionality. The app will be restarted after any changes in the main process files.
## Release
- `APPLE_ID=foobar@example.com APPLE_ID_PASSWORD=foo-bar yarn release` to build apps for distribution.

## Credits

## Related
This app started of as a fork of, and is heavily inspired by [streaker](https://github.com/jamieweavis/streaker) by [Jamie Weavis](https://github.com/jamieweavis). Major props to him for open sourcing his work.

- [streaker-cli](https://github.com/jamieweavis/streaker-cli) - 🐙 GitHub contribution streak fetching CLI app
- [contribution](https://github.com/jamieweavis/contribution) - 🗓 GitHub contribution count & streak fetcher with zero dependencies
## Copyright

## License
© 2019 Marc Köhlbrugge

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
Menubar for WIP is [source-available](https://en.wikipedia.org/wiki/Source-available_software) software. ([license](LICENSE.md))
Binary file added build/all-certs.p12
Binary file not shown.
Binary file added build/background.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 build/background.tiff
Binary file not shown.
Binary file added build/background@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions build/create_background.src
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tiffutil -cathidpicheck background.png background@2x.png -out background.tiff
13 changes: 13 additions & 0 deletions build/create_icns.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
mkdir icon.iconset
sips -z 16 16 icon1024.png --out icon.iconset/icon_16x16.png
sips -z 32 32 icon1024.png --out icon.iconset/icon_16x16@2x.png
sips -z 32 32 icon1024.png --out icon.iconset/icon_32x32.png
sips -z 64 64 icon1024.png --out icon.iconset/icon_32x32@2x.png
sips -z 128 128 icon1024.png --out icon.iconset/icon_128x128.png
sips -z 256 256 icon1024.png --out icon.iconset/icon_128x128@2x.png
sips -z 256 256 icon1024.png --out icon.iconset/icon_256x256.png
sips -z 512 512 icon1024.png --out icon.iconset/icon_256x256@2x.png
sips -z 512 512 icon1024.png --out icon.iconset/icon_512x512.png
cp icon1024.png icon.iconset/icon_512x512@2x.png
iconutil -c icns icon.iconset
rm -R icon.iconset
10 changes: 10 additions & 0 deletions build/entitlements.mas.inherit.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.inherit</key>
<true/>
</dict>
</plist>
8 changes: 8 additions & 0 deletions build/entitlements.mas.loginhelper.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
</dict>
</plist>
16 changes: 16 additions & 0 deletions build/entitlements.mas.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.application-groups</key>
<array>
<string>Y9VMFY8SNZ.chat.wip.menubar</string>
</array>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
</dict>
</plist>
Binary file modified build/icon.icns
Binary file not shown.
Binary file removed build/icon.png
Binary file not shown.
Binary file modified build/icon.sketch
Binary file not shown.
Binary file added build/icon1024.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions build/info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ElectronTeamID</key>
<string>Y9VMFY8SNZ</string>
<key>com.apple.developer.team-identifier</key>
<string>Y9VMFY8SNZ</string>
<key>com.apple.application-identifier</key>
<string>Y9VMFY8SNZ.chat.wip.menubar</string>
</dict>
</plist>
63 changes: 63 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
directories:
output: release

appId: chat.wip.menubar

productName: WIP

files:
- src/icons/**
- dist/**/*
- resources/
- "!node_modules/**/*"
- embedded.provisionprofile

afterSign: ./scripts/after-sign-hook.js

publish:
provider: github
repo: wip-menubar
owner: marckohlbrugge
vPrefixedTagName: true

dmg:
background: ./build/background.tiff
icon: ./build/icon.icns
iconSize: 128
contents:
[
{ x: 460, y: 167, type: link, path: /Applications },
{ x: 138, y: 167, type: file },
]

mac:
hardenedRuntime: true
appId: chat.wip.menubar
category: public.app-category.productivity
target:
- target: default
arch: universal
- target: mas
arch: universal
icon: resources/app.icns
darkModeSupport: true
extendInfo:
LSUIElement: 1

mas:
hardenedRuntime: false
target:
target: default
arch: universal
entitlements: build/entitlements.mas.plist
entitlementsInherit: build/entitlements.mas.inherit.plist
provisioningProfile: embedded.provisionprofile

linux:
target:
- AppImage
executableName: wip
artifactName: ${productName}-${version}.${ext}
category: Productivity
publish:
- github
Loading