ralf
7a7c04ccc8
for api.queue close session to NOT block other requests (api.queue should NOT be used for changing something in session)
2023-07-25 11:37:37 +02:00
ralf
9640bc3e55
do NOT try to access notifications, if not installed or enabled for the user
...
gives a SQL error, if not installed
2022-10-24 09:11:04 +02:00
ralf
49ac54b365
Revert "json requests now close the PHP session immediately again and reopen it, if there was an update to the session" as it breaks Collabora editing
...
This reverts commit fe4d0dbbe3
.
2022-09-27 19:02:20 +02:00
ralf
fe4d0dbbe3
json requests now close the PHP session immediately again and reopen it, if there was an update to the session
...
this allows to run more PHP requests in parallel
2022-09-24 15:50:44 +02:00
ralf
6602078660
fix "Network error" download a log via our Api\Json\Tail class eg. CalDAV/CardDAV log
2022-05-12 11:28:17 +02:00
Ralf Becker
49cac615d7
fixing the fix ;)
...
call_user_func_array(): Argument #1 ($callback) must be a valid callback, class admin_account does not have a method "ajax_process_content"
2022-01-12 13:32:48 +02:00
Ralf Becker
1d462dabfd
fix Error Method admin_account::delete::et2_process() does not exist
2022-01-12 13:00:04 +02:00
Ralf Becker
1f4cb50e74
use $method parameter of Api\Etemplate::exec() plus new et2_process handler as menuaction GET parameter
...
allows determining the called function on the URL to eg. send it to different FPM pool
(before the menuaction of et2 was always "EGroupware\Api\Etemplate::ajax_process_content")
2022-01-09 16:38:14 +02:00
Ralf Becker
c830bdd923
allow pushing to multiple users in one request
2021-08-31 17:42:28 +02:00
Ralf Becker
ffc048d472
fix PHP 8.0 Fatal error unknown function get_magic_quotes_gpc
2021-03-21 18:27:09 +01:00
Ralf Becker
77b1c0ac33
* Admin: fix session list did NOT show interactive sessions, if push is used
2020-10-06 11:59:19 +02:00
Ralf Becker
094a60d7f7
doc fix
2020-10-06 11:52:29 +02:00
Ralf Becker
7db25dce5e
* Admin: push server test to diagnose problems and improved recovery from failed requests / network problems
2020-10-02 20:28:02 +02:00
Ralf Becker
3972abdf52
* Notifications: taking push server into account for checking user is online for popup or email notifications
2020-07-31 17:50:01 +02:00
Ralf Becker
b60a9ffff4
add check if only fallback push and skip full refresh (Framework::refresh_opener) for push and supporting apps
2020-07-24 09:07:13 +02:00
Hadi Nategh
8d022c5908
do not try to push notifications for api.queue requests
2020-05-22 10:16:59 +02:00
Ralf Becker
4d4eb5e654
remove left over (unnecessary) call to addGeneric adding an empty push
2020-04-22 22:19:58 +02:00
Ralf Becker
9817d25a47
move who is available via push to push class and backends
2020-04-20 13:07:58 +02:00
Ralf Becker
2bae92f066
ALL and SESSION constants for push
2020-01-23 16:05:32 +01:00
Ralf Becker
bf844b7598
support for new Swoole push server
2019-11-04 09:29:49 +01:00
Ralf Becker
2f1333a116
return and show in browser JSON parsing errors maybe caused by network problems
...
server sends HTTP status "400 Bad Request" with JSON payload with "error" and "errno" attributes.
error is json_last_error_msg() prefixed with "JSON ".
Not yet implemented is resending the request (max. twice) for JSON parsing errors to try to work around network problems
2018-11-01 12:00:08 +01:00
Ralf Becker
430368eab9
new JSON response method "message" to call egw.message eg. in a popup, by using the context from the egw.json call
2018-06-05 12:29:51 +02:00
Ralf Becker
205cf9c588
replace non-utf8 chars in content send to browser with utf8 replacement char
...
before we were removing the whole string
2018-03-01 17:38:45 +01:00
Ralf Becker
5b573abef7
do not allow path traversal and htmlencode displayed path
2017-10-26 13:16:52 +02:00
Ralf Becker
a90087b81c
send page-generation- and session-restore-time via json response not as dom fragment
2016-07-14 14:55:57 +02:00
Hadi Nategh
d040534a1f
Deprecate $j global variable used in php files and replace them all with standard jQuery
2016-06-02 17:43:23 +02:00
Ralf Becker
429177686a
make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api
2016-05-01 09:57:48 +00:00
Ralf Becker
8c87cf9dfc
move egw_framework to api and refactor it
2016-04-07 20:42:06 +00:00
Ralf Becker
682fd42a26
move CalDAV/CardDAV server to api
2016-04-02 10:44:17 +00:00
Ralf Becker
52a7f2198a
move egw_json_(request|response|push) to api
2016-03-20 13:02:55 +00:00