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

Update mpris implementation #279

Closed
wants to merge 597 commits into from
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
597 commits
Select commit Hold shift + click to select a range
454e609
#154 test platform for maximizing / full screen of the app
trekiteasy Jan 21, 2019
9372737
Code quality : == to ===
trekiteasy Jan 21, 2019
e82a02e
Code quality : == to ===
trekiteasy Jan 21, 2019
25763dd
Code quality = != to !==
trekiteasy Jan 21, 2019
0646a09
Update react-beautiful-dnd requirement from ^9.0.0 to ^10.0.3
dependabot-support Jan 21, 2019
decf66d
Merge pull request #162 from ghostslayer989/dependabot/npm_and_yarn/r…
nukeop Jan 21, 2019
7475bff
Caps
VocalFan Jan 21, 2019
790d3a2
Caps
VocalFan Jan 21, 2019
4ba9d77
Merge pull request #163 from ghostslayer989/master
nukeop Jan 21, 2019
4b376fc
Caps
VocalFan Jan 21, 2019
b8aee1e
Merge pull request #167 from ghostslayer989/patch-1
nukeop Jan 21, 2019
df11299
Fixed AddPlaylisTrackToQueue
trekiteasy Jan 22, 2019
ba18c78
Merge branch 'master' of https://github.com/nukeop/nuclear
trekiteasy Jan 22, 2019
3652bbb
Revert react-beautiful-dnd back to 9.0.0
nukeop Jan 22, 2019
80022fc
Add Community-maintained packages
JourneyOver Jan 23, 2019
5a24449
Added a youtube playlist tracks identifier
trekiteasy Jan 23, 2019
505bcd9
Merge branch 'master' of https://github.com/nukeop/nuclear
trekiteasy Jan 23, 2019
980f230
Merge pull request #179 from JourneyOver/patch-1
nukeop Jan 23, 2019
be46815
Cleaning console.log statements
trekiteasy Jan 23, 2019
a408a35
Added artist name in playlist search results
trekiteasy Jan 23, 2019
78042b2
Update README.md
nukeop Jan 23, 2019
c79b713
Change seekbar_container color
1yzo Jan 23, 2019
a86aefb
Remove old background-color
1yzo Jan 23, 2019
78d0089
Merge remote-tracking branch 'upstream/master'
1yzo Jan 23, 2019
8ac07b1
Merge pull request #183 from 1yzo/master
nukeop Jan 23, 2019
f395c50
Update to use electron-timber
trekiteasy Jan 23, 2019
0ae9758
Merge branch 'master' of https://github.com/nukeop/nuclear
trekiteasy Jan 23, 2019
6983421
Redirect to dashboard on program start
nukeop Jan 24, 2019
db7b382
Display seekbar more prominently
nukeop Jan 24, 2019
9ab1027
Remove route transitions - program feels a lot snappier
nukeop Jan 24, 2019
588dc6b
Merge pull request #3 from nukeop/master
trekiteasy Jan 24, 2019
4e9e481
Merge pull request #188 from nukeop/feature/ui-enhancements
nukeop Jan 24, 2019
7c0ca56
Fix queue popup right click behavior
nukeop Jan 24, 2019
8503f77
Fix queue popup thumbnails
nukeop Jan 24, 2019
a792f04
Get artist related data safely
nukeop Jan 24, 2019
afbbebd
Update electron, fixes #189
nukeop Jan 24, 2019
29e60ec
Allow users to disable GPU rendering. Closes #159
nukeop Jan 24, 2019
8b7947f
Merge pull request #190 from nukeop/feature/disable-gpu
nukeop Jan 24, 2019
bb16c52
autoFixOnSave setting in .esslint
trekiteasy Jan 24, 2019
14b7110
Linter
trekiteasy Jan 24, 2019
fcd0000
Merge branch 'master' of https://github.com/nukeop/nuclear
trekiteasy Jan 24, 2019
6e159db
Code quality (linter + minor fixes)
trekiteasy Jan 24, 2019
a19ff89
Code quality (linter + minor fixes)
trekiteasy Jan 24, 2019
67ba0c1
Code quality (linter + minor fixes)
trekiteasy Jan 24, 2019
a1d756e
Move electron to devDependencies
nukeop Jan 24, 2019
f8f414b
Added material for presskit.
mknepper Jan 24, 2019
e4aec1b
Show loader when album info is loading instead of invalid data message
nukeop Jan 24, 2019
496026e
Merge pull request #198 from mknepper/master
nukeop Jan 25, 2019
208682b
TagView: Fixes #191 click on album not working
PaliwalSparsh Jan 25, 2019
eb58f10
Add ability to click on artist name in the down-left corner
aayushchhabra Jan 27, 2019
153cb56
Bugfix : Track Search when adding a track to the queue, the artist wa…
trekiteasy Jan 28, 2019
81aa9c8
Updated the musicSource.search function to pass the artist and tracks…
trekiteasy Jan 28, 2019
bb3ef3f
Added a Jamendo plugin for stream search
trekiteasy Jan 28, 2019
52b82c4
Code simplification as per @FabianLauer 's comment on commit bb3ef3fa…
trekiteasy Jan 28, 2019
70cff32
let => const
trekiteasy Jan 28, 2019
2c0c96a
Deduplication in AllResults for maintainability
trekiteasy Jan 28, 2019
df539bb
Minor tweak to README.md
mknepper Jan 28, 2019
cb181df
Merge pull request #213 from mknepper/patch-1
nukeop Jan 28, 2019
291aeb8
Merge pull request #1 from nukeop/master
WalkerFrederick Jan 28, 2019
5e2929e
Small UI tweeks to handle better long titles in the Track Info area (…
trekiteasy Jan 28, 2019
db40658
Merge branch 'master' of https://github.com/nukeop/nuclear
trekiteasy Jan 28, 2019
7aefefb
added 'play now' button to top charts
WalkerFrederick Jan 28, 2019
9c2487c
added 'play button' to top charts
WalkerFrederick Jan 28, 2019
07a850b
fixed issues with pull request!
WalkerFrederick Jan 28, 2019
dfcb667
Added 'play now' button to top charts (#215)
WalkerFrederick Jan 28, 2019
eb233c6
Merge pull request #2 from nukeop/master
WalkerFrederick Jan 29, 2019
8f75c86
added a 'play now' button to the genre/tagview section
WalkerFrederick Jan 29, 2019
5ae1da4
Update index.js
WalkerFrederick Jan 29, 2019
f71e097
Merge branch 'master' of https://github.com/trekiteasy/nuclear
trekiteasy Jan 29, 2019
3bf81f2
added the 'play now' option to the genre/tagview | fixes issue #200 (…
WalkerFrederick Jan 29, 2019
074c4a7
Added a Track Row component used in Popular Tracks
trekiteasy Jan 29, 2019
ddf3194
Cleaned up PopularTracks from unused functions
trekiteasy Jan 29, 2019
77bc46a
Changed the Track Row layout to a table layout
trekiteasy Jan 29, 2019
6d530fb
Better image for the Track Row
trekiteasy Jan 29, 2019
3c0e534
Used Track Row component to the Tag view
trekiteasy Jan 29, 2019
5c3149f
Track Row component is used in Charts / Search results / Tag View
trekiteasy Jan 29, 2019
b3f22ff
Initial changes for volume_slider enhancements
Chandankkrr Jan 29, 2019
93225a4
Merge pull request #218 from Chandankkrr/master
nukeop Jan 29, 2019
1a1ad8b
Downgraded 'react-range-progress' package to fix build issues
Chandankkrr Jan 29, 2019
3fca1af
Added package to fix build issue
Chandankkrr Jan 29, 2019
302f762
Merge pull request #220 from Chandankkrr/master
nukeop Jan 29, 2019
591fe28
Added TrackRow component to Playlist view
trekiteasy Jan 29, 2019
77a7edb
Cleaning unused + console.log
trekiteasy Jan 29, 2019
c6b6025
Added cover in popular tracks, track results and tag top tracks lists
trekiteasy Jan 29, 2019
b3e5afb
Cleaning unused in ChartsTab
trekiteasy Jan 29, 2019
9adeae3
Cleaning unused
trekiteasy Jan 29, 2019
903c977
Merge branch 'master' of https://github.com/nukeop/nuclear
WalkerFrederick Jan 29, 2019
d67d32e
Merge branch 'master' of https://github.com/WalkerFrederick/nuclear
WalkerFrederick Jan 29, 2019
0c0a2f4
top charts UI tweaks
WalkerFrederick Jan 29, 2019
3d13f65
Delete package-lock.json
WalkerFrederick Jan 29, 2019
44bb931
changed volume slider track color to be more inline with the rest of …
WalkerFrederick Jan 29, 2019
a5240c3
Merge branch 'master' of https://github.com/WalkerFrederick/nuclear
WalkerFrederick Jan 29, 2019
5f2653c
removed useless styles
WalkerFrederick Jan 29, 2019
50d7820
Merge pull request #222 from WalkerFrederick/master
nukeop Jan 29, 2019
9c3a803
Adding covers to top charts
trekiteasy Jan 30, 2019
c5bba5f
Small Reduction of compelxity in TracksResults
trekiteasy Jan 30, 2019
8923904
Center the cover in the table cell
trekiteasy Jan 30, 2019
0d7b019
Dealing with long track durations in converter
trekiteasy Jan 30, 2019
419e7bd
Adding Track Row component to playlist view
trekiteasy Jan 30, 2019
3a470c6
Better management of Track view images
trekiteasy Jan 30, 2019
490799b
Update electron-builder
nukeop Jan 30, 2019
29f7c30
Merge pull request #227 from nukeop/fix-ci
nukeop Jan 30, 2019
b722f33
Merge pull request #204 from PaliwalSparsh/feature/FixTagView
nukeop Jan 30, 2019
c274eee
Merge branch 'master' into master
nukeop Jan 30, 2019
2da156d
Merge pull request #209 from aayushchhabra/master
nukeop Jan 30, 2019
72236e4
Merge pull request #3 from nukeop/master
WalkerFrederick Jan 31, 2019
711879d
Simplified boolean options
trekiteasy Jan 31, 2019
4957aac
Added defaults values for thumbnail
trekiteasy Jan 31, 2019
adb1250
Better thumbnail quality for popup
trekiteasy Jan 31, 2019
67bcaf9
Merge branch 'master' into master
trekiteasy Jan 31, 2019
da1a5e8
Added ability to mute volume when clicking on volume icon
Chandankkrr Jan 31, 2019
0d1dd26
Moved state out.
Chandankkrr Jan 31, 2019
e6085b6
Add ToastContainer
nukeop Jan 31, 2019
227662f
Removed mutation of track object in Playlist & TrackResults views
trekiteasy Jan 31, 2019
c6c94a0
Merge pull request #221 from trekiteasy/master
nukeop Feb 1, 2019
0b6f61e
Merge pull request #4 from nukeop/master
WalkerFrederick Feb 1, 2019
57643d0
fixed multiple queue popups bug
WalkerFrederick Feb 1, 2019
221fd27
fixed multiple queue popup bug
WalkerFrederick Feb 1, 2019
7920520
Removed unused code in TagTopTracks
trekiteasy Feb 1, 2019
d82352a
Simplification of TrackRow
trekiteasy Feb 1, 2019
6999e2c
Simplified PlaylistView render
trekiteasy Feb 1, 2019
273810b
Creating contribute file - initial commit
trekiteasy Feb 1, 2019
737234b
Adding link to the contribute wiki
trekiteasy Feb 1, 2019
d3b9ec8
Avoiding stateful VolumeControl component. Maintating muted in player…
chandanrauniyar Feb 1, 2019
56d2b66
Merge remote-tracking branch 'upstream/master'
Chandankkrr Feb 4, 2019
809c84c
Updated action name.
Chandankkrr Feb 4, 2019
9317be4
Merge branch 'master' of https://github.com/Chandankkrr/nuclear
Chandankkrr Feb 4, 2019
b108ba7
Revert "Merge branch 'master' of https://github.com/Chandankkrr/nuclear"
Chandankkrr Feb 4, 2019
be9e875
Merge pull request #229 from Chandankkrr/master
nukeop Feb 4, 2019
42eee5e
Rename LEGAL to LEGAL.md (#235)
Feb 4, 2019
aa6d8d8
Merge pull request #237 from kittenparry/master
nukeop Feb 4, 2019
3d2acb6
Update nuclear-ui, add actions, reducer, and container for notifications
nukeop Feb 5, 2019
2734f9e
Initial commit feature lyrics
trekiteasy Feb 5, 2019
7199997
Code quality ArtistView
trekiteasy Feb 5, 2019
cfb96ad
Code quality VolumeSlider
trekiteasy Feb 5, 2019
b1c8d44
Code quality utils
trekiteasy Feb 5, 2019
d5238af
Code quality persistence/store
trekiteasy Feb 5, 2019
ef8d365
Code quality : no-undefined
trekiteasy Feb 5, 2019
4952570
Removed a few duplicated code lines
Hanouta Feb 5, 2019
c7eeb1c
Use function 'search' instead
Hanouta Feb 5, 2019
eefe78c
Merge pull request #1 from Brn9hrd7/Brn9hrd7-patch-1
Hanouta Feb 5, 2019
8a85e87
Merge pull request #2 from Brn9hrd7/Brn9hrd7-patch-2
Hanouta Feb 5, 2019
0d11622
Update Discogs.js
Hanouta Feb 5, 2019
4dbf5de
Allow notifications to be dismissed by clicking on them
nukeop Feb 6, 2019
8d42179
Added a working lyrics feature integrated to the UI
trekiteasy Feb 6, 2019
43683ae
Added an add all button to playlist search result
trekiteasy Feb 6, 2019
d96e9fc
Bugfix : no error from playlist search in case of empty search
trekiteasy Feb 6, 2019
f0eaea0
Hide Add all button when search result is void
trekiteasy Feb 6, 2019
5cf3a5e
Added ability to find the track under a youtube url
trekiteasy Feb 6, 2019
8468eb4
Add files via upload
Hanouta Feb 6, 2019
cc73d5d
Update Discogs.js
Hanouta Feb 6, 2019
44f2725
Add number option type, add notification timeout to configurable options
nukeop Feb 7, 2019
d5f97a6
Remove toasts after atimeout
nukeop Feb 7, 2019
cb29478
Merge pull request #241 from Brn9hrd7/master
nukeop Feb 7, 2019
8166b60
Fix to #242
trekiteasy Feb 7, 2019
86b5436
Fix to #104 : order albums chronologicaly
trekiteasy Feb 7, 2019
a18cbe2
Bugfix : better handling of artist and track names containing special…
trekiteasy Feb 7, 2019
5a47329
Fixed #246 : Play Now on youtube links videos or playlists
trekiteasy Feb 8, 2019
340649c
Autoradio Averager + enhancement
trekiteasy Feb 8, 2019
2b3b459
Remove '&' from last.fm track name
Hanouta Feb 8, 2019
a2360d2
Fixed #240 : removes null from stream sources
trekiteasy Feb 8, 2019
ec4ef37
Update LastFm.js
Hanouta Feb 8, 2019
a4802d4
Merge pull request #249 from Brn9hrd7/master
nukeop Feb 8, 2019
9e9a8fc
Fix to #192 : added ability to click on album name in dashboard to op…
trekiteasy Feb 8, 2019
87d52e9
Merge pull request #232 from WalkerFrederick/master
nukeop Feb 9, 2019
427b498
Merge pull request #250 from nukeop/feature/dashboard/click-album-name
nukeop Feb 9, 2019
b34ce4b
Broken - Work in progress - Added a click on track in dashboard best …
trekiteasy Feb 9, 2019
0dccd5d
Add all notification types, send a success toast when creating a play…
nukeop Feb 10, 2019
d0cd2ad
Rely on simple-get-lyrics to get lyrics
trekiteasy Feb 10, 2019
e6575a5
Changed simple-get-lyrics version
trekiteasy Feb 10, 2019
0af0647
Create main.workflow
nukeop Feb 10, 2019
1cfe66f
Changed header line-height for multi-line texts
trekiteasy Feb 11, 2019
3d25843
Merge branch 'master' into feature/autoradioAverager
trekiteasy Feb 11, 2019
87b7a19
Merge pull request #247 from nukeop/feature/lyrics
nukeop Feb 11, 2019
bf05baa
Added style to play and add buttons
trekiteasy Feb 11, 2019
ef69cce
Merge pull request #255 from nukeop/feature/dashboard/click-album-name
nukeop Feb 11, 2019
1d75287
Update simple-get-lyrics to 0.0.4 (better lyrics cleaning)
trekiteasy Feb 11, 2019
5f529fe
Merge branch 'master' of https://github.com/nukeop/nuclear
trekiteasy Feb 11, 2019
d5e5329
Merge branch 'master' into feature/toasts
nukeop Feb 11, 2019
5a541e5
Merge pull request #253 from nukeop/feature/toasts
nukeop Feb 11, 2019
26f9d7f
Merge branch 'master' into feature/autoradioAverager
nukeop Feb 11, 2019
cf1c1f3
Merge pull request #248 from nukeop/feature/autoradioAverager
nukeop Feb 11, 2019
ca1fecf
Bugfix : error due to merge
trekiteasy Feb 11, 2019
68f68d4
add remote-redux-devtool
Feb 11, 2019
4326100
Merge pull request #256 from charjac/remote-redux-devtool
nukeop Feb 11, 2019
0e023d7
Added the ability to display a slider in the settings for range Numbers
trekiteasy Feb 11, 2019
d188d42
Added a settings for the autoradio smoothness
trekiteasy Feb 11, 2019
0293f1f
Restore full-width popup buttons
nukeop Feb 12, 2019
9ee0df3
Bump displayed version to 0.4.5
nukeop Feb 12, 2019
2ce0850
Bugfix : setting slider when option.min = 0
trekiteasy Feb 12, 2019
4ed5cc7
Settings : slider when min and max are numbers
trekiteasy Feb 12, 2019
e0ac65e
Changed autoradio variables to camel case
trekiteasy Feb 12, 2019
465dcf7
Remove github actions workflow due to unfixable problem
nukeop Feb 12, 2019
d936d82
add basic shortcuts
Feb 11, 2019
3a41884
Added title attribute to player controls
Chandankkrr Feb 12, 2019
50564ec
Merge pull request #259 from Chandankkrr/master
nukeop Feb 12, 2019
d817899
play track when TrackRow is double clicked
Feb 12, 2019
e064aae
merge read settings with default settings
Feb 12, 2019
c7ca8a3
Update settings.js
nukeop Feb 12, 2019
607b317
Merge pull request #262 from charjac/fix.window-control
nukeop Feb 12, 2019
1ca0d76
Merge pull request #257 from charjac/feat.shortcuts
nukeop Feb 12, 2019
4682f53
fix play now issue
Feb 12, 2019
7737bdf
fix SoundContainer shouldcomponentupdate
Feb 12, 2019
81d2d3f
Merge pull request #263 from charjac/fix.playnow
nukeop Feb 12, 2019
c4f6137
Fix #264
nukeop Feb 12, 2019
8028caa
fix PlayerControls dont toggle icon when nothing on playlist
Feb 13, 2019
47676d3
fix shortcuts prevent events from bubbling
Feb 13, 2019
4bb212d
feat shortcuts progressively increase volume and seek
Feb 13, 2019
914c954
Merge pull request #267 from charjac/fix.shortcuts
nukeop Feb 13, 2019
7f0365a
Change to HTTPS
JakeConnors376W Feb 13, 2019
49453e0
Merge pull request #269 from JakeConnors376W/patch-1
nukeop Feb 13, 2019
3e14378
add npm script to build and run nuclear:prod using docker (#173)
gabriel376 Feb 13, 2019
bd12f83
Merge pull request #271 from gabriel376/docker
nukeop Feb 14, 2019
eade8f2
Merge pull request #261 from charjac/feat.dbclick-play
nukeop Feb 15, 2019
38c2118
Use nuclear-core 0.0.5
nukeop Feb 17, 2019
c126a6a
Remove all lastfm-related logic, start using nuclear-core for this
nukeop Feb 17, 2019
7aa7d95
Merge pull request #266 from charjac/fix.playcontrol
nukeop Mar 7, 2019
671e2ef
feat: add a simple express rest api to remotly control the player, th…
Mar 9, 2019
5e11eb7
feat(http): add now-playing endpoint
Mar 9, 2019
8f75b26
feat(http): add /mute endpoint
Mar 9, 2019
980745a
feat(http): add cors middleware
Mar 9, 2019
e70d366
feat(api): add api.port and api.enabled in the settings
Mar 10, 2019
9da55bd
add stop-api event
Mar 10, 2019
069dcf8
feat(api): add swagger documentation
Mar 10, 2019
f13953c
fix(api): fix error when restarting api
Mar 10, 2019
27fefb4
remove package-lock.json
Mar 10, 2019
2703275
fix restart in all env
Mar 10, 2019
1b81c2c
Create navigation buttons; fixes #280, fixes #228
nukeop Mar 11, 2019
d03d9c4
use functions from react-router
nukeop Mar 11, 2019
4178dba
Merge pull request #281 from nukeop/feature/back-button
nukeop Mar 11, 2019
a567631
fix(api): add closHttpServer function
Mar 11, 2019
da84089
feat(http): add playlist and queue management
Mar 11, 2019
6beaca5
fix(playlists): fix typo
Mar 11, 2019
5089a41
feat(api): add a endpoint to get the current queue
Mar 11, 2019
79100ca
refactor(api): move queue related endpoints to its own router
Mar 11, 2019
7d7ed5d
back and forward history buttons disable when you have no history of …
hibroseph Mar 12, 2019
94bffed
styled, removed console.logs, added necessary props in app.js to NavB…
hibroseph Mar 12, 2019
3fc352c
updated code to reflect code review, made code more concise
hibroseph Mar 12, 2019
0b0c94c
corrected a paramater for making the backbutton display correctly
hibroseph Mar 13, 2019
6c12799
updated comparsion operator
hibroseph Mar 13, 2019
8239208
more concise if statements and replaced on click conditional to not u…
hibroseph Mar 13, 2019
b10d7f9
Update index.js
nukeop Mar 13, 2019
0d7bf88
Merge pull request #282 from hibroseph/disable-history-button
nukeop Mar 13, 2019
4ee1016
Fix #285
nukeop Mar 13, 2019
9c42411
feat(error): add a global ErrorBoundary component
Mar 14, 2019
49c0de6
fix(error): fix typo in toast message
Mar 15, 2019
1232433
Merge pull request #290 from charjac/feat.error
nukeop Mar 15, 2019
45edc75
Merge pull request #278 from charjac/feat.httpApi
nukeop Mar 15, 2019
dad078f
Update mpris implementation
Mar 9, 2019
452fe2f
Exclude bindings and abstract-socket from bundle
Mar 22, 2019
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
6 changes: 5 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
"presets": [
"env",
"react"
]
],
"plugins": [
'transform-class-properties',
'transform-object-rest-spread'
]
}
92 changes: 92 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
module.exports = {
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"extends": "eslint:recommended",
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react"
],
"settings": {
"react": {
"version": "16.4.1"
}
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],

// Best practice
"eqeqeq": 2,
"curly": 2,
"dot-location": [2, "property"],
"dot-notation": 2,
"no-alert": 2,

// Style
"array-bracket-spacing": 2,
"brace-style": 2,
"comma-dangle": 2,
"comma-spacing": 2,
"comma-style": 2,
"eol-last": 2,
"key-spacing": 2,
"keyword-spacing": 2,
"no-lonely-if": 2,
"no-multiple-empty-lines": 2,
"no-tabs": 2,
"semi-style": [2, "last"],
"spaced-comment": [2, "always"],

// ES 6
"arrow-spacing": 2,
"no-var": 2,

// React
"jsx-quotes": [2, "prefer-single"],
"react/forbid-prop-types": [1, { "forbid": ["any"] }],
"react/jsx-equals-spacing": [2, "never"],
"react/jsx-indent": [2, 2],
"react/jsx-indent-props": [2, 2],
"react/jsx-key": 1,
"react/jsx-no-duplicate-props": 2,
"react/jsx-no-undef": 2,
"react/jsx-pascal-case": 2,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/jsx-wrap-multilines": 0,
"react/no-children-prop": 2,
"react/no-direct-mutation-state": 1,
"react/no-typos": 2,
"react/no-unknown-property": 2,
"react/no-unused-prop-types": 2,
"react/prefer-es6-class": 1,
"react/prefer-stateless-function": 1,
"react/react-in-jsx-scope": 2,
"react/self-closing-comp": 2

}
};
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,8 @@ typings/

release
dist
nuclear.json
nuclear.json
bundle.electron.js

# Prettier configuration file
.prettierrc
32 changes: 28 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,34 @@
language: node_js
node_js:
- 6
matrix:
include:
- os: osx
osx_image: xcode9.2
language: node_js
node_js: "8"
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true

- os: linux
language: node_js
node_js: "8"

before_install:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install libdbus-1-dev -y; fi

script:
- npm test
- npm run build:dist

- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
npm run build:electron:linux && npm run build:linux
else
npm run build:electron && npm run build:macos
fi

cache:
directories:
- node_modules
- node_modules
- $HOME/.cache/electron
- $HOME/.cache/electron-builder
54 changes: 54 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Contributing to Nuclear

Welcome, and thank you for your interest in contributing to Nuclear!

There are many ways in which you can contribute, beyond writing code. The goal of this document is to provide a high-level overview of how you can get involved.

## Reporting Issues

### Before reporting a new issue or feature request

Have you identified a reproducible problem in nuclear? Have a feature request? We want to hear about it! Here's how you can make reporting your issue as effective as possible.

Before you create a new issue, please do a search in [open issues](https://github.com/nukeop/nuclear/issues) to see if the issue or feature request has already been filed.

If you find your issue already exists, make relevant comments and add your reaction. Use a reaction in place of a "+1" comment:

* 👍 - upvote
* 👎 - downvote

If you cannot find an existing issue that describes your bug or feature, create a new issue using the guidelines below.

### Writing Good Bug Reports and Feature Requests

File a single issue per problem and feature request. Do not enumerate multiple bugs or feature requests in the same issue.

Do not add your issue as a comment to an existing issue unless it's for the identical input. Many issues look similar, but have different causes.

The more information you can provide, the more likely someone will be successful at reproducing the issue and finding a fix.

Please include the following with each issue:

* Version of nuclear (written under the main logo)

* Your operating system

* Reproducible steps (1... 2... 3...) that cause the issue

* What you expected to see, versus what you actually saw

* Images, animations, or a link to a video showing the issue occurring

* A code snippet that demonstrates the issue or a link to a code repository the developers can easily pull down to recreate the issue locally

* **Note:** Because the developers need to copy and paste the code snippet, including a code snippet as a media file (i.e. .gif) is not sufficient.


## Contributing Fixes

If you are interested in writing code to fix issues or add features,
please see How to [Contribute](https://github.com/nukeop/nuclear/wiki/Contributing) in the wiki.

# Thank You!

Your contributions to open source, large or small, make great projects like this possible. Thank you for taking the time to contribute.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM node

WORKDIR /usr/src/
COPY . nuclear

RUN apt-get update && apt-get install -y libnss3 libgtk-3-0 libx11-xcb1 libxss1 libasound2

WORKDIR nuclear
RUN npm install && npm run build:dist && npm run build:electron && npm run pack
RUN ls -a | grep -v release | xargs rm -rf || true

CMD ["./release/linux-unpacked/nuclear"]
2 changes: 2 additions & 0 deletions LEGAL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Legal information
My lawyer tells me I am allowed to smack anyone saying this program is illegal with a flyswatter.
Loading