zolliker
fabb6c371f
webserver.py: fix intendation
2026-05-04 13:31:25 +02:00
zolliker
1201801170
break busy loop blocking the server
...
- Use gevent.sleep with a tiny value after a message has been
received instead of no call to sleep at all. This was the
reason for the webserver to block when used with prep8
and the leiden dil with a lot of data
- move gevent.monkey.patch_all() to secop-webserver
- properly close clients
2026-05-04 13:19:33 +02:00
zolliker
ba4bed7275
improve comment
2026-03-26 16:40:16 +01:00
zolliker
f1c81a8a43
add instrument arg instead of empty args
2026-03-26 16:35:49 +01:00
zolliker
62823899bb
change update mechanism
...
Atoring just updates on the SecopInteractor does not work
properly, as these updates depend on what the clients have already.
As updates are polled internall anyway, store onm each client
the state of the parameters it has looked up already and emit
changes values only.
2026-03-20 11:49:00 +01:00
zolliker
9b16483e45
Merge branch 'master' of https://gitea.psi.ch/linse/seweb
2026-03-19 11:41:40 +01:00
zolliker
0343a76079
followup fix: node map must be updated before registering callbacks
2026-03-19 11:41:00 +01:00
zolliker
cdd5f60e14
us 'this' for main instrument
2026-03-19 11:37:52 +01:00
zolliker
51bd8c2c4c
node map must be rebuilt for reconnected clients
2026-03-19 11:36:18 +01:00
zolliker
24bf3a1d9c
Merge branch 'master' of https://gitea.psi.ch/linse/seweb
2026-02-18 16:43:37 +01:00
zolliker
0e8ad84570
change sys.path
...
+ some other stuff
2026-02-18 16:43:19 +01:00
zolliker
671739a195
add degC to the important units showed at top
2025-07-01 08:48:49 +02:00
zolliker
572387ae48
change color of console debug message
...
otherwise it is badly readable in Safari
2025-07-01 08:48:12 +02:00
zolliker
a6ec455563
select_experiment: move links to instruments to top
2025-05-23 13:50:21 +02:00
zolliker
be404b625b
main js: fix clientTags
2025-05-23 13:05:17 +02:00
zolliker
191f0aed80
logfile name depending on port
2025-05-23 13:04:37 +02:00
zolliker
b24384f387
improve further select_experiments: add time range in link
2025-05-21 15:37:19 +02:00
zolliker
e136b66732
no extra headline for central server
2025-05-21 13:14:26 +02:00
zolliker
822e3ab6a2
big fix: treat history_only=None properly
2025-05-21 13:08:06 +02:00
zolliker
b1ffe99a5d
remove grey background on select_experiments
2025-05-21 12:11:16 +02:00
zolliker
7d4607e947
work on select_experiment
...
- on currently running exp. make two links, to instrument
or history only
- create dummy secop client when hideRightPart is used in order
to avoid waiting impossible connection
2025-05-21 11:35:25 +02:00
zolliker and koennecke
55dd7a3777
fix bug not changing host
2025-05-20 16:59:25 +02:00
zolliker and koennecke
fd37ee0dfc
cosmetics on home
2025-05-20 16:55:10 +02:00
zolliker
90e8aa5df0
select_experiment: use links to instruments
2025-05-20 16:51:01 +02:00
zolliker
6df42b9541
continue with graphics when secop connection fails
2025-05-20 16:51:01 +02:00
zolliker and koennecke
2984c051e9
use single instrument name instead of 'n_a'
2025-05-20 16:04:38 +02:00
zolliker
46fca20f09
add links to servers on intruments
2025-05-20 15:10:19 +02:00
zolliker
2ed1e3c292
instrument=main: for multiple instruments (on linse-c)
2025-05-20 15:10:19 +02:00
zolliker and CAMEA
6390d37ab4
add usual locations of sehistory and frappy to sys.path
2025-05-20 10:30:00 +02:00
zolliker
925bdfc472
improve command handling
2025-05-13 11:11:19 +02:00
zolliker
3b438d68b2
fix bug in select_experiment page
2025-05-13 11:11:19 +02:00
zolliker
a94cc98c42
remove obsolete stuff + small adjustments
2025-05-13 11:11:19 +02:00
zolliker
2cd78ae1e9
rename files with spaces in doc
2025-05-13 11:11:19 +02:00
zolliker
a4fda418b2
fix chart config parameters
...
- add SEA dil pressures
- read config each time when it is used
2025-05-13 11:11:19 +02:00
zolliker
179db4c0a3
remove some console.log for debug
2025-05-13 11:10:35 +02:00
zolliker
5c70017238
fix simple command (e.g. stop)
2025-05-13 11:10:27 +02:00
zolliker
268ebc7e93
lazyPermission: allow to configure starting with writePermission=true
2025-05-13 11:10:14 +02:00
zolliker
f66b071813
Merge commit '62da014d4041e'
2025-05-13 11:09:38 +02:00
zolliker
0f16699323
change value of input element only when opening the edit
...
updates do not need to update them
(not yet done for enum and checkbox)
2025-05-02 11:35:56 +02:00
zolliker
f883c913ed
Merge branch 'master' of gitlab.psi.ch:samenv/seweb
2025-05-02 11:04:07 +02:00
zolliker
a229626bdf
change value of input element only when opening the edit
...
updates do not need to update them
(not yet done for enum and checkbox)
2025-05-02 11:02:22 +02:00
zolliker
0a75a0aa37
Merge branch 'daniel' - 2025-05-02
2025-05-02 11:01:47 +02:00
zolliker
06bdbbb02e
change value of input element only when opening the edit
...
updates do not need to update them
(not yet done for enum and checkbox)
2025-05-02 10:56:53 +02:00
zolliker
b704440f36
make write permission check case insensitive
2025-05-02 10:45:48 +02:00
zolliker
43624b4222
send instrument='n_a' if not available
...
instead of null
+ remove another debugging print statement
2025-05-02 10:43:34 +02:00
zolliker
e51942c97f
make sure instrument and device are availabel separately
...
- added comment to the alert to be modified
("You changed a field without pressing the return key.")
2025-05-02 10:43:34 +02:00
zolliker
ae7ed7bdd8
get a faster response from a change
...
in the previous implementation, the row-waiting-for-answer
class was removed only on the next poll. this should happen
more quickly.
+ remove some print statements
2025-05-02 10:43:34 +02:00
zolliker
202095d539
change row-waiting-for-answer color to a light yellow
...
orangered is too aggressive
2025-05-02 10:42:40 +02:00
zolliker
cf0a979cc9
add nv.speed to generic.ini
2025-05-02 10:42:40 +02:00
zolliker
2fda3164e6
use type=rdonly for modules without target, but with a value
2025-05-02 10:42:40 +02:00
zolliker
0a6ff13ee6
treat different types for module block
2025-05-02 10:42:40 +02:00
zolliker
9b7261261f
fix do command
2025-05-02 10:42:08 +02:00
zolliker
8f7406c31b
fixes for select_instrument
2025-05-02 10:41:55 +02:00
zolliker
09bf402bbb
implement SECoP commands on the server side
2025-05-02 10:41:55 +02:00
zolliker
27f60e1187
report status and target in update_main
...
+ add SECoP commands [WIP]
+ fix case 4 (error icon) in updateStatus (SEAWebClientCommunication.js)
2025-05-02 10:39:18 +02:00
zolliker
51c9973c0d
make write permission check case insensitive
2025-05-01 08:54:26 +02:00
zolliker
d6ad08025b
send instrument='n_a' if not available
...
instead of null
+ remove another debugging print statement
2025-04-30 14:48:01 +02:00
zolliker
b0761d9be9
make sure instrument and device are availabel separately
...
- added comment to the alert to be modified
("You changed a field without pressing the return key.")
2025-04-30 14:46:22 +02:00
zolliker
fe80de4d4b
get a faster response from a change
...
in the previous implementation, the row-waiting-for-answer
class was removed only on the next poll. this should happen
more quickly.
+ remove some print statements
2025-04-30 11:18:18 +02:00
zolliker
a7e23febfe
change row-waiting-for-answer color to a light yellow
...
orangered is too aggressive
2025-04-30 11:16:39 +02:00
zolliker and l_samenv
b24db856df
add nv.speed to generic.ini
2025-04-30 08:14:16 +02:00
zolliker
45a90145a7
use type=rdonly for modules without target, but with a value
2025-04-25 16:29:52 +02:00
zolliker
54d77218cd
treat different types for module block
2025-04-25 16:14:38 +02:00
zolliker
273821e191
fix do command
2025-04-25 13:45:11 +02:00
zolliker
74e1a84253
fixes for select_instrument
2025-04-25 09:00:47 +02:00
zolliker
ea21d4e138
implement SECoP commands on the server side
2025-04-25 08:59:58 +02:00
zolliker
58ee8130e6
report status and target in update_main
...
+ add SECoP commands [WIP]
+ fix case 4 (error icon) in updateStatus (SEAWebClientCommunication.js)
2025-04-22 18:03:24 +02:00
zolliker
8747b0e7f8
change status update slightly
...
- formatted is like "BUSY, moving"
- value as with other tuples
- statuscode 0..4
2025-04-15 18:03:12 +02:00
zolliker
639949f24b
change status update slightly
...
- formatted is like "BUSY, moving"
- value as with other tuples
- statuscode 0..4
2025-04-15 17:52:22 +02:00
zolliker
555aca9ed0
add statuscode to update for status
...
- value in a status update now contains the text only
2025-04-15 17:37:29 +02:00
zolliker
38b2dbcf93
added component info (from SECoP description)
...
+ add target update for modules block
2025-04-15 17:37:29 +02:00
zolliker
85fdaa445f
server: remove unnecessary nesting in SecopInteractor.get_components
2025-04-15 17:37:29 +02:00
zolliker
e132b43263
fix missing initialization of node_map in SecopInteractor
2025-04-15 17:37:28 +02:00
zolliker
bd7c1f7406
add statuscode to update for status
...
- value in a status update now contains the text only
2025-04-15 17:36:37 +02:00
zolliker
c42d7d8bf8
added component info (from SECoP description)
...
+ add target update for modules block
2025-04-15 17:36:37 +02:00
zolliker
e815800cb3
server: remove unnecessary nesting in SecopInteractor.get_components
2025-03-24 10:04:48 +01:00
zolliker
dbf98fdf90
fix missing initialization of node_map in SecopInteractor
2025-03-24 08:33:09 +01:00
zolliker
b8ac8f8bb5
add the status name to the 'rdlink' message
2025-03-18 14:35:14 +01:00
zolliker
c67c0f7e9d
add 'status' to updates for module block
2025-03-18 14:22:10 +01:00
zolliker
63a9d65626
Merge branch 'master' into daniel
2025-03-18 14:20:43 +01:00
zolliker
ea780537d9
fix venv activate path
2025-03-18 14:19:41 +01:00
zolliker
98c3870b81
merge with master branch
2025-03-18 14:18:55 +01:00
zolliker
0932d07bf7
another push test
2025-03-18 14:16:02 +01:00
zolliker
5b6684fcef
add select_experiment
2025-03-18 14:15:14 +01:00
zolliker
2c59e37074
major rework
...
using influxdb structure independed of nicos cache
2025-03-18 14:14:45 +01:00
zolliker
b036456517
another push test
2025-03-17 13:33:32 +01:00
zolliker
c87d08d39f
push test
2025-03-17 13:23:39 +01:00
zolliker
4691dbcf0f
push test
2025-03-17 13:19:23 +01:00
zolliker
9ec122a146
add select_experiment
2025-02-27 10:41:17 +01:00
zolliker
65aa822b96
major rework
...
using influxdb structure independed of nicos cache
2025-02-25 14:29:25 +01:00
zolliker
680434e5e8
fix activate command
2024-11-05 17:04:39 +01:00
zolliker
3d2346f632
update spec
2024-10-25 11:17:48 +02:00
zolliker
5017c5feb6
fix typo
2024-10-25 09:42:04 +02:00
zolliker
24fa8f8459
Update instructions_specifications.md
2024-10-25 09:22:57 +02:00
zolliker
a22b70d750
make instructions more nice
...
- use english consequently (this avoid umlauts...)
- adapt better to markdown syntax
2024-10-25 09:18:41 +02:00
zolliker
78cadd7bef
instructions and specifications for daniels work
2024-10-25 08:53:33 +02:00
zolliker
279a658e8a
update README: *-webserver script, rename to 'seweb'
2024-10-25 08:13:14 +02:00
zolliker
e339ef711f
modify notes about Chart.js migration
2024-10-25 07:50:31 +02:00
zolliker
66bc1c99db
add requirements
2024-10-23 16:36:26 +02:00
zolliker
7d536c187b
add dummy webserver
2024-10-23 16:35:59 +02:00