Commit graph

392 commits

Author SHA1 Message Date
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
Volkan Şahin
b857e5d15d download file via http way was changed 2016-05-09 14:12:33 +03:00
Volkan Şahin
e124b3039f Update TaskManager.py 2016-05-06 17:30:39 +03:00
Volkan Şahin
e9446d8802 pyc files 2016-05-06 16:48:23 +03:00
Volkan Şahin
9f9f16e5d5 task columns were reviewed 2016-05-06 16:44:21 +03:00
Volkan Şahin
80579a1875 registration parameters were extended 2016-05-06 16:43:18 +03:00
Volkan Şahin
daa078c90d missing plugin message created 2016-05-06 16:42:21 +03:00
Volkan Şahin
95abee215d ping ability was added and logs reviewed 2016-05-06 16:41:19 +03:00
Volkan Şahin
f167d9c8c3 installing missing plugins on running ahenk 2016-05-06 16:40:06 +03:00
Volkan Şahin
46fbff6144 file transfer via ssh 2016-05-06 16:36:50 +03:00
Volkan Şahin
a2676abea4 file transfer via ssh 2016-05-06 16:35:45 +03:00
Volkan Şahin
a8d8aafd46 logs were added, login message created, xmpp reconnection was added 2016-05-06 16:34:58 +03:00
Volkan Şahin
965ba8da2c minor fixes 2016-04-25 17:12:45 +03:00
Volkan Şahin
ffa0c32b61 anonymous connection fixed 2016-04-25 17:07:03 +03:00
Volkan Şahin
414ac032bf kill self process 2016-04-25 16:41:22 +03:00
Volkan Şahin
9ffd543cfb log level changed 2016-04-25 16:36:54 +03:00
Volkan Şahin
9dfbbcf5fc Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-04-20 18:06:53 +03:00
Volkan Şahin
7a2cb4cb78 init added 2016-04-20 18:06:36 +03:00
Volkan Şahin
59cae7567f file transfer via sftp added 2016-04-20 18:06:12 +03:00
Volkan Şahin
5e5b446f6b import fixed about enum 2016-04-20 18:05:05 +03:00
Volkan Şahin
23e0d605de enum classes restored 2016-04-20 18:04:08 +03:00
Volkan Şahin
9886080f81 messager parameters fixed 2016-04-20 18:02:45 +03:00
Volkan Şahin
e6cea55d4b import fixed 2016-04-20 18:02:03 +03:00
İsmail Başaran
ff54ec11e4 safe mode 2016-04-20 16:30:29 +03:00
Volkan Şahin
dcf214ad8a bug fixes 2016-04-16 23:59:54 +03:00
Volkan Şahin
5ec5598177 bug fixes 2016-04-13 23:00:34 +03:00
Volkan Şahin
e25d8f6c5c netiface module dependency is removed 2016-04-13 15:24:15 +03:00
Volkan Şahin
c753082d77 file transfer fixed 2016-04-13 14:20:01 +03:00
Volkan Şahin
429b51b84e imports fixed 2016-04-13 11:55:45 +03:00
Volkan Şahin
b8bfdfa153 bug fixes about file transfering due to using asyncio 2016-04-13 11:55:26 +03:00
Volkan Şahin
0e57c1be1f execution manager fixed about new columns 2016-04-12 17:32:40 +03:00
Volkan Şahin
3e1342b1d9 creating response message fixed 2016-04-12 17:31:38 +03:00
Volkan Şahin
aabb6c51c6 response message format fixed 2016-04-12 17:30:53 +03:00
Volkan Şahin
9cc063f2bc db columns fixed 2016-04-12 17:29:56 +03:00
Volkan Şahin
c37a936b53 model fixes 2016-04-12 17:28:21 +03:00
Volkan Şahin
5816e91bea debugs fixes 2016-04-12 17:27:29 +03:00
Volkan Şahin
737c877894 task process fixed about according to TaskBean 2016-04-11 19:32:05 +03:00
Volkan Şahin
773975bf17 response message fixed according to lider 2016-04-11 19:31:07 +03:00
Volkan Şahin
a8bc4b60f8 event registerer parameter fixed about enum values 2016-04-11 19:30:19 +03:00
Volkan Şahin
b8960de1dd PEP8 standarts 2016-04-11 19:27:26 +03:00
Volkan Şahin
e917e5023f model classes fixed about json issues 2016-04-11 19:26:49 +03:00
Volkan Şahin
b51646f053 new Task model added for sync task with db 2016-04-11 19:26:15 +03:00
Volkan Şahin
beafbc0b0d py files removed about browser plugin 2016-04-11 19:25:35 +03:00
Volkan Şahin
f80d785301 minor bug fixes 2016-04-08 18:43:06 +03:00
Volkan Şahin
85395033d4 registartion process fixed 2016-04-08 15:54:26 +03:00
Volkan Şahin
77455de1dd bug fixes about parameters 2016-04-07 19:18:22 +03:00
Volkan Şahin
dfd1d9b9cc Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-04-06 18:27:47 +03:00
Volkan Şahin
86f681fbac parameters fixed about lider-ahenk messaging format 2016-04-06 18:26:01 +03:00
İsmail Başaran
bdcc764471 created factory for plugin manafer 2016-04-06 17:40:25 +03:00
Volkan Şahin
94d00c420c Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-04-06 14:28:38 +03:00
Volkan Şahin
0b0ea90d3d getting current policies from db 2016-04-06 14:28:29 +03:00
Volkan Şahin
76050d7284 new model classes were added 2016-04-06 14:27:45 +03:00
Volkan Şahin
e404cbdd19 profile and plugin db tables schemas were updated 2016-04-06 14:23:40 +03:00
İsmail Başaran
a341deefee added remove schedule job via task id method 2016-04-05 19:12:40 +03:00
İsmail Başaran
a68ea26f79 updated task manager added function for checking scheduler jobs 2016-04-05 18:47:05 +03:00
İsmail Başaran
e35f538387 Task message init None check 2016-04-05 17:57:35 +03:00
İsmail Başaran
30689c31ad import statement bugfix 2016-04-05 17:56:54 +03:00
İsmail Başaran
85a9bcd5a1 ahenk service init methots 2016-04-05 17:55:15 +03:00
İsmail Başaran
44891af172 scheduler db 2016-04-05 17:28:22 +03:00
İsmail Başaran
61cac2b507 added json fields to task obj 2016-04-05 15:23:20 +03:00
İsmail Başaran
75ce3d84fa custom scheduler impl 2016-04-05 14:30:12 +03:00
Volkan Şahin
f07868f46c added content type 2016-04-04 18:16:02 +03:00
Volkan Şahin
75d818b6a1 get active policies from db and process them 2016-04-04 18:15:18 +03:00
Volkan Şahin
550cad1804 browser plugin implemented user-ahenk 2016-04-04 18:12:19 +03:00
Volkan Şahin
3f856b9dc1 browser plugin user profile 2016-04-03 01:41:10 +03:00
Volkan Şahin
d3ee9ff739 message formats were fixed 2016-04-03 00:58:33 +03:00
Volkan Şahin
7a5271876c browser plugin created 2016-04-01 14:58:24 +03:00
Volkan Şahin
e3c16ea289 Merge branch 'master' of https://github.com/Pardus-Kurumsal/ahenk 2016-04-01 14:57:22 +03:00
Volkan Şahin
2729daa0c2 browser plugin created 2016-04-01 14:57:06 +03:00
İsmail Başaran
c96fe5d251 initial scheduler impl 2016-04-01 14:11:48 +03:00
Volkan Şahin
80079685b5 minor bug fixes 2016-03-31 18:22:25 +03:00
Volkan Şahin
dca5a2d720 response message create-send 2016-03-30 18:51:50 +03:00
Volkan Şahin
a282695c10 conflict merging 2016-03-30 17:37:02 +03:00
Volkan Şahin
84f9d4c32d response model and minor bug fixes 2016-03-30 17:34:10 +03:00
İsmail Başaran
9b63aff8ab created initial context obj for handling task and policy 2016-03-30 17:12:38 +03:00
İsmail Başaran
fdb095cf7c Kill signal for reload plugins 2016-03-30 17:11:47 +03:00
İsmail Başaran
721096b114 Moved register event types to enumaration 2016-03-30 10:51:32 +03:00
İsmail Başaran
f82e7c4f02 event base docstring. response queue exception handling fix 2016-03-30 10:43:38 +03:00
Volkan Şahin
cff628e5df conflict merging 2016-03-29 16:31:49 +03:00
Volkan Şahin
3add386a49 requesting policies on logining - interpreting policy response and handle exiting ahenk 2016-03-29 16:11:39 +03:00
Volkan Şahin
7a236423dd db fixes 2016-03-29 15:29:49 +03:00
İsmail Başaran
5d905432ad implemented policy process 2016-03-29 11:52:18 +03:00
İsmail Başaran
eba656d8ae Execution manager policy type name fixed 2016-03-29 11:09:22 +03:00
Volkan Şahin
fedc9cbd2c bug fixes and check plugin exists 2016-03-25 17:56:15 +02:00
İsmail Başaran
cea2afccc6 changed messge recv type attr to message_type 2016-03-24 18:35:43 +02:00
Volkan Şahin
510b15f1df message case sensitive fixed 2016-03-24 17:55:23 +02:00
Volkan Şahin
35ca11b2e8 minor bugs were fixed 2016-03-23 17:34:12 +02:00
Volkan Şahin
65f4b757ea PEP8 Standard -> https://www.python.org/dev/peps/pep-0008/ 2016-03-23 17:15:27 +02:00
Volkan Şahin
7721e763e7 registration conf section way was replaced to database. some db operations were updated according to dbservice new feature 2016-03-23 16:41:54 +02:00
Volkan Şahin
e501afad33 new feature added(returning single element) to db service and some minor bug fixes 2016-03-23 16:39:39 +02:00
İsmail Başaran
9790371289 bug fix 2016-03-23 10:04:31 +02:00
Volkan Şahin
104530c62b handling events with parameters while running main ahenk process.Sending login-logout messages according to handled events 2016-03-22 16:43:47 +02:00
Volkan Şahin
91b752d97e Message Sender removed because of using single Messager 2016-03-22 16:33:54 +02:00
Volkan Şahin
c003ba5305 receiving task and save to DB 2016-03-21 12:02:15 +02:00
Volkan Şahin
171b0320ee toString and toJson added to model classes 2016-03-21 12:00:45 +02:00
Volkan Şahin
98c02648f8 ahenk start process was fixed depends to previous commits(merging messaging) 2016-03-18 18:45:06 +02:00
Volkan Şahin
bfeb41c1e1 fixes about merging message receiver-sender and new enities 2016-03-18 18:42:36 +02:00
Volkan Şahin
8fabf0d47b table initializing and dbservice minor fixes 2016-03-18 18:40:44 +02:00
Volkan Şahin
28967bd639 messager added to scope 2016-03-18 18:38:33 +02:00
Volkan Şahin
ea22c48c83 Message sender and message receiver merged 2016-03-18 18:37:58 +02:00
Volkan Şahin
1d733e0587 policy,profile and task entities were fixed 2016-03-18 18:20:14 +02:00
Volkan Şahin
77bce1f98f policy request and response handler implemented, dbmservice minor bugs were fixed 2016-03-17 17:55:27 +02:00
Volkan Şahin
656c6aab36 created policy structure 2016-03-16 17:26:25 +02:00
Volkan Şahin
fb16ab2e4f db service bug fixes 2016-03-16 10:40:17 +02:00
Volkan Şahin
4008aae6e6 minor bug fixes 2016-03-14 17:42:17 +02:00
Volkan Şahin
885be4972d merging 2016-03-14 17:19:05 +02:00
Volkan Şahin
4abb84a270 adding new task to task list 2016-03-14 17:16:26 +02:00
İsmail Başaran
683294f808 Merge branch 'master' of github.com:Pardus-Kurumsal/ahenk 2016-03-14 13:44:05 +02:00
Volkan Şahin
78b8d6d870 logger fixes 2016-03-14 12:05:12 +02:00
İsmail Başaran
66dfb8e5fc added db service 2016-03-14 10:58:18 +02:00
İsmail Başaran
240ab35292 created message type 2016-03-14 10:55:28 +02:00
Volkan Şahin
352073b3f8 logs were added, anonymous connection problem fixed 2016-03-11 17:51:26 +02:00
Volkan Şahin
8f81512560 new json messages created 2016-03-11 17:39:32 +02:00
Volkan Şahin
c55432b6c8 logs were added and some bugs were fixed 2016-03-11 17:37:38 +02:00
Volkan Şahin
8eac2d6615 implemented execution manager for lider events 2016-03-11 17:36:11 +02:00
Volkan Şahin
0644a12548 execution manager added to scope 2016-03-11 17:33:22 +02:00
Volkan Şahin
077b57a095 ldap registration added 2016-03-10 09:53:51 +02:00
Volkan Şahin
7ef39c3fd3 receiver and sender fixed for file transfering 2016-03-10 09:53:07 +02:00
Volkan Şahin
eb4ee5009b execution manager implementing 2016-03-10 09:48:33 +02:00
Volkan Şahin
b6b5e53740 process were extended 2016-03-08 18:09:26 +02:00
Volkan Şahin
3752a968ac parameters are fixed according to lider 2016-03-08 18:09:02 +02:00