Commit graph

21 commits

Author SHA1 Message Date
Henry Castro
b9a1254126 browser: admin: use access token
The GetCookie was removed due to sensitive
access data because the browser can block to
security concerns.

Change-Id: Ifaeb495202a53125bda9e3705b6e33b7e54e56df
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-08-02 20:23:42 +01:00
Henry Castro
47485adc3e admin: add access token
The access token will validate the session
when a websocket is connected to the server.

Change-Id: I008b04a499ab0d85fd6f95fc06a511f800c0bb2e
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-08-02 20:23:42 +01:00
Rash419
75dbc5ed79 add RouteToken in admintemplate
- websocket uri, admin-bundle.js uri, href links

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I84a484938191e2f62b9d262ee922e8b04de74a44
2023-07-06 13:27:23 +05:30
Henry Castro
6bd4563a8a browser: admin: fix vex dialog on socket close
The parent class will overwrite the popup vex dialog,
misleading error information.

Change-Id: I29d3d5fe0747903a58b56ae6c70e2e226715cdf4
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-06-29 20:47:08 +01:00
Rash419
f7af990485 admin: added a seprate state for the uploaded document
- previously we set the Modified state in admin panel only when
  wsd successfully upload the document to storage
- modified state updation depends on core, it might happen that
  uploading is already done and successfull but we didnot get
  the modified state from the core which will show wrong modified
  status in admin panel

Change-Id: I014a8f92753fc6a93b37921d0f3cdce390bef35e
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
2023-05-04 11:35:07 +05:30
Andras Timar
0519a533d7 Document name should be plain text on admin console
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I4ef9f83893af7646a15ea8c235257acab7760b64
2023-04-24 14:04:43 +02:00
Gökay Şatır
aa47a9f0a9 Remove json-js and stylelint-config-standart packages.
We don't need the first one and we don't use the latter one.

Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I1f48ff5487621781eb38dd8e4e8e2a389a3059d6
2023-04-01 11:30:07 +03:00
Gökay Şatır
260cbed5d3 Remove vex from code.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I054977b5c71364c59c7f1fdd1f5d691380951ebb
2023-03-25 07:03:05 +03:00
Gökay Şatır
00b0fd48c9 Remove vex dialog from AdminSocketOverview.js file.
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I04bab594327d9e75fe612bf84ee047e58a71ff22
2023-03-06 16:23:20 +03:00
Gökay Şatır
5f7e385ba2 Remove vex usage from AdminSocketBase.js
Signed-off-by: Gökay Şatır <gokaysatir@collabora.com>
Change-Id: I73192156e7a5a95bf757111db01f95bb38c6e80e
2023-02-22 09:32:04 +03:00
Andras Timar
3571c7211d Add '(unbranded)' string to product name, when branding is missing
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: I231f06f509c2d70ba092658b828e1d201cef2887
2022-12-13 23:23:20 +01:00
Pedro Pinto Silva
fb26e95624 Admin settings: do not use duplicate ids
Before this commit we were using a-settings-tablet to try to
target the side menu but it seems we are already using that id
for the header left "Settings" element

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ic5a1fa16ef823c935c09307d00fd6848643f0c4c
2022-10-18 09:14:13 +02:00
Pedro Pinto Silva
fd67d683e6 Admin setting: Make shutdown button easier to find
Before this the shutdown button was at the bottom difficult to
find. It also was a but confusing, at first sight it look like
it was a red button that clean or erases the settings options
(since it was a red button at the bottom of option form)

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I7c05b261b9d164f8fa1194eab5314abd87e9320d
2022-10-18 09:14:13 +02:00
Pedro Pinto Silva
6fd84abbd3 Admin settings: Add tabs, move version to its own place
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I54d4c2fefe4cc4bca534733387e6127020834d09
2022-10-18 09:14:13 +02:00
Pedro Pinto Silva
e6e065a26d Fix missing tab on Admin settings page
Before this commit it was only visible on mobile

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ifc9737d2bcd0014aa7b7d0d05dc0ec356aaf220b
2022-10-18 09:14:13 +02:00
Andras Timar
1cddb21b94 Display build config (configure options) on admin console
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Iac66ea99d23416c494b04ff92abc0bfeb646e5be
2022-10-13 11:57:17 +02:00
Andras Timar
f07ff8c7e0 rename: remaining lool->cool changes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib7d4e804bebe52dead8d53b0e0bbaed0f08bf3d0
2021-11-18 14:14:11 +01:00
Andras Timar
ec8f28d75c rename wsd protocol command 'loolserver' to 'coolserver'
Change-Id: I1835001b76da5179baab9820a1a60208f3e694cf
Signed-off-by: Andras Timar <andras.timar@collabora.com>
2021-11-17 11:59:35 +01:00
Henry Castro
8d96481ac8 misc: config: rename 'lool' -> 'cool'
Change-Id: Ib3708c71a8d2d1e4f5343c202f9cef57c76c15e3
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-17 09:17:19 +01:00
Henry Castro
6d38bb2389 browser: admin: rename loleaflet -> browser
Change-Id: If20240e62f5714afbcf1b582c8583e3444087fcf
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Henry Castro
e5c1d0e637 initial rename loleaflet -> browser
Change-Id: Ief7edfe7e3ff3a0a1ec24b4dc106bdeee5d0f8ff
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00