Commit graph

412 commits

Author SHA1 Message Date
Volkan Şahin
8859c981eb Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-08-01 20:33:34 +03:00
Volkan Şahin
5510e1ca30 execute script and returning result feature added 2016-08-01 20:08:42 +03:00
Volkan Şahin
2167a8596f minor fixing 2016-08-01 20:07:37 +03:00
emrekgn
3fc86867ee do not use lowercase DN - this causes dict problems 2016-07-29 19:09:22 +03:00
emrekgn
cb18b1b7a6 Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-07-29 19:07:33 +03:00
emrekgn
3a4bfbcc7c create received_dir_path with correct permissions 2016-07-29 19:07:17 +03:00
emrekgn
bf0f01c02f change permission recursively 2016-07-29 19:06:23 +03:00
Volkan Şahin
e14a1a4523 bug fix about send message via ahenkd command 2016-07-27 16:03:32 +03:00
Volkan Şahin
57862558d5 minor bug fix 2016-07-27 15:12:32 +03:00
Volkan Şahin
4548253fed modified bug fixed and remove added 2016-07-26 15:09:02 +03:00
Volkan Şahin
a9cc40fb2f plugin listener activated and some minor bug fixing 2016-07-25 18:32:28 +03:00
Volkan Şahin
705565a416 profile override problem fixed 2016-07-25 18:31:43 +03:00
Volkan Şahin
90a03c1598 minor bug fixed about db connection not sharing between threads problem 2016-07-25 16:28:23 +03:00
Volkan Şahin
dbfe504292 timer bug fixing and other minor fixing like log, redundant parameters ... 2016-07-25 12:21:23 +03:00
Volkan Şahin
70495628c7 timer thread form was changed to daemon 2016-07-25 12:19:53 +03:00
Volkan Şahin
bf9af4042a dn is fetchable from system 2016-07-25 11:04:21 +03:00
Volkan Şahin
cbeadd62e1 merging system.py 2016-07-22 10:43:17 +03:00
Volkan Şahin
fa9c2fc104 timeout function added for waiting get policies response and some functions formatted 2016-07-22 10:40:41 +03:00
Volkan Şahin
98dde0a3d1 new conf parameters serving 2016-07-22 10:38:59 +03:00
Volkan Şahin
7aa5aad801 timeout function added for registration timeout 2016-07-22 10:37:27 +03:00
Volkan Şahin
7335d6e5cb kill signal removed 2016-07-22 10:36:56 +03:00
Volkan Şahin
8b703e8639 added get policy timout and checker functions and fixing column-bean parameter matching 2016-07-22 10:36:21 +03:00
Volkan Şahin
75b9f79ffd kill signal was switched with shutdown mode and some log fixing 2016-07-22 10:34:59 +03:00
Volkan Şahin
d63a455d39 timer method added for using with some specific function which need timeout actions 2016-07-22 10:33:45 +03:00
Volkan Şahin
b678961d3c plugins have only one kill mode 2016-07-22 10:23:18 +03:00
Volkan Şahin
5ec8022f81 fifo file removed while cleaning 2016-07-21 18:04:00 +03:00
Volkan Şahin
4f9bfa992c log fixing 2016-07-21 18:03:26 +03:00
Volkan Şahin
d4936b4e4e paramiko log level was changed 2016-07-21 18:03:09 +03:00
cemrealpsoy
f93f0c1200 remove_package added 2016-07-20 16:30:42 +03:00
cemrealpsoy
eed683fabf util.py remove_package added 2016-07-20 16:23:50 +03:00
cemrealpsoy
0dc279d961 Remove PAckage Eklendi 2016-07-20 16:16:19 +03:00
emre.akkaya
890b3ffa41 bug fix for install/uninstall util methods & remove redundant symbolic link 2016-07-20 16:10:52 +03:00
cemrealpsoy
cda00f2810 Little Bug fixings in system.py aand ssh_file_transfer.py, also utility in util.py called install_package 2016-07-20 11:32:50 +03:00
Volkan Şahin
c0598f608c bug fixing about dynamic plugin load,reload and remove 2016-07-19 16:05:46 +03:00
Volkan Şahin
f805748009 watching new installed plugins for loading ahenk is disabled until watchdog dependency is added to repo 2016-07-19 16:04:46 +03:00
Volkan Şahin
cc113eb664 new plugin listener 2016-07-19 10:50:43 +03:00
Volkan Şahin
0690e65264 new plugins commands added: load,reload and remove with parameters dynamically. Ahenk is loading plugins automatically which is installed while running ahenk 2016-07-18 18:21:03 +03:00
Volkan Şahin
1e35065b95 function names fixed according to PEP 8 standards 2016-07-18 18:16:37 +03:00
Volkan Şahin
80beb37e08 overridable profiles handled, only one profile is executed for a plugin 2016-07-14 16:26:39 +03:00
Volkan Şahin
58d61accad sample plugin fixed 2016-07-13 17:44:36 +03:00
Volkan Şahin
d9c54a309a new modes beans were added 2016-07-13 17:41:18 +03:00
Volkan Şahin
0ab9557936 sample plugin adapted to new modes 2016-07-13 17:40:30 +03:00
Volkan Şahin
baffb510ee new modes activated and stopping way changed. Some minor bugs were fixed 2016-07-13 17:39:44 +03:00
Volkan Şahin
39ee7bb0bf new modes added: init, login, logout, shutdown 2016-07-13 17:37:03 +03:00
Volkan Şahin
3d685cd75e stop action added to fifo 2016-07-13 17:32:18 +03:00
Volkan Şahin
74c54fd0f1 Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-07-13 17:30:36 +03:00
Volkan Şahin
aaa354a960 bug fix 2016-07-13 17:30:27 +03:00
cemrealpsoy
a94d5ed598 Bug fixing in file transfer. If ahenk's folder in remote machine has not been created yet , create new folder for ahenk. There were no path for mkdir method. 2016-07-13 15:56:42 +03:00
mine.dogan
b03c1f3b8c bug fix for response data 2016-07-12 17:29:18 +03:00
Volkan Şahin
e1da6e4849 file transfer is available for policies 2016-07-11 17:58:00 +03:00
Volkan Şahin
5ad27dd929 response data bug fix 2016-07-11 17:57:37 +03:00
Volkan Şahin
93ff867404 delete redundant files 2016-07-11 17:56:50 +03:00
Volkan Şahin
fc51797468 file sending available on core control for task responses which has data attr 2016-07-01 17:04:53 +03:00
Volkan Şahin
ecc05da83b server conf parameters added to db and task bean 2016-07-01 17:02:08 +03:00
Volkan Şahin
fc4aa05963 task response data convert to json 2016-07-01 16:59:28 +03:00
Volkan Şahin
5ee0f142f7 some fixing about file transfer 2016-07-01 16:58:20 +03:00
Volkan Şahin
411460058a json attribute checker added 2016-07-01 16:57:12 +03:00
Volkan Şahin
719d2275de title changed 2016-06-30 17:59:23 +03:00
Volkan Şahin
1ee4c6c12c minor fixing 2016-06-30 17:05:46 +03:00
Volkan Şahin
065c91ea81 message format fixing 2016-06-30 17:04:44 +03:00
Volkan Şahin
ab2e096f7b permission set feature 2016-06-30 15:42:42 +03:00
Volkan Şahin
a7979e6006 agreement minor fixing 2016-06-30 15:42:01 +03:00
Volkan Şahin
e78328c880 type fixing 2016-06-30 14:51:45 +03:00
Volkan Şahin
62041fb649 agreement operation bug fixes 2016-06-30 12:40:29 +03:00
Volkan Şahin
edf0d13082 file transfer operations were updated 2016-06-29 12:42:43 +03:00
Volkan Şahin
e53a989cd2 minor bug fixing 2016-06-29 12:42:02 +03:00
Volkan Şahin
d6abe1a78f file transfer method was defined 2016-06-29 12:41:31 +03:00
Volkan Şahin
ac99ea633e minor fixing about message format 2016-06-29 12:39:18 +03:00
Volkan Şahin
39416fcb65 removed unused parameters 2016-06-29 12:34:05 +03:00
Volkan Şahin
0476871d34 added new util feature and added file receive path to system 2016-06-29 12:20:57 +03:00
Volkan Şahin
521d8bc352 safe mode is active on logging out 2016-06-29 12:17:19 +03:00
Volkan Şahin
8b9c05727f file transfer manager added 2016-06-29 12:16:45 +03:00
Volkan Şahin
6b9e02104b agrement answer is sending to Lider 2016-06-28 12:24:02 +03:00
Volkan Şahin
42e23f082e waiting time out in case agreement display error 2016-06-28 12:23:01 +03:00
Volkan Şahin
25f684f022 remove user session info on logout 2016-06-27 18:13:43 +03:00
Volkan Şahin
7c50a7bc33 ip addresses added to login message 2016-06-27 17:36:12 +03:00
Volkan Şahin
2cd4de94e6 minor fixings 2016-06-27 17:21:10 +03:00
Volkan Şahin
4eb03dacde agreement feature added to Ahenk. User must be accept agreement when first login on a Ahenk. Display and type of dm are getting on logging 2016-06-27 17:20:26 +03:00
Volkan Şahin
b3299303a8 new tables were added about agreement 2016-06-27 17:17:20 +03:00
Volkan Şahin
53b33a8e26 aggreement update event added 2016-06-27 17:16:09 +03:00
Volkan Şahin
01bba60f40 login parameters were extended with dm and display 2016-06-27 17:15:32 +03:00
Volkan Şahin
8eeab0ec0a agreement request message was added 2016-06-27 17:14:11 +03:00
Volkan Şahin
dc7e070c00 new message type added: response_agreement 2016-06-27 17:13:30 +03:00
Volkan Şahin
178ca598fe user display and desktop manager is storing in db 2016-06-27 17:11:48 +03:00
Volkan Şahin
4cd85c8bce execute a command as a specific user,add text md5 and timestamp 2016-06-27 17:09:57 +03:00
Volkan Şahin
3ff4c6115a commander bug fixing 2016-06-27 16:34:50 +03:00
Volkan Şahin
31cabab3d5 commander updated to new login command 2016-06-27 16:32:24 +03:00
Volkan Şahin
1653f692ea commamder.py updated for new pam configuration 2016-06-27 12:41:16 +03:00
Volkan Şahin
6009755066 log fixing 2016-06-23 10:34:27 +03:00
Volkan Şahin
54c73ac04b scheduler fixing and adapting 2016-06-22 18:22:07 +03:00
Volkan Şahin
1e2dbede2b scheduler init added 2016-06-22 18:20:25 +03:00
Volkan Şahin
795caa22f1 log fixing 2016-06-22 18:19:58 +03:00
Volkan Şahin
b3c6800f1d updated execution task-policy because of added new columns-params 2016-06-22 18:19:24 +03:00
Volkan Şahin
da896074eb converting obj to json func added 2016-06-22 18:18:11 +03:00
Volkan Şahin
dc6a74b528 missing columns added 2016-06-22 18:17:16 +03:00
Volkan Şahin
93a3acf7f2 missing parameters were added 2016-06-22 18:15:19 +03:00
Volkan Şahin
bef981e196 log fixing 2016-06-22 18:14:10 +03:00
Volkan Şahin
2bcf476aa8 Storing tasks in database 2016-06-22 18:12:06 +03:00
Volkan Şahin
613cb68df3 minor line fixing 2016-06-22 18:10:16 +03:00
Volkan Şahin
98784905dd registration failed handled 2016-06-21 17:47:25 +03:00
Volkan Şahin
1e3377c048 minor bug fixing 2016-06-21 15:30:01 +03:00
Volkan Şahin
35bb6fefd7 python XMPP client library migrate to sleekxmpp from slixmpp 2016-06-20 17:35:59 +03:00
Volkan Şahin
7f306bbc94 Policy execution ids now updating in case of executing same policies 2016-06-16 18:08:16 +03:00
Volkan Şahin
6180d6ff95 util md5 added 2016-06-16 16:39:47 +03:00
mine.dogan
b4cfe8323c reverse last commit 2016-06-14 17:56:01 +03:00
mine.dogan
6654aa63e9 bug fix 2016-06-14 17:52:11 +03:00
Volkan Şahin
1be1ecf72b system features rollback to psutil 4 abilities 2016-06-13 11:57:58 +03:00
Volkan Şahin
e430cfadb7 ip address format control was added 2016-06-10 10:51:08 +03:00
Volkan Şahin
2eea107ccc lider ejabberd resource parameter was added 2016-06-10 10:50:20 +03:00
Volkan Şahin
06f65d0c35 sample plugin formatted 2016-06-09 15:43:41 +03:00
Volkan Şahin
46047ac43b finding pid and killing process abilities were extended 2016-06-09 12:12:30 +03:00
Volkan Şahin
3b9c5fa097 some abilities of installation package were added 2016-06-09 12:11:24 +03:00
Volkan Şahin
944498af3d some features blocked because of dependency management problems 2016-06-08 14:52:37 +03:00
Volkan Şahin
9e2fbac6a5 already running problem fixed when call status 2016-06-08 14:43:51 +03:00
Volkan Şahin
6fb7f89e87 pid file isolated from event and events rw processes is running with thread safe. stop restart commands fixed. status and send commands added. and minor fixings... 2016-06-06 12:27:46 +03:00
Volkan Şahin
ecfeadd424 task parameters problem fixed and added checking response existing 2016-06-06 12:25:08 +03:00
Volkan Şahin
6a3957401e base enums added to abstract plugin 2016-06-06 12:23:27 +03:00
Volkan Şahin
edcc058f74 multi registration request problem fixed 2016-06-06 12:22:44 +03:00
Volkan Şahin
d5dec0f374 base ahenk informations and parameters served over system.py 2016-06-06 12:22:00 +03:00
Volkan Şahin
75d97dfc9f minor fixing 2016-06-06 12:20:31 +03:00
Volkan Şahin
bc82870f2b util execute command returns formatted byte to string 2016-05-31 12:24:14 +03:00
Volkan Şahin
22f11cfc3f util fixes 2016-05-26 17:24:29 +03:00
Volkan Şahin
40bf1c3666 minor fix for execution result 2016-05-26 17:00:42 +03:00
Volkan Şahin
c0f1772eb6 abstract plugin fixes 2016-05-26 11:20:33 +03:00
Volkan Şahin
060ac2c5c8 minor log fixes 2016-05-26 11:19:34 +03:00
Volkan Şahin
1bcf949782 ahenk clean command was added- you can clean ahenk db and conf parameters with this command: sudo python3 ahenkd.py clean 2016-05-25 17:53:52 +03:00
Volkan Şahin
b81d9b079b abstract classes merged 2016-05-25 17:11:37 +03:00
Volkan Şahin
63b28cefe5 basic utils were added 2016-05-25 17:10:27 +03:00
Volkan Şahin
966e17f241 format of registration parameters fixed 2016-05-19 16:14:55 +03:00
Volkan Şahin
37ec0551a9 mac addresses and ip addresses format validation, new info serving about processor 2016-05-18 15:18:14 +03:00
Volkan Şahin
c72785c53a registration message label fixed 2016-05-18 14:55:52 +03:00
Volkan Şahin
31be137602 minor fixing 2016-05-17 17:29:13 +03:00
Volkan Şahin
0c2f6892ab Context was extended about execute script 2016-05-17 17:28:50 +03:00
Volkan Şahin
014dd0f468 xmpp reconnection 2016-05-17 17:27:51 +03:00
Volkan Şahin
36244b3723 ahenk is running if there is no plugin 2016-05-17 12:32:48 +03:00
Volkan Şahin
7d829bef7d plugin installation process was managed about possible exceptions 2016-05-17 12:31:38 +03:00
Volkan Şahin
7d22232c1c file transfer via ssh was fixed about exception throwing 2016-05-17 12:29:51 +03:00
Volkan Şahin
bff63ae806 registration parameters were updated 2016-05-17 12:28:17 +03:00
Volkan Şahin
1979d4815e ip addresses formatted 2016-05-16 17:28:58 +03:00
Volkan Şahin
114a44c223 mac addresses added to system 2016-05-16 17:27:51 +03:00
Volkan Şahin
ec730ab5ce created system information service 2016-05-12 17:36:43 +03:00
Volkan Şahin
d0b2e62b8d retrive file ahenk to lider via selected protocol was implemented 2016-05-12 17:35:47 +03:00
Volkan Şahin
518acdc784 plugin managers were merged 2016-05-12 17:34:21 +03:00
Volkan Şahin
a30213bf51 registration parameters were extended 2016-05-12 17:33:33 +03:00
Volkan Şahin
046ebe426b log fixed 2016-05-09 17:54:06 +03:00
Volkan Şahin
07b22e66a5 plugin_manager merged 2016-05-09 17:50:39 +03:00
Volkan Şahin
d9f24b877f safe mode enabled for logout 2016-05-09 17:50:12 +03:00
Volkan Şahin
d3b621baac sample plugins 2016-05-09 15:06:28 +03:00
Volkan Şahin
5cf615d1b2 merging 2016-05-09 14:14:33 +03:00
Volkan Şahin
5310354aaf response message was opened 2016-05-09 14:13:41 +03:00