GithubHelp home page GithubHelp logo

tranquilit / wapt Goto Github PK

View Code? Open in Web Editor NEW
62.0 15.0 33.0 231.27 MB

WAPT is an established method for managing the lifecycle of an installed base of Windows applications. WAPT has many similarities with Debian's APT software manager, thus its name. WAPT is particularly useful to system administrators who are tired of repetitive and low value tasks.

Home Page: https://www.wapt.fr/en

License: Other

Python 58.95% Batchfile 0.13% Pascal 27.25% HTML 0.96% Shell 0.22% CSS 7.41% JavaScript 0.41% Inno Setup 3.90% SCSS 0.57% Jinja 0.20%

wapt's Introduction

Warning : WAPT 1.8.2 Community is not maintained anymore by Tranquil IT since April the 30th 2022. This repo is kept here as an archive for historical reasons. The code is covered by the GPLv3 license, so if you want to take over the project and care for the maintenance, feel free to fork the repo and work from there.

WAPT

WAPT is a software deployment tool whose core set of features is licensed under the GPLv3.

Main features

For System Administrators

  • install software and configurations silently;
  • maintain up to date an installed base of software and configurations;
  • configure software at the system and user level to reduce the load on support teams;
  • remove unwanted or out of cycle software and configurations silently;
  • give Users more autonomy to install software safely and reliably;
  • reduce as much as possible the consumption of bandwidth on remote sites to preserve it for productive uses;

For IT Security Officers

  • pilot the software installed base to converge to a security standard acceptable to the Organization;
  • prepare your enterprise for the coming GDPR and help your DPO keep his register of data processing, because you two will become close colleages;
  • to no more tolerate machines operating in “Administrator” mode;
  • reduce the level of exposure to software vulnerabilities and lateral movement attacks;
  • bring up audit indicators for a better knowledge of the state of installed IT devices and their global security;
  • be prompt to deploy updates to react to cyber attacks like Wannacry or notPetya

For End-Users

  • have your software configured to work well in the context of your Organization and trust that they will work correctly;
  • reduce your need for support by your IT teams, whose reaction times are often long becuase of their workloads;
  • to build a better contact with your IT support teams because IT works better as malfunctions happen less often because of standard, better managed and more predictable software configurations;

How to contribute?

You may want to have a look at our contribution guide: https://www.wapt.fr/en/doc/wapt-contribute/index.html

wapt's People

Contributors

agauvrit-tis avatar alexis-boisserand avatar checkupdate-tis avatar d-cardon avatar eblaudy avatar htouvet avatar jcourreges-tis avatar jf-guillou avatar jpele-tis avatar qgull avatar sfonteneau avatar ssamson-tis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wapt's Issues

Bug dans l'import glpi

Bonjour une exception est levée lors de la remontée des indos vers glpi
Nov 19 09:01:33 srv-wapt wapttasks[1723]: [2021-11-19 09:01:33,593] ERROR:huey:Worker-2:Unhandled exception in task 94551018-671d-41f4-a1d2-3aec09020aae. Nov 19 09:01:33 srv-wapt wapttasks[1723]: Traceback (most recent call last): Nov 19 09:01:33 srv-wapt wapttasks[1723]: File "/opt/wapt/lib/python3.8/site-packages/huey/api.py", line 360, in _execute Nov 19 09:01:33 srv-wapt wapttasks[1723]: task_value = task.execute() Nov 19 09:01:33 srv-wapt wapttasks[1723]: File "/opt/wapt/lib/python3.8/site-packages/huey/api.py", line 724, in execute Nov 19 09:01:33 srv-wapt wapttasks[1723]: return func(*args, **kwargs) Nov 19 09:01:33 srv-wapt wapttasks[1723]: File "/opt/wapt/waptserver/decorators.py", line 285, in wrapper Nov 19 09:01:33 srv-wapt wapttasks[1723]: result = f(*args, **kwargs) Nov 19 09:01:33 srv-wapt wapttasks[1723]: File "/opt/wapt/lib/python3.8/site-packages/huey/api.py", line 807, in inner Nov 19 09:01:33 srv-wapt wapttasks[1723]: return fn(*args, **kwargs) Nov 19 09:01:33 srv-wapt wapttasks[1723]: File "/opt/wapt/waptserver/glpi_tasks.py", line 37, in upload_to_glpi_cron Nov 19 09:01:33 srv-wapt wapttasks[1723]: upload_hosts_inventories(conf['glpi_server_user'], conf['glpi_server_pass'], conf['glpi_server_endpoint'], Nov 19 09:01:33 srv-wapt wapttasks[1723]: File "/opt/wapt/waptserver/glpi_upload_hosts.py", line 189, in upload_hosts_inventories Nov 19 09:01:33 srv-wapt wapttasks[1723]: hinv.create_inventory(d) Nov 19 09:01:33 srv-wapt wapttasks[1723]: File "/opt/wapt/waptserver/glpi_wapt_inventory.py", line 189, in create_inventory Nov 19 09:01:33 srv-wapt wapttasks[1723]: if self.data_refactoring() == -1: Nov 19 09:01:33 srv-wapt wapttasks[1723]: File "/opt/wapt/waptserver/glpi_wapt_inventory.py", line 162, in data_refactoring Nov 19 09:01:33 srv-wapt wapttasks[1723]: battery['SBDS_Serial_Number'] = int(val, 16) Nov 19 09:01:33 srv-wapt wapttasks[1723]: ValueError: invalid literal for int() with base 16: 'Battery 0'

Le pb vient du code ci-dessous :
`
if isinstance(orig_data,dict):
orig_data = [orig_data]
for battery in orig_data:
battery['Design_Capacity'] = battery['Design_Capacity'].replace('mWh','').strip()
try:
val = battery['SBDS_Manufacture_Date']
except:
val = battery['Manufacture_Date']

            battery['SBDS_Manufacture_Date'] = '%s/%s/%s' % (val[8:10],val[5:7],val[0:4])

            try:
                val = battery['SBDS_Serial_Number']
            except:
                val = battery['Serial_Number']
            battery['SBDS_Serial_Number'] = int(val, 16)
            battery['Design_Voltage'] = battery['Design_Voltage'].replace('mV','').strip()
            temp_list.append(battery)
        self.data['dmi']['Portable_Battery'] = temp_list

`

Il faut tester que
val = battery['Serial_Number']
renvoie un entier sinon
battery['SBDS_Serial_Number'] = int(val, 16)
crashe, ou tout du moins mettre ce traitment dans un try catch.

wapt not get windows 7 env

Hello,

Configs:
WAPT Server version: 1.7.3.5
WAPT Agent version: 1.7.3.5
WAPT Setup version: 1.7.3.5
WAPT Deploy version: 1.7.3.5
DB status: OK (1.7.3.2)

wapt not get "HOMEDRIVE" env from windows 7. It's returns:

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 3619, in install_wapt
    setup = import_setup(setup_filename)
  File "C:\Program Files (x86)\wapt\waptutils.py", line 1252, in import_setup
    py_mod = imp.load_source(modulename, setupfilename.encode(sys.getfilesystemencoding()))
  File "c:\windows\temp\waptswfot1\setup.py", line 11, in <module>
  File "C:\Program Files (x86)\wapt\lib\os.py", line 425, in __getitem__
    return self.data[key.upper()]
KeyError: 'HOMEDRIVE'
KeyError: 'HOMEDRIVE'

Code for test:

# -*- coding: utf-8 -*-

from setuphelpers import *
import os

uninstallkey=[]

env = os.environ['HOMEDRIVE']
print env

windows 7 client env:
image attached
Captura de tela_2019-04-15_10-38-37

Translation

Hello it would be good if the software could be translated into other languages ​​and the description of the official packages as well

Is it possible to run the server just as a local 127.0.0.1 instance on a specific port?

Hi

Version Community: 1.8.2.7334
Windows: 10 Enterprise 10.0 19043 Build 19043

I am facing the error:
"Error on WAPT server
Socket Error # 100661
Connection refused"

Tried to change the server configuration with the server button (right of the first greyed input),
with 127.0.0.1:8042 and "Check and set"
but it fails with "Repository access error Connection tim"

Ability to specify the db_port

Hello !
I've freshly installed last wapt server on a debian 9 "machine". It works fine. However, I must separate the database from this "machine". So, I went through the documentation and saw these parameters :
https://www.wapt.fr/fr/doc/Configuration/ini_file/index.html
db_name=wapt
db_host=where.i.want.my.database.server
db_user=wapt
db_password=mysecretpassword

Could it be possible to add a parameter (unless I did not understand the docs clearly), named after db_port for example ?
On my network, the postgres server that will host the wapt database don't listen on 5432 port...

Erreur dans la fonction installed_softwares du setuphelper.py

Bonjour,

en voulant utiliser la possibilité de faire une recherche de logiciel installé (fonction installed_softwares) avec le paramètre name et une expression régulière, je suis tomber sur un problème de fonctionnement.

lorsque l'on fait l'appel à la fonction comme ceci:

 softs = installed_softwares(name='Regex_ToFind')
 if softs:
      for soft in softs:
           print soft["name"]

la fonction retourne tout les logiciels présent, au lieu des logiciels dont le diplay_name commence par la l'expression régulière que l'on recherche.

il doit donc y avoir une erreur dans le test ligne 2330

 if (uninstallkey is None and display_name and check_words(subkey+' '+display_name+' '+publisher,mykeywords)) or\
             (uninstallkey is not None and (subkey == uninstallkey)) or\
             (name_re is not None and name_re.match(display_name)):

à remplacer par :

 if (uninstallkey is None and name_re is None and display_name and check_words(subkey+' '+display_name+' '+publisher,mykeywords)) or\
             (uninstallkey is not None and (subkey == uninstallkey)) or\
             (name_re is not None and name_re.match(display_name)):

cordialement

WAPT Console Translations

Guys,
There are few translations in English are not done properly

How to get the Latest Source of Wapt Console and Modify accordingly?

informations wapt status ne sont plus renseignées ni traduites

sur http://127.0.0.1:8088

avec la version 1.8.1 sous windows 10 de l'agent les informations wapt status ne sont plus renseignées ni traduites
notamment

wapt-get.exe version:
wapt-get.py version:

WAPT Status

wapt-get.exe version:
wapt-get.py version:
Host UUID: E7174D56-8BCA-37B6-EFB4-81370XXXXXX
Main WAPT Repository: <a href=></a>
WAPT server: https://wapt
Proxies: {'http': '', 'https': ''}
Configuration file: C:\Program Files (x86)\wapt\wapt-get.ini
Current status: Up to date
Last update status:
    Date: 2020-04-22T17:01:44.766000
    Upgradeable packages: None
    Errors: None

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.