├── pkgs ├── __init__.py ├── urls.py ├── templates │ └── pkgs │ │ ├── done.html │ │ ├── deleted.html │ │ ├── orphaned.html │ │ ├── confirm.html │ │ └── index.html └── static │ └── js │ └── pkgs.js ├── version ├── catalogs ├── __init__.py ├── templatetags │ ├── __init__.py │ └── catalog_extras.py ├── templates │ └── catalogs │ │ ├── dict_list.html │ │ ├── generic_dict.html │ │ ├── item_detail.html │ │ └── catalog.html ├── static │ ├── css │ │ ├── catalogs.css │ │ └── tapdrop.css │ └── js │ │ ├── catalogs.js │ │ └── bootstrap-tabdrop.js ├── urls.py ├── tests.py ├── models.py └── views.py ├── manifests ├── __init__.py ├── tests.py ├── urls.py └── templates │ └── manifests │ ├── delete.html │ ├── new.html │ ├── index.html │ └── detail.html ├── munkido ├── __init__.py ├── templatetags │ ├── __init__.py │ └── base_extras.py ├── site_static │ ├── less │ │ ├── mixins.less │ │ ├── variables.less │ │ └── sb-admin-2.less │ ├── img │ │ ├── ssh.png │ │ ├── Munki.png │ │ ├── logo.png │ │ ├── arrow-up.gif │ │ ├── favicon.ico │ │ ├── loading.png │ │ ├── loading2.gif │ │ ├── PackageIcon.png │ │ ├── appleupdate.png │ │ ├── arrow-down.gif │ │ └── screensharing.png │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff │ ├── font-awesome-4.3.0 │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ ├── fontawesome-webfont.woff │ │ │ └── fontawesome-webfont.woff2 │ │ ├── less │ │ │ ├── fixed-width.less │ │ │ ├── bordered-pulled.less │ │ │ ├── larger.less │ │ │ ├── list.less │ │ │ ├── font-awesome.less │ │ │ ├── core.less │ │ │ ├── stacked.less │ │ │ ├── rotated-flipped.less │ │ │ ├── path.less │ │ │ ├── animated.less │ │ │ └── mixins.less │ │ └── scss │ │ │ ├── _fixed-width.scss │ │ │ ├── _bordered-pulled.scss │ │ │ ├── _larger.scss │ │ │ ├── _list.scss │ │ │ ├── font-awesome.scss │ │ │ ├── _core.scss │ │ │ ├── _stacked.scss │ │ │ ├── _rotated-flipped.scss │ │ │ ├── _path.scss │ │ │ ├── _animated.scss │ │ │ └── _mixins.scss │ ├── css │ │ ├── smoothness │ │ │ └── images │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ ├── ui-icons_228ef1_256x240.png │ │ │ │ ├── ui-icons_ef8c08_256x240.png │ │ │ │ ├── ui-icons_ffd27a_256x240.png │ │ │ │ ├── ui-icons_ffffff_256x240.png │ │ │ │ ├── ui-bg_flat_10_000000_40x100.png │ │ │ │ ├── ui-bg_glass_100_f6f6f6_1x400.png │ │ │ │ ├── ui-bg_glass_100_fdf5ce_1x400.png │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png │ │ │ │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png │ │ │ │ ├── ui-bg_diagonals-thick_20_666666_40x40.png │ │ │ │ ├── ui-bg_highlight-soft_100_eeeeee_1x100.png │ │ │ │ └── ui-bg_highlight-soft_75_ffe45c_1x100.png │ │ ├── plugins │ │ │ ├── morris.css │ │ │ ├── metisMenu │ │ │ │ ├── metisMenu.min.css │ │ │ │ └── metisMenu.css │ │ │ ├── timeline.css │ │ │ └── dataTables.bootstrap.css │ │ ├── bootstrapxl.css │ │ └── sb-admin-2.css │ └── js │ │ ├── sb-admin-2.js │ │ ├── plugins │ │ ├── metisMenu │ │ │ ├── metisMenu.min.js │ │ │ └── metisMenu.js │ │ ├── flot │ │ │ ├── jquery.flot.resize.js │ │ │ └── jquery.flot.tooltip.min.js │ │ ├── morris │ │ │ └── morris-data.js │ │ └── dataTables │ │ │ └── dataTables.bootstrap.js │ │ ├── webadmin.js │ │ └── bootbox.min.js ├── templates │ ├── 404.html │ ├── 500.html │ ├── registration │ │ └── login.html │ └── base.html ├── processor.py ├── wsgi.py ├── urls.py ├── system_settings.py └── settings_template.py ├── docker ├── django │ ├── admin_tools │ │ ├── __init__.py │ │ └── management │ │ │ ├── __init__.py │ │ │ └── commands │ │ │ ├── __init__.py │ │ │ └── update_admin_user.py │ ├── requirements.txt │ └── passenger_wsgi.py ├── known_hosts ├── nginx │ ├── nginx-env.conf │ └── munkido.conf ├── run.sh ├── Makefile ├── id_rsa ├── Dockerfile ├── settings.py ├── README.md └── settings_import.py ├── .gitignore ├── manage.py ├── sal-client-setup.sh ├── munkido.wsgi ├── com.docker.machine.munkido.plist ├── Dockerfile └── docker-machine-munki-do-start.sh /pkgs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /version: -------------------------------------------------------------------------------- 1 | v0.4.0 2 | -------------------------------------------------------------------------------- /catalogs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /manifests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /munkido/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /catalogs/templatetags/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /munkido/templatetags/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker/django/admin_tools/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker/django/admin_tools/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /munkido/site_static/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | -------------------------------------------------------------------------------- /docker/django/admin_tools/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docker/django/requirements.txt: -------------------------------------------------------------------------------- 1 | django==1.7.2 2 | django-tokenapi==0.2.2 3 | psycopg2==2.5.5 4 | -------------------------------------------------------------------------------- /munkido/site_static/img/ssh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/img/ssh.png -------------------------------------------------------------------------------- /munkido/site_static/img/Munki.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/img/Munki.png -------------------------------------------------------------------------------- /munkido/site_static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/img/logo.png -------------------------------------------------------------------------------- /munkido/site_static/img/arrow-up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/img/arrow-up.gif -------------------------------------------------------------------------------- /munkido/site_static/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/img/favicon.ico -------------------------------------------------------------------------------- /munkido/site_static/img/loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/img/loading.png -------------------------------------------------------------------------------- /munkido/site_static/img/loading2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/img/loading2.gif -------------------------------------------------------------------------------- /munkido/site_static/img/PackageIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/img/PackageIcon.png -------------------------------------------------------------------------------- /munkido/site_static/img/appleupdate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/img/appleupdate.png -------------------------------------------------------------------------------- /munkido/site_static/img/arrow-down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/img/arrow-down.gif -------------------------------------------------------------------------------- /munkido/site_static/img/screensharing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/img/screensharing.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.pyo 3 | .DS_Store 4 | unused_* 5 | *.db 6 | *.pkg 7 | site_static/downloads/MunkiEnroll.pkg 8 | *.bak 9 | docker/known_hosts 10 | -------------------------------------------------------------------------------- /catalogs/templates/catalogs/dict_list.html: -------------------------------------------------------------------------------- 1 | {% for item in dict_list %} 2 | {% include "catalogs/generic_dict.html" with generic_dict=item only %} 3 | {% endfor %} -------------------------------------------------------------------------------- /catalogs/static/css/catalogs.css: -------------------------------------------------------------------------------- 1 | td.prewrap, td.code { 2 | white-space: pre-wrap; 3 | } 4 | td.code { 5 | font-family: Andale Mono, monospace; 6 | font-size: 9pt; 7 | } -------------------------------------------------------------------------------- /munkido/site_static/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /munkido/site_static/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /munkido/site_static/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/font-awesome-4.3.0/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-icons_228ef1_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-icons_228ef1_256x240.png -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-icons_ef8c08_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-icons_ef8c08_256x240.png -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-icons_ffd27a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-icons_ffd27a_256x240.png -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/font-awesome-4.3.0/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/font-awesome-4.3.0/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/font-awesome-4.3.0/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/font-awesome-4.3.0/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-bg_flat_10_000000_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-bg_flat_10_000000_40x100.png -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-bg_glass_100_f6f6f6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-bg_glass_100_f6f6f6_1x400.png -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-bg_glass_100_fdf5ce_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-bg_glass_100_fdf5ce_1x400.png -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /docker/known_hosts: -------------------------------------------------------------------------------- 1 | [192.168.168.134]:10022 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGwV+xQ/+6uhbv4FpQ8WP3zvsbEwfwg/v6iOdqEig3KVZW+UrLrupnjvud5QvNXs8/2XVHLbJYF9WMfL2aibMhs= 2 | -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-bg_gloss-wave_35_f6a828_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-bg_gloss-wave_35_f6a828_500x100.png -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-bg_diagonals-thick_18_b81900_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-bg_diagonals-thick_18_b81900_40x40.png -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-bg_diagonals-thick_20_666666_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-bg_diagonals-thick_20_666666_40x40.png -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -------------------------------------------------------------------------------- /munkido/site_static/css/smoothness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grahampugh/munki-do/HEAD/munkido/site_static/css/smoothness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -------------------------------------------------------------------------------- /catalogs/templates/catalogs/generic_dict.html: -------------------------------------------------------------------------------- 1 |
| {{ key }} | {{ value }} |
|---|
Sorry, but the requested page could not be found.
9 | {% endblock %} -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os, sys 3 | 4 | if __name__ == "__main__": 5 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "munkido.settings") 6 | 7 | from django.core.management import execute_from_command_line 8 | 9 | execute_from_command_line(sys.argv) -------------------------------------------------------------------------------- /catalogs/urls.py: -------------------------------------------------------------------------------- 1 | from django.conf.urls import patterns, include, url 2 | 3 | urlpatterns = patterns('catalogs.views', 4 | url(r'^$', 'catalog_view'), 5 | url(r'^(?PSorry, but the requested page is unavailable due to a 9 | server hiccup.
10 | 11 |Our engineers have been notified, so check back later.
12 | {% endblock %} -------------------------------------------------------------------------------- /docker/nginx/nginx-env.conf: -------------------------------------------------------------------------------- 1 | # Environment Variables for settings.py 2 | env DB_NAME; 3 | env DB_USER; 4 | env DB_PASS; 5 | env DB_PORT_5432_TCP_ADDR; 6 | env DB_PORT_5432_TCP_PORT; 7 | env TIME_ZONE; 8 | env APPNAME; 9 | env MUNKI_REPO_DIR; 10 | env MANIFEST_USERNAME_KEY; 11 | env MANIFEST_USERNAME_IS_EDITABLE; 12 | env WARRANTY_LOOKUP_ENABLED; 13 | env MODEL_LOOKUP_ENABLED; 14 | 15 | -------------------------------------------------------------------------------- /sal-client-setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # set the URL of the Sal server 4 | defaults write /Library/Preferences/com.github.salopensource.sal ServerURL http://sal.somewhere.com 5 | 6 | # set the Sal Machine Group key 7 | defaults write /Library/Preferences/com.github.salopensource.sal key q8bsrkcnpogpodhjbnfhhdi0l5324keypmh31rxvkffgixr41oohyfji106wvumjazn0bssbjmju9vsfxwtw4s5zxfoez53ytmhzagp0aqiprxjbu2rbovpvzs4t0elu 8 | 9 | -------------------------------------------------------------------------------- /pkgs/urls.py: -------------------------------------------------------------------------------- 1 | from django.conf.urls import patterns, include, url 2 | 3 | urlpatterns = patterns('pkgs.views', 4 | url(r'^index/*$', 'index'), 5 | url(r'^orphaned/*$', 'orphaned'), 6 | url(r'^confirm/*$', 'confirm'), 7 | url(r'^done/*$', 'done'), 8 | url(r'^deleted/*$', 'deleted'), 9 | url(r'^gitpull$', 'gitpull'), 10 | url(r'^(?PPackages have been moved to a new catalog
10 | {% elif confirm_add %} 11 |Packages have been added to a new catalog
12 | {% else %} 13 |Packages have been removed from a catalog
14 | {% endif %} 15 |Error: No Packages were selected.
24 | {% endif %} 25 | {% endblock content %} -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/less/path.less: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}'); 7 | src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'), 8 | url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'), 9 | url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'), 10 | url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'), 11 | url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/scss/_path.scss: -------------------------------------------------------------------------------- 1 | /* FONT PATH 2 | * -------------------------- */ 3 | 4 | @font-face { 5 | font-family: 'FontAwesome'; 6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); 7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), 8 | url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), 9 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), 10 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), 11 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); 12 | // src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts 13 | font-weight: normal; 14 | font-style: normal; 15 | } 16 | -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/less/animated.less: -------------------------------------------------------------------------------- 1 | // Animated Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .@{fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/scss/_animated.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: fa-spin 2s infinite linear; 6 | animation: fa-spin 2s infinite linear; 7 | } 8 | 9 | .#{$fa-css-prefix}-pulse { 10 | -webkit-animation: fa-spin 1s infinite steps(8); 11 | animation: fa-spin 1s infinite steps(8); 12 | } 13 | 14 | @-webkit-keyframes fa-spin { 15 | 0% { 16 | -webkit-transform: rotate(0deg); 17 | transform: rotate(0deg); 18 | } 19 | 100% { 20 | -webkit-transform: rotate(359deg); 21 | transform: rotate(359deg); 22 | } 23 | } 24 | 25 | @keyframes fa-spin { 26 | 0% { 27 | -webkit-transform: rotate(0deg); 28 | transform: rotate(0deg); 29 | } 30 | 100% { 31 | -webkit-transform: rotate(359deg); 32 | transform: rotate(359deg); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /pkgs/templates/pkgs/deleted.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | 3 | 4 | {% block page_title %}Packages{% endblock %} 5 | 6 | {% block navbar-default_extensions %} 7 |Packages Deleted
9 |Makecatalogs has updated the catalogs. The following packages were deleted:
16 || {{ package }} | 21 |
No Packages were selected.
29 | {% endif %} 30 | {% endblock content %} -------------------------------------------------------------------------------- /docker/Makefile: -------------------------------------------------------------------------------- 1 | DOCKER_USER=grahamrpugh 2 | NAME=munki-do 3 | MUNKI_REPO="/Users/Shared/munki_repo" 4 | MWA_PORT=8000 5 | DB_CONTAINER_NAME="/Users/Shared/munki-do-db" 6 | GIT_PATH='' 7 | GIT_IGNORE_PKGS='' 8 | GIT_BRANCHING='' 9 | MANIFEST_RESTRICTION_KEY='' 10 | DOCKER_RUN_COMMON=--name munki-do -p ${MWA_PORT}:8000 -v ${MUNKI_REPO{:/munki_repo -v ${DB_CONTAINER_NAME}:/munki-do-db -e DOCKER_MUNKIDO_GIT_PATH="${GIT_PATH}" -e DOCKER_MUNKIDO_GIT_BRANCHING="${GIT_BRANCHING}" -e DOCKER_MUNKIDO_GIT_IGNORE_PKGS="${GIT_IGNORE_PKGS}" -e DOCKER_MUNKIDO_MANIFEST_RESTRICTION_KEY="{$MANIFEST_RESTRICTION_KEY}" ${DOCKER_USER}/${NAME} 11 | 12 | all: build 13 | 14 | build: 15 | docker build -t="${DOCKER_USER}/${NAME}" . 16 | 17 | run: 18 | # mkdir -p ${MUNKI_REPO_DIR} 19 | docker run -d --restart=always ${DOCKER_RUN_COMMON} 20 | 21 | clean: 22 | docker stop $(NAME) 23 | docker rm $(NAME) 24 | 25 | bash: 26 | docker exec -t -i $(NAME) /bin/bash 27 | 28 | -------------------------------------------------------------------------------- /munkido/site_static/js/sb-admin-2.js: -------------------------------------------------------------------------------- 1 | $(function() { 2 | $('#side-menu').metisMenu(); 3 | }); 4 | 5 | //Loads the correct sidebar on window load, 6 | //collapses the sidebar on window resize. 7 | // Sets the min-height of #page-wrapper to window size 8 | $(function() { 9 | $(window).bind("load resize", function() { 10 | topOffset = 50; 11 | width = (this.window.innerWidth > 0) ? this.window.innerWidth : this.screen.width; 12 | if (width < 768) { 13 | $('div.navbar-collapse').addClass('collapse') 14 | topOffset = 100; // 2-row-menu 15 | } else { 16 | $('div.navbar-collapse').removeClass('collapse') 17 | } 18 | 19 | height = (this.window.innerHeight > 0) ? this.window.innerHeight : this.screen.height; 20 | height = height - topOffset; 21 | if (height < 1) height = 1; 22 | if (height > topOffset) { 23 | $("#page-wrapper").css("min-height", (height) + "px"); 24 | } 25 | }) 26 | }) 27 | -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal @fa-font-size-base/1 FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | transform: translate(0, 0); // ensures no half-pixel rendering in firefox 12 | 13 | } 14 | 15 | .fa-icon-rotate(@degrees, @rotation) { 16 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation); 17 | -webkit-transform: rotate(@degrees); 18 | -ms-transform: rotate(@degrees); 19 | transform: rotate(@degrees); 20 | } 21 | 22 | .fa-icon-flip(@horiz, @vert, @rotation) { 23 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1); 24 | -webkit-transform: scale(@horiz, @vert); 25 | -ms-transform: scale(@horiz, @vert); 26 | transform: scale(@horiz, @vert); 27 | } 28 | -------------------------------------------------------------------------------- /munkido/site_static/font-awesome-4.3.0/scss/_mixins.scss: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | @mixin fa-icon() { 5 | display: inline-block; 6 | font: normal normal normal #{$fa-font-size-base}/1 FontAwesome; // shortening font declaration 7 | font-size: inherit; // can't have font-size inherit on line above, so need to override 8 | text-rendering: auto; // optimizelegibility throws things off #1094 9 | -webkit-font-smoothing: antialiased; 10 | -moz-osx-font-smoothing: grayscale; 11 | transform: translate(0, 0); // ensures no half-pixel rendering in firefox 12 | 13 | } 14 | 15 | @mixin fa-icon-rotate($degrees, $rotation) { 16 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 17 | -webkit-transform: rotate($degrees); 18 | -ms-transform: rotate($degrees); 19 | transform: rotate($degrees); 20 | } 21 | 22 | @mixin fa-icon-flip($horiz, $vert, $rotation) { 23 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); 24 | -webkit-transform: scale($horiz, $vert); 25 | -ms-transform: scale($horiz, $vert); 26 | transform: scale($horiz, $vert); 27 | } 28 | -------------------------------------------------------------------------------- /munkido/site_static/js/plugins/metisMenu/metisMenu.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * metismenu - v1.0.3 3 | * Easy menu jQuery plugin for Twitter Bootstrap 3 4 | * https://github.com/onokumus/metisMenu 5 | * 6 | * Made by Osman Nuri Okumuş 7 | * Under MIT License 8 | */ 9 | !function(a,b,c){function d(b,c){this.element=b,this.settings=a.extend({},f,c),this._defaults=f,this._name=e,this.init()}var e="metisMenu",f={toggle:!0};d.prototype={init:function(){var b=a(this.element),c=this.settings.toggle;this.isIE()<=9?(b.find("li.active").has("ul").children("ul").collapse("show"),b.find("li").not(".active").has("ul").children("ul").collapse("hide")):(b.find("li.active").has("ul").children("ul").addClass("collapse in"),b.find("li").not(".active").has("ul").children("ul").addClass("collapse")),b.find("li").has("ul").children("a").on("click",function(b){b.preventDefault(),a(this).parent("li").toggleClass("active").children("ul").collapse("toggle"),c&&a(this).parent("li").siblings().removeClass("active").children("ul.in").collapse("hide")})},isIE:function(){for(var a,b=3,d=c.createElement("div"),e=d.getElementsByTagName("i");d.innerHTML="",e[0];)return b>4?b:a}},a.fn[e]=function(b){return this.each(function(){a.data(this,"plugin_"+e)||a.data(this,"plugin_"+e,new d(this,b))})}}(jQuery,window,document); -------------------------------------------------------------------------------- /manifests/templates/manifests/new.html: -------------------------------------------------------------------------------- 1 | {% extends 'base.html' %} 2 | {% load url from future %} 3 | 4 | {% block extra_style %} 5 | 10 | {% endblock %} 11 | {% block java_script %} 12 | {% load static %} 13 | 18 | {% endblock %} 19 | 20 | 21 | {% block page_title %}Manifests{% endblock %} 22 | 23 | {% block content %} 24 | 37 | {% endblock content %} -------------------------------------------------------------------------------- /munkido/site_static/css/plugins/metisMenu/metisMenu.css: -------------------------------------------------------------------------------- 1 | /* 2 | * metismenu - v1.0.3 3 | * Easy menu jQuery plugin for Twitter Bootstrap 3 4 | * https://github.com/onokumus/metisMenu 5 | * 6 | * Made by Osman Nuri Okumuş 7 | * Under MIT License 8 | */ 9 | .arrow { 10 | float: right; 11 | } 12 | 13 | .glyphicon.arrow:before { 14 | content: "\e079"; 15 | } 16 | 17 | .active > a > .glyphicon.arrow:before { 18 | content: "\e114"; 19 | } 20 | 21 | 22 | /* 23 | * Require Font-Awesome 24 | * http://fortawesome.github.io/Font-Awesome/ 25 | */ 26 | 27 | 28 | .fa.arrow:before { 29 | content: "\f104"; 30 | } 31 | 32 | .active > a > .fa.arrow:before { 33 | content: "\f107"; 34 | } 35 | 36 | .plus-times { 37 | float: right; 38 | } 39 | 40 | .fa.plus-times:before { 41 | content: "\f067"; 42 | } 43 | 44 | .active > a > .fa.plus-times { 45 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); 46 | -webkit-transform: rotate(45deg); 47 | -moz-transform: rotate(45deg); 48 | -ms-transform: rotate(45deg); 49 | -o-transform: rotate(45deg); 50 | transform: rotate(45deg); 51 | } 52 | 53 | .plus-minus { 54 | float: right; 55 | } 56 | 57 | .fa.plus-minus:before { 58 | content: "\f067"; 59 | } 60 | 61 | .active > a > .fa.plus-minus:before { 62 | content: "\f068"; 63 | } -------------------------------------------------------------------------------- /pkgs/static/js/pkgs.js: -------------------------------------------------------------------------------- 1 | // Search fields 2 | // Main Search 3 | $(document).ready(function() { 4 | $('#SearchField').keyup(function(){ 5 | var filter = $(this).val(); 6 | var regExPattern = "gi"; 7 | var regEx = new RegExp(filter, regExPattern); 8 | $('#listbig a').each(function(){ 9 | if ( 10 | $(this).text().search(new RegExp(filter, "i")) < 0 && 11 | $(this).data('state').search(regEx) < 0 12 | ){ 13 | $(this).hide(); 14 | } else { 15 | $(this).show(); 16 | } 17 | }); 18 | }); 19 | $('#SearchFieldMobile').keyup(function(){ 20 | var filter = $(this).val(); 21 | var regExPattern = "gi"; 22 | var regEx = new RegExp(filter, regExPattern); 23 | $('#listbig a').each(function(){ 24 | if ( 25 | $(this).text().search(new RegExp(filter, "i")) < 0 && 26 | $(this).data('state').search(regEx) < 0 27 | ){ 28 | $(this).hide(); 29 | } else { 30 | $(this).show(); 31 | } 32 | }); 33 | }); 34 | 35 | $('#SearchField').change(function(){ 36 | $('#SearchField').keyup(); 37 | }); 38 | 39 | $('#SearchFieldMobile').change(function(){ 40 | $('#SearchFieldMobile').keyup(); 41 | }); 42 | }); 43 | 44 | function toggle(source) { 45 | checkboxes = document.getElementsByName('items_to_move[]'); 46 | for(var i=0, n=checkboxes.length;iThere are no Orphaned Packages at this time.
48 | 49 | {% endif %} 50 | {% endblock content %} -------------------------------------------------------------------------------- /munkido/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for munkiwebadmin project. 3 | 4 | This module contains the WSGI application used by Django's development server 5 | and any production WSGI deployments. It should expose a module-level variable 6 | named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover 7 | this application via the ``WSGI_APPLICATION`` setting. 8 | 9 | Usually you will have the standard Django WSGI application here, but it also 10 | might make sense to replace the whole Django WSGI application with a custom one 11 | that later delegates to the Django one. For example, you could introduce WSGI 12 | middleware here, or combine a Django application with an application of another 13 | framework. 14 | 15 | """ 16 | import os 17 | 18 | # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This breaks 19 | # if running multiple sites in the same mod_wsgi process. To fix this, use 20 | # mod_wsgi daemon mode with each site in its own daemon process, or use 21 | # os.environ["DJANGO_SETTINGS_MODULE"] = "munkiwebadmin.settings" 22 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "munkiwebadmin.settings") 23 | 24 | # This application object is used by any WSGI server configured to use this 25 | # file. This includes Django's development server, if the WSGI_APPLICATION 26 | # setting points here. 27 | from django.core.wsgi import get_wsgi_application 28 | application = get_wsgi_application() 29 | 30 | # Apply WSGI middleware here. 31 | # from helloworld.wsgi import HelloWorldApplication 32 | # application = HelloWorldApplication(application) 33 | -------------------------------------------------------------------------------- /munkido/urls.py: -------------------------------------------------------------------------------- 1 | from django.conf.urls import patterns, include, url 2 | from django.conf import settings 3 | from django.contrib.staticfiles.urls import staticfiles_urlpatterns 4 | 5 | # Uncomment the next two lines to enable the admin: 6 | from django.contrib import admin 7 | admin.autodiscover() 8 | 9 | urlpatterns = patterns('', 10 | # Uncomment the admin/doc line below to enable admin documentation: 11 | # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), 12 | 13 | # Uncomment the next line to enable the admin: 14 | url(r'^admin/', include(admin.site.urls)), 15 | 16 | url(r'^login/$', 'django.contrib.auth.views.login', name='login'), 17 | url(r'^logout/$', 'django.contrib.auth.views.logout_then_login', name='logout'), 18 | url(r'^manifest/', include('manifests.urls')), 19 | url(r'^catalog/', include('catalogs.urls')), 20 | url(r'^pkgs/', include('pkgs.urls')), 21 | 22 | # for compatibility with MunkiReport scripts 23 | url(r'^$', include('catalogs.urls')), 24 | url(r'', include('tokenapi.urls')), 25 | 26 | # for access to the munki repo directly: 27 | url(r'^munki_repo/(?P| {{ key }} | {{ value }} |
|---|---|
| {{ key }} | {{ value }} |
| {{ key }} | 16 |{% include "catalogs/dict_list.html" with dict_list=value only %} |
| {{ key }} | 20 |
21 | {% for item in value %}
22 | {% if 'catalog' in key %}
23 | {{ item }}
24 | {% else %}
25 | {{ item }}
26 | {% endif %}
27 | {% if not forloop.last %} {% endif %} 28 | {% endfor %} 29 | |
| {{ key }} | 33 |{% include "catalogs/generic_dict.html" with generic_dict=value only %} |
| {{ key }} | {{ value }} |
| {{ key }} | {{ value }} |
Catalog {{ catalog_name }} is empty.
66 | {% endif %} 67 | {% endif %} 68 |
43 |