-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add header to all files; update README.md
- Loading branch information
Showing
22 changed files
with
260 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
# actions | ||
custom actions and helper stuff | ||
# actions GUI | ||
|
||
:information_source: This is rather a demo app. | ||
|
||
Simple GUI for a very limited set of github actions. | ||
|
||
Implemented in python and QML mostly for exploring such Github features like REST API, workflows, webhooks, etc. | ||
|
||
Depends on PySide2 (Qt for Python) project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico | ||
|
||
import platform | ||
from pathlib import Path | ||
|
@@ -70,7 +81,7 @@ def finalize_options(self): | |
'gui_scripts': ['ghactions = actions_gui.main:main'] | ||
}, | ||
classifiers=[ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Development Status :: 3 - Alpha", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"License :: OSI Approved :: MIT License", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
|
||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico | ||
|
||
from .main import main | ||
|
||
if __name__ == '__main__': | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico | ||
|
||
import sys | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico | ||
|
||
from os import getenv | ||
from pathlib import Path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
|
||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico | ||
|
||
from PySide2.QtCore import Property as PS2Property | ||
from PySide2.QtCore import Signal as PS2Signal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico | ||
|
||
import sys | ||
from os import getenv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* | ||
* This file is part of "github actions gui" project | ||
* | ||
* Author: Roman Gladyshev <[email protected]> | ||
* License: MIT License | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* License text is available in the LICENSE file and online: | ||
* http://www.opensource.org/licenses/MIT | ||
* | ||
* Copyright (c) 2020 remico | ||
*/ | ||
import QtQuick 2.15 | ||
import QtQuick.Window 2.15 | ||
import QtQuick.Controls 2.15 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* | ||
* This file is part of "github actions gui" project | ||
* | ||
* Author: Roman Gladyshev <[email protected]> | ||
* License: MIT License | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* License text is available in the LICENSE file and online: | ||
* http://www.opensource.org/licenses/MIT | ||
* | ||
* Copyright (c) 2020 remico | ||
*/ | ||
import QtQuick 2.15 | ||
import QtQuick.Controls 2.15 | ||
import QtQuick.Layouts 1.15 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* | ||
* This file is part of "github actions gui" project | ||
* | ||
* Author: Roman Gladyshev <[email protected]> | ||
* License: MIT License | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* License text is available in the LICENSE file and online: | ||
* http://www.opensource.org/licenses/MIT | ||
* | ||
* Copyright (c) 2020 remico | ||
*/ | ||
import QtQuick 2.15 | ||
import QtQuick.Layouts 1.15 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* | ||
* This file is part of "github actions gui" project | ||
* | ||
* Author: Roman Gladyshev <[email protected]> | ||
* License: MIT License | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* License text is available in the LICENSE file and online: | ||
* http://www.opensource.org/licenses/MIT | ||
* | ||
* Copyright (c) 2020 remico | ||
*/ | ||
import QtQuick 2.15 | ||
import QtQuick.Controls 2.15 | ||
import QtQuick.XmlListModel 2.15 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* | ||
* This file is part of "github actions gui" project | ||
* | ||
* Author: Roman Gladyshev <[email protected]> | ||
* License: MIT License | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* License text is available in the LICENSE file and online: | ||
* http://www.opensource.org/licenses/MIT | ||
* | ||
* Copyright (c) 2020 remico | ||
*/ | ||
import Qt.labs.settings 1.0 | ||
|
||
Settings { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* | ||
* This file is part of "github actions gui" project | ||
* | ||
* Author: Roman Gladyshev <[email protected]> | ||
* License: MIT License | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* License text is available in the LICENSE file and online: | ||
* http://www.opensource.org/licenses/MIT | ||
* | ||
* Copyright (c) 2020 remico | ||
*/ | ||
import QtQuick 2.15 | ||
import QtQuick.Controls 2.15 | ||
import "utils.js" as Utils | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* | ||
* This file is part of "github actions gui" project | ||
* | ||
* Author: Roman Gladyshev <[email protected]> | ||
* License: MIT License | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* License text is available in the LICENSE file and online: | ||
* http://www.opensource.org/licenses/MIT | ||
* | ||
* Copyright (c) 2020 remico | ||
*/ | ||
import QtQuick 2.15 | ||
import QtQuick.Controls 2.15 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
/* | ||
* This file is part of "github actions gui" project | ||
* | ||
* Author: Roman Gladyshev <[email protected]> | ||
* License: MIT License | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* License text is available in the LICENSE file and online: | ||
* http://www.opensource.org/licenses/MIT | ||
* | ||
* Copyright (c) 2020 remico | ||
*/ | ||
import QtQuick 2.15 | ||
import QtQuick.Window 2.15 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico | ||
|
||
module remico.ui | ||
|
||
ApplicationWindow 1.0 ApplicationWindow.qml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
function format_timestamp(datetime, format) { | ||
/* | ||
* This file is part of "github actions gui" project | ||
* | ||
* Author: Roman Gladyshev <[email protected]> | ||
* License: MIT License | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* License text is available in the LICENSE file and online: | ||
* http://www.opensource.org/licenses/MIT | ||
* | ||
* Copyright (c) 2020 remico | ||
*/ | ||
|
||
function format_timestamp(datetime, format) { | ||
if (typeof format == 'undefined') { | ||
format = "[ ddd ] MMM dd, yyyy hh:mm:ss" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico | ||
|
||
from .pyside2 import * | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico | ||
|
||
import hmac | ||
import json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico | ||
|
||
from threading import Thread | ||
from .pyside2 import * | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This file is part of "github actions gui" project | ||
# | ||
# Author: Roman Gladyshev <[email protected]> | ||
# License: MIT License | ||
# | ||
# SPDX-License-Identifier: MIT | ||
# License text is available in the LICENSE file and online: | ||
# http://www.opensource.org/licenses/MIT | ||
# | ||
# Copyright (c) 2020 remico | ||
|
||
from functools import wraps | ||
from pathlib import Path | ||
|