botRSS: Feeds for Gajim
• Changeset [16106:5a9f890059c2]: Make transition to new profile path handling more smooth for the …
Make transition to new profile path handling more smooth for the default profile.
https://trac.gajim.org/changeset/5a9f890059c240830ee8f9bd80acb984542bcb16
lovetoxsystem69
lovetoxyes
botRSS: Feeds for Gajim Plugins
• Changeset [937:2e06b12f3938]: Add file storing to harddisk and thumbnail cache
Add file storing to harddisk and thumbnail cache
https://trac-plugins.gajim.org/changeset/2e06b12f39380182dc304ed1848d0b28ad2e46c6
system69lovetox
system69Hi
system69Wow
lovetoxhi
system69I'm looking to make a plugin for custom cipher rules
system69So like ciphering text before sent and recieved text...
lovetoxciphering you mean encrypting?
system69Yes.
lovetoxwith what encryption algorithm?
lovetoxi mean why dont you use one of the already supported ones
lovetoxPGP, OMEMO, OTR
system69Custom, the user produces a package and then hands it over to his friend to import... Only those two have the same algorithm and alphabet.
system69User could make a ROT13 and send to friend
system69They both use ROT13
system69Or a more complex...
lovetoxlook at the OMEMO plugin you find everything you need there, like how and where you could hook in to which events and so on
arunetmolitor: what's the "additional data" for?
botRSS: Feeds for Gajim
• Ticket #8388 (unable to start gajim - using default branch, latest commit) created
Bug description
Cannot launch gajim after an hg pull and hg up default.
changeset: 16106:5a9f890059c2
pravi@shumbha:~/forge/gajim$ gajimhg
Traceback (most recent call last):
File "gajim.py", line 180, in <module>
import common.configpaths
File "/home/pravi/forge/gajim/src/common/configpaths.py", line 153
self.add('MY_DATA', TYPE_DATA, len(profile) ? '[…]
https://trac.gajim.org/ticket/8388
praveentmolitor: seems your last commit broke gajim startup
praveenavailable plugins is missing in default branch gajim?
botRSS: Feeds for Gajim
• Ticket #8388 (unable to start gajim - using default branch, latest commit) updated
I can start gajim after reverting the last commit.
https://trac.gajim.org/ticket/8388#comment:1
lovetoxpraveen its a bit unfortunate
lovetoxyou have to download the plugin_installer plugin from
lovetoxthe gtk3 plugin repo
lovetoxhttps://hg.gajim.org/gajim-plugins/
lovetoxafter that you can download all other plugins from inside gajim
praveenlovetox: how do I install the plugin? hg clone and copy it somewhere?
lovetoxcopy it to the plugin folder
lovetoxthat should do it
tmolitorpraveen, I fixed it, sorry!
praveentmolitor: cool, thanks
lovetoxtmolitor could you put the plugin_installer plugin
lovetoxinto the plugin dir of default branch
tmolitorarune: it can be used by plugins to add some arbitrary data to messages...that data can later be used in gui extension points displaying the message...you can use it if you need some special data present in a message stanza to display the message correctly in the gui extension point later...
tmolitorarune: something like if an oob tag was present in the message and only show an image preview or download button for those messages, not for all urls received...
tmolitorpraveen, yeah, I thought python had a ternary operator...turns out I was wrong ;)
tmolitorlovetox, no, asterix put it that way for a reason I think...and every time the plugin installer would be updated in the plugin repo you would have to copy it into the gajim repo....BUT: we could simply extend the launch.{bat,sh} script to clone the plugin_installer into the plugin directory if not already there...
lovetoxmaybe asterix did that already for the nightly build
lovetoxi cant check
praveenWhen I start a new profile and adds an account, gajim window becomes unresponsive for a long time till contact list is downloaded
lovetoxi experienced this too
tmolitorlovetox: yes, in the nightly build script asterix copies the plugin installer into the plugin directory...
praveentmolitor, "so and so set the subject" message should be shown only if the subject changed, otherwise gajim thinks there is an activty in the muc which is not true
praveenlovetox, I can't see the install plugins option even after copying plugin_installer to .local/share/gajim/plugins
praveenlovetox, can't we have something linke git sub modules in hg?
lovetoxsure you copied from the gtk3 branch
lovetoxand not default
lovetoxbecause default means another think in the plugin repo
praveenlovetox, ah ok, I'll try the gtk3 branch
jskKk
jskHello
lovetoxhi
tmolitorpraveen, you have to use the correct directory for your profile, if you use the -p option to start gajim...the dirname is plugins.<profilename> then
tmolitorfor the subject thing...could you create a ticket?
lovetoxtnolitor he can just leave the plugin in gajim source plugin folder
lovetoxits also checked for plugins
lovetoxnot only the user directory
lovetoxbut i think you knew that
lovetox:D
tmolitorlovetox: yes, but he told he copied the plugin into the .local/share8...] folder...
praveentmolitor: lovetox still can't load the plugins, opened a ticket #8389
jskHack el planeta
botRSS: Feeds for Gajim
• Ticket #8389 (gajim default branch cannot use plugins from gtk3 branch of gajim-plugins) created
Bug description
This comparison is wrong,
Tuesday 06 September 2016 20:36:32 (W) gajim.plugin_system Plugin url_image_preview not loaded, newer version ofgajim required: 0.16.10.1-ed67ab06dcca < 0.16.10
Tuesday 06 September […]
https://trac.gajim.org/ticket/8389
• Ticket #8386 (When Gajim starts, sh[…]
https://trac.gajim.org/ticket/8386#comment:1
lovetoxso the plugin version check still doesnt work correctly
praveenlovetox, yup :(
lovetoxthe hash at the end breaks it
praveenlovetox, closing/minimizing the muc crashes gajim
lovetoxeverytime?
lovetoxi dont had that until now
praveenlovetox: yes, just crashed even now
lovetoxhm very alpha this default branch :/
praveenlovetox: now gajim won't even start, I have to create a new profile
lovetoxyeah but this could be related to the profile changes
lovetoxtmolitor did yesterday
lovetoxerror messages would be great
lovetoxmaybe test using gajim without a profile
praveenlovetox: #8387
jskEww
jskGajim
jskIs there any gajim themes
praveenlovetox: its crashing even with default profile
botRSS: Feeds for Gajim
• Ticket #8387 (gajim crashed when a new muc bookmark was added via conversations) updated
I tried to minimize an muc and gajim crashed, now it won't even start again unless I create a new profile.
https://trac.gajim.org/ticket/8387#comment:2
• gajim-muc-crash.error.log attached to Ticket #8387
gajim crash debug log
https://trac.gajim.org/attachment/ticket/8387/gajim-muc-crash.error.log
praveenlovetox, after removing .local/share/gajim and staring without any profile, I can see the available plugins
tmolitorpraveen, lovetox: the gajim version check seems broken, see my comment in the ticket (#8389)
botRSS: Feeds for Gajim
• Ticket #8389 (gajim default branch cannot use plugins from gtk3 branch of gajim-plugins) updated
I didn't change any version settings, when I started w[…]
https://trac.gajim.org/ticket/8389#comment:1
• Ticket #8389 (gajim default branch cannot use plugins from gtk3 branch of gajim-plugins) updated
Strange, the plugin_installer has 0.16.10 as min versi[…]
https://trac.gajim.org/ticket/8389#comment:2
arunetmolitor, lovetox: what do you think about changing connection_types in src/common/config.py to tls only?
aruneif someone really wants to use plain or ssl they can change in ACE
de-factocert pinning (and detrust CAs) also would be desireable
sebastianhey :-) yet another question again... i have 4 resources online (2 pcs, 2 mobiles) under the same account. When i'm using gajim sometimes i'm not able to open received messages. The contact will have a blinking message indicator in the roster until i restart gajim... what to do?
sebastianuse case: sending text from pc to mobile...
sebastianuse case: sending text from pc to mobile... (between the resoruces)
botRSS: Feeds for Gajim
• Ticket #8390 (Default to TLS only) created
problem
When Gajim cannot connect with TLS it tries SSL and plain also. analysis
Gajim should only connect with TLS by default.
If user really wants to connect with SSL or plain she can change in ACE.
enhancement recommendation
Change connection_types in src/common/config.py to tls only.
https://trac.gajim.org/ticket/8390
Asterixtmolitor: table logs has no column named additional_data...
Asterixtmolitor: upgrading the database schema should not be done the way you did it, but in an update function
Asterixho you put it in update_config_to_016101
Asterixeverybody using default it alreadu in 0.16.10.1
Asterixyou have to create a new version in this case
tmolitorasterix: ah okay, I wasn't sure if I should do that....
AsterixI commit that
Asterixtmolitor: did you see my mail today?
tmolitorasterix: I can do it, too
Asterixdone
tmolitorasterix: okay...about 5 seconds faster than I ;)
AsterixGajim was unusable for me, and I lost 2 messages I received because they were not logged :/
tmolitorasterix: oh...I'm sorry for that
tmolitorwhat mail do you mean?
tmolitorasterix: ah...14:48
tmolitorI got it, but didn't read it yet
Asterixok
tmolitorasterix: answering it right now :)
botRSS: Feeds for Gajim
• Changeset [16108:f9e24a65652e]: correctly update database schema
correctly update database schema
https://trac.gajim.org/changeset/f9e24a65652e669fdd19d2b88b40383310ac8993
• Ticket #8386 (When Gajim starts, show only group chats/muc with real activity) closed
worksforme:
In the manage bookmark window (actions -> Join GroupChat? -> Manage bookmarks) you have a "minimize on auto join" option.
https://trac.gajim.org/ticket/8386#comment:2
Asterixhttp://hg.gajim.org/gajim/rev/29bba5077cf9
Asterixit's about #8389
star-aleppo:-|
tmolitorasterix: you have an answer via mail :)
Asterixok let's discuss that here if you have a few time?
star-aleppoAsterix:
tmolitorasterix: sure, if you want :)
Asterixtmolitor: for the completly separate dirs for profile: I'm still in favor of having things in common for some of the folder.
tmolitorwhat things exactly?
tmolitorand why?
Asterixaving to install an emoticon pack in all folders is anoying and space consuming. Having to install certs in all folder is anoying too
tmolitorwell, but maybe you don't want to trust those certs in all profiles...
Asterixhaving several time avatars downloaded is useless. Ok there may be confict when several instances runs, but: 1/ using several profile is for advanced users only
2/ that never happened since the begining of Gajim more than 10 years ago
tmolitorusually people tend to use one or maybe two distinct profiles....
tmolitorso there won't be much work if you really want to install a certain certificate in both profiles...
Asterixand then you create a new profile and "WTF can't I connect to the same account?!?" ... "Ha yes the cert is not in this folder" ...
Asterixand logs: you need to remmeber from which profile you talked to find history of a contact now
tmolitorasterix: as I said before: I usually expect programs to behave completely decoupled if I use multiple profiles...I don't want my firefox customizations and style of one profile flood over to a new profile I create...and I don't want t have my browsing bookmarks of this profile in my other one...
tmolitorasterix: yes...that's right, but that's just natural...you need to know if you talked to someone via mail or sms, too...
AsterixI do want my logs of all my profiles to be in the same database
tmolitorand sometimes even which mail account you used...
tmolitorI don't want this...I don't want gajim default branch to mess around with my history of my production 0.16 gajim..
Asterixyou think that's natural. google don't. If you use their service (I don't) message sent by SMS and mail is listed at the same place and you search in both in the same place
Asterixthen we need to find a solution for both usages. You changed things while I never got a complain about the actual way Gajim works
tmolitorthe whole point of using multiple profiles instead of using just multiple accounts is to separate instances...why the hell do you want to merge them again afterwards? if you want the same history you simply could use one profile with multiple accounts...
tmolitorI (and lovetox, too) did complain (not to you to be fair)....
Asterixnot if I want to connect to the same account from the same machine with 2 Gajim instances
tmolitorasterix: why would you want to do that?
Asterixto tests things for example
tmolitorif I test things I usually don't want to retain the history...and if I want, I usually know I have to search for it in the test profile and not in my main one...
Asterixto be able to restart Gajim every 2 minutes in a second profile while testing things with a contact without having to restart the Gajim with which I'm connected to my main accounts
AsterixI do want to keep logs of the tests I did with a contact
tmolitorand besides that...if I test my changes in the default branch and something goes wrong I *don't* want to have my history deleted...
tmolitorasterix: sure....but why do you want to have those logs in your main instance?
Asterixanyway, each one has a way of working. 2 ppl have a different way, I'm not against that way of working, but breaking the way all other ppl work without complaining sounds hard to me
tmolitormaybe add a config setting or commandline switch to disable the profile separation?
tmolitora commandline switch would be a good option...
AsterixI'll do. I'm not sure yet which will be the defalut. It seems the whole separation is needed by 2 ppl only
tmolitorI think completely separate profiles are a cleaner way than the merging of some of those resources (while separating others)...so the commandline switch should force the merge and not force the separation...
tmolitorwell....needed or not...separating all resources sounds like a much cleaner way for me...and cleaner ways tend to be much less error prone...
Asterixonce again, that's your way of thinking and lovetox's too, but not the way of all other Gajim users. At least they never complained
lovetoxto be honest, for me only the not separated log files was a problem at developing
tmolitorwell...why not ask the people in this muc?
Asterixless error prone, but more BW, more HD space, more user work when he want to install something in all its profiles, ...
lovetoxand i think NO ONE knows that these switches even exist
tmolitorwell more hd space because of some very small avatars and certificates?
Asterixbecause nobody use profiles, that's sure
Asterix$ du -sh ~/.cache/gajim/avatars/
48M ~/.cache/gajim/avatars/
$ du -sh ~/.cache/gajim/vcards/
226M ~/.cache/gajim/vcards/
tmolitorwow...tha'ts big :o
tmolitorare you sure that your cache only holds the recent information?
tmolitorI would argue that there are numerous files that are outdated for a long time but never got deleted...
Asterixthings are never deleted in those folder, yes
tmolitorasterix: that's the reason why your folders are so big ;) But I guess if you delete everything and repopulate the cache it is about 8MB big or something like that...
tmolitorwell...if you ask me it is much cleaner to separate everything...but if you don't want to have this as default it is fine for me...but I definitely want a commandline switch to activate this separation....
AsterixI don't want to have to delete things. but that's not the problem. why would I duplicate things as I'm sure it's duplicate. The avatar of a JID is the same, whatever the profile I use
Asterixsure I'm not against a way of separating things completly.
tmolitorasterix: the accumulated size of your cache is much more than the size added by a second profile ;)
tmolitorokay...I don't want to be rude or something like that...let's keep it the way it was before I changed things and add a commandline switch to activate my changes, okay? :)
Asterixyep that sounds perfect to me
Asterixfor additional data, I now understand what you want to do
Asterixwhere are those data filled?
tmolitorasterix; every plugin can fill the data in the event listeners it registers...
tmolitorfor the message sent event this records the stanza id of the message...
Asterixok sure. But currently, you talked about the OOB data. So it's filled in Gajim itself or in the plugin?
tmolitorlater on in the print_special_text gui extension point I could use this data to do something meaningful...
tmolitoronly in the plugin...
tmolitorgajim currently doesn't use the additional_data property...
Asterixit does for logging
tmolitorit only gets passed around from event to event...so that the data is still there in the DecryptedMessageReceivedEvent even if it was set in the MessageReceivedEvent...
Asterixbut except fot this logging thing, why prefering that instead of Event.My_data_I_want_in_this_event = "qwe"
tmolitoryes, okay...this additional_data is also stored in the history log...but it is never filled by gajim...currently...
tmolitorbecause of the integrated logging of those data ;)
Asterixok because it can't be passed to child events ..
tmolitorotherwise you would be right...setting a property on an event would be easy...
tmolitorand yes...that's right, too...child events wouldn't get those information...
Asterixok ok
tmolitorI wanted to have something to set arbitrary data on events which is even persistent across events and stored in the history db for later retrieval....
tmolitor* persistent across events = persistent across child events
Asterixyep ok fine
Asterixwho is Linus Heckemann?
Asterixhe commit things, but I don't what who he is.
lovetoxhe is usally in this cannel
lovetoxnick: linus
lovetoxbut offline since 2 days for some reason
AsterixI never added his ssh key as authorized ... or He changed his nick ...
lovetoxyou didnt for me
lovetoxand im also in that list
AsterixI did
Asterixyou sent my your ssh key
lovetoxnot for main repo
lovetoxits because
lovetoxif you export your patch
lovetoxand i send it to you
lovetoxand you add it
lovetoxmy name will be in the list
lovetoxso linus or jeffrey baits
Asterixok but who committed his patch?
lovetoxthe dont have access
lovetoxtmolitor
Asterixhaaaa ok
Asterixstrange I have no way to know who did the commit :/
lovetoxreally? i mean maybe not on the website
tmolitorasterix: if you want I can add my name to the commit message if I commit other people's patches :)
lovetoxbut somewhere should see witch ssh key did commit or
tmolitorasterix: what about this patch?
Asterixtmolitor: no no, don't. I was just wondering
tmolitorthat's the new commandline switch to separate profiles completely...
botRSS: Feeds for Gajim
• Changeset [16109:334cce896289]: fix Gajim version comparison for plugins. Fixes #8389
fix Gajim version comparison for plugins. Fixes #8389
https://trac.gajim.org/changeset/334cce896289fd88ba702faa63312bc51b5bb825
• Ticket #8389 (gajim default branch cannot use plugins from gtk3 branch of gajim-plugins) closed
fixed:
In 16109:334cce896289:
fix Gajim version comparison for plugins. Fixes #8389
https://trac.gajim.org/ticket/8389#comment:3
lovetoxbut it seems if you add a hash behind the version like 0.16.10.1-asd2342
Asterixtmolitor: also linus's patch uses pkg_resources, which is in setuptools. So now Gajim requires it. Not sure it's very nice ...
tmolitorokay...I'll commit it then :)
Asterixtmolitor: yes thanks
lovetoxha Asterix
Asterixomemo plugin uses it too
lovetoxi argued the same thing
lovetoxbut Link Mauve argued for it
lovetoxlike its prettey much standard
lovetoxand one other thing i came across
lovetoxits not easy to compare versions
lovetoxwith standard python lib capabilities
lovetoxpkg_resource really has the best thing going on for that for our needs
AsterixI agree it's not easy. setuptools is common, sure, but maybe more for ppl developping in python
tmolitorasterix, lovetox: the question is: what would the alternative be?
AsterixThe goal of that is mainly for packaging python modules, no?
botRSS: Feeds for Gajim
• Changeset [16110:55eefca1f745]: Make complete profile separation configurable via commandline switch. …
Make complete profile separation configurable via commandline switch.
Use -s or --separate to use the new co[…]
https://trac.gajim.org/changeset/55eefca1f7456235e4dd73a624e59c636b53545f
• Changeset [16111:73696[…]
https://trac.gajim.org/changeset/73696744a9c0538286859cdf131c7d48902e1507
Asterixmanual parsing, like it was, but more robust. changing strings to int before comparison
Asterixit's not as good as pkg_resources, sure. but maybe enough for us?
lovetoxits not pretty to import a dependency for like only that one thing
lovetoxthough there is a need for that
lovetoxfor example in the omemo plugin i have to check for axolotl version, and protobuf version
lovetoxetc
lovetoxsome python packages use something like this 3.0.0b2
lovetoxetc
Asterixis it the case for axolotl and protobuf?
lovetoxaxolotl uses easy to compare
lovetoxbut protobuf uses this beta identifieres
lovetoxbut on another note:
lovetoxfor encrypting / decrypting things with AES
lovetoxcryptography lib is needed
lovetoxand cryptography lib uses pkg_resources
lovetoxso right now, if you want encrypted httpupload, and decrypt pictures with image_preview_plugin
lovetoxand you want native encryption/decryptioon for OMEMO messages
lovetoxyou need cryptography, and then also pkg_resource in dependency
lovetoxi know all plugins ..
Asterixok, butthose are plugins.
Asterix:D
lovetoxbut still i think it will become more usual in the future
Asterixat least it has to be added in the required list
Asterixcurrently the list is very short:
<h2>Runtime Requirements</h2>
<ul>
<li>python3.4 or higher</li>
<li>python3-gi</li>
<li>gir1.2-gtk-3.0</li>
<li>python-nbxmpp</li>
</ul>
lovetoxyeah should be in it if that change stays
Asterixall other are optional
tmolitorI would opt to add it to the requirements...it is good for plugins (even fture ones) to be able to rely on a robust version comparison module...
AsterixI'd say not depending on setuptools is better ... I'll see what Link Mauve think another day
Asterixok why not ...
lovetoxon another note, demand import is commented out in the default branch
Asterixyes because it caused problems. I haven't tried to re-enable it ...
lovetoxi would argue we shouldnt even try :D
Asterixlovetox: maybe you're right. It caused several problems. But it makes Gajim start a bit faster ...
tmolitorit causes more problems than it solves...
Asterixyes I agree
tmolitorwell...gajim is a long running application, I think it doesn't matter if it starts 2 seconds faster...
Asterixbut ... a bit faster ...
Asterixsure, but if we can win 2 seconds, it's better than nothing ...
lovetox:D
Asterixbut I hate it for sure
lovetoxlets concentrate on the things we love
Asterixbut it's time to sleep for me now
tmolitormost ppl start gajim once or twice a day I think...