Loading...
 
Skip to main content

Category: Easy for Newbie Dev

Easy for Newbie Dev
Show subcategories objects

Name Type
Admin user: User (edit) link is not accessible when user tracker is used and has tabs
At tiki-adminusers.php (Admin users) there is a popover on the username that display the user information.
This popover should never overlap the username link.

While this work fine with the "usual" information it doesn't work when "user tracker" is used to store user informations (https://doc.tiki.org/User-Tracker) and have sections (tabs used).

{img fileId="1684" thumb="box"}
tracker item
Admin Users, RealName, composed realname order is not applied in admin interface (it is with the realname plugin)
On a Tiki23 I can use a user tracker to store information and in the admin => log-in control panel I can set the fields that should be used to display the user realname using "set user_trackersync_realname".

For exemple, in the user tracker I have
FieldId1 : user selector
FieldId2 : last name (Sfez)
FieldId3 : first name name (Bernard)

For "set user_trackersync_realname" I enter : 3+2
The realname should be "Bernard Sfez"

If I use the pluginrealname it will be displayed "Bernard Sfez". GOOD
However at the admin users list and some other places it will be displayed "Sfez Bernard". NOT GOOD

It used to work.

Instance couldn't be created...
tracker item
Admin warning about the scheduler (that didn't ran) shouldn't be displayed when the scheduler is not used
{syntax type="tiki" editor="plain"}
Admin warning about the scheduler (that didn't ran) shouldn't be displayed when the scheduler is not used.
tracker item
Admin, Print Settings; The page preferences order is totally chaotic and really not user friendly
On Tiki24 we have an admin "Print Setting" page : tiki-admin.php?page=print

If I want the generate a PDF from the action menu (first preferences on the admin page) this is what I see:
{img fileId="1714" thumb="box"}

Wiki print, the main feature to enable everything print, is somewhere at the bottom ? and PDF generation is at the top, preferences that rely on it are place above it... frankly it really look bad for Tiki to release such mess for users. We should use tab and reorder things.

Another example, the preference "Show Page title" is placed under "PDF settings" however it is applied to both (common preference)
tracker item
Admin, Security; Tips and help links on the Security admin panel should be helpful
On a Tiki24, I encountered an error about "security setting"

I went to the Admin, Advanced, Security control panel at tiki-admin.php?page=security there I found a "Tip" remarkbox.
"Please see the Security page on Tiki's developer site. See Security Admin for additional security settings."

There is 2 links;
# ((Security)), an (almost) empty page that certainly doesn't help the admin if he has an issue ?
# Security Admin (tiki-admin_security.php) that goes to a list of activated wikiplugin (and a path) and 2 other links that take further into a wrong direction.

In summary we are not helping the admin with documentation or tools.

Candidate pages;
* https://doc.tiki.org/System-Configuration (helped to find hidden preferences)
* https://doc.tiki.org/Security-Admin (outdated) ?
* https://doc.tiki.org/Security (documentation need improvement)
tracker item
After Tiki29.1, images seems to have an inline style added to the div that contain the image.
{syntax type="tiki" editor="plain"}
On different area of a Tiki29x updated after the last 29.1 release images have a height of 2px or width of 2px.

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

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

tracker item
Anchor links on headings: Be able to select the headings it will be applied to
Using "Anchor links on headings" (tiki-admin.php?page=wiki&highlight=wiki_heading_links) you can enable having a link and an icon for it in your headings.

While it is awesome for certain headings (the higher one) it is very annoying for others (the lowers) and break design (adding an extra line to display the icon).

It would be nice to have a selector for this to select: H4 and above, H3 and above, H2 and above, H1 only).
(may need rewording).
tracker item
Article own image is lost if changing the classification of the article
{syntax type="tiki" editor="plain"}
As seen in the video attached to this item. (demo tiki)
The own image article is lost if the classification (topic or type) of an article is changed.

To reproduce;
In the Tiki Articles I create an article and set his own image.
I save, the image is displayed.

I edit the article change the topic or the type of the article and save.
The image is gone.
It was working fine, __this is a regression on Tiki 29__.

tracker item
Articles, make easier to assign translated articles
You can use Tiki articles in multilingual website having article for several language.
The usual process is to create a main article (default language) then create other articles with different language and assign them as translation of the previous article.
Article => Edit => Advanced, Attach existing article ID as translation

You have to insert the ID of the article and that really not user friendly.

You should be able to retrieve articles by name in a select.

---

On second thought...

If wed really like to improve we could reuse the same interface/system we have with wiki pages (translation) as it is working fine is much better (proposing translation if missing and displaying set of translated documents) and will be better for UX (consistency).
I just wonder if it worth the investment.
tracker item
Articles: Illogical sorting by size
When you sort a listing of articles, you can have the results sorted on the size of the articles. But the result is illogical, which is more visible when sorting descending, but in principle ascending is affected as well: The sorting is done NOT numerical (which you would expect on a numerical value like size), but by string representation.

The result is e.g. that "456 bytes" is being considered larger than "1.2 kBytes"...
tracker item
Articles: Impossible to sort on ID, descending
If you go to articles home, and have your articles listed, you can have the list sorted by clicking on the column header. By clicking that again, you can change sorting direction (ascending/descending).

This doesn't work with the ID of articles. They are always listed ascending. However, the small arrow indicating the order DOES change to descending, but the listing isn't altered at all.
tracker item
Bad contrast for debug console using the default theme
It is very hard (if possible) to use the debugger console with default setting due to contrast issues.

{img fileId="1259" thumb="box"}
tracker item
Badly formed string in /lib/prefs/feature.php doesn't work in English and translations as well
In /lib/prefs/feature.php is a help string that does not work in English __and__ makes life of translators hard, because it is badly escaped (actually, not at all):
In line 550 you will find:

{CODE(Colors="Tiki")}
'feature_comments_send_author_name' => [
'name' => tra('Add author name in From email header'),
'description' => tra('Add the name of the comment author in the email header "From", making the email look like sent from "John Doe <noreply@example.com>"'),
'help' => 'Comments',
'type' => 'flag',
'default' => 'n',
'tags' => ['basic'],
],
{CODE}

The problem is the mock sender's mail address contained in braces. It IS the notation most mail clients use, real name and address in less than and greater than signs. But tra() seems to be unable to handle this. Possibly tra() interprets it as HTML entity (?) and discards it, so output of this description stops after John Doe. The address is omitted, as well as the closing quote sign.

And for translators this is hard, because if you add the string that is displayed to your custom.php, the pattern matching won't find it.
tracker item
It is not possible to upload a second time an image as banner
It is not possible to change the image banner once one has been uploaded.
See : http://bsfez-11581-7922.show2.tikiwiki.org/tiki-edit_banner.php?bannerId=1
Try to change the banner it shouldn't work.

There is an issue with the image upload.
tracker item
Better and reliable feedback for the Tiki Newsletter
{syntax type="tiki" editor="plain"}
I just sent a newsletter to 26 users using Tiki29.

While sending I received messages that the Newsletter was succefully sent.
One row per email + a counter so if I believe Tiki feedback.
26 emails received 26 newsletter.

BUT one the address was one I control at Gmail and I didn't received the newsletter.
It was not in the spam.
I didn't received an error on my sending email.

That a terrible failure because now I don't if ANY of my newsletter was really sent and I have no real course of action.
I'm against sending the newsletter several times as this is not professional + can lead to blacklist my email.

Feedback tool MUST be reliable.
tracker item
Bootstrap, Composer; Tiki25 is now set to use bootstrap 5.3.x while it shouldn't have been changed
From my understanding and after a discussion with Gary.

Tiki25 is supposed to work with bootstrap 5.2.x
Tiki26 is supposed to work with bootstrap 5.3.x

As discussed in the matrix chat, it seems that setup.sh / composer has been updated to use Tiki26 dependencies.

{CODE()}
Bernard Sfez
I'm setting a theme on a brand new tiki25. (from git)
I'm facing several issues about Undefined variable...

$primary-text-emphasis-dark
$primary-bg-subtle-dark:
...

$min-contrast-ratio: 1.8

I tried to compile as is the tuften them and I have the same errors...

Some collisions between bootstrap5.2 tiki25 and tiki26 ?
---
gary_c-l
Those variables are new in Bootstrap 5.3, to support color modes .../...
---
Bernard Sfez
I see that tuften v25 is different from tuften v26 (variable_dark and others are missing)
---
gary_c-l
Interesting. I'm going to try compiling Tiki 25 Tuften in a Tiki 25 instance here.
gary_c-l
Well, tuften compiles without errors here, in branch 25.
---
Bernard Sfez
... did you run setup.sh ?
It is possible that the vendor package is updated (for bs5.3)
gary_c-l
Yeah, I didn't run setup .sh. The Bootstrap version in vendor is Bootstrap v5.2.2, in my branch 25 instance. Maybe composer isn't configured right, if setup .sh results in having the wrong Bootstrap files for branch 25.
{CODE}

Tiki25 code (composer packages) that is our last stable version should not be changed by Tiki26 requirement.

Tiki25 being the only Stable version between Tiki24 (old) and Tiki25 (unstable) it should be at least working as it was,
---
Below, just after a second fresh install (nothing else was done, not preference changed) I tried to compile an existing theme.
{img fileId="2065" thumb="box"}
tracker item
Broken icon definition in /template/layout_fullscreen_check.tpl
/templates/layout_fullscreen_check.tpl line 8: Broken icon call.
{CODE(Colors="Tiki")}
{self_link fullscreen="y" _ajax='n' _icon_name=expand _title="{tr}Fullscreen{/tr}"}{/self_link}
{CODE}

_icon_name is set to expand, without quotation marks around 'expand'. Whether _title is correct with a starting underscore I don't know. Also, there is no icon named "expand" (with quotation marks), but there is an "expanded", that is redirected to bullet_toggle_minus.png.

tracker item
Broken trackeritem title if the title is a text tracker field and multilingual
{syntax type="tiki" editor="plain"}
On Tiki29x from update I have several trackers.
A tracker field text is set as the tracker item title.
This work just fine.

On this tiki multilingual is enable and I use en and fr, so later I enabled the multilingual option of the text field and I added a french value for the title field. Now I see the database value for the trackeritem and not one title based on the language selected:

{CODE()}{"en":"The Wiki syntax in Tiki","fr":"La syntaxe Wiki dans Tiki"}{CODE}
tracker item
Bubble help starts way off screen in wizard
One of the wizards displays one particular bubble help beginning WAY off the browser window, that is Random Header Images on /templates/wizard/profiles_useful_micro_confs.tpl. It starts a couple of hundred pixels outside the browser window, which means that all lines start with invisible (!) sentence beginnings... This is so far the only bubble help that starts off-screen, the others behave normally.
tracker item
Button parameters are duplicated when setting a plugin button
{syntax type="tiki" editor="plain"}
When I create a button using Tiki29 several parameters (not all) are duplicated in the plugin syntax.

{img fileId="3221" thumb="box"}
tracker item
Calendar dropdowns too narrow
The dropdown selectors for "Start of day" and "End of day" are too narrow, as the screenshot shows. This is with Select2 activated. I didn't check yet when Select2 isn't being used.
tracker item
Calendar template tiki-calendar_nav broken
The template displays arrows to navigate to the previous and to the next period the calendar shall display, but the template pumps the raw internal values into the tooltips, and even that without translation, breaking the GUI, because "Previous" and "Next" get translated into the target language, but not the period label (e.g. "week") so giving the user a mixture of target language and English that is actual raw Tiki code.

{CODE(Colors="Tiki")}
{*previous*}
<div class="cal-prev" style="display:inline-block; padding-right: 6px; position: relative; bottom: 20px; right: 100px">
<a class="tips" href="{query _type='relative' _ajax=$ajax _class='prev' todate=$focus_prev}" title=":{tr _0="{$viewmode|escape}"}Previous %0 {/tr}">
{icon name="previous"}
</a>
</div>
{CODE}
and
{CODE(Colors="Tiki")}
{*next*}
<div class="cal-next" style="display:inline-block; padding-left: 6px; position: relative; bottom: 20px; left: 100px">
<a class="tips" href="{query _type='relative' _ajax=$ajax _class='next' todate=$focus_next}" title=":{tr _0="{$viewmode|escape}"}Next %0{/tr}">
{icon name="next"}
</a>
</div>
{CODE}
tracker item
Calendar uses wrong separators
The calendar feature does display the range it displays (I would like to be able to disable that, but that's minor. Perfect would be if I could disable to display of the year, or to disable the range in total. I find it to be redundant, because the calendar itself already displays that).

What's not so minor is that the dates shown there do follow the date display options of the Wiki, i.e. here in Germany date is followed by month.

But they are separated by slashes, which is not correct. It should be dots, and that is what is set in the preferences. All other date displays are correct (like the date of the last revision of a Wiki page), but calendar does not follow that rule.

Thanks
hman
tracker item
Calender date picker jquery unlocalized
The calendar uses, when a new event is entered, a jquery date picker tool, to be precise it calls vendor_bundled/vendor/jquery/jquery-timepicker-addon/dist/index.html.

In this file I cannot find any localization tr() or tr in curly braces at all, thus all texts displayed like "Time" "Hour" and "Minute" are translated in no local language at all...
tracker item
Can’t select a user (myself) as destination for mail notification
At tiki-admin_notifications.php if I select "User" for destination I got an error that the selected user doesn’t have an email. Which is wrong.

{img type="fileId" fileId="1262" thumb="box"}
tracker item
Show PHP error messages