Skip to content

Commit

Permalink
Merge branch 'release/new_build_workflow'
Browse files Browse the repository at this point in the history
  • Loading branch information
clavelm committed Dec 21, 2021
2 parents fd0ba68 + 8ecb650 commit e52ccf0
Show file tree
Hide file tree
Showing 12 changed files with 1,437 additions and 11 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Tag Repo
uses: richardsimko/update-tag@v1.0.5
with:
tag_name: nightly
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout 🛎️
uses: actions/checkout@v2.4.0

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- name: Tag Repo
uses: richardsimko/update-tag@v1.0.5
with:
tag_name: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout 🛎️
uses: actions/checkout@v2.4.0

Expand Down
2 changes: 1 addition & 1 deletion .run/build.run.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="build" type="PythonConfigurationType" factoryName="Python">
<module name="iitc-plugin-template" />
<module name="iitc-plugins" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs>
Expand Down
31 changes: 31 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
## [Comm Filter][comm-filter]
*Updates [COMM Filter](https://github.com/udnp/iitc-plugins) by [udnp](https://github.com/udnp).*
Adds filters to the comm to remove specific logs.

Features by naf:
1. add inlined total MUs created in the backlog
1. add fracker as a filter
1. add virus detection and as a filter
1. BugFix for Virus detection when 2 agents simultaneously destroy 2 resonators on the same portal
1. side note: a virus applied on a portal with only one resonator will not be detected but who care?
1. add checkable filtering for all/faction/alert
1. add per agent total MUs created in the backlog
1. the #6 answer

## [Share selected portal][share-selected-portal] (only on android)
Adds a share button for the selected portal at the bottom left of the screen.
I have copied the placement for the star of the bookmarks plugin, so one of the plugins will be drawn over the other one.

## [Force refresh][force-refresh]
*Updates [force refresh](https://github.com/ResistanceCN/iitc-plugins) by [balthild](https://github.com/balthild).*
Not a lot of changes.
I’ve replaced the text "refresh" by "↻", the refresh is extracted in a function, and I’ve used jQuery to add the button to the dom.

## [Portal Multi Export][portal-multi-export]
*Updates [Portal Multi Export](https://github.com/modkin/Ingress-IITC-Multi-Export).*
The update URL is broken and replacing the content of the plugin by a web page.

[comm-filter]: https://github.com/clavelm/iitc-plugins/releases/download/release/comm-filter.user.js
[share-selected-portal]: https://github.com/clavelm/iitc-plugins/releases/download/release/share-selected-portal.user.js
[force-refresh]: https://github.com/clavelm/iitc-plugins/releases/download/release/force-refresh.user.js
[portal-multi-export]: https://github.com/clavelm/iitc-plugins/releases/download/release/multi-export.user.js
20 changes: 10 additions & 10 deletions buildsettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@
# 'update_file': '.meta.js',
# },

# 'dw235': {
# 'url_dist_base': 'https://github.com/clavelm/TO_SET/releases/latest/download',
# 'update_file': '.meta.js',
# 'version_timestamp': False,
# },
'dw235': {
'url_dist_base': 'https://github.com/clavelm/iitc-plugins/releases/download/release',
'update_file': '.meta.js',
'version_timestamp': False,
},

# 'dw235nightly': {
# 'url_dist_base': 'https://github.com/clavelm/TO_SET/releases/download/nightly',
# 'update_file': '.meta.js',
# 'version_timestamp': True,
# },
'dw235nightly': {
'url_dist_base': 'https://github.com/clavelm/iitc-plugins/releases/download/nightly',
'update_file': '.meta.js',
'version_timestamp': True,
},

'dw235dev': {
'update_file': '.user.js',
Expand Down
109 changes: 109 additions & 0 deletions plugins/comm-filter.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
#PLUGIN_COMM_FILTER {
display: flex;
align-items: center;
padding: 0 0.5ex;
}

#chat:not(.expand) > #PLUGIN_COMM_FILTER {
position: absolute;
right: 30px;
width: 30%;
z-index: 1;
background: rgba(8, 48, 78, 0.9);
}

#chat:not(.expand) > #PLUGIN_COMM_FILTER > .switchgroup {
display: none;
}

#chat:not(.expand) {
padding-bottom: 0;
}

#chat {
padding-bottom: 26px;
}

#PLUGIN_COMM_FILTER .title {
height: 26px;
padding-right: 0.5ex;
flex: none; /* for Android K WebView */
display: inline-flex;
align-items: center;
}

#PLUGIN_COMM_FILTER > select {
margin: 0 1ex;
}

#PLUGIN_COMM_FILTER > .switchgroup {
overflow-x: auto;
align-self: stretch;
display: inline-flex;
align-items: center;
}

#PLUGIN_COMM_FILTER .switch {
white-space: nowrap;
margin-left: 1.2ex;
flex: none; /* for Android K WebView */
display: inline-flex;
align-items: center;
padding: 0.5ex 0;
}

#PLUGIN_COMM_FILTER > input[name=agents_or_portals] {
flex-grow: 1;
flex-shrink: 0;
flex-basis: auto;
width: 16ex;
}

#PLUGIN_COMM_FILTER > input[name=agents_or_portals]:focus ~ .switchgroup {
display: none;
}

#PLUGIN_COMM_FILTER > button {
padding: 2px;
min-width: 40px;
color: #FFCE00;
border: 1px solid #FFCE00;
background-color: rgba(8, 48, 78, 0.9);
text-align: center;
}

#chatall > .status, #chatfaction > .status, #chatalerts > .status {
height: 20px;
text-align: center;
font-style: italic;
}

#chatall > table, #chatfaction > table, #chatalerts > table {
table-layout: auto;
}

#chatall > table td:nth-child(2),
#chatfaction > table td:nth-child(2),
#chatalerts > table td:nth-child(2) {
width: 15ex;
}

/* hack chat.js divider */
#chatall > table tr.divider,
#chatfaction > table tr.divider,
#chatalerts > table tr.divider {
border-top: solid 1px #bbb;
}

#chatall > table tr.divider > td,
#chatfaction > table tr.divider > td,
#chatalerts > table tr.divider > td {
padding-top: 3px;
}

#chatall > table tr.divider summary,
#chatfaction > table tr.divider summary,
#chatalerts > table tr.divider summary {
box-sizing: border-box;
padding-left: 2ex;
}
Loading

0 comments on commit e52ccf0

Please sign in to comment.