Balazs Birtalan
2430db8be2
The runJs thread fixed and every sight use own threadpool where in their thread runs without interrupt eachother.
2023-11-13 19:32:09 +00:00
Balazs Birtalan
3169d1cf14
The event "freezing" problem is solved now by using Thread. There is a bug in the addRequest it looks like double times add the element to the js_request.
2023-11-09 20:22:58 +00:00
Balazs Birtalan
b8e1a5cb81
New class Broadcast (in Messenger) which deliever (send and receive) the message with their data to the receivers (pages).
2023-11-09 13:57:36 +00:00
Balazs Birtalan
f257def4d1
Log Message write in the logs/{date}.log file, Now there are a lot of different state (alert, failed, warning, console, info etc.). It use byCode (RSD1000X etc.) which make easier. There is a console display window now when it starts and logging there as well. There is now the opportunity to choose the debug level, turn on or of the debug and event displays. Added an admin template into the admin
2023-11-02 19:18:06 +00:00
Balazs Birtalan
ce145b8203
Log Message write in the logs/{date}.log file, Now there are a lot of different state (alert, failed, warning, console, info etc.). It use byCode (RSD1000X etc.) which make easier. There is a console display window now when it starts and logging there as well. There is now the opportunity to choose the debug level, turn on or of the debug and event displays. Added an admin template into the admin
2023-11-02 19:17:25 +00:00
Balazs Birtalan
fc576a32f5
Log message function in base logMsg(). base.where() give back the current class and function name.
...
base code is cleaned up.
2023-10-31 07:20:44 +00:00
Balazs Birtalan
abcc4f41eb
Added: frameSupported() method. If it is False then remove titlebar and any other functions which is related with mouse or windows event from html, and use the standard OS interface (like in wayland) if it is True then it use the html frame and switch automatically.
...
Fixed the children closing method on linux (wayland) and every sight closing method happen in the sightfactory.py (moved from the callhandler).
2023-10-30 19:43:35 +00:00
Balazs Birtalan
a91cc436bd
Now the border, title bars are showed on Linux because the mouse "move" position function doesnt work on Wayland properly yet.
2023-10-27 15:03:00 +01:00
Balazs Birtalan
6250541e22
The data-type is now data-page and everywhere where "type" was given as named by "page" in the code.
...
New function is available from the javascript is the window.sight.system() (return: Linux, Windows, Darwin) return back with that system type where the app runs.
2023-10-27 14:14:49 +01:00
Balazs Birtalan
976fee0004
They can send message to the specific sight using the window.sight.message 2nd argument function. There is a new function called sendMessage() which make more simple to send message.
...
1st argument of the sendMessage is a label.
2nd argument of the sendMessage is a sight ids array if it is empty [] then get everyone.
3rd argument is the data (javascript dict)
2023-10-27 09:58:33 +01:00
Balazs Birtalan
617bbe47cc
They can send message to each other using the window.sight.message function. It will run "runJavaScript" a "message()" function from the every sights which run and their executes if it needs.
2023-10-26 19:47:39 +01:00
Balazs Birtalan
4965e87980
Parent and Child relationship is working. If the parent is closed its children will be closed too.
...
But the child's children not (in this version).
The parent knows about its children in self.children list variable. The child knows about its parent in self.parent variable. When a child is closed the its id will be removed its parent (self.children) list variable.
2023-10-26 18:43:59 +01:00
Balazs Birtalan
346c22193d
Three sight running mode defined and redefined. Now it has unique, auto and normal running mode.
2023-10-26 16:58:46 +01:00
Balazs Birtalan
912f974e76
The load content which was worked by vanilla now changed back to jQuery, the javascript ajax solution cant execute the javascripts somewhy.
2023-10-26 15:14:19 +01:00
Balazs Birtalan
ffa1edc3e3
The s_content removed from the template.js and now i use scontent attribute instead of the previous version. It is more clear.
...
The "load" jquery is replaced for javascript (vanilla version) in the sight.js (inside a new function called load()).
2023-10-26 11:27:01 +01:00
Balazs Birtalan
6bb1efc432
Merge remote-tracking branch 'origin/main'
2023-10-26 09:39:42 +01:00
Balazs Birtalan
a8977fc038
Test From PyCharm
2023-10-26 09:39:09 +01:00
Balazs Birtalan
1dc140b1b7
Test From PyCharm
2023-10-26 09:30:47 +01:00
Balazs Birtalan
4e8216e6da
created by notepad++ (no need)
2023-05-17 10:41:43 +00:00
Balazs Birtalan
c6d17cadd8
created by notepad++ (no need)
2023-05-17 10:41:02 +00:00
Balazs Birtalan
31357a8838
Notepad++ generated in local folder (no need)
2023-05-17 10:39:02 +00:00
Balazs Birtalan
043097a122
Notepad++ generated in local folder (no need)
2023-05-17 10:36:20 +00:00
Balazs Birtalan
e36bad491f
Notepad++ generated in local folder (no need)
2023-05-17 10:36:01 +00:00
Balazs Birtalan
bdb008c97a
Notepad++ generated in local folder (no need)
2023-05-17 10:35:48 +00:00
Balazs Birtalan
63b8c7c435
Notepad++ generated in local folder (no need)
2023-05-17 10:35:31 +00:00
Balazs Birtalan
deed629adc
Notepad++ generated in local folder (no need)
2023-05-17 10:34:48 +00:00
Balazs Birtalan
997d9e87c5
First Commit
...
Signed-off-by: balazs <contact@balazsbirtalan.com>
2023-05-17 11:16:32 +01:00
Balazs Birtalan
8b2688ba7d
Initial commit
2023-05-17 09:37:14 +00:00