[TikiWiki-commits] [Git][tikiwiki/tiki][master] [ENH] Enhance tiki filter

"Elifeleti Mukisa Dan \(@Danelif\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68f5f159a5a57_2c25cc590772a6@gitlab-sidekiq-low-urgency-cpu-bound-v2-57765bf7b5-q9dbm.mail>

Elifeleti Mukisa Dan pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
a80874cd by Espoir Baraka at 2025-10-20T08:08:42+00:00
[ENH] Enhance tiki filter
---
* [ENH] Tiki filter in tiki-newsletters.php

* [ENH] Tiki filter in tiki-newsletter_archives.php

* [ENH] Tiki filter in tiki-login.php

* [ENH] Tiki filter in tiki-login_scr.php

* [ENH] Tiki filter in tiki-live_support_admin.php

* [ENH] Tiki filter in tiki-listpages.php

* [ENH] Tiki filter in tiki-list_trackers.php

* [ENH] Tiki filter in tiki-list_surveys.php

* [ENH] Tiki filter in tiki-list_submissions.php

See merge request tikiwiki/tiki!8818

- - - - -


9 changed files:

- tiki-list_submissions.php
- tiki-list_surveys.php
- tiki-list_trackers.php
- tiki-listpages.php
- tiki-live_support_admin.php
- tiki-login.php
- tiki-login_scr.php
- tiki-newsletter_archives.php
- tiki-newsletters.php


Changes:

=====================================
tiki-list_submissions.php
=====================================
@@ -16,7 +16,7 @@ $inputConfiguration = [
         'approve'                  => 'int',                 //post
         'submit_mult'              => 'string',              //post
         'maxRecords'               => 'int',                 //post
-        'sort_mode'                => 'word',                //get
+        'sort_mode'                => 'alnumdash',           //get
         'offset'                   => 'int',                 //get
         'find'                     => 'string',              //post
         'topic'                    => 'word',                //post


=====================================
tiki-list_surveys.php
=====================================
@@ -12,7 +12,7 @@ $section = 'surveys';
 $inputConfiguration = [
     [
         'staticKeyFilters'         => [
-        'sort_mode'                => 'word',               //post
+        'sort_mode'                => 'alnumdash',          //get
         'offset'                   => 'int',                //get
         'find'                     => 'string',             //post
         ],


=====================================
tiki-list_trackers.php
=====================================
@@ -13,7 +13,7 @@ $inputConfiguration = [
     [
         'staticKeyFilters'         => [
         'trackerId'                => 'int',                //get
-        'sort_mode'                => 'word',               //post
+        'sort_mode'                => 'alnumdash',          //post
         'offset'                   => 'int',                //get
         'find'                     => 'string',             //post
         ],


=====================================
tiki-listpages.php
=====================================
@@ -35,8 +35,8 @@ $inputConfiguration = [
         'listonly'                              => 'bool',               //post
         'exclude_page'                          => 'string',             //post
         'find'                                  => 'string',             //post
-        'offset'                                => 'digits',             //get
-        'sort_mode'                            => 'word',                //get
+        'offset'                                => 'int',                //get
+        'sort_mode'                             => 'alnumdash',          //get
         ],
     ],
 ];


=====================================
tiki-live_support_admin.php
=====================================
@@ -16,6 +16,7 @@ $inputConfiguration = [
         'offline'              => 'bool',               //post
         'removeuser'           => 'username',           //post
         'find_users'           => 'string',             //post
+        'show_html'            => 'alpha',              //get
         ],
     ],
 ];


=====================================
tiki-login.php
=====================================
@@ -29,6 +29,8 @@ $inputConfiguration = [
         'url'                  => 'url',            //post
         'rme'                  => 'bool',           //post
         'ticket'               => 'string',         //post
+        'login_mode'           => 'alpha',          //post
+        'keep_login_box_visible' => 'alpha',        //post
         ],
     ],
 ];


=====================================
tiki-login_scr.php
=====================================
@@ -19,6 +19,8 @@ $inputConfiguration = [
         'twoFactorForm'        => 'string',         //post
         'clearmenucache'       => 'bool',           //post
         'user'                 => 'username',       //post
+        'create2FaCodeNormalLogin' => 'alpha',      //get
+        'tiki_username'        => 'username',       //get
         ],
     ],
 ];


=====================================
tiki-newsletter_archives.php
=====================================
@@ -10,8 +10,8 @@ $inputConfiguration = [
         'nlId'                 => 'int',        //post
         'remove'               => 'int',        //get
         'error'                => 'string',     //post
-        'deleteError'          => 'bool',       //post
-        'ed_sort_mode'         => 'string',     //get
+        'deleteError'          => 'int',        //get
+        'ed_sort_mode'         => 'alnumdash',  //get
         'ed_offset'            => 'digits',     //get
         'ed_find'              => 'string',     //post
         'editionId'            => 'int',        //get


=====================================
tiki-newsletters.php
=====================================
@@ -17,10 +17,11 @@ $inputConfiguration = [
         'nlId'                 => 'int',         //post
         'subscribe'            => 'bool',        //post
         'email'                => 'email',       //post
-        'sort_mode'            => 'string',      //get
+        'sort_mode'            => 'alnumdash',   //get
         'offset'               => 'int',         //get
         'noshowlist'           => 'bool',        //post
         'find'                 => 'string',      //post
+        'info'                 => 'int',         //get
         ],
     ],
 ];



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/a80874cdab38983b08b1351074e39433d3cbe159

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/a80874cdab38983b08b1351074e39433d3cbe159
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.