←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
fabriciusjoined #tikiwiki [00:44]
............... (idle for 1h13mn)
marclaportejoined #tikiwiki [01:57]
................................ (idle for 2h35mn)
Tiki-KGB03nkoth r47691 10trunk/lib/ 10cache/cachelib.php 10cache/memcachelib.php
[FIX] Do not try and use memcache even if pref is enabled if memcache is disabled on server, otherwise fatal error
[04:32]
..... (idle for 22mn)
03nkoth r47692 10trunk/lib/core/Tiki/Command/RedactDBCommand.php * [FIX] more redactor fixes [04:54]
....... (idle for 32mn)
03nkoth r47693 10trunk/lib/core/Tiki/Command/RedactDBCommand.php * [ENH] more redacting [05:26]
..... (idle for 20mn)
chibaguyjoined #tikiwiki [05:46]
..................... (idle for 1h44mn)
marclaportejoined #tikiwiki [07:30]
............ (idle for 55mn)
fideljoined #tikiwiki
good morning - i am just realizing that 1 single article in our tiki does not show the categories-tab for a specific user
this never happened before - nor does it happen for this user on other articles
any idea?
its a 9.6 installation?
-?
[08:25]
.... (idle for 16mn)
marclaportejoined #tikiwiki
joined #tikiwiki
[08:43]
..... (idle for 24mn)
fidelsolved [09:09]
....... (idle for 32mn)
redflojoined #tikiwiki [09:41]
.............. (idle for 1h7mn)
pianolivjoined #tikiwiki [10:48]
Tiki-KGB03xavidp r47694 10trunk/templates/wizard/admin_wiki.tpl * [FIX]Missing tr tags and unify string for same link [10:52]
Tiki|botNew Forum Posts: problem with pictures in file galeery after change version tiki. - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=49283 [10:55]
Tiki-KGB03xavidp r47695 10trunk/lang/ca/language.php * [TRA]Conflict resolved and a few strings improved [10:56]
03xavidp r47696 10trunk/ 10templates/wizard/admin_wysiwyg.tpl 10lib/prefs/wysiwyg.php
[MOD]Show description inside the info popup box to clean the interface, as in other screens. The other strings are kept as such since they are too specific for that screen to choose between to options (showing the differences between the two).
[11:04]
..... (idle for 20mn)
redflojoined #tikiwiki [11:24]
......... (idle for 40mn)
Tiki-KGB03xavidp r47697 10trunk/templates/wizard/admin_jcapture.tpl * [FIX]Add missing tr tags [12:04]
jonnybjoined #tikiwiki [12:11]
.......... (idle for 47mn)
Tiki-KGB03nkoth r47698 10trunk/lib/core/Tiki/Command/RedactDBCommand.php * [FIX] prevent duplicate key errors [12:58]
xavijoined #tikiwiki [13:01]
......... (idle for 44mn)
Tiki|botNew Forum Posts: "require_once(lib/init/initlib.php): failed to open stream" Issues - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=49284 [13:45]
.... (idle for 19mn)
arildbjoined #tikiwiki [14:04]
rodrigoprimojoined #tikiwiki [14:12]
.... (idle for 15mn)
xaviarildb ? [14:27]
arildbHi xavi [14:27]
xaviHi Arild
I've created a User Wizard with a few screens, but I?m missing something (beyond my skills) because the settings are not being stored
I was wondering whether commiting to trunk (it doesn't break anything; it's self contained, etc), or send the files to you first through email so that you can review what may I be missing
[14:27]
Tiki-KGB03jonnybradley r47699 10trunk/lib/userslib.php * [FIX] users: Missing operators from SQL query [14:30]
xaviI copied most logic from the equivalent files for user preferences (php & tpl), but I'm unsure about forms: where the data of the form be submitted: to "tiki-wizard_user.php" or to the general "tiki-user_preferences.php" file [14:30]
arildbHave you set the method isEditable = return true. Otherwise the prefs are not saved [14:31]
xavioups, nope :-)
I'll try
[14:31]
arildbThat' probably the error [14:31]
xavimmmm, not enough
the first screen to set the "Real name" saves nothing
[14:33]
arildbcommit it and I will take a look [14:34]
xaviand in fact, it isn't retrieveing the "System Administrator" name that it contains when you visit the tiki-user_preferences.php
ok, thks
[14:34]
commited
bbl (lunch time)
[14:39]
Tiki-KGB03xavidp r47700 10trunk/ 10(11 files in 3 dirs)
[NEW]Basic structure to create a User Wizard to allow users set up their basic settings (depending on the general settings enabled in the site). So far, it's not linked from anywhere else. Work in progress (commit early, commit often), to be reviewed by arildb (thanks)
[14:40]
.... (idle for 15mn)
Tiki|Logjoined #tikiwiki [14:55]
Topicfor #tikiwikiis now Tiki Wiki CMS Groupware - the only Free Web App with the most built-in features & the most open Open Source software community! Tiki 11.0 (Vega), 10.4, 9.6 & 6.12 LTS is out! Question? Just ask! We log the channel @ http://irc.tiki.org (start line with [off] to exclude message from log) [14:55]
Tiki-KGB03jonnybradley r47701 10trunk/lib/ 10userslib.php 10smarty_tiki/modifier.avatarize.php 10core/Services/User/Controller.php
[REF] userinfo: Move code to build the link for the user-info popup into userslib (plus a small comment correction in the controller)
[14:56]
rodrigoprimojoined #tikiwiki [15:01]
.... (idle for 15mn)
chibaguyjoined #tikiwiki [15:16]
arildbback xavi? [15:24]
xavihi arildb, yes [15:24]
arildbI had a look ... a couple of comments [15:24]
xaviok [15:24]
fabriciusjoined #tikiwiki [15:25]
arildb1) If the page alters any preferences, return true in isEditable
2) >Do not die or redirect from a page handler. Issues should be resolved differently and allow the user to continue
[15:25]
xaviok
however, I do not know what to do instead to "die", when errors are found
[15:26]
arildb3) The "structure" is a bit wrong. In onSetupPage, do not set preferences, use {preference=blabla} in the .tpl file. Do saving of "custom values" in the onContinue function. Preferences are saved automatically, as long as isEditable returns true
die will stop the processing without any form of cleanup
In the wizard pages, the user should be allowed to continue
I will commit my (minor) changes
[15:27]
xavithanks
I got quite lost in ./lib/wizard/user_preferences_info.php attempting to rescue as much logic from the corresponding tiki-user_preferences.php
[15:29]
arildbhe he...yes a litlle monster that one [15:31]
xavi:-)
thanks for your help (limited skills set here, I told you)
[15:31]
Tiki-KGB03arildb r47702 10trunk/ 10(5 files in 2 dirs)
[ENH] Some alterations to make the new userpages more correct.
The "structure" is a bit wrong. In onSetupPage, do not set preferences, use {preference=blabla} in the .tpl file. Do saving of "custom values" in the onContinue function. Preferences are saved automatically, as long as isEditable returns true.
I have not updated that.
[15:32]
xavibut since the accident, it happens every now and then that I have a few hours per day quite free for things like these [15:32]
arildbxavi: How do you intent to trigger the user wizard? [15:33]
xavino idea yet, step by step [15:33]
arildbyes [15:33]
xaviI thought there was already a way to launch it for new users, but I'm wrong, it's only in cases where "user registration" is validated by admins. In such case, there is a preference to seet the url to send the users once their accounts are validated
bbl
[15:34]
chkpntjoined #tikiwiki
Hi. Here is AutoLink enabled. How do I suppress a link to an external page?
thought it is ))...(( but doesn't work
[15:35]
xavihi chkpnt. In the old days, ]...[ worked for external pages [15:42]
ricks99)) (( is only for internal pages [15:43]
xaviin present times, if ]...[ doesn't work for you, you can try (maybe) ~np~ http://example.com ~/np~ ?
hi ricks99
[15:43]
ricks99hiya xavi
chkpnt: do you want to supress the external link globally? or just for a specific instance?
[15:43]
xavithe other day I thought: "hey, Rick has'nt said anything about the Admin Wizard (yet)". [15:45]
ricks99lol [15:45]
xaviricks99: too busy with the books? [15:45]
ricks99mixed feelings.love the idea, think it is a step in right direction. but i think i came into the conversation too late. will wait and see
books... sigh
[15:45]
jonnybjoined #tikiwiki [15:51]
chkpntricks99: only one specific link
xavi: thanks. I'll give it a try.
[15:59]
ricks99iirc, will need to use the ~np~ [15:59]
xaviarildb, I'm checking for instance at user_preferences_notifications.php, and they seem to be not defined. I.e., I set: {preference name=user_wiki_watch_editor} in the tpl, and then I get in the page: "Preference user_wiki_watch_editor is not defined: [Error]" [16:07]
Tiki-KGB03jonnybradley r47703 10trunk/ 10lib/core/Services/User/Controller.php 10lib/userprefs/userprefslib.php 10templates/user/info.tpl
[FIX] userinfo: Correct last login and improve label and round distance to nearest metre.
[16:08]
chkpntleft #tikiwiki [16:14]
Tiki-KGB03xavidp r47704 10trunk/templates/wizard/user_preferences_notifications.tpl * [FIX]Fixed syntax for preference definition in the wizard [16:16]
..... (idle for 24mn)
03jonnybradley r47705 10trunk/ 10lib/userslib.php 10lib/smarty_tiki/modifier.userlink.php 10templates/modules/mod-last_visitors.tpl
[ENH] user-info: Use same service for userlink modifier popups as is now on avatars. Still TODO: caching and show "idletime" (if still needed)
03xavidp r47706 10trunk/lib/wizard/pages/user_preferences_info.php * [MOD]Remove the fat and leave file small to improve organically step by step
[16:40]
Tiki|botNew Forum Posts: Running TikiWiki behind a frontend - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=49287 [16:45]
........ (idle for 39mn)
Tiki-KGB03xavidp r47707 10trunk/lang/es/language.php * [TRA]Conflict resolved [17:24]
.... (idle for 16mn)
03jonnybradley r47708 10trunk/templates/vimeo/upload.tpl
[FIX] vimeo: Remove busy modal from upload form before post-processing (in case something goes wrong)
03jonnybradley r47709 10trunk/templates/trackerinput/files.tpl
[FIX] vimeo: Create reference to vimeo file if "uploaded" by entering the URL, and change the label accordingly
[17:40]
.... (idle for 18mn)
03jonnybradley r47710 10trunk/templates/vimeo/upload.tpl
[FIX] vimeo: Another fix for webkit browsers adding uploaded files twice in tracker fields
[17:58]
.... (idle for 16mn)
03jonnybradley r47711 10trunk/lib/filegals/filegallib.php
[FIX] vimeo: Better error reporting on delete (still doesn't delete the filegal object, change the mime-type to remove "orphans" - better solution to come)
[18:14]
..... (idle for 22mn)
ricks99anyone know how to make the images "clickable" when using the {carousel} plugin? [18:36]
...... (idle for 28mn)
arildbjoined #tikiwiki [19:04]
xavipolom [19:10]
arildbHi xavi [19:10]
xavihi arild
I still don't get the user wizard to work, after the prefs have been converted to {preference name=value}
[19:11]
jonnybhi xavi [19:11]
arildbYou have to move all processing to the onContinue method. [19:12]
xavihi jonny@irc
I get something like: "Preference user_wiki_watch_editor is not defined: [Error]"
[19:12]
arildbIn the onStartup method, only decide what should be shown, e.g. hide some prefs, because they don't apply. [19:12]
xaviwhen viewing the page
example: ./lib/wizard/pages/user_preferences_notifications.php (the last one in the user wizard)
[19:13]
arildbhm-m [19:13]
xaviI'm missing something to check current values
or maybe those user prefs work differently than site prefs
[19:13]
arildbI am not sure, but I believe it's one big prefs space [19:14]
Tiki-KGB03jonnybradley r47712 10trunk/lib/filegals/filegallib.php
[MOD] vimeo: If remote delete fails continue to remove the tiki object but report the problem in more detail
[19:16]
xavimmm, they may go into two different mysql tables, fyi (tiki_preferences vs tiki_user_preferences ?) [19:16]
arildbIn user_preferences_notifications.tpl, the preferences are not defined.
Instead it used input type="checkbox"
[19:16]
xavisvn up [19:17]
arildbThis setting must be saved explicitly in the onContinue method, as I doubt the common prefs saving will work [19:17]
xavithat was changed in r47704. Ensure you have this revision for this tpl file [19:17]
arildbupdating
yes, different now
checking user_wiki_watch_editor
[19:17]
xaviI confirm that user prefs are stored not in tiki_preferences but in tiki_user_preferences mysql table [19:19]
arildbxavi user_wiki_watch_editor does nopt seem to behave like a regular pref. So, you must do custom handling
That means..
1) add the input in the .tpl file, e.g <p><input type="checkbox" name="user_wiki_watch_editor" value="true" {if $user_wiki_watch_editor eq 'y'}checked{/if}> {tr}Wiki{/tr}</p>
2) in onContinue, trap $_REQUEST['"user_wiki_watch_editor'] ... and process/save it.
...In onSetupPage you may want to check the existing value, and set the input ch3eckbox to the correct state
undestandable?
[19:19]
xaviok, I'll try
and I guss I need to include_once ('lib/userprefs/userprefslib.php'); next to the require_once('lib/wizard/wizard.php');
s/guss/guess
[19:22]
arildbYou will need to include this whereever needed. Note that onSetupPage and onContinue is called in 2 different "contexts", thus you cannot store values in the Wizard object [19:24]
Telesightjoined #tikiwiki [19:30]
xaviarildb: I want to include "$tikilib->set_user_preference($user, 'user_calendar_watch_editor', 'y');" in the function onContinue [19:33]
arildbok...any problem? [19:34]
xavibut tiki complains (error 500) that it doesn't know the function set_user_preference (which is defined in lib/tikilib.php
do I need to include lilb&tikilib.php explicitly somewhere? (and if so, where)
[19:34]
arildbIs tikilib defined. try setting either: global $tikilib [19:35]
xaviok [19:35]
arildbthe recommended way to is to use TikiLib::lib('tiki') .... but global will work here [19:36]
xaviok, error 500 gone, but value not stored yet [19:36]
arildbso, somethig is still wrong .... can you commit again? [19:37]
xavicommitting
again, I only touched the last screen (Notification preferences), since it kind of the simplest one. Once it works there, I hope I learn how to fix the previous ones
[19:39]
Tiki-KGB03xavidp r47713 10trunk/ 10templates/wizard/user_preferences_notifications.tpl 10lib/wizard/pages/user_preferences_notifications.php
[MOD]Changed syntax to user prefs again (they work differently than site prefs), and added some logic to catch values in function onContinue. thanks arildb
[19:40]
arildbok, let me look at the parameter we talked about above
xavi: I think I see the problem
[19:40]
xaviok [19:42]
arildbinput type="checkbox" name="user_wiki_watch_editor" value="true" checkboxes uses "checked, not value.
Let me make an adjustment and run a test, to verify
[19:42]
xaviok
thks
[19:42]
arildbseems I was wrong, when value is included in a checkbox input, that seems to be used and not the checkbox state ...
making some more adjustments
This, however means that it always returns true, which is incorrect
[19:51]
xavimmmm, hey, I managed to make it save values [19:54]
arildbwhat did you change? [19:54]
xavimmmm, but they are not stored in the right place, it seems (I can't see them when I visit tiki-user_watches.php )
let me commit
[19:54]
Tiki-KGB03jonnybradley r47714 10trunk/templates/trackerinput/files.tpl
[ENH] vimeo: Add some rudimentary validation for vimeo URLs (error messages still appear in the wrong place if multiple files fields in the form, existing issue to fix soon)
03xavidp r47715 10trunk/lib/wizard/pages/user_preferences_notifications.php
[MOD]Added notification lib, tikilib, and Setup initial wizard screen with their smarty values
[19:56]
xavi^arildb [19:58]
arildbrunning test... will check afterwards [19:58]
xaviok [19:58]
arildbI think I have solved it, but running a new test now. [20:04]
xaviok [20:04]
fabriciusjoined #tikiwiki [20:04]
arildbThe problem is the $user is (probably) not declared global in onContinue [20:04]
xaviah, ok [20:05]
arildbxavi: Do you have a debugger? [20:05]
xavinope, I wish I knew how to set it up and use it [20:05]
arildbyes, that simplifies things a lot + you get to see trace the execution path [20:06]
xaviI managed to use a (visual) debug with Fortran a decade ago or so... but I never completed the phpstrom crash-course with success [20:06]
arildbI am on Windows and uinsg vs.php, a Visual Studio plugin [20:07]
xaviI can tell you I tried hard, I even helped with the documentation here, and I recorded the video myself from the live remote tutorial by robert Plummer years ago... but, I'm still not able to use it in my computers
http://dev.tiki.org/PhpStorm
[20:08]
arildbThe phpstorm page looks good, but I am on Windows for othe rprojects. So, Visual STudio is good for me
xavi: works now
let me commit
[20:10]
xavigreat! :-) [20:11]
rodrigoprimojoined #tikiwiki [20:11]
arildbI did not test with your latest additions, but I see no conflict [20:13]
xaviok [20:13]
arildbcommitted [20:13]
Tiki-KGB03arildb r47716 10trunk/ 10templates/wizard/user_preferences_notifications.tpl 10lib/wizard/pages/user_preferences_notifications.php * [FIX] A couple of fixes to make the user wizard page save the user prefs [20:14]
xaviyes, arildb, it works :-) [20:17]
arildb:-)
then you should have a pattern to work from with the other pages
[20:17]
xaviyes. I'll see how far I can reach without any extra guidance :-) [20:17]
arildbglad to help [20:18]
xavithanks ;-) [20:18]
arildbxavi: In the onSetupPage you must also set $user as global, I believe [20:24]
xaviok, done, thanks
arildb, btw, can I remove the <form> and submit button from the user_preferences_notifications.tpl ?
xavi confused about how the values are sent somewhere without a "form"; and also confused about which php file they should be sent to (if form is needed: user wizard or tiki-user_notifications.php)
[20:25]
arildbyes, you must. I didn't see that. The form is added in the wizard frame's tpl file [20:30]
xaviok, thks [20:30]
Tiki-KGB03xavidp r47717 10trunk/ 10templates/wizard/user_preferences_notifications.tpl 10lib/wizard/pages/user_preferences_notifications.php
[FIX]Former form removed and global $user added also at onSetupPage function (thanks arildb)
03yonixxx r47718 10trunk/templates/ 10(26 files) * [ENH]Adding css style instead of inline style
03fmg-sf r47719 10trunk/doc/devtools/experimental/unzip/unzipper.php * [ENH] more versions offered to download
03yonixxx r47720 10trunk/css/admin.css * [ENH]Adding css style for the admin wizard
03yonixxx r47721 10trunk/styles/layout/design.css * [ENH]Adding css style for the user wizard
03yonixxx r47722 10trunk/styles/BiDi/BiDi.css * [ENH]Adding css style so admin and user wizard are rtl compatible
03yonixxx r47723 10trunk/templates/wizard/user_preferences_notifications.tpl * [ENH]Adding css style instead of inline style
[20:34]
rodrigoprimojoined #tikiwiki [20:40]
xaviarildb (or rodrigoprimo , in fact ;-) ), I don't know how to store the new preferences of daily reports
I managed to fetch the right values at display time
but not to store the new preferences
in fact, they are not user preferences
and they are stored in another mysq table
and this file ./lib/core/reports/Factory.php is not intuitive enough for me
[20:44]
arildbxavi: I am not familiar with daily reports, but I can do a quick check if I see something [20:45]
xaviso... I'll commit what I have, at least [20:45]
arildbIs it the setting on the panel: User Watches and preferences, called Use Reports?
called: use_daily_reports ... so, it seems to be right
[20:46]
xaviyes [20:47]
Tiki-KGB03xavidp r47724 10trunk/lib/wizard/pages/user_preferences_reports.php * [MOD]Fetch the right values of Daily reports for the user. [20:48]
arildbxavi: I think the option is set in libcoreReportsUsers.php. Saving does not seem straight forward. Maybe you should send an email to the dev-list for advice
..or you can try to use Reports_Users directly
[20:54]
xavithanks arildb. In fact, the father of current library is rodrigoprimo . Rodrigo, are you available for some help about how to store user preferences related to Daily Reports? [20:56]
rodrigoprimohi xavi
xavi: what are the new preferences?
[20:59]
xaviback
hi rodrigoprimo :-9
s/:-9/:-)
there is a new feature in trunk called Wizards, and we are settnig up a wizard for new users, so that a few preferences are shown to them at once
therefore that means not new preferences for daily reports, but saving the same preferences from another file, the one related to the user wizard
and we noticed that daily reports does not store the choices from the user as a user preference but "somehow differently"
I mean, with user prefs, we can do something like:
if (isset($_REQUEST['user_calendar_watch_editor']) && $_REQUEST['user_calendar_watch_editor'] == 'on') { $tikilib->set_user_preference($user, 'user_calendar_watch_editor', 'y'); }
but with the user choices or daily reports.... no idea how to save the choices the user can make
[21:01]
marclaportejoined #tikiwiki [21:13]
rodrigoprimoxavi: check tiki-user_reports.php for an example on how to save user reports preferences
xavi: let me know if you need more help
[21:14]
xaviok, thanks rodrigoprimo. I'll check there [21:15]
Tiki-KGB03arildb r47725 10trunk/templates/wizard/admin_jcapture.tpl
[ENH] Make the selected jCapture gallery name bold.
Easier to spot
[21:16]
arildbenough for me today. See you tomorrow [21:17]
marclapo1joined #tikiwiki [21:18]
Tiki-KGB03xavidp r47726 10trunk/lib/wizard/pages/user_preferences_params.php
[MOD]Added missing code borrowed from tiki-user_preferences.php. get values placed at onSetupPage; set values placed at
[21:26]
xavithe commit message should end with: "...at onContinue" [21:26]
fabriciusreverend [21:29]
xavirodrigoprimo: so easy. Thanks, that was the file with the magic to save these preferences. It works :-) [21:31]
rodrigoprimoxavi: great! :) [21:31]
xavionce you ever test trunk again, you'll see the admin Wizard showing up the first time you log in as admin :-)
something like: https://doc.tiki.org/Admin+Wizard
and we are towards having a basic User Wizard in place also :-)
arildb did the magic with the infraestructure and first working example
[21:32]
Emenemsjoined #tikiwiki [21:39]
Tiki-KGB03xavidp r47727 10trunk/ 10templates/wizard/user_preferences_reports.tpl 10lib/wizard/pages/user_preferences_reports.php * [FIX]Daily report settings are saved properly. Thanks rodrigoprimo [21:40]
xaviok, done for the day. cheers
left #tikiwiki
[21:51]
.......... (idle for 47mn)
Caarriejoined #tikiwiki [22:38]
............... (idle for 1h12mn)
Tiki-KGB03nkoth r47728 10trunk/ 03lib/core/Tiki/Command/BackupFilesCommand.php 03lib/core/Tiki/Command/DumpDBCommand.php 10console.php * [ENH] Add ability to generate backup and db dump from console [23:50]
fabriciusjoined #tikiwiki [23:59]

←Prev date Next date→ Show only urls(Click on time to select a line by its url)