35cb54324f
added a new item content type: markdown - emacs editor has an option to select markdown, now it has two planes: one for content editing and the other to show preview - CodeMirror editor updated to 5.64.0 - to convert markdown to html we use showdown https://github.com/showdownjs/showdown (conversion is done on the client side)
Tomasz Sowa2021-11-26 21:49:21 +01:00
119497bb01
added winix_frame_is ezc winix function
Tomasz Sowa2021-10-24 22:27:52 +02:00
a327a26bd5
added winix_uikit_version parameter to index_head_adder.html
Tomasz Sowa2021-10-13 23:48:30 +02:00
d5ebb7ca12
changed the way how the request's answer is created, now winix can return json, xml, csv from out_main_stream or from frames and json from models
Tomasz Sowa2021-10-13 01:27:14 +02:00
9c5c74ba84
added: setting a correct mime type for static files - using magic library added: std::wstring file_mime_type to ItemContent - a mime type for static file added: Header (core/header.h) - there will be header names defined, at the moment only content_type added: FuncionsBase::Finish() - it is called at the end when the winix finishes
Tomasz Sowa2021-09-22 00:23:25 +02:00
26ed7b80be
changed values for send_file_mode config parameter: 0 - winix will read the content of the file and send it back to the webserver 1 - winix will use send_file_header header with a full path to the file 2 - winix will use send_file_header header with a relative path to the file
Tomasz Sowa2021-09-17 03:35:56 +02:00
55ac9a61ed
added possibility to send static files to nginx via X-Accel-Redirect header added to config: int send_file_mode; // 0 - full path to a file in send_file_header header // 1 - relative path to a file in send_file_header (need http_send_file_relative_prefix set) (used for nginx) std::wstring send_file_header; // default: X-SENDFILE // for Apache set: X-SENDFILE // for Lighttpd set: X-LIGHTTPD-send-file // for Nginx set: X-Accel-Redirect std::wstring send_file_relative_prefix; // relative prefix used for sending static files if send_file_mode is 1 // default: "upload-files-internal"
Tomasz Sowa2021-09-15 20:28:34 +02:00
b424988d1b
updated to the new pikotools api (api2021): HTMLFilter renamed to HTMLParser added to config: int html_filter_white_char_mode; how white characters between html tags are treated 0 - WHITE_MODE_ORIGIN - they are copied from input to output 1 - WHITE_MODE_SINGLE_LINE - new line characters are removed 2 - WHITE_MODE_TREE - try to create a tree (some kind of pretty printing) default: 2
Tomasz Sowa2021-08-07 02:16:48 +02:00
22134b6cc0
commented some method calls to html_filter
Tomasz Sowa2021-07-26 03:54:02 +02:00
9dc15d536c
Makefile: removed macros: EZC_GENERATOR_HAS_PT_STREAM and EZC_GENERATOR_HAS_WINIX_STREAM
Tomasz Sowa2021-07-13 01:49:58 +02:00
2e45cb6ac9
updated to the new ezc api (Generator has three additional parameters now)
Tomasz Sowa2021-07-13 01:46:07 +02:00
2dcfeaa688
fixed: in Item do_migration_to_3(...) admin meta was called admin_meta (not meta_admin)
Tomasz Sowa2021-07-07 01:04:48 +02:00
9d65d931d0
moved some ezc functions from templates/item.cpp to Item and ItemContent removed: templates/item.cpp updated: some html templates which use [item] or [item_tab] removed some old html templates: item_info.html and itam_tab_info.html
Tomasz Sowa2021-07-06 21:52:29 +02:00
746aa41111
renamed: ItemContent::meta_admin -> ItemContent::admin_meta
Tomasz Sowa2021-07-03 01:18:28 +02:00
175dd17416
added request.last_item ezc function
Tomasz Sowa2021-07-03 01:14:53 +02:00
732144df01
updated to the new morm api - models methods which take 'morm::ModelWrapper ** model_wrapper' now take 'morm::Wrapper & wrapper'
Tomasz Sowa2021-07-01 23:34:49 +02:00
df3f04a951
added to misc: timespec_to_stream_with_unit() for printing times either is seconds or miliseconds
Tomasz Sowa2021-06-30 16:30:11 +02:00
0f78968579
updated ticket plugin to the new ezc api (child spaces were removed)
Tomasz Sowa2021-06-29 23:42:57 +02:00
66173c7a31
removed old meta ezc functions from gallery plugin
Tomasz Sowa2021-06-28 21:34:41 +02:00
3f934d9aec
removed old meta ezc functions from menu plugin
Tomasz Sowa2021-06-28 21:34:22 +02:00
df0cc131fe
fixed in thread winix function: answers were not sorted correctly
Tomasz Sowa2021-06-28 21:33:33 +02:00
ba60f9da8a
updated group plugin to the new pikotools api (child spaces were removed)
Tomasz Sowa2021-06-28 20:58:39 +02:00
4569198b9d
fixed in index_head_adder.html: winix_function_is "emacs" should be in parentheses
Tomasz Sowa2021-06-27 23:43:01 +02:00