tomasz.sowa
e600aebaae
add a RequestJobBase base class for requests jobs
2023-09-28 07:47:06 +02:00
tomasz.sowa
5e45ad3417
fix(Http): send body content for PATCH, DELETE and OPTIONS methods if exists
...
while here:
- use CURLOPT_UPLOAD instead of CURLOPT_PUT as the latter is depracated
2023-09-26 23:02:34 +02:00
tomasz.sowa
79e971cb76
parse the input body for the PUT and PATCH methods too
2023-09-15 10:04:25 +02:00
tomasz.sowa
edee581ecf
update uikit to 3.16.26
2023-08-31 02:01:47 +02:00
tomasz.sowa
f7e077a7c5
add a TimeZone::PrintOffset(...) method
2023-08-29 15:02:37 +02:00
tomasz.sowa
6a9504fd5f
update htmx to 1.9.5
2023-08-26 00:16:06 +02:00
tomasz.sowa
6d256e6512
fix: correctly set a Request::RunState::job_run flag to the background request
...
The flag should be set to the task.request and not to the cur->request.
The cur->request could have been already changed by the main thread.
2023-08-25 16:24:27 +02:00
tomasz.sowa
cf383fa026
update easepick to 1.2.1
2023-08-21 13:31:02 +02:00
tomasz.sowa
c86536d660
update htmx to 1.9.4
2023-08-09 22:45:59 +02:00
tomasz.sowa
dba87d6213
update uikit to 3.16.24
2023-08-06 18:00:25 +02:00
tomasz.sowa
52f9d399ca
add a Header::text_xml and text_xml_utf8 types
2023-07-31 17:31:22 +02:00
tomasz.sowa
7b7a962f19
update uikit to 3.16.23
2023-07-30 22:47:36 +02:00
tomasz.sowa
c37722c29a
update ckeditor to 4.22.1 and jquery to 3.7.0
2023-07-23 14:40:13 +02:00
tomasz.sowa
ca509d3a86
update htmx to 1.9.3
2023-07-16 21:37:04 +02:00
tomasz.sowa
bf79e46411
add a GetUTF8File(...) method with a pt::WTextStream & content to the misc
2023-07-04 22:59:57 +02:00
tomasz.sowa
08821eb440
update uikit to 3.16.22
2023-06-23 01:47:51 +02:00
tomasz.sowa
d7878b5564
update uikit to 3.16.21
2023-06-14 03:13:44 +02:00
tomasz.sowa
0b52ae80dd
update uikit to 3.16.19
2023-05-27 17:27:42 +02:00
tomasz.sowa
3e46d8b4b4
update uikit to 3.16.18
2023-05-23 14:48:28 +02:00
tomasz.sowa
1655ae3562
fix: correctly clear after a request when an exception has been thrown
2023-05-16 15:31:13 +02:00
tomasz.sowa
dda325bbbf
allow to compile with gcc 12
2023-05-13 16:12:02 +02:00
tomasz.sowa
c326c2a095
update uikit to 3.16.17
2023-05-11 08:22:12 +02:00
tomasz.sowa
bf386e2286
add a Http::set_smtp_ssl_mode(long mode) method for selecting the ssl mode
2023-05-10 14:00:33 +02:00
tomasz.sowa
e822e13dc8
add support for sending emails in Http class
2023-05-10 09:01:30 +02:00
tomasz.sowa
cc2c008bfd
update htmx to 1.9.2
2023-05-08 06:01:20 +02:00
tomasz.sowa
b8a8013d4c
update uikit to 3.16.15
2023-04-15 23:50:18 +02:00
tomasz.sowa
12ed77aeb1
update htmx to 1.9.0
2023-04-13 21:45:39 +02:00
tomasz.sowa
7476048da6
make depend
2023-04-12 17:21:42 +02:00
tomasz.sowa
8a307790c0
update jquery to 3.6.4
2023-04-09 14:25:11 +02:00
tomasz.sowa
a49b10ed2d
allow to upload files from the ckeditor
...
while here:
- update ckeditor to 4.21.0
- add a Sourcedialog plugin to the ckeditor
2023-04-09 14:10:21 +02:00
tomasz.sowa
6a2da642b0
update uikit to 3.16.14
2023-04-08 09:48:12 +02:00
tomasz.sowa
b836c77950
update uikit to 3.16.13
2023-04-06 07:52:03 +02:00
tomasz.sowa
2aa4eee20d
update uikit to 3.16.12
2023-03-28 07:37:15 +02:00
tomasz.sowa
9ada82c4aa
update uikit to 3.16.6
2023-03-12 13:50:50 +01:00
tomasz.sowa
aa9b83f740
update uikit to 3.16.5
2023-03-10 19:26:26 +01:00
tomasz.sowa
4ddfd2cd3a
update uikit to 3.16.3
2023-02-27 22:14:36 +01:00
tomasz.sowa
d15f5e4fa4
update uikit to 3.16.1
2023-02-27 01:57:39 +01:00
tomasz.sowa
2e455f97ac
add support for serializing to xml
2023-02-27 00:34:29 +01:00
tomasz.sowa
f664cc1a53
update flatpickr to 4.6.13
2023-02-15 23:03:56 +01:00
tomasz.sowa
ae505f3201
remove white characters from flatpickr js script
2023-02-15 22:57:41 +01:00
tomasz.sowa
d5433cddf1
update jquery to 3.6.3
2023-02-14 13:05:45 +01:00
tomasz.sowa
52773a271c
update ckeditor to 4.20.1
2023-02-14 12:26:36 +01:00
tomasz.sowa
e9311989ab
update uikit to 3.15.24
2023-02-14 00:21:16 +01:00
tomasz.sowa
7b63c01033
update uikit to 3.15.23
2023-02-02 10:43:32 +01:00
tomasz.sowa
5972b2bb39
update uikit to 3.15.22
2023-01-19 23:42:48 +01:00
tomasz.sowa
f182978ea5
update htmx to 1.8.5
2023-01-19 12:49:03 +01:00
tomasz.sowa
ebb8132808
update uikit to 3.15.21
2023-01-12 17:27:09 +01:00
tomasz.sowa
1bd1762258
update uikit to 3.15.20
2023-01-05 20:29:44 +01:00
tomasz.sowa
00b0e251f4
update uikit to 3.15.19
2022-12-28 10:05:03 +01:00
tomasz.sowa
14e32df8c9
fix(Http): use uninitialize_curl() in begin() method
2022-12-23 04:23:38 +01:00
tomasz.sowa
aa938f05ca
add methods to set a client certificate/key and the CA in the Http class
2022-12-21 14:09:31 +01:00
tomasz.sowa
4583ab28ed
add primary keys definition to migration rules
2022-12-19 19:13:45 +01:00
tomasz.sowa
9c0cd6eb5e
add Http::set_ssl_version() to set the available TLS version to use
2022-12-19 14:17:30 +01:00
tomasz.sowa
32c30cf536
update uikit to 3.15.18
2022-12-13 15:10:18 +01:00
tomasz.sowa
a8b7a9e122
update uikit to 3.15.17
2022-12-08 12:26:50 +01:00
tomasz.sowa
d07ff5b881
update uikit to 3.15.15
2022-12-05 06:57:51 +01:00
tomasz.sowa
66fae598c2
parse winixjson_* environment variables as json config options
2022-11-25 13:30:51 +01:00
tomasz.sowa
589e889822
update uikit to 3.15.14
2022-11-24 22:14:55 +01:00
tomasz.sowa
89249f1297
add Http::fetch(...) methods
2022-11-18 16:38:03 +01:00
tomasz.sowa
2bd56c87e4
update uikit to 3.15.13
2022-11-17 23:07:40 +01:00
tomasz.sowa
204688464e
rename Http:put() to Http:post() and add a separate Http:put()
2022-11-17 02:47:00 +01:00
tomasz.sowa
1d0956abab
update to the new pikotools api: change converting functions to the snake case
2022-11-14 03:22:48 +01:00
tomasz.sowa
c2013ff47f
do not use the ezc engine when sending a static file
...
while here:
- in send_file_mode=0 return a 404 if a static file was not correctly read
2022-11-14 00:54:50 +01:00
tomasz.sowa
624bf47c8d
update htmx to 1.8.4
2022-11-07 21:01:18 +01:00
tomasz.sowa
cdd395efa5
update uikit to 3.15.12
2022-11-07 20:54:41 +01:00
tomasz.sowa
47f6e2234c
update htmx to 1.8.2
2022-10-26 12:44:48 +02:00
tomasz.sowa
1648092cd5
update uikit to 3.15.11
2022-10-26 12:33:11 +02:00
tomasz.sowa
99fbf6ca27
add WINIX_STARTED plugin message
2022-10-19 14:26:34 +02:00
tomasz.sowa
f050fc2316
make more virtual functions is BaseThread
2022-10-19 14:26:18 +02:00
tomasz.sowa
1015baf111
make depend
2022-10-17 08:16:45 +02:00
tomasz.sowa
04f0a2f808
add MoveHelper for moving winix files - copied from Mv function
2022-10-17 08:16:28 +02:00
tomasz.sowa
1da240afb9
check notitle parameter in upload winix function
2022-10-17 08:15:27 +02:00
tomasz.sowa
77a00f5989
fix: return a correct status from Dirs::AddDirectory()
2022-10-17 08:13:20 +02:00
tomasz.sowa
f3d6494ae5
add the easepick - a date and time picker
2022-10-14 01:56:44 +02:00
tomasz.sowa
8edd0ef07a
fix: use the base_url as a domain when creating a session cookie if a cookie domain is empty
2022-09-28 19:28:17 +02:00
tomasz.sowa
3855ea9fa7
add /usr/include/postgresql to includes paths
2022-09-23 19:53:26 +02:00
tomasz.sowa
a81839fd9c
make depend
2022-09-23 18:34:08 +02:00
tomasz.sowa
03035f038f
use PT_HAS_MORM_LIBRARY macro when building too
...
while here:
- use some conditionals in the Makefile
2022-09-23 18:34:08 +02:00
tomasz.sowa
baa870edbd
update to uikit 3.15.10
2022-09-22 10:38:31 +02:00
tomasz.sowa
c8bc23312b
update uikit to 3.15.8
2022-09-16 13:29:25 +02:00
tomasz.sowa
d5e6fb7c54
add Access-Control-Expose-Headers to normal cors requests too
2022-09-14 12:48:20 +02:00
tomasz.sowa
6138497fe0
change how origin header is treated
...
Now check whether the origin is in allowed_origins table,
and if not check allow_all_origins config parameter.
While here:
- add are_cors_preflight_requests_available - if true then preflight
requests are available (default false)
2022-09-09 01:01:39 +02:00
tomasz.sowa
05ecac8426
add support for more cookie flags in Request::AddCookie() method
...
changed in config options:
- renamed: http_session_id_name to session_cookie_name
- add config options: session_cookie_path, session_cookie_domain, session_cookie_same_site,
session_cookie_http_only, session_cookie_secure
2022-09-08 05:40:44 +02:00
tomasz.sowa
222a1c8a1f
refactor the algorithm for testing the cors
...
while here:
- send cors headers even if the status is 404
- add: access_control_expose_headers config option - list of additional headers sent in Access-Control-Expose-Headers
- add: access_control_allow_credentials config option - if true return Access-Control-Allow-Credentials header equal "true"
2022-09-08 03:12:44 +02:00
tomasz.sowa
04164ff967
add Access-Control-Allow-Credentials for simple requests too
2022-09-07 15:25:48 +02:00
tomasz.sowa
9f64692ede
set Access-Control-Allow-Credentials if available
2022-09-07 14:46:29 +02:00
tomasz.sowa
8b9ad5d079
make depend
2022-09-01 07:34:39 +02:00
tomasz.sowa
bff435db9a
add WINIX_SAVE_FILELOG plugin message
2022-09-01 07:34:10 +02:00
tomasz.sowa
e09a93bd72
update uikit to 3.15.6
2022-09-01 03:39:02 +02:00
tomasz.sowa
e378fcfe3b
remove not used variables from Request
2022-08-31 21:33:54 +02:00
tomasz.sowa
a7a338f28e
fix(Request): allow to prepare integer headers
2022-08-31 21:25:14 +02:00
tomasz.sowa
a19158cb62
add config options for testing the Origin header in cors requests
...
- allow_all_cors_origins - whether or not to allow all origins
- allowed_cors_origins - a list of allowed origins (used if allow_all_cors_origins is false)
2022-08-31 20:42:42 +02:00
tomasz.sowa
778ed01a55
make depend
2022-08-30 01:52:20 +02:00
tomasz.sowa
217f42b7c6
add support for preflight requ (cors)
2022-08-30 01:52:02 +02:00
tomasz.sowa
a34db6505d
move some methods from App to Request
...
methods moved: SetEnv(), ReadEnvVariables(), ReadEnvRemoteIP(), CheckSSL(), SetSubdomain()
while here:
- add the rest of http methods: put, connect, trace, patch
2022-08-29 19:20:41 +02:00
tomasz.sowa
7dc117da5e
update UIkit to 3.15.5
2022-08-28 16:09:43 +02:00
tomasz.sowa
b1441366f4
add Http::verify_ssl(bool verify) method
2022-08-25 05:16:23 +02:00
tomasz.sowa
c730b85629
make depend
2022-08-22 16:04:10 +02:00
tomasz.sowa
d3a440fa0a
add Request::AddPostVar(pt::Space & space, const wchar_t * name)
2022-08-22 16:03:07 +02:00
tomasz.sowa
5f77ce619e
make depend
2022-08-20 00:31:30 +02:00