8a12629740
update htmx to 2.0.2
2024-08-19 15:32:56 +02:00
b07f2f7a59
remove unnecessary [end] tag
2024-08-12 02:25:47 +02:00
da90ef8e40
update uikit to 3.21.7
2024-07-20 15:20:09 +02:00
197f684488
update htmx to 2.0.1
2024-07-20 15:15:03 +02:00
e63838faeb
improve frontend of emacs, ckeditor, tinymce, nicedit, meta and env functions
...
Improves in emacs:
- use htmx to send content to the controller
- show txt and formatted_txt content in the second panel
- show two tabs if "tabs" winix parameter is used
- add an option to show either one or two panels
- correctly resize the editor window (F11) when two panels are shown
Improves in ckeditor:
- use htmx to send content to the controller
- do not check automatically for ckeditor update
Improves in tinymce/nicedit/meta/env:
- use htmx to send content to the controller
while here:
- change PascalCase to snake_case in meta/env controllers
- update CodeMirror editor to 5.65.16
- udpate Showdown (markdown to html converter) to 2.1.0
2024-07-20 15:13:27 +02:00
89b37db48e
update uikit to 3.21.6
2024-07-11 22:10:44 +02:00
68e7f44a76
do not send content when there is a htmx redirect
2024-07-11 21:58:52 +02:00
2490e2cc68
(ezc): generate only requested frames
2024-07-07 22:10:29 +02:00
b2f4c065ea
remove a code to finish job requests when winix exits
...
Actually there was a bug and the code was not correctly waiting for the job requests.
2024-07-02 17:30:35 +02:00
20b40597fd
try harder to find the main template and a function's template
...
If there is no a template (main template and function template) for the current
language then try to find a template for a default language or for a first
available language.
2024-06-29 22:28:39 +02:00
7df78838aa
add assign_methods(...) functionality to the FunctionBase
...
in make_*() methods you can assing your controller methods in such a way:
assign_methods(this,
by_param(L"paramoption", &MyController::MyMethod3),
by_param(L"paramoption1", L"paramoption2", &MyController::MyMethod2),
by_param_post(L"paramoption", L"postoption", &MyController::MyMethod1)
);
2024-06-29 17:23:03 +02:00
b3bd9c6cf0
update htmx to 2.0.0
2024-06-27 16:37:05 +02:00
dadff8329e
update uikit to 3.21.5
2024-06-27 11:46:45 +02:00
c30b7db041
add closing dialogs, redirecting and removing content functionality to the winix framework
...
add such new methods to FunctionBase:
- bool can_push_url_to_browser_history();
- void add_standard_models();
- void close_modal_dialogs();
- void prepare_doc_url(const wchar_t * local_url, pt::WTextStream & url);
- void prepare_doc_url(const wchar_t * local_url, std::wstring & url);
- std::wstring prepare_doc_url(const wchar_t * local_url = nullptr);
- std::wstring prepare_doc_url(const std::wstring & local_url);
- void redirect_to(const wchar_t * url, bool append_domain = true);
- void redirect_to(const std::wstring & url, bool append_domain = true);
- void redirect_to(const pt::WTextStream & url, bool append_domain = true);
- void redirect_to(const wchar_t * url, const wchar_t * frame_url, const wchar_t * dom_target);
- void redirect_to(const std::wstring & url, const std::wstring & frame_url, const std::wstring & dom_target);
- void redirect_to(pt::WTextStream & url, pt::WTextStream & frame_url, pt::WTextStream & dom_target);
- void redirect_to(pt::WTextStream & url, pt::WTextStream & frame_url, const wchar_t * dom_target);
- void redirect_to(const wchar_t * url, const wchar_t * frame_url, pt::WTextStream & dom_target);
- void retarged(const wchar_t * frame, const wchar_t * dom_target, const wchar_t * push_url = nullptr, const wchar_t * swap_algorithm = nullptr);
- void retarged(const std::wstring & frame, const std::wstring & dom_target, const std::wstring & push_url, const wchar_t * swap_algorithm = nullptr);
- void retarged(const wchar_t * frame, pt::WTextStream & dom_target, const wchar_t * push_url = nullptr, const wchar_t * swap_algorithm = nullptr);
- void remove_content(pt::WTextStream & dom_target, bool close_dialogs = false);
- void remove_content(const wchar_t * dom_target, bool has_postfix, long dom_target_postfix, bool close_dialogs = false);
- void remove_content(const wchar_t * dom_target, long dom_target_postfix, bool close_dialogs = false);
- void remove_content(const wchar_t * dom_target, bool close_dialogs = false);
- void update_content(const wchar_t * frame, pt::WTextStream & dom_target, bool close_dialogs = false);
- void update_content(const wchar_t * frame, const wchar_t * dom_target, bool has_postfix, long dom_target_postfix, bool close_dialogs = false);
- void update_content(const wchar_t * frame, const wchar_t * dom_target, long dom_target_postfix, bool close_dialogs = false);
- void update_content(const wchar_t * frame, const wchar_t * dom_target, bool close_dialogs = false);
while here:
- refactor PascalCase to snake_case in FunctionBase
- add start_request() and finish_request() methods to FunctionBase
- add has_*_access() methods to FunctionBase
- fix: FunctionBase::clear() method was not called if a request was assigned to a job
- add a WinixEzcHelper model
- allow to serialize a header if the header value is neither a string nor an integer
- refactor PascalCase to snake_case in functions: Emacs, Mkdir, Upload
2024-06-27 10:57:08 +02:00
6aa100f12c
WIP: remove the old database abstraction layer
...
remove such classes:
- DbBase
- DbConn
- DbTextStream
- Db
while here:
- remove: TextStream, SLog, TexTextStream
2024-06-22 18:03:54 +02:00
5d457f3d4b
(update to the new pikotools api): use a char32_t character as a main character when converting strings
...
Use a char32_t instead of a wchar_t type. This is needed on systems
where sizeof(wchar_t) is equal to 2.
This affects classes based on the pt::Stream such as Log and HtmlTextStream.
2024-06-01 00:33:15 +02:00
af0d34beb9
make depend
2024-05-31 00:32:56 +02:00
d122917f83
fix: correctly activate a user account
2024-05-27 18:22:47 +02:00
612501217c
update uikit to 3.20.9
2024-05-12 16:16:56 +02:00
d86ab8f9c0
update uikit to 3.20.8
2024-04-29 23:59:30 +02:00
5a33563722
update htmx to 1.9.12
2024-04-28 19:45:16 +02:00
1c850b12ec
add a q_encode(...) method to misc
2024-04-28 16:14:57 +02:00
140b4495df
update jquery-file-upload to 10.32.0
2024-04-15 08:20:02 +02:00
8b0b25ed0a
fix: correctly flush logs when there was a db migration error
2024-04-15 06:38:23 +02:00
eacdcfb980
update htmx to 3.19.4
2024-04-11 05:52:09 +02:00
132e7aa937
update htmx to 1.9.11
2024-03-20 03:15:05 +01:00
d9f3b69dde
update uikit to 3.19.2
2024-03-20 03:07:17 +01:00
de753070a8
do not overwrite WINIX_INSTALL_DIR if already set
2024-03-11 16:59:45 +01:00
c1c6e6a588
install winix.so to a lib subdirectory
2024-03-11 16:12:13 +01:00
291147503f
update uikit to 3.19.1
2024-03-08 22:34:42 +01:00
dbf7dfab82
improve the startup help messages
2024-03-08 22:01:33 +01:00
b753464608
add some operators to the Log class
...
add:
virtual Log & operator<<(long double);
virtual Log & operator<<(float);
virtual Log & operator<<(long long unsigned int);
virtual Log & operator<<(unsigned int);
virtual Log & operator<<(short unsigned int);
virtual Log & operator<<(long long int);
virtual Log & operator<<(short int);
virtual Log & operator<<(bool);
virtual Log & operator<<(unsigned char);
virtual Log & operator<<(const pt::Stream &);
2024-02-13 22:29:22 +01:00
544ef298aa
update uikit to 3.18.3
2024-02-13 18:54:41 +01:00
065a2d182f
update htmx to 1.9.10
2024-01-16 23:17:14 +01:00
f4470ccbe7
allow to not set the res value from a plugin function
...
Add PluginInfo::has_res (bool, default true). If set to false by a plugin function
then the PluginInfo::res value is not taken into account when calculating how many plugins
have returned true or false.
2024-01-04 15:57:29 +01:00
71ad4869ce
fix: take into account hours when calculating a relative timezone dst
2023-12-27 16:25:54 +01:00
09dc6782c8
fix: remember the first/last weekday flags from a timezone DST
...
If a date is given in a relative form with first/last parameters,
we must remember them in order to select the appropriate day
of the week from the appropriate year.
2023-12-24 14:55:39 +01:00
0cebb2dc52
allow to use a first|last weekday name when defining a timezone dst
...
the format of a 'start' or 'end' field in a dst is:
MM-[first|last]:[monday|tuesday|wednesday|thursday|friday|saturday|sunday] HH:MM:SS
or just as beforehand: MM-DD HH:MM:SS
a sample timezone:
{
name = "tz_+01:00d"
id = "40"
offset_str = "+01:00"
dst = (
{
year = "2001"
has_dst = true
offset_str = "+01:00"
start = "03-last-sunday 01:00"
end = "10-last-sunday 01:00"
}
) # end of dst
}
2023-12-20 03:58:21 +01:00
0724ca8eb3
update htmx to 1.9.9
2023-12-02 10:45:44 +01:00
53991e54e1
update uikit to 3.17.11
2023-11-21 18:59:51 +01:00
df7ae1c6ea
update uikit to 3.17.9
2023-11-16 23:10:51 +01:00
d1f5d9aa88
(winixcli): add a --sort-tables option
...
while here:
- add a fil_max_size filter for putting a space if the inner stream is greater than x characters
2023-11-09 10:57:11 +01:00
a54d70bed4
add a 422 Header status - Unprocessable Entity
2023-11-08 17:59:40 +01:00
bcde5c628a
update uikit to 3.17.8
2023-11-07 03:56:45 +01:00
f241eb0a18
update htmx to 1.9.7
2023-11-06 04:43:20 +01:00
74c0c936f6
make depend
2023-11-02 05:15:30 +01:00
79babc916a
add a Request::raw_post buffer
...
This buffer is used when a Function::NeedToCopyRawPost() method returned true.
while here:
- remove WINIX_POST_PARAMS and WINIX_RAW_POST_STRING plugin messages
2023-11-02 05:14:48 +01:00
a08bf9f804
update uikit to 3.17.5
2023-10-24 21:36:25 +02:00
966577cd58
add QT Creator files to .gitignore
2023-10-22 23:38:38 +02:00
8f20c8f67c
update uikit to 3.17.1
2023-10-10 13:42:49 +02:00