Skip to content

Commit

Permalink
massive cleanup of files and restructure of integrations design
Browse files Browse the repository at this point in the history
  • Loading branch information
subzdev committed Jan 7, 2022
1 parent 8d41f2b commit 078267a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/containers/tactical-nginx/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,12 @@ server {
location / {
#Using variable to disable start checks
<<<<<<< HEAD
<<<<<<< HEAD
set \$meshcentral http://{$MESH_SERVICE}:443;
=======
set \$meshcentral http://${MESH_SERVICE}:443;
>>>>>>> 2c9d413a1a0d4d3715ac77ea408c94d156899e83
=======
set \$meshcentral http://${MESH_SERVICE}:443;
>>>>>>> 2c9d413a1a0d4d3715ac77ea408c94d156899e83
Expand Down
23 changes: 23 additions & 0 deletions web/src/components/agents/AgentActionMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
</q-menu>
</q-item>

<<<<<<< HEAD
<!-- integrations -->
<q-item clickable v-close-popup @click="getAgentIntegrations(agent)">
<q-item-section side>
Expand All @@ -55,12 +56,18 @@
<q-item-section>Integrations</q-item-section>
</q-item>

=======
>>>>>>> 2c9d413a1a0d4d3715ac77ea408c94d156899e83
<q-item clickable v-ripple v-close-popup @click="showSendCommand(agent)">
<q-item-section side>
<q-icon size="xs" name="fas fa-terminal" />
</q-item-section>
<q-item-section>Send Command</q-item-section>
</q-item>
<<<<<<< HEAD
=======

>>>>>>> 2c9d413a1a0d4d3715ac77ea408c94d156899e83
<q-item clickable v-ripple v-close-popup @click="showRunScript(agent)">
<q-item-section side>
<q-icon size="xs" name="fas fa-terminal" />
Expand Down Expand Up @@ -190,7 +197,10 @@
</template>

<script>
<<<<<<< HEAD
import axios from "axios";
=======
>>>>>>> 2c9d413a1a0d4d3715ac77ea408c94d156899e83
// composition imports
import { ref, inject } from "vue";
import { useStore } from "vuex";
Expand All @@ -217,7 +227,10 @@ import RebootLater from "@/components/modals/agents/RebootLater";
import EditAgent from "@/components/modals/agents/EditAgent";
import SendCommand from "@/components/modals/agents/SendCommand";
import RunScript from "@/components/modals/agents/RunScript";
<<<<<<< HEAD
import AgentIntegrations from "@/components/modals/agents/AgentIntegrations";
=======
>>>>>>> 2c9d413a1a0d4d3715ac77ea408c94d156899e83
export default {
name: "AgentActionMenu",
Expand Down Expand Up @@ -446,6 +459,7 @@ export default {
}
});
}
<<<<<<< HEAD
function getAgentIntegrations(agent) {
axios
.get("agents/" + props.agent.agent_id + "/")
Expand Down Expand Up @@ -480,19 +494,28 @@ export default {
console.log(e)
});
}
=======
>>>>>>> 2c9d413a1a0d4d3715ac77ea408c94d156899e83
return {
// reactive data
urlActions,
favoriteScripts,
<<<<<<< HEAD
=======
>>>>>>> 2c9d413a1a0d4d3715ac77ea408c94d156899e83
// methods
showEditAgent,
showPendingActionsModal,
runTakeControl,
runRemoteBackground,
getURLActions,
runURLAction,
<<<<<<< HEAD
getAgentIntegrations,
=======
>>>>>>> 2c9d413a1a0d4d3715ac77ea408c94d156899e83
showSendCommand,
showRunScript,
getFavoriteScripts,
Expand Down

0 comments on commit 078267a

Please sign in to comment.