]> saetta.ns0.it Git - libzakcgi/log
libzakcgi
9 years agoAdded ZakCgiFormValidatorRegex. form
Andrea Zagli [Thu, 8 Oct 2015 22:39:56 +0000 (00:39 +0200)]
Added ZakCgiFormValidatorRegex.

9 years agoAdded and implemented ZakCgiFormElementIValidator.
Andrea Zagli [Thu, 8 Oct 2015 22:25:23 +0000 (00:25 +0200)]
Added and implemented ZakCgiFormElementIValidator.

9 years agoImplemented filtering on ZakCgiForm.
Andrea Zagli [Thu, 8 Oct 2015 20:49:00 +0000 (22:49 +0200)]
Implemented filtering on ZakCgiForm.

9 years agoAdded ZakCgiFormElementFilterTrim.
Andrea Zagli [Mon, 5 Oct 2015 17:42:56 +0000 (19:42 +0200)]
Added ZakCgiFormElementFilterTrim.

9 years agoAdded ZakCgiFormElementIFilter.
Andrea Zagli [Mon, 5 Oct 2015 15:24:13 +0000 (17:24 +0200)]
Added ZakCgiFormElementIFilter.

9 years agoIn ZakCgiForm replace internal GHashTable with GPtrArray.
Andrea Zagli [Mon, 14 Sep 2015 16:47:12 +0000 (18:47 +0200)]
In ZakCgiForm replace internal GHashTable with GPtrArray.

Because GHashTable doesn't respect the inserting order.

9 years agoForm in Bootstrap style.
Andrea Zagli [Mon, 14 Sep 2015 16:07:14 +0000 (18:07 +0200)]
Form in Bootstrap style.

9 years agoAdded ZakCgiFormElementSelect.
Andrea Zagli [Sun, 13 Sep 2015 10:07:42 +0000 (12:07 +0200)]
Added ZakCgiFormElementSelect.

9 years agoAdded ZakCgiFormElementTextArea.
Andrea Zagli [Sat, 12 Sep 2015 11:06:21 +0000 (13:06 +0200)]
Added ZakCgiFormElementTextArea.

9 years agoAdded ZakCgiFormElementHidden.
Andrea Zagli [Sat, 12 Sep 2015 10:40:12 +0000 (12:40 +0200)]
Added ZakCgiFormElementHidden.

9 years agoAdded ZakCgiFormElementCheck.
Andrea Zagli [Sat, 12 Sep 2015 10:36:09 +0000 (12:36 +0200)]
Added ZakCgiFormElementCheck.

9 years agoAdded ZakCgiFormElementPassword.
Andrea Zagli [Sat, 12 Sep 2015 10:15:23 +0000 (12:15 +0200)]
Added ZakCgiFormElementPassword.

9 years agoAdded ZakCgiFormElement::set_label.
Andrea Zagli [Sat, 12 Sep 2015 09:57:09 +0000 (11:57 +0200)]
Added ZakCgiFormElement::set_label.

Changed content special attribute in zak-cgi-content for tags.

9 years agoAdded function Form::is_valid.
Andrea Zagli [Sat, 29 Aug 2015 10:36:19 +0000 (12:36 +0200)]
Added function Form::is_valid.

9 years agoAdded function ZakCgiForm::bind.
Andrea Zagli [Sat, 29 Aug 2015 09:46:30 +0000 (11:46 +0200)]
Added function ZakCgiForm::bind.

9 years agoAdded ZakCgiForm::add_str.
Andrea Zagli [Wed, 26 Aug 2015 16:21:48 +0000 (18:21 +0200)]
Added ZakCgiForm::add_str.

9 years agoAdded ZakCgiFormElementSubmit.
Andrea Zagli [Wed, 26 Aug 2015 15:54:44 +0000 (17:54 +0200)]
Added ZakCgiFormElementSubmit.

9 years agoAdded Form::render_start.
Andrea Zagli [Wed, 26 Aug 2015 15:40:23 +0000 (17:40 +0200)]
Added Form::render_start.

9 years agoForm: rendering of attributes.
Andrea Zagli [Wed, 26 Aug 2015 15:33:08 +0000 (17:33 +0200)]
Form: rendering of attributes.

Added ZakCgiCommons::ghashtable_to_str_attrs.

9 years agoForm: started rendering.
Andrea Zagli [Wed, 26 Aug 2015 13:35:30 +0000 (15:35 +0200)]
Form: started rendering.

9 years agoMerge branch 'develop' into form
Andrea Zagli [Mon, 24 Aug 2015 19:05:02 +0000 (21:05 +0200)]
Merge branch 'develop' into form

9 years agoAdded functions ZakCgiTag::*_ht.
Andrea Zagli [Mon, 24 Aug 2015 18:57:26 +0000 (20:57 +0200)]
Added functions ZakCgiTag::*_ht.

9 years agoForm: use of ZakCgiCommons.
Andrea Zagli [Mon, 24 Aug 2015 17:43:31 +0000 (19:43 +0200)]
Form: use of ZakCgiCommons.

9 years agoMerged develop branch.
Andrea Zagli [Mon, 24 Aug 2015 17:38:34 +0000 (19:38 +0200)]
Merged develop branch.

9 years agoMoved function ZakCgiTag::valist_to_ghashtable in ZakCgiCommons.
Andrea Zagli [Mon, 24 Aug 2015 17:36:28 +0000 (19:36 +0200)]
Moved function ZakCgiTag::valist_to_ghashtable in ZakCgiCommons.

9 years agoChanged private ZakCgiTag::valist_to_gptrarray in ::valist_to_ghashtable.
Andrea Zagli [Mon, 24 Aug 2015 17:30:56 +0000 (19:30 +0200)]
Changed private ZakCgiTag::valist_to_gptrarray in ::valist_to_ghashtable.

9 years agoAdded functions Form::add_element and FormElement::get_id.
Andrea Zagli [Mon, 24 Aug 2015 17:10:03 +0000 (19:10 +0200)]
Added functions Form::add_element and FormElement::get_id.

9 years agoForm: saved element attributes as hash table.
Andrea Zagli [Mon, 24 Aug 2015 16:59:44 +0000 (18:59 +0200)]
Form: saved element attributes as hash table.

9 years agoAdded FormElementText.
Andrea Zagli [Sun, 2 Aug 2015 09:09:12 +0000 (11:09 +0200)]
Added FormElementText.

9 years agoStarted form implementation.
Andrea Zagli [Sun, 2 Aug 2015 08:00:18 +0000 (10:00 +0200)]
Started form implementation.

9 years agoDeprecated GHashTable (refs #962).
Andrea Zagli [Sun, 9 Aug 2015 09:21:59 +0000 (11:21 +0200)]
Deprecated GHashTable (refs #962).

9 years agoSome functions declared as deprecated. no_hash_table
Andrea Zagli [Sun, 9 Aug 2015 09:13:51 +0000 (11:13 +0200)]
Some functions declared as deprecated.

9 years agoAdded ZakCgiMain::get_stdin_field and ::stdin_foreach (refs #962).
Andrea Zagli [Sun, 9 Aug 2015 09:02:48 +0000 (11:02 +0200)]
Added ZakCgiMain::get_stdin_field and ::stdin_foreach (refs #962).

9 years agoAdded ZakCgiMain::get_parameter and ::parameters_foreach (refs #962).
Andrea Zagli [Sun, 9 Aug 2015 08:37:42 +0000 (10:37 +0200)]
Added ZakCgiMain::get_parameter and ::parameters_foreach (refs #962).

9 years agoAdded ZakCgiMain::get_cookie and :cookes_foreach (refs #962).
Andrea Zagli [Sun, 9 Aug 2015 06:55:52 +0000 (08:55 +0200)]
Added ZakCgiMain::get_cookie and :cookes_foreach (refs #962).

9 years agoZakCgiMain::get_cookies now returns GValue.
Andrea Zagli [Sun, 9 Aug 2015 06:35:37 +0000 (08:35 +0200)]
ZakCgiMain::get_cookies now returns GValue.

9 years agoAdded ZakCgiMain::get_env_field and ::env_foreach (refs #962).
Andrea Zagli [Sun, 9 Aug 2015 06:30:25 +0000 (08:30 +0200)]
Added ZakCgiMain::get_env_field and ::env_foreach (refs #962).

9 years agoZakCgiMain::get_env now returns GValue (closes #939).
Andrea Zagli [Sat, 8 Aug 2015 15:33:17 +0000 (17:33 +0200)]
ZakCgiMain::get_env now returns GValue (closes #939).

9 years agoZakCgiMain::get_parameters didn't return if already called (closes #960). v0.0.1
Andrea Zagli [Sat, 8 Aug 2015 07:33:28 +0000 (09:33 +0200)]
ZakCgiMain::get_parameters didn't return if already called (closes #960).

9 years agoSession: now expires after 5 minutes of inactivity or if from different ip (closes...
Andrea Zagli [Sat, 1 Aug 2015 15:43:42 +0000 (17:43 +0200)]
Session: now expires after 5 minutes of inactivity or if from different ip (closes #950).

9 years agoAdded ZakCgiSession::close.
Andrea Zagli [Sat, 1 Aug 2015 13:20:31 +0000 (15:20 +0200)]
Added ZakCgiSession::close.

Saved REMOTE_ADDR and timestamp on session creation (refs #950).

9 years agoAdded query string deconding (from libsoup) (closes #953).
Andrea Zagli [Sat, 1 Aug 2015 08:19:24 +0000 (10:19 +0200)]
Added query string deconding (from libsoup) (closes #953).

9 years agoBugfix in Session::get_header: ZakCgiMain::get_env returns string and not gvalue...
Andrea Zagli [Wed, 29 Jul 2015 14:40:34 +0000 (16:40 +0200)]
Bugfix in Session::get_header: ZakCgiMain::get_env returns string and not gvalue (closes #952).

9 years agoZakCgiMain::set_cookie setted up only name, value and expires (closes #951).
Andrea Zagli [Wed, 29 Jul 2015 14:31:30 +0000 (16:31 +0200)]
ZakCgiMain::set_cookie setted up only name, value and expires (closes #951).

9 years agoAdded a script to debug.
Andrea Zagli [Wed, 29 Jul 2015 14:13:14 +0000 (16:13 +0200)]
Added a script to debug.

9 years agoRedirect now works with relative urls (not with domain) (closes #942).
Andrea Zagli [Wed, 29 Jul 2015 14:12:41 +0000 (16:12 +0200)]
Redirect now works with relative urls (not with domain) (closes #942).

9 years agoSesssion: added path where to save session files (closes #944).
Andrea Zagli [Tue, 28 Jul 2015 19:57:56 +0000 (21:57 +0200)]
Sesssion: added path where to save session files (closes #944).

9 years agoSession cookie is now create with path base_uri or CONTEXT_PREFIX (closes #949).
Andrea Zagli [Tue, 28 Jul 2015 19:53:21 +0000 (21:53 +0200)]
Session cookie is now create with path base_uri or CONTEXT_PREFIX (closes #949).

9 years agoZakCgiTag: now id can be null.
Andrea Zagli [Mon, 27 Jul 2015 19:26:07 +0000 (21:26 +0200)]
ZakCgiTag: now id can be null.

Added a sample how to make a select element with options.

9 years agoAdded ZakCgiTag::submit (refs #945).
Andrea Zagli [Mon, 27 Jul 2015 19:18:38 +0000 (21:18 +0200)]
Added ZakCgiTag::submit (refs #945).

9 years agoAdded ZakCgiTag::text and ::file (refs #945).
Andrea Zagli [Mon, 27 Jul 2015 19:09:07 +0000 (21:09 +0200)]
Added ZakCgiTag::text and ::file (refs #945).

9 years agoAdded ZakCgiTag::img (refs #945).
Andrea Zagli [Mon, 27 Jul 2015 16:08:44 +0000 (18:08 +0200)]
Added ZakCgiTag::img (refs #945).

9 years agoAdded ZakCgiTag::tag (refs #945).
Andrea Zagli [Mon, 27 Jul 2015 16:04:32 +0000 (18:04 +0200)]
Added ZakCgiTag::tag (refs #945).

9 years agoAdded function ZakCgiMain::is_request_method.
Andrea Zagli [Sun, 26 Jul 2015 09:20:51 +0000 (11:20 +0200)]
Added function ZakCgiMain::is_request_method.

9 years agoAdded functions ZakCgiMain::isGet and ::isPost (closes #946).
Andrea Zagli [Sun, 26 Jul 2015 09:15:57 +0000 (11:15 +0200)]
Added functions ZakCgiMain::isGet and ::isPost (closes #946).

9 years agoZakCgi::parse_stdin now supports variables with multiple values (closes #943).
Andrea Zagli [Sun, 26 Jul 2015 09:03:08 +0000 (11:03 +0200)]
ZakCgi::parse_stdin now supports variables with multiple values (closes #943).

9 years agoAdded struct ZakCgiFile for file upload.
Andrea Zagli [Sun, 26 Jul 2015 06:21:50 +0000 (08:21 +0200)]
Added struct ZakCgiFile for file upload.

9 years agoZakCgiMain::get_parameters now support variables with multiple values (refs #943).
Andrea Zagli [Thu, 23 Jul 2015 20:05:03 +0000 (22:05 +0200)]
ZakCgiMain::get_parameters now support variables with multiple values (refs #943).

9 years agoUrl: ::connect with variable number of arguments using regex (closes #937).
Andrea Zagli [Wed, 22 Jul 2015 18:51:58 +0000 (20:51 +0200)]
Url: ::connect with variable number of arguments using regex (closes #937).

9 years agoMissing dependencies version.
Andrea Zagli [Tue, 7 Jul 2015 16:12:24 +0000 (18:12 +0200)]
Missing dependencies version.

9 years agoEnabled caching operations.
Andrea Zagli [Tue, 7 Jul 2015 16:06:59 +0000 (18:06 +0200)]
Enabled caching operations.

9 years agoMissing header in libzakcgi.h.
Andrea Zagli [Tue, 30 Jun 2015 08:59:17 +0000 (10:59 +0200)]
Missing header in libzakcgi.h.

9 years agoImplemented ZakCgiUrl (routing).
Andrea Zagli [Mon, 29 Jun 2015 20:43:38 +0000 (22:43 +0200)]
Implemented ZakCgiUrl (routing).

Only controller and action.

9 years agoZakCgiMain::parse_stdin now works also with non-data form.
Andrea Zagli [Mon, 29 Jun 2015 09:34:02 +0000 (11:34 +0200)]
ZakCgiMain::parse_stdin now works also with non-data form.

9 years agoIf boundary in ZakCgiMain::parse_stdin, it tries to find it on envirenment.
Andrea Zagli [Mon, 29 Jun 2015 08:11:50 +0000 (10:11 +0200)]
If boundary in ZakCgiMain::parse_stdin, it tries to find it on envirenment.

9 years agoImplemented session.
Andrea Zagli [Sat, 27 Jun 2015 13:05:26 +0000 (15:05 +0200)]
Implemented session.

9 years agoAdded functions ZakMain::get_cookies, ::dump_cookies and ::set:cookie.
Andrea Zagli [Sat, 27 Jun 2015 09:23:53 +0000 (11:23 +0200)]
Added functions ZakMain::get_cookies, ::dump_cookies and ::set:cookie.

9 years agoAdded function ZakCgiMain::redirect.
Andrea Zagli [Sat, 27 Jun 2015 07:36:35 +0000 (09:36 +0200)]
Added function ZakCgiMain::redirect.

9 years agoRedid ZakCgiMain::parse_stdin: now works also with binary files.
Andrea Zagli [Sun, 21 Jun 2015 17:43:21 +0000 (19:43 +0200)]
Redid ZakCgiMain::parse_stdin: now works also with binary files.

9 years agoAdded function ZakCgiMain::parse_stdin (works only with text attachments).
Andrea Zagli [Sat, 20 Jun 2015 19:05:09 +0000 (21:05 +0200)]
Added function ZakCgiMain::parse_stdin (works only with text attachments).

9 years agoUse of GIO for ZakCgi::get_stdin.
Andrea Zagli [Sat, 20 Jun 2015 11:53:01 +0000 (13:53 +0200)]
Use of GIO for ZakCgi::get_stdin.

9 years agoAdded function ZakMain::get_stdin.
Andrea Zagli [Sat, 20 Jun 2015 10:39:19 +0000 (12:39 +0200)]
Added function ZakMain::get_stdin.

9 years agoAdded function ZakCgiMain::get_parameters.
Andrea Zagli [Mon, 15 Jun 2015 20:14:16 +0000 (22:14 +0200)]
Added function ZakCgiMain::get_parameters.

9 years agoAdded functions ZakCgiMain::out, ::get_env and ::dump_env.
Andrea Zagli [Mon, 15 Jun 2015 19:54:26 +0000 (21:54 +0200)]
Added functions ZakCgiMain::out, ::get_env and ::dump_env.

9 years agoEmpty class files.
Andrea Zagli [Mon, 15 Jun 2015 16:37:13 +0000 (18:37 +0200)]
Empty class files.

9 years agoInitial import.
Andrea Zagli [Mon, 15 Jun 2015 15:10:12 +0000 (17:10 +0200)]
Initial import.