Loading...
 
Skip to main content

Category: 21.x

21.x
Show subcategories objects

Name Type
Tracker Files field does not work when "Upload In Modal" is disabled.
When we set the "ok" field to "n", it produces an error when uploading files.
{img fileId="1433" thumb="box"}
tracker item
tracker item display broken (like wsod after some lines of the tracker item)
Tested using the "Work_Custom_Pricing" Profile.

See this:
http://xavi-9794-7124.show2.tikiwiki.org/tiki-view_tracker.php?trackerId=2
or
http://xavi-9794-7124.show2.tikiwiki.org/tiki-view_tracker.php?trackerId=3

u: admin
p: 12345

Compare to:
http://xavi-9794-7124.show2.tikiwiki.org/tiki-view_tracker.php?trackerId=1

Why the display is broken and no css is shown there? (it reminds me of cases where php memory was exhausted, even if this is a pretty simple use case in a fairly standard ubuntu 18.04 server which should have 128Mb at least to start with, if not 256Mb )

Re: Related to "PPM" (keyword for Marc)
tracker item
Tracker Rules
We often need a way to do conditional things in tracker forms, like show or hide fields depending on the user's input, or require validation on some fields depending on the state of others.

So this is to start a discussion about how this should be implemented, should it be a new field type? Or a function of the tracker plugin (which needs significant tidying up) or what?

So they should look something like:

* Category field
** If Category contains "bug" then
*** Show Workaround and Solution fields
*** Make Importance and Easy To Solve required
tracker item
Tracker with field type "Numeric" won't
When a tracker has a "Numeric Field" Type, and the "Title" box is checked, it WILL NOT show up as a link when listing tracker Items or when using PluginTrackerlist.
tracker item
Trackers: Add 2nd, 3rd sort option
When you create trackers with lots of entries (like cataloging newspaper articles) you will soon find that Tiki's sorting options are far (!) too limited. There is just one sorting option. A second is implied, but undocumented (either it's creation date or it is ID, could not find out).

It would be a significant improvement (and VERY easy to create in SQL) if a second and third sort option could be integrated just like the first one: Select field, select order.

These should be hierarchical, so all elements should first be sorted by option 1, and within all results sorting should be by option 2.

So for the newspaper archive example: First sort by category/department/column (alphabetically ascending), and within that by page number (numerically ascending), and on page number by title (alphabetically ascending). Just like Excel does.

These must be three separate options with both field and order selection, do not make it a multiselect, because you might want to have differing sort orders for separate fields...
tracker item
Trackers: Attachment field type does not work
When you add the attachment field to the other fields of the Tracker, when creating the item, it produces an error:
{img fileId="1356" thumb="box"}
tracker item
Two-factor Authentication (2FA) enhancements
In {gitlab id=06432228} 2FA arrived in Tiki for ((doc:Tiki21)) but there are a couple of improvements that would be nice to have for 21.0 (:mrgreen:)

* When i enabled it on [https://example.com/tiki-user_preferences.php#contentmytiki_user_preference-3|my user preferences] and then revealed the QR code (which i think it should show automatically) there's no input to enter a code to confirm it's working, which most sites using 2FA let you do.
*-- Then when i logged out and then went to log back in, i think that login form should have the 2FA input on it, rather than link to a new form (please)-- There is a param on the login box module called show_two_factor_auth - set it to "y" to enable, thanks!
* Also a question: Is it compatible with ((doc:InterTiki))? If so i'll enable it on [https://tiki.org] for extra dogfood! ?

Mainly thanks!
tracker item
Typos in /lib/prefs/short.php and users.php prohibit displaying help text
There is a typo in /lib/prefs/short.php which makes displaying the help texts impossible, and it is carried on (through copy&paste by the dev).

Look at these code snippets:
{CODE(Colors="Tiki")}
function prefs_short_list()
{
return [
'short_date_format' => [
'name' => tra('Short date format'),
'descriprion' => tra('Specify how Tiki displays the date (shorter version)'),
.....
'descriprion' => tra('Specify how Tiki displays the time (shorter version)'),
{CODE}

The error is in lines 13 and 23: "descprion" should read "description"... This results in help texts that contain a heading (contained in 'name'), but no text...

This affects ''all'' languages, including English...
tracker item
Umbrella bug report for new missing tra() bugs
Because I keep finding bugs where translation is impossible due to missing tra(), tr() or tr in curly braces, I opened this new umbrella bug report.

Here I will add only newly found bugs, I will not integrate the already existing bug reports into this!

/lib/prefs/calendar.php has this on line 78:

{CODE(Colors="Tiki")}
'description' => 'Interval to show between minutes on time selectors',
{CODE}

Without tra(), the description cannot be translated into any language...
tracker item
Unable to Detach Geo Location from Wiki Page, Article, Blog
Using the native Geolocation feature for Articles, Wiki Pages, Blogs, etc, once a geolocation is assigned, using edit properties, you can change the location, but you cannot detach a location. Sometimes, a location may be accidentally added, but one should not be a part of that page.

In my case, I have wiki page templates, I accidentally assigned that template a location, and now the template shows up on my map. There is no way to detach the geolocation from a page, article or blog.

Tried to create a Show Instance, but it's not working.
tracker item
Undefined variable: useCache when importing files using the console
I batch import files in Tiki files gallery for a year now.

{CODE()}php console.php files:batchupload 5 --subdirToSubgal --createSubgals --confirm{CODE}

6 month ago I started to see a new warning when importing files.
I have A LOT like this, look to me one per file.

{CODE()}
Undefined variable: useCache on line 1321 of /var/www/virtual/xxx.fr/html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1325 of /var/www/virtual/xxx.fr/html/lib/filegals/filegallib.php
Undefined variable: useCache on line 1330 of /var/www/virtual/xxx.fr/html/lib/filegals/filegallib.php
{CODE}
tracker item
Undefined variable: useCache when using console.php batch upload command
From within a shell script I run:
php ../html/console.php files:batchupload 5 --subdirToSubgal --createSubgals --confirm

It work fine (subdir are created and file imported accordingly.
However I got a bunch of notices. (I guess one for each file)

{CODE()}
PHP Notice: Undefined variable: useCache in /var/www/virtual/elyseavenue-paris15.fr/html/lib/filegals/filegallib.php on line 1313
PHP Notice: Undefined variable: useCache in /var/www/virtual/elyseavenue-paris15.fr/html/lib/filegals/filegallib.php on line 1317
PHP Notice: Undefined variable: useCache in /var/www/virtual/elyseavenue-paris15.fr/html/lib/filegals/filegallib.php on line 1322
PHP Notice: Undefined variable: useCache in /var/www/virtual/elyseavenue-paris15.fr/html/lib/filegals/filegallib.php on line 1313
.../...
{CODE}
tracker item
Please update German localization
I see no other mechanism for proposing corrected localization files, so I post it as a feature request to I18N. While I am still deep into the main body of translation (so far I made > 2060 corrections and additions, and custom.php has grown to 1/4 the size of language.php, 231 kbytes, I have seen that there is a smaller file, language.js, that contains some spelling errors (old German spelling which is outdated since 1996, the big official reform of German spelling) and IMHO a wrong language level (addressing the user in the second person, using imperative). And since language.js is a lot smaller, I finished this one and hereby propose it to be included in future versions. This file was writen on Tiki 18.6.
Thanks
hman
tracker item
Update Tracker Field Types Page
The page describing tracker fields hasn't been updated since Tiki 9.x, so several types are missing.

So either manually update ((Tracker Field Types)), or (even better) write a small wiki plugin to automatically generate that list.
tracker item
Upgrade from 20 to 21: PHP Fatal error: Uncaught Error: Call to undefined method Tiki\Command\ProfileExport\ActivityRuleSet::setHidden() in lib/core/Tiki/Command/ConsoleApplicationBuilder.php:543
When trying to upgrade from 20.x to 21.x

I did svn switch and I get this. It prevents to run the database upgrade script.

{img type="src" src="tiki-download_item_attachment.php?attId=532"}

{img type="src" src="tiki-download_item_attachment.php?attId=533"}
tracker item
Uploading a file at doc.tiki.org is too hard and chaotic
I tried to upload a thumbnail on a tracker item for a video tutorials.
It took me 25mn and I tried half a dozens of way before succeeding.
Sorry I don’t have time to produce a better report see screenshots.

{img fileId="1425" thumb="box"}

{img fileId="1426" thumb="box"}

{img fileId="1427" thumb="box"}
tracker item
URL parts asc / desc contradict actual settings
If you change a listing, like on the Wishlist, and change sorting order, the URL gets an additional mention of the sort order.

But it's reversed, compared to the actual setting. So if you want to sort the Wishlist by modification date, descending (which IMHO should be the default), so the latest are listed at the top, the URL states

{CODE(Colors="Tiki")}
https://dev.tiki.org/Wishlist#sort_mode=modification_date_asc
{CODE}

ASC=Ascending. If you change sorting to ascending, the URL states _desc...
tracker item
User does not get on expected tracker item after login
This is a site which is not available to the public. Therefore, if someone follows a link to a resource, they are redirected to the login page and after logging in, they get redirected to the resource they wanted to watch.

This works for resources such as web pages of calendar events (good!) but __not__ for tracker item resources (bug!).

!! Config of show instance
The configuration is close to the default.
!!!Changes are
^Global permissions:
Added
Registered: tiki_p_view (wiki)
Registered: tiki_p_view_trackers (trackers)
Registered: tiki_p_view_calendar (calendar)
Registered: tiki_p_view_events (calendar)
Deleted
Anonymous and all the children groups: tiki_p_view (wiki)
^
In [http://jyhem-9952-7592.show2.tikiwiki.org/tiki-admin.php?page=general]
^ The following change has been applied
Preference permission denied url set (Preference name: permission_denied_url)
^
!!! How to reproduce
Now you can try loging out and accessing the following:
* Direct link towards a tracker item (__fails to direct to the item after logging__) : [http://jyhem-9952-7592.show2.tikiwiki.org/tiki-view_tracker_item.php?itemId=1]
* Direct link towards a wiki page (works fine: on sees the file right after logging) : [http://jyhem-9952-7592.show2.tikiwiki.org/tiki-index.php?page=Not-home-page]
* Direct link towards a calendar item ((works fine: on sees the file right after logging) : [http://jyhem-9952-7592.show2.tikiwiki.org/tiki-calendar_edit_item.php?viewcalitemId=1]

Why does it not work for tracker item resources?

I could not find any obvious reason :-(

tracker item
User Wizard needs to be converted to Bootstrap4
{syntax type="tiki" editor="plain"}
User wizard (accessible via -+/tiki-wizard_user.php+- ) needs some love to get harmonized consistent look and feel (UX) with the Admin Wizard ( -+tiki-wizard_admin.php+- ).

It has some old ugly icons (they should be replaced by FontAwesome icons) and broken GIF image references when you go through the steps of the wizard.

Please have a look at TPL files of tiki-wizard_admin.php for example how it should be done and harmonize.
tracker item
Voting in a poll gives CSRF warning.
A poll template is created and attached to a page.
When the voting in the poll, a CSRF error is given.
{img fileId="1407" thumb="box"}
tracker item
Way more files in my file directory than in my file gallery
Trying to understand what is going on with files and Tiki21 (most image show a .jpg icon instead of the image in the file gallery) I found out that I have way to much files in my file folder than my file gallery.

For 53 files in Tiki I have 204 files in my directory.

{img fileId="1359" thumb="box"} {img fileId="1358" thumb="box"}

I understand there is an option to have more than one file per file (previous version) but I never had such quantity of extra files.

I see a parameter at : tiki-admin.php?page=fgal
"Allow download limit per file"
It is not set by default and when setting it the user have no idea of the limit that he can set.

# --I should be able to set "here" the threshold for the limit-- See my comment {sign user="Bsfez" datetime="2020-02-24T08:09:13+00:00"}
# I don’t think this is the expected default behaviour and it can lead to serious inflation of the file folder (especially for new users without a lot of experience in IT).
# Now that it’s all here and after I set my limit to allow 1 file per download (1 file in my directory for 1 file in Tiki gallery) how to clean the extra files that are still there ?
tracker item
Webmail_inbox module does nothing anymore (no module shown)
Webmail inbox module is not shown any more in 20.x and 21.x, and no clear indication what replaces it, if any (not in the documentation pages for ((doc:Groupmail)) nor its profile ((pr:Groupmail_20))

Maybe that module needs to be removed from the tiki code base if webmail and cypht plugin is meant to replace it somehow? (unclear how, yet, to me)
tracker item
Wiki page removal fails quietly by default
Attempting to remove a page fails by default, without reporting any error. Before Tiki 18, it seems to do nothing or little. Since 18, it merely removes the last version of the page.

When the "Remove all versions of this page" is checked, removal works.

tracker item
Wiki page tracker field can't use results from mathematical calculation (formula using strings) due to parse order
We have a tracker where we use a "Wiki page"-tracker-field.
This field uses as page name the results of a mathematical calculation tracker field, which inscludes a formula concatenating strings and tracker item id).
The mathematical calculation tracker field is set to calculate at save time (not at indexing time).

The error message when inserting a new tracker item seems to be related to the order, as if the results from the mathematical calculation field are not available for the wiki page tracker field when the new tracker item is being created:

{QUOTE()}
Error. Missing Page Name field #XX value for Wiki field #YY (so page not created)
{QUOTE}

{img fileId="1330" thumb="box"}

This implies that if the user adds plenty of content (at tracker item creation time) to the text area of the wiki page field, that content is lost.
tracker item
Wiki simple rating (and not simple rating) is not working
Wiki simple rating (and not simple rating) is not working.

I want to set a simple rating system for the wiki page.
But as the doc is unclear, I followed step by step : http://doc.tiki.org/Rating and setup an instance.

I’m not sure if I have to use Poll + simple rating to have it.
After setting the first part (poll rating at the top of the wiki page), I tried to vote and get a CSRF error
{img fileId="1428" thumb="box"}

I get on and enabled wiki simple ratings enabled (Preference name: wiki_simple_ratings)
The (ugly) icons are nicely displayed at the bottom of the page.
When I rated as admin Tiki is doing something and back on the page I can’t see any change.

I retried as anonymous on firefox (permission have been set accordingly) and get a Javascript error on the page loading:
{img fileId="1429" thumb="box"}

I refreshed and rated. Same as above page is refreshed no sign of changes.

Back to Admin=>rating, in the user interface I enabled Detailed rating results and Include percentages in the detailed rating results to find a way to see something. No result. (admin or anon)

I rebuild index and refresh caches. Got another error (related to the server setup):

Re rated and revoted with the same results.
I found a "hidden" (experimental presumly) Rating option at the end of Admin=>Wiki=>Page Listings and activated it. No change.

In doubt I use the Preference Search Results for rating to recheck if they were more options. But no. Retried as admin and anon on both systems, same no go. (I don’t have the CSRF error with Firefox as anon).

I think that having a "Was is useful ?", "What is your opinion about this page ?", etc is a must for a Wiki web application. I tried this, I also tried multilikes that doesn’t work neither (for anonymous) and reported. I understand that the alternative could be a tracker form in a module at the bottom of the pages, but on submission, the counters (like, unlike) won’t update nicely and the page will be refreshed. That is not what is expected for such thing.
tracker item
Show PHP error messages